@feedmepos/mf-e-invoice 0.0.60-prod → 0.0.61-prod
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_38789393-1034-4fb7-a32e-27e6915a36af", 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_38789393-1034-4fb7-a32e-27e6915a36af", 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: "1818", ACTIONS_ORCHESTRATION_ID: "18e05117-d0a0-417c-9770-d9165bd61c99.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:12744", GITHUB_WORKFLOW: "Publish mf-e-invoice production", _: "/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: "21486931187", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d7bc60745d49d220c06af459b40ca919fc631938", 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-prod.yml@refs/tags/mf-e-invoice/0.0.60-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.6.2", PATH: "/tmp/yarn--1769705432063-0.03985450329335416:/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--1769705431791-0.43339111779212747:/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--1769705431442-0.5134993184683381:/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_04d701d9-f631-4d7e-aae9-c7781db20602", INVOCATION_ID: "6a45368f6c5d4523ae0ad4071c2a5251", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_name: "@feedmepos/mf-e-invoice", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "37", 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 1000043228", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-e-invoice/0.0.60-prod", 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.60-prod", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","build:prod"],"original":["build:prod"]}', 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: "d7bc60745d49d220c06af459b40ca919fc631938", 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.60-prod", 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_38789393-1034-4fb7-a32e-27e6915a36af", 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_38789393-1034-4fb7-a32e-27e6915a36af", 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.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_38789393-1034-4fb7-a32e-27e6915a36af", 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_deacc69a-19dc-4b82-80b9-febb8aad1773", 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_deacc69a-19dc-4b82-80b9-febb8aad1773", 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: "85f003bc-54e3-403d-bb54-b37e3171ace9.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:11018", GITHUB_WORKFLOW: "Publish mf-e-invoice production", _: "/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: "21664999016", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9ea4a7305961704ba70fc56c91ce50a6b06cc62a", 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-prod.yml@refs/tags/mf-e-invoice/0.0.61-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.6.2", PATH: "/tmp/yarn--1770195497876-0.8312712166002101:/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--1770195497559-0.9160863247272115:/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--1770195497128-0.8596123959019586:/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_fd3f9c0e-03be-4d9b-9e1f-04e17346071c", INVOCATION_ID: "4bd54651c4d949cf9151f06c7b3c4888", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_name: "@feedmepos/mf-e-invoice", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "38", 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 1000044773", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-e-invoice/0.0.61-prod", 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.61-prod", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","build:prod"],"original":["build:prod"]}', 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: "9ea4a7305961704ba70fc56c91ce50a6b06cc62a", 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.61-prod", 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_deacc69a-19dc-4b82-80b9-febb8aad1773", 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_deacc69a-19dc-4b82-80b9-febb8aad1773", 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.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_deacc69a-19dc-4b82-80b9-febb8aad1773", 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) {
|
|
@@ -29679,9 +29679,9 @@ function Vh(s) {
|
|
|
29679
29679
|
merchant: R,
|
|
29680
29680
|
customer: V,
|
|
29681
29681
|
formatDocuments: () => (s.pf_documents ?? []).map((te) => xh(te)),
|
|
29682
|
-
sendEmail: (te) => {
|
|
29682
|
+
sendEmail: s.customer ? (te) => {
|
|
29683
29683
|
pt.sendSubmissionEmail(s.submissionUid, te);
|
|
29684
|
-
},
|
|
29684
|
+
} : void 0,
|
|
29685
29685
|
canSendEmail: s.status === "Valid"
|
|
29686
29686
|
};
|
|
29687
29687
|
return {
|
|
@@ -30144,7 +30144,7 @@ const wu = new Xh(), Yh = {
|
|
|
30144
30144
|
}, 8, ["modelValue"]);
|
|
30145
30145
|
};
|
|
30146
30146
|
}
|
|
30147
|
-
}), Jh = { class: "mb-40 flex flex-col" },
|
|
30147
|
+
}), 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({
|
|
30148
30148
|
__name: "ThailandSettingDialog",
|
|
30149
30149
|
setup(s, { expose: c }) {
|
|
30150
30150
|
c({
|
|
@@ -30229,11 +30229,11 @@ const wu = new Xh(), Yh = {
|
|
|
30229
30229
|
}, null, 8, ["name"]))
|
|
30230
30230
|
]),
|
|
30231
30231
|
default: Me(() => [
|
|
30232
|
-
K("div",
|
|
30232
|
+
K("div", em, [
|
|
30233
30233
|
K("div", null, lt(de.name), 1),
|
|
30234
|
-
K("div",
|
|
30234
|
+
K("div", tm, lt(de.profile._id.length ? "Activated" : "Not activated"), 1)
|
|
30235
30235
|
]),
|
|
30236
|
-
K("div",
|
|
30236
|
+
K("div", nm, [
|
|
30237
30237
|
se(fe, { name: "edit" }),
|
|
30238
30238
|
G.value && de.profile._id.length ? (ze(), _e(fe, {
|
|
30239
30239
|
key: 0,
|
|
@@ -30257,11 +30257,11 @@ const wu = new Xh(), Yh = {
|
|
|
30257
30257
|
})
|
|
30258
30258
|
]),
|
|
30259
30259
|
default: Me(() => [
|
|
30260
|
-
K("div",
|
|
30260
|
+
K("div", rm, [
|
|
30261
30261
|
L[3] || (L[3] = K("div", null, "Marketing store", -1)),
|
|
30262
|
-
K("div",
|
|
30262
|
+
K("div", am, lt(I.value.profile._id.length ? "Activated" : "Not activated"), 1)
|
|
30263
30263
|
]),
|
|
30264
|
-
K("div",
|
|
30264
|
+
K("div", im, [
|
|
30265
30265
|
se(fe, { name: "edit" })
|
|
30266
30266
|
])
|
|
30267
30267
|
]),
|
|
@@ -30288,7 +30288,7 @@ const wu = new Xh(), Yh = {
|
|
|
30288
30288
|
};
|
|
30289
30289
|
}
|
|
30290
30290
|
});
|
|
30291
|
-
function
|
|
30291
|
+
function sm(s) {
|
|
30292
30292
|
return {
|
|
30293
30293
|
type: "restaurant",
|
|
30294
30294
|
restaurantId: s._id,
|
|
@@ -30303,7 +30303,7 @@ function s2(s) {
|
|
|
30303
30303
|
branchCode: s.profile.code || ""
|
|
30304
30304
|
};
|
|
30305
30305
|
}
|
|
30306
|
-
function
|
|
30306
|
+
function lm(s, c) {
|
|
30307
30307
|
return {
|
|
30308
30308
|
type: "marketing",
|
|
30309
30309
|
_id: "",
|
|
@@ -30323,7 +30323,7 @@ function l2(s, c) {
|
|
|
30323
30323
|
branchCode: ""
|
|
30324
30324
|
};
|
|
30325
30325
|
}
|
|
30326
|
-
function
|
|
30326
|
+
function um(s) {
|
|
30327
30327
|
const c = [
|
|
30328
30328
|
{
|
|
30329
30329
|
title: "Submission date",
|
|
@@ -30389,9 +30389,9 @@ function u2(s) {
|
|
|
30389
30389
|
class: "col-span-2",
|
|
30390
30390
|
value: Ri(N)
|
|
30391
30391
|
}
|
|
30392
|
-
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ?
|
|
30392
|
+
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ? cm(
|
|
30393
30393
|
s.customer
|
|
30394
|
-
) :
|
|
30394
|
+
) : fm(
|
|
30395
30395
|
s.customer
|
|
30396
30396
|
) : void 0;
|
|
30397
30397
|
return {
|
|
@@ -30400,12 +30400,12 @@ function u2(s) {
|
|
|
30400
30400
|
submissionDetails: c,
|
|
30401
30401
|
merchant: R,
|
|
30402
30402
|
customer: V,
|
|
30403
|
-
formatDocuments: () => [
|
|
30403
|
+
formatDocuments: () => [hm(s)],
|
|
30404
30404
|
sendEmail: void 0,
|
|
30405
30405
|
canSendEmail: !1
|
|
30406
30406
|
};
|
|
30407
30407
|
}
|
|
30408
|
-
async function
|
|
30408
|
+
async function dm(s, c) {
|
|
30409
30409
|
if (!(s != null && s.length)) return;
|
|
30410
30410
|
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 = [
|
|
30411
30411
|
`Company Name: ${d.name}`,
|
|
@@ -30467,7 +30467,7 @@ function Ri(s) {
|
|
|
30467
30467
|
const { line1: c, line2: d, postcode: v, city: z, state: F, country: j } = s;
|
|
30468
30468
|
return [c, d || "", v, z, F, j].map((I) => I.replace(/,\s*$/, "")).filter((I) => !!I.trim()).join(", ");
|
|
30469
30469
|
}
|
|
30470
|
-
function
|
|
30470
|
+
function cm(s) {
|
|
30471
30471
|
const c = [];
|
|
30472
30472
|
return c.push({
|
|
30473
30473
|
title: "Name",
|
|
@@ -30487,7 +30487,7 @@ function c2(s) {
|
|
|
30487
30487
|
value: Ri(s.address)
|
|
30488
30488
|
}), c;
|
|
30489
30489
|
}
|
|
30490
|
-
function
|
|
30490
|
+
function fm(s) {
|
|
30491
30491
|
const c = [];
|
|
30492
30492
|
return c.push({
|
|
30493
30493
|
title: "Name",
|
|
@@ -30510,7 +30510,7 @@ function f2(s) {
|
|
|
30510
30510
|
value: s.branchCode
|
|
30511
30511
|
}), c;
|
|
30512
30512
|
}
|
|
30513
|
-
function
|
|
30513
|
+
function hm(s) {
|
|
30514
30514
|
return { fields: [
|
|
30515
30515
|
{
|
|
30516
30516
|
title: "Document No.",
|
|
@@ -30534,9 +30534,9 @@ function h2(s) {
|
|
|
30534
30534
|
}
|
|
30535
30535
|
] };
|
|
30536
30536
|
}
|
|
30537
|
-
class
|
|
30537
|
+
class mm extends Jo {
|
|
30538
30538
|
get settingDialogComponent() {
|
|
30539
|
-
return
|
|
30539
|
+
return om;
|
|
30540
30540
|
}
|
|
30541
30541
|
getDate() {
|
|
30542
30542
|
return {
|
|
@@ -30545,22 +30545,22 @@ class m2 extends Jo {
|
|
|
30545
30545
|
};
|
|
30546
30546
|
}
|
|
30547
30547
|
formatSubmission(c) {
|
|
30548
|
-
return
|
|
30548
|
+
return um(c);
|
|
30549
30549
|
}
|
|
30550
30550
|
sortSubmissions(c) {
|
|
30551
30551
|
return c;
|
|
30552
30552
|
}
|
|
30553
30553
|
exportSubmissions(c, d) {
|
|
30554
|
-
|
|
30554
|
+
dm(c, d);
|
|
30555
30555
|
}
|
|
30556
30556
|
initRestaurantProfile(c) {
|
|
30557
|
-
return
|
|
30557
|
+
return sm(c);
|
|
30558
30558
|
}
|
|
30559
30559
|
initMarketingProfile(c, d) {
|
|
30560
|
-
return
|
|
30560
|
+
return lm(c, d);
|
|
30561
30561
|
}
|
|
30562
30562
|
}
|
|
30563
|
-
const zu = new
|
|
30563
|
+
const zu = new mm(), sr = Du("mf-e-invoice-app", () => {
|
|
30564
30564
|
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(() => [
|
|
30565
30565
|
...Object.values(s.value),
|
|
30566
30566
|
...c.value ? [c.value] : []
|
|
@@ -30680,13 +30680,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30680
30680
|
getMenu: G,
|
|
30681
30681
|
getMarketingMenu: ee
|
|
30682
30682
|
};
|
|
30683
|
-
}),
|
|
30683
|
+
}), 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({
|
|
30684
30684
|
__name: "EInvoiceTableHeader",
|
|
30685
30685
|
props: {
|
|
30686
30686
|
fields: {}
|
|
30687
30687
|
},
|
|
30688
30688
|
setup(s) {
|
|
30689
|
-
return (c, d) => (ze(), We("div",
|
|
30689
|
+
return (c, d) => (ze(), We("div", pm, [
|
|
30690
30690
|
(ze(!0), We(mt, null, yt(s.fields, (v, z) => (ze(), We("div", {
|
|
30691
30691
|
key: z,
|
|
30692
30692
|
class: "px-16 py-12 flex-1 flex align-center"
|
|
@@ -30700,13 +30700,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30700
30700
|
]))), 128))
|
|
30701
30701
|
]));
|
|
30702
30702
|
}
|
|
30703
|
-
}),
|
|
30703
|
+
}), gm = { class: "flex fm-typo-en-body-md-400 border-b border-gray-200" }, Am = { key: 1 }, go = /* @__PURE__ */ It({
|
|
30704
30704
|
__name: "EInvoiceTableRow",
|
|
30705
30705
|
props: {
|
|
30706
30706
|
fields: {}
|
|
30707
30707
|
},
|
|
30708
30708
|
setup(s) {
|
|
30709
|
-
return (c, d) => (ze(), We("div",
|
|
30709
|
+
return (c, d) => (ze(), We("div", gm, [
|
|
30710
30710
|
(ze(!0), We(mt, null, yt(s.fields, (v, z) => (ze(), We("div", {
|
|
30711
30711
|
key: z,
|
|
30712
30712
|
class: "px-16 py-12 flex-1"
|
|
@@ -30714,13 +30714,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30714
30714
|
K("div", {
|
|
30715
30715
|
class: _t(["flex align-center", `${v.class} ${z === s.fields.length - 1 ? "flex justify-between" : ""}`])
|
|
30716
30716
|
}, [
|
|
30717
|
-
v.render ? (ze(), _e(qs(v.render), { key: 0 })) : (ze(), We("span",
|
|
30717
|
+
v.render ? (ze(), _e(qs(v.render), { key: 0 })) : (ze(), We("span", Am, lt(v.value ?? "-"), 1)),
|
|
30718
30718
|
z === s.fields.length - 1 ? Ns(c.$slots, "default", { key: 2 }) : rt("", !0)
|
|
30719
30719
|
], 2)
|
|
30720
30720
|
]))), 128))
|
|
30721
30721
|
]));
|
|
30722
30722
|
}
|
|
30723
|
-
}),
|
|
30723
|
+
}), bm = /* @__PURE__ */ It({
|
|
30724
30724
|
__name: "SendEmailDialog",
|
|
30725
30725
|
props: {
|
|
30726
30726
|
email: {
|
|
@@ -30755,27 +30755,27 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30755
30755
|
});
|
|
30756
30756
|
};
|
|
30757
30757
|
}
|
|
30758
|
-
}),
|
|
30758
|
+
}), vm = {
|
|
30759
30759
|
class: /* @__PURE__ */ _t([
|
|
30760
30760
|
"flex items-center",
|
|
30761
30761
|
"px-24 pt-16 pb-8",
|
|
30762
30762
|
"border-b border-fm-color-neutral-gray-100",
|
|
30763
30763
|
"space-x-4"
|
|
30764
30764
|
])
|
|
30765
|
-
},
|
|
30765
|
+
}, ym = {
|
|
30766
30766
|
class: /* @__PURE__ */ _t([
|
|
30767
30767
|
"flex flex-col",
|
|
30768
30768
|
"flex-1 overflow-scroll",
|
|
30769
30769
|
"w-full",
|
|
30770
30770
|
"px-24"
|
|
30771
30771
|
])
|
|
30772
|
-
},
|
|
30772
|
+
}, wm = { class: "flex space-x-40 max-w-[1200px] mx-auto w-full" }, zm = { class: "flex-1 flex flex-col space-y-24" }, Em = {
|
|
30773
30773
|
key: 0,
|
|
30774
30774
|
class: "flex flex-col gap-40 py-8"
|
|
30775
|
-
},
|
|
30775
|
+
}, 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 = {
|
|
30776
30776
|
key: 0,
|
|
30777
30777
|
class: "flex-1 border-2 p-16 fm-corner-radius-lg"
|
|
30778
|
-
},
|
|
30778
|
+
}, 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({
|
|
30779
30779
|
__name: "EInvoiceSubmission",
|
|
30780
30780
|
setup(s, { expose: c }) {
|
|
30781
30781
|
const d = ke(), v = ke("");
|
|
@@ -30832,7 +30832,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30832
30832
|
title: "Send Email",
|
|
30833
30833
|
primaryActions: { text: "Send", close: !1 },
|
|
30834
30834
|
secondaryActions: { text: "Cancel", close: !0 },
|
|
30835
|
-
contentComponent:
|
|
30835
|
+
contentComponent: bm,
|
|
30836
30836
|
contentComponentProps: {
|
|
30837
30837
|
email: ((X = (H = (re = d.value) == null ? void 0 : re.raw) == null ? void 0 : H.customer) == null ? void 0 : X.email) || ""
|
|
30838
30838
|
}
|
|
@@ -30870,7 +30870,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30870
30870
|
onKeyup: H[2] || (H[2] = Ru(() => z(), ["esc"]))
|
|
30871
30871
|
}, {
|
|
30872
30872
|
default: Me(() => [
|
|
30873
|
-
K("div",
|
|
30873
|
+
K("div", vm, [
|
|
30874
30874
|
H[3] || (H[3] = K("p", { class: "fm-typo-en-title-sm-600 mr-auto" }, "Submission Detail", -1)),
|
|
30875
30875
|
se(X, {
|
|
30876
30876
|
variant: "tertiary",
|
|
@@ -30879,18 +30879,18 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30879
30879
|
onClick: H[0] || (H[0] = () => z())
|
|
30880
30880
|
})
|
|
30881
30881
|
]),
|
|
30882
|
-
K("div",
|
|
30883
|
-
K("div",
|
|
30884
|
-
K("div",
|
|
30885
|
-
d.value ? (ze(), We("div",
|
|
30886
|
-
K("div",
|
|
30887
|
-
K("div",
|
|
30882
|
+
K("div", ym, [
|
|
30883
|
+
K("div", wm, [
|
|
30884
|
+
K("div", zm, [
|
|
30885
|
+
d.value ? (ze(), We("div", Em, [
|
|
30886
|
+
K("div", Cm, [
|
|
30887
|
+
K("div", Fm, [
|
|
30888
30888
|
H[4] || (H[4] = K("div", { class: "flex items-center mb-16" }, [
|
|
30889
30889
|
K("div", { class: "fm-typo-en-title-sm-600" }, "Submission")
|
|
30890
30890
|
], -1)),
|
|
30891
|
-
K("div",
|
|
30891
|
+
K("div", Tm, [
|
|
30892
30892
|
(ze(!0), We(mt, null, yt(N.value, (ie, je) => (ze(), We("div", { key: je }, [
|
|
30893
|
-
K("div",
|
|
30893
|
+
K("div", Pm, lt(ie.title), 1),
|
|
30894
30894
|
K("div", null, lt(ie.value || "Not provided"), 1)
|
|
30895
30895
|
]))), 128))
|
|
30896
30896
|
])
|
|
@@ -30901,32 +30901,32 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30901
30901
|
H[5] || (H[5] = K("div", { class: "flex items-center mb-16" }, [
|
|
30902
30902
|
K("div", { class: "fm-typo-en-title-sm-600" }, " Merchant profile ")
|
|
30903
30903
|
], -1)),
|
|
30904
|
-
K("div",
|
|
30904
|
+
K("div", Im, [
|
|
30905
30905
|
(ze(!0), We(mt, null, yt(F.value, (ie, je) => (ze(), We("div", {
|
|
30906
30906
|
key: je,
|
|
30907
30907
|
class: _t(ie.class)
|
|
30908
30908
|
}, [
|
|
30909
|
-
K("div",
|
|
30910
|
-
K("div",
|
|
30909
|
+
K("div", jm, lt(ie.title), 1),
|
|
30910
|
+
K("div", Sm, lt(ie.value || "Not provided"), 1)
|
|
30911
30911
|
], 2))), 128))
|
|
30912
30912
|
])
|
|
30913
30913
|
], 2),
|
|
30914
|
-
I.value ? (ze(), We("div",
|
|
30914
|
+
I.value ? (ze(), We("div", Om, [
|
|
30915
30915
|
H[6] || (H[6] = K("div", { class: "flex items-center mb-16" }, [
|
|
30916
30916
|
K("div", { class: "fm-typo-en-title-sm-600" }, " Customer profile ")
|
|
30917
30917
|
], -1)),
|
|
30918
|
-
K("div",
|
|
30918
|
+
K("div", Mm, [
|
|
30919
30919
|
(ze(!0), We(mt, null, yt(j.value, (ie, je) => (ze(), We("div", {
|
|
30920
30920
|
key: je,
|
|
30921
30921
|
class: _t(ie.class)
|
|
30922
30922
|
}, [
|
|
30923
|
-
K("div",
|
|
30924
|
-
K("div",
|
|
30923
|
+
K("div", Rm, lt(ie.title), 1),
|
|
30924
|
+
K("div", km, lt(ie.value || "Not provided"), 1)
|
|
30925
30925
|
], 2))), 128))
|
|
30926
30926
|
])
|
|
30927
30927
|
])) : rt("", !0)
|
|
30928
30928
|
]),
|
|
30929
|
-
K("div",
|
|
30929
|
+
K("div", Dm, [
|
|
30930
30930
|
se(de, {
|
|
30931
30931
|
modelValue: v.value,
|
|
30932
30932
|
"onUpdate:modelValue": H[1] || (H[1] = (ie) => v.value = ie),
|
|
@@ -30969,7 +30969,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
30969
30969
|
fields: R.value[0].fields
|
|
30970
30970
|
}, null, 8, ["fields"]),
|
|
30971
30971
|
(ze(!0), We(mt, null, yt(Z.value, (ie, je) => (ze(), We("div", { key: je }, [
|
|
30972
|
-
K("div",
|
|
30972
|
+
K("div", Nm, [
|
|
30973
30973
|
se(go, {
|
|
30974
30974
|
fields: ie.fields,
|
|
30975
30975
|
onClick: () => L(je),
|
|
@@ -31009,7 +31009,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31009
31009
|
]);
|
|
31010
31010
|
};
|
|
31011
31011
|
}
|
|
31012
|
-
}),
|
|
31012
|
+
}), 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({
|
|
31013
31013
|
__name: "VietnamItemSettingsDialog",
|
|
31014
31014
|
emits: ["onComplete"],
|
|
31015
31015
|
setup(s, { expose: c, emit: d }) {
|
|
@@ -31052,7 +31052,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31052
31052
|
K("span", { class: "fm-typo-en-title-md-800" }, "Item settings", -1)
|
|
31053
31053
|
])]),
|
|
31054
31054
|
"side-sheet-footer": Me(() => [
|
|
31055
|
-
K("div",
|
|
31055
|
+
K("div", Ym, [
|
|
31056
31056
|
se(de, {
|
|
31057
31057
|
variant: "primary",
|
|
31058
31058
|
size: "lg",
|
|
@@ -31068,9 +31068,9 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31068
31068
|
])
|
|
31069
31069
|
]),
|
|
31070
31070
|
default: Me(() => [
|
|
31071
|
-
K("div",
|
|
31072
|
-
K("div",
|
|
31073
|
-
K("div",
|
|
31071
|
+
K("div", Bm, [
|
|
31072
|
+
K("div", Vm, [
|
|
31073
|
+
K("div", Lm, [
|
|
31074
31074
|
se(fe, {
|
|
31075
31075
|
class: "mb-16",
|
|
31076
31076
|
description: `For item with exempted tax ${ee.value} need specify reason when submit e-invoice. You
|
|
@@ -31078,7 +31078,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31078
31078
|
variant: "info"
|
|
31079
31079
|
}, null, 8, ["description"])
|
|
31080
31080
|
]),
|
|
31081
|
-
K("div",
|
|
31081
|
+
K("div", Hm, [
|
|
31082
31082
|
se(re, {
|
|
31083
31083
|
modelValue: I.value,
|
|
31084
31084
|
"onUpdate:modelValue": te[0] || (te[0] = (we) => I.value = we),
|
|
@@ -31086,7 +31086,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31086
31086
|
label: "Show exempted only"
|
|
31087
31087
|
}, null, 8, ["modelValue"])
|
|
31088
31088
|
]),
|
|
31089
|
-
K("div",
|
|
31089
|
+
K("div", Um, [
|
|
31090
31090
|
se(H, {
|
|
31091
31091
|
modelValue: j.value,
|
|
31092
31092
|
"onUpdate:modelValue": te[1] || (te[1] = (we) => j.value = we),
|
|
@@ -31099,15 +31099,15 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31099
31099
|
K("div", { class: "flex-1 px-16 py-8 bg-fm-color-neutral-gray-100" }, " Item name "),
|
|
31100
31100
|
K("div", { class: "flex-1 px-16 py-8 bg-fm-color-neutral-gray-100" }, " Exempted reason ")
|
|
31101
31101
|
], -1)),
|
|
31102
|
-
K("div",
|
|
31102
|
+
K("div", xm, [
|
|
31103
31103
|
(ze(!0), We(mt, null, yt(N.value, (we) => {
|
|
31104
31104
|
var Ze;
|
|
31105
31105
|
return ze(), We("div", {
|
|
31106
31106
|
key: we.id,
|
|
31107
31107
|
class: "flex"
|
|
31108
31108
|
}, [
|
|
31109
|
-
K("div",
|
|
31110
|
-
K("div",
|
|
31109
|
+
K("div", Gm, lt(we.name), 1),
|
|
31110
|
+
K("div", Xm, [
|
|
31111
31111
|
se(X, {
|
|
31112
31112
|
"model-value": (Ze = z.value[we.id]) == null ? void 0 : Ze.taxExemptionReason,
|
|
31113
31113
|
placeholder: "NA",
|
|
@@ -31125,13 +31125,13 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31125
31125
|
}, 8, ["modelValue"]);
|
|
31126
31126
|
};
|
|
31127
31127
|
}
|
|
31128
|
-
}),
|
|
31128
|
+
}), Wm = {
|
|
31129
31129
|
key: 0,
|
|
31130
31130
|
class: "h-full w-full flex flex-col gap-24 justify-center items-center"
|
|
31131
|
-
},
|
|
31131
|
+
}, Qm = { class: "flex flex-col gap-40" }, Km = {
|
|
31132
31132
|
key: 0,
|
|
31133
31133
|
class: "flex flex-col gap-16"
|
|
31134
|
-
},
|
|
31134
|
+
}, _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({
|
|
31135
31135
|
__name: "VietnamProfileDialog",
|
|
31136
31136
|
emits: ["onCompleted"],
|
|
31137
31137
|
setup(s, { expose: c, emit: d }) {
|
|
@@ -31221,7 +31221,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31221
31221
|
K("span", { class: "fm-typo-en-title-md-800" }, "Update profile", -1)
|
|
31222
31222
|
])]),
|
|
31223
31223
|
"side-sheet-footer": Me(() => [
|
|
31224
|
-
K("div",
|
|
31224
|
+
K("div", Jm, [
|
|
31225
31225
|
se(ie, {
|
|
31226
31226
|
variant: "primary",
|
|
31227
31227
|
size: "lg",
|
|
@@ -31235,7 +31235,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31235
31235
|
])
|
|
31236
31236
|
]),
|
|
31237
31237
|
default: Me(() => [
|
|
31238
|
-
ue.value ? (ze(), We("div",
|
|
31238
|
+
ue.value ? (ze(), We("div", Wm, [
|
|
31239
31239
|
se(de, { size: "xxl" }),
|
|
31240
31240
|
X[18] || (X[18] = K("div", null, "Saving profile", -1))
|
|
31241
31241
|
])) : I.value ? (ze(), _e(Ue, {
|
|
@@ -31245,8 +31245,8 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31245
31245
|
onValidationSuccess: L
|
|
31246
31246
|
}, {
|
|
31247
31247
|
default: Me(() => [
|
|
31248
|
-
K("div",
|
|
31249
|
-
I.value ? (ze(), We("div",
|
|
31248
|
+
K("div", Qm, [
|
|
31249
|
+
I.value ? (ze(), We("div", Km, [
|
|
31250
31250
|
X[19] || (X[19] = K("div", { class: "fm-typo-en-title-sm-800" }, "General Info", -1)),
|
|
31251
31251
|
se(ge, {
|
|
31252
31252
|
modelValue: I.value.name,
|
|
@@ -31327,7 +31327,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31327
31327
|
rules: [(be) => !!be || "Register no. is required"]
|
|
31328
31328
|
}, null, 8, ["modelValue", "rules"])
|
|
31329
31329
|
])) : rt("", !0),
|
|
31330
|
-
K("div",
|
|
31330
|
+
K("div", _m, [
|
|
31331
31331
|
X[20] || (X[20] = K("div", { class: "fm-typo-en-title-sm-800" }, "Address", -1)),
|
|
31332
31332
|
se(ge, {
|
|
31333
31333
|
modelValue: I.value.address.line1,
|
|
@@ -31342,7 +31342,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31342
31342
|
label: "Line 2",
|
|
31343
31343
|
rules: [nt(Ua)(!1)]
|
|
31344
31344
|
}, null, 8, ["modelValue", "rules"]),
|
|
31345
|
-
K("div", $
|
|
31345
|
+
K("div", $m, [
|
|
31346
31346
|
se(ge, {
|
|
31347
31347
|
modelValue: I.value.address.city,
|
|
31348
31348
|
"onUpdate:modelValue": X[11] || (X[11] = (be) => I.value.address.city = be),
|
|
@@ -31383,7 +31383,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31383
31383
|
}, 8, ["modelValue"]);
|
|
31384
31384
|
};
|
|
31385
31385
|
}
|
|
31386
|
-
}),
|
|
31386
|
+
}), 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({
|
|
31387
31387
|
__name: "VietnamSettingDialog",
|
|
31388
31388
|
setup(s, { expose: c }) {
|
|
31389
31389
|
c({
|
|
@@ -31479,7 +31479,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31479
31479
|
K("span", { class: "fm-typo-en-title-md-800" }, "E-invoice integration", -1)
|
|
31480
31480
|
])]),
|
|
31481
31481
|
default: Me(() => [
|
|
31482
|
-
K("div",
|
|
31482
|
+
K("div", t2, [
|
|
31483
31483
|
X[4] || (X[4] = K("div", { class: "fm-typo-en-title-sm-800 mb-8" }, "Profiles", -1)),
|
|
31484
31484
|
X[5] || (X[5] = K("div", { class: "mb-16" }, " To get started, configure your restaurant and marketing profiles ", -1)),
|
|
31485
31485
|
se(Ze, {
|
|
@@ -31505,11 +31505,11 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31505
31505
|
}, null, 8, ["name"]))
|
|
31506
31506
|
]),
|
|
31507
31507
|
default: Me(() => [
|
|
31508
|
-
K("div",
|
|
31508
|
+
K("div", n2, [
|
|
31509
31509
|
K("div", null, lt(ie.name), 1),
|
|
31510
|
-
K("div",
|
|
31510
|
+
K("div", r2, lt(ie.profile.active ? "Activated" : "Not activated"), 1)
|
|
31511
31511
|
]),
|
|
31512
|
-
K("div",
|
|
31512
|
+
K("div", a2, [
|
|
31513
31513
|
se(ge, { name: "edit" }),
|
|
31514
31514
|
re.value && ie.profile._id.length ? (ze(), _e(ge, {
|
|
31515
31515
|
key: 0,
|
|
@@ -31533,11 +31533,11 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31533
31533
|
})
|
|
31534
31534
|
]),
|
|
31535
31535
|
default: Me(() => [
|
|
31536
|
-
K("div",
|
|
31536
|
+
K("div", i2, [
|
|
31537
31537
|
X[3] || (X[3] = K("div", null, "Marketing store", -1)),
|
|
31538
|
-
K("div",
|
|
31538
|
+
K("div", o2, lt(I.value.profile.active ? "Activated" : "Not activated"), 1)
|
|
31539
31539
|
]),
|
|
31540
|
-
K("div",
|
|
31540
|
+
K("div", s2, [
|
|
31541
31541
|
se(ge, { name: "edit" })
|
|
31542
31542
|
])
|
|
31543
31543
|
]),
|
|
@@ -31571,7 +31571,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31571
31571
|
K("div", null, "Menu items"),
|
|
31572
31572
|
K("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Configure exempted tax reason for your menu items ")
|
|
31573
31573
|
], -1)),
|
|
31574
|
-
K("div",
|
|
31574
|
+
K("div", l2, [
|
|
31575
31575
|
se(ge, { name: "edit" })
|
|
31576
31576
|
])
|
|
31577
31577
|
]),
|
|
@@ -31594,7 +31594,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31594
31594
|
K("div", null, "Marketing bundle"),
|
|
31595
31595
|
K("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Configure exempted tax reason for your marketing bundles ")
|
|
31596
31596
|
], -1)),
|
|
31597
|
-
K("div",
|
|
31597
|
+
K("div", u2, [
|
|
31598
31598
|
se(ge, { name: "edit" })
|
|
31599
31599
|
])
|
|
31600
31600
|
]),
|
|
@@ -31607,7 +31607,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31607
31607
|
]),
|
|
31608
31608
|
_: 1
|
|
31609
31609
|
}, 8, ["modelValue"]),
|
|
31610
|
-
se(
|
|
31610
|
+
se(e2, {
|
|
31611
31611
|
ref_key: "eInvoiceSettingDialogRef",
|
|
31612
31612
|
ref: v,
|
|
31613
31613
|
onOnCompleted: R
|
|
@@ -31617,7 +31617,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31617
31617
|
ref: z,
|
|
31618
31618
|
onOnCompleted: V
|
|
31619
31619
|
}, null, 512),
|
|
31620
|
-
se(
|
|
31620
|
+
se(Zm, {
|
|
31621
31621
|
ref_key: "eInvoiceItemSettingsDialogRef",
|
|
31622
31622
|
ref: G,
|
|
31623
31623
|
onOnComplete: te
|
|
@@ -31626,7 +31626,7 @@ const zu = new m2(), sr = Du("mf-e-invoice-app", () => {
|
|
|
31626
31626
|
};
|
|
31627
31627
|
}
|
|
31628
31628
|
});
|
|
31629
|
-
function
|
|
31629
|
+
function c2(s) {
|
|
31630
31630
|
return {
|
|
31631
31631
|
type: "restaurant",
|
|
31632
31632
|
restaurantId: s._id,
|
|
@@ -31647,7 +31647,7 @@ function cm(s) {
|
|
|
31647
31647
|
password: s.profile.password || ""
|
|
31648
31648
|
};
|
|
31649
31649
|
}
|
|
31650
|
-
function
|
|
31650
|
+
function f2(s, c) {
|
|
31651
31651
|
return {
|
|
31652
31652
|
type: "marketing",
|
|
31653
31653
|
active: null,
|
|
@@ -31673,7 +31673,7 @@ function fm(s, c) {
|
|
|
31673
31673
|
password: (c == null ? void 0 : c.company.password) || ""
|
|
31674
31674
|
};
|
|
31675
31675
|
}
|
|
31676
|
-
function
|
|
31676
|
+
function h2(s) {
|
|
31677
31677
|
var oe, ue;
|
|
31678
31678
|
const c = [
|
|
31679
31679
|
{
|
|
@@ -31741,9 +31741,9 @@ function hm(s) {
|
|
|
31741
31741
|
class: "col-span-2",
|
|
31742
31742
|
value: is(N)
|
|
31743
31743
|
}
|
|
31744
|
-
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ?
|
|
31744
|
+
], V = s.customer ? s.customer.type == Pt.F_E_INVOICE_PROFILE_TYPE.Enum.individual ? m2(
|
|
31745
31745
|
s.customer
|
|
31746
|
-
) :
|
|
31746
|
+
) : p2(
|
|
31747
31747
|
s.customer
|
|
31748
31748
|
) : void 0, Z = {
|
|
31749
31749
|
raw: s,
|
|
@@ -31751,7 +31751,7 @@ function hm(s) {
|
|
|
31751
31751
|
submissionDetails: d,
|
|
31752
31752
|
merchant: R,
|
|
31753
31753
|
customer: V,
|
|
31754
|
-
formatDocuments: () => [
|
|
31754
|
+
formatDocuments: () => [g2(s)],
|
|
31755
31755
|
sendEmail: (G) => {
|
|
31756
31756
|
pt.sendSubmissionEmail(s.submissionUid, G);
|
|
31757
31757
|
},
|
|
@@ -31761,7 +31761,7 @@ function hm(s) {
|
|
|
31761
31761
|
...Z,
|
|
31762
31762
|
export: {
|
|
31763
31763
|
excel: () => {
|
|
31764
|
-
const G =
|
|
31764
|
+
const G = A2(Z), ee = new Blob([G], { type: "text/csv;charset=utf-8;" }), L = document.createElement("a"), te = URL.createObjectURL(ee);
|
|
31765
31765
|
L.setAttribute("href", te), L.setAttribute("download", `${s.submissionUid}.csv`), L.style.visibility = "hidden", document.body.appendChild(L), L.click(), document.body.removeChild(L);
|
|
31766
31766
|
},
|
|
31767
31767
|
pdf: async () => {
|
|
@@ -31793,7 +31793,7 @@ function is(s) {
|
|
|
31793
31793
|
const { line1: c, line2: d, postcode: v, city: z, state: F, country: j } = s;
|
|
31794
31794
|
return [c, d || "", v, z, F, j].map((I) => I.replace(/,\s*$/, "")).filter((I) => !!I.trim()).join(", ");
|
|
31795
31795
|
}
|
|
31796
|
-
function
|
|
31796
|
+
function m2(s) {
|
|
31797
31797
|
const c = [];
|
|
31798
31798
|
return c.push({
|
|
31799
31799
|
title: "Name",
|
|
@@ -31823,7 +31823,7 @@ function mm(s) {
|
|
|
31823
31823
|
}
|
|
31824
31824
|
];
|
|
31825
31825
|
}
|
|
31826
|
-
function
|
|
31826
|
+
function p2(s) {
|
|
31827
31827
|
return [
|
|
31828
31828
|
{
|
|
31829
31829
|
title: "Legal name",
|
|
@@ -31856,7 +31856,7 @@ function Fu(s) {
|
|
|
31856
31856
|
const c = s.length, d = s.length / 3;
|
|
31857
31857
|
return d <= 1 ? "".padStart(c, "*") : `${s.slice(0, Math.floor(d))}${s.slice(-Math.ceil(d)).padStart(s.length - 4, "*")}`;
|
|
31858
31858
|
}
|
|
31859
|
-
function
|
|
31859
|
+
function g2(s) {
|
|
31860
31860
|
var F;
|
|
31861
31861
|
const c = s.ref, d = s.status, v = (F = s.res) == null ? void 0 : F.ErrorCode;
|
|
31862
31862
|
return { fields: [
|
|
@@ -31913,7 +31913,7 @@ function fr(s) {
|
|
|
31913
31913
|
const d = String(s).replace(/"/g, '""');
|
|
31914
31914
|
return /[,\n\r"]/.test(d) ? `"${d}"` : d;
|
|
31915
31915
|
}
|
|
31916
|
-
function
|
|
31916
|
+
function A2(s) {
|
|
31917
31917
|
var I, N, R;
|
|
31918
31918
|
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 }) => [
|
|
31919
31919
|
...V,
|
|
@@ -31933,7 +31933,7 @@ function Am(s) {
|
|
|
31933
31933
|
`
|
|
31934
31934
|
);
|
|
31935
31935
|
}
|
|
31936
|
-
async function
|
|
31936
|
+
async function b2(s, c) {
|
|
31937
31937
|
if (!(s != null && s.length)) return;
|
|
31938
31938
|
const d = s[0].merchant, v = (V) => et.Dinero.fromFdoDinero(V).toFormat();
|
|
31939
31939
|
let z = 0;
|
|
@@ -31975,9 +31975,9 @@ async function bm(s, c) {
|
|
|
31975
31975
|
), R = document.createElement("a");
|
|
31976
31976
|
R.href = N, R.setAttribute("download", decodeURIComponent(j)), document.body.appendChild(R), R.click(), R.remove();
|
|
31977
31977
|
}
|
|
31978
|
-
class
|
|
31978
|
+
class v2 extends Jo {
|
|
31979
31979
|
get settingDialogComponent() {
|
|
31980
|
-
return
|
|
31980
|
+
return d2;
|
|
31981
31981
|
}
|
|
31982
31982
|
getDate() {
|
|
31983
31983
|
return {
|
|
@@ -31986,7 +31986,7 @@ class vm extends Jo {
|
|
|
31986
31986
|
};
|
|
31987
31987
|
}
|
|
31988
31988
|
formatSubmission(c) {
|
|
31989
|
-
return
|
|
31989
|
+
return h2(c);
|
|
31990
31990
|
}
|
|
31991
31991
|
sortSubmissions(c) {
|
|
31992
31992
|
return c.sort(
|
|
@@ -31999,19 +31999,19 @@ class vm extends Jo {
|
|
|
31999
31999
|
), c;
|
|
32000
32000
|
}
|
|
32001
32001
|
exportSubmissions(c, d) {
|
|
32002
|
-
return
|
|
32002
|
+
return b2(c, d);
|
|
32003
32003
|
}
|
|
32004
32004
|
initRestaurantProfile(c) {
|
|
32005
|
-
return
|
|
32005
|
+
return c2(c);
|
|
32006
32006
|
}
|
|
32007
32007
|
initMarketingProfile(c, d) {
|
|
32008
|
-
return
|
|
32008
|
+
return f2(c, d);
|
|
32009
32009
|
}
|
|
32010
32010
|
}
|
|
32011
|
-
const
|
|
32011
|
+
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 = {
|
|
32012
32012
|
key: 0,
|
|
32013
32013
|
class: "xs:px-16"
|
|
32014
|
-
},
|
|
32014
|
+
}, T2 = ["src"], P2 = { key: 1 }, I2 = { class: "table-group" }, _2 = /* @__PURE__ */ It({
|
|
32015
32015
|
__name: "EInvoice",
|
|
32016
32016
|
setup(s) {
|
|
32017
32017
|
var a;
|
|
@@ -32084,7 +32084,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32084
32084
|
case Pt.F_COUNTRY.enum.TH:
|
|
32085
32085
|
return zu;
|
|
32086
32086
|
case Pt.F_COUNTRY.enum.VN:
|
|
32087
|
-
return
|
|
32087
|
+
return y2;
|
|
32088
32088
|
default:
|
|
32089
32089
|
return wu;
|
|
32090
32090
|
}
|
|
@@ -32168,8 +32168,8 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32168
32168
|
var i;
|
|
32169
32169
|
const le = Te("FmSpacer"), ve = Te("FmButton"), u = Te("FmChip"), n = Te("FmSimpleDateRangePicker"), t = Te("FmSearch"), r = Te("FmCard");
|
|
32170
32170
|
return ze(), We(mt, null, [
|
|
32171
|
-
K("div",
|
|
32172
|
-
K("div",
|
|
32171
|
+
K("div", w2, [
|
|
32172
|
+
K("div", z2, [
|
|
32173
32173
|
A[4] || (A[4] = K("div", { class: "fm-typo-en-title-md-800" }, "E-invoice", -1)),
|
|
32174
32174
|
se(le),
|
|
32175
32175
|
se(ve, {
|
|
@@ -32180,7 +32180,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32180
32180
|
onClick: e
|
|
32181
32181
|
}, null, 8, ["disabled"])
|
|
32182
32182
|
]),
|
|
32183
|
-
K("div",
|
|
32183
|
+
K("div", E2, [
|
|
32184
32184
|
se(F0, {
|
|
32185
32185
|
modelValue: L.value,
|
|
32186
32186
|
"onUpdate:modelValue": A[0] || (A[0] = (o) => L.value = o),
|
|
@@ -32215,8 +32215,8 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32215
32215
|
onClick: A[3] || (A[3] = () => be())
|
|
32216
32216
|
})) : rt("", !0)
|
|
32217
32217
|
]),
|
|
32218
|
-
K("div",
|
|
32219
|
-
!ie.value && !fe.value.length ? (ze(), We("div",
|
|
32218
|
+
K("div", C2, [
|
|
32219
|
+
!ie.value && !fe.value.length ? (ze(), We("div", F2, [
|
|
32220
32220
|
se(r, {
|
|
32221
32221
|
class: _t([
|
|
32222
32222
|
"flex flex-col items-center justify-center",
|
|
@@ -32229,7 +32229,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32229
32229
|
src: nt(w0),
|
|
32230
32230
|
alt: "No submissions",
|
|
32231
32231
|
class: "w-120 max-w-full"
|
|
32232
|
-
}, null, 8,
|
|
32232
|
+
}, null, 8, T2),
|
|
32233
32233
|
A[5] || (A[5] = K("div", { class: "flex flex-col gap-4 items-center" }, [
|
|
32234
32234
|
K("p", { class: "fm-typo-en-title-sm-600" }, "No submissions found"),
|
|
32235
32235
|
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. ")
|
|
@@ -32237,12 +32237,12 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32237
32237
|
]),
|
|
32238
32238
|
_: 1
|
|
32239
32239
|
})
|
|
32240
|
-
])) : (ze(), We("div",
|
|
32240
|
+
])) : (ze(), We("div", P2, [
|
|
32241
32241
|
se(Eu, {
|
|
32242
32242
|
fields: ((i = fe.value[0]) == null ? void 0 : i.submissionSummary) ?? []
|
|
32243
32243
|
}, null, 8, ["fields"]),
|
|
32244
32244
|
(ze(!0), We(mt, null, yt(H.value, (o, l) => (ze(), We("div", { key: l }, [
|
|
32245
|
-
K("div",
|
|
32245
|
+
K("div", I2, [
|
|
32246
32246
|
se(go, {
|
|
32247
32247
|
fields: o.submissionSummary,
|
|
32248
32248
|
onClick: () => je(o),
|
|
@@ -32257,7 +32257,7 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32257
32257
|
ref_key: "eInvoiceDialogRef",
|
|
32258
32258
|
ref: c
|
|
32259
32259
|
}, null, 512)),
|
|
32260
|
-
se(
|
|
32260
|
+
se(qm, {
|
|
32261
32261
|
ref_key: "eInvoiceSubmissionRef",
|
|
32262
32262
|
ref: d
|
|
32263
32263
|
}, null, 512)
|
|
@@ -32266,5 +32266,5 @@ const ym = new vm(), wm = { class: "h-full w-full" }, zm = { class: "flex items-
|
|
|
32266
32266
|
}
|
|
32267
32267
|
});
|
|
32268
32268
|
export {
|
|
32269
|
-
|
|
32269
|
+
_2 as default
|
|
32270
32270
|
};
|
package/dist/app.js
CHANGED