Initial commit
This commit is contained in:
139
.env
Normal file
139
.env
Normal file
@@ -0,0 +1,139 @@
|
||||
#MY_API_KEY=sk-1234567890
|
||||
#CUSTOM_ENDPOINT=https://api.example.com
|
||||
#DATABASE_CONNECTION_STRING=postgresql://user:pass@localhost:5432/db
|
||||
TELEGRAM_BOT_TOKEN=7889797976:AAG8Fxmau5-RlUtclaNA6ilZ6gq1UGaLux0
|
||||
TELEGRAM_DEV_CHAT_ID=268170503
|
||||
TELEGRAM_PUBLIC_KEY_HEX=e7bf03a2fa4602af4580703d88dda5bb59f32ed8b02a56c187fe7d34caed242d
|
||||
DEV_URL=https://a4b1dea1-ca80-4ed8-bae6-2093dd212d85.weweb-preview.io
|
||||
TEST_URL=https://andronevskaya.naughtysoul.ru
|
||||
|
||||
############
|
||||
# Secrets
|
||||
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
|
||||
############
|
||||
|
||||
POSTGRES_PASSWORD=I6K7WI0330xBYoNjGeKn2dMR4Y62VDlGPepGNd9x
|
||||
JWT_SECRET=nH3I5rxBTKqxbhwrqVzMmHZeDzeEX0ReljNbx4as
|
||||
ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzYyODE1NjAwLCJleHAiOjE5MjA1ODIwMDB9.43Ic6uddsjCzFQUetyTV4Q5q8YHh1JCEVm0gd2HEsqc
|
||||
SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaXNzIjoic3VwYWJhc2UiLCJpYXQiOjE3NjI4MTU2MDAsImV4cCI6MTkyMDU4MjAwMH0.Kh1SIfZGzZAuqtF_0qL-Mq_bbYtXuo2VBZwj4YRhDy8
|
||||
DASHBOARD_USERNAME=andronyevskaya_supabase_user
|
||||
DASHBOARD_PASSWORD=PW2DtC2RauxmHcb87tDOf1bgfYPMXZG8rwJ4Krr4
|
||||
SECRET_KEY_BASE=f5+0TQBY1z4hKNN2ST9hM0giUKSbSW4T1r/lF3b8DyZJXiOjNOH+HgnAf+N4SNWz
|
||||
VAULT_ENC_KEY=3QMh694DBnziVHf5xJDsdKFqv5Dt1JUV4HYsf0yM
|
||||
|
||||
|
||||
############
|
||||
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
|
||||
############
|
||||
|
||||
POSTGRES_HOST=db
|
||||
POSTGRES_DB=postgres
|
||||
POSTGRES_PORT=5432
|
||||
# default user is postgres
|
||||
|
||||
|
||||
############
|
||||
# Supavisor -- Database pooler
|
||||
############
|
||||
# Port Supavisor listens on for transaction pooling connections
|
||||
POOLER_PROXY_PORT_TRANSACTION=6543
|
||||
# Maximum number of PostgreSQL connections Supavisor opens per pool
|
||||
POOLER_DEFAULT_POOL_SIZE=20
|
||||
# Maximum number of client connections Supavisor accepts per pool
|
||||
POOLER_MAX_CLIENT_CONN=100
|
||||
# Unique tenant identifier
|
||||
POOLER_TENANT_ID=your-tenant-id
|
||||
# Pool size for internal metadata storage used by Supavisor
|
||||
# This is separate from client connections and used only by Supavisor itself
|
||||
POOLER_DB_POOL_SIZE=5
|
||||
|
||||
|
||||
############
|
||||
# API Proxy - Configuration for the Kong Reverse proxy.
|
||||
############
|
||||
|
||||
KONG_HTTP_PORT=8000
|
||||
KONG_HTTPS_PORT=8443
|
||||
|
||||
|
||||
############
|
||||
# API - Configuration for PostgREST.
|
||||
############
|
||||
|
||||
PGRST_DB_SCHEMAS=public,storage,graphql_public
|
||||
|
||||
|
||||
############
|
||||
# Auth - Configuration for the GoTrue authentication server.
|
||||
############
|
||||
|
||||
## General
|
||||
SITE_URL=http://supabase.naughtysoul.ru:3000
|
||||
ADDITIONAL_REDIRECT_URLS=
|
||||
JWT_EXPIRY=3600
|
||||
DISABLE_SIGNUP=false
|
||||
API_EXTERNAL_URL=http://supabase.naughtysoul.ru:8000
|
||||
|
||||
## Mailer Config
|
||||
MAILER_URLPATHS_CONFIRMATION="/auth/v1/verify"
|
||||
MAILER_URLPATHS_INVITE="/auth/v1/verify"
|
||||
MAILER_URLPATHS_RECOVERY="/auth/v1/verify"
|
||||
MAILER_URLPATHS_EMAIL_CHANGE="/auth/v1/verify"
|
||||
|
||||
## Email auth
|
||||
ENABLE_EMAIL_SIGNUP=true
|
||||
ENABLE_EMAIL_AUTOCONFIRM=false
|
||||
SMTP_ADMIN_EMAIL=lkyk@andronevskaya.ru
|
||||
SMTP_HOST=smtp.andronevskaya.ru
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=lkyk@andronevskaya.ru
|
||||
SMTP_PASS=square-few-94
|
||||
SMTP_SENDER_NAME=Андроньевская
|
||||
ENABLE_ANONYMOUS_USERS=false
|
||||
|
||||
## Phone auth
|
||||
ENABLE_PHONE_SIGNUP=true
|
||||
ENABLE_PHONE_AUTOCONFIRM=true
|
||||
|
||||
|
||||
############
|
||||
# Studio - Configuration for the Dashboard
|
||||
############
|
||||
|
||||
STUDIO_DEFAULT_ORGANIZATION=Default Organization
|
||||
STUDIO_DEFAULT_PROJECT=Default Project
|
||||
|
||||
STUDIO_PORT=3000
|
||||
# replace if you intend to use Studio outside of localhost
|
||||
SUPABASE_PUBLIC_URL=http://supabase.naughtysoul.ru:8000
|
||||
|
||||
# Enable webp support
|
||||
IMGPROXY_ENABLE_WEBP_DETECTION=true
|
||||
|
||||
# Add your OpenAI API key to enable SQL Editor Assistant
|
||||
OPENAI_API_KEY=
|
||||
|
||||
|
||||
############
|
||||
# Functions - Configuration for Functions
|
||||
############
|
||||
# NOTE: VERIFY_JWT applies to all functions. Per-function VERIFY_JWT is not supported yet.
|
||||
FUNCTIONS_VERIFY_JWT=false
|
||||
|
||||
|
||||
############
|
||||
# Logs - Configuration for Analytics
|
||||
# Please refer to https://supabase.com/docs/reference/self-hosting-analytics/introduction
|
||||
############
|
||||
|
||||
# Change vector.toml sinks to reflect this change
|
||||
# these cannot be the same value
|
||||
LOGFLARE_PUBLIC_ACCESS_TOKEN=your-super-secret-and-long-logflare-key-public
|
||||
LOGFLARE_PRIVATE_ACCESS_TOKEN=your-super-secret-and-long-logflare-key-private
|
||||
|
||||
# Docker socket location - this value will differ depending on your OS
|
||||
DOCKER_SOCKET_LOCATION=/var/run/docker.sock
|
||||
|
||||
# Google Cloud Project details
|
||||
GOOGLE_PROJECT_ID=GOOGLE_PROJECT_ID
|
||||
GOOGLE_PROJECT_NUMBER=GOOGLE_PROJECT_NUMBER
|
||||
537
docker-compose.yml
Normal file
537
docker-compose.yml
Normal file
@@ -0,0 +1,537 @@
|
||||
# Usage
|
||||
# Start: docker compose up
|
||||
# With helpers: docker compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml up
|
||||
# Stop: docker compose down
|
||||
# Destroy: docker compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml down -v --remove-orphans
|
||||
# Reset everything: ./reset.sh
|
||||
|
||||
name: supabase
|
||||
|
||||
services:
|
||||
|
||||
studio:
|
||||
container_name: supabase-studio
|
||||
image: supabase/studio:2026.01.27-sha-6aa59ff
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"-e",
|
||||
"fetch('http://studio:3000/api/platform/profile').then((r) => {if (r.status !== 200) throw new Error(r.status)})"
|
||||
]
|
||||
timeout: 10s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
depends_on:
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
STUDIO_PG_META_URL: http://meta:8080
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
|
||||
DEFAULT_ORGANIZATION_NAME: ${STUDIO_DEFAULT_ORGANIZATION}
|
||||
DEFAULT_PROJECT_NAME: ${STUDIO_DEFAULT_PROJECT}
|
||||
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
|
||||
|
||||
SUPABASE_URL: http://kong:8000
|
||||
SUPABASE_PUBLIC_URL: ${SUPABASE_PUBLIC_URL}
|
||||
SUPABASE_ANON_KEY: ${ANON_KEY}
|
||||
SUPABASE_SERVICE_KEY: ${SERVICE_ROLE_KEY}
|
||||
AUTH_JWT_SECRET: ${JWT_SECRET}
|
||||
|
||||
LOGFLARE_PRIVATE_ACCESS_TOKEN: ${LOGFLARE_PRIVATE_ACCESS_TOKEN}
|
||||
LOGFLARE_URL: http://analytics:4000
|
||||
NEXT_PUBLIC_ENABLE_LOGS: true
|
||||
# Comment to use Big Query backend for analytics
|
||||
NEXT_ANALYTICS_BACKEND_PROVIDER: postgres
|
||||
# Uncomment to use Big Query backend for analytics
|
||||
# NEXT_ANALYTICS_BACKEND_PROVIDER: bigquery
|
||||
|
||||
kong:
|
||||
container_name: supabase-kong
|
||||
image: kong:2.8.1
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${KONG_HTTP_PORT}:8000/tcp
|
||||
- ${KONG_HTTPS_PORT}:8443/tcp
|
||||
volumes:
|
||||
# https://github.com/supabase/supabase/issues/12661
|
||||
- ./volumes/api/kong.yml:/home/kong/temp.yml:ro,z
|
||||
depends_on:
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
KONG_DATABASE: "off"
|
||||
KONG_DECLARATIVE_CONFIG: /home/kong/kong.yml
|
||||
# https://github.com/supabase/cli/issues/14
|
||||
KONG_DNS_ORDER: LAST,A,CNAME
|
||||
KONG_PLUGINS: request-transformer,cors,key-auth,acl,basic-auth
|
||||
KONG_NGINX_PROXY_PROXY_BUFFER_SIZE: 160k
|
||||
KONG_NGINX_PROXY_PROXY_BUFFERS: 64 160k
|
||||
SUPABASE_ANON_KEY: ${ANON_KEY}
|
||||
SUPABASE_SERVICE_KEY: ${SERVICE_ROLE_KEY}
|
||||
DASHBOARD_USERNAME: ${DASHBOARD_USERNAME}
|
||||
DASHBOARD_PASSWORD: ${DASHBOARD_PASSWORD}
|
||||
# https://unix.stackexchange.com/a/294837
|
||||
entrypoint: bash -c 'eval "echo \"$$(cat ~/temp.yml)\"" > ~/kong.yml && /docker-entrypoint.sh kong docker-start'
|
||||
|
||||
auth:
|
||||
container_name: supabase-auth
|
||||
image: supabase/gotrue:v2.185.0
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://localhost:9999/health"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
GOTRUE_API_HOST: 0.0.0.0
|
||||
GOTRUE_API_PORT: 9999
|
||||
API_EXTERNAL_URL: ${API_EXTERNAL_URL}
|
||||
|
||||
GOTRUE_DB_DRIVER: postgres
|
||||
GOTRUE_DB_DATABASE_URL: postgres://supabase_auth_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
|
||||
GOTRUE_SITE_URL: ${SITE_URL}
|
||||
GOTRUE_URI_ALLOW_LIST: ${ADDITIONAL_REDIRECT_URLS}
|
||||
GOTRUE_DISABLE_SIGNUP: ${DISABLE_SIGNUP}
|
||||
|
||||
GOTRUE_JWT_ADMIN_ROLES: service_role
|
||||
GOTRUE_JWT_AUD: authenticated
|
||||
GOTRUE_JWT_DEFAULT_GROUP_NAME: authenticated
|
||||
GOTRUE_JWT_EXP: ${JWT_EXPIRY}
|
||||
GOTRUE_JWT_SECRET: ${JWT_SECRET}
|
||||
|
||||
GOTRUE_EXTERNAL_EMAIL_ENABLED: ${ENABLE_EMAIL_SIGNUP}
|
||||
GOTRUE_EXTERNAL_ANONYMOUS_USERS_ENABLED: ${ENABLE_ANONYMOUS_USERS}
|
||||
GOTRUE_MAILER_AUTOCONFIRM: ${ENABLE_EMAIL_AUTOCONFIRM}
|
||||
|
||||
# Uncomment to bypass nonce check in ID Token flow. Commonly set to true when using Google Sign In on mobile.
|
||||
# GOTRUE_EXTERNAL_SKIP_NONCE_CHECK: true
|
||||
|
||||
# GOTRUE_MAILER_SECURE_EMAIL_CHANGE_ENABLED: true
|
||||
# GOTRUE_SMTP_MAX_FREQUENCY: 1s
|
||||
GOTRUE_SMTP_ADMIN_EMAIL: ${SMTP_ADMIN_EMAIL}
|
||||
GOTRUE_SMTP_HOST: ${SMTP_HOST}
|
||||
GOTRUE_SMTP_PORT: ${SMTP_PORT}
|
||||
GOTRUE_SMTP_USER: ${SMTP_USER}
|
||||
GOTRUE_SMTP_PASS: ${SMTP_PASS}
|
||||
GOTRUE_SMTP_SENDER_NAME: ${SMTP_SENDER_NAME}
|
||||
GOTRUE_MAILER_URLPATHS_INVITE: ${MAILER_URLPATHS_INVITE}
|
||||
GOTRUE_MAILER_URLPATHS_CONFIRMATION: ${MAILER_URLPATHS_CONFIRMATION}
|
||||
GOTRUE_MAILER_URLPATHS_RECOVERY: ${MAILER_URLPATHS_RECOVERY}
|
||||
GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE: ${MAILER_URLPATHS_EMAIL_CHANGE}
|
||||
|
||||
GOTRUE_EXTERNAL_PHONE_ENABLED: ${ENABLE_PHONE_SIGNUP}
|
||||
GOTRUE_SMS_AUTOCONFIRM: ${ENABLE_PHONE_AUTOCONFIRM}
|
||||
# Uncomment to enable custom access token hook. Please see: https://supabase.com/docs/guides/auth/auth-hooks for full list of hooks and additional details about custom_access_token_hook
|
||||
|
||||
# GOTRUE_HOOK_CUSTOM_ACCESS_TOKEN_ENABLED: "true"
|
||||
# GOTRUE_HOOK_CUSTOM_ACCESS_TOKEN_URI: "pg-functions://postgres/public/custom_access_token_hook"
|
||||
# GOTRUE_HOOK_CUSTOM_ACCESS_TOKEN_SECRETS: "<standard-base64-secret>"
|
||||
|
||||
# GOTRUE_HOOK_MFA_VERIFICATION_ATTEMPT_ENABLED: "true"
|
||||
# GOTRUE_HOOK_MFA_VERIFICATION_ATTEMPT_URI: "pg-functions://postgres/public/mfa_verification_attempt"
|
||||
|
||||
# GOTRUE_HOOK_PASSWORD_VERIFICATION_ATTEMPT_ENABLED: "true"
|
||||
# GOTRUE_HOOK_PASSWORD_VERIFICATION_ATTEMPT_URI: "pg-functions://postgres/public/password_verification_attempt"
|
||||
|
||||
# GOTRUE_HOOK_SEND_SMS_ENABLED: "false"
|
||||
# GOTRUE_HOOK_SEND_SMS_URI: "pg-functions://postgres/public/custom_access_token_hook"
|
||||
# GOTRUE_HOOK_SEND_SMS_SECRETS: "v1,whsec_VGhpcyBpcyBhbiBleGFtcGxlIG9mIGEgc2hvcnRlciBCYXNlNjQgc3RyaW5n"
|
||||
|
||||
# GOTRUE_HOOK_SEND_EMAIL_ENABLED: "false"
|
||||
# GOTRUE_HOOK_SEND_EMAIL_URI: "http://host.docker.internal:54321/functions/v1/email_sender"
|
||||
# GOTRUE_HOOK_SEND_EMAIL_SECRETS: "v1,whsec_VGhpcyBpcyBhbiBleGFtcGxlIG9mIGEgc2hvcnRlciBCYXNlNjQgc3RyaW5n"
|
||||
|
||||
rest:
|
||||
container_name: supabase-rest
|
||||
image: postgrest/postgrest:v14.3
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
PGRST_DB_URI: postgres://authenticator:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
PGRST_DB_SCHEMAS: ${PGRST_DB_SCHEMAS}
|
||||
PGRST_DB_ANON_ROLE: anon
|
||||
PGRST_JWT_SECRET: ${JWT_SECRET}
|
||||
PGRST_DB_USE_LEGACY_GUCS: "false"
|
||||
PGRST_APP_SETTINGS_JWT_SECRET: ${JWT_SECRET}
|
||||
PGRST_APP_SETTINGS_JWT_EXP: ${JWT_EXPIRY}
|
||||
command:
|
||||
[
|
||||
"postgrest"
|
||||
]
|
||||
|
||||
realtime:
|
||||
# This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain
|
||||
container_name: realtime-dev.supabase-realtime
|
||||
image: supabase/realtime:v2.72.0
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"curl",
|
||||
"-sSfL",
|
||||
"--head",
|
||||
"-o",
|
||||
"/dev/null",
|
||||
"-H",
|
||||
"Authorization: Bearer ${ANON_KEY}",
|
||||
"http://localhost:4000/api/tenants/realtime-dev/health"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
environment:
|
||||
PORT: 4000
|
||||
DB_HOST: ${POSTGRES_HOST}
|
||||
DB_PORT: ${POSTGRES_PORT}
|
||||
DB_USER: supabase_admin
|
||||
DB_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
DB_NAME: ${POSTGRES_DB}
|
||||
DB_AFTER_CONNECT_QUERY: 'SET search_path TO _realtime'
|
||||
DB_ENC_KEY: supabaserealtime
|
||||
API_JWT_SECRET: ${JWT_SECRET}
|
||||
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
|
||||
ERL_AFLAGS: -proto_dist inet_tcp
|
||||
DNS_NODES: "''"
|
||||
RLIMIT_NOFILE: "10000"
|
||||
APP_NAME: realtime
|
||||
SEED_SELF_HOST: true
|
||||
RUN_JANITOR: true
|
||||
|
||||
# To use S3 backed storage: docker compose -f docker-compose.yml -f docker-compose.s3.yml up
|
||||
storage:
|
||||
container_name: supabase-storage
|
||||
image: supabase/storage-api:v1.33.5
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/storage:/var/lib/storage:z
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://storage:5000/status"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
rest:
|
||||
condition: service_started
|
||||
imgproxy:
|
||||
condition: service_started
|
||||
environment:
|
||||
ANON_KEY: ${ANON_KEY}
|
||||
SERVICE_KEY: ${SERVICE_ROLE_KEY}
|
||||
POSTGREST_URL: http://rest:3000
|
||||
PGRST_JWT_SECRET: ${JWT_SECRET}
|
||||
DATABASE_URL: postgres://supabase_storage_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
FILE_SIZE_LIMIT: 52428800
|
||||
STORAGE_BACKEND: file
|
||||
FILE_STORAGE_BACKEND_PATH: /var/lib/storage
|
||||
TENANT_ID: stub
|
||||
# TODO: https://github.com/supabase/storage-api/issues/55
|
||||
REGION: stub
|
||||
GLOBAL_S3_BUCKET: stub
|
||||
ENABLE_IMAGE_TRANSFORMATION: "true"
|
||||
IMGPROXY_URL: http://imgproxy:5001
|
||||
|
||||
imgproxy:
|
||||
container_name: supabase-imgproxy
|
||||
image: darthsim/imgproxy:v3.30.1
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/storage:/var/lib/storage:z
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"imgproxy",
|
||||
"health"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
environment:
|
||||
IMGPROXY_BIND: ":5001"
|
||||
IMGPROXY_LOCAL_FILESYSTEM_ROOT: /
|
||||
IMGPROXY_USE_ETAG: "true"
|
||||
IMGPROXY_ENABLE_WEBP_DETECTION: ${IMGPROXY_ENABLE_WEBP_DETECTION}
|
||||
|
||||
meta:
|
||||
container_name: supabase-meta
|
||||
image: supabase/postgres-meta:v0.95.2
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
PG_META_PORT: 8080
|
||||
PG_META_DB_HOST: ${POSTGRES_HOST}
|
||||
PG_META_DB_PORT: ${POSTGRES_PORT}
|
||||
PG_META_DB_NAME: ${POSTGRES_DB}
|
||||
PG_META_DB_USER: supabase_admin
|
||||
PG_META_DB_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
|
||||
functions:
|
||||
container_name: supabase-edge-functions
|
||||
image: supabase/edge-runtime:v1.70.0
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/functions:/home/deno/functions:Z
|
||||
depends_on:
|
||||
analytics:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
#MY_API_KEY: ${MY_API_KEY}
|
||||
#CUSTOM_ENDPOINT: ${CUSTOM_ENDPOINT}
|
||||
#DATABASE_CONNECTION_STRING: ${DATABASE_CONNECTION_STRING}
|
||||
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN}
|
||||
TELEGRAM_DEV_CHAT_ID: ${TELEGRAM_DEV_CHAT_ID}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
SUPABASE_URL: http://kong:8000
|
||||
SUPABASE_ANON_KEY: ${ANON_KEY}
|
||||
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
|
||||
SUPABASE_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
# TODO: Allow configuring VERIFY_JWT per function. This PR might help: https://github.com/supabase/cli/pull/786
|
||||
VERIFY_JWT: "${FUNCTIONS_VERIFY_JWT}"
|
||||
command:
|
||||
[
|
||||
"start",
|
||||
"--main-service",
|
||||
"/home/deno/functions/main"
|
||||
]
|
||||
|
||||
analytics:
|
||||
container_name: supabase-analytics
|
||||
image: supabase/logflare:1.30.3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 4000:4000
|
||||
# Uncomment to use Big Query backend for analytics
|
||||
# volumes:
|
||||
# - type: bind
|
||||
# source: ${PWD}/gcloud.json
|
||||
# target: /opt/app/rel/logflare/bin/gcloud.json
|
||||
# read_only: true
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"curl",
|
||||
"http://localhost:4000/health"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 10
|
||||
depends_on:
|
||||
db:
|
||||
# Disable this if you are using an external Postgres database
|
||||
condition: service_healthy
|
||||
environment:
|
||||
LOGFLARE_NODE_HOST: 127.0.0.1
|
||||
DB_USERNAME: supabase_admin
|
||||
DB_DATABASE: _supabase
|
||||
DB_HOSTNAME: ${POSTGRES_HOST}
|
||||
DB_PORT: ${POSTGRES_PORT}
|
||||
DB_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
DB_SCHEMA: _analytics
|
||||
LOGFLARE_PUBLIC_ACCESS_TOKEN: ${LOGFLARE_PUBLIC_ACCESS_TOKEN}
|
||||
LOGFLARE_PRIVATE_ACCESS_TOKEN: ${LOGFLARE_PRIVATE_ACCESS_TOKEN}
|
||||
LOGFLARE_SINGLE_TENANT: true
|
||||
LOGFLARE_SUPABASE_MODE: true
|
||||
LOGFLARE_MIN_CLUSTER_SIZE: 1
|
||||
|
||||
# Comment variables to use Big Query backend for analytics
|
||||
POSTGRES_BACKEND_URL: postgresql://supabase_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/_supabase
|
||||
POSTGRES_BACKEND_SCHEMA: _analytics
|
||||
LOGFLARE_FEATURE_FLAG_OVERRIDE: multibackend=true
|
||||
# Uncomment to use Big Query backend for analytics
|
||||
# GOOGLE_PROJECT_ID: ${GOOGLE_PROJECT_ID}
|
||||
# GOOGLE_PROJECT_NUMBER: ${GOOGLE_PROJECT_NUMBER}
|
||||
|
||||
# Comment out everything below this point if you are using an external Postgres database
|
||||
db:
|
||||
container_name: supabase-db
|
||||
image: supabase/postgres:15.8.1.085
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/db/realtime.sql:/docker-entrypoint-initdb.d/migrations/99-realtime.sql:Z
|
||||
# Must be superuser to create event trigger
|
||||
- ./volumes/db/webhooks.sql:/docker-entrypoint-initdb.d/init-scripts/98-webhooks.sql:Z
|
||||
# Must be superuser to alter reserved role
|
||||
- ./volumes/db/roles.sql:/docker-entrypoint-initdb.d/init-scripts/99-roles.sql:Z
|
||||
# Initialize the database settings with JWT_SECRET and JWT_EXP
|
||||
- ./volumes/db/jwt.sql:/docker-entrypoint-initdb.d/init-scripts/99-jwt.sql:Z
|
||||
# PGDATA directory is persisted between restarts
|
||||
- ./volumes/db/data:/var/lib/postgresql/data:Z
|
||||
# Changes required for internal supabase data such as _analytics
|
||||
- ./volumes/db/_supabase.sql:/docker-entrypoint-initdb.d/migrations/97-_supabase.sql:Z
|
||||
# Changes required for Analytics support
|
||||
- ./volumes/db/logs.sql:/docker-entrypoint-initdb.d/migrations/99-logs.sql:Z
|
||||
# Changes required for Pooler support
|
||||
- ./volumes/db/pooler.sql:/docker-entrypoint-initdb.d/migrations/99-pooler.sql:Z
|
||||
# Use named volume to persist pgsodium decryption key between restarts
|
||||
- db-config:/etc/postgresql-custom
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"pg_isready",
|
||||
"-U",
|
||||
"postgres",
|
||||
"-h",
|
||||
"localhost"
|
||||
]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
depends_on:
|
||||
vector:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${POSTGRES_PORT}:5432"
|
||||
environment:
|
||||
POSTGRES_HOST: /var/run/postgresql
|
||||
PGPORT: ${POSTGRES_PORT}
|
||||
POSTGRES_PORT: ${POSTGRES_PORT}
|
||||
PGPASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
PGDATABASE: ${POSTGRES_DB}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
JWT_EXP: ${JWT_EXPIRY}
|
||||
command:
|
||||
[
|
||||
"postgres",
|
||||
"-c",
|
||||
"config_file=/etc/postgresql/postgresql.conf",
|
||||
"-c",
|
||||
"log_min_messages=fatal" # prevents Realtime polling queries from appearing in logs
|
||||
]
|
||||
|
||||
vector:
|
||||
container_name: supabase-vector
|
||||
image: timberio/vector:0.28.1-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/logs/vector.yml:/etc/vector/vector.yml:ro,z
|
||||
- ${DOCKER_SOCKET_LOCATION}:/var/run/docker.sock:ro,z
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://vector:9001/health"
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
environment:
|
||||
LOGFLARE_PUBLIC_ACCESS_TOKEN: ${LOGFLARE_PUBLIC_ACCESS_TOKEN}
|
||||
command:
|
||||
[
|
||||
"--config",
|
||||
"/etc/vector/vector.yml"
|
||||
]
|
||||
security_opt:
|
||||
- "label=disable"
|
||||
|
||||
# Update the DATABASE_URL if you are using an external Postgres database
|
||||
# supavisor:
|
||||
# container_name: supabase-pooler
|
||||
# image: supabase/supavisor:2.7.4
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - ${POSTGRES_PORT}:5432
|
||||
# - ${POOLER_PROXY_PORT_TRANSACTION}:6543
|
||||
# volumes:
|
||||
# - ./volumes/pooler/pooler.exs:/etc/pooler/pooler.exs:ro,z
|
||||
# healthcheck:
|
||||
# test:
|
||||
# [
|
||||
# "CMD",
|
||||
# "curl",
|
||||
# "-sSfL",
|
||||
# "--head",
|
||||
# "-o",
|
||||
# "/dev/null",
|
||||
# "http://127.0.0.1:4000/api/health"
|
||||
# ]
|
||||
# interval: 10s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
# depends_on:
|
||||
# db:
|
||||
# condition: service_healthy
|
||||
# analytics:
|
||||
# condition: service_healthy
|
||||
# environment:
|
||||
# PORT: 4000
|
||||
# POSTGRES_PORT: ${POSTGRES_PORT}
|
||||
# POSTGRES_DB: ${POSTGRES_DB}
|
||||
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
# DATABASE_URL: ecto://supabase_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/_supabase
|
||||
# CLUSTER_POSTGRES: true
|
||||
# SECRET_KEY_BASE: ${SECRET_KEY_BASE}
|
||||
# VAULT_ENC_KEY: ${VAULT_ENC_KEY}
|
||||
# API_JWT_SECRET: ${JWT_SECRET}
|
||||
# METRICS_JWT_SECRET: ${JWT_SECRET}
|
||||
# REGION: local
|
||||
# ERL_AFLAGS: -proto_dist inet_tcp
|
||||
# POOLER_TENANT_ID: ${POOLER_TENANT_ID}
|
||||
# POOLER_DEFAULT_POOL_SIZE: ${POOLER_DEFAULT_POOL_SIZE}
|
||||
# POOLER_MAX_CLIENT_CONN: ${POOLER_MAX_CLIENT_CONN}
|
||||
# POOLER_POOL_MODE: transaction
|
||||
# DB_POOL_SIZE: ${POOLER_DB_POOL_SIZE}
|
||||
# command:
|
||||
# [
|
||||
# "/bin/sh",
|
||||
# "-c",
|
||||
# "/app/bin/migrate && /app/bin/supavisor eval \"$$(cat /etc/pooler/pooler.exs)\" && /app/bin/server"
|
||||
# ]
|
||||
|
||||
volumes:
|
||||
db-config:
|
||||
11
nginx/default.conf
Normal file
11
nginx/default.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
12
nginx/docker-compose.yml
Normal file
12
nginx/docker-compose.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: andronevskaya-nginx
|
||||
ports:
|
||||
- "8081:80" # сайт будет доступен по http://localhost:8080
|
||||
volumes:
|
||||
- ./site:/usr/share/nginx/html:ro
|
||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
restart: unless-stopped
|
||||
361
site/admin/index.html
Normal file
361
site/admin/index.html
Normal file
@@ -0,0 +1,361 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="" lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10, user-scalable=yes" />
|
||||
<base href="/" target="_self" />
|
||||
|
||||
<title>УК Андроньевская</title>
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico?_wwcv=355" />
|
||||
|
||||
<link rel="manifest" href="manifest.json?_wwcv=355" />
|
||||
<meta name="theme-color" content="" />
|
||||
<link rel="apple-touch-icon" sizes="48x48" href="images/48-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="images/72-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="96x96" href="images/96-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="128x128" href="images/128-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="images/144-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="images/152-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="192x192" href="images/192-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="256x256" href="images/256-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="384x384" href="images/384-Asset_22.png?_wwcv=355">
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="images/512-Asset_22.png?_wwcv=355">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="/fonts/Phosphor/font.css?_wwcv=355" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<style>:root{ --ww-default-font-family: 'Inter', sans-serif }</style>
|
||||
<style>
|
||||
:root {
|
||||
--d1df0b19-a486-4ff7-afce-642458151bae: 700 24px/32px var(--ww-default-font-family, sans-serif);
|
||||
--7c9f9a8f-a27a-4892-a79f-bfe05d93c68a: 600 20px/28px var(--ww-default-font-family, sans-serif);
|
||||
--3160d1e2-bf7e-4ed8-858c-f451c7f81ef1: 400 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--9702e2c3-0958-45ca-becc-70478b56f7da: 400 14px/20px var(--ww-default-font-family, sans-serif);
|
||||
--9396d12d-e863-4584-be81-2849fec30de9: 4px;
|
||||
--aec773ca-1d8e-4faf-ae4d-c614c052803d: 8px;
|
||||
--1636a73c-e384-4325-9cf5-85d532948511: 12px;
|
||||
--fbf0f703-facf-4f20-b525-243fcc74a472: 16px;
|
||||
--5a4280b5-510e-4759-ae42-28a1ec6b0403: 24px;
|
||||
--30ff7477-cd0c-41e7-8890-b0a1a7536b87: 32px;
|
||||
--7bfbaf2b-1618-4e77-bcae-8b43684d3b43: 48px;
|
||||
--5d7b33aa-de23-4764-85d8-e78f6a1dd38a: #2481cc;
|
||||
--894ff656-edb5-4144-a407-59ddc87882fd: #10b981;
|
||||
--31575d56-8583-47a5-aa96-6b596b95d829: #f59e0b;
|
||||
--6957fafe-8e87-4273-82c4-14a652e41237: #ef4444;
|
||||
--2b70b0dd-535d-47b7-bd86-0e49ff890ca8: #ffffff;
|
||||
--f8e4acf0-714c-4d0a-ac6a-21d7c6c66a01: #f3f4f6;
|
||||
--14ccfe79-5445-4654-89dc-900792b3eabb: #1f2937;
|
||||
--555cf332-70b3-4f5c-8d89-ed0232907506: #6b7280;
|
||||
--03f97d03-e8b5-4260-b9a6-84b4e9ac4edb: #000000D9;
|
||||
--7419c94a-472d-45eb-89ac-debf7ef21b35: 400 14px/22px var(--ww-default-font-family, sans-serif);
|
||||
--db07d869-7076-4fff-8cb5-8f81b9060866: #00000040;
|
||||
--802450d4-96e6-46b9-88b5-4ff2ad0c2a9c: 4px;
|
||||
--0a3be4c7-8af6-4f2a-8356-cfc9a654bedb: 8px;
|
||||
--d3c878ba-280d-4a58-b439-dec4f641301e: 12px;
|
||||
--c5f92a83-8757-46c9-a0b3-a6def1d6d25f: 16px;
|
||||
--35f471a8-fb6a-4b4f-85cd-d6eb927956ee: 20px;
|
||||
--b4d95d06-8a9f-4fbc-8696-2796a7a458b2: 24px;
|
||||
--afb0622b-008d-4d99-893c-0f0ebe9cb2ae: #00000073;
|
||||
--b49b91a8-996d-45e6-ae47-795f8322c041: 500 38px/46px var(--ww-default-font-family, sans-serif);
|
||||
--e9d2a21b-ea8d-459b-87bf-131e4d6af9ee: 500 30px/40px var(--ww-default-font-family, sans-serif);
|
||||
--8d14c83a-63a5-4f4f-a12a-97af4258074d: 500 24px/32px var(--ww-default-font-family, sans-serif);
|
||||
--1a3aa549-d178-4106-bc9e-5d1e7bb34c8c: 500 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--6b591379-573d-425b-bc53-12a4426e1513: 600 14px/22px var(--ww-default-font-family, sans-serif);
|
||||
--7135d9d0-003f-4d5b-979b-4835ed0b65bd: #0000000F;
|
||||
--269e56d1-6215-4b79-9d82-7e6cee40fa2a: #000000D9;
|
||||
--8fbac7c3-9c29-4120-a916-efddf0ee92e0: #00000040;
|
||||
--b841af6a-0836-4052-adfd-99ee3aa9ee4a: #FFFFFF;
|
||||
--d9f75b67-53a7-4a7f-9a0e-f4ab7985cde6: 400 12px/20px var(--ww-default-font-family, sans-serif);
|
||||
--4ef5bd5d-6c26-4512-8a87-f23d0269918a: 600 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--af4a2331-71bc-44af-9661-b38551756eab: 600 12px/18px var(--ww-default-font-family, sans-serif);
|
||||
--dba66191-af24-45ac-ae67-dd3770eec837: 400 12px/18px var(--ww-default-font-family, sans-serif);
|
||||
--04a090b3-eb67-4f3d-8946-bb1896dd0c4b: 400 16px/22px var(--ww-default-font-family, sans-serif);
|
||||
--0fa89c8c-d0cf-4c33-81cc-1a4524267593: 400 12px/20px var(--ww-default-font-family, sans-serif);
|
||||
--38ffbeff-764d-4bfc-9245-65b7bc0554d3: 500 20px/28px var(--ww-default-font-family, sans-serif);
|
||||
--f0d118f6-8610-4be0-85a6-7732ededbcbd: 400 60px/60px var(--ww-default-font-family, sans-serif);
|
||||
--c3f20f8d-c404-4890-a149-528c554d3a45: 400 48px/52px var(--ww-default-font-family, sans-serif);
|
||||
--188c18b9-1d63-48aa-b183-a0e339c28999: 400 36px/36px var(--ww-default-font-family, sans-serif);
|
||||
--b47fda5e-c8a2-479d-a3d2-000ef4b6ee4e: 400 24px/30px var(--ww-default-font-family, sans-serif);
|
||||
--d92a1cb7-94b6-4feb-9413-e70e51979f97: 400 18px/26px var(--ww-default-font-family, sans-serif);
|
||||
--f2a71115-b847-4f32-ade9-6ec28c04d178: 400 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--6991fe26-2f58-467a-a1c7-e9a576888df6: 400 12px/16px var(--ww-default-font-family, sans-serif);
|
||||
--413f19fe-06f4-4af0-bc58-613b9c444489: 300 48px/52px var(--ww-default-font-family, sans-serif);
|
||||
--36c90402-a417-43a8-9707-91580919116e: 300 24px/30px var(--ww-default-font-family, sans-serif);
|
||||
--fd2aa2ea-6285-4979-9dd4-0afe769b1cf7: 300 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--0ed994cb-55a6-4345-a079-6317154abeb9: 300 12px/16px var(--ww-default-font-family, sans-serif);
|
||||
--47176e75-5460-40c9-add9-f675437da5c3: 500 60px/60px var(--ww-default-font-family, sans-serif);
|
||||
--a46682a1-6522-4402-851e-ac1aba0b897c: 500 36px/36px var(--ww-default-font-family, sans-serif);
|
||||
--f59d015e-c1a5-41b0-a0bd-d7685bfa9e04: 500 18px/26px var(--ww-default-font-family, sans-serif);
|
||||
--90e4433f-28ec-48c5-8432-3a4ad4f12c6a: 500 14px/20px var(--ww-default-font-family, sans-serif);
|
||||
--1a0dc46e-3d23-4ac0-ada4-bc80d295dd7f: 500 11px/16px var(--ww-default-font-family, sans-serif);
|
||||
--e6d49f9e-afe0-4248-8d07-d27a1c9b6230: 700 48px/52px var(--ww-default-font-family, sans-serif);
|
||||
--63427591-e191-4f49-bcd0-e63f63c1f0d0: 700 24px/30px var(--ww-default-font-family, sans-serif);
|
||||
--ad5de84f-abf6-4f14-81d9-ee7fdc1674f6: 700 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--4dba5634-32ac-49d9-9e3b-1c227801b3a8: 700 12px/16px var(--ww-default-font-family, sans-serif);
|
||||
--f4a28b33-58fd-41ca-b1fd-feda6a0a7e75: 400 14px/20px var(--ww-default-font-family, sans-serif);
|
||||
--c895a4f5-7855-4344-9a83-dff3321d79e6: 400 11px/16px var(--ww-default-font-family, sans-serif);
|
||||
--b593a132-fc74-46b5-beca-3b5698188264: 300 60px/60px var(--ww-default-font-family, sans-serif);
|
||||
--306b96db-c31c-4957-832b-199fd5382cb2: 300 36px/36px var(--ww-default-font-family, sans-serif);
|
||||
--a849b37a-ec69-4519-8689-7ca0ec99905e: 300 18px/26px var(--ww-default-font-family, sans-serif);
|
||||
--355d65f8-3e12-4e04-a4d3-3181e93175b8: 300 14px/20px var(--ww-default-font-family, sans-serif);
|
||||
--c455b4ea-99a3-49f6-a60c-659ec8afdf31: 300 11px/16px var(--ww-default-font-family, sans-serif);
|
||||
--c924f875-829c-4696-8dbc-a392f579d23f: 500 48px/52px var(--ww-default-font-family, sans-serif);
|
||||
--3d798d9f-1dff-4804-987f-f3a7192ef9c9: 500 24px/30px var(--ww-default-font-family, sans-serif);
|
||||
--a610bd35-596d-4cec-b59c-6aa7e996721b: 500 16px/24px var(--ww-default-font-family, sans-serif);
|
||||
--d7a3303e-30a9-4e87-a23c-cb6e262d91e7: 500 12px/16px var(--ww-default-font-family, sans-serif);
|
||||
--261e7097-5da3-4f2d-98ce-77accbcaabb3: 700 60px/60px var(--ww-default-font-family, sans-serif);
|
||||
--5cd34ef8-3e66-48d9-a40c-173b6be0752a: 700 36px/40px var(--ww-default-font-family, sans-serif);
|
||||
--4e3cfba6-0330-4c70-bf29-d8dd3d4d3b94: 700 18px/26px var(--ww-default-font-family, sans-serif);
|
||||
--665adc55-24af-4037-8838-a84d19562ea2: 700 14px/20px var(--ww-default-font-family, sans-serif);
|
||||
--94e99de8-68eb-4787-80af-c99d29e791d5: 700 11px/16px var(--ww-default-font-family, sans-serif);
|
||||
--a30feb65-a942-4bac-9f38-16dfb4436c11: #e1e3e5;
|
||||
--02e08795-d352-49fd-bc93-5286044ef953: #c2c7ce;
|
||||
--c8122ad7-6c9a-437c-84eb-04e924772175: #a3acb9;
|
||||
--e04035ac-59ff-4f90-9036-1e77cda9cb24: #8692a1;
|
||||
--fdb7537c-e7ec-40ba-a311-0e01c275a6ee: #6c7888;
|
||||
--a74a44a9-425f-4705-b866-f1421c68df52: #545f6c;
|
||||
--781a330b-49ce-4467-80f7-40a4a21b1299: #3f4750;
|
||||
--34573081-741e-4f9b-bb0a-b54fa699d29d: #2a2f34;
|
||||
--04645073-e69e-4e73-80ef-5f1f56118c99: #151618;
|
||||
--44df1337-b30d-48d2-9cdf-9c0ce338502e: #e2e2e2;
|
||||
--b56a2bd5-4834-484d-8ecb-7760c0ebc14b: #c7c7c7;
|
||||
--e964af1c-8020-4e44-96df-93b418abf1ff: #ababab;
|
||||
--aed66389-4433-45b2-be66-5622e3df32e7: #919191;
|
||||
--5172739f-2906-4f10-a758-a1d4929606dc: #777777;
|
||||
--eb5500ae-9ab2-4f6a-83e9-afdc2e3bc1b2: #5e5e5e;
|
||||
--1804f5dd-ffbe-4d0f-a18e-7d9af9eb1c8f: #464646;
|
||||
--f0e9c89a-44ab-4e0e-b1d4-1c223f5c1088: #2e2e2e;
|
||||
--4cb797eb-6ee0-474f-b1dc-99461ce603bc: #161616;
|
||||
--9e8130f5-d6e8-45fe-a977-2cc5e23c6bbb: #f8f8f7;
|
||||
--0f661c98-70c5-4b0f-9ce1-6f860eb63b49: #e5e2de;
|
||||
--bb3eaa2d-d4b7-4b14-8e3d-245d1ff7d00b: #cdc5bc;
|
||||
--0b2b321a-ec10-4f3b-bbbb-469272549bdb: #b5aa9c;
|
||||
--6b06c6ba-a34b-4c75-ad9b-bfb7e3d302d4: #9b8f7f;
|
||||
--f61a0146-c1a8-43c8-84e7-9167aa1bb25f: #817566;
|
||||
--a182872b-7383-46fd-a619-8f51d0d52e37: #675c50;
|
||||
--7950677e-aad2-4e7e-a55b-a0e4b568b0c6: #4c443b;
|
||||
--a1277df6-36d4-45aa-b73c-b3e8c1ead1b5: #322d27;
|
||||
--bfdde87c-ea57-4199-bdd9-93db2a273c9a: #181613;
|
||||
--04b93f0a-1fe2-4b5d-8f1a-a487c7c67ef3: #d1e4ff;
|
||||
--d4334cce-a468-42bf-9a6d-51aed19f8289: #a2caff;
|
||||
--b5bcca88-2522-4e68-880e-aee6d63a2e47: #6faeff;
|
||||
--b8065e7d-980b-4ae1-9b66-71c23c085a2a: #3090ff;
|
||||
--c9179837-9d7e-4518-9fa7-8e065db8409d: #0075df;
|
||||
--9821eac7-4263-4bb8-964c-47ddd1b963cf: #005db1;
|
||||
--8bea7fb1-7617-43d7-8391-a42a8ba2ed9f: #004585;
|
||||
--18dcd57b-d6f9-4fa8-9967-a2082f8b8c8e: #002e5b;
|
||||
--dbefda4d-f2df-4a94-aa56-d154013e03e3: #001631;
|
||||
--e9446b2b-09b0-4e6b-90aa-7d5760edcf4b: #f5ddcf;
|
||||
--0fb23398-7e19-4878-943c-6cc4cb22e0c7: #f6b791;
|
||||
--032d8d1a-8928-494b-86d7-0b10c8b6bb69: #f68c47;
|
||||
--95f27f34-c853-49ff-ace4-f3d827bef530: #de6c0b;
|
||||
--d1b5feb5-be21-4239-a938-9b35641d53c2: #b95700;
|
||||
--5cf45ebd-4fc2-4d74-b7cf-022e9de4249f: #944403;
|
||||
--ea6e1fcd-450b-4bf8-a835-8c85eb7e7f73: #6f3207;
|
||||
--31c43a43-4017-45f3-a88b-fc93427b6464: #49220a;
|
||||
--61a949be-2329-417a-8c47-8d5060a73eed: #231107;
|
||||
--e3bb1f43-e60f-47a9-8d3d-f436511c95eb: #faf8ed;
|
||||
--b19a2186-b06d-4a00-abc7-59a8b7252439: #f1e3a9;
|
||||
--eaebb6eb-2114-42ef-9d3f-66c1037222f0: #c8aa19;
|
||||
--c17c036a-24b7-435f-b6d0-2be3936c5447: #8d7500;
|
||||
--14f92e1b-c639-4e6a-b09d-6a189218f090: #544406;
|
||||
--4f0c4735-5c98-4ddc-9714-73d4410e47f9: #382d07;
|
||||
--defdd300-5ef6-4a2e-9852-0328005bf8b7: #f4faf3;
|
||||
--23aa7fa3-11f0-4d27-aa14-fb0a7d2473ed: #c6f0c5;
|
||||
--b4a51e39-8e67-48ae-82b5-041ab116b358: #53c954;
|
||||
--4c0c4797-47f3-416e-8f49-9e7749abc810: #2aad2c;
|
||||
--efd91745-2fb2-4e7e-a5b0-9f0a372dcdcd: #1e7118;
|
||||
--e5693771-d83f-46ab-85b6-7e9b0f1ea8c3: #1a3616;
|
||||
--a0df6c5b-9408-4825-809c-bd96f7a6ccb8: #faf7f7;
|
||||
--fb469904-507a-456a-930a-982b7010ca01: #f6efee;
|
||||
--6bd67ea2-8fa9-43a5-8cf5-50f625558e3c: #f3b5b0;
|
||||
--c8ad9641-1f8b-4f9e-972e-24d3d7c79164: #fa444d;
|
||||
--fb8a0c40-ded1-491a-bac7-14016b364ef0: #af1129;
|
||||
--2c7bfcbf-d833-46b0-9e49-bff3a2696a1f: #4f1a1c;
|
||||
--abd52525-b934-474f-8b93-e976fece5f80: #e3c645;
|
||||
--1ddbd5a9-0bf6-4f67-99f4-c4846032af7f: #ab8f05;
|
||||
--24ab4fe2-969e-4cbc-9985-89c353066a89: #705c03;
|
||||
--13fc8b4f-a356-4975-ba62-96bb6aa8fd25: #1c1604;
|
||||
--fa4d9179-2c75-4b4e-ac46-90ca735cc6d2: #e6f6e6;
|
||||
--cacd1009-7dcd-4c7b-a9d4-8978050bcaf9: #7ee27f;
|
||||
--9475d0e1-b273-475a-b540-5fe7d8df2ea6: #009100;
|
||||
--ae584ace-7bbd-4b34-8713-e000815bf128: #23521d;
|
||||
--157c9b53-591d-410e-9018-916de18e1c0f: #0d1a0a;
|
||||
--dcf7d119-b64f-4e4f-ba82-20185e1e3375: #f2dddb;
|
||||
--74b3c7e8-14ef-4488-9962-388f8c533d23: #f78580;
|
||||
--1c7b698e-806f-42aa-87ae-3ca740940b00: #de0030;
|
||||
--dba3598f-a6ac-4791-a54d-c335ef510ac8: #7e1a23;
|
||||
--199b6fa5-1912-4926-801c-ad88ee962d63: #241010;
|
||||
--b44bfa26-84ac-4ce2-805c-6ab1ba8e9fec: #f7f1d9;
|
||||
--5e7f9d06-2093-42b5-b06f-3c49c3cc5696: #f2f0ef;
|
||||
--6c1d3a95-c836-4dc6-9135-2e0ce966be72: #f8f8f8;
|
||||
--b8db72c0-cb8d-4f74-8de8-ae23882ccea2: #f0f1f1;
|
||||
--a9bc8da4-0ee2-46ab-97aa-5980cd432c9e: #fbf7f4;
|
||||
--8c2636a5-8f0c-4dd3-b5dc-1db6770c94fd: #f8efe9;
|
||||
--530fd98b-c9ff-4178-8122-dfa61ebd54b2: #f8f8f8;
|
||||
--be1705aa-2fa3-45e3-9a2d-b1e3154688a1: #f1f1f1;
|
||||
--08b2c1eb-4626-4895-ad53-022caf0279fe: #f4f8ff;
|
||||
--57730e5b-3d41-4c65-b5c5-591a2b4f2c6c: #e8f2ff;
|
||||
--f52b33fb-9a7f-462d-b467-a670c2a12f7f: 2px;
|
||||
--b363e15d-300e-4ff3-b2ac-f63ea21f5e16: 4px;
|
||||
--7f9785c9-45e0-4bab-91b0-6122b1deafe7: 8px;
|
||||
--02c62812-8afe-4200-a60a-2d9bd080e86c: 12px;
|
||||
--492a9411-1702-4f94-828e-f03daf553237: 16px;
|
||||
--6f3edf1a-cab9-4568-8e22-f912fa436965: 20px;
|
||||
--b1f0e218-59f1-44f9-bc1e-eb5e50523d75: 32px;
|
||||
--407b6723-0694-4e59-8df2-b5259c1d28d5: 40px;
|
||||
--78490985-6b3f-48bb-a2ef-8187f3bfc8a6: 2px;
|
||||
--d3a49805-61f0-4926-8c06-2e1f90e2150d: #FFFFFF;
|
||||
--4fd32e58-0ffb-4053-af73-60b8aa50f3d0: #000000;
|
||||
--e99015b2-d7be-4178-bf00-1f92dc4144f1: #f6f6f6;
|
||||
--109b4a3f-df38-480a-96de-6449b87720cd: #e7e7e7;
|
||||
--9fd322cb-5399-4536-bf8e-939a194d05db: #b0b0b0;
|
||||
--fdf68224-d7d8-4f83-9fb5-314d826f9a5f: #888888;
|
||||
--f104bb44-6aab-4947-8e96-cb89cc15b033: #6d6d6d;
|
||||
--cef0aae5-9d67-4fcf-9d79-755caaaf6938: #5d5d5d;
|
||||
--32701286-8243-4e7c-ae37-942ffd9813f5: #3d3d3d;
|
||||
--892b3030-2c4b-4a72-b57c-c33abd971952: #222222;
|
||||
--f044ba99-3ee7-4ae3-ab37-c3484f7b4050: #060f11;
|
||||
--cd42601f-3954-4e4e-9e95-51692b8dcebc: #1F79FE;
|
||||
--3c270a3b-19ff-48ed-8623-eac8c6bd1ab9: #0E3C7F;
|
||||
--b2d49095-73cd-4632-b124-3d4143f7c49f: 96px;
|
||||
--17765de1-737d-44c4-9500-c97f2432130c: 45px;
|
||||
--0a048f45-5558-4f22-b33b-29b6b955b7fa: 16px;
|
||||
--dbc2c56a-8941-4906-aa62-03a88727a994: 256px;
|
||||
--691a19e9-e7be-40fa-9d40-2b3232cae0e5: #265298;
|
||||
--d734ab1e-b33f-43e6-9879-908daffd2fff: #DEE5F0;
|
||||
--dcc86df2-4204-4fa6-b466-bac1106bcc10: 400 12px/normal var(--ww-default-font-family, sans-serif);
|
||||
--1c0a338f-4787-4cce-a8dc-99578a138151: 600 14px/normal var(--ww-default-font-family, sans-serif);
|
||||
--f3f274b3-eaa3-45b2-ac7e-422b306a1081: 600 12px/normal var(--ww-default-font-family, sans-serif);
|
||||
--7a2c6440-45eb-479e-9f86-4de577618806: #94A3B8;
|
||||
--f6a3882c-c920-46b5-a2e1-cc62571f6dc0: #DFE3EA;
|
||||
--b9c43272-24c8-4c9c-8972-fcb7971df70a: #219653;
|
||||
--5fdbb3e5-87ba-41ab-8f22-b490a513ce57: #F2C94C;
|
||||
--408f05fd-a799-407c-be48-766397fe6b2b: #CE3F3F;
|
||||
--6ec84b54-630d-4e54-b129-81a2e06acca3: #2D9CDB;
|
||||
--32ceabc3-14bb-4b32-94be-1534014b007b: #6F530B;
|
||||
--3894a226-0b1a-47f3-87d5-0919525b1698: #C0C9D8;
|
||||
--456f56b7-ceeb-4213-bfab-51aef90afa2e: #1D3C6D;
|
||||
--1156a7f3-b64b-40b6-8cac-a6a97ec8a47e: #F1F6FF;
|
||||
--da7401ea-2745-4ded-bfc3-3433deaf0225: 4px;
|
||||
--04ac33fa-a2b2-4b52-b1ee-5a22c453a852: 16px;
|
||||
--55173ff0-22ba-4cff-a3f5-64a5177a27fb: 24px;
|
||||
--8c27f377-24e1-4bfd-9dcc-1ce292aad0ac: #000000;
|
||||
--ce5bf0f0-5f5f-48ca-bbe6-9b80a7adcd51: #F5F5F5;
|
||||
--59fa43c0-bc25-4a12-ab30-016ee081d1f5: #0066CC;
|
||||
--a281639f-179c-47cb-a207-46096db83047: #FFFFFF;
|
||||
--ea0b5b3b-34e9-44f4-aa05-916e2dd79cb9: 400 14px/1.5 var(--ww-default-font-family, sans-serif);
|
||||
--ff56461e-6014-404a-92d7-fe2a7225af2f: 8px;
|
||||
--9e43906f-fbf0-401f-9058-6b2b111720e0: #FFFFFF;
|
||||
--d58ed1c3-be19-48fc-b8ef-324aa5b877ef: #E5E5E5;
|
||||
--39596aad-8b06-4844-81e8-e59e8625ac01: #E5E5E5;
|
||||
--96b149fe-e4be-497d-9359-d5ab9fdfcaf3: #F9F9F9;
|
||||
--be837b2e-c4c4-4a1d-b56e-bb3151e5a7ab: 400 12px/1.4 var(--ww-default-font-family, sans-serif);
|
||||
--2249ad00-89a0-4a2e-8260-289a2dd9546f: 600 14px/1.5 var(--ww-default-font-family, sans-serif);
|
||||
--5ea17599-1545-4e47-b405-f5cbf316cc78: 8px;
|
||||
--432596aa-84ee-4be3-ba6f-679844b478e3: 16px;}
|
||||
.ww-app-theme-dark {
|
||||
--5d7b33aa-de23-4764-85d8-e78f6a1dd38a: #3b82f6;
|
||||
--894ff656-edb5-4144-a407-59ddc87882fd: #34d399;
|
||||
--31575d56-8583-47a5-aa96-6b596b95d829: #fbbf24;
|
||||
--6957fafe-8e87-4273-82c4-14a652e41237: #f87171;
|
||||
--2b70b0dd-535d-47b7-bd86-0e49ff890ca8: #1f2937;
|
||||
--f8e4acf0-714c-4d0a-ac6a-21d7c6c66a01: #374151;
|
||||
--14ccfe79-5445-4654-89dc-900792b3eabb: #f9fafb;
|
||||
--555cf332-70b3-4f5c-8d89-ed0232907506: #9ca3af;
|
||||
--5fdbb3e5-87ba-41ab-8f22-b490a513ce57: #7C5F0F;
|
||||
--8c27f377-24e1-4bfd-9dcc-1ce292aad0ac: #FFFFFF;
|
||||
--ce5bf0f0-5f5f-48ca-bbe6-9b80a7adcd51: #2A2A2A;
|
||||
--59fa43c0-bc25-4a12-ab30-016ee081d1f5: #0066CC;
|
||||
--a281639f-179c-47cb-a207-46096db83047: #FFFFFF;
|
||||
--9e43906f-fbf0-401f-9058-6b2b111720e0: #1A1A1A;
|
||||
--d58ed1c3-be19-48fc-b8ef-324aa5b877ef: #333333;
|
||||
--39596aad-8b06-4844-81e8-e59e8625ac01: #333333;
|
||||
--96b149fe-e4be-497d-9359-d5ab9fdfcaf3: #222222;}
|
||||
</style>
|
||||
<link href="https://cdn.weweb.app/public/libs/weweb-icons/css/weweb-icons.min.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="https://cdn.weweb.app/public/libs/font-awesome/5.6.3/css/fontawesome.min.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="https://cdn.weweb.app/public/libs/font-awesome/5.6.3/css/fontawesome.min.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="https://cdn.weweb.app/public/libs/font-awesome/5.6.3/css/fontawesome.min.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="https://cdn.weweb.io/public/icons/heroicons/1.0.0/style.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link href="https://cdn.weweb.io/public/icons/phosphor/1.0.0/regular/phosphor-style.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
|
||||
<link rel="alternate" hreflang="x-default" href="https://a4b1dea1-ca80-4ed8-bae6-2093dd212d85.weweb-preview.io/admin/" />
|
||||
<link rel="alternate" hreflang="ru" href="https://a4b1dea1-ca80-4ed8-bae6-2093dd212d85.weweb-preview.io/admin/" />
|
||||
<link rel="alternate" hreflang="en" href="https://a4b1dea1-ca80-4ed8-bae6-2093dd212d85.weweb-preview.io/en/admin/" />
|
||||
<style>
|
||||
input,
|
||||
textarea,
|
||||
button,
|
||||
select,
|
||||
div,
|
||||
span,
|
||||
a {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
a[href="https://go.weweb.io/preview"] {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
right: -1000px;
|
||||
}
|
||||
nav > li.hide-icon {
|
||||
display:none !important;
|
||||
}
|
||||
|
||||
.desaturated50 {
|
||||
filter: saturate(50%);
|
||||
}
|
||||
.ghost {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
</style>
|
||||
<script src="https://telegram.org/js/telegram-web-app.js?56"></script>
|
||||
|
||||
<meta name="title" content="УК Андроньевская" />
|
||||
|
||||
<meta name="description" content="Управление недвижимостью и технической эксплуатацией объектов." />
|
||||
|
||||
<meta name="image" content="/images/Asset_22.svg?_wwcv=355" />
|
||||
|
||||
<meta itemprop="name" content="УК Андроньевская" />
|
||||
|
||||
<meta itemprop="description" content="Управление недвижимостью и технической эксплуатацией объектов." />
|
||||
|
||||
<meta itemprop="image" content="/images/Asset_22.svg?_wwcv=355" />
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
||||
<meta name="twitter:title" content="УК Андроньевская" />
|
||||
|
||||
<meta name="twitter:description" content="Управление недвижимостью и технической эксплуатацией объектов." />
|
||||
|
||||
<meta name="twitter:image" content="/images/Asset_22.svg?_wwcv=355" />
|
||||
|
||||
<meta property="og:title" content="УК Андроньевская" />
|
||||
|
||||
<meta property="og:description" content="Управление недвижимостью и технической эксплуатацией объектов." />
|
||||
|
||||
<meta property="og:image" content="/images/Asset_22.svg?_wwcv=355" />
|
||||
|
||||
<meta property="og:site_name" content="УК Андроньевская" />
|
||||
|
||||
<meta property="og:type" content="website" />
|
||||
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
|
||||
<script type="module" crossorigin src="/assets/main-D6qyxymd.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-DYIv07g8.css">
|
||||
</head>
|
||||
<body style="margin: 0; font-family: var(--ww-default-font-family, unset)">
|
||||
<noscript>
|
||||
<strong>
|
||||
We're sorry but this website doesn't work properly without JavaScript enabled. Please enable it to
|
||||
continue.
|
||||
</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
.telegram-handler[data-v-782252f1]{position:relative;width:100%;min-height:20px}.debug-toggle[data-v-782252f1]{position:fixed;bottom:20px;right:20px;z-index:9998}.debug-toggle button[data-v-782252f1]{background-color:#08c;color:#fff;border:none;border-radius:4px;padding:8px 12px;font-size:14px;cursor:pointer;box-shadow:0 2px 5px #0003}.debug-toggle button[data-v-782252f1]:hover{background-color:#069}.debug-panel[data-v-782252f1]{position:fixed;top:20px;right:20px;width:350px;max-height:80vh;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:9999;overflow:hidden;display:flex;flex-direction:column}.debug-panel .debug-header[data-v-782252f1]{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background-color:#08c;color:#fff}.debug-panel .debug-header h3[data-v-782252f1]{margin:0;font-size:16px;font-weight:500}.debug-panel .debug-header .close-btn[data-v-782252f1]{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.debug-panel .debug-header .close-btn[data-v-782252f1]:hover{background-color:#ffffff1a;border-radius:50%}.debug-panel .debug-content[data-v-782252f1]{padding:16px;overflow-y:auto;max-height:calc(80vh - 50px)}.debug-panel .debug-content .debug-section[data-v-782252f1]{margin-bottom:20px}.debug-panel .debug-content .debug-section h4[data-v-782252f1]{margin:0 0 8px;font-size:14px;font-weight:500;color:#333}.debug-panel .debug-content .debug-section p[data-v-782252f1]{margin:4px 0;font-size:13px}.debug-panel .debug-content .debug-section .features-grid[data-v-782252f1]{display:grid;grid-template-columns:1fr 1fr;gap:8px}.debug-panel .debug-content .debug-section .features-grid .feature-item[data-v-782252f1]{display:flex;justify-content:space-between;font-size:13px}.debug-panel .debug-content .debug-section .features-grid .feature-item .available[data-v-782252f1]{color:#28a745}.debug-panel .debug-content .debug-section .features-grid .feature-item .unavailable[data-v-782252f1]{color:#dc3545}.debug-panel .debug-content .debug-section .last-event[data-v-782252f1]{background-color:#f8f9fa;padding:8px;border-radius:4px}.debug-panel .debug-content .debug-section .last-event pre[data-v-782252f1]{margin:8px 0 0;white-space:pre-wrap;font-size:12px;background-color:#f1f1f1;padding:8px;border-radius:4px;overflow-x:auto}.debug-panel .debug-content .debug-section pre[data-v-782252f1]{margin:0;white-space:pre-wrap;font-size:12px;background-color:#f8f9fa;padding:8px;border-radius:4px;overflow-x:auto}.leaflet-map-container[data-v-41567664]{width:100%;height:100%;min-height:400px;position:relative}.leaflet-map-container .map-element[data-v-41567664]{width:100%;height:100%;min-height:400px}[data-v-41567664] .leaflet-popup-content{margin:8px 12px;line-height:1.4}[data-v-41567664] .leaflet-popup-content-wrapper{border-radius:4px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c}from"./wwElement-CIffNYMW.js";import{e as a,a as b,b as _,c as o,d,f as t,g as f}from"./wwElement-DQHs103p.js";import{e as n}from"./wwElement-exvplXEl.js";import{e as m,a as w}from"./wwElement-CFx5kM1c.js";import{e as p}from"./wwElement-DWiiT5l6.js";import{e as s}from"./wwElement-BEVi-Tbw.js";import{e as r}from"./wwElement-CpfxDO-s.js";import{e as j,a as l,b as i,s as g}from"./wwSection-vUVf7uFY.js";import{e as h,a as k,b as q,c as u}from"./wwElement-CTd_QNq_.js";import{e as v}from"./wwElement-Dpq-6M0l.js";import{e as x}from"./wwElement-C56uw5ge.js";import{s as y}from"./wwSection-CQpGyXbr.js";e.component("wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7",c);e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",a);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",n);e.component("wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3",m);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",p);e.component("wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298",s);e.component("wwobject-57831abf-83ad-49ad-ba97-3bd30b035710",r);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",b);e.component("wwobject-61825dc3-96de-46e1-a8c4-b091289d8448",j);e.component("wwobject-6f8796b1-8273-498d-95fc-7013b7c63214",h);e.component("wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450",v);e.component("wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15",k);e.component("wwobject-84f5dd60-5f67-403a-ad92-bfd62e90ccb3",l);e.component("wwobject-96f754da-593a-4c00-8309-517daa09f5b0",w);e.component("wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d",q);e.component("wwobject-98564d3b-2371-4cc4-92bc-95ca77a94f6f",i);e.component("wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a",u);e.component("wwobject-aa27b26f-0686-4c29-98c5-8217044045b7",x);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",_);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",o);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",d);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",t);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",f);e.component("section-99586bd3-2b15-4d6b-a025-6a50d07ca845",y);e.component("section-ef0ecc71-9a59-4eab-94b0-b36d66d3d61d",g);
|
||||
@@ -0,0 +1 @@
|
||||
.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.interactive-map[data-v-6c0309e5]{position:relative;width:100%;height:400px;min-height:200px}.interactive-map .map-container[data-v-6c0309e5]{width:100%;height:100%}.interactive-map .popup-content-wrapper[data-v-6c0309e5]{display:none}[data-v-6c0309e5] .leaflet-popup-content{min-width:150px}[data-v-6c0309e5] .leaflet-popup-content .default-popup{padding:5px}[data-v-6c0309e5] .leaflet-popup-content .default-popup h4{margin:0 0 5px;font-size:16px;font-weight:700}[data-v-6c0309e5] .leaflet-popup-content .default-popup p{margin:0;font-size:14px}[data-v-6c0309e5] .leaflet-popup-content .custom-div-icon,[data-v-6c0309e5] .leaflet-popup-content .custom-div-icon .marker-icon{display:flex;align-items:center;justify-content:center}[data-v-6c0309e5] .leaflet-popup-content .custom-div-icon .marker-icon svg{width:20px;height:20px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c}from"./wwElement-CIffNYMW.js";import{e as a,a as b,b as _,c as d,d as o,f as t,g as m}from"./wwElement-DQHs103p.js";import{e as n}from"./wwElement-exvplXEl.js";import{e as f}from"./wwElement-DWiiT5l6.js";import{e as w}from"./wwElement-BEVi-Tbw.js";import{s as p}from"./wwSection-CQpGyXbr.js";e.component("wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7",c);e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",a);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",n);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",f);e.component("wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298",w);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",b);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",_);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",d);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",o);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",t);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",m);e.component("section-99586bd3-2b15-4d6b-a025-6a50d07ca845",p);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.dropdown-with-search[data-v-9297e891]{position:relative;width:100%}.dropdown-with-search .dropdown-trigger[data-v-9297e891]{position:relative;display:flex;align-items:center;width:100%;cursor:pointer;transition:border-color .2s;border-width:1px;border-style:solid;background:#fff}.dropdown-with-search .dropdown-trigger[data-v-9297e891]:hover{border-color:#aaa}.dropdown-with-search .dropdown-trigger.is-active[data-v-9297e891]{border-color:var(--b21ee978)}.dropdown-with-search .dropdown-trigger .dropdown-value[data-v-9297e891]{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:calc((var(--e9f2cb7a)) + 12px)}.dropdown-with-search .dropdown-trigger .dropdown-icon[data-v-9297e891]{position:absolute;top:50%;right:8px;transform:translateY(-50%);transition:transform .2s;pointer-events:none}.dropdown-with-search .dropdown-trigger .dropdown-icon svg[data-v-9297e891]{width:100%;height:100%}.dropdown-with-search.is-open .dropdown-icon[data-v-9297e891]{transform:translateY(-50%) rotate(180deg)}.dropdown-with-search .dropdown-menu[data-v-9297e891]{position:absolute;top:calc(100% + 4px);left:0;width:100%;max-height:300px;z-index:1000;display:flex;flex-direction:column;border-width:1px;border-style:solid;background:#fff;overflow:hidden}.dropdown-with-search .dropdown-search[data-v-9297e891]{padding:8px;border-bottom-width:1px;border-bottom-style:solid}.dropdown-with-search .dropdown-search input[data-v-9297e891]{width:100%;border-width:1px;border-style:solid;padding:8px;font-size:inherit}.dropdown-with-search .dropdown-search input[data-v-9297e891]:focus{outline:none}.dropdown-with-search .dropdown-options[data-v-9297e891]{overflow-y:auto;max-height:240px}.dropdown-with-search .dropdown-option[data-v-9297e891]{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;transition:background-color .15s}.dropdown-with-search .dropdown-option .option-icon[data-v-9297e891]{margin-right:8px;width:16px;height:16px;display:flex;align-items:center;justify-content:center}.dropdown-with-search .dropdown-option .option-icon[data-v-9297e891] svg{width:100%;height:100%;fill:currentColor}.dropdown-with-search .dropdown-option span[data-v-9297e891]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-with-search .dropdown-option.is-selected[data-v-9297e891]{background-color:var(--0dd0ef27);color:var(--56611a97)}.dropdown-with-search .dropdown-option[data-v-9297e891]:hover:not(.is-selected){background-color:var(--1146aa2b)}.dropdown-with-search .dropdown-no-results[data-v-9297e891]{padding:12px;text-align:center;font-style:italic;color:#999}.dropdown-with-search.is-disabled[data-v-9297e891]{opacity:.6;pointer-events:none}
|
||||
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c}from"./wwElement-CIffNYMW.js";import{e as a,a as b,b as _,c as o,d,f as t,g as f}from"./wwElement-DQHs103p.js";import{e as n}from"./wwElement-exvplXEl.js";import{e as m,a as w}from"./wwElement-CFx5kM1c.js";import{e as p}from"./wwElement-DWiiT5l6.js";import{e as s}from"./wwElement-BEVi-Tbw.js";import{e as r}from"./wwElement-CpfxDO-s.js";import{e as j,a as l,b as i,s as g}from"./wwSection-vUVf7uFY.js";import{e as h,a as k,b as q,c as u}from"./wwElement-CTd_QNq_.js";import{e as v}from"./wwElement-Dpq-6M0l.js";import{e as x}from"./wwElement-C56uw5ge.js";import{s as y}from"./wwSection-CQpGyXbr.js";e.component("wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7",c);e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",a);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",n);e.component("wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3",m);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",p);e.component("wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298",s);e.component("wwobject-57831abf-83ad-49ad-ba97-3bd30b035710",r);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",b);e.component("wwobject-61825dc3-96de-46e1-a8c4-b091289d8448",j);e.component("wwobject-6f8796b1-8273-498d-95fc-7013b7c63214",h);e.component("wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450",v);e.component("wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15",k);e.component("wwobject-84f5dd60-5f67-403a-ad92-bfd62e90ccb3",l);e.component("wwobject-96f754da-593a-4c00-8309-517daa09f5b0",w);e.component("wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d",q);e.component("wwobject-98564d3b-2371-4cc4-92bc-95ca77a94f6f",i);e.component("wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a",u);e.component("wwobject-aa27b26f-0686-4c29-98c5-8217044045b7",x);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",_);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",o);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",d);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",t);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",f);e.component("section-99586bd3-2b15-4d6b-a025-6a50d07ca845",y);e.component("section-ef0ecc71-9a59-4eab-94b0-b36d66d3d61d",g);
|
||||
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c,a,b,c as _,d as o,f as d,g as t}from"./wwElement-DQHs103p.js";import{e as f}from"./wwElement-exvplXEl.js";import{e as m,a as n}from"./wwElement-CFx5kM1c.js";import{e as w}from"./wwElement-DWiiT5l6.js";import{e as p}from"./wwElement-CpfxDO-s.js";import{e as s,a as j,b as l,c as r}from"./wwElement-CTd_QNq_.js";import{e as i}from"./wwElement-Dpq-6M0l.js";import{e as g}from"./wwElement-C56uw5ge.js";e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",c);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",f);e.component("wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3",m);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",w);e.component("wwobject-57831abf-83ad-49ad-ba97-3bd30b035710",p);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",a);e.component("wwobject-6f8796b1-8273-498d-95fc-7013b7c63214",s);e.component("wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450",i);e.component("wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15",j);e.component("wwobject-96f754da-593a-4c00-8309-517daa09f5b0",n);e.component("wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d",l);e.component("wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a",r);e.component("wwobject-aa27b26f-0686-4c29-98c5-8217044045b7",g);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",b);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",_);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",o);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",d);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",t);
|
||||
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c,a,b,c as _,d,f as o,g as t}from"./wwElement-DQHs103p.js";import{e as n}from"./wwElement-DWiiT5l6.js";import{s as m}from"./wwSection-CQpGyXbr.js";e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",c);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",n);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",a);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",b);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",_);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",d);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",o);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",t);e.component("section-99586bd3-2b15-4d6b-a025-6a50d07ca845",m);
|
||||
1
site/assets/CollectionEdit-Bl8J7CUG.css
Normal file
1
site/assets/CollectionEdit-Bl8J7CUG.css
Normal file
@@ -0,0 +1 @@
|
||||
.error-message[data-v-29c30a2c]{color:var(--ww-color-yellow-500)}.error-message[data-v-29c30a2c]>*{display:inline}
|
||||
4
site/assets/CollectionEdit-OANg1Mi4.js
Normal file
4
site/assets/CollectionEdit-OANg1Mi4.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import{_,i as r,c as o,o as d,j as s,x as u,a as m,z as w,b as g,a5 as c,F as P}from"./main-D6qyxymd.js";const k={props:{plugin:{type:Object,required:!0},collection:{type:Object,required:!0},config:{type:Object,required:!0}},emits:["update:config"],data(){return{isLoading:!1,definitions:{},fieldsModeChoices:[{label:"Guided",value:"guided",default:!0},{label:"Advanced",value:"advanced"}]}},computed:{database(){return{table:null,fieldsMode:"guided",dataFields:[],dataFieldsAdvanced:"",...this.config}},tablesOptions(){return Object.keys(this.definitions).map(t=>({label:t,value:t})).sort((t,e)=>t.label.localeCompare(e.label))},primaryProperties(){return this.definitions[this.database.table]?Object.keys(this.definitions[this.database.table].properties).filter(t=>(this.definitions[this.database.table].properties[t].description||"").includes("<pk/>")).map(t=>({name:t})):[]},tableProperties(){return this.definitions[this.database.table]?Object.keys(this.definitions[this.database.table].properties).map(t=>({name:t})):[]},tablePropertiesOptions(){return this.tableProperties.map(t=>({label:t.name+(this.primaryProperties.some(e=>e.name===t.name)?"#primary":""),value:t.name}))},isRealtime(){return this.plugin.settings.publicData.realtimeTables[this.database.table]},selectedFields(){return this.database.fieldsMode==="guided"?this.database.dataFields:this.database.dataFieldsAdvanced.split(",").map(t=>{const e=t.replace(`
|
||||
`,"").trim();return e.includes(":")?e.match(/:[^\(]+/g)[0].split(":")[1].trim():e})},isFieldsIncorrect(){return this.tableProperties.length&&this.selectedFields.some(t=>!this.tableProperties.some(e=>e.name===t))},isAdvancedFieldsInvalid(){return this.database.fieldsMode==="advanced"&&this.database.dataFieldsAdvanced.trim().endsWith(",")},isPrimaryRequired(){return this.database.fieldsMode==="guided"&&!this.selectedFields.length?!1:this.isRealtime&&this.primaryProperties.some(t=>!this.selectedFields.some(e=>e===t.name))}},watch:{"database.table"(){this.refreshSchema()},isFieldsIncorrect(t){t&&this.database.fieldsMode==="guided"&&this.refreshSchema()}},mounted(){var t,e;this.definitions=((e=(t=this.plugin)==null?void 0:t.doc)==null?void 0:e.definitions)||{}},methods:{async fetchTables(){var t,e;try{this.isLoading=!0,await this.plugin.fetchDoc(),this.definitions=((e=(t=this.plugin)==null?void 0:t.doc)==null?void 0:e.definitions)||{},this.refreshSchema()}catch(l){wwLib.wwLog.error(l)}finally{this.isLoading=!1}},refreshSchema(){const t=this.primaryProperties.map(l=>l.name),e=this.database.dataFields.filter(l=>this.tableProperties.some(p=>p.name===l));this.$emit("update:config",{...this.database,primaryData:t,dataFields:e})},setProp(t,e){this.$emit("update:config",{...this.database,[t]:e})}}},I={class:"flex items-center"},E={key:2,class:"error-message mt-2"},M={key:3,class:"error-message mt-2"},O={key:4,class:"error-message mt-2"};function q(t,e,l,p,b,a){const v=r("wwEditorInputTextSelect"),n=r("wwEditorIcon"),h=r("wwEditorFormRow"),y=r("wwEditorInputRadio"),f=r("wwEditorInput"),F=r("wwLoader");return d(),o(P,null,[s(h,{label:"Table",required:""},{default:w(()=>[g("div",I,[s(v,{class:"w-100",placeholder:"Select a table",required:"","model-value":a.database.table,options:a.tablesOptions,"onUpdate:modelValue":e[0]||(e[0]=i=>a.setProp("table",i))},null,8,["model-value","options"]),g("button",{type:"button",class:"ww-editor-button -primary -small -icon ml-2",onClick:e[1]||(e[1]=(...i)=>a.fetchTables&&a.fetchTables(...i))},[s(n,{name:"refresh",medium:""})])])]),_:1}),a.database.table?(d(),u(h,{key:0,label:"Fields",required:""},{default:w(()=>[s(y,{class:"mb-2","model-value":a.database.fieldsMode,choices:b.fieldsModeChoices,small:"","onUpdate:modelValue":e[2]||(e[2]=i=>a.setProp("fieldsMode",i))},null,8,["model-value","choices"]),a.database.fieldsMode==="guided"?(d(),u(f,{key:0,type:"select",multiple:"",options:a.tablePropertiesOptions,"model-value":a.database.dataFields,placeholder:"All fields","onUpdate:modelValue":e[3]||(e[3]=i=>a.setProp("dataFields",i))},null,8,["options","model-value"])):(d(),u(f,{key:1,type:"string","model-value":a.database.dataFieldsAdvanced,placeholder:`id,
|
||||
supplier:supplier_id ( name ),
|
||||
purchaser:purchaser_id ( name )`,"onUpdate:modelValue":e[4]||(e[4]=i=>a.setProp("dataFieldsAdvanced",i))},null,8,["model-value"])),a.isPrimaryRequired?(d(),o("div",E,[s(n,{name:"warning",small:""}),e[5]||(e[5]=c(" You must include all primary properties when using realtime table "))])):m("",!0),a.isAdvancedFieldsInvalid?(d(),o("div",M,[s(n,{name:"warning",small:""}),e[6]||(e[6]=c(" You have an invalid comma at the end of your query "))])):a.isFieldsIncorrect?(d(),o("div",O,[s(n,{name:"warning",small:""}),e[7]||(e[7]=c(" You have invalid fields in your advanced selection "))])):m("",!0)]),_:1})):m("",!0),s(F,{loading:b.isLoading},null,8,["loading"])],64)}const A=_(k,[["render",q],["__scopeId","data-v-29c30a2c"]]);export{A as default};
|
||||
1
site/assets/CollectionSummary-D5XahOIp.css
Normal file
1
site/assets/CollectionSummary-D5XahOIp.css
Normal file
@@ -0,0 +1 @@
|
||||
.supabase-collection-summary[data-v-20993366]{display:grid;grid-template-columns:0fr 1fr;column-gap:var(--ww-spacing-02);row-gap:var(--ww-spacing-02)}
|
||||
1
site/assets/CollectionSummary-aniINvmv.js
Normal file
1
site/assets/CollectionSummary-aniINvmv.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as o,c as a,o as c,b as t,t as n}from"./main-D6qyxymd.js";const r={props:{config:{type:Object,required:!0}}},i={class:"supabase-collection-summary"},l={class:"body-sm content-secondary truncate"};function d(p,e,s,_,m,u){return c(),a("div",i,[e[0]||(e[0]=t("div",{class:"label-sm content-primary"},"Table",-1)),t("div",l,n(s.config.table||"-"),1)])}const b=o(r,[["render",d],["__scopeId","data-v-20993366"]]);export{b as default};
|
||||
BIN
site/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2
Normal file
BIN
site/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_AMS-Regular-DMm9YOAa.woff
Normal file
BIN
site/assets/KaTeX_AMS-Regular-DMm9YOAa.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_AMS-Regular-DRggAlZN.ttf
Normal file
BIN
site/assets/KaTeX_AMS-Regular-DRggAlZN.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf
Normal file
BIN
site/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff
Normal file
BIN
site/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2
Normal file
BIN
site/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff
Normal file
BIN
site/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2
Normal file
BIN
site/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf
Normal file
BIN
site/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf
Normal file
BIN
site/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff
Normal file
BIN
site/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2
Normal file
BIN
site/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Regular-CB_wures.ttf
Normal file
BIN
site/assets/KaTeX_Fraktur-Regular-CB_wures.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2
Normal file
BIN
site/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff
Normal file
BIN
site/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Bold-Cx986IdX.woff2
Normal file
BIN
site/assets/KaTeX_Main-Bold-Cx986IdX.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Bold-Jm3AIy58.woff
Normal file
BIN
site/assets/KaTeX_Main-Bold-Jm3AIy58.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Bold-waoOVXN0.ttf
Normal file
BIN
site/assets/KaTeX_Main-Bold-waoOVXN0.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2
Normal file
BIN
site/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf
Normal file
BIN
site/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff
Normal file
BIN
site/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Italic-3WenGoN9.ttf
Normal file
BIN
site/assets/KaTeX_Main-Italic-3WenGoN9.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Italic-BMLOBm91.woff
Normal file
BIN
site/assets/KaTeX_Main-Italic-BMLOBm91.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2
Normal file
BIN
site/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Regular-B22Nviop.woff2
Normal file
BIN
site/assets/KaTeX_Main-Regular-B22Nviop.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Regular-Dr94JaBh.woff
Normal file
BIN
site/assets/KaTeX_Main-Regular-Dr94JaBh.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Main-Regular-ypZvNtVU.ttf
Normal file
BIN
site/assets/KaTeX_Main-Regular-ypZvNtVU.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf
Normal file
BIN
site/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2
Normal file
BIN
site/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff
Normal file
BIN
site/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-Italic-DA0__PXp.woff
Normal file
BIN
site/assets/KaTeX_Math-Italic-DA0__PXp.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-Italic-flOr_0UB.ttf
Normal file
BIN
site/assets/KaTeX_Math-Italic-flOr_0UB.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Math-Italic-t53AETM-.woff2
Normal file
BIN
site/assets/KaTeX_Math-Italic-t53AETM-.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf
Normal file
BIN
site/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2
Normal file
BIN
site/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff
Normal file
BIN
site/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2
Normal file
BIN
site/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff
Normal file
BIN
site/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf
Normal file
BIN
site/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf
Normal file
BIN
site/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff
Normal file
BIN
site/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2
Normal file
BIN
site/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Script-Regular-C5JkGWo-.ttf
Normal file
BIN
site/assets/KaTeX_Script-Regular-C5JkGWo-.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Script-Regular-D3wIWfF6.woff2
Normal file
BIN
site/assets/KaTeX_Script-Regular-D3wIWfF6.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Script-Regular-D5yQViql.woff
Normal file
BIN
site/assets/KaTeX_Script-Regular-D5yQViql.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size1-Regular-C195tn64.woff
Normal file
BIN
site/assets/KaTeX_Size1-Regular-C195tn64.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf
Normal file
BIN
site/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2
Normal file
BIN
site/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf
Normal file
BIN
site/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2
Normal file
BIN
site/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size2-Regular-oD1tc_U0.woff
Normal file
BIN
site/assets/KaTeX_Size2-Regular-oD1tc_U0.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size3-Regular-CTq5MqoE.woff
Normal file
BIN
site/assets/KaTeX_Size3-Regular-CTq5MqoE.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf
Normal file
BIN
site/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size4-Regular-BF-4gkZK.woff
Normal file
BIN
site/assets/KaTeX_Size4-Regular-BF-4gkZK.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size4-Regular-DWFBv043.ttf
Normal file
BIN
site/assets/KaTeX_Size4-Regular-DWFBv043.ttf
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2
Normal file
BIN
site/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff
Normal file
BIN
site/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2
Normal file
BIN
site/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2
Normal file
Binary file not shown.
BIN
site/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf
Normal file
BIN
site/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf
Normal file
Binary file not shown.
1
site/assets/SettingsEdit-4jneBWBh.js
Normal file
1
site/assets/SettingsEdit-4jneBWBh.js
Normal file
File diff suppressed because one or more lines are too long
1
site/assets/SettingsEdit-BgtTacc5.css
Normal file
1
site/assets/SettingsEdit-BgtTacc5.css
Normal file
@@ -0,0 +1 @@
|
||||
.npm-settings-edit[data-v-10aa6ac3]{display:flex;flex-direction:column}.npm-settings-edit__link[data-v-10aa6ac3]{color:var(--ww-color-content-brand);margin-left:var(--ww-spacing-02)}.npm-settings-edit__row[data-v-10aa6ac3]{display:flex;align-items:center}.npm-settings-edit__radio-label[data-v-10aa6ac3]{margin-left:var(--ww-spacing-02)}.loader[data-v-10aa6ac3]{position:relative;margin-top:var(--ww-spacing-02)}.error[data-v-10aa6ac3]{background-color:var(--ww-color-bg-warning-secondary);border:1px solid var(--ww-color-border-warning-secondary);color:var(--ww-color-content-warning);padding:var(--ww-spacing-02);border-radius:var(--ww-border-radius-02)}.error .try-again[data-v-10aa6ac3]{cursor:pointer;text-decoration:underline}.ww-package-preview[data-v-10aa6ac3]{--default-padding: 1px;position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;height:100%;background-color:var(--ww-color-bg-secondary);border-radius:var(--ww-border-radius-02);border:1px solid var(--ww-color-border);overflow:hidden;transition:border-color .3s ease,background-color .3s ease;will-change:border-color,background-color}.ww-package-preview.-selected[data-v-10aa6ac3]:hover,.ww-package-preview.-selected[data-v-10aa6ac3]{border-color:var(--ww-color-border-success)}.ww-package-preview[data-v-10aa6ac3]:hover{border:1px solid var(--ww-color-border-brand)}.m-auto-left[data-v-10aa6ac3]{margin-left:auto}
|
||||
1
site/assets/SettingsEdit-DL4PdK4A.css
Normal file
1
site/assets/SettingsEdit-DL4PdK4A.css
Normal file
@@ -0,0 +1 @@
|
||||
.text-error[data-v-427d040e]{color:var(--ww-color-red-500)}
|
||||
1
site/assets/SettingsEdit-DgjPeKUA.js
Normal file
1
site/assets/SettingsEdit-DgjPeKUA.js
Normal file
File diff suppressed because one or more lines are too long
1
site/assets/SettingsEdit-OI1-5GwB.js
Normal file
1
site/assets/SettingsEdit-OI1-5GwB.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as T,i as o,c as h,o as c,b as r,j as u,a5 as _,z as d,F as p,r as y,t as D,ad as S}from"./main-D6qyxymd.js";const R={props:{plugin:{type:Object,required:!0},settings:{type:Object,required:!0}},emits:["update:settings"],data(){return{isLoading:!1,definitions:{},panelOpen:!1}},computed:{tablesOptions(){return Object.keys(this.definitions).map(e=>({label:e,value:e}))},realtimeTables(){var e;return((e=this.settings.publicData)==null?void 0:e.realtimeTables)||{}}},watch:{"plugin.doc.definitions":{handler(e){this.applyDefinitions(e)},immediate:!0},panelOpen(e){e&&this.queueDocRefresh(200)},settings:{handler(){this.scheduleConfigWatch()},deep:!0}},mounted(){var e,t,i;(e=this.settings.publicData)!=null&&e.realtimeTables||this.changeRealtimeTables({}),this.applyDefinitions(((i=(t=this.plugin)==null?void 0:t.doc)==null?void 0:i.definitions)||{}),this.scheduleConfigWatch(),this.queueDocRefresh()},beforeUnmount(){this._refreshTimeout&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)},methods:{scheduleConfigWatch(){const e=S("supabase"),t={projectUrl:(e==null?void 0:e.projectUrl)||null,baseProjectRef:(e==null?void 0:e.baseProjectRef)||null,branch:(e==null?void 0:e.branch)||null,branchSlug:(e==null?void 0:e.branchSlug)||null},i=JSON.stringify(t);if(this._lastConfigSnapshot===i)return;const s=this._lastConfigSnapshot?JSON.parse(this._lastConfigSnapshot):null;this._lastConfigSnapshot=i,s&&this.queueDocRefresh(200)},handleTogglePanel(e){this.panelOpen=e},queueDocRefresh(e=1e3){this._refreshTimeout&&clearTimeout(this._refreshTimeout),this._refreshTimeout=setTimeout(async()=>{var t,i;try{this.isLoading=!0,await this.plugin.fetchDoc(),this.applyDefinitions(((i=(t=this.plugin)==null?void 0:t.doc)==null?void 0:i.definitions)||{})}catch(s){wwLib.wwLog.error(s)}finally{this.isLoading=!1}},1e3)},applyDefinitions(e={}){const t=e||{};this.definitions=t;const i=new Set(Object.keys(t)),s={...this.realtimeTables};let l=!1;for(const a of Object.keys(s))i.has(a)||(delete s[a],l=!0);l&&this.changeRealtimeTables(s)},async fetchTables(){var e,t;try{this.isLoading=!0,await this.plugin.fetchDoc(),this.definitions=((t=(e=this.plugin)==null?void 0:e.doc)==null?void 0:t.definitions)||{}}catch(i){wwLib.wwLog.error(i)}finally{this.isLoading=!1}},updateReatimeTable(e,t){const i={...this.realtimeTables};i[e]=t;for(const s in i)this.tablesOptions.find(l=>l.value===s)||delete i[s];this.changeRealtimeTables(i)},changeRealtimeTables(e){this.$emit("update:settings",{...this.settings,publicData:{...this.settings.publicData,realtimeTables:e}}),this.subscribeTables(e)},subscribeTables(e){this.settings.publicData.realtimeTables&&this.plugin.subscribeTables(e)}}},L={class:"mb-3 label-sm text-blue-500 flex items-center"},O={class:"label-2 ml-2"};function k(e,t,i,s,l,a){const m=o("wwEditorIcon"),b=o("wwEditorInputSwitch"),f=o("wwEditorFormRow"),g=o("wwLoader");return c(),h(p,null,[r("div",L,[u(m,{class:"mr-1",name:"information-circle",small:""}),t[1]||(t[1]=_(" This feature allow your collections to be updated in realtime automcatically. You must enable realtime on your tables both in WeWeb and in Supabase in order to use this feature. "))]),u(f,{label:"Enable realtime table",onTogglePanel:a.handleTogglePanel},{"append-label":d(()=>[t[2]||(t[2]=r("a",{class:"ww-editor-link ml-2",href:"https://supabase.com/docs/guides/api#realtime-api-1",target:"_blank"}," Find it here ",-1)),r("button",{type:"button",class:"ww-editor-button -primary -small ml-auto",onClick:t[0]||(t[0]=(...n)=>a.fetchTables&&a.fetchTables(...n))},"refresh")]),default:d(()=>[(c(!0),h(p,null,y(a.tablesOptions,n=>(c(),h("div",{key:n.value,class:"flex items-center mb-2"},[u(b,{modelValue:a.realtimeTables[n.value],"onUpdate:modelValue":w=>a.updateReatimeTable(n.value,w),small:""},null,8,["modelValue","onUpdate:modelValue"]),r("div",O,D(n.label),1)]))),128))]),_:1},8,["onTogglePanel"]),u(g,{loading:l.isLoading},null,8,["loading"])],64)}const C=T(R,[["render",k]]);export{C as default};
|
||||
1
site/assets/SettingsEditMultiEnv-BxY50KEf.css
Normal file
1
site/assets/SettingsEditMultiEnv-BxY50KEf.css
Normal file
@@ -0,0 +1 @@
|
||||
.ww-tabs-header[data-v-2d8a46ce]{display:flex;border-bottom:2px solid var(--ww-color-border);gap:0;width:100%}.ww-tab-item[data-v-2d8a46ce]{position:relative;padding:var(--ww-spacing-02) var(--ww-spacing-04);cursor:pointer;border:none;background:transparent;color:var(--ww-color-content-secondary);font-weight:var(--text-medium);transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:var(--ww-spacing-01);border-bottom:2px solid transparent;margin-bottom:-2px;flex:1;min-width:0}.ww-tab-item[data-v-2d8a46ce]:hover{color:var(--ww-color-content-primary);background:var(--ww-color-bg-hover)}.ww-tab-item.ww-tab-active[data-v-2d8a46ce]{color:var(--ww-color-content-brand);border-bottom-color:var(--ww-color-border-brand);background:transparent}.ww-tab-label[data-v-2d8a46ce]{font-size:var(--text-sm-font-size)}.ww-tab-optional[data-v-2d8a46ce]{font-size:var(--text-xs-font-size);color:var(--ww-color-content-tertiary);background:var(--ww-color-bg-tertiary);padding:2px 6px;border-radius:var(--ww-border-radius-01)}.ww-tab-active .ww-tab-optional[data-v-2d8a46ce]{background:var(--ww-color-bg-brand-secondary);color:var(--ww-color-content-brand)}.environment-tabs-container[data-v-2d8a46ce]{margin-bottom:var(--ww-spacing-05)}
|
||||
1
site/assets/SettingsEditMultiEnv-CP5uamY6.js
Normal file
1
site/assets/SettingsEditMultiEnv-CP5uamY6.js
Normal file
File diff suppressed because one or more lines are too long
1
site/assets/SettingsEditMultiEnv-Ctpe8__a.css
Normal file
1
site/assets/SettingsEditMultiEnv-Ctpe8__a.css
Normal file
@@ -0,0 +1 @@
|
||||
.ww-tabs-header[data-v-d58feacd]{display:flex;border-bottom:2px solid var(--ww-color-border);gap:0;width:100%}.ww-tab-item[data-v-d58feacd]{position:relative;padding:var(--ww-spacing-02) var(--ww-spacing-04);cursor:pointer;border:none;background:transparent;color:var(--ww-color-content-secondary);font-weight:var(--text-medium);transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:var(--ww-spacing-01);border-bottom:2px solid transparent;margin-bottom:-2px;flex:1;min-width:0}.ww-tab-item[data-v-d58feacd]:hover{color:var(--ww-color-content-primary);background:var(--ww-color-bg-hover)}.ww-tab-item.ww-tab-active[data-v-d58feacd]{color:var(--ww-color-content-brand);border-bottom-color:var(--ww-color-border-brand);background:transparent}.ww-tab-label[data-v-d58feacd]{font-size:var(--text-sm-font-size)}.ww-tab-optional[data-v-d58feacd]{font-size:var(--text-xs-font-size);color:var(--ww-color-content-tertiary);background:var(--ww-color-bg-tertiary);padding:2px 6px;border-radius:var(--ww-border-radius-01)}.ww-tab-active .ww-tab-optional[data-v-d58feacd]{background:var(--ww-color-bg-brand-secondary);color:var(--ww-color-content-brand)}.environment-tabs-container[data-v-d58feacd]{margin-bottom:var(--ww-spacing-05)}
|
||||
1
site/assets/SettingsEditMultiEnv-DAS36xri.js
Normal file
1
site/assets/SettingsEditMultiEnv-DAS36xri.js
Normal file
File diff suppressed because one or more lines are too long
1
site/assets/SettingsSummary-3bKCQHkD.js
Normal file
1
site/assets/SettingsSummary-3bKCQHkD.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as i,i as n,c as r,o as d,j as e,z as c,b as t,t as l,F as _}from"./main-D6qyxymd.js";const m={props:{settings:{type:Object,required:!0}}},p={class:"flex items-center body-2 mb-2"},b={class:"text-ellipsis"},u={class:"flex items-center body-2"},w={class:"text-ellipsis"};function f(x,g,s,h,v,y){const o=n("wwEditorIcon"),a=n("wwEditorFormRow");return d(),r(_,null,[e(a,{label:"Role table"},{default:c(()=>[t("div",p,[e(o,{name:"data",class:"mr-2"}),t("div",b,l(s.settings.publicData.roleTable||"none"),1)])]),_:1}),e(a,{label:"User Role table"},{default:c(()=>[t("div",u,[e(o,{name:"data",class:"mr-2"}),t("div",w,l(s.settings.publicData.userRoleTable||"none"),1)])]),_:1})],64)}const R=i(m,[["render",f],["__scopeId","data-v-54dac623"]]);export{R as default};
|
||||
1
site/assets/SettingsSummary-Bc3GgLhi.css
Normal file
1
site/assets/SettingsSummary-Bc3GgLhi.css
Normal file
@@ -0,0 +1 @@
|
||||
.text-ellipsis[data-v-54dac623]{overflow:hidden;text-overflow:ellipsis}
|
||||
1
site/assets/SettingsSummary-BpCVcAIe.js
Normal file
1
site/assets/SettingsSummary-BpCVcAIe.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as g,i as y,c as a,o as c,F as f,r as x,b as s,a as b,t as n,j as r,n as h}from"./main-D6qyxymd.js";const D={props:{settings:{type:Object,required:!0}},computed:{isMultiEnv(){var e;return!!((e=this.settings.publicData)!=null&&e.environments)},activeEnvironments(){var i,d,m;if(!this.isMultiEnv)return{};const e={},t=this.settings.publicData.environments;return(i=t.production)!=null&&i.projectUrl&&(e.production=t.production),(d=t.staging)!=null&&d.projectUrl&&(e.staging=t.staging),(m=t.editor)!=null&&m.projectUrl&&(e.editor=t.editor),e}},methods:{getEnvLabel(e){return{production:"Production",staging:"Staging",editor:"Editor"}[e]||e}}},k={key:0},E={class:"label-sm content-secondary mb-1"},j={class:"flex items-center body-2 mb-1"},S={class:"text-ellipsis"},U={key:0,class:"flex items-center body-2 mb-1"},w={class:"text-ellipsis"},B={key:1,class:"flex items-center body-2 mb-1"},C={class:"text-ellipsis"},I={key:1},K={class:"flex items-center body-2 mb-2"},L={class:"text-ellipsis"},M={key:0,class:"flex items-center body-2 mb-2"},V={class:"text-ellipsis"},F={class:"flex items-center body-2 mb-2"},N={class:"text-ellipsis"},q={class:"flex items-center body-2"};function z(e,t,i,d,m,u){var _,v;const o=y("wwEditorIcon");return u.isMultiEnv?(c(),a("div",k,[(c(!0),a(f,null,x(u.activeEnvironments,(l,p)=>(c(),a("div",{key:p,class:"mb-3"},[s("div",E,n(u.getEnvLabel(p)),1),s("div",j,[r(o,{name:"database",class:"mr-2",small:""}),s("div",S,n(l.projectUrl),1)]),l.branchSlug?(c(),a("div",U,[r(o,{name:"16/branch",class:"mr-2",small:""}),s("div",w,n(l.branchSlug),1)])):b("",!0),l.customDomain?(c(),a("div",B,[r(o,{name:"globe",class:"mr-2",small:""}),s("div",C,n(l.customDomain),1)])):b("",!0)]))),128))])):(c(),a("div",I,[s("div",K,[r(o,{name:"database",class:"mr-2"}),t[0]||(t[0]=s("div",{class:"mr-2 content-secondary"},"project",-1)),s("div",L,n(i.settings.publicData.projectUrl),1)]),i.settings.publicData.customDomain?(c(),a("div",M,[r(o,{name:"globe",class:"mr-2"}),t[1]||(t[1]=s("div",{class:"mr-2 content-secondary"},"custom domain",-1)),s("div",V,n(i.settings.publicData.customDomain),1)])):b("",!0),s("div",F,[r(o,{name:"key",class:"mr-2"}),t[2]||(t[2]=s("div",{class:"mr-2 content-secondary"},"public",-1)),s("div",N,n(i.settings.publicData.apiKey),1)]),s("div",q,[r(o,{name:"key",class:"mr-2"}),t[3]||(t[3]=s("div",{class:"mr-2 content-secondary"},"service_role",-1)),s("div",{class:h(["text-ellipsis",{"text-dark-400":!i.settings.privateData.apiKey}])},n(((v=(_=i.settings.privateData)==null?void 0:_.apiKey)==null?void 0:v.replace(/./g,"*"))||"No service role key provided"),3)])]))}const P=g(D,[["render",z],["__scopeId","data-v-fba439ab"]]);export{P as default};
|
||||
1
site/assets/SettingsSummary-BwYFzYgL.css
Normal file
1
site/assets/SettingsSummary-BwYFzYgL.css
Normal file
@@ -0,0 +1 @@
|
||||
.npm-settings-summary[data-v-5acf2373]{display:flex;align-items:center}.npm-settings-summary__icon[data-v-5acf2373]{margin-right:var(--ww-spacing-02)}
|
||||
1
site/assets/SettingsSummary-Bwt2BW4L.js
Normal file
1
site/assets/SettingsSummary-Bwt2BW4L.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as g,i as y,c as a,o as c,F as x,r as f,b as s,a as _,t as n,j as r,n as h}from"./main-D6qyxymd.js";const D={props:{settings:{type:Object,required:!0}},computed:{isMultiEnv(){var e;return!!((e=this.settings.publicData)!=null&&e.environments)},activeEnvironments(){var i,d,m;if(!this.isMultiEnv)return{};const e={},t=this.settings.publicData.environments;return(i=t.production)!=null&&i.projectUrl&&(e.production=t.production),(d=t.staging)!=null&&d.projectUrl&&(e.staging=t.staging),(m=t.editor)!=null&&m.projectUrl&&(e.editor=t.editor),e}},methods:{getEnvLabel(e){return{production:"Production",staging:"Staging",editor:"Editor"}[e]||e}}},k={key:0},E={class:"label-sm content-secondary mb-1"},j={class:"flex items-center body-2 mb-1"},S={class:"text-ellipsis"},K={key:0,class:"flex items-center body-2 mb-1"},U={class:"text-ellipsis"},w={key:1,class:"flex items-center body-2 mb-1"},I={class:"text-ellipsis"},B={key:1},C={class:"flex items-center body-2 mb-2"},L={class:"text-ellipsis"},M={key:0,class:"flex items-center body-2 mb-2"},P={class:"text-ellipsis"},V={class:"flex items-center body-2 mb-2"},F={class:"text-ellipsis"},N={class:"flex items-center body-2"};function q(e,t,i,d,m,u){var b,v;const o=y("wwEditorIcon");return u.isMultiEnv?(c(),a("div",k,[(c(!0),a(x,null,f(u.activeEnvironments,(l,p)=>(c(),a("div",{key:p,class:"mb-3"},[s("div",E,n(u.getEnvLabel(p)),1),s("div",j,[r(o,{name:"database",class:"mr-2",small:""}),s("div",S,n(l.projectUrl),1)]),l.branchSlug?(c(),a("div",K,[r(o,{name:"16/branch",class:"mr-2",small:""}),s("div",U,n(l.branchSlug),1)])):_("",!0),l.customDomain?(c(),a("div",w,[r(o,{name:"globe",class:"mr-2",small:""}),s("div",I,n(l.customDomain),1)])):_("",!0)]))),128))])):(c(),a("div",B,[s("div",C,[r(o,{name:"database",class:"mr-2"}),t[0]||(t[0]=s("div",{class:"mr-2 content-secondary"},"project",-1)),s("div",L,n(i.settings.publicData.projectUrl),1)]),i.settings.publicData.customDomain?(c(),a("div",M,[r(o,{name:"globe",class:"mr-2"}),t[1]||(t[1]=s("div",{class:"mr-2 content-secondary"},"custom domain",-1)),s("div",P,n(i.settings.publicData.customDomain),1)])):_("",!0),s("div",V,[r(o,{name:"key",class:"mr-2"}),t[2]||(t[2]=s("div",{class:"mr-2 content-secondary"},"Public API Key",-1)),s("div",F,n(i.settings.publicData.apiKey),1)]),s("div",N,[r(o,{name:"key",class:"mr-2"}),t[3]||(t[3]=s("div",{class:"mr-2 content-secondary"},"Service Role Key",-1)),s("div",{class:h(["text-ellipsis",{"text-dark-400":!i.settings.privateData.apiKey}])},n(((v=(b=i.settings.privateData)==null?void 0:b.apiKey)==null?void 0:v.replace(/./g,"*"))||"No service role key provided"),3)])]))}const A=g(D,[["render",q],["__scopeId","data-v-67ca0d6d"]]);export{A as default};
|
||||
1
site/assets/SettingsSummary-CUzWcT1W.css
Normal file
1
site/assets/SettingsSummary-CUzWcT1W.css
Normal file
@@ -0,0 +1 @@
|
||||
.text-ellipsis[data-v-fba439ab]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
1
site/assets/SettingsSummary-Cm0OHHAk.css
Normal file
1
site/assets/SettingsSummary-Cm0OHHAk.css
Normal file
@@ -0,0 +1 @@
|
||||
.text-ellipsis[data-v-292f620b]{overflow:hidden;text-overflow:ellipsis}
|
||||
1
site/assets/SettingsSummary-DF6p-bs4.js
Normal file
1
site/assets/SettingsSummary-DF6p-bs4.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as o,i as r,c,a as i,o as n,j as l,b as m,t as d}from"./main-D6qyxymd.js";const p={props:{settings:{type:Object,required:!0}},computed:{realtimeTables(){return Object.keys(this.settings.publicData.realtimeTables).filter(e=>this.settings.publicData.realtimeTables[e])}}},_={key:0,class:"flex items-center body-2 mb-2"},b={class:"text-ellipsis"};function u(e,f,t,g,y,s){const a=r("wwEditorIcon");return t.settings.publicData.realtimeTables?(n(),c("div",_,[l(a,{name:"data",class:"mr-2"}),m("div",b,d(s.realtimeTables.join(",")||"None"),1)])):i("",!0)}const x=o(p,[["render",u],["__scopeId","data-v-292f620b"]]);export{x as default};
|
||||
1
site/assets/SettingsSummary-hZpSAE8c.js
Normal file
1
site/assets/SettingsSummary-hZpSAE8c.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as i,i as p,c as t,o as a,r as d,j as m,b as e,t as n,F as _}from"./main-D6qyxymd.js";const l={props:{settings:{type:Object,required:!0}},computed:{packages(){return this.settings.publicData.packages||[]}}},u={class:"flex flex-row items-center justify-between w-100"},f={class:"caption-m"},g={class:"body-md ml-1 content-tertiary"};function y(w,b,v,h,k,o){const r=p("wwEditorIcon");return a(!0),t(_,null,d(o.packages,(s,c)=>(a(),t("div",{key:c,class:"npm-settings-summary mb-2"},[m(r,{large:"",name:"code",class:"npm-settings-summary__icon"}),e("div",u,[e("div",null,[e("span",f,n(s.name),1),e("span",g,n(s.version),1)])])]))),128)}const j=i(l,[["render",y],["__scopeId","data-v-5acf2373"]]);export{j as default};
|
||||
1
site/assets/SettingsSummary-wcQAjlyG.css
Normal file
1
site/assets/SettingsSummary-wcQAjlyG.css
Normal file
@@ -0,0 +1 @@
|
||||
.text-ellipsis[data-v-67ca0d6d]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c}from"./wwElement-CIffNYMW.js";import{e as a,a as b,b as _,c as o,d,f as t,g as f}from"./wwElement-DQHs103p.js";import{e as n}from"./wwElement-exvplXEl.js";import{e as m,a as w}from"./wwElement-CFx5kM1c.js";import{e as p}from"./wwElement-DWiiT5l6.js";import{e as s}from"./wwElement-BEVi-Tbw.js";import{e as r}from"./wwElement-CpfxDO-s.js";import{e as j,a as l,b as i,s as g}from"./wwSection-vUVf7uFY.js";import{e as h,a as k,b as q,c as u}from"./wwElement-CTd_QNq_.js";import{e as v}from"./wwElement-Dpq-6M0l.js";import{e as x}from"./wwElement-C56uw5ge.js";import{s as y}from"./wwSection-CQpGyXbr.js";e.component("wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7",c);e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",a);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",n);e.component("wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3",m);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",p);e.component("wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298",s);e.component("wwobject-57831abf-83ad-49ad-ba97-3bd30b035710",r);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",b);e.component("wwobject-61825dc3-96de-46e1-a8c4-b091289d8448",j);e.component("wwobject-6f8796b1-8273-498d-95fc-7013b7c63214",h);e.component("wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450",v);e.component("wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15",k);e.component("wwobject-84f5dd60-5f67-403a-ad92-bfd62e90ccb3",l);e.component("wwobject-96f754da-593a-4c00-8309-517daa09f5b0",w);e.component("wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d",q);e.component("wwobject-98564d3b-2371-4cc4-92bc-95ca77a94f6f",i);e.component("wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a",u);e.component("wwobject-aa27b26f-0686-4c29-98c5-8217044045b7",x);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",_);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",o);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",d);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",t);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",f);e.component("section-99586bd3-2b15-4d6b-a025-6a50d07ca845",y);e.component("section-ef0ecc71-9a59-4eab-94b0-b36d66d3d61d",g);
|
||||
@@ -0,0 +1 @@
|
||||
import{h as e}from"./main-D6qyxymd.js";import{e as c,a,b,c as _,d as o,f as d,g as t}from"./wwElement-DQHs103p.js";import{e as f}from"./wwElement-exvplXEl.js";import{e as m,a as n}from"./wwElement-CFx5kM1c.js";import{e as w}from"./wwElement-DWiiT5l6.js";import{e as p}from"./wwElement-CpfxDO-s.js";import{e as s,a as j,b as l,c as r}from"./wwElement-CTd_QNq_.js";import{e as i}from"./wwElement-Dpq-6M0l.js";import{e as g}from"./wwElement-C56uw5ge.js";e.component("wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340",c);e.component("wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65",f);e.component("wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3",m);e.component("wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63",w);e.component("wwobject-57831abf-83ad-49ad-ba97-3bd30b035710",p);e.component("wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82",a);e.component("wwobject-6f8796b1-8273-498d-95fc-7013b7c63214",s);e.component("wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450",i);e.component("wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15",j);e.component("wwobject-96f754da-593a-4c00-8309-517daa09f5b0",n);e.component("wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d",l);e.component("wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a",r);e.component("wwobject-aa27b26f-0686-4c29-98c5-8217044045b7",g);e.component("wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1",b);e.component("wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4",_);e.component("wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e",o);e.component("wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad",d);e.component("wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0",t);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user