@flowdular/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai/agents/README.md +27 -0
- package/.ai/agents/module-executor.md +36 -0
- package/.ai/agents/reviewer.md +23 -0
- package/.ai/agents/sandbox/agentic-engineer.md +31 -0
- package/.ai/agents/sandbox/backend-engineer.md +36 -0
- package/.ai/agents/sandbox/business-manager.md +23 -0
- package/.ai/agents/sandbox/frontend-engineer.md +27 -0
- package/.ai/agents/sandbox/ux-designer.md +23 -0
- package/.ai/agents/spec-author.md +29 -0
- package/.ai/blueprints/add-migration/README.md +5 -0
- package/.ai/blueprints/add-migration/allowed-paths.yaml +23 -0
- package/.ai/blueprints/add-migration/blueprint.json +14 -0
- package/.ai/blueprints/add-migration/examples/invalid/input-destructive.json +6 -0
- package/.ai/blueprints/add-migration/examples/invalid/plan-unnumbered-file.json +9 -0
- package/.ai/blueprints/add-migration/examples/valid/input.json +6 -0
- package/.ai/blueprints/add-migration/examples/valid/plan.json +9 -0
- package/.ai/blueprints/add-migration/gates.yaml +30 -0
- package/.ai/blueprints/add-migration/input.schema.json +23 -0
- package/.ai/blueprints/add-migration/plan.schema.json +54 -0
- package/.ai/blueprints/add-migration/required-files.yaml +18 -0
- package/.ai/blueprints/add-migration/spec-requirements.yaml +13 -0
- package/.ai/blueprints/add-migration/steps.yaml +62 -0
- package/.ai/blueprints/author-spec/README.md +5 -0
- package/.ai/blueprints/author-spec/allowed-paths.yaml +7 -0
- package/.ai/blueprints/author-spec/blueprint.json +14 -0
- package/.ai/blueprints/author-spec/examples/invalid/input-missing-outcome.json +5 -0
- package/.ai/blueprints/author-spec/examples/valid/input.json +6 -0
- package/.ai/blueprints/author-spec/gates.yaml +13 -0
- package/.ai/blueprints/author-spec/input.schema.json +20 -0
- package/.ai/blueprints/author-spec/plan.schema.json +14 -0
- package/.ai/blueprints/author-spec/required-files.yaml +6 -0
- package/.ai/blueprints/author-spec/spec-requirements.yaml +35 -0
- package/.ai/blueprints/author-spec/steps.yaml +28 -0
- package/.ai/blueprints/author-spec/templates/module.yaml +45 -0
- package/.ai/blueprints/bug-fix/README.md +5 -0
- package/.ai/blueprints/bug-fix/allowed-paths.yaml +29 -0
- package/.ai/blueprints/bug-fix/blueprint.json +14 -0
- package/.ai/blueprints/bug-fix/examples/invalid/input-no-symptom.json +4 -0
- package/.ai/blueprints/bug-fix/examples/invalid/plan-no-test.json +8 -0
- package/.ai/blueprints/bug-fix/examples/valid/input.json +6 -0
- package/.ai/blueprints/bug-fix/examples/valid/plan.json +8 -0
- package/.ai/blueprints/bug-fix/gates.yaml +30 -0
- package/.ai/blueprints/bug-fix/input.schema.json +25 -0
- package/.ai/blueprints/bug-fix/plan.schema.json +53 -0
- package/.ai/blueprints/bug-fix/required-files.yaml +7 -0
- package/.ai/blueprints/bug-fix/spec-requirements.yaml +7 -0
- package/.ai/blueprints/bug-fix/steps.yaml +51 -0
- package/.ai/blueprints/core-extend/README.md +5 -0
- package/.ai/blueprints/core-extend/allowed-paths.yaml +49 -0
- package/.ai/blueprints/core-extend/blueprint.json +14 -0
- package/.ai/blueprints/core-extend/examples/invalid/input-unknown-package.json +5 -0
- package/.ai/blueprints/core-extend/examples/invalid/plan-missing-gates.json +7 -0
- package/.ai/blueprints/core-extend/examples/valid/input.json +6 -0
- package/.ai/blueprints/core-extend/examples/valid/plan.json +10 -0
- package/.ai/blueprints/core-extend/gates.yaml +16 -0
- package/.ai/blueprints/core-extend/input.schema.json +54 -0
- package/.ai/blueprints/core-extend/plan.schema.json +39 -0
- package/.ai/blueprints/core-extend/required-files.yaml +36 -0
- package/.ai/blueprints/core-extend/spec-requirements.yaml +17 -0
- package/.ai/blueprints/core-extend/steps.yaml +54 -0
- package/.ai/blueprints/edit-module/README.md +9 -0
- package/.ai/blueprints/edit-module/allowed-paths.yaml +27 -0
- package/.ai/blueprints/edit-module/blueprint.json +20 -0
- package/.ai/blueprints/edit-module/examples/invalid/input-unknown-change.json +5 -0
- package/.ai/blueprints/edit-module/examples/invalid/plan-touches-platform.json +15 -0
- package/.ai/blueprints/edit-module/examples/valid/input.json +5 -0
- package/.ai/blueprints/edit-module/examples/valid/plan.json +25 -0
- package/.ai/blueprints/edit-module/gates.yaml +30 -0
- package/.ai/blueprints/edit-module/input.schema.json +31 -0
- package/.ai/blueprints/edit-module/plan.schema.json +65 -0
- package/.ai/blueprints/edit-module/required-files.yaml +80 -0
- package/.ai/blueprints/edit-module/spec-requirements.yaml +15 -0
- package/.ai/blueprints/edit-module/steps.yaml +115 -0
- package/.ai/blueprints/new-module/README.md +7 -0
- package/.ai/blueprints/new-module/allowed-paths.yaml +27 -0
- package/.ai/blueprints/new-module/blueprint.json +20 -0
- package/.ai/blueprints/new-module/examples/invalid/input-spec-outside-modules.json +4 -0
- package/.ai/blueprints/new-module/examples/invalid/plan-unknown-gate.json +8 -0
- package/.ai/blueprints/new-module/examples/valid/input.json +5 -0
- package/.ai/blueprints/new-module/examples/valid/plan.json +22 -0
- package/.ai/blueprints/new-module/gates.yaml +30 -0
- package/.ai/blueprints/new-module/input.schema.json +21 -0
- package/.ai/blueprints/new-module/plan.schema.json +58 -0
- package/.ai/blueprints/new-module/required-files.yaml +73 -0
- package/.ai/blueprints/new-module/spec-requirements.yaml +30 -0
- package/.ai/blueprints/new-module/steps.yaml +138 -0
- package/.ai/blueprints/release/README.md +5 -0
- package/.ai/blueprints/release/allowed-paths.yaml +19 -0
- package/.ai/blueprints/release/blueprint.json +14 -0
- package/.ai/blueprints/release/examples/invalid/input-bad-version.json +4 -0
- package/.ai/blueprints/release/examples/invalid/plan-bad-branch.json +7 -0
- package/.ai/blueprints/release/examples/valid/input.json +5 -0
- package/.ai/blueprints/release/examples/valid/plan.json +20 -0
- package/.ai/blueprints/release/gates.yaml +20 -0
- package/.ai/blueprints/release/input.schema.json +24 -0
- package/.ai/blueprints/release/plan.schema.json +46 -0
- package/.ai/blueprints/release/required-files.yaml +19 -0
- package/.ai/blueprints/release/spec-requirements.yaml +8 -0
- package/.ai/blueprints/release/steps.yaml +47 -0
- package/.ai/blueprints/security-review/README.md +5 -0
- package/.ai/blueprints/security-review/allowed-paths.yaml +6 -0
- package/.ai/blueprints/security-review/blueprint.json +14 -0
- package/.ai/blueprints/security-review/examples/invalid/input-unknown-kind.json +4 -0
- package/.ai/blueprints/security-review/examples/invalid/plan-finding-without-scenario.json +14 -0
- package/.ai/blueprints/security-review/examples/valid/input.json +4 -0
- package/.ai/blueprints/security-review/examples/valid/plan.json +19 -0
- package/.ai/blueprints/security-review/gates.yaml +22 -0
- package/.ai/blueprints/security-review/input.schema.json +20 -0
- package/.ai/blueprints/security-review/plan.schema.json +65 -0
- package/.ai/blueprints/security-review/required-files.yaml +6 -0
- package/.ai/blueprints/security-review/spec-requirements.yaml +9 -0
- package/.ai/blueprints/security-review/steps.yaml +38 -0
- package/.ai/policies/capabilities.yaml +164 -0
- package/.ai/policies/model-routing.yaml +72 -0
- package/.ai/policies/path-ownership.yaml +65 -0
- package/.ai/policies/task-budgets.yaml +37 -0
- package/.ai/references/catalog/LICENSE +21 -0
- package/.ai/references/catalog/migrations/0001_catalog_core.down.sql +2 -0
- package/.ai/references/catalog/migrations/0001_catalog_core.up.sql +21 -0
- package/.ai/references/catalog/migrations/0002_catalog_history.down.sql +3 -0
- package/.ai/references/catalog/migrations/0002_catalog_history.up.sql +20 -0
- package/.ai/references/catalog/migrations/0003_catalog_history_service_actors.down.sql +3 -0
- package/.ai/references/catalog/migrations/0003_catalog_history_service_actors.up.sql +36 -0
- package/.ai/references/catalog/migrations/0004_catalog_idempotency_ledger.down.sql +3 -0
- package/.ai/references/catalog/migrations/0004_catalog_idempotency_ledger.up.sql +19 -0
- package/.ai/references/catalog/migrations/README.md +3 -0
- package/.ai/references/catalog/module.json +27 -0
- package/.ai/references/catalog/package.json +49 -0
- package/.ai/references/catalog/spec/module.yaml +86 -0
- package/.ai/references/catalog/src/acl/permissions.ts +6 -0
- package/.ai/references/catalog/src/agent/tools.ts +164 -0
- package/.ai/references/catalog/src/api/endpoints.ts +243 -0
- package/.ai/references/catalog/src/client/CatalogHistoryDrawer.tsrx +123 -0
- package/.ai/references/catalog/src/client/CatalogItemForm.tsrx +190 -0
- package/.ai/references/catalog/src/client/CatalogView.tsrx +473 -0
- package/.ai/references/catalog/src/client/api.ts +111 -0
- package/.ai/references/catalog/src/client/contribution.tsrx +61 -0
- package/.ai/references/catalog/src/client/index.ts +18 -0
- package/.ai/references/catalog/src/client/navigation-copy.ts +9 -0
- package/.ai/references/catalog/src/client/state.ts +24 -0
- package/.ai/references/catalog/src/domain/types.ts +32 -0
- package/.ai/references/catalog/src/domain/variables.ts +111 -0
- package/.ai/references/catalog/src/index.ts +31 -0
- package/.ai/references/catalog/src/platform.ts +35 -0
- package/.ai/references/catalog/src/server/index.ts +4 -0
- package/.ai/references/catalog/src/server/runtime.ts +86 -0
- package/.ai/references/catalog/src/services/catalog-service.ts +306 -0
- package/.ai/references/catalog/src/services/database-repository.ts +440 -0
- package/.ai/references/catalog/src/services/index.ts +4 -0
- package/.ai/references/catalog/src/services/migration.ts +171 -0
- package/.ai/references/catalog/src/services/repository.ts +36 -0
- package/.ai/references/catalog/src/services/target-idempotency.ts +59 -0
- package/.ai/references/catalog/tests/agent-tools.test.ts +277 -0
- package/.ai/references/catalog/tests/endpoints.test.ts +320 -0
- package/.ai/references/catalog/tests/idempotency.test.ts +297 -0
- package/.ai/references/catalog/tests/migrations.test.ts +149 -0
- package/.ai/references/catalog/tests/module.test.ts +271 -0
- package/.ai/references/catalog/tests/support/database.ts +76 -0
- package/.ai/references/catalog/translations/en.json +101 -0
- package/.ai/references/catalog/translations/pl.json +101 -0
- package/.ai/references/catalog/tsconfig.json +15 -0
- package/.ai/references/catalog/vitest.config.ts +16 -0
- package/.ai/references/catalog.provenance.json +55 -0
- package/.ai/skills/README.md +36 -0
- package/.ai/skills/agent-tool-design/SKILL.md +209 -0
- package/.ai/skills/auth-security-review/SKILL.md +96 -0
- package/.ai/skills/auto-review/SKILL.md +112 -0
- package/.ai/skills/bug-hunt/SKILL.md +110 -0
- package/.ai/skills/business-agent-design/SKILL.md +188 -0
- package/.ai/skills/cli-extension/SKILL.md +114 -0
- package/.ai/skills/core-extend/SKILL.md +104 -0
- package/.ai/skills/database-adapter/SKILL.md +204 -0
- package/.ai/skills/database-adapter/references/first-run-and-matrix.md +105 -0
- package/.ai/skills/migration-authoring/SKILL.md +167 -0
- package/.ai/skills/module-new/SKILL.md +180 -0
- package/.ai/skills/module-update/SKILL.md +100 -0
- package/.ai/skills/perf-audit/SKILL.md +105 -0
- package/.ai/skills/release-eject-pr/SKILL.md +113 -0
- package/.ai/skills/spec-approval/SKILL.md +112 -0
- package/.ai/skills/test-hardening/SKILL.md +86 -0
- package/.ai/skills/translations-i18n/SKILL.md +85 -0
- package/.ai/skills/ux-design/SKILL.md +97 -0
- package/.ai/skills/variables/SKILL.md +164 -0
- package/.ai/skills/workflow-development/SKILL.md +199 -0
- package/AGENTS.md +59 -0
- package/LICENSE +21 -0
- package/README.md +24 -0
- package/docs/agent-contract.md +45 -0
- package/docs/design-system.md +217 -0
- package/modules/agents/migrations/0001_agents_core.down.sql +4 -0
- package/modules/agents/migrations/0001_agents_core.up.sql +106 -0
- package/modules/agents/migrations/0002_provider_connections.down.sql +1 -0
- package/modules/agents/migrations/0002_provider_connections.up.sql +34 -0
- package/modules/agents/migrations/0003_resource_audit.down.sql +1 -0
- package/modules/agents/migrations/0003_resource_audit.up.sql +25 -0
- package/modules/agents/migrations/0004_run_grants.down.sql +1 -0
- package/modules/agents/migrations/0004_run_grants.up.sql +19 -0
- package/modules/agents/migrations/0005_long_running_limits.down.sql +2 -0
- package/modules/agents/migrations/0005_long_running_limits.up.sql +14 -0
- package/modules/agents/migrations/0006_agent_skills.down.sql +3 -0
- package/modules/agents/migrations/0006_agent_skills.up.sql +44 -0
- package/modules/agents/migrations/0007_model_readiness.down.sql +1 -0
- package/modules/agents/migrations/0007_model_readiness.up.sql +18 -0
- package/modules/agents/migrations/0008_output_limits.down.sql +2 -0
- package/modules/agents/migrations/0008_output_limits.up.sql +8 -0
- package/modules/agents/migrations/0009_agent_audit_v3.down.sql +1 -0
- package/modules/agents/migrations/0009_agent_audit_v3.up.sql +25 -0
- package/modules/agents/migrations/0012_agent_run_costs.down.sql +3 -0
- package/modules/agents/migrations/0012_agent_run_costs.up.sql +32 -0
- package/modules/agents/migrations/0013_workflow_prerequisites.down.sql +3 -0
- package/modules/agents/migrations/0013_workflow_prerequisites.up.sql +97 -0
- package/modules/agents/migrations/0014_agent_action_audit.down.sql +1 -0
- package/modules/agents/migrations/0014_agent_action_audit.up.sql +25 -0
- package/modules/agents/migrations/0015_agent_run_actors.down.sql +1 -0
- package/modules/agents/migrations/0015_agent_run_actors.up.sql +17 -0
- package/modules/agents/migrations/0016_module_owned_agents.down.sql +6 -0
- package/modules/agents/migrations/0016_module_owned_agents.up.sql +68 -0
- package/modules/agents/migrations/0017_agent_authorization_subjects.down.sql +2 -0
- package/modules/agents/migrations/0017_agent_authorization_subjects.up.sql +18 -0
- package/modules/agents/migrations/0018_agent_child_tenant_isolation.down.sql +12 -0
- package/modules/agents/migrations/0018_agent_child_tenant_isolation.up.sql +88 -0
- package/modules/agents/migrations/0019_background_recovery_grants.down.sql +6 -0
- package/modules/agents/migrations/0019_background_recovery_grants.up.sql +17 -0
- package/modules/agents/migrations/0020_provider_summary_role.down.sql +2 -0
- package/modules/agents/migrations/0020_provider_summary_role.up.sql +17 -0
- package/modules/agents/migrations/0021_agents_agent_reconciliation_role.down.sql +4 -0
- package/modules/agents/migrations/0021_agents_agent_reconciliation_role.up.sql +7 -0
- package/modules/agents/migrations/README.md +39 -0
- package/modules/agents/module.json +38 -0
- package/modules/agents/package.json +56 -0
- package/modules/agents/spec/module.yaml +271 -0
- package/modules/agents/spec/procedures-compatibility.md +63 -0
- package/modules/agents/src/acl/permissions.ts +13 -0
- package/modules/agents/src/api/endpoints.ts +1122 -0
- package/modules/agents/src/cli/commands.json +29 -0
- package/modules/agents/src/cli/index.ts +162 -0
- package/modules/agents/src/client/AgentDashboardWidget.tsrx +32 -0
- package/modules/agents/src/client/AgentDefinitionForm.tsrx +362 -0
- package/modules/agents/src/client/AgentDefinitionList.tsrx +127 -0
- package/modules/agents/src/client/AgentPlaygroundView.tsrx +246 -0
- package/modules/agents/src/client/AgentProcedureForm.tsrx +182 -0
- package/modules/agents/src/client/AgentProcedureList.tsrx +118 -0
- package/modules/agents/src/client/AgentProceduresView.tsrx +253 -0
- package/modules/agents/src/client/AgentProvidersView.tsrx +248 -0
- package/modules/agents/src/client/AgentRunsView.tsrx +304 -0
- package/modules/agents/src/client/AgentUsageView.tsrx +233 -0
- package/modules/agents/src/client/AgentsView.tsrx +339 -0
- package/modules/agents/src/client/ModuleAgentBindingForm.tsrx +239 -0
- package/modules/agents/src/client/ModuleAgentList.tsrx +122 -0
- package/modules/agents/src/client/ProviderConnectionForm.tsrx +273 -0
- package/modules/agents/src/client/ProviderConnectionList.tsrx +229 -0
- package/modules/agents/src/client/ProviderModelEditor.tsrx +313 -0
- package/modules/agents/src/client/RunTimeline.tsrx +212 -0
- package/modules/agents/src/client/agents.css +349 -0
- package/modules/agents/src/client/api.ts +373 -0
- package/modules/agents/src/client/contribution.tsrx +181 -0
- package/modules/agents/src/client/index.ts +21 -0
- package/modules/agents/src/client/presentation.ts +162 -0
- package/modules/agents/src/client/state.ts +100 -0
- package/modules/agents/src/domain/context-variables.ts +58 -0
- package/modules/agents/src/domain/run-timeline.ts +145 -0
- package/modules/agents/src/domain/types.ts +481 -0
- package/modules/agents/src/index.ts +88 -0
- package/modules/agents/src/platform.ts +82 -0
- package/modules/agents/src/server/action-execution.ts +811 -0
- package/modules/agents/src/server/define-agent.ts +170 -0
- package/modules/agents/src/server/index.ts +67 -0
- package/modules/agents/src/server/run-execution.ts +231 -0
- package/modules/agents/src/server/run-queue.ts +96 -0
- package/modules/agents/src/server/runtime.ts +448 -0
- package/modules/agents/src/server/tools.ts +18 -0
- package/modules/agents/src/services/agent-service.ts +2167 -0
- package/modules/agents/src/services/credential-vault.ts +133 -0
- package/modules/agents/src/services/database-repository.ts +2786 -0
- package/modules/agents/src/services/index.ts +33 -0
- package/modules/agents/src/services/migration.ts +1152 -0
- package/modules/agents/src/services/module-agent-preflight.ts +76 -0
- package/modules/agents/src/services/outbound-policy.ts +136 -0
- package/modules/agents/src/services/provider-broker.ts +80 -0
- package/modules/agents/src/services/provider-repository.ts +589 -0
- package/modules/agents/src/services/provider-service.ts +968 -0
- package/modules/agents/src/services/repository.ts +294 -0
- package/modules/agents/src/services/run-grant.ts +305 -0
- package/modules/agents/src/services/usage-service.ts +119 -0
- package/modules/agents/src/services/worker.ts +442 -0
- package/modules/agents/src/settings.ts +244 -0
- package/modules/agents/translations/en.json +403 -0
- package/modules/agents/translations/pl.json +403 -0
- package/modules/auth/README.md +215 -0
- package/modules/auth/migrations/0001_auth_core.up.sql +108 -0
- package/modules/auth/migrations/0002_bundled_module_scopes.up.sql +26 -0
- package/modules/auth/migrations/0003_agent_core_scopes.up.sql +12 -0
- package/modules/auth/migrations/0004_owner_only_development_scopes.up.sql +8 -0
- package/modules/auth/migrations/0005_agent_provider_scopes.up.sql +13 -0
- package/modules/auth/migrations/0006_tenant_slug.up.sql +6 -0
- package/modules/auth/migrations/0007_sandbox_scopes.up.sql +13 -0
- package/modules/auth/migrations/0008_api_tokens.up.sql +43 -0
- package/modules/auth/migrations/0009_module_settings.up.sql +24 -0
- package/modules/auth/migrations/0010_sign_in_lockout.up.sql +11 -0
- package/modules/auth/migrations/0011_session_ids_and_password_reset.up.sql +7 -0
- package/modules/auth/migrations/0012_roles.up.sql +31 -0
- package/modules/auth/migrations/0013_audit.up.sql +27 -0
- package/modules/auth/migrations/0014_audit_actor.up.sql +4 -0
- package/modules/auth/migrations/0015_account_security.up.sql +81 -0
- package/modules/auth/module.json +26 -0
- package/modules/auth/package.json +61 -0
- package/modules/auth/spec/module.yaml +190 -0
- package/modules/auth/src/acl/scopes.ts +86 -0
- package/modules/auth/src/api/attempt-limiter.ts +42 -0
- package/modules/auth/src/api/client-address.ts +14 -0
- package/modules/auth/src/api/cookies.ts +52 -0
- package/modules/auth/src/api/origin.ts +40 -0
- package/modules/auth/src/cli/commands.json +74 -0
- package/modules/auth/src/cli/database.ts +51 -0
- package/modules/auth/src/cli/greenfield.ts +173 -0
- package/modules/auth/src/cli/index.ts +184 -0
- package/modules/auth/src/cli/provisioning.ts +211 -0
- package/modules/auth/src/client/AuthBackdrop.tsrx +137 -0
- package/modules/auth/src/client/AuthenticationCore.tsrx +630 -0
- package/modules/auth/src/client/PasswordChangeRequired.tsrx +145 -0
- package/modules/auth/src/client/PublicAuthFlows.tsrx +379 -0
- package/modules/auth/src/client/api.ts +464 -0
- package/modules/auth/src/client/audit/AuditView.tsrx +357 -0
- package/modules/auth/src/client/audit/api.ts +164 -0
- package/modules/auth/src/client/audit/audit-columns.tsrx +47 -0
- package/modules/auth/src/client/audit/audit-row.ts +38 -0
- package/modules/auth/src/client/auth.css +483 -0
- package/modules/auth/src/client/contribution.tsrx +100 -0
- package/modules/auth/src/client/index.ts +32 -0
- package/modules/auth/src/client/security/SecurityView.tsrx +253 -0
- package/modules/auth/src/client/settings/PreferencesCard.tsrx +65 -0
- package/modules/auth/src/client/settings/SettingsView.tsrx +212 -0
- package/modules/auth/src/client/settings/WorkspaceCard.tsrx +59 -0
- package/modules/auth/src/client/settings/api.ts +115 -0
- package/modules/auth/src/client/slug.ts +26 -0
- package/modules/auth/src/client/state.ts +115 -0
- package/modules/auth/src/client/tokens/ApiTokenForm.tsrx +153 -0
- package/modules/auth/src/client/tokens/ApiTokenSecret.tsrx +35 -0
- package/modules/auth/src/client/tokens/ApiTokensView.tsrx +216 -0
- package/modules/auth/src/client/tokens/api.ts +59 -0
- package/modules/auth/src/client/tokens/state.ts +26 -0
- package/modules/auth/src/client/tokens/token-columns.tsrx +64 -0
- package/modules/auth/src/client/translations.ts +23 -0
- package/modules/auth/src/domain/types.ts +152 -0
- package/modules/auth/src/index.ts +42 -0
- package/modules/auth/src/middleware/authentication.ts +97 -0
- package/modules/auth/src/platform.ts +0 -0
- package/modules/auth/src/server/actor.ts +12 -0
- package/modules/auth/src/server/audit-endpoints.ts +51 -0
- package/modules/auth/src/server/composition.ts +9 -0
- package/modules/auth/src/server/endpoints.ts +893 -0
- package/modules/auth/src/server/http.ts +153 -0
- package/modules/auth/src/server/index.ts +37 -0
- package/modules/auth/src/server/roles-endpoints.ts +120 -0
- package/modules/auth/src/server/runtime.ts +705 -0
- package/modules/auth/src/server/session-endpoints.ts +86 -0
- package/modules/auth/src/server/session-security.ts +62 -0
- package/modules/auth/src/server/token-endpoints.ts +106 -0
- package/modules/auth/src/services/auth-service-error.ts +11 -0
- package/modules/auth/src/services/auth-service.ts +2309 -0
- package/modules/auth/src/services/database-repository.ts +1825 -0
- package/modules/auth/src/services/mail-delivery.ts +27 -0
- package/modules/auth/src/services/migration.ts +591 -0
- package/modules/auth/src/services/password.ts +115 -0
- package/modules/auth/src/services/repository.ts +395 -0
- package/modules/auth/src/services/settings-store.ts +92 -0
- package/modules/auth/src/services/totp.ts +135 -0
- package/modules/auth/src/services/validation.ts +186 -0
- package/modules/auth/src/settings.ts +150 -0
- package/modules/auth/translations/en.json +263 -0
- package/modules/auth/translations/pl.json +263 -0
- package/modules/automations/migrations/0001_automations_core.down.sql +10 -0
- package/modules/automations/migrations/0001_automations_core.up.sql +76 -0
- package/modules/automations/migrations/0002_automations_targets.down.sql +9 -0
- package/modules/automations/migrations/0002_automations_targets.up.sql +37 -0
- package/modules/automations/migrations/0003_automations_scheduler_role.down.sql +3 -0
- package/modules/automations/migrations/0003_automations_scheduler_role.up.sql +19 -0
- package/modules/automations/migrations/0004_automations_trigger_routing_role.down.sql +3 -0
- package/modules/automations/migrations/0004_automations_trigger_routing_role.up.sql +18 -0
- package/modules/automations/migrations/README.md +3 -0
- package/modules/automations/module.json +31 -0
- package/modules/automations/package.json +55 -0
- package/modules/automations/spec/module.yaml +93 -0
- package/modules/automations/src/acl/permissions.ts +10 -0
- package/modules/automations/src/api/endpoints.ts +480 -0
- package/modules/automations/src/client/AutomationScheduleForm.tsrx +218 -0
- package/modules/automations/src/client/AutomationSchedulesView.tsrx +339 -0
- package/modules/automations/src/client/AutomationTriggerForm.tsrx +190 -0
- package/modules/automations/src/client/AutomationTriggersView.tsrx +329 -0
- package/modules/automations/src/client/api.ts +148 -0
- package/modules/automations/src/client/contribution.tsrx +70 -0
- package/modules/automations/src/client/index.ts +20 -0
- package/modules/automations/src/client/presentation.ts +38 -0
- package/modules/automations/src/client/state.ts +40 -0
- package/modules/automations/src/client/target-selection.ts +44 -0
- package/modules/automations/src/domain/cadence.ts +44 -0
- package/modules/automations/src/domain/types.ts +110 -0
- package/modules/automations/src/domain/variables.ts +178 -0
- package/modules/automations/src/index.ts +39 -0
- package/modules/automations/src/platform.ts +73 -0
- package/modules/automations/src/server/execution.ts +77 -0
- package/modules/automations/src/server/index.ts +39 -0
- package/modules/automations/src/server/runtime.ts +218 -0
- package/modules/automations/src/server/targets.ts +116 -0
- package/modules/automations/src/services/automations-service.ts +10 -0
- package/modules/automations/src/services/database-repository.ts +763 -0
- package/modules/automations/src/services/index.ts +5 -0
- package/modules/automations/src/services/migration.ts +223 -0
- package/modules/automations/src/services/repository.ts +119 -0
- package/modules/automations/src/services/schedule-service.ts +837 -0
- package/modules/automations/src/services/secret-vault.ts +124 -0
- package/modules/automations/src/services/trigger-service.ts +648 -0
- package/modules/automations/src/settings.ts +69 -0
- package/modules/automations/translations/en.json +126 -0
- package/modules/automations/translations/pl.json +126 -0
- package/modules/automations-workflows-integration/module.json +27 -0
- package/modules/automations-workflows-integration/package.json +48 -0
- package/modules/automations-workflows-integration/spec/module.yaml +93 -0
- package/modules/automations-workflows-integration/src/index.ts +14 -0
- package/modules/automations-workflows-integration/src/platform.ts +24 -0
- package/modules/automations-workflows-integration/src/server/adapter.ts +272 -0
- package/modules/automations-workflows-integration/src/server/index.ts +11 -0
- package/modules/automations-workflows-integration/src/server/tools.ts +0 -0
- package/modules/automations-workflows-integration/translations/en.json +21 -0
- package/modules/automations-workflows-integration/translations/pl.json +21 -0
- package/modules/profile/migrations/0001_profile_core.down.sql +1 -0
- package/modules/profile/migrations/0001_profile_core.up.sql +13 -0
- package/modules/profile/migrations/0002_profile_language.down.sql +1 -0
- package/modules/profile/migrations/0002_profile_language.up.sql +12 -0
- package/modules/profile/migrations/README.md +3 -0
- package/modules/profile/module.json +23 -0
- package/modules/profile/package.json +55 -0
- package/modules/profile/spec/module.yaml +136 -0
- package/modules/profile/src/acl/permissions.ts +5 -0
- package/modules/profile/src/api/endpoints.ts +184 -0
- package/modules/profile/src/client/DisplayNameCard.tsrx +59 -0
- package/modules/profile/src/client/LanguageCard.tsrx +89 -0
- package/modules/profile/src/client/PasswordCard.tsrx +79 -0
- package/modules/profile/src/client/ProfileView.tsrx +192 -0
- package/modules/profile/src/client/SessionsCard.tsrx +158 -0
- package/modules/profile/src/client/api.ts +134 -0
- package/modules/profile/src/client/contribution.tsrx +61 -0
- package/modules/profile/src/client/index.ts +15 -0
- package/modules/profile/src/client/password.ts +41 -0
- package/modules/profile/src/client/sessions-api.ts +52 -0
- package/modules/profile/src/client/state.ts +23 -0
- package/modules/profile/src/domain/types.ts +21 -0
- package/modules/profile/src/index.ts +21 -0
- package/modules/profile/src/platform.ts +23 -0
- package/modules/profile/src/server/index.ts +7 -0
- package/modules/profile/src/server/runtime.ts +84 -0
- package/modules/profile/src/services/database-repository.ts +154 -0
- package/modules/profile/src/services/index.ts +6 -0
- package/modules/profile/src/services/migration.ts +58 -0
- package/modules/profile/src/services/profile-service.ts +114 -0
- package/modules/profile/src/services/repository.ts +13 -0
- package/modules/profile/translations/en.json +58 -0
- package/modules/profile/translations/pl.json +58 -0
- package/modules/sandbox/migrations/0001_sandbox_core.down.sql +6 -0
- package/modules/sandbox/migrations/0001_sandbox_core.up.sql +70 -0
- package/modules/sandbox/migrations/0002_sandbox_session_lifecycle.down.sql +36 -0
- package/modules/sandbox/migrations/0002_sandbox_session_lifecycle.up.sql +37 -0
- package/modules/sandbox/migrations/README.md +7 -0
- package/modules/sandbox/module.json +31 -0
- package/modules/sandbox/package.json +56 -0
- package/modules/sandbox/spec/module.yaml +111 -0
- package/modules/sandbox/src/acl/permissions.ts +18 -0
- package/modules/sandbox/src/api/endpoints.ts +439 -0
- package/modules/sandbox/src/cli/commands.json +84 -0
- package/modules/sandbox/src/cli/index.ts +450 -0
- package/modules/sandbox/src/client/SandboxAccessView.tsrx +191 -0
- package/modules/sandbox/src/client/SandboxGrantForm.tsrx +134 -0
- package/modules/sandbox/src/client/SandboxGrantList.tsrx +83 -0
- package/modules/sandbox/src/client/SandboxSessionList.tsrx +56 -0
- package/modules/sandbox/src/client/api.ts +87 -0
- package/modules/sandbox/src/client/contribution.tsrx +47 -0
- package/modules/sandbox/src/client/index.ts +18 -0
- package/modules/sandbox/src/client/presentation.ts +47 -0
- package/modules/sandbox/src/client/state.ts +20 -0
- package/modules/sandbox/src/domain/types.ts +125 -0
- package/modules/sandbox/src/index.ts +33 -0
- package/modules/sandbox/src/platform.ts +28 -0
- package/modules/sandbox/src/server/index.ts +20 -0
- package/modules/sandbox/src/server/runtime.ts +119 -0
- package/modules/sandbox/src/services/database-repository.ts +567 -0
- package/modules/sandbox/src/services/directory.ts +33 -0
- package/modules/sandbox/src/services/index.ts +19 -0
- package/modules/sandbox/src/services/migration.ts +145 -0
- package/modules/sandbox/src/services/repository.ts +55 -0
- package/modules/sandbox/src/services/sandbox-service-error.ts +10 -0
- package/modules/sandbox/src/services/sandbox-service.ts +533 -0
- package/modules/sandbox/translations/en.json +77 -0
- package/modules/sandbox/translations/pl.json +77 -0
- package/modules/system/module.json +18 -0
- package/modules/system/package.json +56 -0
- package/modules/system/spec/module.yaml +104 -0
- package/modules/system/src/acl/permissions.ts +10 -0
- package/modules/system/src/client/ModuleSettingRow.tsrx +191 -0
- package/modules/system/src/client/ModuleSettingsSection.tsrx +155 -0
- package/modules/system/src/client/ModulesView.tsrx +241 -0
- package/modules/system/src/client/api.ts +36 -0
- package/modules/system/src/client/contribution.tsrx +48 -0
- package/modules/system/src/client/index.ts +26 -0
- package/modules/system/src/client/module-columns.tsrx +66 -0
- package/modules/system/src/client/overview-api.ts +30 -0
- package/modules/system/src/client/setting-copy.ts +30 -0
- package/modules/system/src/client/settings-api.ts +57 -0
- package/modules/system/src/client/state.ts +16 -0
- package/modules/system/src/index.ts +11 -0
- package/modules/system/src/platform.ts +11 -0
- package/modules/system/src/server/endpoints.ts +372 -0
- package/modules/system/src/server/index.ts +11 -0
- package/modules/system/src/server/module-catalog.ts +117 -0
- package/modules/system/translations/en.json +64 -0
- package/modules/system/translations/pl.json +64 -0
- package/modules/users/migrations/README.md +3 -0
- package/modules/users/module.json +27 -0
- package/modules/users/package.json +54 -0
- package/modules/users/spec/module.yaml +79 -0
- package/modules/users/src/acl/permissions.ts +6 -0
- package/modules/users/src/api/endpoints.ts +222 -0
- package/modules/users/src/client/InviteMemberForm.tsrx +62 -0
- package/modules/users/src/client/MemberDrawer.tsrx +298 -0
- package/modules/users/src/client/RoleForm.tsrx +140 -0
- package/modules/users/src/client/RolesView.tsrx +288 -0
- package/modules/users/src/client/UserAccountForm.tsrx +86 -0
- package/modules/users/src/client/UsersView.tsrx +486 -0
- package/modules/users/src/client/api.ts +172 -0
- package/modules/users/src/client/contribution.tsrx +92 -0
- package/modules/users/src/client/index.ts +19 -0
- package/modules/users/src/client/member-columns.tsrx +52 -0
- package/modules/users/src/client/roles-api.ts +90 -0
- package/modules/users/src/client/state.ts +42 -0
- package/modules/users/src/index.ts +27 -0
- package/modules/users/src/platform.ts +11 -0
- package/modules/users/src/services/index.ts +2 -0
- package/modules/users/src/services/users-service.ts +142 -0
- package/modules/users/translations/en.json +133 -0
- package/modules/users/translations/pl.json +133 -0
- package/modules/workflows/migrations/0001_workflows_core.down.sql +19 -0
- package/modules/workflows/migrations/0001_workflows_core.up.sql +228 -0
- package/modules/workflows/migrations/0002_workflows_authorization_subject.down.sql +1 -0
- package/modules/workflows/migrations/0002_workflows_authorization_subject.up.sql +9 -0
- package/modules/workflows/migrations/0003_workflows_worker_role.up.sql +34 -0
- package/modules/workflows/migrations/README.md +7 -0
- package/modules/workflows/module.json +31 -0
- package/modules/workflows/package.json +55 -0
- package/modules/workflows/spec/module.yaml +227 -0
- package/modules/workflows/src/acl/permissions.ts +10 -0
- package/modules/workflows/src/api/endpoints.ts +852 -0
- package/modules/workflows/src/client/WorkflowCanvas.tsrx +819 -0
- package/modules/workflows/src/client/WorkflowCreateForm.tsrx +111 -0
- package/modules/workflows/src/client/WorkflowEditor.tsrx +443 -0
- package/modules/workflows/src/client/WorkflowExecutionHistory.tsrx +169 -0
- package/modules/workflows/src/client/WorkflowFixtureDrawer.tsrx +206 -0
- package/modules/workflows/src/client/WorkflowInputForm.tsrx +125 -0
- package/modules/workflows/src/client/WorkflowInputSchemaEditor.tsrx +185 -0
- package/modules/workflows/src/client/WorkflowInspector.tsrx +471 -0
- package/modules/workflows/src/client/WorkflowLiveConfirmation.tsrx +67 -0
- package/modules/workflows/src/client/WorkflowMappingEditor.tsrx +283 -0
- package/modules/workflows/src/client/WorkflowNodePalette.tsrx +50 -0
- package/modules/workflows/src/client/WorkflowPointerField.tsrx +178 -0
- package/modules/workflows/src/client/WorkflowRevisionReview.tsrx +49 -0
- package/modules/workflows/src/client/WorkflowRunInspector.tsrx +143 -0
- package/modules/workflows/src/client/WorkflowTestPanel.tsrx +109 -0
- package/modules/workflows/src/client/WorkflowValidationPanel.tsrx +139 -0
- package/modules/workflows/src/client/WorkflowsView.tsrx +1060 -0
- package/modules/workflows/src/client/api.ts +312 -0
- package/modules/workflows/src/client/canvas-model.ts +472 -0
- package/modules/workflows/src/client/connected-node.ts +71 -0
- package/modules/workflows/src/client/contribution.tsrx +57 -0
- package/modules/workflows/src/client/create-model.ts +15 -0
- package/modules/workflows/src/client/draft-repair.ts +86 -0
- package/modules/workflows/src/client/index.ts +19 -0
- package/modules/workflows/src/client/input-model.ts +124 -0
- package/modules/workflows/src/client/mapping-model.ts +110 -0
- package/modules/workflows/src/client/pointer-model.ts +123 -0
- package/modules/workflows/src/client/presentation.ts +62 -0
- package/modules/workflows/src/client/run-actions.ts +19 -0
- package/modules/workflows/src/client/state.ts +57 -0
- package/modules/workflows/src/client/viewport.ts +107 -0
- package/modules/workflows/src/client/workflows.css +899 -0
- package/modules/workflows/src/domain/events.ts +399 -0
- package/modules/workflows/src/domain/graph.ts +1136 -0
- package/modules/workflows/src/domain/types.ts +563 -0
- package/modules/workflows/src/index.ts +27 -0
- package/modules/workflows/src/platform.ts +49 -0
- package/modules/workflows/src/server/index.ts +13 -0
- package/modules/workflows/src/server/runtime.ts +266 -0
- package/modules/workflows/src/services/cursor-codec.ts +62 -0
- package/modules/workflows/src/services/database-repository.ts +2407 -0
- package/modules/workflows/src/services/index.ts +6 -0
- package/modules/workflows/src/services/migration.ts +375 -0
- package/modules/workflows/src/services/payload-codec.ts +264 -0
- package/modules/workflows/src/services/repository.ts +285 -0
- package/modules/workflows/src/services/simulation.ts +359 -0
- package/modules/workflows/src/services/worker.ts +1196 -0
- package/modules/workflows/src/services/workflows-service.ts +1395 -0
- package/modules/workflows/translations/en.json +348 -0
- package/modules/workflows/translations/pl.json +348 -0
- package/modules.json +41 -0
- package/package.json +125 -0
- package/packages/ai-provider/package.json +46 -0
- package/packages/ai-provider/src/catalog.ts +102 -0
- package/packages/ai-provider/src/errors.ts +110 -0
- package/packages/ai-provider/src/index.ts +33 -0
- package/packages/ai-provider/src/model.ts +198 -0
- package/packages/ai-provider/src/pricing.ts +73 -0
- package/packages/cli-protocol/package.json +40 -0
- package/packages/cli-protocol/src/index.ts +113 -0
- package/packages/client/package.json +46 -0
- package/packages/client/src/ApplicationShell.tsrx +374 -0
- package/packages/client/src/contributions.ts +172 -0
- package/packages/client/src/i18n/index.ts +30 -0
- package/packages/client/src/i18n/locale.ts +25 -0
- package/packages/client/src/i18n/locales/en.json +66 -0
- package/packages/client/src/i18n/locales/pl.json +66 -0
- package/packages/client/src/i18n/runtime.ts +201 -0
- package/packages/client/src/i18n/translations.ts +88 -0
- package/packages/client/src/index.ts +55 -0
- package/packages/client/src/routing.ts +9 -0
- package/packages/client/src/shell/BrandMark.tsrx +10 -0
- package/packages/client/src/shell/CommandPalette.tsrx +79 -0
- package/packages/client/src/shell/ContributionOutlets.tsrx +31 -0
- package/packages/client/src/shell/DashboardView.tsrx +60 -0
- package/packages/client/src/shell/MobileHeader.tsrx +24 -0
- package/packages/client/src/shell/OrganizationSwitcher.tsrx +100 -0
- package/packages/client/src/shell/OverviewCharts.tsrx +167 -0
- package/packages/client/src/shell/PrimaryNavigation.tsrx +75 -0
- package/packages/client/src/shell/Sidebar.tsrx +76 -0
- package/packages/client/src/shell/Topbar.tsrx +44 -0
- package/packages/client/src/shell/UserMenu.tsrx +103 -0
- package/packages/client/src/shell/WorkspaceContent.tsrx +30 -0
- package/packages/client/src/shell/identity.ts +12 -0
- package/packages/client/src/shell/navigation.ts +68 -0
- package/packages/client/src/shell/shell.css +734 -0
- package/packages/client/src/shell/types.ts +29 -0
- package/packages/client/src/state.ts +63 -0
- package/packages/client/src/web.ts +39 -0
- package/packages/coding-agent/package.json +44 -0
- package/packages/coding-agent/src/drivers/byok.ts +322 -0
- package/packages/coding-agent/src/drivers/claude-code.ts +290 -0
- package/packages/coding-agent/src/drivers/codex.ts +281 -0
- package/packages/coding-agent/src/index.ts +56 -0
- package/packages/coding-agent/src/registry.ts +119 -0
- package/packages/coding-agent/src/roles/contract.ts +60 -0
- package/packages/coding-agent/src/roles/defaults.ts +134 -0
- package/packages/coding-agent/src/roles/handoff.ts +41 -0
- package/packages/coding-agent/src/roles/registry.ts +156 -0
- package/packages/coding-agent/src/roles/skills.ts +72 -0
- package/packages/coding-agent/src/roles/sync.ts +88 -0
- package/packages/coding-agent/src/types.ts +102 -0
- package/packages/coding-agent/src/workspace.ts +275 -0
- package/packages/contracts/package.json +38 -0
- package/packages/contracts/schemas/blueprint.schema.json +48 -0
- package/packages/contracts/schemas/cli-extension.schema.json +90 -0
- package/packages/contracts/schemas/module-artifact.schema.json +82 -0
- package/packages/contracts/schemas/module-catalog.schema.json +48 -0
- package/packages/contracts/schemas/module-spec.schema.json +111 -0
- package/packages/contracts/schemas/module.schema.json +156 -0
- package/packages/contracts/schemas/platform-spec.schema.json +17 -0
- package/packages/contracts/schemas/project.schema.json +270 -0
- package/packages/contracts/src/index.ts +191 -0
- package/packages/contracts/src/module-distribution.ts +47 -0
- package/packages/contracts/src/schemas.ts +18 -0
- package/packages/contracts/src/variables.ts +156 -0
- package/packages/contracts/src/web.ts +60 -0
- package/packages/database/package.json +43 -0
- package/packages/database/src/contracts.ts +399 -0
- package/packages/database/src/index.ts +112 -0
- package/packages/database/src/migrations.ts +444 -0
- package/packages/database/src/postgresql.ts +517 -0
- package/packages/database/src/provider.ts +639 -0
- package/packages/database/src/record-history.ts +201 -0
- package/packages/database/src/registry.ts +265 -0
- package/packages/database/src/reset.ts +87 -0
- package/packages/database-pglite/package.json +42 -0
- package/packages/database-pglite/src/driver.ts +168 -0
- package/packages/database-pglite/src/index.ts +2 -0
- package/packages/database-testing/package.json +44 -0
- package/packages/database-testing/src/index.ts +8 -0
- package/packages/database-testing/src/pglite.ts +124 -0
- package/packages/database-testing/src/postgres.ts +184 -0
- package/packages/database-testing/src/provider.ts +43 -0
- package/packages/database-testing/src/vitest-preset.ts +23 -0
- package/packages/dev-console/README.md +6 -0
- package/packages/dev-console/package.json +38 -0
- package/packages/dev-console/src/index.mjs +220 -0
- package/packages/harness/package.json +47 -0
- package/packages/harness/schemas/task-packet.schema.json +48 -0
- package/packages/harness/src/catalog.ts +24 -0
- package/packages/harness/src/errors.ts +9 -0
- package/packages/harness/src/index.ts +53 -0
- package/packages/harness/src/preamble.ts +31 -0
- package/packages/harness/src/runtime.ts +833 -0
- package/packages/harness/src/task-packet.ts +86 -0
- package/packages/harness/src/tool-adapters.ts +106 -0
- package/packages/harness/src/tool-contract.ts +242 -0
- package/packages/harness/src/vercel-ai-provider.ts +198 -0
- package/packages/kernel/package.json +44 -0
- package/packages/kernel/src/acl.ts +20 -0
- package/packages/kernel/src/actor.ts +139 -0
- package/packages/kernel/src/agent-registry.ts +81 -0
- package/packages/kernel/src/capability-registry.ts +28 -0
- package/packages/kernel/src/errors.ts +9 -0
- package/packages/kernel/src/index.ts +90 -0
- package/packages/kernel/src/legacy-local-state.ts +103 -0
- package/packages/kernel/src/module-compatibility.ts +70 -0
- package/packages/kernel/src/module-registry.ts +124 -0
- package/packages/kernel/src/module-settings.ts +403 -0
- package/packages/kernel/src/record-history.ts +146 -0
- package/packages/kernel/src/runtime-config.ts +51 -0
- package/packages/kernel/src/tool-registry.ts +25 -0
- package/packages/kernel/src/variable-registry.ts +339 -0
- package/packages/sandbox/README.md +691 -0
- package/packages/sandbox/bin/flowdular-sandbox.mjs +393 -0
- package/packages/sandbox/dist/client/assets/App-ClMOrpyg.js +11 -0
- package/packages/sandbox/dist/client/assets/PreviewHost-BHiHrfbQ.js +1 -0
- package/packages/sandbox/dist/client/assets/auto-buGEq6de.js +3 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/index-CvwhlQ87.js +4 -0
- package/packages/sandbox/dist/client/assets/styles-BPWaGf55.js +3 -0
- package/packages/sandbox/dist/client/assets/styles-Dx1_KOag.css +1 -0
- package/packages/sandbox/dist/client/favicon.svg +1 -0
- package/packages/sandbox/dist/server/assets/auto-CVGNYyb3.js +12785 -0
- package/packages/sandbox/dist/server/assets/chunk-DDJLRBDX-3OUNo51g.js +4125 -0
- package/packages/sandbox/dist/server/assets/nodefs-DVSI7kG0.js +24 -0
- package/packages/sandbox/dist/server/assets/opfs-ahp-D56iokt1.js +388 -0
- package/packages/sandbox/dist/server/assets/token-Bvaq7Anz.js +55 -0
- package/packages/sandbox/dist/server/assets/token-util-BqSvdIPQ.js +3 -0
- package/packages/sandbox/dist/server/assets/token-util-CktFFT4z.js +494 -0
- package/packages/sandbox/dist/server/entry.js +91671 -0
- package/packages/sandbox/dist/server/favicon.svg +1 -0
- package/packages/sandbox/dist/server/index.html +161 -0
- package/packages/sandbox/index.html +159 -0
- package/packages/sandbox/octane.config.ts +36 -0
- package/packages/sandbox/package.json +83 -0
- package/packages/sandbox/public/favicon.svg +1 -0
- package/packages/sandbox/public/og.png +0 -0
- package/packages/sandbox/src/App.tsrx +924 -0
- package/packages/sandbox/src/client/ApprovalHandoff.tsrx +39 -0
- package/packages/sandbox/src/client/ChatPane.tsrx +694 -0
- package/packages/sandbox/src/client/ConnectView.tsrx +86 -0
- package/packages/sandbox/src/client/DiffPane.tsrx +150 -0
- package/packages/sandbox/src/client/EjectModal.tsrx +571 -0
- package/packages/sandbox/src/client/GateResults.tsrx +60 -0
- package/packages/sandbox/src/client/GitHubSettingsModal.tsrx +219 -0
- package/packages/sandbox/src/client/NewSessionForm.tsrx +214 -0
- package/packages/sandbox/src/client/SessionBar.tsrx +151 -0
- package/packages/sandbox/src/client/SessionPicker.tsrx +472 -0
- package/packages/sandbox/src/client/SpecEditor.tsrx +109 -0
- package/packages/sandbox/src/client/SpecReviewCard.tsrx +321 -0
- package/packages/sandbox/src/client/WorkCard.tsrx +128 -0
- package/packages/sandbox/src/client/WorkbenchModal.tsrx +161 -0
- package/packages/sandbox/src/client/WorkspaceMenu.tsrx +100 -0
- package/packages/sandbox/src/client/api.ts +797 -0
- package/packages/sandbox/src/client/attachments.ts +73 -0
- package/packages/sandbox/src/client/dashboard.ts +46 -0
- package/packages/sandbox/src/client/github-settings.ts +48 -0
- package/packages/sandbox/src/client/highlight.ts +105 -0
- package/packages/sandbox/src/client/i18n.ts +32 -0
- package/packages/sandbox/src/client/locales/en.json +466 -0
- package/packages/sandbox/src/client/locales/pl.json +466 -0
- package/packages/sandbox/src/client/session-labels.ts +77 -0
- package/packages/sandbox/src/client/state.ts +108 -0
- package/packages/sandbox/src/index.ts +10 -0
- package/packages/sandbox/src/preview/PreviewHost.tsrx +373 -0
- package/packages/sandbox/src/preview/load-module.ts +16 -0
- package/packages/sandbox/src/server/attachments.ts +308 -0
- package/packages/sandbox/src/server/auto-review.ts +181 -0
- package/packages/sandbox/src/server/checkpoints.ts +90 -0
- package/packages/sandbox/src/server/config.ts +460 -0
- package/packages/sandbox/src/server/dashboard.ts +245 -0
- package/packages/sandbox/src/server/delivery/configuration.ts +193 -0
- package/packages/sandbox/src/server/delivery/git-pr.ts +1473 -0
- package/packages/sandbox/src/server/delivery/index.ts +83 -0
- package/packages/sandbox/src/server/delivery/local.ts +151 -0
- package/packages/sandbox/src/server/delivery/official-modules.ts +516 -0
- package/packages/sandbox/src/server/delivery/plan.ts +218 -0
- package/packages/sandbox/src/server/delivery/policies.ts +239 -0
- package/packages/sandbox/src/server/delivery/record.ts +41 -0
- package/packages/sandbox/src/server/delivery/steps.ts +464 -0
- package/packages/sandbox/src/server/delivery/types.ts +158 -0
- package/packages/sandbox/src/server/dependencies.ts +88 -0
- package/packages/sandbox/src/server/diff.ts +230 -0
- package/packages/sandbox/src/server/gates.ts +388 -0
- package/packages/sandbox/src/server/index.ts +139 -0
- package/packages/sandbox/src/server/path-guard.ts +282 -0
- package/packages/sandbox/src/server/planning.ts +749 -0
- package/packages/sandbox/src/server/platform-client.ts +189 -0
- package/packages/sandbox/src/server/preview-database-host.ts +340 -0
- package/packages/sandbox/src/server/preview-database-protocol.ts +163 -0
- package/packages/sandbox/src/server/preview-database-proxy.ts +356 -0
- package/packages/sandbox/src/server/preview-database.ts +109 -0
- package/packages/sandbox/src/server/preview-ipc.ts +15 -0
- package/packages/sandbox/src/server/preview-modules.ts +83 -0
- package/packages/sandbox/src/server/preview-revision.ts +44 -0
- package/packages/sandbox/src/server/preview-runtime.ts +467 -0
- package/packages/sandbox/src/server/preview-worker-manager.ts +436 -0
- package/packages/sandbox/src/server/preview-worker.ts +168 -0
- package/packages/sandbox/src/server/reference.ts +251 -0
- package/packages/sandbox/src/server/routes.ts +2258 -0
- package/packages/sandbox/src/server/runtime.ts +188 -0
- package/packages/sandbox/src/server/session-owner.ts +23 -0
- package/packages/sandbox/src/server/sessions.ts +849 -0
- package/packages/sandbox/src/server/spec.ts +471 -0
- package/packages/sandbox/src/server/turn-lifecycle.ts +56 -0
- package/packages/sandbox/src/server/turns.ts +993 -0
- package/packages/sandbox/src/server/workspace-install.ts +266 -0
- package/packages/sandbox/src/server/workspace-root.ts +73 -0
- package/packages/sandbox/src/styles.css +1573 -0
- package/packages/sandbox/vite.config.ts +133 -0
- package/packages/server/package.json +43 -0
- package/packages/server/src/application-routes.ts +21 -0
- package/packages/server/src/composition.ts +48 -0
- package/packages/server/src/endpoint.ts +142 -0
- package/packages/server/src/http.ts +128 -0
- package/packages/server/src/index.ts +46 -0
- package/packages/server/src/response-lifetime.ts +56 -0
- package/packages/server/src/security-headers.ts +130 -0
- package/packages/server/src/web-html.ts +55 -0
- package/packages/server/src/web.ts +361 -0
- package/packages/ui/package.json +46 -0
- package/packages/ui/src/brand/BrandMark.tsrx +66 -0
- package/packages/ui/src/brand/mark.ts +44 -0
- package/packages/ui/src/components/Alert.tsrx +17 -0
- package/packages/ui/src/components/Avatar.tsrx +18 -0
- package/packages/ui/src/components/Button.tsrx +29 -0
- package/packages/ui/src/components/Chart.tsrx +274 -0
- package/packages/ui/src/components/CheckGrid.tsrx +93 -0
- package/packages/ui/src/components/ConfirmDialog.tsrx +63 -0
- package/packages/ui/src/components/Drawer.tsrx +71 -0
- package/packages/ui/src/components/EmptyState.tsrx +26 -0
- package/packages/ui/src/components/Filters.tsrx +39 -0
- package/packages/ui/src/components/FormField.tsrx +27 -0
- package/packages/ui/src/components/Kpi.tsrx +36 -0
- package/packages/ui/src/components/PageHeader.tsrx +26 -0
- package/packages/ui/src/components/ScopeSummary.tsrx +76 -0
- package/packages/ui/src/components/SearchField.tsrx +24 -0
- package/packages/ui/src/components/SettingRow.tsrx +50 -0
- package/packages/ui/src/components/Switch.tsrx +21 -0
- package/packages/ui/src/components/Table.tsrx +267 -0
- package/packages/ui/src/components/TableCard.tsrx +52 -0
- package/packages/ui/src/components/Tag.tsrx +28 -0
- package/packages/ui/src/components/VariableField.tsrx +284 -0
- package/packages/ui/src/components/VariableInput.tsrx +7 -0
- package/packages/ui/src/components/VariableSelect.tsrx +72 -0
- package/packages/ui/src/components/VariableTextarea.tsrx +9 -0
- package/packages/ui/src/components/variable-field.ts +61 -0
- package/packages/ui/src/components/variable-select.ts +69 -0
- package/packages/ui/src/icons/Icon.tsrx +56 -0
- package/packages/ui/src/index.ts +81 -0
- package/packages/ui/src/initials.ts +10 -0
- package/packages/ui/src/styles/base.css +71 -0
- package/packages/ui/src/styles/components.css +1859 -0
- package/packages/ui/src/styles/index.css +3 -0
- package/packages/ui/src/styles/tokens.css +124 -0
- package/tsconfig.base.json +18 -0
|
@@ -0,0 +1,1859 @@
|
|
|
1
|
+
/* Flowdular shared UI primitives. Modules compose screens from these
|
|
2
|
+
classes and the components in @flowdular/sdk/ui; module CSS should only
|
|
3
|
+
add module-specific layout, never restyle primitives. */
|
|
4
|
+
|
|
5
|
+
/* Icon sizing is controlled by the Icon component via width/height. */
|
|
6
|
+
.ui-icon {
|
|
7
|
+
flex: 0 0 auto;
|
|
8
|
+
fill: none;
|
|
9
|
+
stroke: currentColor;
|
|
10
|
+
stroke-width: 1.75;
|
|
11
|
+
stroke-linecap: round;
|
|
12
|
+
stroke-linejoin: round;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Buttons */
|
|
16
|
+
.ui-btn {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
gap: 6px;
|
|
21
|
+
height: var(--button-h);
|
|
22
|
+
padding: 0 14px;
|
|
23
|
+
font-family: var(--font-sans);
|
|
24
|
+
font-size: var(--text-md);
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
line-height: 1;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
color: var(--ink-2);
|
|
29
|
+
background: transparent;
|
|
30
|
+
border: 1px solid transparent;
|
|
31
|
+
border-radius: var(--r);
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
transition:
|
|
34
|
+
background var(--t-fast) var(--ease),
|
|
35
|
+
border-color var(--t-fast) var(--ease),
|
|
36
|
+
color var(--t-fast) var(--ease);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ui-btn--primary {
|
|
40
|
+
color: var(--ink-0);
|
|
41
|
+
background: var(--primary);
|
|
42
|
+
border-color: var(--primary);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ui-btn--primary:hover:not(:disabled) {
|
|
46
|
+
background: var(--primary-hover);
|
|
47
|
+
border-color: var(--primary-hover);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ui-btn--secondary {
|
|
51
|
+
color: var(--ink);
|
|
52
|
+
background: var(--surface);
|
|
53
|
+
border-color: var(--line);
|
|
54
|
+
box-shadow: var(--shadow-sm);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ui-btn--secondary:hover:not(:disabled) {
|
|
58
|
+
background: var(--surface-2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ui-btn--ghost:hover:not(:disabled) {
|
|
62
|
+
color: var(--ink);
|
|
63
|
+
background: var(--line-2);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ui-btn--danger {
|
|
67
|
+
color: var(--danger);
|
|
68
|
+
background: var(--surface);
|
|
69
|
+
border-color: var(--danger-line);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ui-btn--danger:hover:not(:disabled) {
|
|
73
|
+
background: var(--danger-bg);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ui-btn--sm {
|
|
77
|
+
height: 28px;
|
|
78
|
+
padding: 0 12px;
|
|
79
|
+
font-size: var(--text-sm);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ui-btn--lg {
|
|
83
|
+
height: 40px;
|
|
84
|
+
padding: 0 18px;
|
|
85
|
+
font-size: var(--text-base);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ui-btn--icon {
|
|
89
|
+
width: var(--button-h);
|
|
90
|
+
padding: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ui-btn--block {
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ui-btn:disabled {
|
|
98
|
+
cursor: not-allowed;
|
|
99
|
+
opacity: 0.5;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Form fields */
|
|
103
|
+
.ui-field {
|
|
104
|
+
display: grid;
|
|
105
|
+
gap: 6px;
|
|
106
|
+
min-width: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ui-label {
|
|
110
|
+
font-size: var(--text-sm);
|
|
111
|
+
font-weight: 500;
|
|
112
|
+
color: var(--ink-2);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ui-label em {
|
|
116
|
+
font-style: normal;
|
|
117
|
+
color: var(--danger);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ui-input,
|
|
121
|
+
.ui-select,
|
|
122
|
+
.ui-textarea {
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: var(--control-h);
|
|
125
|
+
padding: 0 10px;
|
|
126
|
+
font-family: var(--font-sans);
|
|
127
|
+
font-size: var(--text-base);
|
|
128
|
+
color: var(--ink);
|
|
129
|
+
background: var(--surface);
|
|
130
|
+
border: 1px solid var(--line);
|
|
131
|
+
border-radius: var(--r);
|
|
132
|
+
transition:
|
|
133
|
+
border-color var(--t-fast) var(--ease),
|
|
134
|
+
box-shadow var(--t-fast) var(--ease);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ui-input::placeholder,
|
|
138
|
+
.ui-textarea::placeholder {
|
|
139
|
+
color: var(--ink-4);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ui-input:focus,
|
|
143
|
+
.ui-select:focus,
|
|
144
|
+
.ui-textarea:focus {
|
|
145
|
+
border-color: var(--primary);
|
|
146
|
+
box-shadow: 0 0 0 3px var(--primary-soft);
|
|
147
|
+
outline: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.ui-input:disabled,
|
|
151
|
+
.ui-select:disabled,
|
|
152
|
+
.ui-textarea:disabled {
|
|
153
|
+
color: var(--ink-3);
|
|
154
|
+
background: var(--surface-2);
|
|
155
|
+
cursor: not-allowed;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.ui-input--error,
|
|
159
|
+
.ui-select--error,
|
|
160
|
+
.ui-textarea--error {
|
|
161
|
+
border-color: var(--danger);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.ui-input--error:focus,
|
|
165
|
+
.ui-select--error:focus,
|
|
166
|
+
.ui-textarea--error:focus {
|
|
167
|
+
box-shadow: 0 0 0 3px var(--danger-bg);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ui-textarea {
|
|
171
|
+
height: auto;
|
|
172
|
+
min-height: 120px;
|
|
173
|
+
padding: 8px 10px;
|
|
174
|
+
line-height: 1.55;
|
|
175
|
+
resize: vertical;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ui-select {
|
|
179
|
+
padding-right: 32px;
|
|
180
|
+
appearance: none;
|
|
181
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364738F' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
182
|
+
background-repeat: no-repeat;
|
|
183
|
+
background-position: right 10px center;
|
|
184
|
+
background-size: 16px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Search control for list toolbars */
|
|
188
|
+
.ui-search {
|
|
189
|
+
display: flex;
|
|
190
|
+
width: min(280px, 100%);
|
|
191
|
+
min-width: 0;
|
|
192
|
+
height: var(--button-h);
|
|
193
|
+
align-items: center;
|
|
194
|
+
gap: 8px;
|
|
195
|
+
padding: 0 10px;
|
|
196
|
+
color: var(--ink-4);
|
|
197
|
+
background: var(--surface);
|
|
198
|
+
border: 1px solid var(--line);
|
|
199
|
+
border-radius: var(--r);
|
|
200
|
+
transition:
|
|
201
|
+
border-color var(--t-fast) var(--ease),
|
|
202
|
+
box-shadow var(--t-fast) var(--ease);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ui-search:focus-within {
|
|
206
|
+
border-color: var(--primary);
|
|
207
|
+
box-shadow: 0 0 0 3px var(--primary-soft);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.ui-search input {
|
|
211
|
+
width: 100%;
|
|
212
|
+
min-width: 0;
|
|
213
|
+
height: 100%;
|
|
214
|
+
padding: 0;
|
|
215
|
+
font-family: var(--font-sans);
|
|
216
|
+
font-size: var(--text-md);
|
|
217
|
+
color: var(--ink);
|
|
218
|
+
background: transparent;
|
|
219
|
+
border: 0;
|
|
220
|
+
outline: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.ui-search input::placeholder {
|
|
224
|
+
color: var(--ink-4);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.ui-search input::-webkit-search-cancel-button {
|
|
228
|
+
appearance: none;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ui-help {
|
|
232
|
+
font-size: var(--text-sm);
|
|
233
|
+
color: var(--ink-3);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.ui-help--error {
|
|
237
|
+
color: var(--danger);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ui-checkbox {
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
gap: 8px;
|
|
244
|
+
font-size: var(--text-md);
|
|
245
|
+
color: var(--ink-2);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.ui-checkbox input {
|
|
249
|
+
width: 16px;
|
|
250
|
+
height: 16px;
|
|
251
|
+
margin: 0;
|
|
252
|
+
accent-color: var(--primary);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ui-checkbox:has(input:disabled) {
|
|
256
|
+
color: var(--ink-4);
|
|
257
|
+
cursor: not-allowed;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* The Filters dropdown: one button in a card head that opens a panel of
|
|
261
|
+
controls, so filters never break the head onto a second line. */
|
|
262
|
+
.ui-filters {
|
|
263
|
+
position: relative;
|
|
264
|
+
display: inline-flex;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ui-filters__button {
|
|
268
|
+
display: inline-flex;
|
|
269
|
+
align-items: center;
|
|
270
|
+
gap: 6px;
|
|
271
|
+
height: 34px;
|
|
272
|
+
padding: 0 12px;
|
|
273
|
+
font-family: var(--font-sans);
|
|
274
|
+
font-size: var(--text-sm);
|
|
275
|
+
font-weight: 500;
|
|
276
|
+
color: var(--ink-2);
|
|
277
|
+
background: var(--surface);
|
|
278
|
+
border: 1px solid var(--line);
|
|
279
|
+
border-radius: var(--r);
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
transition:
|
|
282
|
+
border-color var(--t-fast) var(--ease),
|
|
283
|
+
background var(--t-fast) var(--ease);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.ui-filters__button:hover {
|
|
287
|
+
border-color: var(--line-strong, var(--ink-4));
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.ui-filters__button--active {
|
|
291
|
+
color: var(--primary);
|
|
292
|
+
border-color: var(--primary);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.ui-filters__count {
|
|
296
|
+
display: inline-grid;
|
|
297
|
+
place-items: center;
|
|
298
|
+
min-width: 18px;
|
|
299
|
+
height: 18px;
|
|
300
|
+
padding: 0 5px;
|
|
301
|
+
font-size: var(--text-xs);
|
|
302
|
+
font-weight: 600;
|
|
303
|
+
color: var(--on-primary, #fff);
|
|
304
|
+
background: var(--primary);
|
|
305
|
+
border-radius: 9px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.ui-filters__scrim {
|
|
309
|
+
position: fixed;
|
|
310
|
+
inset: 0;
|
|
311
|
+
z-index: 30;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.ui-filters__panel {
|
|
315
|
+
position: absolute;
|
|
316
|
+
top: calc(100% + 6px);
|
|
317
|
+
right: 0;
|
|
318
|
+
z-index: 31;
|
|
319
|
+
display: grid;
|
|
320
|
+
gap: 12px;
|
|
321
|
+
min-width: 240px;
|
|
322
|
+
padding: 14px;
|
|
323
|
+
background: var(--surface);
|
|
324
|
+
border: 1px solid var(--line);
|
|
325
|
+
border-radius: var(--r-lg);
|
|
326
|
+
box-shadow: var(--shadow-lg, 0 10px 30px rgb(16 24 40 / 12%));
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* A short set of checkboxes on one wrapping line. */
|
|
330
|
+
.ui-choices {
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-wrap: wrap;
|
|
333
|
+
gap: 8px 16px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/* Grouped multi-select. Scopes, tool grants, and other long option sets. */
|
|
337
|
+
.ui-checks {
|
|
338
|
+
display: grid;
|
|
339
|
+
gap: 10px;
|
|
340
|
+
min-width: 0;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.ui-checks__group {
|
|
344
|
+
min-width: 0;
|
|
345
|
+
margin: 0;
|
|
346
|
+
padding: 0;
|
|
347
|
+
overflow: hidden;
|
|
348
|
+
background: var(--surface);
|
|
349
|
+
border: 1px solid var(--line);
|
|
350
|
+
border-radius: var(--r);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.ui-checks__head {
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: 8px;
|
|
357
|
+
padding: 0 8px 0 12px;
|
|
358
|
+
height: 32px;
|
|
359
|
+
font-size: var(--text-xs);
|
|
360
|
+
font-weight: 600;
|
|
361
|
+
letter-spacing: 0.06em;
|
|
362
|
+
text-transform: uppercase;
|
|
363
|
+
color: var(--ink-3);
|
|
364
|
+
background: var(--surface-2);
|
|
365
|
+
border-bottom: 1px solid var(--line-2);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.ui-checks__count {
|
|
369
|
+
margin-left: auto;
|
|
370
|
+
font-family: var(--font-mono);
|
|
371
|
+
font-weight: 400;
|
|
372
|
+
letter-spacing: 0;
|
|
373
|
+
color: var(--ink-4);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.ui-checks__all {
|
|
377
|
+
padding: 4px 6px;
|
|
378
|
+
font-family: var(--font-sans);
|
|
379
|
+
font-size: var(--text-sm);
|
|
380
|
+
font-weight: 500;
|
|
381
|
+
letter-spacing: 0;
|
|
382
|
+
text-transform: none;
|
|
383
|
+
color: var(--primary-hover);
|
|
384
|
+
background: none;
|
|
385
|
+
border: 0;
|
|
386
|
+
border-radius: var(--r-sm);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.ui-checks__all:hover:not(:disabled) {
|
|
390
|
+
background: var(--primary-tint);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.ui-checks__items {
|
|
394
|
+
display: grid;
|
|
395
|
+
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.ui-checks__option {
|
|
399
|
+
display: flex;
|
|
400
|
+
min-width: 0;
|
|
401
|
+
align-items: center;
|
|
402
|
+
gap: 8px;
|
|
403
|
+
padding: 7px 12px;
|
|
404
|
+
font-size: var(--text-sm);
|
|
405
|
+
color: var(--ink-2);
|
|
406
|
+
transition: background var(--t-fast) var(--ease);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.ui-checks__option:hover {
|
|
410
|
+
background: var(--surface-2);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.ui-checks__option input {
|
|
414
|
+
width: 15px;
|
|
415
|
+
height: 15px;
|
|
416
|
+
margin: 0;
|
|
417
|
+
flex: 0 0 auto;
|
|
418
|
+
accent-color: var(--primary);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.ui-checks__option span {
|
|
422
|
+
overflow: hidden;
|
|
423
|
+
text-overflow: ellipsis;
|
|
424
|
+
white-space: nowrap;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.ui-checks__option:has(input:checked) {
|
|
428
|
+
color: var(--ink);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.ui-checks__option small {
|
|
432
|
+
margin-left: auto;
|
|
433
|
+
font-family: var(--font-sans);
|
|
434
|
+
font-size: var(--text-xs);
|
|
435
|
+
color: var(--ink-4);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/* Read-only scope summary: one row per module, one chip per entity with its
|
|
439
|
+
actions. The editor for the same set is CheckGrid. */
|
|
440
|
+
.ui-scopes {
|
|
441
|
+
display: grid;
|
|
442
|
+
gap: 6px;
|
|
443
|
+
margin: 0;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.ui-scopes__row {
|
|
447
|
+
display: grid;
|
|
448
|
+
grid-template-columns: 76px minmax(0, 1fr);
|
|
449
|
+
gap: 10px;
|
|
450
|
+
align-items: baseline;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.ui-scopes__row dt {
|
|
454
|
+
font-size: var(--text-xs);
|
|
455
|
+
font-weight: 600;
|
|
456
|
+
letter-spacing: 0.06em;
|
|
457
|
+
text-transform: uppercase;
|
|
458
|
+
color: var(--ink-3);
|
|
459
|
+
overflow: hidden;
|
|
460
|
+
text-overflow: ellipsis;
|
|
461
|
+
white-space: nowrap;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.ui-scopes__row dd {
|
|
465
|
+
display: flex;
|
|
466
|
+
flex-wrap: wrap;
|
|
467
|
+
gap: 4px;
|
|
468
|
+
margin: 0;
|
|
469
|
+
min-width: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.ui-scopes__chip {
|
|
473
|
+
display: inline-flex;
|
|
474
|
+
align-items: baseline;
|
|
475
|
+
gap: 4px;
|
|
476
|
+
height: 20px;
|
|
477
|
+
padding: 0 6px;
|
|
478
|
+
font-family: var(--font-mono);
|
|
479
|
+
font-size: var(--text-xs);
|
|
480
|
+
line-height: 20px;
|
|
481
|
+
white-space: nowrap;
|
|
482
|
+
color: var(--ink-3);
|
|
483
|
+
background: var(--surface-2);
|
|
484
|
+
border: 1px solid var(--line-2);
|
|
485
|
+
border-radius: var(--r-sm);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.ui-scopes__chip b {
|
|
489
|
+
font-weight: 500;
|
|
490
|
+
color: var(--ink-2);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.ui-form {
|
|
494
|
+
display: grid;
|
|
495
|
+
gap: 16px;
|
|
496
|
+
padding: 20px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.ui-form__row {
|
|
500
|
+
display: grid;
|
|
501
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
502
|
+
align-items: start;
|
|
503
|
+
gap: 10px 16px;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.ui-form__row--4 {
|
|
507
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.ui-form__foot {
|
|
511
|
+
display: flex;
|
|
512
|
+
flex-wrap: wrap;
|
|
513
|
+
align-items: center;
|
|
514
|
+
justify-content: space-between;
|
|
515
|
+
gap: 14px;
|
|
516
|
+
padding-top: 2px;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.ui-form__foot small {
|
|
520
|
+
max-width: 300px;
|
|
521
|
+
font-size: var(--text-sm);
|
|
522
|
+
line-height: 1.45;
|
|
523
|
+
color: var(--ink-3);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.ui-form__actions {
|
|
527
|
+
display: flex;
|
|
528
|
+
flex-wrap: wrap;
|
|
529
|
+
align-items: center;
|
|
530
|
+
gap: 8px;
|
|
531
|
+
margin-left: auto;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/* A titled group inside a form: uppercase title, one-line description, then
|
|
535
|
+
its fields or action row. The danger variant closes a drawer: one title,
|
|
536
|
+
one consequence, one destructive button. */
|
|
537
|
+
.ui-form__section {
|
|
538
|
+
display: grid;
|
|
539
|
+
gap: 12px;
|
|
540
|
+
padding-top: 16px;
|
|
541
|
+
border-top: 1px solid var(--line-2);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.ui-form__section:first-child {
|
|
545
|
+
padding-top: 0;
|
|
546
|
+
border-top: 0;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.ui-form__section-head {
|
|
550
|
+
display: grid;
|
|
551
|
+
gap: 3px;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.ui-form__section-head b {
|
|
555
|
+
font-size: var(--text-xs);
|
|
556
|
+
font-weight: 600;
|
|
557
|
+
letter-spacing: 0.06em;
|
|
558
|
+
text-transform: uppercase;
|
|
559
|
+
color: var(--ink-3);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.ui-form__section-head small {
|
|
563
|
+
font-size: var(--text-sm);
|
|
564
|
+
line-height: 1.45;
|
|
565
|
+
color: var(--ink-3);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.ui-form__section--danger {
|
|
569
|
+
display: flex;
|
|
570
|
+
align-items: center;
|
|
571
|
+
justify-content: space-between;
|
|
572
|
+
gap: 16px;
|
|
573
|
+
border-top-color: var(--danger-line);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.ui-form__section--danger .ui-form__section-head {
|
|
577
|
+
min-width: 0;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.ui-form__section--danger .ui-form__actions {
|
|
581
|
+
flex: 0 0 auto;
|
|
582
|
+
flex-wrap: nowrap;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.ui-form__section--danger .ui-form__section-head b {
|
|
586
|
+
color: var(--danger);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* A control that grows beside a fixed action, on one line. */
|
|
590
|
+
.ui-control-row {
|
|
591
|
+
display: flex;
|
|
592
|
+
align-items: center;
|
|
593
|
+
gap: 8px;
|
|
594
|
+
min-width: 0;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.ui-control-row > .ui-input,
|
|
598
|
+
.ui-control-row > .ui-select {
|
|
599
|
+
flex: 1 1 0;
|
|
600
|
+
min-width: 0;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/* Tags and badges */
|
|
604
|
+
.ui-tag {
|
|
605
|
+
display: inline-flex;
|
|
606
|
+
align-items: center;
|
|
607
|
+
gap: 6px;
|
|
608
|
+
height: 22px;
|
|
609
|
+
padding: 0 8px;
|
|
610
|
+
font-size: var(--text-sm);
|
|
611
|
+
font-weight: 500;
|
|
612
|
+
line-height: 1;
|
|
613
|
+
max-width: 100%;
|
|
614
|
+
overflow: hidden;
|
|
615
|
+
white-space: nowrap;
|
|
616
|
+
color: var(--ink-2);
|
|
617
|
+
background: var(--surface-2);
|
|
618
|
+
border: 1px solid var(--line);
|
|
619
|
+
border-radius: var(--r-sm);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.ui-tag i {
|
|
623
|
+
width: 6px;
|
|
624
|
+
height: 6px;
|
|
625
|
+
background: currentColor;
|
|
626
|
+
border-radius: 50%;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.ui-tag--success {
|
|
630
|
+
color: var(--success);
|
|
631
|
+
background: var(--success-bg);
|
|
632
|
+
border-color: var(--success-line);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.ui-tag--warning {
|
|
636
|
+
color: var(--warning);
|
|
637
|
+
background: var(--warning-bg);
|
|
638
|
+
border-color: var(--warning-line);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.ui-tag--danger {
|
|
642
|
+
color: var(--danger);
|
|
643
|
+
background: var(--danger-bg);
|
|
644
|
+
border-color: var(--danger-line);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.ui-tag--info {
|
|
648
|
+
color: var(--primary-hover);
|
|
649
|
+
background: var(--primary-tint);
|
|
650
|
+
border-color: var(--blue-200);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.ui-tag--ink {
|
|
654
|
+
color: var(--ink-0);
|
|
655
|
+
background: var(--ink);
|
|
656
|
+
border-color: var(--ink);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.ui-tag--mono {
|
|
660
|
+
font-family: var(--font-mono);
|
|
661
|
+
font-size: var(--text-xs);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/* Keyboard hint */
|
|
665
|
+
.ui-kbd {
|
|
666
|
+
display: inline-grid;
|
|
667
|
+
min-width: 20px;
|
|
668
|
+
height: 20px;
|
|
669
|
+
padding: 0 5px;
|
|
670
|
+
place-items: center;
|
|
671
|
+
font-family: var(--font-sans);
|
|
672
|
+
font-size: var(--text-xs);
|
|
673
|
+
font-weight: 500;
|
|
674
|
+
color: var(--ink-3);
|
|
675
|
+
background: var(--surface);
|
|
676
|
+
border: 1px solid var(--line);
|
|
677
|
+
border-bottom-width: 2px;
|
|
678
|
+
border-radius: var(--r-sm);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/* Avatar */
|
|
682
|
+
.ui-avatar {
|
|
683
|
+
display: grid;
|
|
684
|
+
width: 28px;
|
|
685
|
+
height: 28px;
|
|
686
|
+
place-items: center;
|
|
687
|
+
font-size: var(--text-xs);
|
|
688
|
+
font-weight: 600;
|
|
689
|
+
color: var(--primary-hover);
|
|
690
|
+
background: var(--primary-soft);
|
|
691
|
+
border-radius: 50%;
|
|
692
|
+
flex: 0 0 auto;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.ui-avatar--sq {
|
|
696
|
+
color: var(--ink-0);
|
|
697
|
+
background: var(--ink);
|
|
698
|
+
border-radius: var(--r);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.ui-avatar--lg {
|
|
702
|
+
width: 36px;
|
|
703
|
+
height: 36px;
|
|
704
|
+
font-size: var(--text-md);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/* Cards */
|
|
708
|
+
.ui-card {
|
|
709
|
+
min-width: 0;
|
|
710
|
+
background: var(--surface);
|
|
711
|
+
border: 1px solid var(--line);
|
|
712
|
+
border-radius: var(--r-md);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.ui-card__head {
|
|
716
|
+
display: flex;
|
|
717
|
+
flex-wrap: wrap;
|
|
718
|
+
min-height: 56px;
|
|
719
|
+
align-items: center;
|
|
720
|
+
justify-content: space-between;
|
|
721
|
+
gap: 12px;
|
|
722
|
+
padding: 8px 20px;
|
|
723
|
+
border-bottom: 1px solid var(--line-2);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.ui-card__title {
|
|
727
|
+
font-size: var(--text-base);
|
|
728
|
+
font-weight: 600;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.ui-card__title small {
|
|
732
|
+
margin-left: 8px;
|
|
733
|
+
font-size: var(--text-sm);
|
|
734
|
+
font-weight: 400;
|
|
735
|
+
color: var(--ink-3);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/* Right-aligned cluster in a card head: a count, a state tag, buttons. */
|
|
739
|
+
.ui-card__actions {
|
|
740
|
+
display: inline-flex;
|
|
741
|
+
flex-wrap: wrap;
|
|
742
|
+
align-items: center;
|
|
743
|
+
gap: 8px;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/* Search paired with the Filters dropdown in a card head: one line, the search
|
|
747
|
+
shrinks before the filters button wraps under it. */
|
|
748
|
+
.ui-card__filters {
|
|
749
|
+
display: flex;
|
|
750
|
+
flex-wrap: nowrap;
|
|
751
|
+
align-items: center;
|
|
752
|
+
gap: 8px;
|
|
753
|
+
min-width: 0;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.ui-card__filters .ui-search {
|
|
757
|
+
min-width: 0;
|
|
758
|
+
width: min(280px, 100%);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.ui-card__body {
|
|
762
|
+
padding: 20px;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.ui-toolbar {
|
|
766
|
+
display: flex;
|
|
767
|
+
flex-wrap: wrap;
|
|
768
|
+
align-items: center;
|
|
769
|
+
gap: 8px;
|
|
770
|
+
padding: 12px 16px;
|
|
771
|
+
border-bottom: 1px solid var(--line-2);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/* Filter controls in a toolbar carry no visible label, so they share the
|
|
775
|
+
button height and sit on one line with the action. */
|
|
776
|
+
.ui-toolbar > .ui-input,
|
|
777
|
+
.ui-toolbar > .ui-select {
|
|
778
|
+
width: auto;
|
|
779
|
+
flex: 0 1 220px;
|
|
780
|
+
height: var(--button-h);
|
|
781
|
+
font-size: var(--text-md);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.ui-toolbar__spacer {
|
|
785
|
+
flex: 1;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* Data table */
|
|
789
|
+
.ui-table-wrap {
|
|
790
|
+
overflow-x: auto;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.ui-table {
|
|
794
|
+
width: 100%;
|
|
795
|
+
min-width: 640px;
|
|
796
|
+
font-size: var(--text-md);
|
|
797
|
+
table-layout: fixed;
|
|
798
|
+
border-collapse: separate;
|
|
799
|
+
border-spacing: 0;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.ui-table th {
|
|
803
|
+
height: var(--row-head-h);
|
|
804
|
+
padding: 0 16px;
|
|
805
|
+
font-size: var(--text-xs);
|
|
806
|
+
font-weight: 600;
|
|
807
|
+
letter-spacing: 0.06em;
|
|
808
|
+
text-align: left;
|
|
809
|
+
text-transform: uppercase;
|
|
810
|
+
white-space: nowrap;
|
|
811
|
+
color: var(--ink-3);
|
|
812
|
+
background: var(--surface-2);
|
|
813
|
+
border-bottom: 1px solid var(--line-2);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.ui-table td {
|
|
817
|
+
height: var(--row-h);
|
|
818
|
+
padding: 12px 16px;
|
|
819
|
+
vertical-align: middle;
|
|
820
|
+
border-bottom: 1px solid var(--line-2);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ui-table tr:last-child td {
|
|
824
|
+
border-bottom: 0;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.ui-table tbody tr:hover td {
|
|
828
|
+
background: var(--surface-2);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/* A row that opens its record. The row action keeps the keyboard path. */
|
|
832
|
+
.ui-table tbody tr.is-clickable {
|
|
833
|
+
cursor: pointer;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/* The record shown in the detail pane of a master-detail screen. */
|
|
837
|
+
.ui-table tbody tr.is-selected td {
|
|
838
|
+
background: var(--primary-tint);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.ui-table tbody tr.is-selected td:first-child {
|
|
842
|
+
box-shadow: inset 2px 0 var(--primary);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.ui-table .num {
|
|
846
|
+
font-variant-numeric: tabular-nums;
|
|
847
|
+
text-align: right;
|
|
848
|
+
white-space: nowrap;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/* Row actions use visible buttons. Their width comes from the shared
|
|
852
|
+
colgroup, so one-action and two-action tables stay stable in every state. */
|
|
853
|
+
.ui-table th.ui-table__actions,
|
|
854
|
+
.ui-table td.ui-table__actions {
|
|
855
|
+
position: sticky;
|
|
856
|
+
right: 0;
|
|
857
|
+
white-space: nowrap;
|
|
858
|
+
text-align: right;
|
|
859
|
+
background: var(--surface);
|
|
860
|
+
box-shadow: -1px 0 var(--line-2);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.ui-table th.ui-table__actions {
|
|
864
|
+
z-index: 2;
|
|
865
|
+
background: var(--surface-2);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.ui-table td.ui-table__actions {
|
|
869
|
+
z-index: 1;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.ui-table tbody tr:hover td.ui-table__actions {
|
|
873
|
+
background: var(--surface-2);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.ui-table tbody tr.is-selected td.ui-table__actions {
|
|
877
|
+
background: var(--primary-tint);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.ui-table-action-buttons {
|
|
881
|
+
display: inline-flex;
|
|
882
|
+
align-items: center;
|
|
883
|
+
justify-content: flex-end;
|
|
884
|
+
gap: 6px;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.ui-table__state {
|
|
888
|
+
display: inline-flex;
|
|
889
|
+
align-items: center;
|
|
890
|
+
gap: 8px;
|
|
891
|
+
white-space: nowrap;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.ui-table__state small {
|
|
895
|
+
font-size: var(--text-sm);
|
|
896
|
+
color: var(--ink-3);
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.ui-table__empty {
|
|
900
|
+
padding: 40px 16px;
|
|
901
|
+
font-size: var(--text-md);
|
|
902
|
+
color: var(--ink-3);
|
|
903
|
+
text-align: center;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/* The loading row and the empty state live inside the table, so the head keeps
|
|
907
|
+
its place while a screen moves between its states. */
|
|
908
|
+
.ui-table tbody tr.ui-table__placeholder:hover td {
|
|
909
|
+
background: none;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.ui-table tbody tr.ui-table__placeholder > td {
|
|
913
|
+
padding: 0;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.ui-table tbody tr.ui-table__placeholder > td.ui-table__empty {
|
|
917
|
+
padding: 40px 16px;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.ui-cell {
|
|
921
|
+
display: grid;
|
|
922
|
+
gap: 1px;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.ui-cell b {
|
|
926
|
+
font-weight: 500;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.ui-cell > .ui-tag {
|
|
930
|
+
justify-self: start;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/* Secondary detail that owns a whole cell instead of a second line. */
|
|
934
|
+
.ui-cell__muted {
|
|
935
|
+
font-size: var(--text-sm);
|
|
936
|
+
color: var(--ink-3);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.ui-cell small {
|
|
940
|
+
font-size: var(--text-sm);
|
|
941
|
+
color: var(--ink-3);
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.ui-mono {
|
|
945
|
+
font-family: var(--font-mono);
|
|
946
|
+
font-size: var(--text-sm);
|
|
947
|
+
color: var(--ink-2);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/* KPI stat */
|
|
951
|
+
.ui-kpi {
|
|
952
|
+
display: grid;
|
|
953
|
+
gap: 8px;
|
|
954
|
+
min-width: 0;
|
|
955
|
+
padding: 18px 20px;
|
|
956
|
+
background: var(--surface);
|
|
957
|
+
border: 1px solid var(--line);
|
|
958
|
+
border-radius: var(--r-md);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.ui-kpi__label {
|
|
962
|
+
display: flex;
|
|
963
|
+
align-items: center;
|
|
964
|
+
justify-content: space-between;
|
|
965
|
+
gap: 8px;
|
|
966
|
+
font-size: var(--text-sm);
|
|
967
|
+
font-weight: 500;
|
|
968
|
+
color: var(--ink-3);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.ui-kpi__value {
|
|
972
|
+
font-size: var(--text-3xl);
|
|
973
|
+
font-weight: 600;
|
|
974
|
+
line-height: 1.1;
|
|
975
|
+
letter-spacing: -0.02em;
|
|
976
|
+
font-variant-numeric: tabular-nums;
|
|
977
|
+
overflow-wrap: anywhere;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.ui-kpi__value small {
|
|
981
|
+
margin-left: 4px;
|
|
982
|
+
font-size: var(--text-base);
|
|
983
|
+
font-weight: 500;
|
|
984
|
+
letter-spacing: 0;
|
|
985
|
+
color: var(--ink-3);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.ui-kpi__note {
|
|
989
|
+
font-size: var(--text-sm);
|
|
990
|
+
color: var(--ink-3);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.ui-kpi__note b {
|
|
994
|
+
font-weight: 500;
|
|
995
|
+
color: var(--success);
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.ui-kpi__note b.down {
|
|
999
|
+
color: var(--danger);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.ui-kpi__link {
|
|
1003
|
+
width: fit-content;
|
|
1004
|
+
font-size: var(--text-sm);
|
|
1005
|
+
font-weight: 500;
|
|
1006
|
+
color: var(--primary-hover);
|
|
1007
|
+
text-decoration: none;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.ui-kpi__link:hover {
|
|
1011
|
+
text-decoration: underline;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/* Page header */
|
|
1015
|
+
.ui-page-head {
|
|
1016
|
+
display: flex;
|
|
1017
|
+
flex-wrap: wrap;
|
|
1018
|
+
align-items: flex-end;
|
|
1019
|
+
justify-content: space-between;
|
|
1020
|
+
gap: 16px 24px;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.ui-page-head__eyebrow {
|
|
1024
|
+
margin: 0;
|
|
1025
|
+
font-size: var(--text-xs);
|
|
1026
|
+
font-weight: 600;
|
|
1027
|
+
letter-spacing: 0.09em;
|
|
1028
|
+
text-transform: uppercase;
|
|
1029
|
+
color: var(--ink-3);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.ui-page-head h1 {
|
|
1033
|
+
margin: 2px 0 4px;
|
|
1034
|
+
font-size: var(--text-2xl);
|
|
1035
|
+
font-weight: 600;
|
|
1036
|
+
line-height: 1.25;
|
|
1037
|
+
letter-spacing: -0.01em;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.ui-page-head__description {
|
|
1041
|
+
margin: 0;
|
|
1042
|
+
max-width: 64ch;
|
|
1043
|
+
font-size: var(--text-md);
|
|
1044
|
+
color: var(--ink-3);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.ui-page-head__actions {
|
|
1048
|
+
display: flex;
|
|
1049
|
+
align-items: center;
|
|
1050
|
+
gap: 8px;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/* Section heading inside a page */
|
|
1054
|
+
.ui-section-head {
|
|
1055
|
+
display: flex;
|
|
1056
|
+
align-items: flex-end;
|
|
1057
|
+
justify-content: space-between;
|
|
1058
|
+
gap: 16px;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.ui-section-head h2 {
|
|
1062
|
+
margin: 2px 0 0;
|
|
1063
|
+
font-size: var(--text-xl);
|
|
1064
|
+
font-weight: 600;
|
|
1065
|
+
letter-spacing: -0.005em;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/* Empty state */
|
|
1069
|
+
.ui-empty {
|
|
1070
|
+
display: grid;
|
|
1071
|
+
gap: 6px;
|
|
1072
|
+
justify-items: center;
|
|
1073
|
+
padding: 44px 24px;
|
|
1074
|
+
text-align: center;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/* The Chart primitive wraps Chart.js on a canvas, mounted client-side; the
|
|
1078
|
+
server and the empty state render only this container. */
|
|
1079
|
+
.ui-chart {
|
|
1080
|
+
display: grid;
|
|
1081
|
+
width: 100%;
|
|
1082
|
+
margin: 0;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.ui-chart > .ui-empty {
|
|
1086
|
+
align-self: center;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.ui-chart__canvas {
|
|
1090
|
+
position: relative;
|
|
1091
|
+
width: 100%;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.ui-empty__icon {
|
|
1095
|
+
display: grid;
|
|
1096
|
+
width: 40px;
|
|
1097
|
+
height: 40px;
|
|
1098
|
+
place-items: center;
|
|
1099
|
+
margin-bottom: 8px;
|
|
1100
|
+
color: var(--primary);
|
|
1101
|
+
background: var(--primary-tint);
|
|
1102
|
+
border-radius: 10px;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.ui-empty b {
|
|
1106
|
+
font-size: var(--text-base);
|
|
1107
|
+
font-weight: 600;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.ui-empty p {
|
|
1111
|
+
max-width: 40ch;
|
|
1112
|
+
margin: 0 0 10px;
|
|
1113
|
+
font-size: var(--text-md);
|
|
1114
|
+
color: var(--ink-3);
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.ui-empty code {
|
|
1118
|
+
padding: 8px 12px;
|
|
1119
|
+
font-family: var(--font-mono);
|
|
1120
|
+
font-size: var(--text-sm);
|
|
1121
|
+
background: var(--surface-2);
|
|
1122
|
+
border: 1px solid var(--line);
|
|
1123
|
+
border-radius: var(--r);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/* Alerts */
|
|
1127
|
+
.ui-alert {
|
|
1128
|
+
display: flex;
|
|
1129
|
+
gap: 10px;
|
|
1130
|
+
padding: 12px 14px;
|
|
1131
|
+
font-size: var(--text-md);
|
|
1132
|
+
line-height: 1.45;
|
|
1133
|
+
border: 1px solid;
|
|
1134
|
+
border-radius: var(--r);
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.ui-alert .ui-icon {
|
|
1138
|
+
margin-top: 2px;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.ui-alert--danger {
|
|
1142
|
+
color: #7f231e;
|
|
1143
|
+
background: var(--danger-bg);
|
|
1144
|
+
border-color: var(--danger-line);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.ui-alert--warning {
|
|
1148
|
+
color: #5f4000;
|
|
1149
|
+
background: var(--warning-bg);
|
|
1150
|
+
border-color: var(--warning-line);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
.ui-alert--info {
|
|
1154
|
+
color: var(--primary-hover);
|
|
1155
|
+
background: var(--primary-tint);
|
|
1156
|
+
border-color: var(--blue-200);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.ui-alert b {
|
|
1160
|
+
font-weight: 600;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/* Quiet inline note. A constraint worth stating, not an alert. */
|
|
1164
|
+
.ui-note {
|
|
1165
|
+
display: flex;
|
|
1166
|
+
align-items: flex-start;
|
|
1167
|
+
gap: 8px;
|
|
1168
|
+
margin: 0;
|
|
1169
|
+
padding: 12px 16px;
|
|
1170
|
+
font-size: var(--text-sm);
|
|
1171
|
+
line-height: 1.5;
|
|
1172
|
+
color: var(--ink-3);
|
|
1173
|
+
background: var(--surface-2);
|
|
1174
|
+
border-top: 1px solid var(--line-2);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.ui-note:first-child {
|
|
1178
|
+
border-top: 0;
|
|
1179
|
+
border-bottom: 1px solid var(--line-2);
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
.ui-card > .ui-note:last-child {
|
|
1183
|
+
border-radius: 0 0 var(--r-md) var(--r-md);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.ui-note .ui-icon {
|
|
1187
|
+
margin-top: 1px;
|
|
1188
|
+
color: var(--ink-4);
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.ui-note b {
|
|
1192
|
+
font-weight: 500;
|
|
1193
|
+
color: var(--ink-2);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/* Menus and popovers. Every menu (workspace switcher, account, session
|
|
1197
|
+
actions) shares one item height, inset padding, and radius. */
|
|
1198
|
+
.ui-menu {
|
|
1199
|
+
display: grid;
|
|
1200
|
+
gap: 2px;
|
|
1201
|
+
padding: 6px;
|
|
1202
|
+
background: var(--surface);
|
|
1203
|
+
border: 1px solid var(--line);
|
|
1204
|
+
border-radius: var(--r-md);
|
|
1205
|
+
box-shadow: var(--shadow-md);
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.ui-menu__label {
|
|
1209
|
+
padding: 8px 10px 4px;
|
|
1210
|
+
font-size: var(--text-xs);
|
|
1211
|
+
font-weight: 600;
|
|
1212
|
+
letter-spacing: 0.06em;
|
|
1213
|
+
text-transform: uppercase;
|
|
1214
|
+
color: var(--ink-4);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.ui-menu__item {
|
|
1218
|
+
display: flex;
|
|
1219
|
+
width: 100%;
|
|
1220
|
+
min-height: 40px;
|
|
1221
|
+
align-items: center;
|
|
1222
|
+
gap: 10px;
|
|
1223
|
+
padding: 4px 10px;
|
|
1224
|
+
font-family: var(--font-sans);
|
|
1225
|
+
font-size: var(--text-md);
|
|
1226
|
+
text-align: left;
|
|
1227
|
+
color: var(--ink);
|
|
1228
|
+
background: transparent;
|
|
1229
|
+
border: 0;
|
|
1230
|
+
border-radius: var(--r);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.ui-menu__item:hover:not(:disabled) {
|
|
1234
|
+
background: var(--surface-2);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.ui-menu__item:disabled {
|
|
1238
|
+
cursor: not-allowed;
|
|
1239
|
+
opacity: 0.5;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.ui-menu__item--active,
|
|
1243
|
+
.ui-menu__item--active:hover:not(:disabled) {
|
|
1244
|
+
background: var(--primary-tint);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.ui-menu__item--danger {
|
|
1248
|
+
color: var(--danger);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.ui-menu__item .ui-cell {
|
|
1252
|
+
flex: 1 1 auto;
|
|
1253
|
+
min-width: 0;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.ui-menu__item .ui-cell b,
|
|
1257
|
+
.ui-menu__item .ui-cell small,
|
|
1258
|
+
.ui-menu__section .ui-cell b,
|
|
1259
|
+
.ui-menu__section .ui-cell small {
|
|
1260
|
+
line-height: 1.3;
|
|
1261
|
+
overflow: hidden;
|
|
1262
|
+
text-overflow: ellipsis;
|
|
1263
|
+
white-space: nowrap;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.ui-menu__item > .ui-avatar {
|
|
1267
|
+
width: 32px;
|
|
1268
|
+
height: 32px;
|
|
1269
|
+
font-size: var(--text-sm);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.ui-menu__item > .ui-icon {
|
|
1273
|
+
color: var(--ink-3);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
/* A trailing icon (the selected check) sits at the right edge. */
|
|
1277
|
+
.ui-menu__item > .ui-cell + .ui-icon {
|
|
1278
|
+
margin-left: auto;
|
|
1279
|
+
color: var(--primary);
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
/* Static block inside a menu: identity, connection details. */
|
|
1283
|
+
.ui-menu__section {
|
|
1284
|
+
display: flex;
|
|
1285
|
+
align-items: center;
|
|
1286
|
+
gap: 10px;
|
|
1287
|
+
min-width: 0;
|
|
1288
|
+
padding: 8px 10px;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.ui-menu__section .ui-cell {
|
|
1292
|
+
flex: 1 1 auto;
|
|
1293
|
+
min-width: 0;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.ui-menu__section .ui-cell b {
|
|
1297
|
+
font-weight: 600;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.ui-menu__sep {
|
|
1301
|
+
height: 1px;
|
|
1302
|
+
margin: 4px 0;
|
|
1303
|
+
background: var(--line-2);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/* Drawer: the editor surface. Records stay full width behind it, so a form
|
|
1307
|
+
never competes with the data it edits. */
|
|
1308
|
+
.ui-drawer-slot {
|
|
1309
|
+
display: contents;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.ui-drawer {
|
|
1313
|
+
position: fixed;
|
|
1314
|
+
inset: 0;
|
|
1315
|
+
z-index: 60;
|
|
1316
|
+
display: flex;
|
|
1317
|
+
justify-content: flex-end;
|
|
1318
|
+
background: rgba(12, 18, 34, 0.42);
|
|
1319
|
+
animation: ui-drawer-fade var(--t-base) var(--ease);
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
.ui-drawer__panel {
|
|
1323
|
+
display: grid;
|
|
1324
|
+
width: min(520px, 100vw);
|
|
1325
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
1326
|
+
background: var(--surface);
|
|
1327
|
+
border-left: 1px solid var(--line);
|
|
1328
|
+
box-shadow: var(--shadow-lg);
|
|
1329
|
+
animation: ui-drawer-in var(--t-base) var(--ease);
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
.ui-drawer__panel--lg {
|
|
1333
|
+
width: min(720px, 100vw);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.ui-drawer__head {
|
|
1337
|
+
display: flex;
|
|
1338
|
+
min-height: 56px;
|
|
1339
|
+
align-items: center;
|
|
1340
|
+
justify-content: space-between;
|
|
1341
|
+
gap: 12px;
|
|
1342
|
+
padding: 10px 12px 10px 20px;
|
|
1343
|
+
border-bottom: 1px solid var(--line-2);
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
.ui-drawer__head .ui-cell b {
|
|
1347
|
+
font-size: var(--text-base);
|
|
1348
|
+
font-weight: 600;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.ui-drawer__close {
|
|
1352
|
+
display: grid;
|
|
1353
|
+
width: var(--button-h);
|
|
1354
|
+
height: var(--button-h);
|
|
1355
|
+
flex: 0 0 auto;
|
|
1356
|
+
place-items: center;
|
|
1357
|
+
color: var(--ink-3);
|
|
1358
|
+
background: transparent;
|
|
1359
|
+
border: 0;
|
|
1360
|
+
border-radius: var(--r);
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
.ui-drawer__close:hover {
|
|
1364
|
+
color: var(--ink);
|
|
1365
|
+
background: var(--line-2);
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
.ui-drawer__form {
|
|
1369
|
+
display: grid;
|
|
1370
|
+
min-height: 0;
|
|
1371
|
+
grid-template-rows: minmax(0, 1fr) auto;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
.ui-drawer__body {
|
|
1375
|
+
min-height: 0;
|
|
1376
|
+
overflow-y: auto;
|
|
1377
|
+
overscroll-behavior: contain;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.ui-drawer__foot {
|
|
1381
|
+
display: flex;
|
|
1382
|
+
align-items: center;
|
|
1383
|
+
justify-content: space-between;
|
|
1384
|
+
gap: 12px;
|
|
1385
|
+
padding: 12px 20px;
|
|
1386
|
+
background: var(--surface);
|
|
1387
|
+
border-top: 1px solid var(--line-2);
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.ui-drawer__foot small {
|
|
1391
|
+
max-width: 34ch;
|
|
1392
|
+
font-size: var(--text-sm);
|
|
1393
|
+
line-height: 1.4;
|
|
1394
|
+
color: var(--ink-3);
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
@keyframes ui-drawer-fade {
|
|
1398
|
+
from {
|
|
1399
|
+
opacity: 0;
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
@keyframes ui-drawer-in {
|
|
1404
|
+
from {
|
|
1405
|
+
transform: translateX(24px);
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1410
|
+
.ui-drawer,
|
|
1411
|
+
.ui-drawer__panel {
|
|
1412
|
+
animation: none;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/* Code block */
|
|
1417
|
+
.ui-code {
|
|
1418
|
+
max-height: 220px;
|
|
1419
|
+
margin: 0;
|
|
1420
|
+
padding: 10px 12px;
|
|
1421
|
+
overflow: auto;
|
|
1422
|
+
font-family: var(--font-mono);
|
|
1423
|
+
font-size: var(--text-sm);
|
|
1424
|
+
line-height: 1.55;
|
|
1425
|
+
white-space: pre-wrap;
|
|
1426
|
+
overflow-wrap: anywhere;
|
|
1427
|
+
color: var(--ink-2);
|
|
1428
|
+
background: var(--surface-2);
|
|
1429
|
+
border: 1px solid var(--line-2);
|
|
1430
|
+
border-radius: var(--r);
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/* Status dot */
|
|
1434
|
+
.ui-dot {
|
|
1435
|
+
display: inline-block;
|
|
1436
|
+
width: 7px;
|
|
1437
|
+
height: 7px;
|
|
1438
|
+
background: var(--success);
|
|
1439
|
+
border-radius: 50%;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
.ui-dot--muted {
|
|
1443
|
+
background: var(--ink-4);
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
/* Layout helpers */
|
|
1447
|
+
.ui-view {
|
|
1448
|
+
display: grid;
|
|
1449
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1450
|
+
gap: 24px;
|
|
1451
|
+
align-content: start;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
/* Every layout child is a shrinkable track. Without this a table, a code
|
|
1455
|
+
block, or one long identifier expands its container instead of scrolling
|
|
1456
|
+
inside it. */
|
|
1457
|
+
.ui-view > *,
|
|
1458
|
+
.ui-two-col > *,
|
|
1459
|
+
.ui-grid-2 > *,
|
|
1460
|
+
.ui-kpi-grid > * {
|
|
1461
|
+
min-width: 0;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.ui-two-col {
|
|
1465
|
+
display: grid;
|
|
1466
|
+
grid-template-columns: minmax(0, 1fr) 320px;
|
|
1467
|
+
gap: 16px;
|
|
1468
|
+
align-items: start;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
.ui-two-col--wide-aside {
|
|
1472
|
+
grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.ui-kpi-grid {
|
|
1476
|
+
display: grid;
|
|
1477
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
1478
|
+
gap: 12px;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.ui-grid-2 {
|
|
1482
|
+
display: grid;
|
|
1483
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1484
|
+
gap: 12px;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.ui-tag-cloud {
|
|
1488
|
+
display: flex;
|
|
1489
|
+
flex-wrap: wrap;
|
|
1490
|
+
gap: 6px;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
@media (max-width: 900px) {
|
|
1494
|
+
.ui-two-col,
|
|
1495
|
+
.ui-two-col--wide-aside,
|
|
1496
|
+
.ui-grid-2 {
|
|
1497
|
+
grid-template-columns: 1fr;
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
@media (max-width: 560px) {
|
|
1502
|
+
.ui-form__row,
|
|
1503
|
+
.ui-form__row--4 {
|
|
1504
|
+
grid-template-columns: 1fr;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.ui-form__section--danger {
|
|
1508
|
+
align-items: stretch;
|
|
1509
|
+
flex-direction: column;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
.ui-form__section--danger .ui-form__actions {
|
|
1513
|
+
align-self: flex-end;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/* Switch: a boolean setting that applies on its own, unlike a checkbox that
|
|
1518
|
+
waits for a form submit. */
|
|
1519
|
+
.ui-switch {
|
|
1520
|
+
position: relative;
|
|
1521
|
+
display: inline-flex;
|
|
1522
|
+
width: 36px;
|
|
1523
|
+
height: 20px;
|
|
1524
|
+
flex: 0 0 auto;
|
|
1525
|
+
padding: 0;
|
|
1526
|
+
background: var(--ink-300);
|
|
1527
|
+
border: 0;
|
|
1528
|
+
border-radius: 999px;
|
|
1529
|
+
transition: background var(--t-fast) var(--ease);
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.ui-switch i {
|
|
1533
|
+
position: absolute;
|
|
1534
|
+
top: 2px;
|
|
1535
|
+
left: 2px;
|
|
1536
|
+
width: 16px;
|
|
1537
|
+
height: 16px;
|
|
1538
|
+
background: var(--ink-0);
|
|
1539
|
+
border-radius: 50%;
|
|
1540
|
+
box-shadow: var(--shadow-sm);
|
|
1541
|
+
transition: transform var(--t-fast) var(--ease);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
.ui-switch--on {
|
|
1545
|
+
background: var(--primary);
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
.ui-switch--on i {
|
|
1549
|
+
transform: translateX(16px);
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
.ui-switch:disabled {
|
|
1553
|
+
cursor: not-allowed;
|
|
1554
|
+
opacity: 0.5;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
/* Confirm dialog: one question, one irreversible action. */
|
|
1558
|
+
.ui-dialog {
|
|
1559
|
+
position: fixed;
|
|
1560
|
+
inset: 0;
|
|
1561
|
+
z-index: 70;
|
|
1562
|
+
display: grid;
|
|
1563
|
+
place-items: center;
|
|
1564
|
+
padding: 20px;
|
|
1565
|
+
background: rgba(12, 18, 34, 0.42);
|
|
1566
|
+
animation: ui-drawer-fade var(--t-base) var(--ease);
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.ui-dialog__panel {
|
|
1570
|
+
display: grid;
|
|
1571
|
+
width: min(440px, 100%);
|
|
1572
|
+
gap: 12px;
|
|
1573
|
+
padding: 20px;
|
|
1574
|
+
background: var(--surface);
|
|
1575
|
+
border: 1px solid var(--line);
|
|
1576
|
+
border-radius: var(--r-lg);
|
|
1577
|
+
box-shadow: var(--shadow-lg);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
.ui-dialog__title {
|
|
1581
|
+
font-size: var(--text-lg);
|
|
1582
|
+
font-weight: 600;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
.ui-dialog__body {
|
|
1586
|
+
margin: 0;
|
|
1587
|
+
font-size: var(--text-md);
|
|
1588
|
+
line-height: 1.5;
|
|
1589
|
+
color: var(--ink-2);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
.ui-dialog__actions {
|
|
1593
|
+
display: flex;
|
|
1594
|
+
justify-content: flex-end;
|
|
1595
|
+
gap: 8px;
|
|
1596
|
+
margin-top: 4px;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
/* Settings rows: title and one-line help on the left, the control cluster
|
|
1600
|
+
(control, its Save, a state tag) on one line at the right, both vertically
|
|
1601
|
+
centered so a switch row and an input row read the same. */
|
|
1602
|
+
.ui-setting {
|
|
1603
|
+
display: grid;
|
|
1604
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
|
|
1605
|
+
gap: 16px 24px;
|
|
1606
|
+
align-items: center;
|
|
1607
|
+
min-height: 64px;
|
|
1608
|
+
padding: 12px 20px;
|
|
1609
|
+
border-top: 1px solid var(--line-2);
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
.ui-setting:first-child {
|
|
1613
|
+
border-top: 0;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
.ui-setting__text {
|
|
1617
|
+
display: grid;
|
|
1618
|
+
gap: 3px;
|
|
1619
|
+
min-width: 0;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
.ui-setting__text b {
|
|
1623
|
+
display: flex;
|
|
1624
|
+
flex-wrap: wrap;
|
|
1625
|
+
align-items: center;
|
|
1626
|
+
gap: 8px;
|
|
1627
|
+
font-size: var(--text-base);
|
|
1628
|
+
font-weight: 500;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
.ui-setting__text small {
|
|
1632
|
+
font-size: var(--text-sm);
|
|
1633
|
+
line-height: 1.45;
|
|
1634
|
+
color: var(--ink-3);
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
.ui-setting__text code {
|
|
1638
|
+
font-family: var(--font-mono);
|
|
1639
|
+
font-size: var(--text-xs);
|
|
1640
|
+
color: var(--ink-2);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
.ui-setting__control {
|
|
1644
|
+
display: flex;
|
|
1645
|
+
flex-wrap: wrap;
|
|
1646
|
+
align-items: center;
|
|
1647
|
+
justify-content: flex-end;
|
|
1648
|
+
gap: 8px;
|
|
1649
|
+
min-width: 0;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.ui-setting__control > .ui-input,
|
|
1653
|
+
.ui-setting__control > .ui-select,
|
|
1654
|
+
.ui-setting__control > .ui-textarea {
|
|
1655
|
+
flex: 1 1 140px;
|
|
1656
|
+
min-width: 0;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
.ui-setting__status {
|
|
1660
|
+
flex-basis: 100%;
|
|
1661
|
+
font-size: var(--text-sm);
|
|
1662
|
+
text-align: right;
|
|
1663
|
+
color: var(--success);
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.ui-setting__status--error {
|
|
1667
|
+
color: var(--danger);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
@media (max-width: 720px) {
|
|
1671
|
+
.ui-setting {
|
|
1672
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
.ui-setting__control {
|
|
1676
|
+
justify-content: flex-start;
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
/* Variable fields: a textarea or single-line input whose {{ key }} tokens are
|
|
1681
|
+
highlighted by an overlay layer sharing the control's exact box, with a menu
|
|
1682
|
+
that inserts and previews the variables the principal may use. */
|
|
1683
|
+
.ui-varfield {
|
|
1684
|
+
position: relative;
|
|
1685
|
+
min-width: 0;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
.ui-varfield__control {
|
|
1689
|
+
position: relative;
|
|
1690
|
+
min-width: 0;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
.ui-varfield__input,
|
|
1694
|
+
.ui-varfield__highlight {
|
|
1695
|
+
margin: 0;
|
|
1696
|
+
width: 100%;
|
|
1697
|
+
box-sizing: border-box;
|
|
1698
|
+
padding: 8px 36px 8px 10px;
|
|
1699
|
+
font-family: var(--font-sans);
|
|
1700
|
+
font-size: var(--text-base);
|
|
1701
|
+
line-height: 1.55;
|
|
1702
|
+
border: 1px solid var(--line);
|
|
1703
|
+
border-radius: var(--r);
|
|
1704
|
+
tab-size: 2;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
.ui-varfield__highlight {
|
|
1708
|
+
position: absolute;
|
|
1709
|
+
inset: 0;
|
|
1710
|
+
z-index: 0;
|
|
1711
|
+
overflow: hidden;
|
|
1712
|
+
color: var(--ink);
|
|
1713
|
+
background: var(--surface);
|
|
1714
|
+
pointer-events: none;
|
|
1715
|
+
user-select: none;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
.ui-varfield__input {
|
|
1719
|
+
position: relative;
|
|
1720
|
+
z-index: 1;
|
|
1721
|
+
color: transparent;
|
|
1722
|
+
background: transparent;
|
|
1723
|
+
border-color: transparent;
|
|
1724
|
+
caret-color: var(--ink);
|
|
1725
|
+
transition: none;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
.ui-varfield__input:focus {
|
|
1729
|
+
outline: 0;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
.ui-varfield__input::placeholder {
|
|
1733
|
+
color: var(--ink-4);
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
.ui-varfield[data-multiline='true'] .ui-varfield__input,
|
|
1737
|
+
.ui-varfield[data-multiline='true'] .ui-varfield__highlight {
|
|
1738
|
+
min-height: 120px;
|
|
1739
|
+
white-space: pre-wrap;
|
|
1740
|
+
overflow-wrap: break-word;
|
|
1741
|
+
word-break: break-word;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
.ui-varfield[data-multiline='true'] .ui-varfield__input {
|
|
1745
|
+
resize: vertical;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
.ui-varfield[data-multiline='false'] .ui-varfield__input,
|
|
1749
|
+
.ui-varfield[data-multiline='false'] .ui-varfield__highlight {
|
|
1750
|
+
height: var(--control-h);
|
|
1751
|
+
white-space: pre;
|
|
1752
|
+
overflow: hidden;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.ui-varfield__control:focus-within .ui-varfield__highlight {
|
|
1756
|
+
border-color: var(--primary);
|
|
1757
|
+
box-shadow: 0 0 0 3px var(--primary-soft);
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
.ui-varfield[data-error='true'] .ui-varfield__highlight {
|
|
1761
|
+
border-color: var(--danger);
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
.ui-varfield[data-error='true']
|
|
1765
|
+
.ui-varfield__control:focus-within
|
|
1766
|
+
.ui-varfield__highlight {
|
|
1767
|
+
box-shadow: 0 0 0 3px var(--danger-bg);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
.ui-varfield__input:disabled {
|
|
1771
|
+
cursor: not-allowed;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
.ui-varfield__input:disabled + .ui-varfield__trigger {
|
|
1775
|
+
cursor: not-allowed;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.ui-varfield:has(.ui-varfield__input:disabled) .ui-varfield__highlight {
|
|
1779
|
+
color: var(--ink-3);
|
|
1780
|
+
background: var(--surface-2);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
/* A pill adds no horizontal size, so the highlighted token stays aligned with
|
|
1784
|
+
the transparent text in the control behind it. */
|
|
1785
|
+
.ui-varfield__pill {
|
|
1786
|
+
color: var(--primary);
|
|
1787
|
+
background: var(--primary-tint);
|
|
1788
|
+
border-radius: var(--r-sm);
|
|
1789
|
+
box-decoration-break: clone;
|
|
1790
|
+
-webkit-box-decoration-break: clone;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
.ui-varfield__pill--error {
|
|
1794
|
+
color: var(--danger);
|
|
1795
|
+
background: var(--danger-bg);
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
.ui-varfield__trigger {
|
|
1799
|
+
position: absolute;
|
|
1800
|
+
top: 6px;
|
|
1801
|
+
right: 6px;
|
|
1802
|
+
z-index: 2;
|
|
1803
|
+
display: inline-grid;
|
|
1804
|
+
place-items: center;
|
|
1805
|
+
width: 26px;
|
|
1806
|
+
height: 26px;
|
|
1807
|
+
color: var(--ink-3);
|
|
1808
|
+
background: var(--surface);
|
|
1809
|
+
border: 1px solid var(--line);
|
|
1810
|
+
border-radius: var(--r-sm);
|
|
1811
|
+
cursor: pointer;
|
|
1812
|
+
transition:
|
|
1813
|
+
color var(--t-fast) var(--ease),
|
|
1814
|
+
border-color var(--t-fast) var(--ease);
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
.ui-varfield[data-multiline='false'] .ui-varfield__trigger {
|
|
1818
|
+
top: 50%;
|
|
1819
|
+
transform: translateY(-50%);
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
.ui-varfield__trigger:hover:not(:disabled) {
|
|
1823
|
+
color: var(--primary);
|
|
1824
|
+
border-color: var(--primary);
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
.ui-varfield__trigger:disabled {
|
|
1828
|
+
opacity: 0.5;
|
|
1829
|
+
cursor: not-allowed;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
.ui-varfield__menu {
|
|
1833
|
+
position: absolute;
|
|
1834
|
+
top: calc(100% + 6px);
|
|
1835
|
+
left: 0;
|
|
1836
|
+
right: 0;
|
|
1837
|
+
z-index: 31;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
.ui-varfield__menu > .ui-menu {
|
|
1841
|
+
max-height: 260px;
|
|
1842
|
+
overflow: auto;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
.ui-varfield__menu .ui-varfield__value {
|
|
1846
|
+
flex: 0 0 auto;
|
|
1847
|
+
max-width: 45%;
|
|
1848
|
+
overflow: hidden;
|
|
1849
|
+
color: var(--ink-3);
|
|
1850
|
+
text-overflow: ellipsis;
|
|
1851
|
+
white-space: nowrap;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
.ui-varfield__empty {
|
|
1855
|
+
margin: 0;
|
|
1856
|
+
padding: 10px;
|
|
1857
|
+
font-size: var(--text-sm);
|
|
1858
|
+
color: var(--ink-3);
|
|
1859
|
+
}
|