@feedmepos/mf-inventory-portal 1.2.37-dev.1 → 1.2.37-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-I5DkBWIc.js → App-BNC_VGLY.js} +3 -3
- package/dist/{ApprovalView-C1LYZkbH.js → ApprovalView-C3-qwfBy.js} +5 -5
- package/dist/{BindingsDialog-D4zUelDu.js → BindingsDialog-DJYcwvLj.js} +2 -2
- package/dist/{BindingsPicker-DV1XU3sF.js → BindingsPicker-BfjaThga.js} +2 -2
- package/dist/{BindingsTable-DfQHmg73.js → BindingsTable-CxsJ7J29.js} +3 -3
- package/dist/{ClosingDraftView-DBu5Z4sF.js → ClosingDraftView-lWH-HNt8.js} +8 -8
- package/dist/ClosingHistoryView-tDq0ShBo.js +391 -0
- package/dist/{ClosingTemplateView-iTaF92io.js → ClosingTemplateView-VDIoPSGE.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-C1U0WfYR.js → DeliveryOrderPrintPreview-BB57thjw.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CN-oASmd.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BFJquom_.js} +5 -5
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BzCuh3H7.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D6nFHej1.js} +2 -2
- package/dist/{FmMultiselectDialog-6SDLa-Z9.js → FmMultiselectDialog-ByhflquX.js} +2 -2
- package/dist/{FmMultiselectDialog-D8qV-hIU.js → FmMultiselectDialog-pbQjC6ox.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-7Kgt9eQq.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BVkl9ATd.js} +3 -3
- package/dist/{ImportView-CWJMxSX9.js → ImportView-BESMNYR1.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BdFvHGhO.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-6nCLOWwx.js} +1 -1
- package/dist/{IngredientGroupView-DMlmPiIK.js → IngredientGroupView-JdgXfEsA.js} +5 -5
- package/dist/{IngredientsView-DH76XhKg.js → IngredientsView-Btcmhy3H.js} +14 -14
- package/dist/IntegrationView-CxHNZ7E3.js +4488 -0
- package/dist/{InventoryBindingForm-DDemfucz.js → InventoryBindingForm-CpLif5mq.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bw8rk2WN.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B2AQxOn1.js} +4 -4
- package/dist/{InventoryBindingSummary-DtmhsP7w.js → InventoryBindingSummary-DGBAel1C.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CHhLYVJc.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-oQlPxFAX.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BrjIsILE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DuWFQ6Q0.js} +2 -2
- package/dist/{PublishView-O8bEpfge.js → PublishView-C-UiGWym.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-7uwMWjKM.js → PurchaseOrderPrintPreview-mO_oxnft.js} +1 -1
- package/dist/{ReceiveRequestView-DL6Ft9Dv.js → ReceiveRequestView-Cr6Xrv4Q.js} +19 -19
- package/dist/{RecipeView-BGDhOL4y.js → RecipeView-Bk9O5UiN.js} +8 -8
- package/dist/{StockView-BdNL7YNV.js → StockView-C2op154q.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-OZQshfHV.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CntpgdYL.js} +1 -1
- package/dist/{SupplierView-C4uH2a2V.js → SupplierView-2qjnAlnU.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-6jvM7q55.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DqdgsUES.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B_b2O6uO.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CbSWd397.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-COmk372G.js → TransferDetails.vue_vue_type_script_setup_true_lang-U5KJ5_b2.js} +14 -14
- package/dist/{TransferTemplateView-CW443auS.js → TransferTemplateView-Dw4Ukcce.js} +15 -15
- package/dist/{UnitView-D55gcEz3.js → UnitView-H4Sgdzg5.js} +6 -6
- package/dist/{WarehouseView-D0XPLYF_.js → WarehouseView-DzR1A-Cr.js} +5 -5
- package/dist/{WastageTemplateView-Bjxe8lP5.js → WastageTemplateView-Sb2KtrF3.js} +14 -14
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/netsuite.d.ts +84 -0
- package/dist/{app-CIlq5spJ.js → app-Cnok7m8q.js} +11 -7
- package/dist/app.js +1 -1
- package/dist/{closing-template-DBpMfcLc.js → closing-template-u2ACSj7R.js} +1 -1
- package/dist/{date2-ryyCvQfl.js → date2-DtnfdJTF.js} +1 -1
- package/dist/{dayjs.min-ZUp_XvV7.js → dayjs.min-DcraCntx.js} +1 -1
- package/dist/{decimal-BJzO4UcJ.js → decimal-CIJMix9a.js} +2 -2
- package/dist/{defineDeepModel-xjt5D_Xm.js → defineDeepModel-LcFLGZe5.js} +1 -1
- package/dist/{duplicate-template-DEf57E6E.js → duplicate-template-Btr1_Yzf.js} +1 -1
- package/dist/{feature-B3Lwp9eP.js → feature-DSy7PE3I.js} +2 -2
- package/dist/{format-time-from-id-DiJOY9Yx.js → format-time-from-id-Dh_SXggJ.js} +1 -1
- package/dist/{format-unit-display-DU9lxbEz.js → format-unit-display-BZ9AAp4V.js} +10 -10
- package/dist/{import-export.helper-Dva61rf6.js → import-export.helper-C3aWPNyJ.js} +5 -5
- package/dist/{index-CFubRGrG.js → index-BTM5svgh.js} +1 -1
- package/dist/{index-CaCMjerv.js → index-DbWKRddg.js} +3 -3
- package/dist/{index-CUTZhcVh.js → index-eN7NxI-_.js} +1 -1
- package/dist/{lodash-llvwR05O.js → lodash-DUlA5LSE.js} +1 -1
- package/dist/{netsuite-C78BfNM5.js → netsuite-ekrD_FS6.js} +947 -921
- package/dist/{purchase-order-template-LWFeGIIb.js → purchase-order-template-C4S6XRoE.js} +1 -1
- package/dist/{rules-LeeMnkxz.js → rules-Buw1aczb.js} +3 -3
- package/dist/{stock-B2Pm8UCL.js → stock-CLvc2DUC.js} +3 -3
- package/dist/{stock-A8xFNXcU.js → stock-DqZP0ldB.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +13 -0
- package/dist/{supplier-BeAA-Fya.js → supplier-BA4riI7a.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CR92R-Zj.js → use-ingredient-select-dialog-BFI0Mdnw.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DWbUUSbg.js → use-inventory-binding-dialog-BIqgx607.js} +2 -2
- package/dist/{use-template-enabled-locations-2-IaeBxdZP.js → use-template-enabled-locations-2-CyBo9a3I.js} +2 -2
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +743 -0
- package/dist/views/integration/components/netsuite/business/NetSuiteVendorField.vue.d.ts +73 -0
- package/dist/{vue-i18n-B65VyQGb.js → vue-i18n-C62Txccp.js} +230 -230
- package/dist/{xlsx-BSjnIEh7.js → xlsx-Cmu71X0Z.js} +1 -1
- package/dist/{xlsx.util-1XyVyRFC.js → xlsx.util-DI9MSTQE.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingHistoryView-CqkAzOSs.js +0 -367
- package/dist/IntegrationView-Njvjzs6t.js +0 -4239
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Nn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_11c1d57c-ab54-44e4-9b90-d2e9f6da40b5", 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.5 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_11c1d57c-ab54-44e4-9b90-d2e9f6da40b5", 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.5/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.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.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: "1741", 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: "20251112.124.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.37-dev.1", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12644", 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: "19811517340", 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: "cd15e0bd7d7361184e532dd23c052c37ba02fc54", 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.5/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_572289b4-3bf6-467e-a689-4779fed4db26", INVOCATION_ID: "cd5fc6484f9a4d29a3847b9bd7cefc5d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "825", 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 1000030955", 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.37-dev.1", 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: "cd15e0bd7d7361184e532dd23c052c37ba02fc54", 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_11c1d57c-ab54-44e4-9b90-d2e9f6da40b5", 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_11c1d57c-ab54-44e4-9b90-d2e9f6da40b5", 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_11c1d57c-ab54-44e4-9b90-d2e9f6da40b5", 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" } };
|
|
1
|
+
var Nn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4710b6b7-966a-478f-a268-9cfa67e4d152", 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.5 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_4710b6b7-966a-478f-a268-9cfa67e4d152", 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.5/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.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.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: "1740", 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: "20251112.124.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.37-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:12681", 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: "19846718147", 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: "c3ad41119f5a9cab4d6fa0568efd04c870cecb3f", 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.5/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_cdfb4a60-42b1-4555-908f-fed9979475aa", INVOCATION_ID: "d5157787f94942f7bde2ad648ceaff9b", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "827", 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 1000031258", 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.37-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: "c3ad41119f5a9cab4d6fa0568efd04c870cecb3f", 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_4710b6b7-966a-478f-a268-9cfa67e4d152", 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_4710b6b7-966a-478f-a268-9cfa67e4d152", 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_4710b6b7-966a-478f-a268-9cfa67e4d152", 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" } };
|
|
2
2
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
3
3
|
var fn = {};
|
|
4
4
|
fn.version = "0.18.5";
|
package/package.json
CHANGED
|
@@ -1,367 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, ref as y, computed as k, resolveComponent as x, openBlock as d, createElementBlock as v, createVNode as f, withModifiers as te, withCtx as R, createElementVNode as s, toDisplayString as c, unref as n, Fragment as K, createTextVNode as M, createBlock as B, createCommentVNode as h, renderList as oe, normalizeClass as le, h as ae, onMounted as ne, Teleport as se } from "vue";
|
|
2
|
-
import { F as ce, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
|
-
import { useI18n as H, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
|
-
import { C as j, z as D, u as ue } from "./app-CIlq5spJ.js";
|
|
5
|
-
import { _ as de } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BzCuh3H7.js";
|
|
6
|
-
import { useSnackbar as me } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ve } from "./stock-A8xFNXcU.js";
|
|
8
|
-
const ye = { class: "fm-typo-en-heading-lg-600" }, fe = { class: "flex flex-col gap-16" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "flex flex-col gap-8" }, _e = { class: "fm-typo-en-body-md-600" }, be = { class: "flex flex-col gap-8" }, ke = { class: "fm-typo-en-body-md-600" }, he = { class: "flex items-center gap-8 mb-8" }, xe = {
|
|
9
|
-
key: 2,
|
|
10
|
-
class: "text-red-500 text-sm mt-2"
|
|
11
|
-
}, De = { class: "fm-typo-en-body-sm-400" }, Ve = {
|
|
12
|
-
key: 1,
|
|
13
|
-
class: "flex flex-col gap-8"
|
|
14
|
-
}, Se = { class: "fm-typo-en-body-md-600" }, we = { class: "flex flex-col gap-8 max-h-[300px] overflow-y-auto" }, Ce = { class: "flex items-center justify-between" }, Ae = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Re = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Be = {
|
|
15
|
-
key: 0,
|
|
16
|
-
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
17
|
-
}, Le = {
|
|
18
|
-
key: 1,
|
|
19
|
-
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
20
|
-
}, Te = {
|
|
21
|
-
key: 2,
|
|
22
|
-
class: "fm-typo-en-body-xs-400 text-fm-color-system-error-500"
|
|
23
|
-
}, $e = {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "flex gap-8 ml-auto"
|
|
26
|
-
}, Ee = {
|
|
27
|
-
key: 1,
|
|
28
|
-
class: "flex gap-8 ml-auto"
|
|
29
|
-
}, Ne = /* @__PURE__ */ z({
|
|
30
|
-
__name: "RecalculationDialog",
|
|
31
|
-
emits: ["submitted"],
|
|
32
|
-
setup(G, { expose: _, emit: T }) {
|
|
33
|
-
const w = T, { t: l } = H(), V = ve(), C = j(), A = me(), p = y(!1), i = y(""), r = y(""), m = y(!1), S = y([]), a = y(!1), u = y([]), b = y(!1), F = k(() => S.value.map((e) => {
|
|
34
|
-
const o = D(e._id), g = new Date(o);
|
|
35
|
-
return {
|
|
36
|
-
label: `${g.toLocaleDateString()} ${g.toLocaleTimeString()}`,
|
|
37
|
-
value: e._id
|
|
38
|
-
};
|
|
39
|
-
})), J = k(() => i.value ? F.value.filter((e) => e.value > i.value) : []), E = k({
|
|
40
|
-
get: () => {
|
|
41
|
-
if (m.value && r.value) {
|
|
42
|
-
const e = S.value.find((o) => D(o._id) === r.value);
|
|
43
|
-
return (e == null ? void 0 : e._id) || r.value;
|
|
44
|
-
}
|
|
45
|
-
return r.value;
|
|
46
|
-
},
|
|
47
|
-
set: (e) => {
|
|
48
|
-
m.value && e ? r.value = D(e) : r.value = e;
|
|
49
|
-
}
|
|
50
|
-
}), Q = k(() => {
|
|
51
|
-
if (i.value)
|
|
52
|
-
try {
|
|
53
|
-
const e = D(i.value);
|
|
54
|
-
if (e)
|
|
55
|
-
return e;
|
|
56
|
-
} catch (e) {
|
|
57
|
-
console.error("Error parsing date from closing ID:", e);
|
|
58
|
-
}
|
|
59
|
-
}), L = k(() => {
|
|
60
|
-
if (!i.value || !r.value) return "";
|
|
61
|
-
const e = D(i.value), o = r.value;
|
|
62
|
-
if (e && o) {
|
|
63
|
-
const g = new Date(e).getTime();
|
|
64
|
-
if (new Date(o).getTime() <= g)
|
|
65
|
-
return l("inventory.stock.recalculation.error.endDateBeforeOpening");
|
|
66
|
-
}
|
|
67
|
-
return "";
|
|
68
|
-
}), N = k(() => !!i.value && !!r.value && !L.value), U = k(() => u.value.some(
|
|
69
|
-
(e) => !e.completedAt && !e.failedReason
|
|
70
|
-
));
|
|
71
|
-
async function P() {
|
|
72
|
-
p.value = !0, await Promise.all([X(), I()]), i.value = "", r.value = "", m.value = !1;
|
|
73
|
-
}
|
|
74
|
-
function W() {
|
|
75
|
-
p.value = !1;
|
|
76
|
-
}
|
|
77
|
-
_({
|
|
78
|
-
open: P,
|
|
79
|
-
close: W
|
|
80
|
-
});
|
|
81
|
-
async function X() {
|
|
82
|
-
a.value = !0;
|
|
83
|
-
try {
|
|
84
|
-
const e = await C.getLastNClosings(30);
|
|
85
|
-
S.value = e;
|
|
86
|
-
} catch (e) {
|
|
87
|
-
console.error("Error fetching recent closings:", e), A.open({
|
|
88
|
-
title: l("common.error"),
|
|
89
|
-
message: "Failed to fetch recent closings",
|
|
90
|
-
type: "error"
|
|
91
|
-
});
|
|
92
|
-
} finally {
|
|
93
|
-
a.value = !1;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
async function I() {
|
|
97
|
-
b.value = !0;
|
|
98
|
-
try {
|
|
99
|
-
const e = await V.recalculation.recalculationRequests();
|
|
100
|
-
u.value = e;
|
|
101
|
-
} catch (e) {
|
|
102
|
-
console.error("Error fetching recalculation requests:", e);
|
|
103
|
-
} finally {
|
|
104
|
-
b.value = !1;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
async function Y() {
|
|
108
|
-
if (N.value) {
|
|
109
|
-
a.value = !0;
|
|
110
|
-
try {
|
|
111
|
-
await V.recalculation.scheduleRecalculation(i.value, r.value), A.open({
|
|
112
|
-
title: l("common.success"),
|
|
113
|
-
message: "Stock recalculation has been scheduled successfully",
|
|
114
|
-
type: "success"
|
|
115
|
-
}), await I(), p.value = !1, w("submitted");
|
|
116
|
-
} catch (e) {
|
|
117
|
-
console.error("Error scheduling recalculation:", e), A.open({
|
|
118
|
-
title: l("common.error"),
|
|
119
|
-
message: "Failed to schedule stock recalculation",
|
|
120
|
-
type: "error"
|
|
121
|
-
});
|
|
122
|
-
} finally {
|
|
123
|
-
a.value = !1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
return (e, o) => {
|
|
128
|
-
const g = x("FmButton"), $ = x("FmSelect"), O = x("FmRadio"), Z = x("FmDatePicker"), q = x("FmAlert"), ee = x("FmDialog");
|
|
129
|
-
return d(), v("div", null, [
|
|
130
|
-
f(g, {
|
|
131
|
-
"prepend-icon": "info",
|
|
132
|
-
variant: "tertiary",
|
|
133
|
-
onClick: te(P, ["stop"])
|
|
134
|
-
}),
|
|
135
|
-
f(ee, {
|
|
136
|
-
modelValue: p.value,
|
|
137
|
-
"onUpdate:modelValue": o[7] || (o[7] = (t) => p.value = t),
|
|
138
|
-
"close-button": "",
|
|
139
|
-
dismissAway: "",
|
|
140
|
-
"max-width": "600px"
|
|
141
|
-
}, {
|
|
142
|
-
"dialog-header": R(() => [
|
|
143
|
-
s("div", ye, c(n(l)("inventory.stock.recalculation.title")), 1)
|
|
144
|
-
]),
|
|
145
|
-
"dialog-footer": R(() => [
|
|
146
|
-
U.value ? (d(), v("div", Ee, [
|
|
147
|
-
f(g, {
|
|
148
|
-
variant: "tertiary",
|
|
149
|
-
onClick: o[6] || (o[6] = (t) => p.value = !1),
|
|
150
|
-
label: n(l)("common.close")
|
|
151
|
-
}, null, 8, ["label"])
|
|
152
|
-
])) : (d(), v("div", $e, [
|
|
153
|
-
f(g, {
|
|
154
|
-
variant: "tertiary",
|
|
155
|
-
onClick: o[5] || (o[5] = (t) => p.value = !1),
|
|
156
|
-
disabled: a.value,
|
|
157
|
-
label: n(l)("common.cancel")
|
|
158
|
-
}, null, 8, ["disabled", "label"]),
|
|
159
|
-
f(g, {
|
|
160
|
-
variant: "primary",
|
|
161
|
-
onClick: Y,
|
|
162
|
-
disabled: !N.value || a.value,
|
|
163
|
-
loading: a.value,
|
|
164
|
-
label: n(l)("inventory.stock.recalculation.schedule")
|
|
165
|
-
}, null, 8, ["disabled", "loading", "label"])
|
|
166
|
-
]))
|
|
167
|
-
]),
|
|
168
|
-
default: R(() => [
|
|
169
|
-
s("div", fe, [
|
|
170
|
-
s("div", pe, c(n(l)("inventory.stock.recalculation.description")), 1),
|
|
171
|
-
U.value ? h("", !0) : (d(), v(K, { key: 0 }, [
|
|
172
|
-
s("div", ge, [
|
|
173
|
-
s("p", _e, [
|
|
174
|
-
M(c(n(l)("inventory.stock.recalculation.openingDate")) + " ", 1),
|
|
175
|
-
o[8] || (o[8] = s("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
176
|
-
]),
|
|
177
|
-
o[9] || (o[9] = s("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mb-4" }, " Showing the last 30 closing records. Select the opening date to start recalculation. ", -1)),
|
|
178
|
-
f($, {
|
|
179
|
-
modelValue: i.value,
|
|
180
|
-
"onUpdate:modelValue": o[0] || (o[0] = (t) => i.value = t),
|
|
181
|
-
items: F.value,
|
|
182
|
-
placeholder: n(l)("inventory.stock.recalculation.selectOpening"),
|
|
183
|
-
loading: a.value,
|
|
184
|
-
disabled: a.value
|
|
185
|
-
}, null, 8, ["modelValue", "items", "placeholder", "loading", "disabled"])
|
|
186
|
-
]),
|
|
187
|
-
s("div", be, [
|
|
188
|
-
s("p", ke, [
|
|
189
|
-
M(c(n(l)("inventory.stock.recalculation.untilDate")) + " ", 1),
|
|
190
|
-
o[10] || (o[10] = s("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
191
|
-
]),
|
|
192
|
-
s("div", he, [
|
|
193
|
-
f(O, {
|
|
194
|
-
modelValue: m.value,
|
|
195
|
-
"onUpdate:modelValue": o[1] || (o[1] = (t) => m.value = t),
|
|
196
|
-
value: !1,
|
|
197
|
-
label: n(l)("inventory.stock.recalculation.selectByDate")
|
|
198
|
-
}, null, 8, ["modelValue", "label"]),
|
|
199
|
-
f(O, {
|
|
200
|
-
modelValue: m.value,
|
|
201
|
-
"onUpdate:modelValue": o[2] || (o[2] = (t) => m.value = t),
|
|
202
|
-
value: !0,
|
|
203
|
-
label: n(l)("inventory.stock.recalculation.selectByClosing")
|
|
204
|
-
}, null, 8, ["modelValue", "label"])
|
|
205
|
-
]),
|
|
206
|
-
m.value ? (d(), B($, {
|
|
207
|
-
key: 1,
|
|
208
|
-
modelValue: E.value,
|
|
209
|
-
"onUpdate:modelValue": o[4] || (o[4] = (t) => E.value = t),
|
|
210
|
-
items: J.value,
|
|
211
|
-
placeholder: n(l)("inventory.stock.recalculation.selectClosing"),
|
|
212
|
-
loading: a.value,
|
|
213
|
-
disabled: !i.value || a.value
|
|
214
|
-
}, null, 8, ["modelValue", "items", "placeholder", "loading", "disabled"])) : (d(), B(Z, {
|
|
215
|
-
key: 0,
|
|
216
|
-
modelValue: r.value,
|
|
217
|
-
"onUpdate:modelValue": o[3] || (o[3] = (t) => r.value = t),
|
|
218
|
-
placeholder: n(l)("inventory.stock.recalculation.selectDate"),
|
|
219
|
-
min: Q.value,
|
|
220
|
-
disabled: !i.value || a.value
|
|
221
|
-
}, null, 8, ["modelValue", "placeholder", "min", "disabled"])),
|
|
222
|
-
L.value ? (d(), v("div", xe, c(L.value), 1)) : h("", !0)
|
|
223
|
-
]),
|
|
224
|
-
i.value && r.value && !L.value ? (d(), B(q, {
|
|
225
|
-
key: 0,
|
|
226
|
-
type: "info"
|
|
227
|
-
}, {
|
|
228
|
-
default: R(() => [
|
|
229
|
-
s("div", De, c(n(l)("inventory.stock.recalculation.info")), 1)
|
|
230
|
-
]),
|
|
231
|
-
_: 1
|
|
232
|
-
})) : h("", !0)
|
|
233
|
-
], 64)),
|
|
234
|
-
u.value.length > 0 ? (d(), v("div", Ve, [
|
|
235
|
-
s("p", Se, c(n(l)("inventory.stock.recalculation.recentRequests")), 1),
|
|
236
|
-
s("div", we, [
|
|
237
|
-
(d(!0), v(K, null, oe(u.value, (t) => (d(), v("div", {
|
|
238
|
-
key: t._id,
|
|
239
|
-
class: "p-12 border border-fm-color-border-primary rounded-8 flex flex-col gap-4"
|
|
240
|
-
}, [
|
|
241
|
-
s("div", Ce, [
|
|
242
|
-
s("div", Ae, c(n(l)("inventory.stock.recalculation.requestedAt")) + ": " + c(new Date(t.createdAt).toLocaleString()), 1),
|
|
243
|
-
s("div", {
|
|
244
|
-
class: le(["fm-typo-en-body-xs-600 px-8 py-4 rounded-4", {
|
|
245
|
-
"bg-fm-color-system-error-100 text-fm-color-system-error-500": t.failedReason,
|
|
246
|
-
"bg-fm-color-system-success-100 text-fm-color-system-success-500": t.completedAt,
|
|
247
|
-
"bg-fm-color-system-info-100 text-fm-color-system-info-500": !t.failedReason && !t.completedAt
|
|
248
|
-
}])
|
|
249
|
-
}, c(t.failedReason ? n(l)("inventory.stock.recalculation.status.failed") : t.completedAt ? n(l)("inventory.stock.recalculation.status.completed") : n(l)("inventory.stock.recalculation.status.inProgress")), 3)
|
|
250
|
-
]),
|
|
251
|
-
s("div", Fe, c(n(l)("inventory.stock.recalculation.from")) + ": " + c(new Date(t.recalculateStartDate).toLocaleDateString()), 1),
|
|
252
|
-
s("div", Re, c(n(l)("inventory.stock.recalculation.to")) + ": " + c(new Date(t.recalculateEndDate).toLocaleDateString()), 1),
|
|
253
|
-
t.createdBy ? (d(), v("div", Be, c(n(l)("inventory.stock.recalculation.requestedBy")) + ": " + c(t.createdBy.name || t.createdBy.id), 1)) : h("", !0),
|
|
254
|
-
t.completedAt ? (d(), v("div", Le, c(n(l)("inventory.stock.recalculation.completedAt")) + ": " + c(new Date(t.completedAt).toLocaleString()), 1)) : h("", !0),
|
|
255
|
-
t.failedReason ? (d(), v("div", Te, c(t.failedReason), 1)) : h("", !0)
|
|
256
|
-
]))), 128))
|
|
257
|
-
])
|
|
258
|
-
])) : h("", !0)
|
|
259
|
-
])
|
|
260
|
-
]),
|
|
261
|
-
_: 1
|
|
262
|
-
}, 8, ["modelValue"])
|
|
263
|
-
]);
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
}), Ue = { class: "flex flex-col gap-16 p-16" }, je = /* @__PURE__ */ z({
|
|
267
|
-
__name: "ClosingHistoryView",
|
|
268
|
-
setup(G) {
|
|
269
|
-
var S;
|
|
270
|
-
const { t: _ } = H(), T = j(), w = ue(), l = re(), V = y([]), C = y(!1), A = k(() => [
|
|
271
|
-
{
|
|
272
|
-
label: _("inventory.stock.recalculation.title", "Stock Recalculation"),
|
|
273
|
-
value: "recalculation",
|
|
274
|
-
prependIcon: "history",
|
|
275
|
-
isAdminOnly: !0
|
|
276
|
-
}
|
|
277
|
-
]), p = y();
|
|
278
|
-
function i(a) {
|
|
279
|
-
var u;
|
|
280
|
-
switch (a) {
|
|
281
|
-
case "recalculation":
|
|
282
|
-
return (u = p.value) == null ? void 0 : u.open();
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
const r = [
|
|
286
|
-
...(S = l.sessionUser.value) != null && S.role.isAdmin ? [
|
|
287
|
-
{
|
|
288
|
-
accessorKey: "_id",
|
|
289
|
-
header: () => ae(ce, {}, () => `${_("inventory.closing.history.closingId")}`),
|
|
290
|
-
cell: (a) => a.getValue()
|
|
291
|
-
}
|
|
292
|
-
] : [],
|
|
293
|
-
{
|
|
294
|
-
accessorKey: "_id",
|
|
295
|
-
id: "date",
|
|
296
|
-
header: () => _("inventory.closing.history.date"),
|
|
297
|
-
cell: (a) => {
|
|
298
|
-
const u = a.getValue(), b = D(u);
|
|
299
|
-
return new Date(b).toLocaleDateString();
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
accessorKey: "_id",
|
|
304
|
-
id: "time",
|
|
305
|
-
header: () => _("inventory.closing.history.time"),
|
|
306
|
-
cell: (a) => {
|
|
307
|
-
const u = a.getValue(), b = D(u);
|
|
308
|
-
return new Date(b).toLocaleTimeString();
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
accessorKey: "ref",
|
|
313
|
-
header: () => _("inventory.closing.history.createdFrom"),
|
|
314
|
-
cell: (a) => a.getValue() || "-"
|
|
315
|
-
}
|
|
316
|
-
];
|
|
317
|
-
async function m() {
|
|
318
|
-
if (w.currentLocationDBName) {
|
|
319
|
-
C.value = !0;
|
|
320
|
-
try {
|
|
321
|
-
const a = await T.getLastNClosings(30);
|
|
322
|
-
V.value = a;
|
|
323
|
-
} catch (a) {
|
|
324
|
-
console.error("Error fetching closings:", a), V.value = [];
|
|
325
|
-
} finally {
|
|
326
|
-
C.value = !1;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
return ne(async () => {
|
|
331
|
-
w.currentLocationDBName && await m();
|
|
332
|
-
}), w.watchLocation(m), (a, u) => {
|
|
333
|
-
const b = x("FmTable");
|
|
334
|
-
return d(), B(ie, {
|
|
335
|
-
actions: A.value,
|
|
336
|
-
title: n(_)("inventory.closing.history.title"),
|
|
337
|
-
"onClick:action": i
|
|
338
|
-
}, {
|
|
339
|
-
default: R(() => [
|
|
340
|
-
s("div", Ue, [
|
|
341
|
-
f(de, {
|
|
342
|
-
"change-location": "",
|
|
343
|
-
"hide-filter-options": !0
|
|
344
|
-
}),
|
|
345
|
-
u[1] || (u[1] = s("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Displaying the last 30 closing records. ", -1)),
|
|
346
|
-
f(b, {
|
|
347
|
-
loading: C.value,
|
|
348
|
-
"row-data": V.value,
|
|
349
|
-
"column-defs": r
|
|
350
|
-
}, null, 8, ["loading", "row-data"])
|
|
351
|
-
]),
|
|
352
|
-
(d(), B(se, { to: "body" }, [
|
|
353
|
-
f(Ne, {
|
|
354
|
-
ref_key: "recalculationDialogRef",
|
|
355
|
-
ref: p,
|
|
356
|
-
onSubmitted: u[0] || (u[0] = (F) => m())
|
|
357
|
-
}, null, 512)
|
|
358
|
-
]))
|
|
359
|
-
]),
|
|
360
|
-
_: 1
|
|
361
|
-
}, 8, ["actions", "title"]);
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
});
|
|
365
|
-
export {
|
|
366
|
-
je as default
|
|
367
|
-
};
|