@feedmepos/mf-inventory-portal 0.0.21-dev.3 → 0.0.21-dev.4
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/{ApprovalView-DE6af6Jx.js → ApprovalView-BS4jzhAR.js} +11 -11
- package/dist/{BindingsDialog-TLWBqVLe.js → BindingsDialog-BFLeun5L.js} +1 -1
- package/dist/{BindingsPicker-CArDO6LQ.js → BindingsPicker-CnjJZH9t.js} +1 -1
- package/dist/{BindingsTable-CVBhfcWm.js → BindingsTable-C3VTa0YL.js} +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DYBTXD_J.js +374 -0
- package/dist/{IngredientsView-Sld49F2i.js → IngredientsView-CQYJfAze.js} +4 -4
- package/dist/{IntegrationView-C9lcGzjf.js → IntegrationView-9V2OcyP_.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BcDiOeBk.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Wv8RvXJL.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DVQozd4y.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsOGlAb7.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-D0Rnf43J.js → PurchaseOrderPrintPreview-B0hDduXB.js} +1 -1
- package/dist/{ReceiveRequestView-CyWq3rxP.js → ReceiveRequestView-3boFHkOO.js} +19 -19
- package/dist/{RecipeView-ppyuFTCK.js → RecipeView-DYKhSgtw.js} +4 -4
- package/dist/{StockView-CoDH6Yf_.js → StockView-BIGGG87A.js} +32 -32
- package/dist/{SupplierView-D9pKF63i.js → SupplierView-DQzopnzt.js} +12 -12
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-ELF9eLeq.js → TransferDetails.vue_vue_type_script_setup_true_lang-D8-sMRGm.js} +4 -4
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-BbcRP-G_.js → TransferDialog.vue_vue_type_script_setup_true_lang-CSUnXAyq.js} +5 -5
- package/dist/{TransferTemplateView-DMkSlBvQ.js → TransferTemplateView-DWF54okN.js} +34 -34
- package/dist/{UnitView-DV4WP6eO.js → UnitView-Cdw8xxzV.js} +5 -5
- package/dist/{WarehouseView-DwbO0UGj.js → WarehouseView-DOelxuIh.js} +3 -3
- package/dist/{app-Bt8YzxIk.js → app-SBnQEeEV.js} +2531 -2541
- package/dist/app.js +3 -3
- package/dist/{decimal-SucbZ9G4.js → decimal-BlEB2PrM.js} +1 -1
- package/dist/{id-to-date-B81eSX7L.js → id-to-date-Y6berpHs.js} +1 -1
- package/dist/{purchase-order-transaction-type-CuGdiH6i.js → purchase-order-transaction-type-Dp0wsGal.js} +3 -3
- package/dist/stores/layout.d.ts +3 -0
- package/dist/{supplier-CMS9fSlT.js → supplier-I_rYvljH.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{xlsx-BKyJT0L0.js → xlsx-DGwG2ekM.js} +1 -1
- package/dist/{xlsx.util-bHyU3BvF.js → xlsx.util-Dsf-EgrG.js} +2 -2
- package/package.json +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BCI1_Jqi.js +0 -308
- package/dist/layout-B2j73HnF.js +0 -151
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Cn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_03a535dd-3bca-4981-98e1-607b5285e99a", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_dependencies_zod: "3.17.9", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", 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/8.13.1 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.31", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_03a535dd-3bca-4981-98e1-607b5285e99a", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/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=4096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.12.5", 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: "", SYSTEMD_EXEC_PID: "707", npm_package_dependencies__feedmepos_ui_library: "1.3.7", 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", 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", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241215.1.0", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", 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", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:6413", GITHUB_WORKFLOW: "Preview FeedMe Inventory Portal V1", _: "/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/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_scripts_check_publish_version: "./bin/check-version.sh", 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", STATS_D: "false", GITHUB_RUN_ID: "12647188007", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e82dbf9495878b40142cfb517336b69648bca8dd", 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/dev/portal", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", 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@8.13.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@8.13.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@8.13.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.18.1/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_7ad75e51-537c-4ab7-bcf5-cf2c8a78201e", INVOCATION_ID: "573793e4fb48483b8029fa3209851e18", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "publish_version", GITHUB_RUN_NUMBER: "256", GITHUB_TRIGGERING_ACTOR: "ye-yu", 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: "", 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 280", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/portal", GITHUB_REPOSITORY: "feedmepos/inventory-service", STATS_D_D: "false", 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.9.3", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.21-dev.3", 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_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://registry.npmjs.org/", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "setup", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "e82dbf9495878b40142cfb517336b69648bca8dd", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/dev/portal", GITHUB_ACTOR: "ye-yu", 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_03a535dd-3bca-4981-98e1-607b5285e99a", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "30603031", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", 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_03a535dd-3bca-4981-98e1-607b5285e99a", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", 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.2.12479018", 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_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", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_03a535dd-3bca-4981-98e1-607b5285e99a", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", NODE_ENV: "production" } };
|
|
1
|
+
var Cn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1a24c309-eb95-4309-8d38-4aebeaf5d408", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_dependencies_zod: "3.17.9", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", 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/8.13.1 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.31", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1a24c309-eb95-4309-8d38-4aebeaf5d408", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/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=4096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.12.7", 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: "", SYSTEMD_EXEC_PID: "709", npm_package_dependencies__feedmepos_ui_library: "1.3.7", 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", 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", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241215.1.0", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", 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", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:5834", GITHUB_WORKFLOW: "Preview FeedMe Inventory Portal V1", _: "/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/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_scripts_check_publish_version: "./bin/check-version.sh", 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", STATS_D: "false", GITHUB_RUN_ID: "12649425835", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5adaba2a26b87b4ff543bfe6119a6f7e11153504", 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/dev/portal", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", 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@8.13.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@8.13.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@8.13.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.18.1/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_54966fa0-b81d-4114-91a9-e4b361cf7afc", INVOCATION_ID: "086ce37ae5ba43b5b8b1edf32474643f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "publish_version", GITHUB_RUN_NUMBER: "257", GITHUB_TRIGGERING_ACTOR: "ye-yu", 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: "", 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 172", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/portal", GITHUB_REPOSITORY: "feedmepos/inventory-service", STATS_D_D: "false", 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.9.3", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.70_sass@1.83.1/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.21-dev.4", 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_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://registry.npmjs.org/", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "setup", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "5adaba2a26b87b4ff543bfe6119a6f7e11153504", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/dev/portal", GITHUB_ACTOR: "ye-yu", 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_1a24c309-eb95-4309-8d38-4aebeaf5d408", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "30603031", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.13.1/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", 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_1a24c309-eb95-4309-8d38-4aebeaf5d408", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", 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.2.12479018", 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_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", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_1a24c309-eb95-4309-8d38-4aebeaf5d408", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", NODE_ENV: "production" } };
|
|
2
2
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
3
3
|
var sn = {};
|
|
4
4
|
sn.version = "0.18.5";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, openBlock as f, createElementBlock as u, createElementVNode as x, toDisplayString as d, unref as w, Fragment as M, renderList as v } from "vue";
|
|
2
|
-
import { a as h, k as b } from "./app-
|
|
2
|
+
import { a as h, k as b } from "./app-SBnQEeEV.js";
|
|
3
3
|
import { useI18n as k } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as y, w as S, r as $ } from "./xlsx-
|
|
4
|
+
import { u as y, w as S, r as $ } from "./xlsx-DGwG2ekM.js";
|
|
5
5
|
const A = { class: "flex flex-col" }, B = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, E = { class: "flex-1 py-8 px-16" }, I = {
|
|
6
6
|
class: "flex-0 py-8 px-16",
|
|
7
7
|
style: { "flex-basis": "120px" }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "0.0.21-dev.
|
|
3
|
+
"version": "0.0.21-dev.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@feedmepos/core": "^2.9.3",
|
|
18
18
|
"@feedmepos/menu": "1.0.34",
|
|
19
|
-
"@feedmepos/mf-common": "^1.12.
|
|
19
|
+
"@feedmepos/mf-common": "^1.12.7",
|
|
20
20
|
"@feedmepos/ui-library": "1.3.7",
|
|
21
21
|
"@tanstack/vue-table": "^8.17.3",
|
|
22
22
|
"@types/dinero.js": "^1.9.4",
|
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
import { defineComponent as L, computed as g, resolveComponent as b, openBlock as t, createElementBlock as y, Fragment as k, createElementVNode as r, toDisplayString as C, createCommentVNode as h, renderList as D, createBlock as _, unref as d, createVNode as c, renderSlot as j, Teleport as z, ref as H, withCtx as V, watch as Q, mergeModels as E, useModel as I } from "vue";
|
|
2
|
-
import { FmButtonVariant as O, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
3
|
-
import { j as N, O as T } from "./app-Bt8YzxIk.js";
|
|
4
|
-
import { useCoreStore as G, useI18n as P } from "@feedmepos/mf-common";
|
|
5
|
-
const J = { class: "flex flex-col w-full bg-white h-full" }, K = { class: "flex items-center px-24 py-16 xs:p-12 sm:p-12 gap-4 h-[68px]" }, W = { class: "flex-1 flex-col gap-4 fm-typo-en-title-md-600 flex h-[36px] bg-white" }, X = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400 xs:px-8 sm:px-8"
|
|
8
|
-
}, Z = { key: 0 }, ee = { key: 1 }, ne = { class: "bg-white flex-1" }, te = { class: "fixed bottom-96 right-16" }, xe = /* @__PURE__ */ L({
|
|
9
|
-
__name: "SingleColumnLayout",
|
|
10
|
-
props: {
|
|
11
|
-
actions: { default: () => [] },
|
|
12
|
-
title: { default: "Title" },
|
|
13
|
-
description: {},
|
|
14
|
-
showBackButton: { type: Boolean },
|
|
15
|
-
defaultPadding: { type: Boolean },
|
|
16
|
-
breadcrumbs: { default: () => [] },
|
|
17
|
-
usingBusinessHelperText: {}
|
|
18
|
-
},
|
|
19
|
-
emits: ["click:action"],
|
|
20
|
-
setup(m, { emit: l }) {
|
|
21
|
-
const f = m, u = l, e = g(() => f.actions.find((a) => a.isPrimary)), o = g(
|
|
22
|
-
() => f.actions.filter((a) => !a.isPrimary).map((a) => ({ ...a, variant: a.variant ?? O.Tertiary }))
|
|
23
|
-
), { breakpoints: s } = q(), x = N(), v = g(() => x.businessLevel);
|
|
24
|
-
return (a, w) => {
|
|
25
|
-
const n = b("FmButton");
|
|
26
|
-
return t(), y(k, null, [
|
|
27
|
-
r("div", J, [
|
|
28
|
-
r("div", K, [
|
|
29
|
-
r("div", W, [
|
|
30
|
-
r("div", null, C(a.title), 1),
|
|
31
|
-
a.usingBusinessHelperText && v.value ? (t(), y("div", X, C(a.usingBusinessHelperText), 1)) : h("", !0)
|
|
32
|
-
]),
|
|
33
|
-
o.value.length ? (t(), y("div", Z, [
|
|
34
|
-
(t(!0), y(k, null, D(o.value, (p) => (t(), _(n, {
|
|
35
|
-
key: p.value,
|
|
36
|
-
label: p.label,
|
|
37
|
-
"prepend-icon": p.prependIcon,
|
|
38
|
-
variant: p.variant,
|
|
39
|
-
onClick: (M) => u("click:action", p.value)
|
|
40
|
-
}, null, 8, ["label", "prepend-icon", "variant", "onClick"]))), 128))
|
|
41
|
-
])) : h("", !0),
|
|
42
|
-
e.value && (d(s).lg || d(s).md) ? (t(), y("div", ee, [
|
|
43
|
-
c(n, {
|
|
44
|
-
label: e.value.label,
|
|
45
|
-
"prepend-icon": e.value.prependIcon,
|
|
46
|
-
onClick: w[0] || (w[0] = (p) => u("click:action", e.value.value))
|
|
47
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
48
|
-
])) : h("", !0)
|
|
49
|
-
]),
|
|
50
|
-
r("div", ne, [
|
|
51
|
-
j(a.$slots, "default")
|
|
52
|
-
])
|
|
53
|
-
]),
|
|
54
|
-
e.value && (d(s).sm || d(s).xs) ? (t(), _(z, {
|
|
55
|
-
key: 0,
|
|
56
|
-
to: "body"
|
|
57
|
-
}, [
|
|
58
|
-
r("div", te, [
|
|
59
|
-
c(n, {
|
|
60
|
-
label: e.value.label,
|
|
61
|
-
"prepend-icon": e.value.prependIcon,
|
|
62
|
-
onClick: w[1] || (w[1] = (p) => u("click:action", e.value.value)),
|
|
63
|
-
variant: "fab"
|
|
64
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
65
|
-
])
|
|
66
|
-
])) : h("", !0)
|
|
67
|
-
], 64);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}), le = { class: "inline-flex" }, oe = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, se = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ae = {
|
|
71
|
-
class: "overflow-hidden overflow-y-scroll",
|
|
72
|
-
style: { maxHeight: "105px" }
|
|
73
|
-
}, re = {
|
|
74
|
-
class: "overflow-hidden overflow-y-scroll",
|
|
75
|
-
style: { maxHeight: "105px" }
|
|
76
|
-
}, ue = /* @__PURE__ */ L({
|
|
77
|
-
__name: "ChangeLocationComponent",
|
|
78
|
-
props: {
|
|
79
|
-
showBusiness: { type: Boolean }
|
|
80
|
-
},
|
|
81
|
-
setup(m) {
|
|
82
|
-
const l = N(), f = G(), u = g(() => {
|
|
83
|
-
var n;
|
|
84
|
-
return (n = f.currentBusiness.value) == null ? void 0 : n.name;
|
|
85
|
-
}), { t: e } = P(), o = H(""), s = g({
|
|
86
|
-
get() {
|
|
87
|
-
return l.businessLevel;
|
|
88
|
-
},
|
|
89
|
-
set(n) {
|
|
90
|
-
l.businessLevel = n;
|
|
91
|
-
}
|
|
92
|
-
}), x = g(
|
|
93
|
-
() => l.locations.map((n) => ({ label: n.name, value: n.dbName, type: n.type })).filter(
|
|
94
|
-
(n) => o.value ? n.label.toLocaleLowerCase().includes(o.value.toLocaleLowerCase()) : !0
|
|
95
|
-
)
|
|
96
|
-
), v = g(
|
|
97
|
-
() => x.value.filter((n) => n.type === "restaurant")
|
|
98
|
-
), a = g(
|
|
99
|
-
() => x.value.filter((n) => n.type === "warehouse")
|
|
100
|
-
);
|
|
101
|
-
function w({ value: n }) {
|
|
102
|
-
s.value = !1, l.selectLocation(l.locations.find((p) => p.dbName === n));
|
|
103
|
-
}
|
|
104
|
-
return (n, p) => {
|
|
105
|
-
const M = b("FmIcon"), A = b("FmSearch"), $ = b("FmMenuDivider"), R = b("FmMenuHeader"), B = b("FmMenuItem"), U = b("FmMenu");
|
|
106
|
-
return t(), y("div", le, [
|
|
107
|
-
c(U, { "close-on-click": !0 }, {
|
|
108
|
-
"menu-button": V(() => {
|
|
109
|
-
var i;
|
|
110
|
-
return [
|
|
111
|
-
r("div", oe, [
|
|
112
|
-
c(M, {
|
|
113
|
-
name: n.showBusiness && s.value ? "store" : "storefront",
|
|
114
|
-
size: "sm"
|
|
115
|
-
}, null, 8, ["name"]),
|
|
116
|
-
r("div", se, C(n.showBusiness && s.value ? u.value : ((i = d(l)._currentLocation) == null ? void 0 : i.name) ?? d(e)("inventory.common.noLocationSelected")), 1),
|
|
117
|
-
c(M, {
|
|
118
|
-
name: "expand_more",
|
|
119
|
-
size: "sm"
|
|
120
|
-
})
|
|
121
|
-
])
|
|
122
|
-
];
|
|
123
|
-
}),
|
|
124
|
-
default: V(() => [
|
|
125
|
-
c(A, {
|
|
126
|
-
"model-value": o.value,
|
|
127
|
-
"onUpdate:modelValue": p[0] || (p[0] = (i) => o.value = i),
|
|
128
|
-
class: "w-[200px]",
|
|
129
|
-
placeholder: d(e)("inventory.common.table.toolbar.filterItems")
|
|
130
|
-
}, null, 8, ["model-value", "placeholder"]),
|
|
131
|
-
c($),
|
|
132
|
-
n.showBusiness ? (t(), y(k, { key: 0 }, [
|
|
133
|
-
c(R, {
|
|
134
|
-
label: d(e)("inventory.common.business")
|
|
135
|
-
}, null, 8, ["label"]),
|
|
136
|
-
c($),
|
|
137
|
-
c(B, {
|
|
138
|
-
"model-value": s.value,
|
|
139
|
-
label: u.value,
|
|
140
|
-
onClick: p[1] || (p[1] = (i) => s.value = !0)
|
|
141
|
-
}, null, 8, ["model-value", "label"])
|
|
142
|
-
], 64)) : h("", !0),
|
|
143
|
-
c(R, {
|
|
144
|
-
label: d(e)("inventory.common.restaurant")
|
|
145
|
-
}, null, 8, ["label"]),
|
|
146
|
-
c($),
|
|
147
|
-
r("div", ae, [
|
|
148
|
-
(t(!0), y(k, null, D(v.value, (i) => {
|
|
149
|
-
var F;
|
|
150
|
-
return t(), _(B, {
|
|
151
|
-
key: i.value,
|
|
152
|
-
"model-value": !s.value && ((F = d(l)._currentLocation) == null ? void 0 : F.dbName) === i.value,
|
|
153
|
-
label: i.label,
|
|
154
|
-
onClick: (Y) => w(i)
|
|
155
|
-
}, null, 8, ["model-value", "label", "onClick"]);
|
|
156
|
-
}), 128))
|
|
157
|
-
]),
|
|
158
|
-
v.value.length ? h("", !0) : (t(), _(B, {
|
|
159
|
-
key: 1,
|
|
160
|
-
disabled: "",
|
|
161
|
-
label: d(e)("inventory.common.noResultFound")
|
|
162
|
-
}, null, 8, ["label"])),
|
|
163
|
-
c(R, {
|
|
164
|
-
label: d(e)("inventory.common.warehouse")
|
|
165
|
-
}, null, 8, ["label"]),
|
|
166
|
-
c($),
|
|
167
|
-
r("div", re, [
|
|
168
|
-
(t(!0), y(k, null, D(a.value, (i) => {
|
|
169
|
-
var F;
|
|
170
|
-
return t(), _(B, {
|
|
171
|
-
key: i.value,
|
|
172
|
-
"model-value": !s.value && ((F = d(l)._currentLocation) == null ? void 0 : F.dbName) === i.value,
|
|
173
|
-
label: i.label,
|
|
174
|
-
onClick: (Y) => w(i)
|
|
175
|
-
}, null, 8, ["model-value", "label", "onClick"]);
|
|
176
|
-
}), 128))
|
|
177
|
-
]),
|
|
178
|
-
a.value.length ? h("", !0) : (t(), _(B, {
|
|
179
|
-
key: 2,
|
|
180
|
-
disabled: "",
|
|
181
|
-
label: d(e)("inventory.common.noResultFound")
|
|
182
|
-
}, null, 8, ["label"]))
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
})
|
|
186
|
-
]);
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
function we() {
|
|
191
|
-
const m = /* @__PURE__ */ new Date();
|
|
192
|
-
return m.setDate(m.getDate() - 15), {
|
|
193
|
-
start: m,
|
|
194
|
-
end: /* @__PURE__ */ new Date()
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
function S(m = 15) {
|
|
198
|
-
const l = /* @__PURE__ */ new Date();
|
|
199
|
-
l.setDate(l.getDate() - m);
|
|
200
|
-
const f = l, u = /* @__PURE__ */ new Date();
|
|
201
|
-
return {
|
|
202
|
-
startDate: `${T(f)}`,
|
|
203
|
-
endDate: `${T(u)}`
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
const ie = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, ce = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, de = /* @__PURE__ */ L({
|
|
207
|
-
__name: "FmDateRangePickerChip",
|
|
208
|
-
props: {
|
|
209
|
-
modelValue: { default: (m) => m.modelValue ?? S() }
|
|
210
|
-
},
|
|
211
|
-
emits: ["update:modelValue"],
|
|
212
|
-
setup(m, { emit: l }) {
|
|
213
|
-
const f = l, u = H(S());
|
|
214
|
-
Q(u, (o) => {
|
|
215
|
-
f("update:modelValue", o);
|
|
216
|
-
});
|
|
217
|
-
const e = g(() => {
|
|
218
|
-
const { startDate: o, endDate: s } = u.value;
|
|
219
|
-
return !o && !s ? "" : `${o} - ${s}`;
|
|
220
|
-
});
|
|
221
|
-
return (o, s) => {
|
|
222
|
-
const x = b("FmIcon"), v = b("FmDateRangePicker");
|
|
223
|
-
return t(), _(v, {
|
|
224
|
-
"show-predefined-range": "",
|
|
225
|
-
modelValue: u.value,
|
|
226
|
-
"onUpdate:modelValue": s[0] || (s[0] = (a) => u.value = a),
|
|
227
|
-
"start-label": "",
|
|
228
|
-
"end-label": ""
|
|
229
|
-
}, {
|
|
230
|
-
"trigger-button": V(() => [
|
|
231
|
-
r("div", ie, [
|
|
232
|
-
c(x, {
|
|
233
|
-
name: "calendar_month",
|
|
234
|
-
size: "sm"
|
|
235
|
-
}),
|
|
236
|
-
r("div", ce, C(e.value), 1)
|
|
237
|
-
])
|
|
238
|
-
]),
|
|
239
|
-
_: 1
|
|
240
|
-
}, 8, ["modelValue"]);
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
}), me = { class: "flex flex-col gap-8" }, pe = { class: "xs:px-8 sm:px-8 flex gap-8 items-center xs:gap-8 xs:flex-col-reverse sm:gap-8 sm:flex-col-reverse h-48 sm:h-[unset] xs:h-[unset]" }, ve = {
|
|
244
|
-
key: 0,
|
|
245
|
-
class: "xs:w-full sm:w-full flex gap-8 items-center"
|
|
246
|
-
}, fe = { class: "flex-1 w-full flex items-center gap-4" }, ye = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, ke = /* @__PURE__ */ L({
|
|
247
|
-
__name: "FmInventoryTableToolbar",
|
|
248
|
-
props: /* @__PURE__ */ E({
|
|
249
|
-
dateRangeQuery: { type: Boolean },
|
|
250
|
-
changeLocation: { type: Boolean },
|
|
251
|
-
searchable: { type: Boolean },
|
|
252
|
-
actions: {},
|
|
253
|
-
usingBusinessHelperText: {},
|
|
254
|
-
showBusiness: { type: Boolean }
|
|
255
|
-
}, {
|
|
256
|
-
search: {},
|
|
257
|
-
searchModifiers: {},
|
|
258
|
-
dateRange: {},
|
|
259
|
-
dateRangeModifiers: {}
|
|
260
|
-
}),
|
|
261
|
-
emits: ["update:search", "update:dateRange"],
|
|
262
|
-
setup(m) {
|
|
263
|
-
const l = I(m, "search"), f = I(m, "dateRange"), { t: u } = P();
|
|
264
|
-
return (e, o) => {
|
|
265
|
-
const s = b("FmTextField"), x = b("FmButton");
|
|
266
|
-
return t(), y("div", me, [
|
|
267
|
-
r("div", pe, [
|
|
268
|
-
e.changeLocation || e.dateRangeQuery ? (t(), y("div", ve, [
|
|
269
|
-
e.changeLocation ? (t(), _(ue, {
|
|
270
|
-
key: 0,
|
|
271
|
-
"show-business": e.showBusiness
|
|
272
|
-
}, null, 8, ["show-business"])) : h("", !0),
|
|
273
|
-
e.dateRangeQuery ? (t(), _(de, {
|
|
274
|
-
key: 1,
|
|
275
|
-
"model-value": f.value,
|
|
276
|
-
"onUpdate:modelValue": o[0] || (o[0] = (v) => f.value = v)
|
|
277
|
-
}, null, 8, ["model-value"])) : h("", !0)
|
|
278
|
-
])) : h("", !0),
|
|
279
|
-
r("div", fe, [
|
|
280
|
-
o[2] || (o[2] = r("div", { class: "flex-1 xs:hidden sm:hidden" }, null, -1)),
|
|
281
|
-
r("div", ye, [
|
|
282
|
-
e.searchable ? (t(), _(s, {
|
|
283
|
-
key: 0,
|
|
284
|
-
"model-value": l.value,
|
|
285
|
-
"onUpdate:modelValue": o[1] || (o[1] = (v) => l.value = v),
|
|
286
|
-
"prepend-icon": "search",
|
|
287
|
-
placeholder: d(u)("inventory.common.table.toolbar.filterItems"),
|
|
288
|
-
class: "w-full"
|
|
289
|
-
}, null, 8, ["model-value", "placeholder"])) : h("", !0)
|
|
290
|
-
]),
|
|
291
|
-
(t(!0), y(k, null, D(e.actions, (v, a) => (t(), _(x, {
|
|
292
|
-
key: a,
|
|
293
|
-
variant: "tertiary",
|
|
294
|
-
"prepend-icon": v.icon,
|
|
295
|
-
onClick: v.onClick
|
|
296
|
-
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
297
|
-
])
|
|
298
|
-
])
|
|
299
|
-
]);
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
});
|
|
303
|
-
export {
|
|
304
|
-
xe as _,
|
|
305
|
-
ke as a,
|
|
306
|
-
we as b,
|
|
307
|
-
S as i
|
|
308
|
-
};
|
package/dist/layout-B2j73HnF.js
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { useI18n as R } from "@feedmepos/mf-common";
|
|
2
|
-
import { components as I, useBreakpoints as B } from "@feedmepos/ui-library";
|
|
3
|
-
import { h as s, defineComponent as F, computed as M, openBlock as a, createBlock as V, resolveDynamicComponent as x, unref as p, normalizeClass as z, withCtx as D, createElementVNode as c, renderSlot as L, normalizeProps as N, guardReactiveProps as P, createElementBlock as m, Fragment as k, renderList as _, createVNode as b, createCommentVNode as w } from "vue";
|
|
4
|
-
import { aj as j } from "./app-Bt8YzxIk.js";
|
|
5
|
-
const { FmMenu: E, FmButton: S, FmMenuItem: $ } = I;
|
|
6
|
-
function U(o, r) {
|
|
7
|
-
return s(
|
|
8
|
-
E,
|
|
9
|
-
{
|
|
10
|
-
trigger: "click",
|
|
11
|
-
stopClickPropagation: !0
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"menu-button": () => s(S, {
|
|
15
|
-
type: "button",
|
|
16
|
-
variant: "tertiary",
|
|
17
|
-
icon: "more_vert",
|
|
18
|
-
iconColor: "#000000",
|
|
19
|
-
size: "md"
|
|
20
|
-
}),
|
|
21
|
-
default: () => s(
|
|
22
|
-
"div",
|
|
23
|
-
{
|
|
24
|
-
style: {
|
|
25
|
-
backgroundColor: "white",
|
|
26
|
-
padding: "4px",
|
|
27
|
-
width: "160px"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
o.map(({ translationKey: l, color: e, value: t }) => {
|
|
31
|
-
const { t: u } = R(), n = u(l);
|
|
32
|
-
return s(
|
|
33
|
-
$,
|
|
34
|
-
{
|
|
35
|
-
onClick() {
|
|
36
|
-
r(t ?? n);
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: () => s(
|
|
41
|
-
"span",
|
|
42
|
-
{
|
|
43
|
-
class: e
|
|
44
|
-
},
|
|
45
|
-
n
|
|
46
|
-
)
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
})
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* vue-table
|
|
56
|
-
*
|
|
57
|
-
* Copyright (c) TanStack
|
|
58
|
-
*
|
|
59
|
-
* This source code is licensed under the MIT license found in the
|
|
60
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
61
|
-
*
|
|
62
|
-
* @license MIT
|
|
63
|
-
*/
|
|
64
|
-
const y = F({
|
|
65
|
-
props: ["render", "props"],
|
|
66
|
-
setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? s(o.render, o.props) : o.render
|
|
67
|
-
}), A = { class: "flex gap-4 w-full" }, H = { class: "flex-1" }, T = { class: "flex flex-col" }, q = { key: 0 }, G = { key: 0 }, W = /* @__PURE__ */ F({
|
|
68
|
-
__name: "TableActionableRow",
|
|
69
|
-
props: {
|
|
70
|
-
row: {},
|
|
71
|
-
onRowClick: {},
|
|
72
|
-
actionColumnId: { default: "action" }
|
|
73
|
-
},
|
|
74
|
-
setup(o) {
|
|
75
|
-
const r = o, l = M(
|
|
76
|
-
() => r.row.getVisibleCells().reduce(
|
|
77
|
-
(e, t) => (e[t.column.id] = t, e),
|
|
78
|
-
{}
|
|
79
|
-
)
|
|
80
|
-
);
|
|
81
|
-
return (e, t) => (a(), V(x(e.onRowClick ? p(I).FmListItem : "div"), {
|
|
82
|
-
class: z([
|
|
83
|
-
"w-full border-b border-fm-color-neutral-gray-100",
|
|
84
|
-
{
|
|
85
|
-
"bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
|
|
86
|
-
"cursor-pointer": typeof e.onRowClick == "function"
|
|
87
|
-
}
|
|
88
|
-
]),
|
|
89
|
-
onClick: t[0] || (t[0] = (u) => {
|
|
90
|
-
var n;
|
|
91
|
-
return (n = e.onRowClick) == null ? void 0 : n.call(e, e.row.original);
|
|
92
|
-
})
|
|
93
|
-
}, {
|
|
94
|
-
default: D(() => {
|
|
95
|
-
var u, n, f, d, C;
|
|
96
|
-
return [
|
|
97
|
-
c("div", A, [
|
|
98
|
-
c("div", H, [
|
|
99
|
-
L(e.$slots, "default", N(P(l.value)), () => [
|
|
100
|
-
c("div", T, [
|
|
101
|
-
(a(!0), m(k, null, _(r.row.getVisibleCells(), (i) => {
|
|
102
|
-
var g, v, h;
|
|
103
|
-
return a(), m(k, {
|
|
104
|
-
key: i.id
|
|
105
|
-
}, [
|
|
106
|
-
i.column.id !== e.actionColumnId ? (a(), m("div", q, [
|
|
107
|
-
b(p(y), {
|
|
108
|
-
render: (v = (g = i.column) == null ? void 0 : g.columnDef) == null ? void 0 : v.cell,
|
|
109
|
-
props: (h = i.getContext) == null ? void 0 : h.call(i)
|
|
110
|
-
}, null, 8, ["render", "props"])
|
|
111
|
-
])) : w("", !0)
|
|
112
|
-
], 64);
|
|
113
|
-
}), 128))
|
|
114
|
-
])
|
|
115
|
-
])
|
|
116
|
-
]),
|
|
117
|
-
l.value[e.actionColumnId ?? ""] ? (a(), m("div", G, [
|
|
118
|
-
c("div", null, [
|
|
119
|
-
b(p(y), {
|
|
120
|
-
render: (f = (n = (u = l.value[e.actionColumnId ?? ""]) == null ? void 0 : u.column) == null ? void 0 : n.columnDef) == null ? void 0 : f.cell,
|
|
121
|
-
props: (C = (d = l.value[e.actionColumnId ?? ""]) == null ? void 0 : d.getContext) == null ? void 0 : C.call(d)
|
|
122
|
-
}, null, 8, ["render", "props"])
|
|
123
|
-
])
|
|
124
|
-
])) : w("", !0)
|
|
125
|
-
])
|
|
126
|
-
];
|
|
127
|
-
}),
|
|
128
|
-
_: 3
|
|
129
|
-
}, 8, ["class"]));
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
function X() {
|
|
133
|
-
return {
|
|
134
|
-
get tableHeight() {
|
|
135
|
-
const o = j(), { breakpoints: r } = B();
|
|
136
|
-
return o.isIframeMode ? r.value.xs || r.value.sm ? {
|
|
137
|
-
height: "calc(100dvh - 180px)"
|
|
138
|
-
} : {
|
|
139
|
-
height: "calc(100dvh - 124px)"
|
|
140
|
-
} : {
|
|
141
|
-
height: "calc(100dvh - 180px)"
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
export {
|
|
147
|
-
y as F,
|
|
148
|
-
W as _,
|
|
149
|
-
U as c,
|
|
150
|
-
X as u
|
|
151
|
-
};
|