@feedmepos/mf-inventory-portal 1.2.40 → 1.2.41-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-CFp4VWkn.js → App-DjVeGAF9.js} +3 -3
- package/dist/{ApprovalView-BR-qwJZU.js → ApprovalView-NN1B2IOQ.js} +5 -5
- package/dist/{BindingsDialog-DCEb7sT8.js → BindingsDialog-BUYZ8tw1.js} +8 -8
- package/dist/{BindingsPicker-CKQ5qIsY.js → BindingsPicker-D6CV8wn1.js} +2 -2
- package/dist/{BindingsTable-DkRi1hCC.js → BindingsTable-FWfJIE7U.js} +3 -3
- package/dist/{ClosingDraftView-C_LQUzJ8.js → ClosingDraftView-ERFxw2au.js} +8 -8
- package/dist/{ClosingHistoryView-BbH6v1rk.js → ClosingHistoryView-B_VBYXQ0.js} +22 -22
- package/dist/{ClosingTemplateView-CM72EBRP.js → ClosingTemplateView-B-Zb6Ir6.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-5-7-1XU5.js → DeliveryOrderPrintPreview-DZOdyNMy.js} +9 -9
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DU2xeJtz.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CUO5in5A.js} +60 -61
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-qkS1g4m3.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CURtV-K5.js} +2 -2
- package/dist/{FmMultiselectDialog-C3b-iSE2.js → FmMultiselectDialog-B_pY8XP5.js} +1 -1
- package/dist/{FmMultiselectDialog-DJUiGIHJ.js → FmMultiselectDialog-I1n2kVON.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-dnE7g0iB.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Af3ob_cD.js} +3 -3
- package/dist/{ImportView-C-OH0lW1.js → ImportView-NgLl8SAd.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DZaO7ghp.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DJ6M4bMf.js} +1 -1
- package/dist/{IngredientGroupView-Bz2dANo0.js → IngredientGroupView-QPjSPbPk.js} +5 -5
- package/dist/{IngredientsView-CwVCJ2hv.js → IngredientsView-RP45JT6F.js} +14 -14
- package/dist/{IntegrationView-BKfzgu3o.js → IntegrationView-CQLKUdeV.js} +448 -446
- package/dist/{InventoryBindingForm-CNZ1tuxg.js → InventoryBindingForm-DbPjVHvx.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CeQbJ5M-.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-D_Z3uBZS.js} +14 -14
- package/dist/{InventoryBindingSummary-iJD9V9f7.js → InventoryBindingSummary-BMfOHhBW.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-4u88I-eh.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bf_H-he3.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-tZ7-qsUc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DeiPsNQS.js} +2 -2
- package/dist/{PublishView-DhIomByw.js → PublishView-6pKWty2v.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-1Jm8hmYB.js → PurchaseOrderPrintPreview-Bexn0z-1.js} +9 -9
- package/dist/ReceiveRequestView-qkJJ3VFK.js +2877 -0
- package/dist/{RecipeView-DVrcKtAa.js → RecipeView-C-rzKweI.js} +8 -8
- package/dist/{StockView-BmwDyRwP.js → StockView-DBu_ssH_.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-crC3-G5l.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-YLdgHpck.js} +1 -1
- package/dist/{SupplierView-CwTK_sYl.js → SupplierView-BtQGtwqx.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C8Yle9k2.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BFzQ9YOw.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CfZKi0So.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BfH5N4qH.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-jw2-Xg5Q.js → TransferDetails.vue_vue_type_script_setup_true_lang-BlcdYJ8b.js} +1018 -1022
- package/dist/{TransferTemplateView-BCT6mq6u.js → TransferTemplateView-DkwjjiW8.js} +354 -354
- package/dist/{UnitView-Cuh2LX3K.js → UnitView-C7DbjS8v.js} +6 -6
- package/dist/{WarehouseView-DZ06EmIm.js → WarehouseView-ztwU7TTt.js} +5 -5
- package/dist/{WastageTemplateView-CUAgAB-K.js → WastageTemplateView-DWi9lDs7.js} +14 -14
- package/dist/{app-DsvKAAar.js → app-DI81LaYD.js} +345 -332
- package/dist/app.js +1 -1
- package/dist/{closing-template-B4q3uNXW.js → closing-template-CiJZAF2p.js} +1 -1
- package/dist/{date2-DPON4K9X.js → date2-BYKFHbis.js} +1 -1
- package/dist/{dayjs.min-BUcpGcn-.js → dayjs.min-DWzYoqEQ.js} +12 -12
- package/dist/{decimal-O0r48Ccj.js → decimal-H1GrMoC9.js} +2 -2
- package/dist/{defineDeepModel-DKSKw3d8.js → defineDeepModel-WqBfh9j4.js} +1 -1
- package/dist/{duplicate-template-AZR81F4P.js → duplicate-template-uuCvon-m.js} +1 -1
- package/dist/feature-BRonrkVa.js +25312 -0
- package/dist/{format-time-from-id-C0ju5W3p.js → format-time-from-id-BRS6Wf0e.js} +1 -1
- package/dist/{format-unit-display-CIh10egg.js → format-unit-display-CQhnHa-X.js} +245 -246
- package/dist/helper/reactivity.d.ts +11 -0
- package/dist/helper/reactivity.spec.d.ts +1 -0
- package/dist/{import-export.helper-Dz7WeOmz.js → import-export.helper-DQ5ia8oQ.js} +5 -5
- package/dist/{index-6H1yTL5Z.js → index-CeVJchTm.js} +9 -9
- package/dist/{index-BYYuUmlN.js → index-CxB-ZEdh.js} +3 -3
- package/dist/{index-BiYceIQq.js → index-DKcXhLj3.js} +1 -1
- package/dist/{lodash-CcF-iQsS.js → lodash-DLcim3g_.js} +1 -1
- package/dist/{netsuite-BSgSRRLZ.js → netsuite-Vwqgf-Yk.js} +1753 -1667
- package/dist/{purchase-order-template-gLB1CO-a.js → purchase-order-template-CzmTSuyW.js} +1 -1
- package/dist/{rules-BRx1HG7R.js → rules-_Qrn8iAv.js} +3 -3
- package/dist/{stock-BJjMCR2I.js → stock-BUvbn_27.js} +1 -1
- package/dist/{stock-qe8Qoouq.js → stock-Du9y9LZH.js} +3 -3
- package/dist/{supplier-BLMn0x03.js → supplier-BRrJ--tq.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Djd_7uji.js → use-ingredient-select-dialog-DVVbnh_L.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DvMtdhSZ.js → use-inventory-binding-dialog-CatakG_z.js} +2 -2
- package/dist/{use-template-enabled-locations-2-C0JE_mEH.js → use-template-enabled-locations-2-Cxk8b75m.js} +2 -2
- package/dist/views/integration/components/netsuite/business/NetSuiteLocationField.vue.d.ts +6 -0
- package/dist/views/receive-request/components/netsuite/NetSuitePanel.vue.d.ts +3 -2
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +3 -2
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +518 -2225
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +1430 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-purchase-order-form-controller.d.ts +13974 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +3 -2
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
- package/dist/views/receive-request/helper/get-transfer-type.d.ts +1 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +3 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +3 -2
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +4 -3
- package/dist/{vue-i18n-gFHTGAs6.js → vue-i18n-Dl1sRfbB.js} +524 -524
- package/dist/{xlsx-QHyL0Tej.js → xlsx-D_k1aCyC.js} +398 -398
- package/dist/{xlsx.util-d5-VGpcM.js → xlsx.util-CPXsPFyJ.js} +1 -1
- package/package.json +3 -3
- package/dist/ReceiveRequestView-CD-w_Cph.js +0 -2821
- package/dist/feature-Chb7LGRV.js +0 -20162
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +0 -4
|
@@ -4059,7 +4059,7 @@ const wc = {
|
|
|
4059
4059
|
inventory: Bc
|
|
4060
4060
|
};
|
|
4061
4061
|
var $t = /* @__PURE__ */ ((p) => (p.INGREDIENTS = "INGREDIENTS", p.INGREDIENT_GROUP = "INGREDIENT_GROUP", p.RECIPE = "RECIPE", p.UNIT = "UNIT", p.STOCK = "STOCK", 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.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.SUPPLIER = "SUPPLIER", p.PUBLISH = "PUBLISH", p.IMPORT = "IMPORT", p.INTEGRATION = "INTEGRATION", 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))($t || {});
|
|
4062
|
-
function
|
|
4062
|
+
function zh(p, h) {
|
|
4063
4063
|
switch (p) {
|
|
4064
4064
|
case "INGREDIENTS":
|
|
4065
4065
|
return h("inventory.ingredient.title");
|
|
@@ -4107,7 +4107,7 @@ function Uh(p, h) {
|
|
|
4107
4107
|
return h("inventory.inventoryBindings.amount");
|
|
4108
4108
|
}
|
|
4109
4109
|
}
|
|
4110
|
-
const Vc = () => import("./IngredientsView-
|
|
4110
|
+
const Vc = () => import("./IngredientsView-RP45JT6F.js").then((p) => _n(p.default)), Pc = () => import("./ClosingTemplateView-B-Zb6Ir6.js").then((p) => _n(p.default)), Lc = () => import("./WarehouseView-ztwU7TTt.js").then((p) => _n(p.default)), Nc = () => import("./TransferTemplateView-DkwjjiW8.js").then((p) => _n(p.default)), Uc = () => import("./RecipeView-C-rzKweI.js").then((p) => _n(p.default)), xc = () => import("./UnitView-C7DbjS8v.js").then((p) => _n(p.default)), zc = () => import("./SupplierView-BtQGtwqx.js").then((p) => _n(p.default)), jc = () => import("./PublishView-6pKWty2v.js").then((p) => _n(p.default)), Jc = () => import("./IntegrationView-CQLKUdeV.js").then((p) => _n(p.default)), qc = () => import("./WastageTemplateView-DWi9lDs7.js").then((p) => _n(p.default)), Gc = () => import("./IngredientGroupView-QPjSPbPk.js"), Hc = () => import("./StockView-DBu_ssH_.js"), Yc = () => import("./ClosingDraftView-ERFxw2au.js"), Wc = () => import("./ClosingHistoryView-B_VBYXQ0.js"), Kc = () => import("./ReceiveRequestView-qkJJ3VFK.js"), Qc = () => import("./ApprovalView-NN1B2IOQ.js"), Zc = () => import("./ImportView-NgLl8SAd.js"), Xc = () => import("./PurchaseOrderPrintPreview-Bexn0z-1.js"), e$ = () => import("./DeliveryOrderPrintPreview-DZOdyNMy.js"), t$ = () => import("./BindingsTable-FWfJIE7U.js"), n$ = () => import("./BindingsDialog-BUYZ8tw1.js"), r$ = () => import("./BindingsPicker-D6CV8wn1.js"), jh = [
|
|
4111
4111
|
{
|
|
4112
4112
|
path: "/",
|
|
4113
4113
|
name: "HOME",
|
|
@@ -4439,7 +4439,7 @@ class u$ extends Zr {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
var Je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4442
|
-
function
|
|
4442
|
+
function Jh(p) {
|
|
4443
4443
|
return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
|
|
4444
4444
|
}
|
|
4445
4445
|
function Ha(p) {
|
|
@@ -4447,7 +4447,7 @@ function Ha(p) {
|
|
|
4447
4447
|
}
|
|
4448
4448
|
var Ss = {};
|
|
4449
4449
|
(function(p) {
|
|
4450
|
-
var h = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_70b8c5d0-51c5-40ef-8941-51e0ead2dada", 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.12.1 npm/? node/v20.19.6 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_70b8c5d0-51c5-40ef-8941-51e0ead2dada", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", 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.2.1", 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.27.6", npm_package_devDependencies_code_inspector_plugin: "^1.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1768", npm_package_dependencies__feedmepos_ui_library: "1.8.3", 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_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: "20251126.144.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.3", npm_package_dependencies__types_dinero_js: "^1.9.4", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.2.40", 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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12927", GITHUB_WORKFLOW: "[CD:prod] 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.10/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.4/x64", GITHUB_RUN_ID: "19958522288", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b87c413ccbe627067bfd76bce0382c42ee4799d5", 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-prod.yaml@refs/tags/inventory-portal-v1.2.40", 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.12.1/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.12.1/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.12.1/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.19.6/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_3ac88efd-ba90-49d3-97c6-57ed971885ae", INVOCATION_ID: "6897aa20be144ce68ccfa2e7be730ed2", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "377", 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_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", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", 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 1000032271", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.2.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.2.40", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", 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: "false", 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: "b87c413ccbe627067bfd76bce0382c42ee4799d5", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/inventory-portal-v1.2.40", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", 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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", 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.12.1/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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, g = typeof h < "u" && (h.versions || {}).hasOwnProperty("node"), M = g ? Object.create(globalThis) : globalThis;
|
|
4450
|
+
var h = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", 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.12.1 npm/? node/v20.19.6 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", 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.2.1", 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.27.6", npm_package_devDependencies_code_inspector_plugin: "^1.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1760", npm_package_dependencies__feedmepos_ui_library: "1.8.3", 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_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: "20251126.144.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.3", npm_package_dependencies__types_dinero_js: "^1.9.4", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.2.41-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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12672", 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.10/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.4/x64", GITHUB_RUN_ID: "20034513467", 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: "113b049b6e80f43a267475df687fcc0c0a0aeca6", 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.12.1/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.12.1/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.12.1/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.19.6/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_a956dd1e-0d79-4872-a0cf-50313cdce169", INVOCATION_ID: "9669458fdaa14d4cbe0896c0345e5fd8", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "842", 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_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", 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 1000032652", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.2.41-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", 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: "false", 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: "113b049b6e80f43a267475df687fcc0c0a0aeca6", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", 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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", 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.12.1/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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, g = typeof h < "u" && (h.versions || {}).hasOwnProperty("node"), M = g ? Object.create(globalThis) : globalThis;
|
|
4451
4451
|
if (M.scheduleImmediate = typeof setImmediate < "u" ? function(L) {
|
|
4452
4452
|
setImmediate(L);
|
|
4453
4453
|
} : function(L) {
|
|
@@ -33692,6 +33692,16 @@ var tf = k.enum([
|
|
|
33692
33692
|
"DELIVERED",
|
|
33693
33693
|
"CANCELLED",
|
|
33694
33694
|
"FAILED_DELIVERY"
|
|
33695
|
+
]), uf = k.enum([
|
|
33696
|
+
/** Creating a new purchase order from scratch */
|
|
33697
|
+
"fresh",
|
|
33698
|
+
/** Creating from an existing template/purchase order */
|
|
33699
|
+
"template",
|
|
33700
|
+
/** Creating a transfer between outlets */
|
|
33701
|
+
"outletToOutlet"
|
|
33702
|
+
]), df = k.enum([
|
|
33703
|
+
"purchase",
|
|
33704
|
+
"transfer"
|
|
33695
33705
|
]), kd = k.enum([
|
|
33696
33706
|
"restaurant",
|
|
33697
33707
|
"warehouse"
|
|
@@ -33724,7 +33734,7 @@ var tf = k.enum([
|
|
|
33724
33734
|
preparationTime: co.nullish()
|
|
33725
33735
|
}).describe(
|
|
33726
33736
|
me.ZodMeta.couch().repo(Ct.Enum.supplier).build()
|
|
33727
|
-
),
|
|
33737
|
+
), _f = k.enum([
|
|
33728
33738
|
"purchaseOrder",
|
|
33729
33739
|
"itemReceipt",
|
|
33730
33740
|
"itemFulfillment",
|
|
@@ -33762,7 +33772,7 @@ var tf = k.enum([
|
|
|
33762
33772
|
missingItems: k.array(Vd).nullish(),
|
|
33763
33773
|
/// Used to handle customizations
|
|
33764
33774
|
additionalInfo: k.any().nullish()
|
|
33765
|
-
}),
|
|
33775
|
+
}), cf = k.object({
|
|
33766
33776
|
dbName: k.string().refine(
|
|
33767
33777
|
(p) => p.startsWith("warehouse") || p.startsWith("restaurant")
|
|
33768
33778
|
),
|
|
@@ -33913,58 +33923,58 @@ var tf = k.enum([
|
|
|
33913
33923
|
adjustmentIds: k.array(k.string()).nullish(),
|
|
33914
33924
|
purchaseOrder: pn.nullish(),
|
|
33915
33925
|
netSuite: il.nullish()
|
|
33916
|
-
}).describe(me.ZodMeta.mongo().repo("PurchaseOrderRequests").build()),
|
|
33926
|
+
}).describe(me.ZodMeta.mongo().repo("PurchaseOrderRequests").build()), $f = sl.omit({
|
|
33917
33927
|
rejectedAt: !0,
|
|
33918
33928
|
adjustmentIds: !0
|
|
33919
|
-
}),
|
|
33929
|
+
}), mf = pn.omit({
|
|
33920
33930
|
_id: !0,
|
|
33921
33931
|
_rev: !0,
|
|
33922
33932
|
seqNumber: !0,
|
|
33923
33933
|
deliveryOrder: !0,
|
|
33924
33934
|
status: !0
|
|
33925
|
-
}),
|
|
33935
|
+
}), pf = pn.extend({
|
|
33926
33936
|
_id: k.string().superRefine(me.isObjectId),
|
|
33927
33937
|
_rev: k.string()
|
|
33928
|
-
}),
|
|
33938
|
+
}), ff = k.object({
|
|
33929
33939
|
operation: Oa,
|
|
33930
33940
|
doc: k.any(),
|
|
33931
33941
|
options: k.any().nullish()
|
|
33932
|
-
}),
|
|
33942
|
+
}), gf = k.object({
|
|
33933
33943
|
delivery: Jn,
|
|
33934
33944
|
purchaseOrder: pn
|
|
33935
|
-
}),
|
|
33945
|
+
}), hf = k.object({
|
|
33936
33946
|
_id: k.string(),
|
|
33937
33947
|
_rev: k.string(),
|
|
33938
33948
|
action: Oa,
|
|
33939
33949
|
payloads: k.any()
|
|
33940
|
-
}),
|
|
33950
|
+
}), yf = k.object({
|
|
33941
33951
|
_id: k.string(),
|
|
33942
33952
|
_rev: k.string().nullish(),
|
|
33943
33953
|
no: k.number()
|
|
33944
33954
|
}).describe(
|
|
33945
33955
|
me.ZodMeta.couch().repo(Ct.Enum.purchaseOrderSeqNo).isSingleDoc().build()
|
|
33946
|
-
),
|
|
33956
|
+
), Ff = k.object({
|
|
33947
33957
|
supplier: Ma,
|
|
33948
33958
|
items: k.array(Er),
|
|
33949
33959
|
effectiveAt: k.string().nullish()
|
|
33950
|
-
}),
|
|
33960
|
+
}), If = k.object({
|
|
33951
33961
|
key: k.string(),
|
|
33952
33962
|
received: et.FdoDecimal,
|
|
33953
33963
|
total: et.FdoDecimal,
|
|
33954
33964
|
remaining: et.FdoDecimal
|
|
33955
|
-
}),
|
|
33965
|
+
}), vf = k.object({
|
|
33956
33966
|
isPartialReceive: k.boolean().default(!1),
|
|
33957
33967
|
isFullReceive: k.boolean().default(!1),
|
|
33958
33968
|
isNoReceive: k.boolean().default(!1),
|
|
33959
33969
|
isOverReceive: k.boolean().default(!1)
|
|
33960
|
-
}),
|
|
33970
|
+
}), Sf = k.object({
|
|
33961
33971
|
partial: k.boolean().default(!1),
|
|
33962
33972
|
over: k.boolean().default(!1)
|
|
33963
33973
|
}), Jd = k.object({
|
|
33964
33974
|
purchaseOrderId: k.string(),
|
|
33965
33975
|
purchaseOrderRev: k.string(),
|
|
33966
33976
|
deliveryOrder: Jn
|
|
33967
|
-
}),
|
|
33977
|
+
}), Cf = Jd.extend({
|
|
33968
33978
|
currency: k.string()
|
|
33969
33979
|
}), ll = k.object({
|
|
33970
33980
|
measurement: Ut.nullish(),
|
|
@@ -33989,9 +33999,9 @@ var tf = k.enum([
|
|
|
33989
33999
|
}), No = k.object({
|
|
33990
34000
|
countdowns: k.array(qd),
|
|
33991
34001
|
skus: k.array(Qr)
|
|
33992
|
-
}),
|
|
34002
|
+
}), bf = k.object({
|
|
33993
34003
|
stockChange: k.lazy(() => No).nullish()
|
|
33994
|
-
}),
|
|
34004
|
+
}), Ef = k.object({
|
|
33995
34005
|
remark: k.string().nullish(),
|
|
33996
34006
|
effectiveAt: k.string().nullish(),
|
|
33997
34007
|
adjustments: k.array(Qr),
|
|
@@ -34003,14 +34013,14 @@ var tf = k.enum([
|
|
|
34003
34013
|
amount: et.FdoDecimal,
|
|
34004
34014
|
/// value to override conversion value
|
|
34005
34015
|
overrides: k.array(Gd).nullish()
|
|
34006
|
-
}),
|
|
34016
|
+
}), Tf = k.object({
|
|
34007
34017
|
conversions: k.array(Hd)
|
|
34008
34018
|
}), Yd = Qr.pick({
|
|
34009
34019
|
id: !0,
|
|
34010
34020
|
amount: !0,
|
|
34011
34021
|
measurement: !0,
|
|
34012
34022
|
doc: !0
|
|
34013
|
-
}),
|
|
34023
|
+
}), Of = k.record(k.array(Yd)), Aa = k.object({
|
|
34014
34024
|
_id: k.string().nullish(),
|
|
34015
34025
|
/**
|
|
34016
34026
|
* for receive, this can be used for sub item id
|
|
@@ -34051,7 +34061,7 @@ var tf = k.enum([
|
|
|
34051
34061
|
), Kd = k.object({
|
|
34052
34062
|
amountsGoingToAdjust: k.record(k.array(Aa)),
|
|
34053
34063
|
targetWastageAdjustmentId: k.string()
|
|
34054
|
-
}),
|
|
34064
|
+
}), Mf = k.discriminatedUnion("type", [
|
|
34055
34065
|
k.object({
|
|
34056
34066
|
type: k.literal(pi.enum.WASTAGE),
|
|
34057
34067
|
payload: Kd
|
|
@@ -34082,7 +34092,7 @@ var tf = k.enum([
|
|
|
34082
34092
|
skus: k.array(Yn).nullish()
|
|
34083
34093
|
}).describe(
|
|
34084
34094
|
me.ZodMeta.couch().repo(Ct.Enum.stock).isSingleDoc().build()
|
|
34085
|
-
),
|
|
34095
|
+
), wf = k.object({
|
|
34086
34096
|
_id: k.string(),
|
|
34087
34097
|
skus: k.array(Yn).nullish(),
|
|
34088
34098
|
/** for storing related IDs */
|
|
@@ -34090,18 +34100,18 @@ var tf = k.enum([
|
|
|
34090
34100
|
/** human readable remarks */
|
|
34091
34101
|
remark: k.string().nullish(),
|
|
34092
34102
|
adjustmentIds: k.array(k.string()).nullish()
|
|
34093
|
-
}).describe(me.ZodMeta.couch().repo("stockSnapshot").build()),
|
|
34103
|
+
}).describe(me.ZodMeta.couch().repo("stockSnapshot").build()), kf = k.object({
|
|
34094
34104
|
balance: k.array(Yn),
|
|
34095
34105
|
adjustments: k.array(mo)
|
|
34096
|
-
}),
|
|
34106
|
+
}), Af = k.object({
|
|
34097
34107
|
stock: fi,
|
|
34098
34108
|
purchaseOrder: pn,
|
|
34099
34109
|
delivery: Jn
|
|
34100
|
-
}),
|
|
34110
|
+
}), Rf = k.object({
|
|
34101
34111
|
purchaseOrder: pn,
|
|
34102
34112
|
stock: fi,
|
|
34103
34113
|
adjustment: po
|
|
34104
|
-
}),
|
|
34114
|
+
}), Bf = k.object({
|
|
34105
34115
|
canRecalculate: k.boolean(),
|
|
34106
34116
|
reason: k.string().nullish(),
|
|
34107
34117
|
lastClosing: k.string().nullish()
|
|
@@ -34109,7 +34119,7 @@ var tf = k.enum([
|
|
|
34109
34119
|
"sku",
|
|
34110
34120
|
"recipe",
|
|
34111
34121
|
"menu"
|
|
34112
|
-
]),
|
|
34122
|
+
]), Df = k.enum([
|
|
34113
34123
|
/// Can be used for reversing a wastage adjustment
|
|
34114
34124
|
/// Useful when retrieving WASTAGE REPORT page
|
|
34115
34125
|
"WASTAGE_REVERSAL"
|
|
@@ -34131,11 +34141,11 @@ var tf = k.enum([
|
|
|
34131
34141
|
items: k.array(Xd)
|
|
34132
34142
|
}).describe(
|
|
34133
34143
|
me.ZodMeta.couch().repo(Ct.Enum.adjustmentTemplate).build()
|
|
34134
|
-
),
|
|
34144
|
+
), Vf = rl.extend(
|
|
34135
34145
|
{}
|
|
34136
34146
|
).describe(
|
|
34137
34147
|
me.ZodMeta.couch().repo(Ct.Enum.adjustmentTemplatePublish).isSingleDoc().build()
|
|
34138
|
-
),
|
|
34148
|
+
), Pf = k.object({
|
|
34139
34149
|
_id: k.string(),
|
|
34140
34150
|
_rev: k.string().nullish(),
|
|
34141
34151
|
value: k.array(k.string())
|
|
@@ -34144,7 +34154,7 @@ var tf = k.enum([
|
|
|
34144
34154
|
), dl = k.object({
|
|
34145
34155
|
measurement: Ut,
|
|
34146
34156
|
amount: k.lazy(() => Kt)
|
|
34147
|
-
}),
|
|
34157
|
+
}), Lf = k.object({
|
|
34148
34158
|
baseAmount: k.lazy(() => Kt),
|
|
34149
34159
|
measurementsAmounts: k.array(dl)
|
|
34150
34160
|
}), t_ = k.object({
|
|
@@ -34155,7 +34165,7 @@ var tf = k.enum([
|
|
|
34155
34165
|
skuWastage: dl.nullish(),
|
|
34156
34166
|
// not null if type is RECIPE or PRODUCT
|
|
34157
34167
|
inventoryBindings: k.array(zn)
|
|
34158
|
-
}),
|
|
34168
|
+
}), Nf = k.object({
|
|
34159
34169
|
_id: k.string(),
|
|
34160
34170
|
_rev: k.string().nullish(),
|
|
34161
34171
|
reason: k.string().nullish(),
|
|
@@ -34169,7 +34179,7 @@ var tf = k.enum([
|
|
|
34169
34179
|
adjustmentId: k.string().nullish()
|
|
34170
34180
|
}).describe(
|
|
34171
34181
|
me.ZodMeta.couch().repo(Ct.Enum.wastage).build()
|
|
34172
|
-
),
|
|
34182
|
+
), Uf = k.enum(["recalculateClosingDraft"]), xf = k.object({
|
|
34173
34183
|
_id: k.string().superRefine(me.isObjectId),
|
|
34174
34184
|
location: k.string().refine(
|
|
34175
34185
|
(p) => p.startsWith("warehouse") || p.startsWith("restaurant")
|
|
@@ -34186,7 +34196,7 @@ var tf = k.enum([
|
|
|
34186
34196
|
skuBalances: k.array(Yn),
|
|
34187
34197
|
adjustmentSnapshot: k.record(k.record(Kt)).optional(),
|
|
34188
34198
|
opening: k.record(Kt).optional()
|
|
34189
|
-
}),
|
|
34199
|
+
}), zf = k.object({
|
|
34190
34200
|
skuAdjustmentsByBillId: k.record(k.array(mo))
|
|
34191
34201
|
}), _l = k.enum([
|
|
34192
34202
|
"approveDraft",
|
|
@@ -34216,7 +34226,7 @@ var tf = k.enum([
|
|
|
34216
34226
|
name: k.string(),
|
|
34217
34227
|
ref: k.string().nullish(),
|
|
34218
34228
|
items: k.array(i_)
|
|
34219
|
-
}).describe(me.ZodMeta.couch().repo("closingTemplate").build()),
|
|
34229
|
+
}).describe(me.ZodMeta.couch().repo("closingTemplate").build()), jf = rl.extend(
|
|
34220
34230
|
{}
|
|
34221
34231
|
).describe(
|
|
34222
34232
|
me.ZodMeta.couch().repo(Ct.Enum.closingTemplatePublish).isSingleDoc().build()
|
|
@@ -34225,7 +34235,7 @@ var tf = k.enum([
|
|
|
34225
34235
|
"PROCESSING",
|
|
34226
34236
|
"FAILED",
|
|
34227
34237
|
"COMPLETED"
|
|
34228
|
-
]),
|
|
34238
|
+
]), Jf = k.enum(["quick_mode"]), a_ = o_.omit({
|
|
34229
34239
|
items: !0
|
|
34230
34240
|
}), $l = k.object({
|
|
34231
34241
|
measurement: Ut,
|
|
@@ -34239,7 +34249,7 @@ var tf = k.enum([
|
|
|
34239
34249
|
rejectedAt: k.string(),
|
|
34240
34250
|
rejectedBy: k.lazy(() => kt),
|
|
34241
34251
|
rejectRemark: k.string()
|
|
34242
|
-
}),
|
|
34252
|
+
}), qf = k.object({
|
|
34243
34253
|
id: k.array(k.string()).nullish(),
|
|
34244
34254
|
status: k.array(cl).nullish(),
|
|
34245
34255
|
applyDraftCommits: k.boolean().nullish()
|
|
@@ -34257,7 +34267,7 @@ var tf = k.enum([
|
|
|
34257
34267
|
}), d_ = k.object({
|
|
34258
34268
|
skuId: k.string(),
|
|
34259
34269
|
balance: k.lazy(() => Kt)
|
|
34260
|
-
}),
|
|
34270
|
+
}), Gf = k.object({
|
|
34261
34271
|
_id: k.string(),
|
|
34262
34272
|
_rev: k.string().nullish(),
|
|
34263
34273
|
remark: k.string().nullish(),
|
|
@@ -34303,13 +34313,13 @@ var tf = k.enum([
|
|
|
34303
34313
|
items: k.array(gs).nullish(),
|
|
34304
34314
|
remark: k.string().nullish(),
|
|
34305
34315
|
negativeStockItems: k.array(gs).nullish()
|
|
34306
|
-
}).describe(me.ZodMeta.couch().repo("editClosingDraft").build()),
|
|
34316
|
+
}).describe(me.ZodMeta.couch().repo("editClosingDraft").build()), Hf = c_.omit({
|
|
34307
34317
|
_id: !0,
|
|
34308
34318
|
_rev: !0,
|
|
34309
34319
|
closingDraftId: !0,
|
|
34310
34320
|
createdBy: !0,
|
|
34311
34321
|
createdAt: !0
|
|
34312
|
-
}),
|
|
34322
|
+
}), Yf = k.object({
|
|
34313
34323
|
_id: k.string(),
|
|
34314
34324
|
_rev: k.string(),
|
|
34315
34325
|
action: _l,
|
|
@@ -34317,22 +34327,22 @@ var tf = k.enum([
|
|
|
34317
34327
|
effectiveAt: k.string().nullish(),
|
|
34318
34328
|
remark: k.string()
|
|
34319
34329
|
})
|
|
34320
|
-
}),
|
|
34330
|
+
}), Wf = k.object({
|
|
34321
34331
|
templateId: k.string()
|
|
34322
|
-
}),
|
|
34332
|
+
}), Kf = k.object({
|
|
34323
34333
|
skuBalances: k.array(Yn),
|
|
34324
34334
|
remark: k.string().nullish(),
|
|
34325
34335
|
effectiveAt: k.string().nullish()
|
|
34326
|
-
}), { FdoAddress:
|
|
34336
|
+
}), { FdoAddress: Qf, FdoBusiness: Zf } = ba.entity, $_ = k.object({
|
|
34327
34337
|
name: k.string(),
|
|
34328
|
-
address:
|
|
34338
|
+
address: Qf,
|
|
34329
34339
|
phoneNo: k.string().nullish(),
|
|
34330
34340
|
regNo: k.string(),
|
|
34331
34341
|
email: k.string().nullish()
|
|
34332
|
-
}),
|
|
34342
|
+
}), Xf = k.object({
|
|
34333
34343
|
_id: k.string().superRefine(me.isObjectId),
|
|
34334
34344
|
businessId: k.string(),
|
|
34335
|
-
pf_business: k.lazy(() =>
|
|
34345
|
+
pf_business: k.lazy(() => Zf).nullish().describe(
|
|
34336
34346
|
me.ZodMeta.mongo().populate({
|
|
34337
34347
|
fromCollection: "Businesses",
|
|
34338
34348
|
localField: "businessId",
|
|
@@ -34362,7 +34372,7 @@ var tf = k.enum([
|
|
|
34362
34372
|
forDate: k.string(),
|
|
34363
34373
|
uploadedAt: k.string(),
|
|
34364
34374
|
firebaseUrl: k.string()
|
|
34365
|
-
}),
|
|
34375
|
+
}), eg = k.object({
|
|
34366
34376
|
_id: k.string().superRefine(me.isObjectId),
|
|
34367
34377
|
bindings: k.array(m_),
|
|
34368
34378
|
modifiers: k.array(p_),
|
|
@@ -34373,29 +34383,29 @@ var tf = k.enum([
|
|
|
34373
34383
|
branchCode: k.string(),
|
|
34374
34384
|
server: f_,
|
|
34375
34385
|
histories: k.array(g_)
|
|
34376
|
-
}).describe(me.ZodMeta.mongo().repo("FMHSettings").build()),
|
|
34386
|
+
}).describe(me.ZodMeta.mongo().repo("FMHSettings").build()), tg = k.enum([
|
|
34377
34387
|
"sync",
|
|
34378
34388
|
"syncPurchaseOrder",
|
|
34379
34389
|
"suitescript",
|
|
34380
34390
|
"cron"
|
|
34381
|
-
]),
|
|
34391
|
+
]), ng = k.enum([
|
|
34382
34392
|
"netsuiteSync",
|
|
34383
34393
|
"fmPurchaseOrderSync",
|
|
34384
34394
|
"netSuiteAfterSubmit",
|
|
34385
34395
|
"netSuiteVerifyFulfillment",
|
|
34386
34396
|
"netSuiteVerifyItemReceipt",
|
|
34387
34397
|
"netsuiteInventoryTransferSync"
|
|
34388
|
-
]),
|
|
34398
|
+
]), rg = k.enum([
|
|
34389
34399
|
"scanTransferOrdersByBusiness",
|
|
34390
34400
|
"scanPurchaseOrderByBusiness",
|
|
34391
34401
|
"scanInventoryTransfersByBusiness"
|
|
34392
|
-
]),
|
|
34402
|
+
]), ig = k.object({
|
|
34393
34403
|
date: k.string(),
|
|
34394
34404
|
// ISO date string
|
|
34395
34405
|
netsuiteLocationId: k.string(),
|
|
34396
34406
|
netsuiteLocationName: k.string(),
|
|
34397
34407
|
items: k.array(Er)
|
|
34398
|
-
}),
|
|
34408
|
+
}), og = k.enum([
|
|
34399
34409
|
"InvtPart",
|
|
34400
34410
|
// inventory item
|
|
34401
34411
|
"Assembly"
|
|
@@ -34424,12 +34434,12 @@ var tf = k.enum([
|
|
|
34424
34434
|
syncedAt: k.string().nullish(),
|
|
34425
34435
|
// soft delete if the item cannot be found in NetSuite
|
|
34426
34436
|
deletedAt: k.string().nullish()
|
|
34427
|
-
}).describe(me.ZodMeta.mongo().repo("NetSuiteItemReplicas").build()),
|
|
34437
|
+
}).describe(me.ZodMeta.mongo().repo("NetSuiteItemReplicas").build()), ag = ml.omit({
|
|
34428
34438
|
skuCache: !0,
|
|
34429
34439
|
parentNetSuiteId: !0
|
|
34430
34440
|
}).extend({
|
|
34431
34441
|
skuCache: yt
|
|
34432
|
-
}),
|
|
34442
|
+
}), sg = ml.omit({
|
|
34433
34443
|
skuCache: !0,
|
|
34434
34444
|
parentNetSuiteId: !0
|
|
34435
34445
|
}).extend({
|
|
@@ -34496,11 +34506,11 @@ var tf = k.enum([
|
|
|
34496
34506
|
}), b_ = k.enum([
|
|
34497
34507
|
"createItemReceipt",
|
|
34498
34508
|
"retrieveRecordInfo"
|
|
34499
|
-
]),
|
|
34509
|
+
]), lg = k.object({
|
|
34500
34510
|
recordType: k.string(),
|
|
34501
34511
|
recordId: k.string(),
|
|
34502
34512
|
fields: k.array(k.string())
|
|
34503
|
-
}),
|
|
34513
|
+
}), ug = k.object({
|
|
34504
34514
|
recordType: k.string(),
|
|
34505
34515
|
recordId: k.string(),
|
|
34506
34516
|
fields: k.record(k.string(), k.any())
|
|
@@ -34519,7 +34529,7 @@ var tf = k.enum([
|
|
|
34519
34529
|
externalId: k.string().nullish(),
|
|
34520
34530
|
// Custom Fields
|
|
34521
34531
|
custentity_financeapproval: k.boolean().nullish()
|
|
34522
|
-
}),
|
|
34532
|
+
}), dg = k.object({
|
|
34523
34533
|
_id: k.string().superRefine(me.isObjectId),
|
|
34524
34534
|
// businessId
|
|
34525
34535
|
subsidiaryId: k.string().nullish(),
|
|
@@ -34535,23 +34545,23 @@ var tf = k.enum([
|
|
|
34535
34545
|
accessToken: k.string().nullish(),
|
|
34536
34546
|
syncedAt: k.string().nullish(),
|
|
34537
34547
|
restlet: k.array(E_).nullish()
|
|
34538
|
-
}).describe(me.ZodMeta.mongo().repo("NetSuiteSettings").build()),
|
|
34548
|
+
}).describe(me.ZodMeta.mongo().repo("NetSuiteSettings").build()), _g = k.enum(["DELIVERY_ORDER_RECEIVED"]), cg = k.object({
|
|
34539
34549
|
db_name: k.string(),
|
|
34540
34550
|
id: k.string(),
|
|
34541
34551
|
data: k.string()
|
|
34542
34552
|
}), Ra = Ed.extend({
|
|
34543
34553
|
_id: k.string(),
|
|
34544
34554
|
_rev: k.string()
|
|
34545
|
-
}),
|
|
34555
|
+
}), $g = fi.extend({
|
|
34546
34556
|
_id: k.string(),
|
|
34547
34557
|
_rev: k.string()
|
|
34548
|
-
}),
|
|
34558
|
+
}), mg = Ma.extend({
|
|
34549
34559
|
_id: k.string(),
|
|
34550
34560
|
_rev: k.string()
|
|
34551
|
-
}),
|
|
34561
|
+
}), pg = po.extend({
|
|
34552
34562
|
_id: k.string(),
|
|
34553
34563
|
_rev: k.string()
|
|
34554
|
-
}),
|
|
34564
|
+
}), fg = pn.extend({
|
|
34555
34565
|
_id: k.string(),
|
|
34556
34566
|
_rev: k.string()
|
|
34557
34567
|
}), O_ = k.object({
|
|
@@ -34561,10 +34571,10 @@ var tf = k.enum([
|
|
|
34561
34571
|
// `item` or `sku`
|
|
34562
34572
|
name: k.string()
|
|
34563
34573
|
// item name or product name
|
|
34564
|
-
}),
|
|
34574
|
+
}), gg = k.object({
|
|
34565
34575
|
stock: fi,
|
|
34566
34576
|
adjustments: k.array(mo)
|
|
34567
|
-
}),
|
|
34577
|
+
}), hg = k.object({
|
|
34568
34578
|
hasUpdate: k.boolean(),
|
|
34569
34579
|
stock: fi,
|
|
34570
34580
|
adjustment: po,
|
|
@@ -34574,13 +34584,13 @@ var tf = k.enum([
|
|
|
34574
34584
|
}), M_ = k.object({
|
|
34575
34585
|
id: k.string(),
|
|
34576
34586
|
count: k.number()
|
|
34577
|
-
}),
|
|
34587
|
+
}), yg = k.object({
|
|
34578
34588
|
balances: k.array(M_)
|
|
34579
|
-
}),
|
|
34589
|
+
}), Fg = k.object({
|
|
34580
34590
|
sku: k.array(yt).optional(),
|
|
34581
34591
|
recipe: k.array(jn).optional(),
|
|
34582
34592
|
unit: k.array(dn).optional()
|
|
34583
|
-
}),
|
|
34593
|
+
}), Ig = k.discriminatedUnion("operation", [
|
|
34584
34594
|
k.object({
|
|
34585
34595
|
module: k.literal(mt.enum.sku),
|
|
34586
34596
|
operation: k.literal(It.enum.create),
|
|
@@ -34596,15 +34606,15 @@ var tf = k.enum([
|
|
|
34596
34606
|
operation: k.literal(It.enum.delete),
|
|
34597
34607
|
data: k.string()
|
|
34598
34608
|
})
|
|
34599
|
-
]),
|
|
34609
|
+
]), vg = k.object({
|
|
34600
34610
|
create: k.array(yt),
|
|
34601
34611
|
update: k.array(yt),
|
|
34602
34612
|
_rev: k.string()
|
|
34603
|
-
}),
|
|
34613
|
+
}), Sg = k.object({
|
|
34604
34614
|
create: k.array(Wr),
|
|
34605
34615
|
update: k.array(Wr),
|
|
34606
34616
|
_rev: k.string()
|
|
34607
|
-
}),
|
|
34617
|
+
}), Cg = k.discriminatedUnion("operation", [
|
|
34608
34618
|
k.object({
|
|
34609
34619
|
module: k.literal(mt.enum.unit),
|
|
34610
34620
|
operation: k.literal(It.enum.create),
|
|
@@ -34620,11 +34630,11 @@ var tf = k.enum([
|
|
|
34620
34630
|
operation: k.literal(It.enum.delete),
|
|
34621
34631
|
data: k.string()
|
|
34622
34632
|
})
|
|
34623
|
-
]),
|
|
34633
|
+
]), bg = k.object({
|
|
34624
34634
|
create: k.array(dn),
|
|
34625
34635
|
update: k.array(dn),
|
|
34626
34636
|
_rev: k.string()
|
|
34627
|
-
}),
|
|
34637
|
+
}), Eg = k.discriminatedUnion("operation", [
|
|
34628
34638
|
k.object({
|
|
34629
34639
|
module: k.literal(mt.enum.skuGroup),
|
|
34630
34640
|
operation: k.literal(It.enum.create),
|
|
@@ -34640,7 +34650,7 @@ var tf = k.enum([
|
|
|
34640
34650
|
operation: k.literal(It.enum.delete),
|
|
34641
34651
|
data: k.string()
|
|
34642
34652
|
})
|
|
34643
|
-
]),
|
|
34653
|
+
]), Tg = k.discriminatedUnion("operation", [
|
|
34644
34654
|
k.object({
|
|
34645
34655
|
module: k.literal(mt.enum.recipe),
|
|
34646
34656
|
operation: k.literal(It.enum.create),
|
|
@@ -34656,21 +34666,21 @@ var tf = k.enum([
|
|
|
34656
34666
|
operation: k.literal(It.enum.delete),
|
|
34657
34667
|
data: k.string()
|
|
34658
34668
|
})
|
|
34659
|
-
]),
|
|
34669
|
+
]), Og = k.object({
|
|
34660
34670
|
create: k.array(jn),
|
|
34661
34671
|
update: k.array(jn),
|
|
34662
34672
|
_rev: k.string()
|
|
34663
|
-
}),
|
|
34673
|
+
}), Mg = (p) => {
|
|
34664
34674
|
const { module: h, operation: g } = p, M = mt.safeParse(h), B = It.safeParse(g);
|
|
34665
34675
|
if (M.success != !0)
|
|
34666
34676
|
throw M.error;
|
|
34667
34677
|
if (B.success != !0)
|
|
34668
34678
|
throw B.error;
|
|
34669
34679
|
const x = {
|
|
34670
|
-
[mt.enum.sku]:
|
|
34671
|
-
[mt.enum.unit]:
|
|
34672
|
-
[mt.enum.recipe]:
|
|
34673
|
-
[mt.enum.skuGroup]:
|
|
34680
|
+
[mt.enum.sku]: Ig,
|
|
34681
|
+
[mt.enum.unit]: Cg,
|
|
34682
|
+
[mt.enum.recipe]: Tg,
|
|
34683
|
+
[mt.enum.skuGroup]: Eg
|
|
34674
34684
|
}[M.data]._def.options.get(B.data);
|
|
34675
34685
|
if (x)
|
|
34676
34686
|
return k.object({ _id: k.string(), _rev: k.string() }).and(x);
|
|
@@ -34680,19 +34690,19 @@ var tf = k.enum([
|
|
|
34680
34690
|
"ingredientNotFound",
|
|
34681
34691
|
"circularDependency",
|
|
34682
34692
|
"unknownError"
|
|
34683
|
-
]),
|
|
34693
|
+
]), wg = k.object({
|
|
34684
34694
|
bindingPaths: k.array(zn),
|
|
34685
34695
|
ingredient: yt,
|
|
34686
34696
|
binding: zn,
|
|
34687
34697
|
success: k.boolean()
|
|
34688
|
-
}),
|
|
34698
|
+
}), kg = k.object({
|
|
34689
34699
|
bindingPaths: k.array(zn),
|
|
34690
34700
|
reason: w_,
|
|
34691
34701
|
error: k.boolean()
|
|
34692
|
-
}),
|
|
34702
|
+
}), Ag = k.object({
|
|
34693
34703
|
amount: k.lazy(() => Kt),
|
|
34694
34704
|
measurement: Ut.nullish()
|
|
34695
|
-
}),
|
|
34705
|
+
}), Rg = k.object({
|
|
34696
34706
|
inventory: Ra,
|
|
34697
34707
|
errors: k.array(
|
|
34698
34708
|
k.object({
|
|
@@ -34700,7 +34710,7 @@ var tf = k.enum([
|
|
|
34700
34710
|
data: yt
|
|
34701
34711
|
})
|
|
34702
34712
|
)
|
|
34703
|
-
}),
|
|
34713
|
+
}), Bg = k.object({
|
|
34704
34714
|
inventory: Ra,
|
|
34705
34715
|
errors: k.array(
|
|
34706
34716
|
k.object({
|
|
@@ -34708,7 +34718,7 @@ var tf = k.enum([
|
|
|
34708
34718
|
data: dn
|
|
34709
34719
|
})
|
|
34710
34720
|
)
|
|
34711
|
-
}),
|
|
34721
|
+
}), Dg = k.object({
|
|
34712
34722
|
inventory: Ra,
|
|
34713
34723
|
errors: k.array(
|
|
34714
34724
|
k.object({
|
|
@@ -34716,7 +34726,7 @@ var tf = k.enum([
|
|
|
34716
34726
|
data: jn
|
|
34717
34727
|
})
|
|
34718
34728
|
)
|
|
34719
|
-
}),
|
|
34729
|
+
}), Vg = $o.extend({
|
|
34720
34730
|
preparationTime: co.nullish()
|
|
34721
34731
|
}), hs = k.enum([
|
|
34722
34732
|
"none",
|
|
@@ -34744,7 +34754,7 @@ var tf = k.enum([
|
|
|
34744
34754
|
defaultDays: k.number().int(),
|
|
34745
34755
|
// default for all locations
|
|
34746
34756
|
locationOverrides: k.array(R_).nullish()
|
|
34747
|
-
}),
|
|
34757
|
+
}), Pg = k.object({
|
|
34748
34758
|
// businessId, assume workflow config is stored business-level
|
|
34749
34759
|
// note: if location-level configuration is required,
|
|
34750
34760
|
// we can add optional field locationId: `z.string().nullish()`
|
|
@@ -34784,7 +34794,7 @@ var tf = k.enum([
|
|
|
34784
34794
|
}).extend({
|
|
34785
34795
|
returnFrom: Kr,
|
|
34786
34796
|
returnTo: Kr
|
|
34787
|
-
}),
|
|
34797
|
+
}), Lg = k.object({
|
|
34788
34798
|
purchaseOrder: pn,
|
|
34789
34799
|
pendingPurchaseOrderRequests: k.array(sl).nullish(),
|
|
34790
34800
|
// if provided, required to create
|
|
@@ -34817,7 +34827,7 @@ var tf = k.enum([
|
|
|
34817
34827
|
warehouse_to_restaurant_requireShipment: k.boolean(),
|
|
34818
34828
|
purchaseOrderRequireShipment: k.boolean(),
|
|
34819
34829
|
defaultPreparationTime: co
|
|
34820
|
-
}),
|
|
34830
|
+
}), Ng = k.object({
|
|
34821
34831
|
// businessId, assume workflow config is stored business-level
|
|
34822
34832
|
// note: if location-level configuration is required,
|
|
34823
34833
|
// we can add optional field locationId: `z.string().nullish()`
|
|
@@ -34835,28 +34845,28 @@ var tf = k.enum([
|
|
|
34835
34845
|
// for PO type transfer to restaurant,
|
|
34836
34846
|
// performing completeReceive will trigger more sub action
|
|
34837
34847
|
transferRestaurantOnComplete: hs
|
|
34838
|
-
}).describe(me.ZodMeta.mongo().repo("OrderWorkflowConfigs").build()),
|
|
34848
|
+
}).describe(me.ZodMeta.mongo().repo("OrderWorkflowConfigs").build()), Ug = k.object({
|
|
34839
34849
|
from: Kr
|
|
34840
|
-
}),
|
|
34850
|
+
}), xg = k.object({
|
|
34841
34851
|
/**
|
|
34842
34852
|
* @deprecated use `deliveryOrders` instead
|
|
34843
34853
|
*/
|
|
34844
34854
|
delivery: Jn.nullish(),
|
|
34845
34855
|
deliveryOrders: k.array(Jn).nullish()
|
|
34846
|
-
}),
|
|
34856
|
+
}), zg = k.object({
|
|
34847
34857
|
/**
|
|
34848
34858
|
* required if config `warehouse_to_restaurant_onReturn` is 'returnFromPayload'.
|
|
34849
34859
|
*
|
|
34850
34860
|
* otherwise if 'returnFromUnreceivedAutoApprove', list of po items is generated from unreceived items
|
|
34851
34861
|
*/
|
|
34852
34862
|
items: k.array(Er).nullish()
|
|
34853
|
-
}),
|
|
34863
|
+
}), jg = k.object({
|
|
34854
34864
|
// Auto create fulfillment when approving request
|
|
34855
34865
|
fulfillment: ol.nullish()
|
|
34856
|
-
}),
|
|
34866
|
+
}), Jg = k.object({
|
|
34857
34867
|
/// To validate the POS under the business able to support REJECT status
|
|
34858
34868
|
posVersions: k.array(k.string()).nullish()
|
|
34859
|
-
}),
|
|
34869
|
+
}), qg = k.object({
|
|
34860
34870
|
createdBy: k.lazy(() => kt),
|
|
34861
34871
|
deliveryOrderNumber: k.string(),
|
|
34862
34872
|
deliveryRemark: k.string().nullish(),
|
|
@@ -34865,10 +34875,10 @@ var tf = k.enum([
|
|
|
34865
34875
|
// used to deduct stock from source location based on fulfillment
|
|
34866
34876
|
// if [fulfillmentId] is provided, it will ignore [items]
|
|
34867
34877
|
fulfillmentId: k.string().nullish()
|
|
34868
|
-
}),
|
|
34878
|
+
}), Gg = k.object({
|
|
34869
34879
|
/// To validate the POS under the business able to support CLOSE status
|
|
34870
34880
|
posVersions: k.array(k.string()).nullish()
|
|
34871
|
-
}),
|
|
34881
|
+
}), Hg = k.object({
|
|
34872
34882
|
deliveryOrders: k.array(Jn)
|
|
34873
34883
|
}), x_ = k.object({
|
|
34874
34884
|
ableToAutoReceive: k.boolean(),
|
|
@@ -34895,7 +34905,7 @@ var tf = k.enum([
|
|
|
34895
34905
|
* the delivery confirmation (GRN) for this specific fulfillment.
|
|
34896
34906
|
*/
|
|
34897
34907
|
fulfillmentAdjustmentDate: k.string()
|
|
34898
|
-
}),
|
|
34908
|
+
}), Yg = k.object({
|
|
34899
34909
|
ableToAutoReceive: k.boolean(),
|
|
34900
34910
|
isOldEnough: k.boolean(),
|
|
34901
34911
|
/**
|
|
@@ -34925,7 +34935,7 @@ var tf = k.enum([
|
|
|
34925
34935
|
* Empty array for regular purchase orders.
|
|
34926
34936
|
*/
|
|
34927
34937
|
fulfillments: k.array(x_)
|
|
34928
|
-
}),
|
|
34938
|
+
}), Wg = k.object({
|
|
34929
34939
|
_id: k.string().superRefine(me.isObjectId),
|
|
34930
34940
|
/// Scope of the trail: restaurant_XXXXX, warehouse_XXXXX, or business_XXXXX
|
|
34931
34941
|
scope: k.string(),
|
|
@@ -34942,55 +34952,57 @@ var tf = k.enum([
|
|
|
34942
34952
|
/// If the process is terminated abnormally, this field will be nullish.
|
|
34943
34953
|
/// This ensures we have a record of who initiated the action even if it didn't complete.
|
|
34944
34954
|
completedAt: k.string().superRefine(Yt).optional()
|
|
34945
|
-
}).describe(me.ZodMeta.mongo().repo("InventorySystemTrail").build()),
|
|
34955
|
+
}).describe(me.ZodMeta.mongo().repo("InventorySystemTrail").build()), Kg = k.object({
|
|
34946
34956
|
locationId: k.string(),
|
|
34947
34957
|
openingId: k.string(),
|
|
34948
34958
|
untilDate: k.string().nullish(),
|
|
34949
34959
|
requestUser: k.lazy(() => kt).nullish(),
|
|
34950
34960
|
sideEffect: k.boolean().nullish().default(!1)
|
|
34951
|
-
}),
|
|
34961
|
+
}), Qg = n_.omit({
|
|
34952
34962
|
adjustments: !0,
|
|
34953
34963
|
closings: !0
|
|
34954
|
-
}), { FdoDecimal: Kt, FdoDinero:
|
|
34955
|
-
const
|
|
34964
|
+
}), { FdoDecimal: Kt, FdoDinero: Zg, FdoEmployeeRef: kt, FdoProfile: Xg } = ba.entity;
|
|
34965
|
+
const eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34956
34966
|
__proto__: null,
|
|
34957
|
-
DeductSkuResult:
|
|
34958
|
-
FDJgenerateAutoReceiveDeliveriesResult:
|
|
34959
|
-
F_ADJUSTMENT_SPECIAL_REASONS:
|
|
34967
|
+
DeductSkuResult: kf,
|
|
34968
|
+
FDJgenerateAutoReceiveDeliveriesResult: Hg,
|
|
34969
|
+
F_ADJUSTMENT_SPECIAL_REASONS: Df,
|
|
34960
34970
|
F_ADJUSTMENT_TEMPLATE_ITEM_TYPE: ul,
|
|
34961
34971
|
F_BASIC_OPERATION_TYPE: It,
|
|
34962
34972
|
F_CLOSING_DRAFT_ACTION: _l,
|
|
34963
34973
|
F_CLOSING_DRAFT_STATUS: cl,
|
|
34964
|
-
F_CLOSING_DRAFT_TYPE:
|
|
34974
|
+
F_CLOSING_DRAFT_TYPE: Jf,
|
|
34965
34975
|
F_INTERNAL_PURCHASE_ORDER_TYPE: kd,
|
|
34966
34976
|
F_INVENTORY_BINDING_TYPE: gd,
|
|
34967
34977
|
F_INVENTORY_DURATION_UNIT: hd,
|
|
34968
34978
|
F_INVENTORY_ENTITY_ID_PREFIX: Ct,
|
|
34969
|
-
F_INVENTORY_EVENT_TYPE:
|
|
34979
|
+
F_INVENTORY_EVENT_TYPE: _g,
|
|
34970
34980
|
F_INVENTORY_JOB_TYPE: nf,
|
|
34971
34981
|
F_INVENTORY_LOCATION_TYPE: cr,
|
|
34972
34982
|
F_INVENTORY_MODULE_V1_KEY: mt,
|
|
34973
34983
|
F_INVENTORY_QUEUE_TYPE: tf,
|
|
34974
34984
|
F_INVENTORY_VALUATION_METHODS: yd,
|
|
34975
|
-
F_NETSUITE_RECORD_TYPE:
|
|
34985
|
+
F_NETSUITE_RECORD_TYPE: _f,
|
|
34976
34986
|
F_PO_EXECUTION_PLATFORM: sf,
|
|
34977
34987
|
F_PURCHASE_ORDER_ACTION: Oa,
|
|
34988
|
+
F_PURCHASE_ORDER_CREATION_SOURCE: uf,
|
|
34978
34989
|
F_PURCHASE_ORDER_JOB_TYPE: lf,
|
|
34979
34990
|
F_PURCHASE_ORDER_STATUS: Od,
|
|
34991
|
+
F_PURCHASE_ORDER_TRANSACTION_TYPE: df,
|
|
34980
34992
|
F_PURCHASE_ORDER_VERSION: Md,
|
|
34981
34993
|
F_SHIPMENT_MILESTONE_TYPE: wd,
|
|
34982
34994
|
F_SKU_ADJUSTMENT_TYPE: pi,
|
|
34983
|
-
F_STOCK_JOB_TYPE:
|
|
34995
|
+
F_STOCK_JOB_TYPE: Uf,
|
|
34984
34996
|
F_TRANSFER_ON_APPROVE: k_,
|
|
34985
34997
|
F_TRANSFER_ON_COMPLETE: hs,
|
|
34986
34998
|
F_TRANSFER_ON_RETURN: A_,
|
|
34987
34999
|
FdoAdjustmentTemplate: e_,
|
|
34988
35000
|
FdoAdjustmentTemplateItem: Xd,
|
|
34989
|
-
FdoAdjustmentTemplatePublish:
|
|
34990
|
-
FdoAdjustmentTemplateReason:
|
|
35001
|
+
FdoAdjustmentTemplatePublish: Vf,
|
|
35002
|
+
FdoAdjustmentTemplateReason: Pf,
|
|
34991
35003
|
FdoClosing: r_,
|
|
34992
35004
|
FdoClosingAdjustment: Zd,
|
|
34993
|
-
FdoClosingDraft:
|
|
35005
|
+
FdoClosingDraft: Gf,
|
|
34994
35006
|
FdoClosingDraftActivityLog: l_,
|
|
34995
35007
|
FdoClosingDraftAdjustmentSnapshot: u_,
|
|
34996
35008
|
FdoClosingDraftItem: fs,
|
|
@@ -35000,13 +35012,13 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35000
35012
|
FdoClosingDraftUsingTemplate: a_,
|
|
35001
35013
|
FdoClosingTemplate: o_,
|
|
35002
35014
|
FdoClosingTemplateItem: i_,
|
|
35003
|
-
FdoClosingTemplatePublish:
|
|
35015
|
+
FdoClosingTemplatePublish: jf,
|
|
35004
35016
|
FdoCostBalance: Yr,
|
|
35005
35017
|
FdoCountdownChange: qd,
|
|
35006
35018
|
FdoDecimal: Kt,
|
|
35007
35019
|
FdoDeliveryConfirmation: Jn,
|
|
35008
35020
|
FdoDeliveryFulfillment: ol,
|
|
35009
|
-
FdoDinero:
|
|
35021
|
+
FdoDinero: Zg,
|
|
35010
35022
|
FdoDocRevInfo: Td,
|
|
35011
35023
|
FdoEditClosingDraft: c_,
|
|
35012
35024
|
FdoEditClosingDraftItem: gs,
|
|
@@ -35015,7 +35027,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35015
35027
|
FdoFMHAddonBinding: p_,
|
|
35016
35028
|
FdoFMHProductBinding: m_,
|
|
35017
35029
|
FdoFMHServerConfig: f_,
|
|
35018
|
-
FdoFMHSetting:
|
|
35030
|
+
FdoFMHSetting: eg,
|
|
35019
35031
|
FdoFMHUploadHistory: g_,
|
|
35020
35032
|
FdoInventory: Ed,
|
|
35021
35033
|
FdoInventoryAdjustment: po,
|
|
@@ -35024,16 +35036,16 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35024
35036
|
FdoInventoryLocation: $o,
|
|
35025
35037
|
FdoInventoryLocationDoc: Id,
|
|
35026
35038
|
FdoInventoryLocationInventoryInfo: vd,
|
|
35027
|
-
FdoInventoryRecalculationRequest:
|
|
35039
|
+
FdoInventoryRecalculationRequest: xf,
|
|
35028
35040
|
FdoInventoryRecipe: jn,
|
|
35029
35041
|
FdoInventoryShipment: jd,
|
|
35030
35042
|
FdoInventoryShipmentMilestone: zd,
|
|
35031
35043
|
FdoInventorySku: yt,
|
|
35032
35044
|
FdoInventorySkuGroup: Wr,
|
|
35033
|
-
FdoInventorySystemTrail:
|
|
35045
|
+
FdoInventorySystemTrail: Wg,
|
|
35034
35046
|
FdoInventoryUnit: dn,
|
|
35035
35047
|
FdoNetSuiteChildItem: I_,
|
|
35036
|
-
FdoNetSuiteChildItemReplica:
|
|
35048
|
+
FdoNetSuiteChildItemReplica: sg,
|
|
35037
35049
|
FdoNetSuiteError: Dd,
|
|
35038
35050
|
FdoNetSuiteInfo: wa,
|
|
35039
35051
|
FdoNetSuiteItem: fl,
|
|
@@ -35043,38 +35055,38 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35043
35055
|
FdoNetSuiteLocationType: v_,
|
|
35044
35056
|
FdoNetSuiteMissingItem: Vd,
|
|
35045
35057
|
FdoNetSuiteParentItem: F_,
|
|
35046
|
-
FdoNetSuiteParentItemReplica:
|
|
35058
|
+
FdoNetSuiteParentItemReplica: ag,
|
|
35047
35059
|
FdoNetSuiteRestletConfig: E_,
|
|
35048
35060
|
FdoNetSuiteRestletConfigType: b_,
|
|
35049
|
-
FdoNetSuiteSetting:
|
|
35061
|
+
FdoNetSuiteSetting: dg,
|
|
35050
35062
|
FdoNetSuiteSubsidiary: C_,
|
|
35051
35063
|
FdoNetSuiteUnitOfMeasure: h_,
|
|
35052
35064
|
FdoNetSuiteUnitType: y_,
|
|
35053
35065
|
FdoNetSuiteVendor: T_,
|
|
35054
35066
|
FdoOrderShipmentConfig: U_,
|
|
35055
|
-
FdoOrderWorkflowConfig:
|
|
35067
|
+
FdoOrderWorkflowConfig: Ng,
|
|
35056
35068
|
FdoPOActionChangelog: xd,
|
|
35057
35069
|
FdoProductBalance: Qd,
|
|
35058
|
-
FdoProfile:
|
|
35070
|
+
FdoProfile: Xg,
|
|
35059
35071
|
FdoPurchaseOrder: pn,
|
|
35060
35072
|
FdoPurchaseOrderAutoReceiveConfig: B_,
|
|
35061
35073
|
FdoPurchaseOrderAutoReceiveLocationConfig: R_,
|
|
35062
|
-
FdoPurchaseOrderCronConfig:
|
|
35074
|
+
FdoPurchaseOrderCronConfig: Pg,
|
|
35063
35075
|
FdoPurchaseOrderItem: Er,
|
|
35064
35076
|
FdoPurchaseOrderNetSuiteSetting: il,
|
|
35065
35077
|
FdoPurchaseOrderReceived: ka,
|
|
35066
35078
|
FdoPurchaseOrderRequest: sl,
|
|
35067
35079
|
FdoPurchaseOrderRequestRef: Pd,
|
|
35068
35080
|
FdoPurchaseOrderRequestTarget: Kr,
|
|
35069
|
-
FdoPurchaseOrderSeqNo:
|
|
35081
|
+
FdoPurchaseOrderSeqNo: yf,
|
|
35070
35082
|
FdoPurchaseOrderSubsidiaryNetSuiteSetting: Bd,
|
|
35071
35083
|
FdoPurchaseOrderSupplier: al,
|
|
35072
35084
|
FdoPurchaseOrderTemplate: Ud,
|
|
35073
35085
|
FdoPurchaseOrderTemplateBody: Nd,
|
|
35074
35086
|
FdoPurchaseOrderTemplateItem: Ld,
|
|
35075
35087
|
FdoPurchaseOrderWorkflowConfig: N_,
|
|
35076
|
-
FdoReceiveStockOption:
|
|
35077
|
-
FdoReceiveStockResult:
|
|
35088
|
+
FdoReceiveStockOption: Af,
|
|
35089
|
+
FdoReceiveStockResult: Rf,
|
|
35078
35090
|
FdoSkuAdjustment: mo,
|
|
35079
35091
|
FdoSkuAdjustmentAmount: Aa,
|
|
35080
35092
|
FdoSkuAdjustmentHistory: Wd,
|
|
@@ -35086,12 +35098,12 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35086
35098
|
FdoSkuGroupRule: bd,
|
|
35087
35099
|
FdoSkuGroupRuleSkuRef: nl,
|
|
35088
35100
|
FdoSkuThreshold: Cd,
|
|
35089
|
-
FdoSkuWastage:
|
|
35101
|
+
FdoSkuWastage: Lf,
|
|
35090
35102
|
FdoSkuWastageMeasurementAmount: dl,
|
|
35091
35103
|
FdoStockBalance: fi,
|
|
35092
35104
|
FdoStockChange: No,
|
|
35093
|
-
FdoStockDeductable:
|
|
35094
|
-
FdoStockSnapshot:
|
|
35105
|
+
FdoStockDeductable: bf,
|
|
35106
|
+
FdoStockSnapshot: wf,
|
|
35095
35107
|
FdoSupplier: Ma,
|
|
35096
35108
|
FdoSupplierAddress: Ad,
|
|
35097
35109
|
FdoSupplierSupplyItem: Rd,
|
|
@@ -35099,100 +35111,100 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35099
35111
|
FdoTransferOrderFulfillmentConfig: P_,
|
|
35100
35112
|
FdoTransferOrderWorkflowConfig: L_,
|
|
35101
35113
|
FdoUnitMeasurement: Ut,
|
|
35102
|
-
FdoWarehouse:
|
|
35114
|
+
FdoWarehouse: Xf,
|
|
35103
35115
|
FdoWarehouseProfile: $_,
|
|
35104
|
-
FdoWastage:
|
|
35116
|
+
FdoWastage: Nf,
|
|
35105
35117
|
FdoWastageItem: t_,
|
|
35106
|
-
FdtoAdjustSkuBalance:
|
|
35107
|
-
FdtoAmountAndMeasurement:
|
|
35108
|
-
FdtoApproveRequestPayload:
|
|
35109
|
-
FdtoAutoReceiveEligibilityResult:
|
|
35118
|
+
FdtoAdjustSkuBalance: Ef,
|
|
35119
|
+
FdtoAmountAndMeasurement: Ag,
|
|
35120
|
+
FdtoApproveRequestPayload: jg,
|
|
35121
|
+
FdtoAutoReceiveEligibilityResult: Yg,
|
|
35110
35122
|
FdtoAutoReceiveFulfillmentEligibility: x_,
|
|
35111
35123
|
FdtoBindingErrorType: w_,
|
|
35112
|
-
FdtoBulkRecipeRequest:
|
|
35113
|
-
FdtoBulkRecipeResponse:
|
|
35114
|
-
FdtoBulkSkuGroupRequest:
|
|
35115
|
-
FdtoBulkSkuRequest:
|
|
35116
|
-
FdtoBulkSkuResponse:
|
|
35117
|
-
FdtoBulkUnitResponse:
|
|
35118
|
-
FdtoBulkUnitsRequest:
|
|
35119
|
-
FdtoCloseRequestPayload:
|
|
35120
|
-
FdtoClosingDraftNew:
|
|
35121
|
-
FdtoClosingDraftOperation:
|
|
35122
|
-
FdtoClosingDraftSearch:
|
|
35123
|
-
FdtoClosingQuickMode:
|
|
35124
|
-
FdtoConvertSku:
|
|
35125
|
-
FdtoCreatePurchaseOrder:
|
|
35126
|
-
FdtoDeliveryOrderCreateRequest:
|
|
35124
|
+
FdtoBulkRecipeRequest: Og,
|
|
35125
|
+
FdtoBulkRecipeResponse: Dg,
|
|
35126
|
+
FdtoBulkSkuGroupRequest: Sg,
|
|
35127
|
+
FdtoBulkSkuRequest: vg,
|
|
35128
|
+
FdtoBulkSkuResponse: Rg,
|
|
35129
|
+
FdtoBulkUnitResponse: Bg,
|
|
35130
|
+
FdtoBulkUnitsRequest: bg,
|
|
35131
|
+
FdtoCloseRequestPayload: Gg,
|
|
35132
|
+
FdtoClosingDraftNew: Wf,
|
|
35133
|
+
FdtoClosingDraftOperation: Yf,
|
|
35134
|
+
FdtoClosingDraftSearch: qf,
|
|
35135
|
+
FdtoClosingQuickMode: Kf,
|
|
35136
|
+
FdtoConvertSku: Tf,
|
|
35137
|
+
FdtoCreatePurchaseOrder: mf,
|
|
35138
|
+
FdtoDeliveryOrderCreateRequest: Cf,
|
|
35127
35139
|
FdtoDeliveryOrderUpdateRequest: Jd,
|
|
35128
|
-
FdtoEditClosingDraftRequest:
|
|
35129
|
-
FdtoGetSkuAdjustmentsFromBillsResult:
|
|
35130
|
-
FdtoInventoryLocationInfo:
|
|
35131
|
-
FdtoMessageData:
|
|
35132
|
-
FdtoMigrateMenuToInventoryRequest:
|
|
35133
|
-
FdtoNetSuiteRestletRetrieveRecordInfo:
|
|
35134
|
-
FdtoNetSuiteRestletRetrieveRecordInfoResponse:
|
|
35140
|
+
FdtoEditClosingDraftRequest: Hf,
|
|
35141
|
+
FdtoGetSkuAdjustmentsFromBillsResult: zf,
|
|
35142
|
+
FdtoInventoryLocationInfo: Vg,
|
|
35143
|
+
FdtoMessageData: cg,
|
|
35144
|
+
FdtoMigrateMenuToInventoryRequest: Fg,
|
|
35145
|
+
FdtoNetSuiteRestletRetrieveRecordInfo: lg,
|
|
35146
|
+
FdtoNetSuiteRestletRetrieveRecordInfoResponse: ug,
|
|
35135
35147
|
FdtoOutOfStockError: O_,
|
|
35136
35148
|
FdtoPendingPurchaseOrder: V_,
|
|
35137
|
-
FdtoProcessTransferPayload:
|
|
35138
|
-
FdtoPurchaseOrderOperateV2Request:
|
|
35139
|
-
FdtoPurchaseOrderOperation:
|
|
35140
|
-
FdtoPurchaseOrderReceiveOperationDoc:
|
|
35141
|
-
FdtoPurchaseOrderRequest:
|
|
35142
|
-
FdtoPurchaseOrderRequestTarget:
|
|
35143
|
-
FdtoRecalculationLambdaPayload:
|
|
35144
|
-
FdtoRecalculationLambdaResponse:
|
|
35149
|
+
FdtoProcessTransferPayload: qg,
|
|
35150
|
+
FdtoPurchaseOrderOperateV2Request: hf,
|
|
35151
|
+
FdtoPurchaseOrderOperation: ff,
|
|
35152
|
+
FdtoPurchaseOrderReceiveOperationDoc: gf,
|
|
35153
|
+
FdtoPurchaseOrderRequest: $f,
|
|
35154
|
+
FdtoPurchaseOrderRequestTarget: cf,
|
|
35155
|
+
FdtoRecalculationLambdaPayload: Kg,
|
|
35156
|
+
FdtoRecalculationLambdaResponse: Qg,
|
|
35145
35157
|
FdtoRecalculationResult: n_,
|
|
35146
|
-
FdtoReceiveStockPayload:
|
|
35147
|
-
FdtoRejectRequestPayload:
|
|
35148
|
-
FdtoResolvedIngredientBindingError:
|
|
35149
|
-
FdtoResolvedIngredientBindingSuccess:
|
|
35150
|
-
FdtoReturnStockPayload:
|
|
35151
|
-
FdtoRevertAdjustment:
|
|
35158
|
+
FdtoReceiveStockPayload: xg,
|
|
35159
|
+
FdtoRejectRequestPayload: Jg,
|
|
35160
|
+
FdtoResolvedIngredientBindingError: kg,
|
|
35161
|
+
FdtoResolvedIngredientBindingSuccess: wg,
|
|
35162
|
+
FdtoReturnStockPayload: zg,
|
|
35163
|
+
FdtoRevertAdjustment: Mf,
|
|
35152
35164
|
FdtoRevertWastageAdjustment: Kd,
|
|
35153
35165
|
FdtoSkuConversionBalance: M_,
|
|
35154
|
-
FdtoSkuConversionBalancesRes:
|
|
35155
|
-
FdtoSkuConvertRes:
|
|
35156
|
-
FdtoSkuInfo:
|
|
35166
|
+
FdtoSkuConversionBalancesRes: yg,
|
|
35167
|
+
FdtoSkuConvertRes: gg,
|
|
35168
|
+
FdtoSkuInfo: Of,
|
|
35157
35169
|
FdtoSkuRequire: Yd,
|
|
35158
35170
|
FdtoStockAdjustmentPayload: D_,
|
|
35159
|
-
FdtoStockRecalculateAbility:
|
|
35160
|
-
FdtoTransferSubmitRequestPayload:
|
|
35171
|
+
FdtoStockRecalculateAbility: Bf,
|
|
35172
|
+
FdtoTransferSubmitRequestPayload: Ug,
|
|
35161
35173
|
FdtoUomField: af,
|
|
35162
|
-
FdtoUpdatePurchaseOrder:
|
|
35163
|
-
FdtoUpdateStockBalanceRes:
|
|
35164
|
-
FdtoWorkflowRunnerResult:
|
|
35165
|
-
FdtoXilnexTransferNote:
|
|
35166
|
-
InventoryAdjustmentDoc:
|
|
35174
|
+
FdtoUpdatePurchaseOrder: pf,
|
|
35175
|
+
FdtoUpdateStockBalanceRes: hg,
|
|
35176
|
+
FdtoWorkflowRunnerResult: Lg,
|
|
35177
|
+
FdtoXilnexTransferNote: Ff,
|
|
35178
|
+
InventoryAdjustmentDoc: pg,
|
|
35167
35179
|
InventoryDoc: Ra,
|
|
35168
|
-
InventoryTransferCreateDto:
|
|
35169
|
-
NETSUITE_CRON_JOB_TYPE:
|
|
35170
|
-
NETSUITE_ITEM_TYPES:
|
|
35171
|
-
NETSUITE_JOB_TYPE:
|
|
35172
|
-
NETSUITE_QUEUE_TYPE:
|
|
35173
|
-
PurchaseOrderDoc:
|
|
35174
|
-
PurchaseOrderItemReceiveInfo:
|
|
35175
|
-
PurchaseOrderItemReceiveStatus:
|
|
35176
|
-
PurchaseOrderReceiveStatus:
|
|
35180
|
+
InventoryTransferCreateDto: ig,
|
|
35181
|
+
NETSUITE_CRON_JOB_TYPE: rg,
|
|
35182
|
+
NETSUITE_ITEM_TYPES: og,
|
|
35183
|
+
NETSUITE_JOB_TYPE: ng,
|
|
35184
|
+
NETSUITE_QUEUE_TYPE: tg,
|
|
35185
|
+
PurchaseOrderDoc: fg,
|
|
35186
|
+
PurchaseOrderItemReceiveInfo: If,
|
|
35187
|
+
PurchaseOrderItemReceiveStatus: vf,
|
|
35188
|
+
PurchaseOrderReceiveStatus: Sf,
|
|
35177
35189
|
SkuConversion: Hd,
|
|
35178
35190
|
SkuConversionOverride: Gd,
|
|
35179
|
-
StockBalanceDoc:
|
|
35180
|
-
SupplierDoc:
|
|
35181
|
-
getInventoryUpdateSchema:
|
|
35191
|
+
StockBalanceDoc: $g,
|
|
35192
|
+
SupplierDoc: mg,
|
|
35193
|
+
getInventoryUpdateSchema: Mg,
|
|
35182
35194
|
isISODateStringIfNotNullish: Yt
|
|
35183
35195
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
35184
|
-
function
|
|
35196
|
+
function th(p, h) {
|
|
35185
35197
|
if (!Array.isArray(p) || h <= 0) return [];
|
|
35186
35198
|
const g = [];
|
|
35187
35199
|
for (let M = 0; M < p.length; M += h)
|
|
35188
35200
|
g.push(p.slice(M, M + h));
|
|
35189
35201
|
return g;
|
|
35190
35202
|
}
|
|
35191
|
-
const
|
|
35203
|
+
const qh = {
|
|
35192
35204
|
restaurant: cr.enum.restaurant,
|
|
35193
35205
|
warehouse: cr.enum.warehouse
|
|
35194
35206
|
};
|
|
35195
|
-
function
|
|
35207
|
+
function nh() {
|
|
35196
35208
|
return {
|
|
35197
35209
|
_currentLocation: null,
|
|
35198
35210
|
_locations: null,
|
|
@@ -35205,7 +35217,7 @@ function as() {
|
|
|
35205
35217
|
const p = Vt(), h = p.currentCountry.value ?? "", g = ((M = p.currentBusiness.value) == null ? void 0 : M._id) ?? "";
|
|
35206
35218
|
return `feedme_inventory_location.${h}.${g}`;
|
|
35207
35219
|
}
|
|
35208
|
-
const jt = Mi(
|
|
35220
|
+
const jt = Mi(nh()), zl = Mi(!1), z_ = {};
|
|
35209
35221
|
Kl(
|
|
35210
35222
|
() => jt.value._currentLocation,
|
|
35211
35223
|
(p) => {
|
|
@@ -35213,7 +35225,7 @@ Kl(
|
|
|
35213
35225
|
Promise.allSettled(h).catch(console.error);
|
|
35214
35226
|
}
|
|
35215
35227
|
);
|
|
35216
|
-
const
|
|
35228
|
+
const rh = Nt(() => (jt.value._locations ?? []).reduce(
|
|
35217
35229
|
(h, g) => (h[g.doc._id] = g, h),
|
|
35218
35230
|
{}
|
|
35219
35231
|
));
|
|
@@ -35252,7 +35264,7 @@ function j_() {
|
|
|
35252
35264
|
return jt.value;
|
|
35253
35265
|
},
|
|
35254
35266
|
get locationById() {
|
|
35255
|
-
return
|
|
35267
|
+
return rh.value;
|
|
35256
35268
|
},
|
|
35257
35269
|
get currentLocation() {
|
|
35258
35270
|
if (!this.state._currentLocation)
|
|
@@ -35313,7 +35325,7 @@ function j_() {
|
|
|
35313
35325
|
async readLocationsWithInventory() {
|
|
35314
35326
|
const h = ys();
|
|
35315
35327
|
let g = [];
|
|
35316
|
-
const B =
|
|
35328
|
+
const B = th(this._locations ?? [], 50);
|
|
35317
35329
|
for (const L of B) {
|
|
35318
35330
|
const x = L.map((K) => `${K.type}_${K.doc._id}`), q = await h.readInventoryLocationsWithInventory(x);
|
|
35319
35331
|
g = g.concat(q);
|
|
@@ -35345,14 +35357,14 @@ function j_() {
|
|
|
35345
35357
|
}
|
|
35346
35358
|
};
|
|
35347
35359
|
}
|
|
35348
|
-
function
|
|
35360
|
+
function ih(p) {
|
|
35349
35361
|
try {
|
|
35350
35362
|
return new URL(p), !0;
|
|
35351
35363
|
} catch {
|
|
35352
35364
|
return !1;
|
|
35353
35365
|
}
|
|
35354
35366
|
}
|
|
35355
|
-
function
|
|
35367
|
+
function oh(p) {
|
|
35356
35368
|
const h = p.startsWith("/") ? p : `/${p}`;
|
|
35357
35369
|
try {
|
|
35358
35370
|
const g = new URL(h, "https://dummy");
|
|
@@ -35361,22 +35373,22 @@ function rh(p) {
|
|
|
35361
35373
|
return !1;
|
|
35362
35374
|
}
|
|
35363
35375
|
}
|
|
35364
|
-
function
|
|
35376
|
+
function ah(p) {
|
|
35365
35377
|
const { protocol: h, hostname: g, pathname: M, port: B } = new URL(p);
|
|
35366
35378
|
return { hostname: `${h}//${g}${B ? `:${B}` : ""}`, pathname: M };
|
|
35367
35379
|
}
|
|
35368
35380
|
function Ur(p, h) {
|
|
35369
|
-
if (
|
|
35381
|
+
if (ih(p))
|
|
35370
35382
|
throw new Error(
|
|
35371
35383
|
`cannot append path using ${p} to url ${h} because the path is already a valid url`
|
|
35372
35384
|
);
|
|
35373
|
-
if (!
|
|
35385
|
+
if (!oh(p))
|
|
35374
35386
|
throw new Error(`cannot append to ${h} because ${p} is not a valid pathname`);
|
|
35375
|
-
const { hostname: g, pathname: M } =
|
|
35387
|
+
const { hostname: g, pathname: M } = ah(h), B = p.startsWith("/") ? p : `/${p}`, L = M.endsWith("/") ? M.slice(0, M.length - 1) : M;
|
|
35376
35388
|
return new URL(`${L}${B}`, g).toString();
|
|
35377
35389
|
}
|
|
35378
35390
|
var vo = { development: { appEndpoint: {}, appApi: { fmAuthClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" } }, production: { appEndpoint: {}, appApi: { fmAuthClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" } } };
|
|
35379
|
-
function
|
|
35391
|
+
function sh() {
|
|
35380
35392
|
return {
|
|
35381
35393
|
get isDev() {
|
|
35382
35394
|
return Vt().namespace.value === "dev";
|
|
@@ -35389,8 +35401,8 @@ function oh() {
|
|
|
35389
35401
|
}
|
|
35390
35402
|
};
|
|
35391
35403
|
}
|
|
35392
|
-
function
|
|
35393
|
-
const { appEndpoint: h, isDev: g } =
|
|
35404
|
+
function lh(p) {
|
|
35405
|
+
const { appEndpoint: h, isDev: g } = sh(), M = p !== et.F_COUNTRY.enum.MY ? `.${p.toLowerCase()}` : "", B = `${g ? "-dev" : ""}${M}.feedmeapi.com`, L = h.mainBackend ?? `https://portal-v2${B}`;
|
|
35394
35406
|
let x = `https://public-query-engine.feedmeapi${g ? "dev" : ""}.com/inventory/`;
|
|
35395
35407
|
return M !== "" && (x = `https://public-query-engine${M}.feedmeapi${g ? "dev" : ""}.com/inventory/`), {
|
|
35396
35408
|
portalBackendUrl: L,
|
|
@@ -35402,7 +35414,7 @@ function ah(p) {
|
|
|
35402
35414
|
dataBackendUrl: x
|
|
35403
35415
|
};
|
|
35404
35416
|
}
|
|
35405
|
-
function
|
|
35417
|
+
function uh(p) {
|
|
35406
35418
|
try {
|
|
35407
35419
|
const { code: h, name: g, currency: M } = ba.Country.getCountry(p);
|
|
35408
35420
|
return { code: h, name: g, currency: M.code };
|
|
@@ -35410,10 +35422,10 @@ function sh(p) {
|
|
|
35410
35422
|
return null;
|
|
35411
35423
|
}
|
|
35412
35424
|
}
|
|
35413
|
-
const
|
|
35425
|
+
const dh = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), _h = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), ch = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), $h = /[^\p{L}\d]+/giu, jl = "$1\0$2", Jl = "";
|
|
35414
35426
|
function J_(p) {
|
|
35415
35427
|
let h = p.trim();
|
|
35416
|
-
h = h.replace(
|
|
35428
|
+
h = h.replace(dh, jl).replace(_h, jl), h = h.replace($h, "\0");
|
|
35417
35429
|
let g = 0, M = h.length;
|
|
35418
35430
|
for (; h.charAt(g) === "\0"; )
|
|
35419
35431
|
g++;
|
|
@@ -35423,10 +35435,10 @@ function J_(p) {
|
|
|
35423
35435
|
M--;
|
|
35424
35436
|
return h.slice(g, M).split(/\0/g);
|
|
35425
35437
|
}
|
|
35426
|
-
function
|
|
35438
|
+
function mh(p) {
|
|
35427
35439
|
const h = J_(p);
|
|
35428
35440
|
for (let g = 0; g < h.length; g++) {
|
|
35429
|
-
const M = h[g], B =
|
|
35441
|
+
const M = h[g], B = ch.exec(M);
|
|
35430
35442
|
if (B) {
|
|
35431
35443
|
const L = B.index + (B[1] ?? B[2]).length;
|
|
35432
35444
|
h.splice(g, 1, M.slice(0, L), M.slice(L));
|
|
@@ -35434,18 +35446,18 @@ function ch(p) {
|
|
|
35434
35446
|
}
|
|
35435
35447
|
return h;
|
|
35436
35448
|
}
|
|
35437
|
-
function
|
|
35449
|
+
function ph(p, h) {
|
|
35438
35450
|
const [g, M, B] = hl(p, h);
|
|
35439
35451
|
return g + M.map(gl(h == null ? void 0 : h.locale)).join((h == null ? void 0 : h.delimiter) ?? " ") + B;
|
|
35440
35452
|
}
|
|
35441
|
-
function
|
|
35453
|
+
function Gh(p, h) {
|
|
35442
35454
|
const [g, M, B] = hl(p, h), L = gl(h == null ? void 0 : h.locale), x = q_(h == null ? void 0 : h.locale);
|
|
35443
35455
|
return g + M.map(G_(L, x)).join((h == null ? void 0 : h.delimiter) ?? " ") + B;
|
|
35444
35456
|
}
|
|
35445
|
-
function
|
|
35446
|
-
return
|
|
35457
|
+
function Hh(p, h) {
|
|
35458
|
+
return ph(p, { delimiter: "-", ...h });
|
|
35447
35459
|
}
|
|
35448
|
-
function
|
|
35460
|
+
function fh(p, h) {
|
|
35449
35461
|
const [g, M, B] = hl(p, h), L = gl(h == null ? void 0 : h.locale), x = q_(h == null ? void 0 : h.locale), q = G_(L, x);
|
|
35450
35462
|
return g + M.map((K, Y) => Y === 0 ? q(K) : L(K)).join((h == null ? void 0 : h.delimiter) ?? " ") + B;
|
|
35451
35463
|
}
|
|
@@ -35459,7 +35471,7 @@ function G_(p, h) {
|
|
|
35459
35471
|
return (g) => `${h(g[0])}${p(g.slice(1))}`;
|
|
35460
35472
|
}
|
|
35461
35473
|
function hl(p, h = {}) {
|
|
35462
|
-
const g = h.split ?? (h.separateNumbers ?
|
|
35474
|
+
const g = h.split ?? (h.separateNumbers ? mh : J_), M = h.prefixCharacters ?? Jl, B = h.suffixCharacters ?? Jl;
|
|
35463
35475
|
let L = 0, x = p.length;
|
|
35464
35476
|
for (; L < p.length; ) {
|
|
35465
35477
|
const q = p.charAt(L);
|
|
@@ -35482,40 +35494,40 @@ function hl(p, h = {}) {
|
|
|
35482
35494
|
function H_() {
|
|
35483
35495
|
const { enabledCountries: p } = Vt();
|
|
35484
35496
|
return p.value.reduce((h, g) => {
|
|
35485
|
-
const M =
|
|
35497
|
+
const M = uh(g);
|
|
35486
35498
|
if (M) {
|
|
35487
35499
|
const { code: B, name: L, currency: x } = M;
|
|
35488
35500
|
h[g] = {
|
|
35489
35501
|
code: B,
|
|
35490
|
-
name:
|
|
35502
|
+
name: fh(L),
|
|
35491
35503
|
currency: x
|
|
35492
35504
|
};
|
|
35493
35505
|
}
|
|
35494
35506
|
return h;
|
|
35495
35507
|
}, {});
|
|
35496
35508
|
}
|
|
35497
|
-
function
|
|
35509
|
+
function Yh(p) {
|
|
35498
35510
|
const g = H_()[p];
|
|
35499
35511
|
return g ? g.currency : "MYR";
|
|
35500
35512
|
}
|
|
35501
|
-
function
|
|
35513
|
+
function gh(p) {
|
|
35502
35514
|
return H_()[p || Y_];
|
|
35503
35515
|
}
|
|
35504
35516
|
const Y_ = et.F_COUNTRY.enum.MY;
|
|
35505
|
-
function
|
|
35517
|
+
function hh() {
|
|
35506
35518
|
const h = Vt().currentCountry.value;
|
|
35507
|
-
return
|
|
35519
|
+
return gh(h).currency;
|
|
35508
35520
|
}
|
|
35509
|
-
function
|
|
35510
|
-
const p =
|
|
35521
|
+
function Wh() {
|
|
35522
|
+
const p = hh();
|
|
35511
35523
|
return p === "MYR" ? "RM" : p;
|
|
35512
35524
|
}
|
|
35513
|
-
const
|
|
35514
|
-
function
|
|
35525
|
+
const yh = "https://account.feedmedev.cc", ql = yh;
|
|
35526
|
+
function Fh() {
|
|
35515
35527
|
return {
|
|
35516
35528
|
get backendUrls() {
|
|
35517
35529
|
const p = Vt();
|
|
35518
|
-
return
|
|
35530
|
+
return lh(p.currentCountry.value ?? Y_);
|
|
35519
35531
|
},
|
|
35520
35532
|
async refreshAuth(p) {
|
|
35521
35533
|
const h = await fetch(`${ql}/api/token/custom`, {
|
|
@@ -35545,7 +35557,7 @@ let Gl = (p) => {
|
|
|
35545
35557
|
}, Yl = (p) => {
|
|
35546
35558
|
parent.postMessage(JSON.parse(JSON.stringify(p)), { targetOrigin: "*" });
|
|
35547
35559
|
};
|
|
35548
|
-
function
|
|
35560
|
+
function Ih({
|
|
35549
35561
|
businesses: p,
|
|
35550
35562
|
user: h,
|
|
35551
35563
|
token: g,
|
|
@@ -35578,11 +35590,11 @@ function yh({
|
|
|
35578
35590
|
}, B.businesses.value = p, B.changeBusiness(p[0]);
|
|
35579
35591
|
}
|
|
35580
35592
|
const yl = Mi(!1);
|
|
35581
|
-
function
|
|
35593
|
+
function Kh(p) {
|
|
35582
35594
|
yl.value = !0;
|
|
35583
35595
|
let h = !1;
|
|
35584
35596
|
function g(L) {
|
|
35585
|
-
|
|
35597
|
+
Ih(L), p();
|
|
35586
35598
|
}
|
|
35587
35599
|
function M() {
|
|
35588
35600
|
if (!h)
|
|
@@ -35628,7 +35640,7 @@ function Yh(p) {
|
|
|
35628
35640
|
const ss = 3e4;
|
|
35629
35641
|
function Fl(p) {
|
|
35630
35642
|
return function() {
|
|
35631
|
-
const g =
|
|
35643
|
+
const g = Fh(), M = Vt();
|
|
35632
35644
|
function B(K) {
|
|
35633
35645
|
return K < 200 || K >= 300;
|
|
35634
35646
|
}
|
|
@@ -35877,7 +35889,7 @@ const ys = Fl((p, h) => {
|
|
|
35877
35889
|
},
|
|
35878
35890
|
urls: p
|
|
35879
35891
|
};
|
|
35880
|
-
}),
|
|
35892
|
+
}), vh = Fl((p, h) => {
|
|
35881
35893
|
const g = Vt(), M = j_();
|
|
35882
35894
|
return {
|
|
35883
35895
|
async readMenu() {
|
|
@@ -35898,7 +35910,7 @@ const ys = Fl((p, h) => {
|
|
|
35898
35910
|
return await h.post(x, B);
|
|
35899
35911
|
}
|
|
35900
35912
|
};
|
|
35901
|
-
}),
|
|
35913
|
+
}), Sh = Fl((p, h) => {
|
|
35902
35914
|
const g = j_();
|
|
35903
35915
|
return {
|
|
35904
35916
|
async readLastClosing(M, B = !0) {
|
|
@@ -35927,7 +35939,7 @@ const ys = Fl((p, h) => {
|
|
|
35927
35939
|
}
|
|
35928
35940
|
};
|
|
35929
35941
|
});
|
|
35930
|
-
var $r = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_70b8c5d0-51c5-40ef-8941-51e0ead2dada", 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.12.1 npm/? node/v20.19.6 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_70b8c5d0-51c5-40ef-8941-51e0ead2dada", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", 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.2.1", 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.27.6", npm_package_devDependencies_code_inspector_plugin: "^1.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1768", npm_package_dependencies__feedmepos_ui_library: "1.8.3", 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_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: "20251126.144.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.3", npm_package_dependencies__types_dinero_js: "^1.9.4", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.2.40", 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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12927", GITHUB_WORKFLOW: "[CD:prod] 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.10/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.4/x64", GITHUB_RUN_ID: "19958522288", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b87c413ccbe627067bfd76bce0382c42ee4799d5", 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-prod.yaml@refs/tags/inventory-portal-v1.2.40", 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.12.1/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.12.1/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.12.1/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.19.6/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_3ac88efd-ba90-49d3-97c6-57ed971885ae", INVOCATION_ID: "6897aa20be144ce68ccfa2e7be730ed2", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "377", 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_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", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", 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 1000032271", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.2.40", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.2.40", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", 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: "false", 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: "b87c413ccbe627067bfd76bce0382c42ee4799d5", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/inventory-portal-v1.2.40", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", 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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", 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.12.1/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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "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_70b8c5d0-51c5-40ef-8941-51e0ead2dada", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, W_ = typeof $r < "u" && ($r.versions || {}).hasOwnProperty("node"), re = W_ ? Object.create(globalThis) : globalThis;
|
|
35942
|
+
var $r = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", 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.12.1 npm/? node/v20.19.6 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", 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.2.1", 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.27.6", npm_package_devDependencies_code_inspector_plugin: "^1.2.2", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1760", npm_package_dependencies__feedmepos_ui_library: "1.8.3", 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_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: "20251126.144.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.3", npm_package_dependencies__types_dinero_js: "^1.9.4", 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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.2.41-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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12672", 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.10/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.4/x64", GITHUB_RUN_ID: "20034513467", 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: "113b049b6e80f43a267475df687fcc0c0a0aeca6", 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.12.1/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.12.1/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.12.1/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.19.6/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_a956dd1e-0d79-4872-a0cf-50313cdce169", INVOCATION_ID: "9669458fdaa14d4cbe0896c0345e5fd8", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "842", 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_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", 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 1000032652", 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", 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.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.2.41-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", 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: "false", 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: "113b049b6e80f43a267475df687fcc0c0a0aeca6", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", 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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", 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.12.1/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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", 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_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "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_e77511ff-adf7-4b93-acaa-f1cbabb7b1d6", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, W_ = typeof $r < "u" && ($r.versions || {}).hasOwnProperty("node"), re = W_ ? Object.create(globalThis) : globalThis;
|
|
35931
35943
|
re.scheduleImmediate = typeof setImmediate < "u" ? function(p) {
|
|
35932
35944
|
setImmediate(p);
|
|
35933
35945
|
} : function(p) {
|
|
@@ -63586,7 +63598,7 @@ Arguments: [` + _ + "]";
|
|
|
63586
63598
|
typeof dartMainRunner == "function" ? dartMainRunner(t, []) : t([]);
|
|
63587
63599
|
});
|
|
63588
63600
|
})();
|
|
63589
|
-
const K_ = re.exports.FfBillOperationWithInventory, Q_ = re.exports.FfCalculator, Z_ = re.exports.FfPurchaseOrderReceiveStatus, X_ = re.exports.FfOrder, ec = re.exports.FfCostUtils, tc = re.exports.getBalance, nc = re.exports.prepareSpecialAdjustment, rc = re.exports.prepareConvertAdjustment, ic = re.exports.prepareReceiveAdjustment, oc = re.exports.prepareRequestAdjustment, ac = re.exports.generateRequestAdjustmentRef, sc = re.exports.prepareRequestAdjustmentFromFulfillment, lc = re.exports.receiveStock, uc = re.exports.validatePurchaseOrderStatus, dc = re.exports.deductStock, _c = re.exports.getInvalidSkuAndRecipe, cc = re.exports.recalculateStock, $c = re.exports.getCostOfGoodsSold, mc = re.exports.idToDate, pc = re.exports.flattenInventoryBindings, Il = re.exports.flattenAllInventoryBindings, fc = re.exports.createAdjustmentWithBill, gc = re.exports.prepareAdjustmentBasedOnClosing, hc = re.exports.generateRepoId, yc = re.exports.recalculateByClosings, Fc = re.exports.getLatestPurchaseOrderRequest, Ic = re.exports.getSkuAdjustmentsFromBills, vc = re.exports.generateClosingQuickModeDraft, Sc = re.exports.revertWastageAdjustment, Cc = re.exports.getEstimatedDeliveryDateInISO, bc = re.exports.confirmClosingDraft,
|
|
63601
|
+
const K_ = re.exports.FfBillOperationWithInventory, Q_ = re.exports.FfCalculator, Z_ = re.exports.FfPurchaseOrderReceiveStatus, X_ = re.exports.FfOrder, ec = re.exports.FfCostUtils, tc = re.exports.getBalance, nc = re.exports.prepareSpecialAdjustment, rc = re.exports.prepareConvertAdjustment, ic = re.exports.prepareReceiveAdjustment, oc = re.exports.prepareRequestAdjustment, ac = re.exports.generateRequestAdjustmentRef, sc = re.exports.prepareRequestAdjustmentFromFulfillment, lc = re.exports.receiveStock, uc = re.exports.validatePurchaseOrderStatus, dc = re.exports.deductStock, _c = re.exports.getInvalidSkuAndRecipe, cc = re.exports.recalculateStock, $c = re.exports.getCostOfGoodsSold, mc = re.exports.idToDate, pc = re.exports.flattenInventoryBindings, Il = re.exports.flattenAllInventoryBindings, fc = re.exports.createAdjustmentWithBill, gc = re.exports.prepareAdjustmentBasedOnClosing, hc = re.exports.generateRepoId, yc = re.exports.recalculateByClosings, Fc = re.exports.getLatestPurchaseOrderRequest, Ic = re.exports.getSkuAdjustmentsFromBills, vc = re.exports.generateClosingQuickModeDraft, Sc = re.exports.revertWastageAdjustment, Cc = re.exports.getEstimatedDeliveryDateInISO, bc = re.exports.confirmClosingDraft, Ch = { FfBillOperationWithInventory: K_, FfCalculator: Q_, FfPurchaseOrderReceiveStatus: Z_, FfOrder: X_, FfCostUtils: ec, getBalance: tc, prepareSpecialAdjustment: nc, prepareConvertAdjustment: rc, prepareReceiveAdjustment: ic, prepareRequestAdjustment: oc, generateRequestAdjustmentRef: ac, prepareRequestAdjustmentFromFulfillment: sc, receiveStock: lc, validatePurchaseOrderStatus: uc, deductStock: dc, getInvalidSkuAndRecipe: _c, recalculateStock: cc, getCostOfGoodsSold: $c, idToDate: mc, flattenInventoryBindings: pc, flattenAllInventoryBindings: Il, createAdjustmentWithBill: fc, prepareAdjustmentBasedOnClosing: gc, generateRepoId: hc, recalculateByClosings: yc, getLatestPurchaseOrderRequest: Fc, getSkuAdjustmentsFromBills: Ic, generateClosingQuickModeDraft: vc, revertWastageAdjustment: Sc, getEstimatedDeliveryDateInISO: Cc, confirmClosingDraft: bc }, Qh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63590
63602
|
__proto__: null,
|
|
63591
63603
|
FfBillOperationWithInventory: K_,
|
|
63592
63604
|
FfCalculator: Q_,
|
|
@@ -63596,7 +63608,7 @@ const K_ = re.exports.FfBillOperationWithInventory, Q_ = re.exports.FfCalculator
|
|
|
63596
63608
|
confirmClosingDraft: bc,
|
|
63597
63609
|
createAdjustmentWithBill: fc,
|
|
63598
63610
|
deductStock: dc,
|
|
63599
|
-
default:
|
|
63611
|
+
default: Ch,
|
|
63600
63612
|
flattenAllInventoryBindings: Il,
|
|
63601
63613
|
flattenInventoryBindings: pc,
|
|
63602
63614
|
generateClosingQuickModeDraft: vc,
|
|
@@ -63665,7 +63677,7 @@ Array.prototype.groupBy = function(p, h) {
|
|
|
63665
63677
|
}
|
|
63666
63678
|
return g;
|
|
63667
63679
|
};
|
|
63668
|
-
function
|
|
63680
|
+
function bh() {
|
|
63669
63681
|
return {
|
|
63670
63682
|
inventory: {
|
|
63671
63683
|
_id: "",
|
|
@@ -63685,25 +63697,25 @@ function Sh() {
|
|
|
63685
63697
|
menuFetching: !1
|
|
63686
63698
|
};
|
|
63687
63699
|
}
|
|
63688
|
-
const gt = Mi(
|
|
63700
|
+
const gt = Mi(bh()), Eh = Nt(() => (gt.value.inventory.unit ?? []).reduce(
|
|
63689
63701
|
(h, g) => (h[g._id] = g, h),
|
|
63690
63702
|
{}
|
|
63691
|
-
)),
|
|
63703
|
+
)), Th = Nt(() => (gt.value.inventory.sku ?? []).reduce(
|
|
63692
63704
|
(h, g) => (h[g._id] = g, h),
|
|
63693
63705
|
{}
|
|
63694
|
-
)),
|
|
63706
|
+
)), Oh = Nt(() => (gt.value.inventory.sku ?? []).reduce(
|
|
63695
63707
|
(h, g) => (h[g.code] = g, h),
|
|
63696
63708
|
{}
|
|
63697
|
-
)),
|
|
63709
|
+
)), Mh = Nt(() => (gt.value.inventory.recipe ?? []).reduce(
|
|
63698
63710
|
(h, g) => (h[g._id] = g, h),
|
|
63699
63711
|
{}
|
|
63700
|
-
)),
|
|
63712
|
+
)), wh = Nt(() => (gt.value.inventory.recipe ?? []).reduce(
|
|
63701
63713
|
(h, g) => (h[g.name] = g, h),
|
|
63702
63714
|
{}
|
|
63703
|
-
)),
|
|
63715
|
+
)), kh = Nt(() => (gt.value.inventory.skuGroup ?? []).reduce(
|
|
63704
63716
|
(h, g) => (h[g._id] = g, h),
|
|
63705
63717
|
{}
|
|
63706
|
-
)),
|
|
63718
|
+
)), Ah = Nt(() => (gt.value.inventory.sku ?? []).filter((h) => {
|
|
63707
63719
|
var g;
|
|
63708
63720
|
return (g = h.customAttributes) == null ? void 0 : g.tag;
|
|
63709
63721
|
}).groupBy((h) => {
|
|
@@ -63719,8 +63731,8 @@ const gt = Mi(Sh()), Ch = Nt(() => (gt.value.inventory.unit ?? []).reduce(
|
|
|
63719
63731
|
skuBindings: M.skuBindings,
|
|
63720
63732
|
recipeBindings: M.recipeBindings
|
|
63721
63733
|
};
|
|
63722
|
-
}),
|
|
63723
|
-
function
|
|
63734
|
+
}), Rh = Nt(() => Ec.value.skuBindings), Bh = Nt(() => Ec.value.recipeBindings), Fs = Mi(), Dh = Promise.resolve().then(() => eh).then((p) => Fs.value = p);
|
|
63735
|
+
function Zh() {
|
|
63724
63736
|
const p = ys(), h = Zl();
|
|
63725
63737
|
return {
|
|
63726
63738
|
get entities() {
|
|
@@ -63767,44 +63779,44 @@ function Kh() {
|
|
|
63767
63779
|
return _r(this.state.inventory.unit ?? [], { selector: "name" });
|
|
63768
63780
|
},
|
|
63769
63781
|
get unitById() {
|
|
63770
|
-
return
|
|
63782
|
+
return Eh.value;
|
|
63771
63783
|
},
|
|
63772
63784
|
get recipes() {
|
|
63773
63785
|
return _r(this.state.inventory.recipe ?? [], { selector: "name" });
|
|
63774
63786
|
},
|
|
63775
63787
|
get recipeById() {
|
|
63776
|
-
return
|
|
63788
|
+
return Mh.value;
|
|
63777
63789
|
},
|
|
63778
63790
|
get recipeByName() {
|
|
63779
|
-
return
|
|
63791
|
+
return wh.value;
|
|
63780
63792
|
},
|
|
63781
63793
|
get skus() {
|
|
63782
63794
|
return _r(this.state.inventory.sku ?? [], { selector: "code" });
|
|
63783
63795
|
},
|
|
63784
63796
|
get skuById() {
|
|
63785
|
-
return
|
|
63797
|
+
return Th.value;
|
|
63786
63798
|
},
|
|
63787
63799
|
get skuByCode() {
|
|
63788
|
-
return
|
|
63800
|
+
return Oh.value;
|
|
63789
63801
|
},
|
|
63790
63802
|
get skuBindingFlattenCache() {
|
|
63791
|
-
return
|
|
63803
|
+
return Rh.value;
|
|
63792
63804
|
},
|
|
63793
63805
|
get recipeBindingFlattenCache() {
|
|
63794
|
-
return
|
|
63806
|
+
return Bh.value;
|
|
63795
63807
|
},
|
|
63796
63808
|
get skuGroups() {
|
|
63797
63809
|
return this.state.inventory.skuGroup ?? [];
|
|
63798
63810
|
},
|
|
63799
63811
|
get skuGroupById() {
|
|
63800
|
-
return
|
|
63812
|
+
return kh.value;
|
|
63801
63813
|
},
|
|
63802
63814
|
get skuTags() {
|
|
63803
|
-
return
|
|
63815
|
+
return Ah.value;
|
|
63804
63816
|
},
|
|
63805
63817
|
// actions
|
|
63806
63818
|
async init() {
|
|
63807
|
-
Fs.value = await
|
|
63819
|
+
Fs.value = await Dh;
|
|
63808
63820
|
const g = Xl();
|
|
63809
63821
|
try {
|
|
63810
63822
|
await this.readInventory(), await this.readClosing();
|
|
@@ -63813,7 +63825,7 @@ function Kh() {
|
|
|
63813
63825
|
}
|
|
63814
63826
|
},
|
|
63815
63827
|
async readClosing() {
|
|
63816
|
-
const M = await
|
|
63828
|
+
const M = await Sh().readCurrentLocationLastClosing(!0);
|
|
63817
63829
|
M && (this.state.closing = M);
|
|
63818
63830
|
},
|
|
63819
63831
|
async getAffectedMenu(g) {
|
|
@@ -63825,7 +63837,7 @@ function Kh() {
|
|
|
63825
63837
|
operation: this.entities.F_BASIC_OPERATION_TYPE.enum.delete,
|
|
63826
63838
|
data: g
|
|
63827
63839
|
};
|
|
63828
|
-
return (await import("./index-
|
|
63840
|
+
return (await import("./index-DKcXhLj3.js")).InventoryCore.getAffectedMenu(
|
|
63829
63841
|
M,
|
|
63830
63842
|
this.inventory,
|
|
63831
63843
|
this.menu.cache
|
|
@@ -63877,7 +63889,7 @@ function Kh() {
|
|
|
63877
63889
|
var x, q, K, Y;
|
|
63878
63890
|
if (this.menuFetching || this.menu.cache) return;
|
|
63879
63891
|
this.menuFetching = !0;
|
|
63880
|
-
const M = await
|
|
63892
|
+
const M = await vh().readMenu();
|
|
63881
63893
|
((x = Vt().currentBusiness.value) == null ? void 0 : x.menuVersion) === "v3" && (this.inventory = {
|
|
63882
63894
|
...this.inventory,
|
|
63883
63895
|
sku: ((q = M.modules) == null ? void 0 : q.sku) ?? [],
|
|
@@ -64182,78 +64194,79 @@ function ls(p, h, g, M, B, L) {
|
|
|
64182
64194
|
unitUsedById: Y
|
|
64183
64195
|
};
|
|
64184
64196
|
}
|
|
64185
|
-
const
|
|
64197
|
+
const Xh = {
|
|
64186
64198
|
"en-US": kc,
|
|
64187
64199
|
"zh-CN": Rc,
|
|
64188
64200
|
"th-TH": Dc
|
|
64189
|
-
},
|
|
64190
|
-
() => import("./InventoryBindingForm-
|
|
64191
|
-
),
|
|
64192
|
-
() => import("./InventoryBindingSummary-
|
|
64201
|
+
}, ey = Is(() => import("./App-DjVeGAF9.js")), ty = Is(
|
|
64202
|
+
() => import("./InventoryBindingForm-DbPjVHvx.js")
|
|
64203
|
+
), ny = Is(
|
|
64204
|
+
() => import("./InventoryBindingSummary-BMfOHhBW.js")
|
|
64193
64205
|
);
|
|
64194
64206
|
export {
|
|
64195
|
-
|
|
64196
|
-
|
|
64197
|
-
|
|
64198
|
-
|
|
64199
|
-
|
|
64200
|
-
|
|
64207
|
+
fl as $,
|
|
64208
|
+
mc as A,
|
|
64209
|
+
Md as B,
|
|
64210
|
+
pi as C,
|
|
64211
|
+
Sh as D,
|
|
64212
|
+
ul as E,
|
|
64201
64213
|
gd as F,
|
|
64202
|
-
|
|
64203
|
-
|
|
64204
|
-
|
|
64205
|
-
|
|
64206
|
-
|
|
64207
|
-
|
|
64208
|
-
|
|
64209
|
-
|
|
64210
|
-
|
|
64211
|
-
|
|
64212
|
-
|
|
64214
|
+
pc as G,
|
|
64215
|
+
_l as H,
|
|
64216
|
+
hh as I,
|
|
64217
|
+
cl as J,
|
|
64218
|
+
tc as K,
|
|
64219
|
+
Od as L,
|
|
64220
|
+
qh as M,
|
|
64221
|
+
og as N,
|
|
64222
|
+
Er as O,
|
|
64223
|
+
al as P,
|
|
64224
|
+
Oa as Q,
|
|
64213
64225
|
$t as R,
|
|
64214
64226
|
Ga as S,
|
|
64215
|
-
|
|
64216
|
-
|
|
64217
|
-
|
|
64218
|
-
|
|
64219
|
-
|
|
64220
|
-
|
|
64221
|
-
|
|
64222
|
-
|
|
64223
|
-
|
|
64224
|
-
|
|
64225
|
-
|
|
64226
|
-
|
|
64227
|
-
|
|
64228
|
-
|
|
64229
|
-
|
|
64230
|
-
|
|
64231
|
-
|
|
64232
|
-
|
|
64233
|
-
|
|
64234
|
-
|
|
64235
|
-
|
|
64236
|
-
|
|
64237
|
-
|
|
64238
|
-
|
|
64239
|
-
|
|
64240
|
-
|
|
64241
|
-
|
|
64242
|
-
|
|
64243
|
-
|
|
64244
|
-
|
|
64227
|
+
Z_ as T,
|
|
64228
|
+
Gh as U,
|
|
64229
|
+
Hh as V,
|
|
64230
|
+
Ut as W,
|
|
64231
|
+
h_ as X,
|
|
64232
|
+
dn as Y,
|
|
64233
|
+
y_ as Z,
|
|
64234
|
+
yt as _,
|
|
64235
|
+
Zh as a,
|
|
64236
|
+
_f as a0,
|
|
64237
|
+
ag as a1,
|
|
64238
|
+
sg as a2,
|
|
64239
|
+
hc as a3,
|
|
64240
|
+
Ct as a4,
|
|
64241
|
+
et as a5,
|
|
64242
|
+
kd as a6,
|
|
64243
|
+
wd as a7,
|
|
64244
|
+
ka as a8,
|
|
64245
|
+
ol as a9,
|
|
64246
|
+
Jn as aa,
|
|
64247
|
+
pn as ab,
|
|
64248
|
+
sl as ac,
|
|
64249
|
+
Je as ad,
|
|
64250
|
+
Kh as ae,
|
|
64251
|
+
w_ as af,
|
|
64252
|
+
te as ag,
|
|
64253
|
+
ba as ah,
|
|
64254
|
+
me as ai,
|
|
64255
|
+
eh as aj,
|
|
64256
|
+
Ch as ak,
|
|
64245
64257
|
Qh as al,
|
|
64246
|
-
|
|
64247
|
-
|
|
64248
|
-
|
|
64249
|
-
|
|
64250
|
-
|
|
64258
|
+
Xh as am,
|
|
64259
|
+
ey as an,
|
|
64260
|
+
ty as ao,
|
|
64261
|
+
ny as ap,
|
|
64262
|
+
jh as aq,
|
|
64263
|
+
sh as b,
|
|
64251
64264
|
i$ as c,
|
|
64252
|
-
|
|
64265
|
+
uh as d,
|
|
64253
64266
|
yd as e,
|
|
64254
|
-
|
|
64255
|
-
|
|
64256
|
-
|
|
64267
|
+
Wh as f,
|
|
64268
|
+
zh as g,
|
|
64269
|
+
Yh as h,
|
|
64257
64270
|
Y_ as i,
|
|
64258
64271
|
us as j,
|
|
64259
64272
|
cr as k,
|
|
@@ -64265,11 +64278,11 @@ export {
|
|
|
64265
64278
|
vs as q,
|
|
64266
64279
|
hd as r,
|
|
64267
64280
|
Q_ as s,
|
|
64268
|
-
|
|
64281
|
+
df as t,
|
|
64269
64282
|
j_ as u,
|
|
64270
|
-
|
|
64271
|
-
|
|
64272
|
-
|
|
64273
|
-
|
|
64274
|
-
|
|
64283
|
+
fh as v,
|
|
64284
|
+
ys as w,
|
|
64285
|
+
Jh as x,
|
|
64286
|
+
a$ as y,
|
|
64287
|
+
vh as z
|
|
64275
64288
|
};
|