@feedmepos/mf-inventory-portal 0.0.22-dev.43 → 0.0.22-dev.44
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-DJhk8ORX.js +140 -0
- package/dist/{BindingsDialog-CKjAs5mJ.js → BindingsDialog-CNY83IzG.js} +1 -1
- package/dist/{BindingsPicker-BAVZ-3dF.js → BindingsPicker-BCeGBlTl.js} +1 -1
- package/dist/{BindingsTable-qq8M9fzG.js → BindingsTable-DwN0rUr_.js} +1 -1
- package/dist/{ClosingTemplateView-DOLuHmy8.js → ClosingTemplateView-BE1JMBGd.js} +342 -349
- package/dist/{FmDroppableField-BBpVEZs4.js → FmDroppableField-DeZRIGOb.js} +13 -13
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ChRPq-Ok.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CptHxbFO.js} +3 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGYVXLcj.js +435 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DrL5a2Pn.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C0liaZ9Y.js} +1 -1
- package/dist/{IngredientsView-m5K8MlM2.js → IngredientsView-B6BPG_MN.js} +414 -417
- package/dist/{IntegrationView-BE5P68EJ.js → IntegrationView-CXurxj5t.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B8cCv--C.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4np_znK.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CcM04Veu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CvSRvT_i.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-D40E9qZt.js → PurchaseOrderPrintPreview-BYSkl_zL.js} +3 -3
- package/dist/{ReceiveRequestView-Ci7FgSjU.js → ReceiveRequestView-DWKEL17S.js} +31 -27
- package/dist/{RecipeView-Bp7iBiy7.js → RecipeView-DEZblbQT.js} +91 -88
- package/dist/{StockView-BzowFcFA.js → StockView-hijQ7wQL.js} +533 -525
- package/dist/{SupplierView-CbRnAb8G.js → SupplierView-B2xKGKCF.js} +776 -802
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMikyrhA.js → TransferDetails.vue_vue_type_script_setup_true_lang-CBwT8yGC.js} +5 -5
- package/dist/TransferTemplateView--2vvQWBW.js +1258 -0
- package/dist/{UnitView-B-058oRk.js → UnitView-B30FwZGg.js} +4 -4
- package/dist/{WarehouseView-RtU3sWKx.js → WarehouseView-BwbqpKwn.js} +14 -14
- package/dist/{app-By3PLx0q.js → app-DXZpbt33.js} +7334 -7251
- package/dist/app.js +1 -1
- package/dist/{decimal-CtriZ1S6.js → decimal-BVO6jH4l.js} +1 -1
- package/dist/{defineDeepModel-ClK3S9xx.js → defineDeepModel-DlkycC_t.js} +1 -1
- package/dist/{format-time-from-id-CGLKzJJO.js → format-time-from-id-Dhgv47T9.js} +1 -1
- package/dist/{format-unit-display-COeZSqdS.js → format-unit-display-D4D1b9F7.js} +15 -15
- package/dist/{supplier-BxBMThPQ.js → supplier-Beauc4QC.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-BIgPnzRW.js → use-template-enabled-locations-2-DbnvkOM9.js} +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +30 -0
- package/dist/{xlsx-X_0qJPDg.js → xlsx-DXqCVrb5.js} +1 -1
- package/dist/{xlsx.util-BOPzVbUa.js → xlsx.util-7VhQushh.js} +1 -1
- package/package.json +1 -1
- package/dist/ApprovalView-1ZKaZJ2Z.js +0 -128
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BSxhRfE4.js +0 -359
- package/dist/TransferTemplateView-BwamiSyk.js +0 -1302
|
@@ -11,6 +11,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
11
|
precision: number;
|
|
12
12
|
};
|
|
13
13
|
} | null | undefined;
|
|
14
|
+
physicalAmounts?: {
|
|
15
|
+
measurement?: {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
abbrev: string;
|
|
19
|
+
conversion: {
|
|
20
|
+
amount: number;
|
|
21
|
+
precision: number;
|
|
22
|
+
};
|
|
23
|
+
} | null | undefined;
|
|
24
|
+
amount: {
|
|
25
|
+
amount: number;
|
|
26
|
+
precision: number;
|
|
27
|
+
};
|
|
28
|
+
}[] | null | undefined;
|
|
14
29
|
costs?: {
|
|
15
30
|
adjustmentId?: string | null | undefined;
|
|
16
31
|
amount: {
|
|
@@ -108,6 +123,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
123
|
precision: number;
|
|
109
124
|
};
|
|
110
125
|
} | null | undefined;
|
|
126
|
+
physicalAmounts?: {
|
|
127
|
+
measurement?: {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
abbrev: string;
|
|
131
|
+
conversion: {
|
|
132
|
+
amount: number;
|
|
133
|
+
precision: number;
|
|
134
|
+
};
|
|
135
|
+
} | null | undefined;
|
|
136
|
+
amount: {
|
|
137
|
+
amount: number;
|
|
138
|
+
precision: number;
|
|
139
|
+
};
|
|
140
|
+
}[] | null | undefined;
|
|
111
141
|
costs?: {
|
|
112
142
|
adjustmentId?: string | null | undefined;
|
|
113
143
|
amount: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Nn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8e68adbd-af39-48d1-ad7d-6f9d97bbe352", 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/9.12.1 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8e68adbd-af39-48d1-ad7d-6f9d97bbe352", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.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.12", 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.13.0-beta.1", 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: "706", npm_package_dependencies__feedmepos_ui_library: "1.3.8", 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: "20250105.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:6492", 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: "12901653595", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "84aaa376141aeeb8a66da42eb667eea1058fbfe1", 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@9.12.1/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.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_09b5d5b9-761b-4812-b084-b3e84252fd50", INVOCATION_ID: "9b9bed0dd0424e16a5af081fc61fb989", 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: "314", 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: "", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 335", 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.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.22-dev.43", 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: "84aaa376141aeeb8a66da42eb667eea1058fbfe1", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", 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_8e68adbd-af39-48d1-ad7d-6f9d97bbe352", 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@9.12.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_8e68adbd-af39-48d1-ad7d-6f9d97bbe352", 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_8e68adbd-af39-48d1-ad7d-6f9d97bbe352", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1
|
+
var Nn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fb6e5ae2-dce4-46c7-bf03-06190cfccaa1", 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/9.12.1 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_fb6e5ae2-dce4-46c7-bf03-06190cfccaa1", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.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.12", 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.13.0-beta.1", 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.8", 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: "20250105.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:5962", 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: "12906254505", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d9209bfd45c468e7937ac13c5612ca3890c11933", 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@9.12.1/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.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_f7eb7a8b-7550-4e8f-9968-f9b7a63d51c8", INVOCATION_ID: "2b5e7a5a475544eba4b234405e99a2c8", 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: "315", 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: "", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 146", 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.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.22-dev.44", 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: "d9209bfd45c468e7937ac13c5612ca3890c11933", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", 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_fb6e5ae2-dce4-46c7-bf03-06190cfccaa1", 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@9.12.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_fb6e5ae2-dce4-46c7-bf03-06190cfccaa1", 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_fb6e5ae2-dce4-46c7-bf03-06190cfccaa1", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
2
2
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
3
3
|
var fn = {};
|
|
4
4
|
fn.version = "0.18.5";
|
package/package.json
CHANGED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as G, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
|
|
2
|
-
import { i as pe, ag as f, V as J } from "./app-By3PLx0q.js";
|
|
3
|
-
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BSxhRfE4.js";
|
|
4
|
-
import { a as _e, b as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BMikyrhA.js";
|
|
5
|
-
import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
6
|
-
import { useBreakpoints as ge } from "@feedmepos/ui-library";
|
|
7
|
-
import { useI18n as be } from "@feedmepos/mf-common";
|
|
8
|
-
const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, ke = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
11
|
-
}, Oe = { class: "pt-8" }, Ye = /* @__PURE__ */ ee({
|
|
12
|
-
__name: "ApprovalView",
|
|
13
|
-
setup(Se) {
|
|
14
|
-
const o = _e("approval"), { columnDefs: K } = ve("approval", o), Q = pe();
|
|
15
|
-
f.object({
|
|
16
|
-
name: f.string().optional().nullable(),
|
|
17
|
-
start: f.date().optional().nullable(),
|
|
18
|
-
end: f.date().optional().nullable()
|
|
19
|
-
});
|
|
20
|
-
const x = h({
|
|
21
|
-
name: "",
|
|
22
|
-
...ue()
|
|
23
|
-
}), a = h({
|
|
24
|
-
startDate: J(x.value.start ?? /* @__PURE__ */ new Date()),
|
|
25
|
-
endDate: J(x.value.end ?? /* @__PURE__ */ new Date())
|
|
26
|
-
});
|
|
27
|
-
te([() => a.value.startDate], () => {
|
|
28
|
-
if (!a.value.startDate)
|
|
29
|
-
return;
|
|
30
|
-
if (!a.value.endDate) {
|
|
31
|
-
a.value.endDate = a.value.startDate;
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const w = new Date(a.value.startDate);
|
|
35
|
-
if (new Date(a.value.endDate).getTime() < w.getTime()) {
|
|
36
|
-
a.value.endDate = a.value.startDate;
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
const v = h(""), { breakpoints: y } = ge(), D = U(() => y.value.xs || y.value.sm), W = U(() => D.value ? 10 : 20), X = me(), { t: Z } = be();
|
|
41
|
-
return (w, l) => {
|
|
42
|
-
const B = ae("FmTable");
|
|
43
|
-
return g(), G(de, {
|
|
44
|
-
title: e(Z)("inventory.transfer.approval.title")
|
|
45
|
-
}, {
|
|
46
|
-
default: b(() => [
|
|
47
|
-
s("div", {
|
|
48
|
-
class: oe([
|
|
49
|
-
"flex flex-col gap-8 max-h-full",
|
|
50
|
-
{
|
|
51
|
-
"p-0": D.value,
|
|
52
|
-
"px-24 ": !D.value
|
|
53
|
-
}
|
|
54
|
-
])
|
|
55
|
-
}, [
|
|
56
|
-
n(fe, {
|
|
57
|
-
searchable: "",
|
|
58
|
-
"change-location": "",
|
|
59
|
-
search: v.value,
|
|
60
|
-
"onUpdate:search": l[0] || (l[0] = (r) => v.value = r),
|
|
61
|
-
actions: [{ icon: "refresh", onClick: e(o).fetchData }]
|
|
62
|
-
}, null, 8, ["search", "actions"]),
|
|
63
|
-
n(B, {
|
|
64
|
-
style: re(e(X).tableHeight),
|
|
65
|
-
"column-defs": e(K),
|
|
66
|
-
"row-data": e(o).purchaseRequests.value,
|
|
67
|
-
"search-value": v.value,
|
|
68
|
-
loading: !e(Q)._currentLocation || e(o).loading.value,
|
|
69
|
-
onRowClick: l[1] || (l[1] = (r) => e(o).promptShowTransferDetails(r.original.purchaseOrder, r.original)),
|
|
70
|
-
"page-size": W.value
|
|
71
|
-
}, {
|
|
72
|
-
"list-row": b((r) => [
|
|
73
|
-
n(he, {
|
|
74
|
-
row: r,
|
|
75
|
-
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
76
|
-
}, {
|
|
77
|
-
default: b((t) => {
|
|
78
|
-
var R, k, O, i, S, T, C, z, c, F, M, p, V, u, $, Y, q, L, N, m, j, E, P, A, d, H;
|
|
79
|
-
return [
|
|
80
|
-
s("div", xe, [
|
|
81
|
-
s("div", ye, [
|
|
82
|
-
n(e(_), {
|
|
83
|
-
render: (O = (k = (R = t.purchaseOrder__id) == null ? void 0 : R.column) == null ? void 0 : k.columnDef) == null ? void 0 : O.cell,
|
|
84
|
-
props: (S = (i = t.purchaseOrder__id) == null ? void 0 : i.getContext) == null ? void 0 : S.call(i)
|
|
85
|
-
}, null, 8, ["render", "props"])
|
|
86
|
-
]),
|
|
87
|
-
s("div", we, [
|
|
88
|
-
n(e(_), {
|
|
89
|
-
render: (z = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : z.cell,
|
|
90
|
-
props: (F = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : F.call(c)
|
|
91
|
-
}, null, 8, ["render", "props"])
|
|
92
|
-
]),
|
|
93
|
-
s("div", Re, ne(($ = (u = (V = (p = (M = r.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : p.map) == null ? void 0 : V.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : $.call(u, ", ")), 1),
|
|
94
|
-
(Y = r.original.purchaseOrder) != null && Y.ref ? (g(), se("div", ke, [
|
|
95
|
-
n(e(_), {
|
|
96
|
-
render: (N = (L = (q = t.purchaseOrder_ref) == null ? void 0 : q.column) == null ? void 0 : L.columnDef) == null ? void 0 : N.cell,
|
|
97
|
-
props: (j = (m = t.purchaseOrder_ref) == null ? void 0 : m.getContext) == null ? void 0 : j.call(m)
|
|
98
|
-
}, null, 8, ["render", "props"])
|
|
99
|
-
])) : le("", !0),
|
|
100
|
-
s("div", Oe, [
|
|
101
|
-
n(e(_), {
|
|
102
|
-
render: (A = (P = (E = t.purchaseOrder_status) == null ? void 0 : E.column) == null ? void 0 : P.columnDef) == null ? void 0 : A.cell,
|
|
103
|
-
props: (H = (d = t.purchaseOrder_status) == null ? void 0 : d.getContext) == null ? void 0 : H.call(d)
|
|
104
|
-
}, null, 8, ["render", "props"])
|
|
105
|
-
])
|
|
106
|
-
])
|
|
107
|
-
];
|
|
108
|
-
}),
|
|
109
|
-
_: 2
|
|
110
|
-
}, 1032, ["row", "onRowClick"])
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
114
|
-
], 2),
|
|
115
|
-
(g(), G(ie, { to: "body" }, [
|
|
116
|
-
n(De, ce(e(o).transferDetailsProps.value, {
|
|
117
|
-
onSubmitted: e(o).fetchData
|
|
118
|
-
}), null, 16, ["onSubmitted"])
|
|
119
|
-
]))
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}, 8, ["title"]);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
export {
|
|
127
|
-
Ye as default
|
|
128
|
-
};
|
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
import { reactive as E, onUnmounted as W, defineComponent as T, computed as y, resolveComponent as _, openBlock as a, createElementBlock as f, Fragment as L, createElementVNode as m, unref as c, normalizeClass as D, toDisplayString as R, createCommentVNode as g, renderList as I, createBlock as h, createVNode as x, renderSlot as q, Teleport as G, ref as P, withCtx as N, watch as J, mergeModels as K, useModel as U } from "vue";
|
|
2
|
-
import { FmButtonVariant as X, useBreakpoints as O } from "@feedmepos/ui-library";
|
|
3
|
-
import { i as A, V as H } from "./app-By3PLx0q.js";
|
|
4
|
-
import { useCoreStore as Z, useI18n as Y } from "@feedmepos/mf-common";
|
|
5
|
-
const S = E({});
|
|
6
|
-
function j() {
|
|
7
|
-
const r = `${Math.random()}`, t = new ResizeObserver((o) => {
|
|
8
|
-
const l = o.map((n) => n.target.scrollHeight).reduce((n, s) => n + s);
|
|
9
|
-
S[r] = l;
|
|
10
|
-
}), d = (o) => {
|
|
11
|
-
const l = o.el;
|
|
12
|
-
l && t.observe(l);
|
|
13
|
-
}, u = (o) => {
|
|
14
|
-
const l = o.el;
|
|
15
|
-
l && t.unobserve(l);
|
|
16
|
-
};
|
|
17
|
-
return W(() => {
|
|
18
|
-
t.disconnect(), delete S[r];
|
|
19
|
-
}), {
|
|
20
|
-
get tableHeight() {
|
|
21
|
-
return {
|
|
22
|
-
height: `calc(100dvh - ${Object.values(S).reduce((n, s) => n + s, 0) + 64}px)`
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
onMounted: d,
|
|
26
|
-
onUnmounted: u
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
const ee = { class: "flex flex-col w-full bg-white h-full" }, ne = {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: /* @__PURE__ */ D(["text-fm-color-typo-secondary fm-typo-en-body-sm-400"])
|
|
32
|
-
}, te = { key: 0 }, oe = { key: 1 }, le = { class: "bg-white flex-1" }, ae = { class: "fixed bottom-96 right-16" }, we = /* @__PURE__ */ T({
|
|
33
|
-
__name: "SingleColumnLayout",
|
|
34
|
-
props: {
|
|
35
|
-
actions: { default: () => [] },
|
|
36
|
-
title: { default: "Title" },
|
|
37
|
-
description: {},
|
|
38
|
-
showBackButton: { type: Boolean },
|
|
39
|
-
defaultPadding: { type: Boolean },
|
|
40
|
-
breadcrumbs: { default: () => [] },
|
|
41
|
-
usingBusinessHelperText: {}
|
|
42
|
-
},
|
|
43
|
-
emits: ["click:action"],
|
|
44
|
-
setup(r, { emit: t }) {
|
|
45
|
-
const d = r, u = t, o = y(() => d.actions.find((e) => e.isPrimary)), l = y(
|
|
46
|
-
() => d.actions.filter((e) => !e.isPrimary).map((e) => ({ ...e, variant: e.variant ?? X.Tertiary }))
|
|
47
|
-
), { breakpoints: n } = O(), s = y(() => n.value.xs || n.value.sm), v = A(), k = y(() => v.businessLevel), w = j();
|
|
48
|
-
return (e, p) => {
|
|
49
|
-
const B = _("FmButton");
|
|
50
|
-
return a(), f(L, null, [
|
|
51
|
-
m("div", ee, [
|
|
52
|
-
m("div", {
|
|
53
|
-
onVnodeMounted: p[1] || (p[1] = //@ts-ignore
|
|
54
|
-
(...b) => c(w).onMounted && c(w).onMounted(...b)),
|
|
55
|
-
class: D([
|
|
56
|
-
"flex gap-4",
|
|
57
|
-
{
|
|
58
|
-
"p-12": s.value,
|
|
59
|
-
"px-24 py-16": !s.value
|
|
60
|
-
}
|
|
61
|
-
])
|
|
62
|
-
}, [
|
|
63
|
-
m("div", {
|
|
64
|
-
class: D([
|
|
65
|
-
"flex-1 flex flex-col gap-4 fm-typo-en-title-md-600 bg-white",
|
|
66
|
-
{
|
|
67
|
-
"py-12": s.value
|
|
68
|
-
}
|
|
69
|
-
])
|
|
70
|
-
}, [
|
|
71
|
-
m("div", null, R(e.title), 1),
|
|
72
|
-
e.usingBusinessHelperText && k.value ? (a(), f("div", ne, R(e.usingBusinessHelperText), 1)) : g("", !0)
|
|
73
|
-
], 2),
|
|
74
|
-
l.value.length ? (a(), f("div", te, [
|
|
75
|
-
(a(!0), f(L, null, I(l.value, (b) => (a(), h(B, {
|
|
76
|
-
key: b.value,
|
|
77
|
-
label: b.label,
|
|
78
|
-
"prepend-icon": b.prependIcon,
|
|
79
|
-
variant: b.variant,
|
|
80
|
-
onClick: (M) => u("click:action", b.value)
|
|
81
|
-
}, null, 8, ["label", "prepend-icon", "variant", "onClick"]))), 128))
|
|
82
|
-
])) : g("", !0),
|
|
83
|
-
o.value && (c(n).lg || c(n).md) ? (a(), f("div", oe, [
|
|
84
|
-
x(B, {
|
|
85
|
-
label: o.value.label,
|
|
86
|
-
"prepend-icon": o.value.prependIcon,
|
|
87
|
-
onClick: p[0] || (p[0] = (b) => u("click:action", o.value.value))
|
|
88
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
89
|
-
])) : g("", !0)
|
|
90
|
-
], 2),
|
|
91
|
-
m("div", le, [
|
|
92
|
-
q(e.$slots, "default")
|
|
93
|
-
])
|
|
94
|
-
]),
|
|
95
|
-
o.value && s.value ? (a(), h(G, {
|
|
96
|
-
key: 0,
|
|
97
|
-
to: "body"
|
|
98
|
-
}, [
|
|
99
|
-
m("div", ae, [
|
|
100
|
-
x(B, {
|
|
101
|
-
label: o.value.label,
|
|
102
|
-
"prepend-icon": o.value.prependIcon,
|
|
103
|
-
onClick: p[2] || (p[2] = (b) => u("click:action", o.value.value)),
|
|
104
|
-
variant: "fab"
|
|
105
|
-
}, null, 8, ["label", "prepend-icon"])
|
|
106
|
-
])
|
|
107
|
-
])) : g("", !0)
|
|
108
|
-
], 64);
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
}), se = { class: "inline-flex" }, 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" }, ie = { class: "relative" }, ce = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, de = /* @__PURE__ */ T({
|
|
112
|
-
__name: "ChangeLocationComponent",
|
|
113
|
-
props: {
|
|
114
|
-
showBusiness: { type: Boolean }
|
|
115
|
-
},
|
|
116
|
-
setup(r) {
|
|
117
|
-
const t = A(), d = Z(), u = y(() => {
|
|
118
|
-
var e;
|
|
119
|
-
return (e = d.currentBusiness.value) == null ? void 0 : e.name;
|
|
120
|
-
}), { t: o } = Y(), l = P(""), n = y({
|
|
121
|
-
get() {
|
|
122
|
-
return t.businessLevel;
|
|
123
|
-
},
|
|
124
|
-
set(e) {
|
|
125
|
-
t.businessLevel = e;
|
|
126
|
-
}
|
|
127
|
-
}), s = y(
|
|
128
|
-
() => t.locations.map((e) => ({ label: e.name, value: e.dbName, type: e.type })).filter(
|
|
129
|
-
(e) => l.value ? e.label.toLocaleLowerCase().includes(l.value.toLocaleLowerCase()) : !0
|
|
130
|
-
)
|
|
131
|
-
), v = y(
|
|
132
|
-
() => s.value.filter((e) => e.type === "restaurant")
|
|
133
|
-
), k = y(
|
|
134
|
-
() => s.value.filter((e) => e.type === "warehouse")
|
|
135
|
-
);
|
|
136
|
-
function w({ value: e }) {
|
|
137
|
-
n.value = !1, t.selectLocation(t.locations.find((p) => p.dbName === e));
|
|
138
|
-
}
|
|
139
|
-
return (e, p) => {
|
|
140
|
-
const B = _("FmIcon"), b = _("FmSearch"), M = _("FmMenuItem"), Q = _("FmMenu");
|
|
141
|
-
return a(), f("div", se, [
|
|
142
|
-
x(Q, { "close-on-click": !0 }, {
|
|
143
|
-
"menu-button": N(() => {
|
|
144
|
-
var i;
|
|
145
|
-
return [
|
|
146
|
-
m("div", ue, [
|
|
147
|
-
x(B, {
|
|
148
|
-
name: e.showBusiness && n.value ? "store" : "storefront",
|
|
149
|
-
size: "sm"
|
|
150
|
-
}, null, 8, ["name"]),
|
|
151
|
-
m("div", re, R(e.showBusiness && n.value ? u.value : ((i = c(t)._currentLocation) == null ? void 0 : i.name) ?? c(o)("inventory.common.noLocationSelected")), 1),
|
|
152
|
-
x(B, {
|
|
153
|
-
name: "expand_more",
|
|
154
|
-
size: "sm"
|
|
155
|
-
})
|
|
156
|
-
])
|
|
157
|
-
];
|
|
158
|
-
}),
|
|
159
|
-
default: N(() => [
|
|
160
|
-
m("div", ie, [
|
|
161
|
-
m("div", ce, [
|
|
162
|
-
x(b, {
|
|
163
|
-
"model-value": l.value,
|
|
164
|
-
"onUpdate:modelValue": p[0] || (p[0] = (i) => l.value = i),
|
|
165
|
-
placeholder: c(o)("inventory.common.table.toolbar.filterItems")
|
|
166
|
-
}, null, 8, ["model-value", "placeholder"])
|
|
167
|
-
]),
|
|
168
|
-
m("div", null, [
|
|
169
|
-
e.showBusiness ? (a(), h(M, {
|
|
170
|
-
key: 0,
|
|
171
|
-
"model-value": n.value,
|
|
172
|
-
label: u.value,
|
|
173
|
-
sublabel: "Business",
|
|
174
|
-
onClick: p[1] || (p[1] = (i) => n.value = !0)
|
|
175
|
-
}, null, 8, ["model-value", "label"])) : g("", !0),
|
|
176
|
-
(a(!0), f(L, null, I(v.value, (i) => {
|
|
177
|
-
var $;
|
|
178
|
-
return a(), h(M, {
|
|
179
|
-
key: i.value,
|
|
180
|
-
"model-value": !n.value && (($ = c(t)._currentLocation) == null ? void 0 : $.dbName) === i.value,
|
|
181
|
-
label: i.label,
|
|
182
|
-
sublabel: "Restaurant",
|
|
183
|
-
onClick: (F) => w(i),
|
|
184
|
-
onVnodeMounted: (F) => {
|
|
185
|
-
var V, C;
|
|
186
|
-
return !n.value && ((V = c(t)._currentLocation) == null ? void 0 : V.dbName) === i.value && ((C = F.el) == null || C.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
187
|
-
}
|
|
188
|
-
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
189
|
-
}), 128)),
|
|
190
|
-
(a(!0), f(L, null, I(k.value, (i) => {
|
|
191
|
-
var $;
|
|
192
|
-
return a(), h(M, {
|
|
193
|
-
key: i.value,
|
|
194
|
-
"model-value": !n.value && (($ = c(t)._currentLocation) == null ? void 0 : $.dbName) === i.value,
|
|
195
|
-
label: i.label,
|
|
196
|
-
sublabel: "Warehouse",
|
|
197
|
-
onClick: (F) => w(i),
|
|
198
|
-
onVnodeMounted: (F) => {
|
|
199
|
-
var V, C;
|
|
200
|
-
return !n.value && ((V = c(t)._currentLocation) == null ? void 0 : V.dbName) === i.value && ((C = F.el) == null || C.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
201
|
-
}
|
|
202
|
-
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
203
|
-
}), 128)),
|
|
204
|
-
!e.showBusiness && !v.value.length && !k.value.length ? (a(), h(M, {
|
|
205
|
-
key: 1,
|
|
206
|
-
disabled: "",
|
|
207
|
-
label: c(o)("inventory.common.noResultFound")
|
|
208
|
-
}, null, 8, ["label"])) : g("", !0)
|
|
209
|
-
])
|
|
210
|
-
])
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
})
|
|
214
|
-
]);
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
function xe() {
|
|
219
|
-
const r = /* @__PURE__ */ new Date();
|
|
220
|
-
return r.setDate(r.getDate() - 15), {
|
|
221
|
-
start: r,
|
|
222
|
-
end: /* @__PURE__ */ new Date()
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
function z(r = 15) {
|
|
226
|
-
const t = /* @__PURE__ */ new Date();
|
|
227
|
-
t.setDate(t.getDate() - r);
|
|
228
|
-
const d = t, u = /* @__PURE__ */ new Date();
|
|
229
|
-
return {
|
|
230
|
-
startDate: `${H(d)}`,
|
|
231
|
-
endDate: `${H(u)}`
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
const me = { 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" }, ve = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, pe = /* @__PURE__ */ T({
|
|
235
|
-
__name: "FmDateRangePickerChip",
|
|
236
|
-
props: {
|
|
237
|
-
modelValue: { default: (r) => r.modelValue ?? z() }
|
|
238
|
-
},
|
|
239
|
-
emits: ["update:modelValue"],
|
|
240
|
-
setup(r, { emit: t }) {
|
|
241
|
-
const d = t, u = P(z());
|
|
242
|
-
J(u, (l) => {
|
|
243
|
-
d("update:modelValue", l);
|
|
244
|
-
});
|
|
245
|
-
const o = y(() => {
|
|
246
|
-
const { startDate: l, endDate: n } = u.value;
|
|
247
|
-
return !l && !n ? "" : `${l} - ${n}`;
|
|
248
|
-
});
|
|
249
|
-
return (l, n) => {
|
|
250
|
-
const s = _("FmIcon"), v = _("FmDateRangePicker");
|
|
251
|
-
return a(), h(v, {
|
|
252
|
-
"show-predefined-range": "",
|
|
253
|
-
modelValue: u.value,
|
|
254
|
-
"onUpdate:modelValue": n[0] || (n[0] = (k) => u.value = k),
|
|
255
|
-
"start-label": "",
|
|
256
|
-
"end-label": ""
|
|
257
|
-
}, {
|
|
258
|
-
"trigger-button": N(() => [
|
|
259
|
-
m("div", me, [
|
|
260
|
-
x(s, {
|
|
261
|
-
name: "calendar_month",
|
|
262
|
-
size: "sm"
|
|
263
|
-
}),
|
|
264
|
-
m("div", ve, R(o.value), 1)
|
|
265
|
-
])
|
|
266
|
-
]),
|
|
267
|
-
_: 1
|
|
268
|
-
}, 8, ["modelValue"]);
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
}), fe = { class: "flex-1 w-full flex items-center gap-4" }, be = {
|
|
272
|
-
key: 0,
|
|
273
|
-
class: "flex-1"
|
|
274
|
-
}, ye = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, Be = /* @__PURE__ */ T({
|
|
275
|
-
__name: "FmInventoryTableToolbar",
|
|
276
|
-
props: /* @__PURE__ */ K({
|
|
277
|
-
dateRangeQuery: { type: Boolean },
|
|
278
|
-
changeLocation: { type: Boolean },
|
|
279
|
-
searchable: { type: Boolean },
|
|
280
|
-
actions: {},
|
|
281
|
-
usingBusinessHelperText: {},
|
|
282
|
-
showBusiness: { type: Boolean }
|
|
283
|
-
}, {
|
|
284
|
-
search: {},
|
|
285
|
-
searchModifiers: {},
|
|
286
|
-
dateRange: {},
|
|
287
|
-
dateRangeModifiers: {}
|
|
288
|
-
}),
|
|
289
|
-
emits: ["update:search", "update:dateRange"],
|
|
290
|
-
setup(r) {
|
|
291
|
-
const { breakpoints: t } = O(), d = y(() => t.value.xs || t.value.sm), u = U(r, "search"), o = U(r, "dateRange"), { t: l } = Y(), n = j();
|
|
292
|
-
return (s, v) => {
|
|
293
|
-
const k = _("FmTextField"), w = _("FmButton");
|
|
294
|
-
return a(), f("div", {
|
|
295
|
-
class: "flex flex-col gap-8",
|
|
296
|
-
onVnodeMounted: v[2] || (v[2] = //@ts-ignore
|
|
297
|
-
(...e) => c(n).onMounted && c(n).onMounted(...e)),
|
|
298
|
-
onVnodeUnmounted: v[3] || (v[3] = //@ts-ignore
|
|
299
|
-
(...e) => c(n).onUnmounted && c(n).onUnmounted(...e))
|
|
300
|
-
}, [
|
|
301
|
-
m("div", {
|
|
302
|
-
class: D([
|
|
303
|
-
"flex gap-8 items-center",
|
|
304
|
-
{
|
|
305
|
-
"px-8 flex-col-reverse h-[unset]": d.value,
|
|
306
|
-
"h-48": !d.value
|
|
307
|
-
}
|
|
308
|
-
])
|
|
309
|
-
}, [
|
|
310
|
-
s.changeLocation || s.dateRangeQuery ? (a(), f("div", {
|
|
311
|
-
key: 0,
|
|
312
|
-
class: D([
|
|
313
|
-
"flex gap-8 items-center",
|
|
314
|
-
{
|
|
315
|
-
"w-full overflow-x-auto": d.value
|
|
316
|
-
}
|
|
317
|
-
])
|
|
318
|
-
}, [
|
|
319
|
-
s.changeLocation ? (a(), h(de, {
|
|
320
|
-
key: 0,
|
|
321
|
-
"show-business": s.showBusiness
|
|
322
|
-
}, null, 8, ["show-business"])) : g("", !0),
|
|
323
|
-
s.dateRangeQuery ? (a(), h(pe, {
|
|
324
|
-
key: 1,
|
|
325
|
-
"model-value": o.value,
|
|
326
|
-
"onUpdate:modelValue": v[0] || (v[0] = (e) => o.value = e)
|
|
327
|
-
}, null, 8, ["model-value"])) : g("", !0)
|
|
328
|
-
], 2)) : g("", !0),
|
|
329
|
-
m("div", fe, [
|
|
330
|
-
d.value ? g("", !0) : (a(), f("div", be)),
|
|
331
|
-
m("div", ye, [
|
|
332
|
-
s.searchable ? (a(), h(k, {
|
|
333
|
-
key: 0,
|
|
334
|
-
"model-value": u.value,
|
|
335
|
-
"onUpdate:modelValue": v[1] || (v[1] = (e) => u.value = e),
|
|
336
|
-
"prepend-icon": "search",
|
|
337
|
-
placeholder: c(l)("inventory.common.table.toolbar.filterItems"),
|
|
338
|
-
class: "w-full"
|
|
339
|
-
}, null, 8, ["model-value", "placeholder"])) : g("", !0)
|
|
340
|
-
]),
|
|
341
|
-
(a(!0), f(L, null, I(s.actions, (e, p) => (a(), h(w, {
|
|
342
|
-
key: p,
|
|
343
|
-
variant: "tertiary",
|
|
344
|
-
"prepend-icon": e.icon,
|
|
345
|
-
onClick: e.onClick
|
|
346
|
-
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
347
|
-
])
|
|
348
|
-
], 2)
|
|
349
|
-
], 512);
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
export {
|
|
354
|
-
we as _,
|
|
355
|
-
Be as a,
|
|
356
|
-
xe as b,
|
|
357
|
-
z as i,
|
|
358
|
-
j as u
|
|
359
|
-
};
|