datex-studio-cli 0.4.24__tar.gz → 0.4.25__tar.gz
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.
- datex_studio_cli-0.4.25/.github/workflows/release.yml +106 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/PKG-INFO +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/pyproject.toml +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/__init__.py +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/cli.py +12 -6
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/recorder.py +8 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/404/index.html +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/404.html +1 -1
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/app/_not-found/page-ea1be7001c230704.js → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/_not-found/page-e3c660196c244183.js +1 -1
- datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/design/capture/page-c083dc9f01f32a04.js +1 -0
- datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/design/page-689cd5b9e1d9a74e.js +1 -0
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/app/layout-2cc6eac09e476c91.js → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/layout-cec86f90e385371d.js +1 -1
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/app/page-20c358395882cdac.js → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/page-f0380b0f29983264.js +1 -1
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/main-app-b69998d8941231d8.js → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/main-app-694cf3568b6c9fa9.js +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/design/capture/index.html +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/design/capture/index.txt +4 -4
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/design/index.html +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/design/index.txt +4 -4
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/index.html +1 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/index.txt +4 -4
- datex_studio_cli-0.4.24/.github/workflows/release.yml +0 -54
- datex_studio_cli-0.4.24/inspections.md +0 -147
- datex_studio_cli-0.4.24/outbound.md +0 -928
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/app/design/capture/page-a5e129c2d223432c.js +0 -1
- datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/chunks/app/design/page-21ba66a3dd3b03f0.js +0 -1
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.dockerignore +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.github/actionlint.yaml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.github/workflows/build-image.yml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.github/workflows/ci.yml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.github/workflows/promote-prod.yml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/.gitignore +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/CONTEXT.md +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/README.md +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/.env.example +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/Dockerfile +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/README.md +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/apply-local-cache.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/collector-config.yaml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/docker-compose.yml +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/local-test-settings.json +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/otel/remote-settings.json +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/report-creator.skill +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/scripts/analyze_corpus.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/scripts/generate_rdlx_schema.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/__main__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/api.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/auth.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/branch.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/branch_commit_guard.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/cascade.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/config.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/configuration.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/crm.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/crm_delivery.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/crm_time.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/datasource.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/devops.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/document.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/endpoint.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/env.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/explore.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/function.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/init.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/marketplace.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/_common.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/api.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/create.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/data.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/pack.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/ng/preview.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/odata.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/organization.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/proxy.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/reference.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/release_notes.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/repo.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/add_cmds.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/api.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/batch.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/create.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/data.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/dataset.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/edit.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/folder.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/preview.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/report/schema_cmds.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/reset.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/schema.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/servicepack.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/source.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/studio.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/telemetry.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/user.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/commands/validation_report.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/context.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/agent_browser.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/app_config.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/client.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/endpoints.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/metadata_models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/reference_graph.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/api/replacements.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/datex_tenant.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/decorators.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/msal_client.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/tenants.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/auth/token_cache.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/cache.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/flow_generator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/flow_models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/flow_shape.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/generator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/parsers.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/resolver.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/type_def_parser.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/datasource/validator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/designer/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/designer/flow_models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/designer/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/designer/parsers.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/devops/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/devops/client.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/devops/helpers.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/devops/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/client.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/html.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/metadata_cache.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/pagination.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/resolvers.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/dynamics/time_entry.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/footprint/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/footprint/client.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/footprint/edmx_parser.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/footprint/metadata.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/function/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/function/generator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/function/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/function/validator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/graph.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/onboarding.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/csv_fmt.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/formatter.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/json_fmt.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/redaction.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/output/yaml_fmt.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/release_notes.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/responses.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/config.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/identity.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/scrubber.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/core/telemetry/sender.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/models/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/folder.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/manifest.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/mocks.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/preview.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/scaffold.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/ng/serve_lock.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/py.typed +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/datasource_binding.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/engine.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/field_parser.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/folder.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/manifest.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/models.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/preview.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/preview_arjs.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/schema.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/svg_renderer.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/templates/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/templates/bill_of_lading.rdlx-json +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/templates/shipping_label.rdlx-json +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/validate_arjs.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/validator.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/report/wrapper.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/click_options.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/clipboard.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/config.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/errors.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/filtering.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/image.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/paths.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/resolvers.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/responses.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/restricted.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/sorting.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/update_check.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/utils/versioning.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/__init__.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/app.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/design.py +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/proxy_app.py +0 -0
- {datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/66KX2RhbxI0ARIXVny2EP → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/BbKuTltyqzuSYoNcVtfWa}/_buildManifest.js +0 -0
- {datex_studio_cli-0.4.24/src/dxs/web/static/_next/static/66KX2RhbxI0ARIXVny2EP → datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/BbKuTltyqzuSYoNcVtfWa}/_ssgManifest.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/0b24cca5-c1e1c8810348f107.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/255-102f2e5b2e3dc2ef.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/4bd1b696-c023c6e3521b1417.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/538-b06224e65f71c9a1.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/697-0e000ab410d9f470.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/871-1acacdb7b4022abf.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/8b8f67fc-6295949a4b5485a4.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/909-c88abba3cf0caec3.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/framework-de98b93a850cfc71.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/main-0f18f91200dac003.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/pages/_app-7d307437aca18ad4.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/pages/_error-cb2a52f75f2162e2.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/chunks/webpack-2b297ada5306c17f.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/_next/static/css/360c657de5e04df8.css +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/render-cli.js +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/report-preview.html +0 -0
- {datex_studio_cli-0.4.24 → datex_studio_cli-0.4.25}/src/dxs/web/static/report-validate.html +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# The CLI's PyPI release lane (spec §5), retiring publish.sh and ~/.pypirc.
|
|
2
|
+
# Two ways in, one publish path:
|
|
3
|
+
# - tag push vX.Y.Z — versions must already be aligned across pyproject,
|
|
4
|
+
# __init__, and uv.lock (the uv.lock entry is the one nothing else updates)
|
|
5
|
+
# - manual dispatch with an optional `version` input — the workflow bumps
|
|
6
|
+
# pyproject/__init__/uv.lock, commits to main, tags vX.Y.Z, then publishes.
|
|
7
|
+
# A blank input publishes the version already in the files (the retry lane
|
|
8
|
+
# for a release that failed after its bump commit landed).
|
|
9
|
+
# Both lanes: full CI → version-agreement assert → frontend build with a hard
|
|
10
|
+
# existence check (the gitignored web/static/ ships via hatch `artifacts`,
|
|
11
|
+
# which silently includes nothing when absent) → uv build + publish via PyPI
|
|
12
|
+
# trusted publishing.
|
|
13
|
+
# Prerequisite: a trusted publisher for this repo/workflow configured on PyPI.
|
|
14
|
+
name: Release to PyPI
|
|
15
|
+
|
|
16
|
+
on:
|
|
17
|
+
push:
|
|
18
|
+
tags: ["v*"]
|
|
19
|
+
workflow_dispatch:
|
|
20
|
+
inputs:
|
|
21
|
+
version:
|
|
22
|
+
description: "New version (X.Y.Z) — bumps files, commits to main, tags, publishes. Blank — publish the version already in the files."
|
|
23
|
+
required: false
|
|
24
|
+
type: string
|
|
25
|
+
|
|
26
|
+
permissions:
|
|
27
|
+
contents: read
|
|
28
|
+
|
|
29
|
+
concurrency:
|
|
30
|
+
group: release-pypi
|
|
31
|
+
|
|
32
|
+
jobs:
|
|
33
|
+
ci:
|
|
34
|
+
uses: ./.github/workflows/ci.yml
|
|
35
|
+
|
|
36
|
+
publish:
|
|
37
|
+
needs: ci
|
|
38
|
+
runs-on: arc-dxs
|
|
39
|
+
timeout-minutes: 30
|
|
40
|
+
permissions:
|
|
41
|
+
contents: write # the dispatch lane pushes the bump commit + tag
|
|
42
|
+
id-token: write # PyPI trusted publishing
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
- uses: astral-sh/setup-uv@v5
|
|
46
|
+
with:
|
|
47
|
+
enable-cache: true
|
|
48
|
+
- run: uv python install 3.13
|
|
49
|
+
- name: Bump version, commit, and tag (dispatch with a version input)
|
|
50
|
+
if: github.event_name == 'workflow_dispatch' && inputs.version != ''
|
|
51
|
+
env:
|
|
52
|
+
VERSION: ${{ inputs.version }}
|
|
53
|
+
run: |
|
|
54
|
+
set -euo pipefail
|
|
55
|
+
if [ "${GITHUB_REF}" != "refs/heads/main" ]; then
|
|
56
|
+
echo "version bumps may only be dispatched from main (got ${GITHUB_REF})" >&2
|
|
57
|
+
exit 1
|
|
58
|
+
fi
|
|
59
|
+
if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
|
|
60
|
+
echo "version must be X.Y.Z (got '$VERSION')" >&2
|
|
61
|
+
exit 1
|
|
62
|
+
fi
|
|
63
|
+
current=$(grep -m1 '^version = ' pyproject.toml | cut -d'"' -f2)
|
|
64
|
+
if [ "$VERSION" != "$current" ]; then
|
|
65
|
+
sed -i "s/^version = \".*\"/version = \"$VERSION\"/" pyproject.toml
|
|
66
|
+
sed -i "s/^__version__ = \".*\"/__version__ = \"$VERSION\"/" src/dxs/__init__.py
|
|
67
|
+
uv lock
|
|
68
|
+
git config user.name "github-actions[bot]"
|
|
69
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
70
|
+
git add pyproject.toml src/dxs/__init__.py uv.lock
|
|
71
|
+
git commit -m "Bump version to $VERSION"
|
|
72
|
+
git push origin HEAD:main
|
|
73
|
+
fi
|
|
74
|
+
# The tag push is the reuse guard: it fails if v$VERSION already exists.
|
|
75
|
+
git tag "v$VERSION"
|
|
76
|
+
git push origin "v$VERSION"
|
|
77
|
+
- name: Assert expected version == pyproject == __init__ == uv.lock
|
|
78
|
+
env:
|
|
79
|
+
VERSION: ${{ inputs.version }}
|
|
80
|
+
run: |
|
|
81
|
+
pyproject=$(grep -m1 '^version = ' pyproject.toml | cut -d'"' -f2)
|
|
82
|
+
init=$(grep -m1 '__version__' src/dxs/__init__.py | cut -d'"' -f2)
|
|
83
|
+
lock=$(awk '/^name = "datex-studio-cli"$/ {found=1} found && /^version = / {print; exit}' uv.lock | cut -d'"' -f2)
|
|
84
|
+
if [ "${GITHUB_EVENT_NAME}" = "push" ]; then
|
|
85
|
+
expected="${GITHUB_REF#refs/tags/v}"
|
|
86
|
+
else
|
|
87
|
+
expected="${VERSION:-$pyproject}"
|
|
88
|
+
fi
|
|
89
|
+
echo "expected=${expected} pyproject=${pyproject} __init__=${init} uv.lock=${lock}"
|
|
90
|
+
if [ "$expected" != "$pyproject" ] || [ "$pyproject" != "$init" ] || [ "$pyproject" != "$lock" ]; then
|
|
91
|
+
echo "version sources disagree — run 'uv lock' and align all three before releasing" >&2
|
|
92
|
+
exit 1
|
|
93
|
+
fi
|
|
94
|
+
- uses: actions/setup-node@v4
|
|
95
|
+
with:
|
|
96
|
+
node-version: 22
|
|
97
|
+
- name: Build the web UI (shipped via hatch artifacts)
|
|
98
|
+
working-directory: src/dxs/web/frontend
|
|
99
|
+
run: |
|
|
100
|
+
npm ci
|
|
101
|
+
npm run build
|
|
102
|
+
- name: Assert the frontend build actually produced the static export
|
|
103
|
+
run: test -f src/dxs/web/static/index.html
|
|
104
|
+
- run: uv build
|
|
105
|
+
- name: Publish via trusted publishing
|
|
106
|
+
run: uv publish
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: datex-studio-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.25
|
|
4
4
|
Summary: CLI for Datex Studio low-code platform, designed for LLM-based AI agents
|
|
5
5
|
Project-URL: Homepage, https://github.com/datex/datex-studio-cli
|
|
6
6
|
Project-URL: Documentation, https://github.com/datex/datex-studio-cli
|
|
@@ -500,7 +500,7 @@ def handle_errors(f: F) -> F:
|
|
|
500
500
|
try:
|
|
501
501
|
return ctx.invoke(f, *args, **kwargs)
|
|
502
502
|
except DxsError as e:
|
|
503
|
-
_record_error_silently(e)
|
|
503
|
+
_record_error_silently(e, dxs_ctx)
|
|
504
504
|
dxs_ctx.output_error(e)
|
|
505
505
|
sys.exit(1)
|
|
506
506
|
except (click.ClickException, click.Abort, click.exceptions.Exit):
|
|
@@ -509,19 +509,24 @@ def handle_errors(f: F) -> F:
|
|
|
509
509
|
# not errors and must not be rendered as error envelopes.
|
|
510
510
|
raise
|
|
511
511
|
except Exception as e:
|
|
512
|
-
_record_error_silently(e)
|
|
512
|
+
_record_error_silently(e, dxs_ctx)
|
|
513
513
|
dxs_ctx.output_error(e)
|
|
514
514
|
sys.exit(1)
|
|
515
515
|
|
|
516
516
|
return cast(F, wrapper)
|
|
517
517
|
|
|
518
518
|
|
|
519
|
-
def _record_error_silently(exc: BaseException) -> None:
|
|
520
|
-
"""Emit a telemetry error event; never raises.
|
|
519
|
+
def _record_error_silently(exc: BaseException, dxs_ctx: "DxsContext | None" = None) -> None:
|
|
520
|
+
"""Emit a telemetry error event; never raises.
|
|
521
|
+
|
|
522
|
+
``dxs_ctx`` is available on the handle_errors path and supplies the same
|
|
523
|
+
``ctx_*`` slices success events carry; errors escaping to main() arrive
|
|
524
|
+
after Click tears the context down and go out without them.
|
|
525
|
+
"""
|
|
521
526
|
try:
|
|
522
527
|
from dxs.core.telemetry import record_error
|
|
523
528
|
|
|
524
|
-
record_error(exc)
|
|
529
|
+
record_error(exc, ctx_extras=_ctx_extras(dxs_ctx))
|
|
525
530
|
except Exception: # noqa: BLE001
|
|
526
531
|
pass
|
|
527
532
|
|
|
@@ -756,7 +761,8 @@ def update_cmd(yes: bool, check_only: bool) -> None:
|
|
|
756
761
|
try:
|
|
757
762
|
from dxs.core.telemetry import record_end
|
|
758
763
|
|
|
759
|
-
|
|
764
|
+
dxs_ctx = click.get_current_context().find_object(DxsContext)
|
|
765
|
+
record_end(exit_code=0, ctx_extras=_ctx_extras(dxs_ctx))
|
|
760
766
|
except Exception: # noqa: BLE001
|
|
761
767
|
pass
|
|
762
768
|
try:
|
|
@@ -10,6 +10,7 @@ import os
|
|
|
10
10
|
import platform
|
|
11
11
|
import sys
|
|
12
12
|
import time
|
|
13
|
+
import traceback
|
|
13
14
|
from datetime import datetime, timezone
|
|
14
15
|
from typing import Any
|
|
15
16
|
|
|
@@ -28,9 +29,10 @@ from dxs.core.telemetry.identity import (
|
|
|
28
29
|
get_os_user,
|
|
29
30
|
get_session_id,
|
|
30
31
|
)
|
|
31
|
-
from dxs.core.telemetry.scrubber import scrub_argv
|
|
32
|
+
from dxs.core.telemetry.scrubber import scrub_argv, scrub_string
|
|
32
33
|
|
|
33
34
|
SCHEMA_VERSION = 1
|
|
35
|
+
ERROR_STACK_LIMIT = 4000
|
|
34
36
|
|
|
35
37
|
# Event lifecycle state (module-level — one CLI invocation per process)
|
|
36
38
|
_state: dict[str, Any] = {
|
|
@@ -179,6 +181,11 @@ def _build_event(
|
|
|
179
181
|
code = getattr(error, "code", None)
|
|
180
182
|
if isinstance(code, str):
|
|
181
183
|
event["error_code"] = code
|
|
184
|
+
if error.__traceback__ is not None:
|
|
185
|
+
stack = "".join(traceback.format_exception(type(error), error, error.__traceback__))
|
|
186
|
+
# Scrub before truncating: truncation could otherwise split a JWT
|
|
187
|
+
# so its tail no longer matches the redaction pattern.
|
|
188
|
+
event["error_stack"] = _truncate(scrub_string(stack), ERROR_STACK_LIMIT)
|
|
182
189
|
|
|
183
190
|
if ctx_extras:
|
|
184
191
|
for key, value in ctx_extras.items():
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--BbKuTltyqzuSYoNcVtfWa--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/360c657de5e04df8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-2b297ada5306c17f.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-102f2e5b2e3dc2ef.js" async=""></script><script src="/_next/static/chunks/main-app-694cf3568b6c9fa9.js" async=""></script><script src="/_next/static/chunks/909-c88abba3cf0caec3.js" async=""></script><script src="/_next/static/chunks/697-0e000ab410d9f470.js" async=""></script><script src="/_next/static/chunks/app/layout-cec86f90e385371d.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Datex FDE Agent Console</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-background text-foreground h-screen overflow-hidden flex flex-col"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","dark",null,["light","dark"],null,true,true)</script><div class="flex flex-col h-full overflow-hidden"><header class="flex-shrink-0 border-b px-4 py-4 flex items-center gap-3"><button class="p-1 rounded-md hover:bg-accent" aria-label="Toggle navigation"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu h-5 w-5" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button><h1 class="text-xl font-semibold tracking-tight">Datex FDE Agent Console</h1><div class="ml-auto"><button class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground h-9 w-9" disabled=""></button></div></header><div class="flex flex-1 min-h-0"><aside class="hidden md:flex flex-col border-r bg-background flex-shrink-0 transition-[width] duration-200 w-0 overflow-hidden"><nav class="flex flex-col gap-1 p-2"><button class="flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground bg-accent text-accent-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-table h-4 w-4" aria-hidden="true"><path d="M12 3v18"></path><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M3 9h18"></path><path d="M3 15h18"></path></svg>Data Studio</button><button class="flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-palette h-4 w-4" aria-hidden="true"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"></path><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"></circle><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"></circle><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"></circle><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"></circle></svg>Report Designer</button></nav></aside><main class="flex-1 min-h-0 min-w-0 overflow-hidden"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div></div><script src="/_next/static/chunks/webpack-2b297ada5306c17f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[3479,[\"909\",\"static/chunks/909-c88abba3cf0caec3.js\",\"697\",\"static/chunks/697-0e000ab410d9f470.js\",\"177\",\"static/chunks/app/layout-cec86f90e385371d.js\"],\"ThemeProvider\"]\n3:I[2308,[\"909\",\"static/chunks/909-c88abba3cf0caec3.js\",\"697\",\"static/chunks/697-0e000ab410d9f470.js\",\"177\",\"static/chunks/app/layout-cec86f90e385371d.js\"],\"default\"]\n4:I[9766,[],\"\"]\n5:I[8924,[],\"\"]\n6:I[4431,[],\"OutletBoundary\"]\n8:I[5278,[],\"AsyncMetadataOutlet\"]\na:I[4431,[],\"ViewportBoundary\"]\nc:I[4431,[],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[7150,[],\"\"]\n:HL[\"/_next/static/css/360c657de5e04df8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"BbKuTltyqzuSYoNcVtfWa\",\"p\":\"\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/360c657de5e04df8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"bg-background text-foreground h-screen overflow-hidden flex flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Datex FDE Agent Console\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$9:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--BbKuTltyqzuSYoNcVtfWa--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/360c657de5e04df8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-2b297ada5306c17f.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-102f2e5b2e3dc2ef.js" async=""></script><script src="/_next/static/chunks/main-app-694cf3568b6c9fa9.js" async=""></script><script src="/_next/static/chunks/909-c88abba3cf0caec3.js" async=""></script><script src="/_next/static/chunks/697-0e000ab410d9f470.js" async=""></script><script src="/_next/static/chunks/app/layout-cec86f90e385371d.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Datex FDE Agent Console</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-background text-foreground h-screen overflow-hidden flex flex-col"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","dark",null,["light","dark"],null,true,true)</script><div class="flex flex-col h-full overflow-hidden"><header class="flex-shrink-0 border-b px-4 py-4 flex items-center gap-3"><button class="p-1 rounded-md hover:bg-accent" aria-label="Toggle navigation"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu h-5 w-5" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button><h1 class="text-xl font-semibold tracking-tight">Datex FDE Agent Console</h1><div class="ml-auto"><button class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground h-9 w-9" disabled=""></button></div></header><div class="flex flex-1 min-h-0"><aside class="hidden md:flex flex-col border-r bg-background flex-shrink-0 transition-[width] duration-200 w-0 overflow-hidden"><nav class="flex flex-col gap-1 p-2"><button class="flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground bg-accent text-accent-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-table h-4 w-4" aria-hidden="true"><path d="M12 3v18"></path><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M3 9h18"></path><path d="M3 15h18"></path></svg>Data Studio</button><button class="flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-palette h-4 w-4" aria-hidden="true"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"></path><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"></circle><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"></circle><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"></circle><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"></circle></svg>Report Designer</button></nav></aside><main class="flex-1 min-h-0 min-w-0 overflow-hidden"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div></div><script src="/_next/static/chunks/webpack-2b297ada5306c17f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[3479,[\"909\",\"static/chunks/909-c88abba3cf0caec3.js\",\"697\",\"static/chunks/697-0e000ab410d9f470.js\",\"177\",\"static/chunks/app/layout-cec86f90e385371d.js\"],\"ThemeProvider\"]\n3:I[2308,[\"909\",\"static/chunks/909-c88abba3cf0caec3.js\",\"697\",\"static/chunks/697-0e000ab410d9f470.js\",\"177\",\"static/chunks/app/layout-cec86f90e385371d.js\"],\"default\"]\n4:I[9766,[],\"\"]\n5:I[8924,[],\"\"]\n6:I[4431,[],\"OutletBoundary\"]\n8:I[5278,[],\"AsyncMetadataOutlet\"]\na:I[4431,[],\"ViewportBoundary\"]\nc:I[4431,[],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[7150,[],\"\"]\n:HL[\"/_next/static/css/360c657de5e04df8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"BbKuTltyqzuSYoNcVtfWa\",\"p\":\"\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/360c657de5e04df8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"bg-background text-foreground h-screen overflow-hidden flex flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Datex FDE Agent Console\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$9:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{4585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6503:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(9520)}])},8886:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(5155),n=l(4585);function o(e){let{status:t,message:l}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:t+": "+l}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:t}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:l})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9520:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(5155),n=l(8886),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[441,255,358],()=>e(e.s=6503)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[672],{6699:(e,t,n)=>{Promise.resolve().then(n.bind(n,6743))},6743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var o=n(5155),d=n(2115),u=n(4955),l=n(1762);function r(){var e,t;let{report:n,sampleData:r}=(0,u.j)(),[c,s]=(0,d.useState)(!1),a=(0,d.useRef)(null);if((0,d.useEffect)(()=>{if(n)return a.current&&clearTimeout(a.current),a.current=setTimeout(()=>s(!0),400),()=>{a.current&&clearTimeout(a.current)}},[n,r]),(0,d.useEffect)(()=>{let e=document.body.style.overflow,t=document.body.style.margin,n=document.body.style.background,o=document.documentElement.style.background;return document.body.style.overflow="visible",document.body.style.height="auto",document.body.style.margin="0",document.body.style.padding="0",document.body.style.background="white",document.documentElement.style.background="white",()=>{document.body.style.overflow=e,document.body.style.margin=t,document.body.style.background=n,document.documentElement.style.background=o}},[]),!n)return(0,o.jsx)("div",{children:"No report open"});let m=null!=r;return(0,o.jsx)("div",{...c?{"data-canvas-ready":""}:{},style:{display:"inline-block",lineHeight:0},children:(0,o.jsx)(l.A,{page:null!=(e=n.Page)?e:{},sections:null!=(t=n.ReportSections)?t:[],previewMode:m,sampleData:r,captureMode:!0,embeddedImages:n.EmbeddedImages})})}}},e=>{e.O(0,[903,507,538,441,255,358],()=>e(e.s=6699)),_N_E=e.O()}]);
|
datex_studio_cli-0.4.25/src/dxs/web/static/_next/static/chunks/app/design/page-689cd5b9e1d9a74e.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37],{94:(e,t,s)=>{Promise.resolve().then(s.bind(s,6733))},1669:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(5121).A)("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]])},4033:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(5121).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},4269:(e,t,s)=>{"use strict";s.d(t,{cn:()=>r});var a=s(2821),l=s(5889);function r(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,l.QP)((0,a.$)(t))}},6733:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>L});var a=s(5155),l=s(2115),r=s(4955),n=s(4269);function i(e){let{fileName:t,connected:s,pageWidth:l,pageHeight:r,zoom:i,onZoomChange:o,zoomLocked:d,onZoomLockedChange:c,previewMode:x,onPreviewModeChange:m,hasSampleData:h,showMargins:u,onShowMarginsChange:p}=e,g=Math.round(100*i);return(0,a.jsxs)("div",{className:"flex items-center gap-4 border-b px-4 py-2 text-sm flex-shrink-0 bg-background",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,a.jsx)("span",{className:(0,n.cn)("h-2 w-2 rounded-full flex-shrink-0",s?"bg-green-500":"bg-red-500"),title:s?"Connected":"Disconnected"}),(0,a.jsx)("span",{className:"font-medium truncate",children:null!=t?t:"No file"})]}),l&&r&&(0,a.jsxs)("span",{className:"text-muted-foreground whitespace-nowrap",children:[l," x ",r]}),h&&m&&(0,a.jsxs)("div",{className:"flex items-center rounded-md border text-xs overflow-hidden",children:[(0,a.jsx)("button",{className:(0,n.cn)("px-2 py-1 transition-colors",x?"text-muted-foreground hover:text-foreground":"bg-primary text-primary-foreground"),onClick:()=>m(!1),children:"Expressions"}),(0,a.jsx)("button",{className:(0,n.cn)("px-2 py-1 transition-colors",x?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"),onClick:()=>m(!0),children:"Preview"})]}),p&&(0,a.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-muted-foreground cursor-pointer select-none",children:[(0,a.jsx)("input",{type:"checkbox",checked:null==u||u,onChange:e=>p(e.target.checked),className:"accent-primary"}),"Margins"]}),(0,a.jsx)("div",{className:"flex-1"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("label",{htmlFor:"zoom-slider",className:"text-muted-foreground whitespace-nowrap",children:[g,"%"]}),(0,a.jsx)("input",{id:"zoom-slider",type:"range",min:50,max:200,value:g,onChange:e=>o(Number(e.target.value)/100),className:"w-24 accent-primary"}),c&&(0,a.jsx)("button",{onClick:()=>c(!d),className:(0,n.cn)("p-1.5 rounded transition-colors",d?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground hover:bg-muted"),title:d?"Auto-zoom locked (click to unlock)":"Lock auto-zoom",children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:d?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,a.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,a.jsx)("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})]})})})]})]})}var o=s(5121);let d=(0,o.A)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]),c=(0,o.A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),x=(0,o.A)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),m=(0,o.A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);var h=s(1669),u=s(4033);let p=(0,o.A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),g=(0,o.A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),f={add:"text-blue-400",set:"text-green-400",move:"text-yellow-400",remove:"text-red-400"};function j(e){let{activities:t}=e;return 0===t.length?(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-muted-foreground italic",children:"No activity yet"}):(0,a.jsx)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:(0,a.jsx)("ul",{className:"flex flex-col gap-0.5 px-2 py-1",children:t.map((e,t)=>{var s;return(0,a.jsxs)("li",{className:"flex items-baseline gap-2 text-xs py-0.5",children:[(0,a.jsx)("span",{className:null!=(s=f[e.displayAction])?s:"text-muted-foreground",children:e.displayAction}),(0,a.jsx)("span",{className:"truncate flex-1 text-foreground",children:e.element}),(0,a.jsx)("span",{className:"text-muted-foreground whitespace-nowrap",children:new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]},"".concat(e.timestamp,"-").concat(t))})})})}let N={textbox:(0,a.jsx)(d,{className:"h-3.5 w-3.5 flex-shrink-0"}),line:(0,a.jsx)(c,{className:"h-3.5 w-3.5 flex-shrink-0"}),rectangle:(0,a.jsx)(x,{className:"h-3.5 w-3.5 flex-shrink-0"}),barcode:(0,a.jsx)(m,{className:"h-3.5 w-3.5 flex-shrink-0"}),table:(0,a.jsx)(h.A,{className:"h-3.5 w-3.5 flex-shrink-0"})};function v(e){var t;let{item:s,depth:r,highlightedElement:i,onSelectElement:o}=e,d=Array.isArray(s.ReportItems)&&s.ReportItems.length>0,[c,m]=(0,l.useState)(!0),h=i===s.Name;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("li",{className:(0,n.cn)("flex items-center gap-1 py-1 text-xs rounded-sm cursor-pointer hover:bg-muted/50",h&&"border-l-2 border-green-500 font-bold"),style:{paddingLeft:12*r+8},onClick:()=>null==o?void 0:o(s.Name),children:[d?(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),m(e=>!e)},className:"p-0 flex-shrink-0 hover:text-foreground text-muted-foreground",children:c?(0,a.jsx)(u.A,{className:"h-3 w-3"}):(0,a.jsx)(p,{className:"h-3 w-3"})}):(0,a.jsx)("span",{className:"w-3 flex-shrink-0"}),null!=(t=N[s.Type.toLowerCase()])?t:(0,a.jsx)(x,{className:"h-3.5 w-3.5 flex-shrink-0"}),(0,a.jsx)("span",{className:"truncate",children:s.Name})]}),d&&c&&(0,a.jsx)(b,{items:s.ReportItems,depth:r+1,highlightedElement:i,onSelectElement:o})]})}function b(e){let{items:t,depth:s,highlightedElement:l,onSelectElement:r}=e;return(0,a.jsx)(a.Fragment,{children:t.map(e=>(0,a.jsx)(v,{item:e,depth:s,highlightedElement:l,onSelectElement:r},e.Name))})}function y(e){var t,s;let{section:r,highlightedElement:n,onSelectElement:i}=e,[o,d]=(0,l.useState)(!0),c=null!=(s=null==(t=r.Body)?void 0:t.ReportItems)?s:[];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("li",{className:"flex items-center gap-1 py-1 text-xs font-medium px-2",children:[(0,a.jsx)("button",{onClick:()=>d(e=>!e),className:"p-0 flex-shrink-0 hover:text-foreground text-muted-foreground",children:o?(0,a.jsx)(u.A,{className:"h-3 w-3"}):(0,a.jsx)(p,{className:"h-3 w-3"})}),(0,a.jsx)(g,{className:"h-3.5 w-3.5 flex-shrink-0 text-muted-foreground"}),(0,a.jsx)("span",{className:"truncate",children:r.Name}),(0,a.jsx)("span",{className:"text-muted-foreground ml-auto text-[10px]",children:c.length})]}),o&&(0,a.jsx)(b,{items:c,depth:1,highlightedElement:n,onSelectElement:i})]})}function w(e){var t,s;let{sections:l,highlightedElement:r,activities:n,onSelectElement:i}=e,o=l.reduce((e,t)=>{var s,a,l;return e+(null!=(l=null==(a=t.Body)||null==(s=a.ReportItems)?void 0:s.length)?l:0)},0);return(0,a.jsxs)("div",{className:"w-60 flex-shrink-0 border-r bg-background flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:"Layers"}),0===o?(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-muted-foreground italic",children:"No elements"}):(0,a.jsx)("ul",{className:"flex flex-col gap-0.5 px-1",children:1===l.length?(0,a.jsx)(b,{items:null!=(s=null==(t=l[0].Body)?void 0:t.ReportItems)?s:[],depth:0,highlightedElement:r,onSelectElement:i}):l.map(e=>(0,a.jsx)(y,{section:e,highlightedElement:r,onSelectElement:i},e.Name))})]}),(0,a.jsxs)("div",{className:"border-t flex flex-col min-h-0",style:{maxHeight:"40%"},children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wider flex-shrink-0",children:"Activity"}),(0,a.jsx)(j,{activities:n})]})]})}var k=s(5728),S=s(1762);function M(e){var t,s;let{report:r,zoom:n,onZoomChange:i,highlightedElement:o,onSelectElement:d,previewMode:c,sampleData:x,showMargins:m}=e,h=null!=(t=r.Page)?t:{},u=null!=(s=r.ReportSections)?s:[],p=(0,l.useRef)(null),g=(0,l.useRef)(!1),f=(0,l.useCallback)(()=>{var e,t;let s=p.current;if(!s||!i)return;let a=(0,k.Ql)(null!=(e=h.PageWidth)?e:"8.5in"),l=(0,k.Ql)(null!=(t=h.PageHeight)?t:"11in");if(a<=0||l<=0)return;let r=s.clientWidth-64,n=s.clientHeight-64;r<=0||n<=0||i(Math.round(100*Math.min(r/a,n/l,2))/100)},[h.PageWidth,h.PageHeight,i]);return(0,l.useEffect)(()=>{let e=p.current;if(!e)return;f(),g.current=!0;let t=new ResizeObserver(()=>f());return t.observe(e),()=>t.disconnect()},[f]),(0,a.jsx)("div",{ref:p,className:"flex-1 overflow-auto bg-zinc-800",children:(0,a.jsx)("div",{className:"flex justify-center py-8",children:(0,a.jsx)("div",{style:{transform:"scale(".concat(n,")"),transformOrigin:"top center",transition:"transform 200ms ease-out"},className:"shadow-lg",children:(0,a.jsx)(S.A,{page:h,sections:u,highlightedElement:o,onSelectElement:d,previewMode:c,sampleData:x,showMargins:m,embeddedImages:r.EmbeddedImages})})})})}let A=(0,o.A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),C=(0,o.A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function E(e){let{fields:t,row:s}=e;return(0,a.jsx)("div",{className:"overflow-y-auto max-h-60",children:(0,a.jsx)("table",{className:"w-full text-[10px] border-collapse",children:(0,a.jsx)("tbody",{children:t.map(e=>{var t;return(0,a.jsxs)("tr",{className:"hover:bg-muted/30",children:[(0,a.jsx)("td",{className:"px-1 py-0.5 border-b border-border/50 text-muted-foreground font-medium whitespace-nowrap align-top",title:e.name,children:e.name}),(0,a.jsx)("td",{className:"px-1 py-0.5 border-b border-border/50 break-all",children:String(null!=(t=s[e.name])?t:"")})]},e.name)})})})})}function z(e){let{fields:t,rows:s}=e;return(0,a.jsx)("div",{className:"overflow-x-auto max-h-40 overflow-y-auto",children:(0,a.jsxs)("table",{className:"w-full text-[10px] border-collapse",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:t.map(e=>(0,a.jsx)("th",{className:"text-left px-1 py-0.5 border-b border-border text-muted-foreground font-medium whitespace-nowrap",title:e.name,children:e.name.length>20?e.name.slice(0,18)+"…":e.name},e.name))})}),(0,a.jsx)("tbody",{children:s.map((e,s)=>(0,a.jsx)("tr",{className:"hover:bg-muted/30",children:t.map(t=>{var s,l;return(0,a.jsx)("td",{className:"px-1 py-0.5 border-b border-border/50 truncate max-w-[120px]",title:String(null!=(s=e[t.name])?s:""),children:String(null!=(l=e[t.name])?l:"")},t.name)})},s))})]})})}function P(e){var t;let{name:s,ds:r,isUnmatched:i}=e,[o,d]=(0,l.useState)(!0),[c,x]=(0,l.useState)(!1),m=(null==(t=r.schema)?void 0:t.properties)?Object.entries(r.schema.properties).map(e=>{let[t,s]=e;return{name:t,type:s.type}}):r.data.length>0?Object.entries(r.data[0]).map(e=>{let[t,s]=e;return{name:t,type:typeof s}}):[],h=r.data.slice(0,10),g=1===h.length;return(0,a.jsxs)("div",{className:"border-b border-border last:border-b-0",children:[(0,a.jsxs)("button",{onClick:()=>d(e=>!e),className:(0,n.cn)("flex items-center gap-1.5 w-full px-3 py-1.5 text-xs hover:bg-muted/50",i&&"text-amber-600"),children:[o?(0,a.jsx)(u.A,{className:"h-3 w-3 flex-shrink-0"}):(0,a.jsx)(p,{className:"h-3 w-3 flex-shrink-0"}),(0,a.jsx)(A,{className:"h-3 w-3 flex-shrink-0"}),(0,a.jsx)("span",{className:"font-medium truncate",children:s}),(0,a.jsxs)("span",{className:"ml-auto text-[10px] text-muted-foreground",children:[r.data.length," row",1!==r.data.length?"s":""]}),i&&(0,a.jsx)(C,{className:"h-3 w-3 flex-shrink-0 text-amber-500"})]}),o&&(0,a.jsxs)("div",{className:"px-3 pb-2",children:[i&&(0,a.jsx)("div",{className:"text-[10px] text-amber-600 mb-1",children:"No matching DataSet in report"}),(0,a.jsxs)("button",{onClick:()=>x(e=>!e),className:"flex items-center gap-1 text-[10px] text-muted-foreground hover:text-foreground mb-1",children:[c?(0,a.jsx)(u.A,{className:"h-2.5 w-2.5"}):(0,a.jsx)(p,{className:"h-2.5 w-2.5"}),(0,a.jsx)("span",{className:"font-semibold uppercase tracking-wider",children:"Fields"}),(0,a.jsxs)("span",{className:"font-normal",children:["(",m.length,")"]})]}),c&&(0,a.jsx)("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 mb-1.5 pl-3",children:m.map(e=>(0,a.jsxs)("span",{className:"text-[10px]",children:[(0,a.jsx)("span",{className:"text-foreground",children:e.name}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:[":",e.type]})]},e.name))}),h.length>0&&(g?(0,a.jsx)(E,{fields:m,row:h[0]}):(0,a.jsx)(z,{fields:m,rows:h}))]})]})}function R(e){let{sampleData:t,reportDataSets:s,collapsed:l,onToggleCollapse:r}=e,n=Object.keys(t.dataSets),i=new Set((null!=s?s:[]).map(e=>e.Name)),o=n.filter(e=>!i.has(e)),d=[...i].filter(e=>!t.dataSets[e]);return l?(0,a.jsx)("div",{className:"w-8 flex-shrink-0 border-l bg-background flex flex-col items-center pt-2",children:(0,a.jsx)("button",{onClick:r,className:"text-muted-foreground hover:text-foreground",title:"Show sample data",children:(0,a.jsx)(A,{className:"h-4 w-4"})})}):(0,a.jsxs)("div",{className:"w-80 flex-shrink-0 border-l bg-background flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-3 py-2 flex-shrink-0",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:"Sample Data"}),(0,a.jsx)("button",{onClick:r,className:"text-muted-foreground hover:text-foreground text-xs",title:"Collapse panel",children:(0,a.jsx)(p,{className:"h-3.5 w-3.5"})})]}),(0,a.jsxs)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:[0===n.length?(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-muted-foreground italic",children:"No datasets in data file"}):n.map(e=>(0,a.jsx)(P,{name:e,ds:t.dataSets[e],isUnmatched:o.includes(e)},e)),d.length>0&&(0,a.jsxs)("div",{className:"px-3 py-2 border-t border-border",children:[(0,a.jsxs)("div",{className:"text-[10px] text-amber-600 flex items-center gap-1 mb-0.5",children:[(0,a.jsx)(C,{className:"h-3 w-3"}),"Missing sample data"]}),d.map(e=>(0,a.jsx)("div",{className:"text-[10px] text-muted-foreground pl-4",children:e},e))]})]})]})}function L(){var e,t,s,n;let{report:o,changes:d,connected:c,activities:x,sampleData:m}=(0,r.j)(),[h,u]=(0,l.useState)(1),[p,g]=(0,l.useState)(!1),[f,j]=(0,l.useState)(!1),[N,v]=(0,l.useState)(!0),b=(0,l.useRef)(!1);(0,l.useEffect)(()=>{m&&!b.current&&(b.current=!0,j(!0)),m||(b.current=!1)},[m]);let[y,k]=(0,l.useState)(!1),[S,A]=(0,l.useState)(null),[C,E]=(0,l.useState)(!1),z=(0,l.useRef)(d.length);(0,l.useEffect)(()=>{d.length!==z.current&&(z.current=d.length,E(!1),A(null))},[d.length]);let P=(0,l.useCallback)(e=>{E(!0),A(t=>t===e?null:e)},[]),L=d.length>0?d[d.length-1].element:void 0,D=C?null!=S?S:void 0:null!=(s=null!=L?L:S)?s:void 0;if(!o)return(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsx)(i,{connected:c,zoom:h,onZoomChange:u,zoomLocked:p,onZoomLockedChange:g}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center text-muted-foreground",children:[(0,a.jsx)("p",{className:"text-lg font-medium mb-2",children:"No report open"}),(0,a.jsxs)("p",{className:"text-sm",children:["Use ",(0,a.jsx)("code",{className:"bg-muted px-1.5 py-0.5 rounded text-xs",children:"dxs studio open <file>"})," to start"]})]})})]});let I=null!==m;return(0,a.jsxs)("div",{className:"flex flex-col h-full","data-canvas-ready":!0,children:[(0,a.jsx)(i,{fileName:o.Name,connected:c,pageWidth:null==(e=o.Page)?void 0:e.PageWidth,pageHeight:null==(t=o.Page)?void 0:t.PageHeight,zoom:h,onZoomChange:u,zoomLocked:p,onZoomLockedChange:g,previewMode:f,onPreviewModeChange:j,hasSampleData:I,showMargins:N,onShowMarginsChange:v}),(0,a.jsxs)("div",{className:"flex flex-1 min-h-0",children:[(0,a.jsx)(w,{sections:null!=(n=o.ReportSections)?n:[],highlightedElement:D,activities:x,onSelectElement:P}),(0,a.jsx)(M,{report:o,zoom:h,onZoomChange:p?void 0:u,highlightedElement:D,onSelectElement:P,previewMode:f&&I,sampleData:m,showMargins:N}),I&&(0,a.jsx)(R,{sampleData:m,reportDataSets:o.DataSets,collapsed:y,onToggleCollapse:()=>k(e=>!e)})]})]})}}},e=>{e.O(0,[903,507,909,538,441,255,358],()=>e(e.s=94)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1669:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(5121).A)("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]])},2308:(e,t,a)=>{"use strict";a.d(t,{default:()=>A});var s=a(5155),r=a(2115),n=a(7260),o=a(5121);let l=(0,o.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var i=a(5379);let d=(0,o.A)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),c=(0,o.A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var m=a(3998);function h(){let{theme:e,setTheme:t}=(0,i.D)(),[a,n]=(0,r.useState)(!1);return((0,r.useEffect)(()=>n(!0),[]),a)?(0,s.jsx)(m.$,{variant:"ghost",size:"icon",onClick:()=>t("dark"===e?"light":"dark"),"aria-label":"Toggle theme",children:"dark"===e?(0,s.jsx)(d,{className:"h-4 w-4"}):(0,s.jsx)(c,{className:"h-4 w-4"})}):(0,s.jsx)(m.$,{variant:"ghost",size:"icon",disabled:!0})}var u=a(1669);let f=(0,o.A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);var p=a(6867),g=a(3101),x=a(5229),y=a(4269);let b=p.bL;p.l9,p.bm;let v=p.ZL,k=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.hJ,{className:(0,y.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});k.displayName=p.hJ.displayName;let w=(0,g.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),j=r.forwardRef((e,t)=>{let{side:a="right",className:r,children:n,...o}=e;return(0,s.jsxs)(v,{children:[(0,s.jsx)(k,{}),(0,s.jsxs)(p.UC,{ref:t,className:(0,y.cn)(w({side:a}),r),...o,children:[(0,s.jsxs)(p.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,s.jsx)(x.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),n]})]})});j.displayName=p.UC.displayName;let N=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,y.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};N.displayName="SheetHeader";let C=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.hE,{ref:t,className:(0,y.cn)("text-lg font-semibold text-foreground",a),...r})});C.displayName=p.hE.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.VY,{ref:t,className:(0,y.cn)("text-sm text-muted-foreground",a),...r})}).displayName=p.VY.displayName;let E=[{label:"Data Studio",icon:(0,s.jsx)(u.A,{className:"h-4 w-4"}),id:"data-studio",href:"/"},{label:"Report Designer",icon:(0,s.jsx)(f,{className:"h-4 w-4"}),id:"report-designer",href:"/design"}];function S(e){let{active:t,onSelect:a}=e;return(0,s.jsx)("nav",{className:"flex flex-col gap-1 p-2",children:E.map(e=>(0,s.jsxs)("button",{onClick:()=>{window.location.href=e.href,null==a||a(e.id)},className:(0,y.cn)("flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors","hover:bg-accent hover:text-accent-foreground",t===e.id&&"bg-accent text-accent-foreground"),children:[e.icon,e.label]},e.id))})}function T(e){let{isOpen:t,onClose:a}=e,[n,o]=(0,r.useState)("data-studio");(0,r.useEffect)(()=>{let e=E.find(e=>"/"!==e.href&&window.location.pathname.startsWith(e.href));o(e?e.id:"data-studio")},[]);let[l,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=e=>i(e.matches);return t(e),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("aside",{className:(0,y.cn)("hidden md:flex flex-col border-r bg-background flex-shrink-0 transition-[width] duration-200",t?"w-60":"w-0 overflow-hidden"),children:(0,s.jsx)(S,{active:n})}),l&&(0,s.jsx)(b,{open:t,onOpenChange:e=>{e||a()},children:(0,s.jsxs)(j,{side:"left",className:"w-60 p-0",children:[(0,s.jsx)(N,{className:"px-4 pt-4 pb-2",children:(0,s.jsx)(C,{className:"text-sm font-semibold",children:"Navigation"})}),(0,s.jsx)(S,{active:n,onSelect:a})]})})]})}function A(e){let{children:t}=e,[a,o]=(0,r.useState)(!1),i=(0,n.usePathname)();return"/design/capture"===i||"/design/capture/"===i?(0,s.jsx)(s.Fragment,{children:t}):(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,s.jsxs)("header",{className:"flex-shrink-0 border-b px-4 py-4 flex items-center gap-3",children:[(0,s.jsx)("button",{onClick:()=>o(e=>!e),className:"p-1 rounded-md hover:bg-accent","aria-label":"Toggle navigation",children:(0,s.jsx)(l,{className:"h-5 w-5"})}),(0,s.jsx)("h1",{className:"text-xl font-semibold tracking-tight",children:"Datex FDE Agent Console"}),(0,s.jsx)("div",{className:"ml-auto",children:(0,s.jsx)(h,{})})]}),(0,s.jsxs)("div",{className:"flex flex-1 min-h-0",children:[(0,s.jsx)(T,{isOpen:a,onClose:()=>o(!1)}),(0,s.jsx)("main",{className:"flex-1 min-h-0 min-w-0 overflow-hidden",children:t})]})]})}},3431:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,3673,23)),Promise.resolve().then(a.bind(a,2308)),Promise.resolve().then(a.bind(a,3479))},3479:(e,t,a)=>{"use strict";a.d(t,{ThemeProvider:()=>n});var s=a(5155),r=a(5379);function n(e){let{children:t}=e;return(0,s.jsx)(r.N,{attribute:"class",defaultTheme:"dark",enableSystem:!0,children:t})}},3673:()=>{},3998:(e,t,a)=>{"use strict";a.d(t,{$:()=>d});var s=a(5155),r=a(2115),n=a(2467),o=a(3101),l=a(4269);let i=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,size:o,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,s.jsx)(m,{className:(0,l.cn)(i({variant:r,size:o,className:a})),ref:t,...c})});d.displayName="Button"},4269:(e,t,a)=>{"use strict";a.d(t,{cn:()=>n});var s=a(2821),r=a(5889);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}},5379:(e,t,a)=>{"use strict";a.d(t,{D:()=>d,N:()=>c});var s=a(2115),r=(e,t,a,s,r,n,o,l)=>{let i=document.documentElement,d=["light","dark"];function c(t){var a;(Array.isArray(e)?e:[e]).forEach(e=>{let a="class"===e,s=a&&n?r.map(e=>n[e]||e):r;a?(i.classList.remove(...s),i.classList.add(n&&n[t]?n[t]:t)):i.setAttribute(e,t)}),a=t,l&&d.includes(a)&&(i.style.colorScheme=a)}if(s)c(s);else try{let e=localStorage.getItem(t)||a,s=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(s)}catch(e){}},n=["light","dark"],o="(prefers-color-scheme: dark)",l=s.createContext(void 0),i={setTheme:e=>{},themes:[]},d=()=>{var e;return null!=(e=s.useContext(l))?e:i},c=e=>s.useContext(l)?s.createElement(s.Fragment,null,e.children):s.createElement(h,{...e}),m=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:a=!1,enableSystem:r=!0,enableColorScheme:i=!0,storageKey:d="theme",themes:c=m,defaultTheme:h=r?"system":"light",attribute:x="data-theme",value:y,children:b,nonce:v,scriptProps:k}=e,[w,j]=s.useState(()=>f(d,h)),[N,C]=s.useState(()=>"system"===w?g():w),E=y?Object.values(y):c,S=s.useCallback(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=g());let s=y?y[t]:t,o=a?p(v):null,l=document.documentElement,d=e=>{"class"===e?(l.classList.remove(...E),s&&l.classList.add(s)):e.startsWith("data-")&&(s?l.setAttribute(e,s):l.removeAttribute(e))};if(Array.isArray(x)?x.forEach(d):d(x),i){let e=n.includes(h)?h:null,a=n.includes(t)?t:e;l.style.colorScheme=a}null==o||o()},[v]),T=s.useCallback(e=>{let t="function"==typeof e?e(w):e;j(t);try{localStorage.setItem(d,t)}catch(e){}},[w]),A=s.useCallback(e=>{C(g(e)),"system"===w&&r&&!t&&S("system")},[w,t]);s.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),s.useEffect(()=>{let e=e=>{e.key===d&&(e.newValue?j(e.newValue):T(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),s.useEffect(()=>{S(null!=t?t:w)},[t,w]);let M=s.useMemo(()=>({theme:w,setTheme:T,forcedTheme:t,resolvedTheme:"system"===w?N:w,themes:r?[...c,"system"]:c,systemTheme:r?N:void 0}),[w,T,t,N,r,c]);return s.createElement(l.Provider,{value:M},s.createElement(u,{forcedTheme:t,storageKey:d,attribute:x,enableSystem:r,enableColorScheme:i,defaultTheme:h,value:y,themes:c,nonce:v,scriptProps:k}),b)},u=s.memo(e=>{let{forcedTheme:t,storageKey:a,attribute:n,enableSystem:o,enableColorScheme:l,defaultTheme:i,value:d,themes:c,nonce:m,scriptProps:h}=e,u=JSON.stringify([n,a,i,t,c,d,o,l]).slice(1,-1);return s.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(r.toString(),")(").concat(u,")")}})}),f=(e,t)=>{let a;try{a=localStorage.getItem(e)||void 0}catch(e){}return a||t},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},g=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")}},e=>{e.O(0,[978,909,697,441,255,358],()=>e(e.s=3431)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1669:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(5121).A)("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]])},2308:(e,t,a)=>{"use strict";a.d(t,{default:()=>A});var s=a(5155),r=a(2115),n=a(7260),o=a(5121);let l=(0,o.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var i=a(5379);let d=(0,o.A)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),c=(0,o.A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var m=a(3998);function h(){let{theme:e,setTheme:t}=(0,i.D)(),[a,n]=(0,r.useState)(!1);return((0,r.useEffect)(()=>n(!0),[]),a)?(0,s.jsx)(m.$,{variant:"ghost",size:"icon",onClick:()=>t("dark"===e?"light":"dark"),"aria-label":"Toggle theme",children:"dark"===e?(0,s.jsx)(d,{className:"h-4 w-4"}):(0,s.jsx)(c,{className:"h-4 w-4"})}):(0,s.jsx)(m.$,{variant:"ghost",size:"icon",disabled:!0})}var u=a(1669);let f=(0,o.A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);var p=a(6867),g=a(3101),x=a(5229),y=a(4269);let b=p.bL;p.l9,p.bm;let v=p.ZL,k=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.hJ,{className:(0,y.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});k.displayName=p.hJ.displayName;let w=(0,g.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),j=r.forwardRef((e,t)=>{let{side:a="right",className:r,children:n,...o}=e;return(0,s.jsxs)(v,{children:[(0,s.jsx)(k,{}),(0,s.jsxs)(p.UC,{ref:t,className:(0,y.cn)(w({side:a}),r),...o,children:[(0,s.jsxs)(p.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,s.jsx)(x.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),n]})]})});j.displayName=p.UC.displayName;let N=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,y.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};N.displayName="SheetHeader";let C=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.hE,{ref:t,className:(0,y.cn)("text-lg font-semibold text-foreground",a),...r})});C.displayName=p.hE.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(p.VY,{ref:t,className:(0,y.cn)("text-sm text-muted-foreground",a),...r})}).displayName=p.VY.displayName;let E=[{label:"Data Studio",icon:(0,s.jsx)(u.A,{className:"h-4 w-4"}),id:"data-studio",href:"/"},{label:"Report Designer",icon:(0,s.jsx)(f,{className:"h-4 w-4"}),id:"report-designer",href:"/design"}];function S(e){let{active:t,onSelect:a}=e;return(0,s.jsx)("nav",{className:"flex flex-col gap-1 p-2",children:E.map(e=>(0,s.jsxs)("button",{onClick:()=>{window.location.href=e.href,null==a||a(e.id)},className:(0,y.cn)("flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors","hover:bg-accent hover:text-accent-foreground",t===e.id&&"bg-accent text-accent-foreground"),children:[e.icon,e.label]},e.id))})}function T(e){let{isOpen:t,onClose:a}=e,[n,o]=(0,r.useState)("data-studio");(0,r.useEffect)(()=>{let e=E.find(e=>"/"!==e.href&&window.location.pathname.startsWith(e.href));o(e?e.id:"data-studio")},[]);let[l,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=e=>i(e.matches);return t(e),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("aside",{className:(0,y.cn)("hidden md:flex flex-col border-r bg-background flex-shrink-0 transition-[width] duration-200",t?"w-60":"w-0 overflow-hidden"),children:(0,s.jsx)(S,{active:n})}),l&&(0,s.jsx)(b,{open:t,onOpenChange:e=>{e||a()},children:(0,s.jsxs)(j,{side:"left",className:"w-60 p-0",children:[(0,s.jsx)(N,{className:"px-4 pt-4 pb-2",children:(0,s.jsx)(C,{className:"text-sm font-semibold",children:"Navigation"})}),(0,s.jsx)(S,{active:n,onSelect:a})]})})]})}function A(e){let{children:t}=e,[a,o]=(0,r.useState)(!1),i=(0,n.usePathname)();return"/design/capture"===i||"/design/capture/"===i?(0,s.jsx)(s.Fragment,{children:t}):(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,s.jsxs)("header",{className:"flex-shrink-0 border-b px-4 py-4 flex items-center gap-3",children:[(0,s.jsx)("button",{onClick:()=>o(e=>!e),className:"p-1 rounded-md hover:bg-accent","aria-label":"Toggle navigation",children:(0,s.jsx)(l,{className:"h-5 w-5"})}),(0,s.jsx)("h1",{className:"text-xl font-semibold tracking-tight",children:"Datex FDE Agent Console"}),(0,s.jsx)("div",{className:"ml-auto",children:(0,s.jsx)(h,{})})]}),(0,s.jsxs)("div",{className:"flex flex-1 min-h-0",children:[(0,s.jsx)(T,{isOpen:a,onClose:()=>o(!1)}),(0,s.jsx)("main",{className:"flex-1 min-h-0 min-w-0 overflow-hidden",children:t})]})]})}},3479:(e,t,a)=>{"use strict";a.d(t,{ThemeProvider:()=>n});var s=a(5155),r=a(5379);function n(e){let{children:t}=e;return(0,s.jsx)(r.N,{attribute:"class",defaultTheme:"dark",enableSystem:!0,children:t})}},3673:()=>{},3998:(e,t,a)=>{"use strict";a.d(t,{$:()=>d});var s=a(5155),r=a(2115),n=a(2467),o=a(3101),l=a(4269);let i=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,size:o,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,s.jsx)(m,{className:(0,l.cn)(i({variant:r,size:o,className:a})),ref:t,...c})});d.displayName="Button"},4269:(e,t,a)=>{"use strict";a.d(t,{cn:()=>n});var s=a(2821),r=a(5889);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}},5379:(e,t,a)=>{"use strict";a.d(t,{D:()=>d,N:()=>c});var s=a(2115),r=(e,t,a,s,r,n,o,l)=>{let i=document.documentElement,d=["light","dark"];function c(t){var a;(Array.isArray(e)?e:[e]).forEach(e=>{let a="class"===e,s=a&&n?r.map(e=>n[e]||e):r;a?(i.classList.remove(...s),i.classList.add(n&&n[t]?n[t]:t)):i.setAttribute(e,t)}),a=t,l&&d.includes(a)&&(i.style.colorScheme=a)}if(s)c(s);else try{let e=localStorage.getItem(t)||a,s=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(s)}catch(e){}},n=["light","dark"],o="(prefers-color-scheme: dark)",l=s.createContext(void 0),i={setTheme:e=>{},themes:[]},d=()=>{var e;return null!=(e=s.useContext(l))?e:i},c=e=>s.useContext(l)?s.createElement(s.Fragment,null,e.children):s.createElement(h,{...e}),m=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:a=!1,enableSystem:r=!0,enableColorScheme:i=!0,storageKey:d="theme",themes:c=m,defaultTheme:h=r?"system":"light",attribute:x="data-theme",value:y,children:b,nonce:v,scriptProps:k}=e,[w,j]=s.useState(()=>f(d,h)),[N,C]=s.useState(()=>"system"===w?g():w),E=y?Object.values(y):c,S=s.useCallback(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=g());let s=y?y[t]:t,o=a?p(v):null,l=document.documentElement,d=e=>{"class"===e?(l.classList.remove(...E),s&&l.classList.add(s)):e.startsWith("data-")&&(s?l.setAttribute(e,s):l.removeAttribute(e))};if(Array.isArray(x)?x.forEach(d):d(x),i){let e=n.includes(h)?h:null,a=n.includes(t)?t:e;l.style.colorScheme=a}null==o||o()},[v]),T=s.useCallback(e=>{let t="function"==typeof e?e(w):e;j(t);try{localStorage.setItem(d,t)}catch(e){}},[w]),A=s.useCallback(e=>{C(g(e)),"system"===w&&r&&!t&&S("system")},[w,t]);s.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),s.useEffect(()=>{let e=e=>{e.key===d&&(e.newValue?j(e.newValue):T(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),s.useEffect(()=>{S(null!=t?t:w)},[t,w]);let M=s.useMemo(()=>({theme:w,setTheme:T,forcedTheme:t,resolvedTheme:"system"===w?N:w,themes:r?[...c,"system"]:c,systemTheme:r?N:void 0}),[w,T,t,N,r,c]);return s.createElement(l.Provider,{value:M},s.createElement(u,{forcedTheme:t,storageKey:d,attribute:x,enableSystem:r,enableColorScheme:i,defaultTheme:h,value:y,themes:c,nonce:v,scriptProps:k}),b)},u=s.memo(e=>{let{forcedTheme:t,storageKey:a,attribute:n,enableSystem:o,enableColorScheme:l,defaultTheme:i,value:d,themes:c,nonce:m,scriptProps:h}=e,u=JSON.stringify([n,a,i,t,c,d,o,l]).slice(1,-1);return s.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(r.toString(),")(").concat(u,")")}})}),f=(e,t)=>{let a;try{a=localStorage.getItem(e)||void 0}catch(e){}return a||t},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},g=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},6795:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,3673,23)),Promise.resolve().then(a.bind(a,2308)),Promise.resolve().then(a.bind(a,3479))}},e=>{e.O(0,[978,909,697,441,255,358],()=>e(e.s=6795)),_N_E=e.O()}]);
|