@feedmepos/mf-inventory-portal 0.0.19-dev.16 → 0.0.19-dev.17
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-CKcQLAI8.js → ApprovalView-YVJ8rI2M.js} +5 -5
- package/dist/{BindingsDialog-Cp73zLps.js → BindingsDialog-C7ZO5bXe.js} +1 -1
- package/dist/{BindingsPicker-DgRYGAX9.js → BindingsPicker-BDsVbM3L.js} +1 -1
- package/dist/{BindingsTable-DcAf4NjN.js → BindingsTable-BiVQ4mvK.js} +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-vuSl8LVG.js +308 -0
- package/dist/{IngredientsView-CudiU14j.js → IngredientsView-CKDZsR2e.js} +4 -4
- package/dist/{IntegrationView-DAL6iV4z.js → IntegrationView-DQZeJKul.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-QzKXWhYR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DDcFEUcz.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DjjUDrN3.js → PremiumBadge.vue_vue_type_script_setup_true_lang-6plo8rnV.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-Dx0kFMsh.js → PurchaseOrderPrintPreview-Df-gYZFA.js} +1 -1
- package/dist/{ReceiveRequestView-CJPRYtPB.js → ReceiveRequestView-CxW1ONAk.js} +7 -7
- package/dist/{RecipeView-B_q03wl5.js → RecipeView-B8eIaR2f.js} +4 -4
- package/dist/{StockView-jsZK17Y2.js → StockView-CqgqPyvI.js} +7 -7
- package/dist/SupplierView-CPHQT1Hn.js +817 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dgn1Q71R.js → TransferDetails.vue_vue_type_script_setup_true_lang-CBmoU3pN.js} +4 -4
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DV6IxKMM.js +1435 -0
- package/dist/TransferTemplateView-BR2-tTiQ.js +1290 -0
- package/dist/{UnitView-CmxzOeJT.js → UnitView-vUCf46QM.js} +5 -5
- package/dist/{WarehouseView-CRQ0iaDH.js → WarehouseView-B3D5kkAU.js} +3 -3
- package/dist/api/purchase-order-template.d.ts +4 -0
- package/dist/api/supplier.d.ts +6 -4
- package/dist/{app-Bi46PfDl.js → app-Ds9lsiAo.js} +3344 -3324
- package/dist/app.js +1 -1
- package/dist/components/ChangeLocationComponent.vue.d.ts +14 -11
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +0 -2
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/{decimal-BgCTHluk.js → decimal-BZJuYjv-.js} +1 -1
- package/dist/format-unit-display-Dw4iQUDG.js +707 -0
- package/dist/{id-to-date-BoyYjRV6.js → id-to-date-CLG4t5Zp.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/{layout-BMITwCg7.js → layout-b03Lvqhx.js} +1 -1
- package/dist/stores/feature.d.ts +1 -0
- package/dist/stores/location.d.ts +1 -0
- package/dist/stores/supplier.d.ts +9 -9
- package/dist/supplier-C9OQNEl0.js +69 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +0 -1
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +583 -1
- package/dist/{xlsx-DYXPer0D.js → xlsx-B5RUBjKV.js} +1 -1
- package/dist/{xlsx.util-GCkah-Uu.js → xlsx.util-H2UkpLte.js} +2 -2
- package/package.json +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-La7HFqE7.js +0 -306
- package/dist/SupplierView-tzSVBr7C.js +0 -813
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BqxrMEtA.js +0 -1437
- package/dist/TransferTemplateView-DTH0Vubz.js +0 -1279
- package/dist/format-unit-display-B7oG4kXR.js +0 -668
- package/dist/supplier-CGwlcK2h.js +0 -60
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Cn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4696e646-ad8f-4ebe-9a22-7aacd1766a39", 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_4696e646-ad8f-4ebe-9a22-7aacd1766a39", 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 --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.12.3", 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: "708", 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:5840", 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: "12627887117", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "870dcab9ebceb8cca32665056d7fac7462ba45c3", 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_ae1d126d-4a5e-45df-90c0-b4823e2bebb4", INVOCATION_ID: "bc6f3a0656ed41728f1a85c89a844798", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "251", 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 392", 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.69_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.69_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.69_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.19-dev.16", 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: "870dcab9ebceb8cca32665056d7fac7462ba45c3", 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_4696e646-ad8f-4ebe-9a22-7aacd1766a39", 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_4696e646-ad8f-4ebe-9a22-7aacd1766a39", 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_4696e646-ad8f-4ebe-9a22-7aacd1766a39", 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_a5f7edde-89b2-45bf-887d-83420ab8129a", 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_a5f7edde-89b2-45bf-887d-83420ab8129a", 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 --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.12.3", 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: "708", 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:5817", 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: "12629874986", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cb2bc8f142388e524cdbc6e2a1c95785bcabd57d", 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_451a4976-5f05-4ebe-8f58-985b75848c75", INVOCATION_ID: "0efdd15eba4646be89b529d25f6011a4", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "253", 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 497", 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.69_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.69_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.69_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.19-dev.17", 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: "cb2bc8f142388e524cdbc6e2a1c95785bcabd57d", 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_a5f7edde-89b2-45bf-887d-83420ab8129a", 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_a5f7edde-89b2-45bf-887d-83420ab8129a", 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_a5f7edde-89b2-45bf-887d-83420ab8129a", 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-Ds9lsiAo.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-B5RUBjKV.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,306 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, computed as _, resolveComponent as b, openBlock as t, createElementBlock as g, Fragment as w, createElementVNode as p, toDisplayString as R, renderList as D, createBlock as x, createCommentVNode as h, unref as m, createVNode as d, renderSlot as j, Teleport as z, mergeModels as N, useModel as C, ref as H, withCtx as V, watch as Q } from "vue";
|
|
2
|
-
import { FmButtonVariant as E, useBreakpoints as O } from "@feedmepos/ui-library";
|
|
3
|
-
import { useCoreStore as q, useI18n as P } from "@feedmepos/mf-common";
|
|
4
|
-
import { j as G, O as T } from "./app-Bi46PfDl.js";
|
|
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 fm-typo-en-title-md-600 flex items-center h-[36px] bg-white" }, X = { key: 0 }, Z = { key: 1 }, ee = { class: "bg-white flex-1" }, ne = { class: "fixed bottom-96 right-16" }, _e = /* @__PURE__ */ M({
|
|
6
|
-
__name: "SingleColumnLayout",
|
|
7
|
-
props: {
|
|
8
|
-
actions: { default: () => [] },
|
|
9
|
-
title: { default: "Title" },
|
|
10
|
-
description: {},
|
|
11
|
-
showBackButton: { type: Boolean },
|
|
12
|
-
defaultPadding: { type: Boolean },
|
|
13
|
-
breadcrumbs: { default: () => [] }
|
|
14
|
-
},
|
|
15
|
-
emits: ["click:action"],
|
|
16
|
-
setup(s, { emit: v }) {
|
|
17
|
-
const o = s, u = v, r = _(() => o.actions.find((i) => i.isPrimary)), e = _(
|
|
18
|
-
() => o.actions.filter((i) => !i.isPrimary).map((i) => ({ ...i, variant: i.variant ?? E.Tertiary }))
|
|
19
|
-
), { breakpoints: n } = O();
|
|
20
|
-
return (i, y) => {
|
|
21
|
-
const l = b("FmButton");
|
|
22
|
-
return t(), g(w, null, [
|
|
23
|
-
p("div", J, [
|
|
24
|
-
p("div", K, [
|
|
25
|
-
p("div", W, R(i.title), 1),
|
|
26
|
-
e.value.length ? (t(), g("div", X, [
|
|
27
|
-
(t(!0), g(w, null, D(e.value, (f) => (t(), x(l, {
|
|
28
|
-
key: f.value,
|
|
29
|
-
label: f.label,
|
|
30
|
-
"prepend-icon": f.prependIcon,
|
|
31
|
-
variant: f.variant,
|
|
32
|
-
onClick: (a) => u("click:action", f.value)
|
|
33
|
-
}, null, 8, ["label", "prepend-icon", "variant", "onClick"]))), 128))
|
|
34
|
-
])) : h("", !0),
|
|
35
|
-
r.value && (m(n).lg || m(n).md) ? (t(), g("div", Z, [
|
|
36
|
-
d(l, {
|
|
37
|
-
label: r.value.label,
|
|
38
|
-
"prepend-icon": r.value.prependIcon,
|
|
39
|
-
onClick: y[0] || (y[0] = (f) => u("click:action", r.value.value))
|
|
40
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
41
|
-
])) : h("", !0)
|
|
42
|
-
]),
|
|
43
|
-
p("div", ee, [
|
|
44
|
-
j(i.$slots, "default")
|
|
45
|
-
])
|
|
46
|
-
]),
|
|
47
|
-
r.value && (m(n).sm || m(n).xs) ? (t(), x(z, {
|
|
48
|
-
key: 0,
|
|
49
|
-
to: "body"
|
|
50
|
-
}, [
|
|
51
|
-
p("div", ne, [
|
|
52
|
-
d(l, {
|
|
53
|
-
label: r.value.label,
|
|
54
|
-
"prepend-icon": r.value.prependIcon,
|
|
55
|
-
onClick: y[1] || (y[1] = (f) => u("click:action", r.value.value)),
|
|
56
|
-
variant: "fab"
|
|
57
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
58
|
-
])
|
|
59
|
-
])) : h("", !0)
|
|
60
|
-
], 64);
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
}), te = { class: "inline-flex" }, se = { 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" }, oe = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, le = {
|
|
64
|
-
class: "overflow-hidden overflow-y-scroll",
|
|
65
|
-
style: { maxHeight: "105px" }
|
|
66
|
-
}, ae = {
|
|
67
|
-
class: "overflow-hidden overflow-y-scroll",
|
|
68
|
-
style: { maxHeight: "105px" }
|
|
69
|
-
}, ie = /* @__PURE__ */ M({
|
|
70
|
-
__name: "ChangeLocationComponent",
|
|
71
|
-
props: /* @__PURE__ */ N({
|
|
72
|
-
showBusiness: { type: Boolean }
|
|
73
|
-
}, {
|
|
74
|
-
usingBusiness: { type: Boolean },
|
|
75
|
-
usingBusinessModifiers: {}
|
|
76
|
-
}),
|
|
77
|
-
emits: ["update:usingBusiness"],
|
|
78
|
-
setup(s) {
|
|
79
|
-
const v = C(s, "usingBusiness"), o = G(), u = q(), r = _(() => {
|
|
80
|
-
var a;
|
|
81
|
-
return (a = u.currentBusiness.value) == null ? void 0 : a.name;
|
|
82
|
-
}), { t: e } = P(), n = H(""), i = _(
|
|
83
|
-
() => o.locations.map((a) => ({ label: a.name, value: a.dbName, type: a.type })).filter(
|
|
84
|
-
(a) => n.value ? a.label.toLocaleLowerCase().includes(n.value.toLocaleLowerCase()) : !0
|
|
85
|
-
)
|
|
86
|
-
), y = _(
|
|
87
|
-
() => i.value.filter((a) => a.type === "restaurant")
|
|
88
|
-
), l = _(
|
|
89
|
-
() => i.value.filter((a) => a.type === "warehouse")
|
|
90
|
-
);
|
|
91
|
-
function f({ value: a }) {
|
|
92
|
-
v.value = !1, o.selectLocation(o.locations.find((B) => B.dbName === a));
|
|
93
|
-
}
|
|
94
|
-
return (a, B) => {
|
|
95
|
-
const I = b("FmIcon"), U = b("FmSearch"), $ = b("FmMenuDivider"), L = b("FmMenuHeader"), k = b("FmMenuItem"), A = b("FmMenu");
|
|
96
|
-
return t(), g("div", te, [
|
|
97
|
-
d(A, { "close-on-click": !0 }, {
|
|
98
|
-
"menu-button": V(() => {
|
|
99
|
-
var c;
|
|
100
|
-
return [
|
|
101
|
-
p("div", se, [
|
|
102
|
-
d(I, {
|
|
103
|
-
name: s.usingBusiness ? "store" : "storefront",
|
|
104
|
-
size: "sm"
|
|
105
|
-
}, null, 8, ["name"]),
|
|
106
|
-
p("div", oe, R(s.usingBusiness ? r.value : ((c = m(o)._currentLocation) == null ? void 0 : c.name) ?? m(e)("inventory.common.noLocationSelected")), 1),
|
|
107
|
-
d(I, {
|
|
108
|
-
name: "expand_more",
|
|
109
|
-
size: "sm"
|
|
110
|
-
})
|
|
111
|
-
])
|
|
112
|
-
];
|
|
113
|
-
}),
|
|
114
|
-
default: V(() => [
|
|
115
|
-
d(U, {
|
|
116
|
-
"model-value": n.value,
|
|
117
|
-
"onUpdate:modelValue": B[0] || (B[0] = (c) => n.value = c),
|
|
118
|
-
class: "w-[200px]",
|
|
119
|
-
placeholder: m(e)("inventory.common.table.toolbar.filterItems")
|
|
120
|
-
}, null, 8, ["model-value", "placeholder"]),
|
|
121
|
-
d($),
|
|
122
|
-
a.showBusiness ? (t(), g(w, { key: 0 }, [
|
|
123
|
-
d(L, {
|
|
124
|
-
label: m(e)("inventory.common.business")
|
|
125
|
-
}, null, 8, ["label"]),
|
|
126
|
-
d($),
|
|
127
|
-
d(k, {
|
|
128
|
-
"model-value": s.usingBusiness,
|
|
129
|
-
label: r.value,
|
|
130
|
-
onClick: B[1] || (B[1] = (c) => v.value = !0)
|
|
131
|
-
}, null, 8, ["model-value", "label"])
|
|
132
|
-
], 64)) : h("", !0),
|
|
133
|
-
d(L, {
|
|
134
|
-
label: m(e)("inventory.common.restaurant")
|
|
135
|
-
}, null, 8, ["label"]),
|
|
136
|
-
d($),
|
|
137
|
-
p("div", le, [
|
|
138
|
-
(t(!0), g(w, null, D(y.value, (c) => {
|
|
139
|
-
var F;
|
|
140
|
-
return t(), x(k, {
|
|
141
|
-
key: c.value,
|
|
142
|
-
"model-value": !s.usingBusiness && ((F = m(o)._currentLocation) == null ? void 0 : F.dbName) === c.value,
|
|
143
|
-
label: c.label,
|
|
144
|
-
onClick: (Y) => f(c)
|
|
145
|
-
}, null, 8, ["model-value", "label", "onClick"]);
|
|
146
|
-
}), 128))
|
|
147
|
-
]),
|
|
148
|
-
y.value.length ? h("", !0) : (t(), x(k, {
|
|
149
|
-
key: 1,
|
|
150
|
-
disabled: "",
|
|
151
|
-
label: m(e)("inventory.common.noResultFound")
|
|
152
|
-
}, null, 8, ["label"])),
|
|
153
|
-
d(L, {
|
|
154
|
-
label: m(e)("inventory.common.warehouse")
|
|
155
|
-
}, null, 8, ["label"]),
|
|
156
|
-
d($),
|
|
157
|
-
p("div", ae, [
|
|
158
|
-
(t(!0), g(w, null, D(l.value, (c) => {
|
|
159
|
-
var F;
|
|
160
|
-
return t(), x(k, {
|
|
161
|
-
key: c.value,
|
|
162
|
-
"model-value": !s.usingBusiness && ((F = m(o)._currentLocation) == null ? void 0 : F.dbName) === c.value,
|
|
163
|
-
label: c.label,
|
|
164
|
-
onClick: (Y) => f(c)
|
|
165
|
-
}, null, 8, ["model-value", "label", "onClick"]);
|
|
166
|
-
}), 128))
|
|
167
|
-
]),
|
|
168
|
-
l.value.length ? h("", !0) : (t(), x(k, {
|
|
169
|
-
key: 2,
|
|
170
|
-
disabled: "",
|
|
171
|
-
label: m(e)("inventory.common.noResultFound")
|
|
172
|
-
}, null, 8, ["label"]))
|
|
173
|
-
]),
|
|
174
|
-
_: 1
|
|
175
|
-
})
|
|
176
|
-
]);
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
function Be() {
|
|
181
|
-
const s = /* @__PURE__ */ new Date();
|
|
182
|
-
return s.setDate(s.getDate() - 15), {
|
|
183
|
-
start: s,
|
|
184
|
-
end: /* @__PURE__ */ new Date()
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
function S(s = 15) {
|
|
188
|
-
const v = /* @__PURE__ */ new Date();
|
|
189
|
-
v.setDate(v.getDate() - s);
|
|
190
|
-
const o = v, u = /* @__PURE__ */ new Date();
|
|
191
|
-
return {
|
|
192
|
-
startDate: `${T(o)}`,
|
|
193
|
-
endDate: `${T(u)}`
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
const ue = { 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" }, re = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ce = /* @__PURE__ */ M({
|
|
197
|
-
__name: "FmDateRangePickerChip",
|
|
198
|
-
props: {
|
|
199
|
-
modelValue: { default: (s) => s.modelValue ?? S() }
|
|
200
|
-
},
|
|
201
|
-
emits: ["update:modelValue"],
|
|
202
|
-
setup(s, { emit: v }) {
|
|
203
|
-
const o = v, u = H(S());
|
|
204
|
-
Q(u, (e) => {
|
|
205
|
-
o("update:modelValue", e);
|
|
206
|
-
});
|
|
207
|
-
const r = _(() => {
|
|
208
|
-
const { startDate: e, endDate: n } = u.value;
|
|
209
|
-
return !e && !n ? "" : `${e} - ${n}`;
|
|
210
|
-
});
|
|
211
|
-
return (e, n) => {
|
|
212
|
-
const i = b("FmIcon"), y = b("FmDateRangePicker");
|
|
213
|
-
return t(), x(y, {
|
|
214
|
-
"show-predefined-range": "",
|
|
215
|
-
modelValue: u.value,
|
|
216
|
-
"onUpdate:modelValue": n[0] || (n[0] = (l) => u.value = l),
|
|
217
|
-
"start-label": "",
|
|
218
|
-
"end-label": ""
|
|
219
|
-
}, {
|
|
220
|
-
"trigger-button": V(() => [
|
|
221
|
-
p("div", ue, [
|
|
222
|
-
d(i, {
|
|
223
|
-
name: "calendar_month",
|
|
224
|
-
size: "sm"
|
|
225
|
-
}),
|
|
226
|
-
p("div", re, R(r.value), 1)
|
|
227
|
-
])
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
}, 8, ["modelValue"]);
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}), de = { class: "flex flex-col gap-8" }, me = { 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]" }, pe = {
|
|
234
|
-
key: 0,
|
|
235
|
-
class: "xs:w-full sm:w-full flex gap-8 items-center"
|
|
236
|
-
}, ve = { class: "flex-1 w-full flex items-center gap-4" }, fe = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, ge = {
|
|
237
|
-
key: 0,
|
|
238
|
-
class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400 xs:px-8 sm:px-8"
|
|
239
|
-
}, we = /* @__PURE__ */ M({
|
|
240
|
-
__name: "FmInventoryTableToolbar",
|
|
241
|
-
props: /* @__PURE__ */ N({
|
|
242
|
-
dateRangeQuery: { type: Boolean },
|
|
243
|
-
changeLocation: { type: Boolean },
|
|
244
|
-
searchable: { type: Boolean },
|
|
245
|
-
actions: {},
|
|
246
|
-
usingBusinessHelperText: {},
|
|
247
|
-
showBusiness: { type: Boolean }
|
|
248
|
-
}, {
|
|
249
|
-
search: {},
|
|
250
|
-
searchModifiers: {},
|
|
251
|
-
dateRange: {},
|
|
252
|
-
dateRangeModifiers: {},
|
|
253
|
-
usingBusiness: { type: Boolean },
|
|
254
|
-
usingBusinessModifiers: {}
|
|
255
|
-
}),
|
|
256
|
-
emits: ["update:search", "update:dateRange", "update:usingBusiness"],
|
|
257
|
-
setup(s) {
|
|
258
|
-
const v = C(s, "search"), o = C(s, "dateRange"), u = C(s, "usingBusiness"), { t: r } = P();
|
|
259
|
-
return (e, n) => {
|
|
260
|
-
const i = b("FmTextField"), y = b("FmButton");
|
|
261
|
-
return t(), g("div", de, [
|
|
262
|
-
p("div", me, [
|
|
263
|
-
e.changeLocation || e.dateRangeQuery ? (t(), g("div", pe, [
|
|
264
|
-
e.changeLocation ? (t(), x(ie, {
|
|
265
|
-
key: 0,
|
|
266
|
-
"using-business": u.value,
|
|
267
|
-
"onUpdate:usingBusiness": n[0] || (n[0] = (l) => u.value = l),
|
|
268
|
-
"show-business": e.showBusiness
|
|
269
|
-
}, null, 8, ["using-business", "show-business"])) : h("", !0),
|
|
270
|
-
e.dateRangeQuery ? (t(), x(ce, {
|
|
271
|
-
key: 1,
|
|
272
|
-
"model-value": o.value,
|
|
273
|
-
"onUpdate:modelValue": n[1] || (n[1] = (l) => o.value = l)
|
|
274
|
-
}, null, 8, ["model-value"])) : h("", !0)
|
|
275
|
-
])) : h("", !0),
|
|
276
|
-
p("div", ve, [
|
|
277
|
-
n[3] || (n[3] = p("div", { class: "flex-1 xs:hidden sm:hidden" }, null, -1)),
|
|
278
|
-
p("div", fe, [
|
|
279
|
-
e.searchable ? (t(), x(i, {
|
|
280
|
-
key: 0,
|
|
281
|
-
"model-value": v.value,
|
|
282
|
-
"onUpdate:modelValue": n[2] || (n[2] = (l) => v.value = l),
|
|
283
|
-
"prepend-icon": "search",
|
|
284
|
-
placeholder: m(r)("inventory.common.table.toolbar.filterItems"),
|
|
285
|
-
class: "w-full"
|
|
286
|
-
}, null, 8, ["model-value", "placeholder"])) : h("", !0)
|
|
287
|
-
]),
|
|
288
|
-
(t(!0), g(w, null, D(e.actions, (l, f) => (t(), x(y, {
|
|
289
|
-
key: f,
|
|
290
|
-
variant: "tertiary",
|
|
291
|
-
"prepend-icon": l.icon,
|
|
292
|
-
onClick: l.onClick
|
|
293
|
-
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
294
|
-
])
|
|
295
|
-
]),
|
|
296
|
-
e.usingBusinessHelperText && s.usingBusiness ? (t(), g("div", ge, R(e.usingBusinessHelperText), 1)) : h("", !0)
|
|
297
|
-
]);
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
export {
|
|
302
|
-
_e as _,
|
|
303
|
-
we as a,
|
|
304
|
-
Be as b,
|
|
305
|
-
S as i
|
|
306
|
-
};
|