@feedmepos/mf-e-invoice 0.0.62 → 0.0.63
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.
|
@@ -9412,22 +9412,22 @@ ft.getAdapter = lu.getAdapter;
|
|
|
9412
9412
|
ft.HttpStatusCode = mo;
|
|
9413
9413
|
ft.default = ft;
|
|
9414
9414
|
const {
|
|
9415
|
-
Axios:
|
|
9415
|
+
Axios: N2,
|
|
9416
9416
|
AxiosError: r0,
|
|
9417
|
-
CanceledError:
|
|
9418
|
-
isCancel:
|
|
9419
|
-
CancelToken:
|
|
9420
|
-
VERSION:
|
|
9421
|
-
all:
|
|
9422
|
-
Cancel:
|
|
9423
|
-
isAxiosError:
|
|
9424
|
-
spread:
|
|
9425
|
-
toFormData:
|
|
9426
|
-
AxiosHeaders:
|
|
9427
|
-
HttpStatusCode:
|
|
9428
|
-
formToJSON:
|
|
9429
|
-
getAdapter:
|
|
9430
|
-
mergeConfig:
|
|
9417
|
+
CanceledError: q2,
|
|
9418
|
+
isCancel: B2,
|
|
9419
|
+
CancelToken: V2,
|
|
9420
|
+
VERSION: L2,
|
|
9421
|
+
all: H2,
|
|
9422
|
+
Cancel: U2,
|
|
9423
|
+
isAxiosError: x2,
|
|
9424
|
+
spread: G2,
|
|
9425
|
+
toFormData: X2,
|
|
9426
|
+
AxiosHeaders: Y2,
|
|
9427
|
+
HttpStatusCode: Z2,
|
|
9428
|
+
formToJSON: W2,
|
|
9429
|
+
getAdapter: Q2,
|
|
9430
|
+
mergeConfig: K2
|
|
9431
9431
|
} = ft, pt = {
|
|
9432
9432
|
getRestaurantProfile: a0,
|
|
9433
9433
|
getMarketingProfile: i0,
|
|
@@ -9949,7 +9949,7 @@ function so(s) {
|
|
|
9949
9949
|
}
|
|
9950
9950
|
var es = {};
|
|
9951
9951
|
(function(s) {
|
|
9952
|
-
var c = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_614822de-1896-4e61-a1c0-cec31cf80618", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_devDependencies_vitest: "^2.0.0", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.8 linux x64", npm_config_always_auth: "true", CI: "true", npm_package_dependencies_vue: "^3.4.21", npm_package_scripts_build_dev_standalone: "cross-env NODE_ENV=development yarn vite build --mode development", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_614822de-1896-4e61-a1c0-cec31cf80618", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_devDependencies_vite: "^5.1.4", npm_package_scripts_build_prod_standalone: "cross-env NODE_ENV=production yarn vite build --mode production", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.69.5", 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_config_init_license: "MIT", NODE_OPTIONS: "--max-old-space-size=4096", GRADLE_HOME: "/usr/share/gradle-9.3.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_devDependencies_npm_run_all2: "^6.0.6", npm_package_dependencies__feedmepos_mf_common: "^1.26.11", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "1826", ACTIONS_ORCHESTRATION_ID: "b87538ed-89d3-43fe-a487-f8c8d8e451ac.deploy.__default", npm_package_devDependencies__tsconfig_node18: "^18.2.2", npm_package_dependencies_dayjs: "^1.11.10", npm_package_dependencies__feedmepos_ui_library: "^1.6.8", npm_config_feedmepos_registry: "https://npm.pkg.github.com", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "# mf-e-invoice", npm_package_devDependencies_typescript: "~5.2.0", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_dependencies__vitejs_plugin_vue_jsx: "^4.0.0", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^1.8.11", npm_package_scripts_build_dev: "dotenv -e .env.development yarn build-only", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260126.10.1", npm_package_devDependencies_prettier: "^3.0.3", npm_package_scripts_build_prod: "dotenv -e .env.production yarn build-only", npm_package_scripts_dev: "cross-env NODE_ENV=development vite --mode development --port 5178", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:10750", GITHUB_WORKFLOW: "Publish mf-e-invoice", _: "/usr/local/bin/yarn", npm_package_devDependencies_autoprefixer: "^10.4.16", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21665141335", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e5682ff2d5549cc4ff1f9fbff6385635660f2103", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^4.3.4", npm_package_scripts_start: "cross-env NODE_ENV=production vite --mode production --port 5178", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/core/.github/workflows/e-invoice-portal-dev.yml@refs/tags/mf-e-invoice/0.0.62", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.6.2", PATH: "/tmp/yarn--1770195765540-0.36498045346531827:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1770195765254-0.8123167416443922:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1770195764866-0.17856916489099883:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/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", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_bb15f559-a455-4d13-9ccc-7a34b1ed9622", INVOCATION_ID: "b72270d47b864e4e8028dd59c065b656", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_name: "@feedmepos/mf-e-invoice", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "98", GITHUB_TRIGGERING_ACTOR: "HJ29", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_publish_github_beta: "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/", npm_package_scripts_publish_github: "npm publish --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/", npm_package_scripts_publish_npm_beta: "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/", npm_package_scripts_publish_npm: "npm publish --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/", npm_package_scripts_build_mf: "vite build --mode fmmf", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.54.0", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000044774", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-e-invoice/0.0.62", GITHUB_REPOSITORY: "feedmepos/core", npm_lifecycle_script: "vite build --mode fmmf", npm_package_dependencies__feedmepos_core: "^2.14.28", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_scripts_test: "vitest run", npm_config_version_git_message: "v%s", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "690880264", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:mf", npm_package_devDependencies_jsdom: "^24.0.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.15.0", npm_package_scripts_build_only: "yarn build:mf && yarn build:dts", npm_package_version: "0.0.62", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","build:dev"],"original":["build:dev"]}', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/core/core", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "e5682ff2d5549cc4ff1f9fbff6385635660f2103", GITHUB_RUN_ATTEMPT: "1", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/tags/mf-e-invoice/0.0.62", GITHUB_ACTOR: "HJ29", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_config_strict_ssl: "true", VITE_PINIA_STORE: "mf-e-invoice", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_614822de-1896-4e61-a1c0-cec31cf80618", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/core/core/apps/e-invoice-portal", GITHUB_ACTOR_ID: "24311533", RUNNER_WORKSPACE: "/home/runner/work/core", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_614822de-1896-4e61-a1c0-cec31cf80618", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_devDependencies_postcss: "^8.4.31", npm_package_devDependencies_eslint_plugin_vue: "^9.19.2", npm_package_devDependencies_cross_env: "^7.0.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", VITE_BACKEND_URL: "https://e-invoice-dev.feedmeapi.com/e-invoice", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy_beta: "yarn run build-only && yarn run publish-npm:beta && yarn run publish-github:beta && yarn run purge:beta", npm_package_scripts_deploy: "yarn run build-only && yarn run publish-npm && yarn run publish-github && yarn run purge:prod", npm_package_scripts_preview: "vite preview", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", INIT_CWD: "/home/runner/work/core/core/apps/e-invoice-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_614822de-1896-4e61-a1c0-cec31cf80618", npm_package_dependencies_libphonenumber_js: "^1.12.10", NODE_ENV: "production" } }, d = typeof c < "u" && (c.versions || {}).hasOwnProperty("node"), v = d ? Object.create(globalThis) : globalThis;
|
|
9952
|
+
var c = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8c4ea7f8-8a8e-46de-9c1e-5143b5e56f57", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_devDependencies_vitest: "^2.0.0", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.8 linux x64", npm_config_always_auth: "true", CI: "true", npm_package_dependencies_vue: "^3.4.21", npm_package_scripts_build_dev_standalone: "cross-env NODE_ENV=development yarn vite build --mode development", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8c4ea7f8-8a8e-46de-9c1e-5143b5e56f57", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_devDependencies_vite: "^5.1.4", npm_package_scripts_build_prod_standalone: "cross-env NODE_ENV=production yarn vite build --mode production", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.69.5", 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_config_init_license: "MIT", NODE_OPTIONS: "--max-old-space-size=4096", GRADLE_HOME: "/usr/share/gradle-9.3.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_devDependencies_npm_run_all2: "^6.0.6", npm_package_dependencies__feedmepos_mf_common: "^1.26.11", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "1828", ACTIONS_ORCHESTRATION_ID: "e68a84c5-ad6d-4f4c-ad80-7bd9503f09c1.deploy.__default", npm_package_devDependencies__tsconfig_node18: "^18.2.2", npm_package_dependencies_dayjs: "^1.11.10", npm_package_dependencies__feedmepos_ui_library: "^1.6.8", npm_config_feedmepos_registry: "https://npm.pkg.github.com", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "# mf-e-invoice", npm_package_devDependencies_typescript: "~5.2.0", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_dependencies__vitejs_plugin_vue_jsx: "^4.0.0", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^1.8.11", npm_package_scripts_build_dev: "dotenv -e .env.development yarn build-only", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260126.10.1", npm_package_devDependencies_prettier: "^3.0.3", npm_package_scripts_build_prod: "dotenv -e .env.production yarn build-only", npm_package_scripts_dev: "cross-env NODE_ENV=development vite --mode development --port 5178", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13644", GITHUB_WORKFLOW: "Publish mf-e-invoice", _: "/usr/local/bin/yarn", npm_package_devDependencies_autoprefixer: "^10.4.16", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21699809634", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e27777304fa73b6102b25f0f2bf98f6579c295a0", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^4.3.4", npm_package_scripts_start: "cross-env NODE_ENV=production vite --mode production --port 5178", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/core/.github/workflows/e-invoice-portal-dev.yml@refs/tags/mf-e-invoice/0.0.63", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.6.2", PATH: "/tmp/yarn--1770268748357-0.5572918237587468:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1770268748092-0.22990722627268467:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1770268747706-0.4181903149368087:/home/runner/work/core/core/apps/e-invoice-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.8/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", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_71ccaafd-38ed-44f2-9682-0c2eb9871ce3", INVOCATION_ID: "e707ec308ee64d80b3a51f3e4122ecef", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_name: "@feedmepos/mf-e-invoice", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "99", GITHUB_TRIGGERING_ACTOR: "gaialance", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_publish_github_beta: "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/", npm_package_scripts_publish_github: "npm publish --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/", npm_package_scripts_publish_npm_beta: "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/", npm_package_scripts_publish_npm: "npm publish --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/", npm_package_scripts_build_mf: "vite build --mode fmmf", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.54.0", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000044972", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-e-invoice/0.0.63", GITHUB_REPOSITORY: "feedmepos/core", npm_lifecycle_script: "vite build --mode fmmf", npm_package_dependencies__feedmepos_core: "^2.14.28", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_scripts_test: "vitest run", npm_config_version_git_message: "v%s", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "690880264", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:mf", npm_package_devDependencies_jsdom: "^24.0.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.15.0", npm_package_scripts_build_only: "yarn build:mf && yarn build:dts", npm_package_version: "0.0.63", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","build:dev"],"original":["build:dev"]}', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/core/core", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "e27777304fa73b6102b25f0f2bf98f6579c295a0", GITHUB_RUN_ATTEMPT: "1", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/tags/mf-e-invoice/0.0.63", GITHUB_ACTOR: "gaialance", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_config_strict_ssl: "true", VITE_PINIA_STORE: "mf-e-invoice", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_8c4ea7f8-8a8e-46de-9c1e-5143b5e56f57", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/core/core/apps/e-invoice-portal", GITHUB_ACTOR_ID: "35401028", RUNNER_WORKSPACE: "/home/runner/work/core", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8c4ea7f8-8a8e-46de-9c1e-5143b5e56f57", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_devDependencies_postcss: "^8.4.31", npm_package_devDependencies_eslint_plugin_vue: "^9.19.2", npm_package_devDependencies_cross_env: "^7.0.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", VITE_BACKEND_URL: "https://e-invoice-dev.feedmeapi.com/e-invoice", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy_beta: "yarn run build-only && yarn run publish-npm:beta && yarn run publish-github:beta && yarn run purge:beta", npm_package_scripts_deploy: "yarn run build-only && yarn run publish-npm && yarn run publish-github && yarn run purge:prod", npm_package_scripts_preview: "vite preview", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", INIT_CWD: "/home/runner/work/core/core/apps/e-invoice-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_8c4ea7f8-8a8e-46de-9c1e-5143b5e56f57", npm_package_dependencies_libphonenumber_js: "^1.12.10", NODE_ENV: "production" } }, d = typeof c < "u" && (c.versions || {}).hasOwnProperty("node"), v = d ? Object.create(globalThis) : globalThis;
|
|
9953
9953
|
if (v.scheduleImmediate = typeof setImmediate < "u" ? function(F) {
|
|
9954
9954
|
setImmediate(F);
|
|
9955
9955
|
} : function(F) {
|
|
@@ -30146,7 +30146,7 @@ const wu = new Xh(), Yh = {
|
|
|
30146
30146
|
}, 8, ["modelValue"]);
|
|
30147
30147
|
};
|
|
30148
30148
|
}
|
|
30149
|
-
}), Jh = { class: "mb-40 flex flex-col" },
|
|
30149
|
+
}), Jh = { class: "mb-40 flex flex-col" }, em = { class: "grow" }, tm = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, nm = { class: "flex items-end space-x-16" }, rm = { class: "grow" }, am = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, im = { class: "flex flex-col items-end" }, om = /* @__PURE__ */ It({
|
|
30150
30150
|
__name: "ThailandSettingDialog",
|
|
30151
30151
|
setup(s, { expose: c }) {
|
|
30152
30152
|
c({
|
|
@@ -30231,11 +30231,11 @@ const wu = new Xh(), Yh = {
|
|
|
30231
30231
|
}, null, 8, ["name"]))
|
|
30232
30232
|
]),
|
|
30233
30233
|
default: Me(() => [
|
|
30234
|
-
K("div",
|
|
30234
|
+
K("div", em, [
|
|
30235
30235
|
K("div", null, lt(de.name), 1),
|
|
30236
|
-
K("div",
|
|
30236
|
+
K("div", tm, lt(de.profile._id.length ? "Activated" : "Not activated"), 1)
|
|
30237
30237
|
]),
|
|
30238
|
-
K("div",
|
|
30238
|
+
K("div", nm, [
|
|
30239
30239
|
se(fe, { name: "edit" }),
|
|
30240
30240
|
G.value && de.profile._id.length ? (ze(), _e(fe, {
|
|
30241
30241
|
key: 0,
|
|
@@ -30259,11 +30259,11 @@ const wu = new Xh(), Yh = {
|
|
|
30259
30259
|
})
|
|
30260
30260
|
]),
|
|
30261
30261
|
default: Me(() => [
|
|
30262
|
-
K("div",
|
|
30262
|
+
K("div", rm, [
|
|
30263
30263
|
L[3] || (L[3] = K("div", null, "Marketing store", -1)),
|
|
30264
|
-
K("div",
|
|
30264
|
+
K("div", am, lt(I.value.profile._id.length ? "Activated" : "Not activated"), 1)
|
|
30265
30265
|
]),
|
|
30266
|
-
K("div",
|
|
30266
|
+
K("div", im, [
|
|
30267
30267
|
se(fe, { name: "edit" })
|
|
30268
30268
|
])
|
|
30269
30269
|
]),
|
|
@@ -30290,7 +30290,7 @@ const wu = new Xh(), Yh = {
|
|
|
30290
30290
|
};
|
|
30291
30291
|
}
|
|
30292
30292
|
});
|
|
30293
|
-
function
|
|
30293
|
+
function sm(s) {
|
|
30294
30294
|
return {
|
|
30295
30295
|
type: "restaurant",
|
|
30296
30296
|
restaurantId: s._id,
|
|
@@ -30305,7 +30305,7 @@ function s2(s) {
|
|
|
30305
30305
|
branchCode: s.profile.code || ""
|
|
30306
30306
|
};
|
|
30307
30307
|
}
|
|
30308
|
-
function
|
|
30308
|
+
function lm(s, c) {
|
|
30309
30309
|
return {
|
|
30310
30310
|
type: "marketing",
|
|
30311
30311
|
_id: "",
|
|
@@ -30325,7 +30325,7 @@ function l2(s, c) {
|
|
|
30325
30325
|
branchCode: ""
|
|
30326
30326
|
};
|
|
30327
30327
|
}
|
|
30328
|
-
function
|
|
30328
|
+
function um(s) {
|
|
30329
30329
|
const c = [
|
|
30330
30330
|
{
|
|
30331
30331
|
title: "Submission date",
|
|
@@ -30391,9 +30391,9 @@ function u2(s) {
|
|
|
30391
30391
|
class: "col-span-2",
|
|
30392
30392
|
value: Ri(N)
|
|
30393
30393
|
}
|
|
30394
|
-
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ?
|
|
30394
|
+
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ? cm(
|
|
30395
30395
|
s.customer
|
|
30396
|
-
) :
|
|
30396
|
+
) : fm(
|
|
30397
30397
|
s.customer
|
|
30398
30398
|
) : void 0;
|
|
30399
30399
|
return {
|
|
@@ -30402,12 +30402,12 @@ function u2(s) {
|
|
|
30402
30402
|
submissionDetails: c,
|
|
30403
30403
|
merchant: R,
|
|
30404
30404
|
customer: V,
|
|
30405
|
-
formatDocuments: () => [
|
|
30405
|
+
formatDocuments: () => [hm(s)],
|
|
30406
30406
|
sendEmail: void 0,
|
|
30407
30407
|
canSendEmail: !1
|
|
30408
30408
|
};
|
|
30409
30409
|
}
|
|
30410
|
-
async function
|
|
30410
|
+
async function dm(s, c) {
|
|
30411
30411
|
if (!(s != null && s.length)) return;
|
|
30412
30412
|
const d = s[0].merchant, v = Ri(d.address), z = d.branchCode || "-", F = d.tinNo || "-", j = Je(c.startDate).format("DD/MM/YYYY"), I = Je(c.endDate).format("DD/MM/YYYY"), N = Je().format("DD/MM/YYYY"), R = Je().format("HH:mm"), V = (ge) => et.Dinero.fromFdoDinero(ge).toFormat(), Z = "Tax Summary Report", oe = `Date: ${j} to ${I}`, ue = [
|
|
30413
30413
|
`Company Name: ${d.name}`,
|
|
@@ -30469,7 +30469,7 @@ function Ri(s) {
|
|
|
30469
30469
|
const { line1: c, line2: d, postcode: v, city: z, state: F, country: j } = s;
|
|
30470
30470
|
return [c, d || "", v, z, F, j].map((I) => I.replace(/,\s*$/, "")).filter((I) => !!I.trim()).join(", ");
|
|
30471
30471
|
}
|
|
30472
|
-
function
|
|
30472
|
+
function cm(s) {
|
|
30473
30473
|
const c = [];
|
|
30474
30474
|
return c.push({
|
|
30475
30475
|
title: "Name",
|
|
@@ -30489,7 +30489,7 @@ function c2(s) {
|
|
|
30489
30489
|
value: Ri(s.address)
|
|
30490
30490
|
}), c;
|
|
30491
30491
|
}
|
|
30492
|
-
function
|
|
30492
|
+
function fm(s) {
|
|
30493
30493
|
const c = [];
|
|
30494
30494
|
return c.push({
|
|
30495
30495
|
title: "Name",
|
|
@@ -30512,7 +30512,7 @@ function f2(s) {
|
|
|
30512
30512
|
value: s.branchCode
|
|
30513
30513
|
}), c;
|
|
30514
30514
|
}
|
|
30515
|
-
function
|
|
30515
|
+
function hm(s) {
|
|
30516
30516
|
return { fields: [
|
|
30517
30517
|
{
|
|
30518
30518
|
title: "Document No.",
|
|
@@ -30536,9 +30536,9 @@ function h2(s) {
|
|
|
30536
30536
|
}
|
|
30537
30537
|
] };
|
|
30538
30538
|
}
|
|
30539
|
-
class
|
|
30539
|
+
class mm extends Jo {
|
|
30540
30540
|
get settingDialogComponent() {
|
|
30541
|
-
return
|
|
30541
|
+
return om;
|
|
30542
30542
|
}
|
|
30543
30543
|
getDate() {
|
|
30544
30544
|
return {
|
|
@@ -30547,22 +30547,22 @@ class m2 extends Jo {
|
|
|
30547
30547
|
};
|
|
30548
30548
|
}
|
|
30549
30549
|
formatSubmission(c) {
|
|
30550
|
-
return
|
|
30550
|
+
return um(c);
|
|
30551
30551
|
}
|
|
30552
30552
|
sortSubmissions(c) {
|
|
30553
30553
|
return c;
|
|
30554
30554
|
}
|
|
30555
30555
|
exportSubmissions(c, d) {
|
|
30556
|
-
|
|
30556
|
+
dm(c, d);
|
|
30557
30557
|
}
|
|
30558
30558
|
initRestaurantProfile(c) {
|
|
30559
|
-
return
|
|
30559
|
+
return sm(c);
|
|
30560
30560
|
}
|
|
30561
30561
|
initMarketingProfile(c, d) {
|
|
30562
|
-
return
|
|
30562
|
+
return lm(c, d);
|
|
30563
30563
|
}
|
|
30564
30564
|
}
|
|
30565
|
-
const zu = new
|
|
30565
|
+
const zu = new mm(), sr = Du("mf-e-invoice-app", () => {
|
|
30566
30566
|
const s = ke({}), c = ke(null), d = ke(null), v = ke([]), z = ke([]), F = Xe(() => At().currentCountry.value === Pt.F_COUNTRY.enum.TH ? zu : wu), j = Xe(() => [
|
|
30567
30567
|
...Object.values(s.value),
|
|
30568
30568
|
...c.value ? [c.value] : []
|
|
@@ -30682,13 +30682,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30682
30682
|
getMenu: G,
|
|
30683
30683
|
getMarketingMenu: ee
|
|
30684
30684
|
};
|
|
30685
|
-
}),
|
|
30685
|
+
}), pm = { class: "flex fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 fm-typo-en-body-md-600 text-fm-color-neutral-gray-400" }, Eu = /* @__PURE__ */ It({
|
|
30686
30686
|
__name: "EInvoiceTableHeader",
|
|
30687
30687
|
props: {
|
|
30688
30688
|
fields: {}
|
|
30689
30689
|
},
|
|
30690
30690
|
setup(s) {
|
|
30691
|
-
return (c, d) => (ze(), We("div",
|
|
30691
|
+
return (c, d) => (ze(), We("div", pm, [
|
|
30692
30692
|
(ze(!0), We(mt, null, yt(s.fields, (v, z) => (ze(), We("div", {
|
|
30693
30693
|
key: z,
|
|
30694
30694
|
class: "px-16 py-12 flex-1 flex align-center"
|
|
@@ -30702,13 +30702,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30702
30702
|
]))), 128))
|
|
30703
30703
|
]));
|
|
30704
30704
|
}
|
|
30705
|
-
}),
|
|
30705
|
+
}), gm = { class: "flex fm-typo-en-body-md-400 border-b border-gray-200" }, Am = { key: 1 }, go = /* @__PURE__ */ It({
|
|
30706
30706
|
__name: "EInvoiceTableRow",
|
|
30707
30707
|
props: {
|
|
30708
30708
|
fields: {}
|
|
30709
30709
|
},
|
|
30710
30710
|
setup(s) {
|
|
30711
|
-
return (c, d) => (ze(), We("div",
|
|
30711
|
+
return (c, d) => (ze(), We("div", gm, [
|
|
30712
30712
|
(ze(!0), We(mt, null, yt(s.fields, (v, z) => (ze(), We("div", {
|
|
30713
30713
|
key: z,
|
|
30714
30714
|
class: "px-16 py-12 flex-1"
|
|
@@ -30716,13 +30716,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30716
30716
|
K("div", {
|
|
30717
30717
|
class: _t(["flex align-center", `${v.class} ${z === s.fields.length - 1 ? "flex justify-between" : ""}`])
|
|
30718
30718
|
}, [
|
|
30719
|
-
v.render ? (ze(), _e(qs(v.render), { key: 0 })) : (ze(), We("span",
|
|
30719
|
+
v.render ? (ze(), _e(qs(v.render), { key: 0 })) : (ze(), We("span", Am, lt(v.value ?? "-"), 1)),
|
|
30720
30720
|
z === s.fields.length - 1 ? Ns(c.$slots, "default", { key: 2 }) : rt("", !0)
|
|
30721
30721
|
], 2)
|
|
30722
30722
|
]))), 128))
|
|
30723
30723
|
]));
|
|
30724
30724
|
}
|
|
30725
|
-
}),
|
|
30725
|
+
}), bm = /* @__PURE__ */ It({
|
|
30726
30726
|
__name: "SendEmailDialog",
|
|
30727
30727
|
props: {
|
|
30728
30728
|
email: {
|
|
@@ -30757,27 +30757,27 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30757
30757
|
});
|
|
30758
30758
|
};
|
|
30759
30759
|
}
|
|
30760
|
-
}),
|
|
30760
|
+
}), vm = {
|
|
30761
30761
|
class: /* @__PURE__ */ _t([
|
|
30762
30762
|
"flex items-center",
|
|
30763
30763
|
"px-24 pt-16 pb-8",
|
|
30764
30764
|
"border-b border-fm-color-neutral-gray-100",
|
|
30765
30765
|
"space-x-4"
|
|
30766
30766
|
])
|
|
30767
|
-
},
|
|
30767
|
+
}, ym = {
|
|
30768
30768
|
class: /* @__PURE__ */ _t([
|
|
30769
30769
|
"flex flex-col",
|
|
30770
30770
|
"flex-1 overflow-scroll",
|
|
30771
30771
|
"w-full",
|
|
30772
30772
|
"px-24"
|
|
30773
30773
|
])
|
|
30774
|
-
},
|
|
30774
|
+
}, wm = { class: "flex space-x-40 max-w-[1200px] mx-auto w-full" }, zm = { class: "flex-1 flex flex-col space-y-24" }, Em = {
|
|
30775
30775
|
key: 0,
|
|
30776
30776
|
class: "flex flex-col gap-40 py-8"
|
|
30777
|
-
},
|
|
30777
|
+
}, Cm = { class: "grid sm:grid-cols-1 grid-cols-3 sm:gap-y-16 sm:gap-x-0 gap-x-16" }, Fm = { class: "flex-1 border-2 p-16 fm-corner-radius-lg" }, Tm = { class: "grid grid-cols gap-16" }, Pm = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Im = { class: "grid grid-cols-2 gap-16" }, jm = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Sm = { class: "break-words" }, Om = {
|
|
30778
30778
|
key: 0,
|
|
30779
30779
|
class: "flex-1 border-2 p-16 fm-corner-radius-lg"
|
|
30780
|
-
},
|
|
30780
|
+
}, Mm = { class: "grid grid-cols-2 gap-16" }, Rm = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, km = { class: "break-words" }, Dm = { class: "flex justify-end gap-16" }, Nm = { class: "table-group" }, qm = /* @__PURE__ */ It({
|
|
30781
30781
|
__name: "EInvoiceSubmission",
|
|
30782
30782
|
setup(s, { expose: c }) {
|
|
30783
30783
|
const d = ke(), v = ke("");
|
|
@@ -30834,7 +30834,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30834
30834
|
title: "Send Email",
|
|
30835
30835
|
primaryActions: { text: "Send", close: !1 },
|
|
30836
30836
|
secondaryActions: { text: "Cancel", close: !0 },
|
|
30837
|
-
contentComponent:
|
|
30837
|
+
contentComponent: bm,
|
|
30838
30838
|
contentComponentProps: {
|
|
30839
30839
|
email: ((X = (H = (re = d.value) == null ? void 0 : re.raw) == null ? void 0 : H.customer) == null ? void 0 : X.email) || ""
|
|
30840
30840
|
}
|
|
@@ -30872,7 +30872,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30872
30872
|
onKeyup: H[2] || (H[2] = Ru(() => z(), ["esc"]))
|
|
30873
30873
|
}, {
|
|
30874
30874
|
default: Me(() => [
|
|
30875
|
-
K("div",
|
|
30875
|
+
K("div", vm, [
|
|
30876
30876
|
H[3] || (H[3] = K("p", { class: "fm-typo-en-title-sm-600 mr-auto" }, "Submission Detail", -1)),
|
|
30877
30877
|
se(X, {
|
|
30878
30878
|
variant: "tertiary",
|
|
@@ -30881,18 +30881,18 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30881
30881
|
onClick: H[0] || (H[0] = () => z())
|
|
30882
30882
|
})
|
|
30883
30883
|
]),
|
|
30884
|
-
K("div",
|
|
30885
|
-
K("div",
|
|
30886
|
-
K("div",
|
|
30887
|
-
d.value ? (ze(), We("div",
|
|
30888
|
-
K("div",
|
|
30889
|
-
K("div",
|
|
30884
|
+
K("div", ym, [
|
|
30885
|
+
K("div", wm, [
|
|
30886
|
+
K("div", zm, [
|
|
30887
|
+
d.value ? (ze(), We("div", Em, [
|
|
30888
|
+
K("div", Cm, [
|
|
30889
|
+
K("div", Fm, [
|
|
30890
30890
|
H[4] || (H[4] = K("div", { class: "flex items-center mb-16" }, [
|
|
30891
30891
|
K("div", { class: "fm-typo-en-title-sm-600" }, "Submission")
|
|
30892
30892
|
], -1)),
|
|
30893
|
-
K("div",
|
|
30893
|
+
K("div", Tm, [
|
|
30894
30894
|
(ze(!0), We(mt, null, yt(N.value, (ie, je) => (ze(), We("div", { key: je }, [
|
|
30895
|
-
K("div",
|
|
30895
|
+
K("div", Pm, lt(ie.title), 1),
|
|
30896
30896
|
K("div", null, lt(ie.value || "Not provided"), 1)
|
|
30897
30897
|
]))), 128))
|
|
30898
30898
|
])
|
|
@@ -30903,32 +30903,32 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30903
30903
|
H[5] || (H[5] = K("div", { class: "flex items-center mb-16" }, [
|
|
30904
30904
|
K("div", { class: "fm-typo-en-title-sm-600" }, " Merchant profile ")
|
|
30905
30905
|
], -1)),
|
|
30906
|
-
K("div",
|
|
30906
|
+
K("div", Im, [
|
|
30907
30907
|
(ze(!0), We(mt, null, yt(F.value, (ie, je) => (ze(), We("div", {
|
|
30908
30908
|
key: je,
|
|
30909
30909
|
class: _t(ie.class)
|
|
30910
30910
|
}, [
|
|
30911
|
-
K("div",
|
|
30912
|
-
K("div",
|
|
30911
|
+
K("div", jm, lt(ie.title), 1),
|
|
30912
|
+
K("div", Sm, lt(ie.value || "Not provided"), 1)
|
|
30913
30913
|
], 2))), 128))
|
|
30914
30914
|
])
|
|
30915
30915
|
], 2),
|
|
30916
|
-
I.value ? (ze(), We("div",
|
|
30916
|
+
I.value ? (ze(), We("div", Om, [
|
|
30917
30917
|
H[6] || (H[6] = K("div", { class: "flex items-center mb-16" }, [
|
|
30918
30918
|
K("div", { class: "fm-typo-en-title-sm-600" }, " Customer profile ")
|
|
30919
30919
|
], -1)),
|
|
30920
|
-
K("div",
|
|
30920
|
+
K("div", Mm, [
|
|
30921
30921
|
(ze(!0), We(mt, null, yt(j.value, (ie, je) => (ze(), We("div", {
|
|
30922
30922
|
key: je,
|
|
30923
30923
|
class: _t(ie.class)
|
|
30924
30924
|
}, [
|
|
30925
|
-
K("div",
|
|
30926
|
-
K("div",
|
|
30925
|
+
K("div", Rm, lt(ie.title), 1),
|
|
30926
|
+
K("div", km, lt(ie.value || "Not provided"), 1)
|
|
30927
30927
|
], 2))), 128))
|
|
30928
30928
|
])
|
|
30929
30929
|
])) : rt("", !0)
|
|
30930
30930
|
]),
|
|
30931
|
-
K("div",
|
|
30931
|
+
K("div", Dm, [
|
|
30932
30932
|
se(de, {
|
|
30933
30933
|
modelValue: v.value,
|
|
30934
30934
|
"onUpdate:modelValue": H[1] || (H[1] = (ie) => v.value = ie),
|
|
@@ -30971,7 +30971,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30971
30971
|
fields: R.value[0].fields
|
|
30972
30972
|
}, null, 8, ["fields"]),
|
|
30973
30973
|
(ze(!0), We(mt, null, yt(Z.value, (ie, je) => (ze(), We("div", { key: je }, [
|
|
30974
|
-
K("div",
|
|
30974
|
+
K("div", Nm, [
|
|
30975
30975
|
se(go, {
|
|
30976
30976
|
fields: ie.fields,
|
|
30977
30977
|
onClick: () => L(je),
|
|
@@ -31011,7 +31011,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31011
31011
|
]);
|
|
31012
31012
|
};
|
|
31013
31013
|
}
|
|
31014
|
-
}),
|
|
31014
|
+
}), Bm = { class: "h-full flex flex-col" }, Vm = { class: "flex flex-col gap-y-16" }, Lm = { class: "w-full" }, Hm = { class: "w-full" }, Um = { class: "w-full" }, xm = { class: "grow overflow-y-auto" }, Gm = { class: "flex-1 px-16 py-16" }, Xm = { class: "flex-1 px-16 py-8" }, Ym = { class: "flex gap-8 items-center justify-start" }, Zm = /* @__PURE__ */ It({
|
|
31015
31015
|
__name: "VietnamItemSettingsDialog",
|
|
31016
31016
|
emits: ["onComplete"],
|
|
31017
31017
|
setup(s, { expose: c, emit: d }) {
|
|
@@ -31054,7 +31054,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31054
31054
|
K("span", { class: "fm-typo-en-title-md-800" }, "Item settings", -1)
|
|
31055
31055
|
])]),
|
|
31056
31056
|
"side-sheet-footer": Me(() => [
|
|
31057
|
-
K("div",
|
|
31057
|
+
K("div", Ym, [
|
|
31058
31058
|
se(de, {
|
|
31059
31059
|
variant: "primary",
|
|
31060
31060
|
size: "lg",
|
|
@@ -31070,9 +31070,9 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31070
31070
|
])
|
|
31071
31071
|
]),
|
|
31072
31072
|
default: Me(() => [
|
|
31073
|
-
K("div",
|
|
31074
|
-
K("div",
|
|
31075
|
-
K("div",
|
|
31073
|
+
K("div", Bm, [
|
|
31074
|
+
K("div", Vm, [
|
|
31075
|
+
K("div", Lm, [
|
|
31076
31076
|
se(fe, {
|
|
31077
31077
|
class: "mb-16",
|
|
31078
31078
|
description: `For item with exempted tax ${ee.value} need specify reason when submit e-invoice. You
|
|
@@ -31080,7 +31080,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31080
31080
|
variant: "info"
|
|
31081
31081
|
}, null, 8, ["description"])
|
|
31082
31082
|
]),
|
|
31083
|
-
K("div",
|
|
31083
|
+
K("div", Hm, [
|
|
31084
31084
|
se(re, {
|
|
31085
31085
|
modelValue: I.value,
|
|
31086
31086
|
"onUpdate:modelValue": te[0] || (te[0] = (we) => I.value = we),
|
|
@@ -31088,7 +31088,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31088
31088
|
label: "Show exempted only"
|
|
31089
31089
|
}, null, 8, ["modelValue"])
|
|
31090
31090
|
]),
|
|
31091
|
-
K("div",
|
|
31091
|
+
K("div", Um, [
|
|
31092
31092
|
se(H, {
|
|
31093
31093
|
modelValue: j.value,
|
|
31094
31094
|
"onUpdate:modelValue": te[1] || (te[1] = (we) => j.value = we),
|
|
@@ -31101,15 +31101,15 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31101
31101
|
K("div", { class: "flex-1 px-16 py-8 bg-fm-color-neutral-gray-100" }, " Item name "),
|
|
31102
31102
|
K("div", { class: "flex-1 px-16 py-8 bg-fm-color-neutral-gray-100" }, " Exempted reason ")
|
|
31103
31103
|
], -1)),
|
|
31104
|
-
K("div",
|
|
31104
|
+
K("div", xm, [
|
|
31105
31105
|
(ze(!0), We(mt, null, yt(N.value, (we) => {
|
|
31106
31106
|
var Ze;
|
|
31107
31107
|
return ze(), We("div", {
|
|
31108
31108
|
key: we.id,
|
|
31109
31109
|
class: "flex"
|
|
31110
31110
|
}, [
|
|
31111
|
-
K("div",
|
|
31112
|
-
K("div",
|
|
31111
|
+
K("div", Gm, lt(we.name), 1),
|
|
31112
|
+
K("div", Xm, [
|
|
31113
31113
|
se(X, {
|
|
31114
31114
|
"model-value": (Ze = z.value[we.id]) == null ? void 0 : Ze.taxExemptionReason,
|
|
31115
31115
|
placeholder: "NA",
|
|
@@ -31127,13 +31127,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31127
31127
|
}, 8, ["modelValue"]);
|
|
31128
31128
|
};
|
|
31129
31129
|
}
|
|
31130
|
-
}),
|
|
31130
|
+
}), Wm = {
|
|
31131
31131
|
key: 0,
|
|
31132
31132
|
class: "h-full w-full flex flex-col gap-24 justify-center items-center"
|
|
31133
|
-
},
|
|
31133
|
+
}, Qm = { class: "flex flex-col gap-40" }, Km = {
|
|
31134
31134
|
key: 0,
|
|
31135
31135
|
class: "flex flex-col gap-16"
|
|
31136
|
-
},
|
|
31136
|
+
}, _m = { class: "flex flex-col gap-16" }, $m = { class: "flex sm:flex-col gap-16" }, Jm = { class: "flex gap-8 items-center justify-start" }, e2 = /* @__PURE__ */ It({
|
|
31137
31137
|
__name: "VietnamProfileDialog",
|
|
31138
31138
|
emits: ["onCompleted"],
|
|
31139
31139
|
setup(s, { expose: c, emit: d }) {
|
|
@@ -31223,7 +31223,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31223
31223
|
K("span", { class: "fm-typo-en-title-md-800" }, "Update profile", -1)
|
|
31224
31224
|
])]),
|
|
31225
31225
|
"side-sheet-footer": Me(() => [
|
|
31226
|
-
K("div",
|
|
31226
|
+
K("div", Jm, [
|
|
31227
31227
|
se(ie, {
|
|
31228
31228
|
variant: "primary",
|
|
31229
31229
|
size: "lg",
|
|
@@ -31237,7 +31237,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31237
31237
|
])
|
|
31238
31238
|
]),
|
|
31239
31239
|
default: Me(() => [
|
|
31240
|
-
ue.value ? (ze(), We("div",
|
|
31240
|
+
ue.value ? (ze(), We("div", Wm, [
|
|
31241
31241
|
se(de, { size: "xxl" }),
|
|
31242
31242
|
X[18] || (X[18] = K("div", null, "Saving profile", -1))
|
|
31243
31243
|
])) : I.value ? (ze(), _e(Ue, {
|
|
@@ -31247,8 +31247,8 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31247
31247
|
onValidationSuccess: L
|
|
31248
31248
|
}, {
|
|
31249
31249
|
default: Me(() => [
|
|
31250
|
-
K("div",
|
|
31251
|
-
I.value ? (ze(), We("div",
|
|
31250
|
+
K("div", Qm, [
|
|
31251
|
+
I.value ? (ze(), We("div", Km, [
|
|
31252
31252
|
X[19] || (X[19] = K("div", { class: "fm-typo-en-title-sm-800" }, "General Info", -1)),
|
|
31253
31253
|
se(ge, {
|
|
31254
31254
|
modelValue: I.value.name,
|
|
@@ -31329,7 +31329,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31329
31329
|
rules: [(be) => !!be || "Register no. is required"]
|
|
31330
31330
|
}, null, 8, ["modelValue", "rules"])
|
|
31331
31331
|
])) : rt("", !0),
|
|
31332
|
-
K("div",
|
|
31332
|
+
K("div", _m, [
|
|
31333
31333
|
X[20] || (X[20] = K("div", { class: "fm-typo-en-title-sm-800" }, "Address", -1)),
|
|
31334
31334
|
se(ge, {
|
|
31335
31335
|
modelValue: I.value.address.line1,
|
|
@@ -31344,7 +31344,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31344
31344
|
label: "Line 2",
|
|
31345
31345
|
rules: [nt(Ua)(!1)]
|
|
31346
31346
|
}, null, 8, ["modelValue", "rules"]),
|
|
31347
|
-
K("div", $
|
|
31347
|
+
K("div", $m, [
|
|
31348
31348
|
se(ge, {
|
|
31349
31349
|
modelValue: I.value.address.city,
|
|
31350
31350
|
"onUpdate:modelValue": X[11] || (X[11] = (be) => I.value.address.city = be),
|
|
@@ -31385,7 +31385,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31385
31385
|
}, 8, ["modelValue"]);
|
|
31386
31386
|
};
|
|
31387
31387
|
}
|
|
31388
|
-
}),
|
|
31388
|
+
}), t2 = { class: "mb-40 flex flex-col" }, n2 = { class: "grow" }, r2 = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, a2 = { class: "flex items-end space-x-16" }, i2 = { class: "grow" }, o2 = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, s2 = { class: "flex flex-col items-end" }, l2 = { class: "flex flex-col items-end" }, u2 = { class: "flex flex-col items-end" }, d2 = /* @__PURE__ */ It({
|
|
31389
31389
|
__name: "VietnamSettingDialog",
|
|
31390
31390
|
setup(s, { expose: c }) {
|
|
31391
31391
|
c({
|
|
@@ -31481,7 +31481,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31481
31481
|
K("span", { class: "fm-typo-en-title-md-800" }, "E-invoice integration", -1)
|
|
31482
31482
|
])]),
|
|
31483
31483
|
default: Me(() => [
|
|
31484
|
-
K("div",
|
|
31484
|
+
K("div", t2, [
|
|
31485
31485
|
X[4] || (X[4] = K("div", { class: "fm-typo-en-title-sm-800 mb-8" }, "Profiles", -1)),
|
|
31486
31486
|
X[5] || (X[5] = K("div", { class: "mb-16" }, " To get started, configure your restaurant and marketing profiles ", -1)),
|
|
31487
31487
|
se(Ze, {
|
|
@@ -31507,11 +31507,11 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31507
31507
|
}, null, 8, ["name"]))
|
|
31508
31508
|
]),
|
|
31509
31509
|
default: Me(() => [
|
|
31510
|
-
K("div",
|
|
31510
|
+
K("div", n2, [
|
|
31511
31511
|
K("div", null, lt(ie.name), 1),
|
|
31512
|
-
K("div",
|
|
31512
|
+
K("div", r2, lt(ie.profile.active ? "Activated" : "Not activated"), 1)
|
|
31513
31513
|
]),
|
|
31514
|
-
K("div",
|
|
31514
|
+
K("div", a2, [
|
|
31515
31515
|
se(ge, { name: "edit" }),
|
|
31516
31516
|
re.value && ie.profile._id.length ? (ze(), _e(ge, {
|
|
31517
31517
|
key: 0,
|
|
@@ -31535,11 +31535,11 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31535
31535
|
})
|
|
31536
31536
|
]),
|
|
31537
31537
|
default: Me(() => [
|
|
31538
|
-
K("div",
|
|
31538
|
+
K("div", i2, [
|
|
31539
31539
|
X[3] || (X[3] = K("div", null, "Marketing store", -1)),
|
|
31540
|
-
K("div",
|
|
31540
|
+
K("div", o2, lt(I.value.profile.active ? "Activated" : "Not activated"), 1)
|
|
31541
31541
|
]),
|
|
31542
|
-
K("div",
|
|
31542
|
+
K("div", s2, [
|
|
31543
31543
|
se(ge, { name: "edit" })
|
|
31544
31544
|
])
|
|
31545
31545
|
]),
|
|
@@ -31573,7 +31573,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31573
31573
|
K("div", null, "Menu items"),
|
|
31574
31574
|
K("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Configure exempted tax reason for your menu items ")
|
|
31575
31575
|
], -1)),
|
|
31576
|
-
K("div",
|
|
31576
|
+
K("div", l2, [
|
|
31577
31577
|
se(ge, { name: "edit" })
|
|
31578
31578
|
])
|
|
31579
31579
|
]),
|
|
@@ -31596,7 +31596,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31596
31596
|
K("div", null, "Marketing bundle"),
|
|
31597
31597
|
K("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Configure exempted tax reason for your marketing bundles ")
|
|
31598
31598
|
], -1)),
|
|
31599
|
-
K("div",
|
|
31599
|
+
K("div", u2, [
|
|
31600
31600
|
se(ge, { name: "edit" })
|
|
31601
31601
|
])
|
|
31602
31602
|
]),
|
|
@@ -31609,7 +31609,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31609
31609
|
]),
|
|
31610
31610
|
_: 1
|
|
31611
31611
|
}, 8, ["modelValue"]),
|
|
31612
|
-
se(
|
|
31612
|
+
se(e2, {
|
|
31613
31613
|
ref_key: "eInvoiceSettingDialogRef",
|
|
31614
31614
|
ref: v,
|
|
31615
31615
|
onOnCompleted: R
|
|
@@ -31619,7 +31619,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31619
31619
|
ref: z,
|
|
31620
31620
|
onOnCompleted: V
|
|
31621
31621
|
}, null, 512),
|
|
31622
|
-
se(
|
|
31622
|
+
se(Zm, {
|
|
31623
31623
|
ref_key: "eInvoiceItemSettingsDialogRef",
|
|
31624
31624
|
ref: G,
|
|
31625
31625
|
onOnComplete: te
|
|
@@ -31628,7 +31628,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31628
31628
|
};
|
|
31629
31629
|
}
|
|
31630
31630
|
});
|
|
31631
|
-
function
|
|
31631
|
+
function c2(s) {
|
|
31632
31632
|
return {
|
|
31633
31633
|
type: "restaurant",
|
|
31634
31634
|
restaurantId: s._id,
|
|
@@ -31649,7 +31649,7 @@ function cm(s) {
|
|
|
31649
31649
|
password: s.profile.password || ""
|
|
31650
31650
|
};
|
|
31651
31651
|
}
|
|
31652
|
-
function
|
|
31652
|
+
function f2(s, c) {
|
|
31653
31653
|
return {
|
|
31654
31654
|
type: "marketing",
|
|
31655
31655
|
active: null,
|
|
@@ -31675,7 +31675,7 @@ function fm(s, c) {
|
|
|
31675
31675
|
password: (c == null ? void 0 : c.company.password) || ""
|
|
31676
31676
|
};
|
|
31677
31677
|
}
|
|
31678
|
-
function
|
|
31678
|
+
function h2(s) {
|
|
31679
31679
|
var oe, ue;
|
|
31680
31680
|
const c = [
|
|
31681
31681
|
{
|
|
@@ -31743,9 +31743,9 @@ function hm(s) {
|
|
|
31743
31743
|
class: "col-span-2",
|
|
31744
31744
|
value: is(N)
|
|
31745
31745
|
}
|
|
31746
|
-
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ?
|
|
31746
|
+
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ? m2(
|
|
31747
31747
|
s.customer
|
|
31748
|
-
) :
|
|
31748
|
+
) : p2(
|
|
31749
31749
|
s.customer
|
|
31750
31750
|
) : void 0, Z = {
|
|
31751
31751
|
raw: s,
|
|
@@ -31753,7 +31753,7 @@ function hm(s) {
|
|
|
31753
31753
|
submissionDetails: d,
|
|
31754
31754
|
merchant: R,
|
|
31755
31755
|
customer: V,
|
|
31756
|
-
formatDocuments: () => [
|
|
31756
|
+
formatDocuments: () => [g2(s)],
|
|
31757
31757
|
sendEmail: (G) => {
|
|
31758
31758
|
pt.sendSubmissionEmail(s.submissionUid, G);
|
|
31759
31759
|
},
|
|
@@ -31763,7 +31763,7 @@ function hm(s) {
|
|
|
31763
31763
|
...Z,
|
|
31764
31764
|
export: {
|
|
31765
31765
|
excel: () => {
|
|
31766
|
-
const G =
|
|
31766
|
+
const G = A2(Z), ee = new Blob([G], { type: "text/csv;charset=utf-8;" }), L = document.createElement("a"), te = URL.createObjectURL(ee);
|
|
31767
31767
|
L.setAttribute("href", te), L.setAttribute("download", `${s.submissionUid}.csv`), L.style.visibility = "hidden", document.body.appendChild(L), L.click(), document.body.removeChild(L);
|
|
31768
31768
|
},
|
|
31769
31769
|
pdf: async () => {
|
|
@@ -31795,7 +31795,7 @@ function is(s) {
|
|
|
31795
31795
|
const { line1: c, line2: d, postcode: v, city: z, state: F, country: j } = s;
|
|
31796
31796
|
return [c, d || "", v, z, F, j].map((I) => I.replace(/,\s*$/, "")).filter((I) => !!I.trim()).join(", ");
|
|
31797
31797
|
}
|
|
31798
|
-
function
|
|
31798
|
+
function m2(s) {
|
|
31799
31799
|
const c = [];
|
|
31800
31800
|
return c.push({
|
|
31801
31801
|
title: "Name",
|
|
@@ -31825,7 +31825,7 @@ function mm(s) {
|
|
|
31825
31825
|
}
|
|
31826
31826
|
];
|
|
31827
31827
|
}
|
|
31828
|
-
function
|
|
31828
|
+
function p2(s) {
|
|
31829
31829
|
return [
|
|
31830
31830
|
{
|
|
31831
31831
|
title: "Legal name",
|
|
@@ -31858,7 +31858,7 @@ function Fu(s) {
|
|
|
31858
31858
|
const c = s.length, d = s.length / 3;
|
|
31859
31859
|
return d <= 1 ? "".padStart(c, "*") : `${s.slice(0, Math.floor(d))}${s.slice(-Math.ceil(d)).padStart(s.length - 4, "*")}`;
|
|
31860
31860
|
}
|
|
31861
|
-
function
|
|
31861
|
+
function g2(s) {
|
|
31862
31862
|
var F;
|
|
31863
31863
|
const c = s.ref, d = s.status, v = (F = s.res) == null ? void 0 : F.ErrorCode;
|
|
31864
31864
|
return { fields: [
|
|
@@ -31915,7 +31915,7 @@ function fr(s) {
|
|
|
31915
31915
|
const d = String(s).replace(/"/g, '""');
|
|
31916
31916
|
return /[,\n\r"]/.test(d) ? `"${d}"` : d;
|
|
31917
31917
|
}
|
|
31918
|
-
function
|
|
31918
|
+
function A2(s) {
|
|
31919
31919
|
var I, N, R;
|
|
31920
31920
|
const c = ((I = s.formatDocuments) == null ? void 0 : I.call(s)) ?? [], d = (((R = (N = c[0]) == null ? void 0 : N.bills) == null ? void 0 : R[0]) ?? []).map((V) => fr(V.title)).join(","), v = c.reduce((V, { bills: Z }) => [
|
|
31921
31921
|
...V,
|
|
@@ -31935,7 +31935,7 @@ function Am(s) {
|
|
|
31935
31935
|
`
|
|
31936
31936
|
);
|
|
31937
31937
|
}
|
|
31938
|
-
async function
|
|
31938
|
+
async function b2(s, c) {
|
|
31939
31939
|
if (!(s != null && s.length)) return;
|
|
31940
31940
|
const d = s[0].merchant, v = (V) => et.Dinero.fromFdoDinero(V).toFormat();
|
|
31941
31941
|
let z = 0;
|
|
@@ -31963,7 +31963,7 @@ async function bm(s, c) {
|
|
|
31963
31963
|
);
|
|
31964
31964
|
return {
|
|
31965
31965
|
No: `${++z}`,
|
|
31966
|
-
"Submission Date": Je(V.submissionDate).format("DD/MM/YYYY"),
|
|
31966
|
+
"Submission Date": Je(V.submissionDate).format("DD/MM/YYYY, hh:mmA"),
|
|
31967
31967
|
"MeInvoice No.": V.submissionUid,
|
|
31968
31968
|
"Invoice No.": Z.no,
|
|
31969
31969
|
"Customer/ Company Name": ((G = V.customer) == null ? void 0 : G.name) ?? "",
|
|
@@ -31977,9 +31977,9 @@ async function bm(s, c) {
|
|
|
31977
31977
|
), R = document.createElement("a");
|
|
31978
31978
|
R.href = N, R.setAttribute("download", decodeURIComponent(j)), document.body.appendChild(R), R.click(), R.remove();
|
|
31979
31979
|
}
|
|
31980
|
-
class
|
|
31980
|
+
class v2 extends Jo {
|
|
31981
31981
|
get settingDialogComponent() {
|
|
31982
|
-
return
|
|
31982
|
+
return d2;
|
|
31983
31983
|
}
|
|
31984
31984
|
getDate() {
|
|
31985
31985
|
return {
|
|
@@ -31988,7 +31988,7 @@ class vm extends Jo {
|
|
|
31988
31988
|
};
|
|
31989
31989
|
}
|
|
31990
31990
|
formatSubmission(c) {
|
|
31991
|
-
return
|
|
31991
|
+
return h2(c);
|
|
31992
31992
|
}
|
|
31993
31993
|
sortSubmissions(c) {
|
|
31994
31994
|
return c.sort(
|
|
@@ -32001,19 +32001,19 @@ class vm extends Jo {
|
|
|
32001
32001
|
), c;
|
|
32002
32002
|
}
|
|
32003
32003
|
exportSubmissions(c, d) {
|
|
32004
|
-
return
|
|
32004
|
+
return b2(c, d);
|
|
32005
32005
|
}
|
|
32006
32006
|
initRestaurantProfile(c) {
|
|
32007
|
-
return
|
|
32007
|
+
return c2(c);
|
|
32008
32008
|
}
|
|
32009
32009
|
initMarketingProfile(c, d) {
|
|
32010
|
-
return
|
|
32010
|
+
return f2(c, d);
|
|
32011
32011
|
}
|
|
32012
32012
|
}
|
|
32013
|
-
const
|
|
32013
|
+
const y2 = new v2(), w2 = { class: "h-full w-full" }, z2 = { class: "flex items-center p-24" }, E2 = { class: "flex gap-16 p-24 items-center" }, C2 = { class: "px-24" }, F2 = {
|
|
32014
32014
|
key: 0,
|
|
32015
32015
|
class: "xs:px-16"
|
|
32016
|
-
},
|
|
32016
|
+
}, T2 = ["src"], P2 = { key: 1 }, I2 = { class: "table-group" }, _2 = /* @__PURE__ */ It({
|
|
32017
32017
|
__name: "EInvoice",
|
|
32018
32018
|
setup(s) {
|
|
32019
32019
|
var a;
|
|
@@ -32086,7 +32086,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32086
32086
|
case Pt.F_COUNTRY.enum.TH:
|
|
32087
32087
|
return zu;
|
|
32088
32088
|
case Pt.F_COUNTRY.enum.VN:
|
|
32089
|
-
return
|
|
32089
|
+
return y2;
|
|
32090
32090
|
default:
|
|
32091
32091
|
return wu;
|
|
32092
32092
|
}
|
|
@@ -32170,8 +32170,8 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32170
32170
|
var i;
|
|
32171
32171
|
const le = Te("FmSpacer"), ve = Te("FmButton"), u = Te("FmChip"), n = Te("FmSimpleDateRangePicker"), t = Te("FmSearch"), r = Te("FmCard");
|
|
32172
32172
|
return ze(), We(mt, null, [
|
|
32173
|
-
K("div",
|
|
32174
|
-
K("div",
|
|
32173
|
+
K("div", w2, [
|
|
32174
|
+
K("div", z2, [
|
|
32175
32175
|
A[4] || (A[4] = K("div", { class: "fm-typo-en-title-md-800" }, "E-invoice", -1)),
|
|
32176
32176
|
se(le),
|
|
32177
32177
|
se(ve, {
|
|
@@ -32182,7 +32182,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32182
32182
|
onClick: e
|
|
32183
32183
|
}, null, 8, ["disabled"])
|
|
32184
32184
|
]),
|
|
32185
|
-
K("div",
|
|
32185
|
+
K("div", E2, [
|
|
32186
32186
|
se(F0, {
|
|
32187
32187
|
modelValue: L.value,
|
|
32188
32188
|
"onUpdate:modelValue": A[0] || (A[0] = (o) => L.value = o),
|
|
@@ -32217,8 +32217,8 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32217
32217
|
onClick: A[3] || (A[3] = () => be())
|
|
32218
32218
|
})) : rt("", !0)
|
|
32219
32219
|
]),
|
|
32220
|
-
K("div",
|
|
32221
|
-
!ie.value && !fe.value.length ? (ze(), We("div",
|
|
32220
|
+
K("div", C2, [
|
|
32221
|
+
!ie.value && !fe.value.length ? (ze(), We("div", F2, [
|
|
32222
32222
|
se(r, {
|
|
32223
32223
|
class: _t([
|
|
32224
32224
|
"flex flex-col items-center justify-center",
|
|
@@ -32231,7 +32231,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32231
32231
|
src: nt(w0),
|
|
32232
32232
|
alt: "No submissions",
|
|
32233
32233
|
class: "w-120 max-w-full"
|
|
32234
|
-
}, null, 8,
|
|
32234
|
+
}, null, 8, T2),
|
|
32235
32235
|
A[5] || (A[5] = K("div", { class: "flex flex-col gap-4 items-center" }, [
|
|
32236
32236
|
K("p", { class: "fm-typo-en-title-sm-600" }, "No submissions found"),
|
|
32237
32237
|
K("p", { class: "fm-typo-en-body-md-400 text-fm-color-neutral-gray-400 max-w-[800px]" }, " No submissions were found for the selected date range. ")
|
|
@@ -32239,12 +32239,12 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32239
32239
|
]),
|
|
32240
32240
|
_: 1
|
|
32241
32241
|
})
|
|
32242
|
-
])) : (ze(), We("div",
|
|
32242
|
+
])) : (ze(), We("div", P2, [
|
|
32243
32243
|
se(Eu, {
|
|
32244
32244
|
fields: ((i = fe.value[0]) == null ? void 0 : i.submissionSummary) ?? []
|
|
32245
32245
|
}, null, 8, ["fields"]),
|
|
32246
32246
|
(ze(!0), We(mt, null, yt(H.value, (o, l) => (ze(), We("div", { key: l }, [
|
|
32247
|
-
K("div",
|
|
32247
|
+
K("div", I2, [
|
|
32248
32248
|
se(go, {
|
|
32249
32249
|
fields: o.submissionSummary,
|
|
32250
32250
|
onClick: () => je(o),
|
|
@@ -32259,7 +32259,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32259
32259
|
ref_key: "eInvoiceDialogRef",
|
|
32260
32260
|
ref: c
|
|
32261
32261
|
}, null, 512)),
|
|
32262
|
-
se(
|
|
32262
|
+
se(qm, {
|
|
32263
32263
|
ref_key: "eInvoiceSubmissionRef",
|
|
32264
32264
|
ref: d
|
|
32265
32265
|
}, null, 512)
|
|
@@ -32268,5 +32268,5 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32268
32268
|
}
|
|
32269
32269
|
});
|
|
32270
32270
|
export {
|
|
32271
|
-
|
|
32271
|
+
_2 as default
|
|
32272
32272
|
};
|
package/dist/app.js
CHANGED