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