diff --git a/.github/workflows/linttest.yml b/.github/workflows/linttest.yml index 060d18c..bab5075 100644 --- a/.github/workflows/linttest.yml +++ b/.github/workflows/linttest.yml @@ -53,5 +53,53 @@ jobs: - name: Install Dependencies run: uv sync --extra test + - name: Check generated API schema is up to date + run: | + uv run python scripts/export_api_schema.py + git diff --exit-code frontend/src/api/generated/schema.json \ + || (echo "::error::schema.json is stale — run 'uv run python scripts/export_api_schema.py' and commit." && exit 1) + - name: Run Pytest run: uv run pytest -n auto + + # This will typecheck, lint and test the React frontend + frontend: + runs-on: ubuntu-latest + defaults: + run: + working-directory: frontend + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: "22" + cache: npm + cache-dependency-path: frontend/package-lock.json + + - name: Install Dependencies + run: npm ci + + - name: Typecheck (tsc) + run: npm run typecheck + + - name: Lint (eslint) + run: npm run lint + + - name: Check generated API types are up to date + run: | + npm run generate:types + git diff --exit-code src/api/generated/types.ts \ + || (echo "::error::generated types.ts is stale — run 'npm run generate:types' and commit." && exit 1) + + - name: Unit tests (vitest) + run: npm run test + + - name: Install Playwright browsers + run: npx playwright install --with-deps chromium + + - name: End-to-end tests (playwright) + run: npm run test:e2e diff --git a/Dockerfile b/Dockerfile index ba8bd85..4b899e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,12 @@ +FROM node:24-slim AS frontend +WORKDIR /frontend/ +COPY ./frontend/package.json ./frontend/package-lock.json /frontend/ +RUN npm ci +COPY ./frontend /frontend +RUN npm run build + FROM python:3.12-slim +COPY --from=ghcr.io/astral-sh/uv:0.11.16 /uv /bin/uv WORKDIR /app/ RUN apt update && apt install --no-install-recommends -y git && rm -rf /var/lib/apt/lists/* @@ -9,13 +17,17 @@ RUN --mount=type=secret,id=github_pat,uid=50000 git config --global url."https:/ # python conf ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 +ENV UV_LINK_MODE=copy \ + UV_PYTHON_DOWNLOADS=0 # Copy src COPY ./src /app/src -COPY ./pyproject.toml /app/pyproject.toml +COPY ./pyproject.toml ./uv.lock ./README.md /app/ +COPY --from=frontend /frontend/dist /app/frontend/dist -# Install deps -RUN pip install --no-cache-dir -e /app && pip install --no-cache-dir uvicorn +# Install deps from the lockfile (reproducible — honours uv.lock pins) +RUN uv sync --locked && uv pip install uvicorn +ENV PATH="/app/.venv/bin:$PATH" # Entrypoint CMD ["uvicorn", "--host", "0.0.0.0", "--port", "8080", "--workers", "1", "--interface", "wsgi", "cactus_ui.server:app"] diff --git a/README.md b/README.md index 0d0a0da..84cdb9a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,62 @@ # cactus-ui -User interface for the csip-aus test harness -# Local development -Create a conda/virtual environment and run `uv sync --all-extras` +User interface for the CSIP-Aus test harness. -ssh port forward the cactus orchestrator machine (match with CACTUS_ORCHESTRATOR_BASEURL .env) +A Vite + React 19 + TypeScript SPA (`frontend/`) served by a Flask backend-for-frontend +(`src/cactus_ui/`). Flask owns auth/session and exposes JSON under `/api/...`; React +handles everything the user sees. -run the server.py file to host the UI flask server on your local machine, using the real orchestrator VM +## Frontend +All commands run from `frontend/`. + +```bash +cd frontend +npm install # first time, and after package.json changes +``` + +### Look at the UI locally + +```bash +# No backend needed — MSW serves checked-in fixtures +npm run dev:mock # http://localhost:5173 + +# Against the real Flask BFF — needs the cactus-ui-dev service + orchestrator tunnel up. +npm run dev # http://localhost:5173, proxies /api etc. to Flask :3000 ``` -uv run flask -A cactus_ui.server:app run + +### Run tests + +```bash +npm run test # Vitest component tests (one-shot) +npm run test:watch # Vitest in watch mode while developing +npm run test:e2e # Playwright end-to-end (real browser) +``` + +### Checks before pushing + +```bash +npm run typecheck # tsc -b +npm run lint # eslint +npm run test +``` + +### Production build + +Outputs static files to `frontend/dist/`, which Flask serves (this is what the Dockerfile +runs): + +```bash +npm run build # tsc -b && vite build +npm run preview # optional: serve the built dist/ to sanity-check it +``` + +## Backend +In normal use the Flask app runs as the `cactus-ui-dev` systemd service — you don't need +to start it by hand. For Python work: + +```bash +uv sync --all-extras # from the repo root +uv run pytest tests/unit/... # run only the relevant test files +uv run ruff check && uv run ty check ``` \ No newline at end of file diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..52699ca --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,6 @@ +node_modules +dist +playwright-report +test-results +e2e/screenshots +*.tsbuildinfo diff --git a/frontend/.prettierignore b/frontend/.prettierignore new file mode 100644 index 0000000..f6fd3c5 --- /dev/null +++ b/frontend/.prettierignore @@ -0,0 +1,7 @@ +dist +node_modules +public/mockServiceWorker.js +playwright-report +test-results +package-lock.json +src/api/generated diff --git a/frontend/.prettierrc b/frontend/.prettierrc new file mode 100644 index 0000000..96f204e --- /dev/null +++ b/frontend/.prettierrc @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "singleQuote": true, + "semi": true, + "trailingComma": "es5" +} diff --git a/frontend/e2e/home.spec.ts b/frontend/e2e/home.spec.ts new file mode 100644 index 0000000..a8f867f --- /dev/null +++ b/frontend/e2e/home.spec.ts @@ -0,0 +1,19 @@ +import { expect, test } from '@playwright/test'; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). + +test('home page renders for a logged-in session', async ({ page }) => { + await page.goto('/'); + + await expect(page.getByRole('heading', { name: 'Welcome to CACTUS' })).toBeVisible(); + await expect(page.getByText('User: Test User')).toBeVisible(); + for (const link of ['Procedures', 'Runs', 'Playlists', 'Config']) { + await expect(page.getByRole('link', { name: link, exact: true })).toBeVisible(); + } + await expect(page.getByRole('link', { name: 'Logout' })).toBeVisible(); + await expect(page.getByRole('link', { name: 'Admin', exact: true })).not.toBeVisible(); + await expect(page.getByRole('heading', { name: 'Getting Started' })).toBeVisible(); + await expect(page.getByRole('heading', { name: 'Common Issues' })).toBeVisible(); + + await page.screenshot({ path: 'e2e/screenshots/home.png', fullPage: true }); +}); diff --git a/frontend/e2e/playlists.spec.ts b/frontend/e2e/playlists.spec.ts new file mode 100644 index 0000000..4b98a38 --- /dev/null +++ b/frontend/e2e/playlists.spec.ts @@ -0,0 +1,55 @@ +import { expect, test } from '@playwright/test'; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). + +test('/playlists redirects to the first run group and shows the builder', async ({ page }) => { + await page.goto('/playlists'); + + await expect(page).toHaveURL('/group/1/playlists'); + await expect(page).toHaveTitle('Playlists - CACTUS'); + await expect(page.getByRole('button', { name: 'Battery Mk1' })).toBeVisible(); + await expect(page.getByText('Test Library')).toBeVisible(); + await expect(page.getByText('No tests selected.')).toBeVisible(); + await expect(page.getByRole('button', { name: 'Start Playlist' })).toBeDisabled(); + + await page.screenshot({ path: 'e2e/screenshots/playlists.png', fullPage: true }); +}); + +test('building a queue enables Start Playlist', async ({ page }) => { + await page.goto('/group/1/playlists'); + + await page.getByRole('button', { name: /ALL-01/ }).first().click(); + + await expect(page.getByRole('button', { name: /Remove ALL-01/ })).toBeVisible(); + await expect(page.getByRole('button', { name: 'Start Playlist' })).toBeEnabled(); + + await page.screenshot({ path: 'e2e/screenshots/playlists-queue.png', fullPage: true }); +}); + +test('shows active and past playlist sessions', async ({ page }) => { + await page.goto('/group/1/playlists'); + + await expect(page.getByText('Active Playlist')).toBeVisible(); + await expect(page.getByRole('link', { name: 'active-e' })).toHaveAttribute('href', '/run/201'); + await expect(page.getByRole('link', { name: /Go to run/ })).toHaveAttribute('href', '/run/202'); + + await expect(page.getByText('Past Sessions')).toBeVisible(); + await expect(page.getByRole('link', { name: 'past-exe' })).toHaveAttribute('href', '/run/150'); +}); + +test('NavBar navigates to playlists client-side', async ({ page }) => { + await page.goto('/'); + await expect(page.getByRole('heading', { name: 'Welcome to CACTUS' })).toBeVisible(); + + let sawNavigationRequest = false; + page.on('request', (request) => { + if (request.isNavigationRequest() && request.url().includes('/playlists')) { + sawNavigationRequest = true; + } + }); + + await page.getByRole('link', { name: 'Playlists', exact: true }).click(); + + await expect(page.getByRole('button', { name: 'Battery Mk1' })).toBeVisible(); + expect(sawNavigationRequest).toBe(false); +}); diff --git a/frontend/e2e/procedure-yaml.spec.ts b/frontend/e2e/procedure-yaml.spec.ts new file mode 100644 index 0000000..82afcec --- /dev/null +++ b/frontend/e2e/procedure-yaml.spec.ts @@ -0,0 +1,42 @@ +import { expect, test } from '@playwright/test'; +import proceduresFixture from '../fixtures/procedures.json' with { type: 'json' }; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). + +test('procedure yaml page renders the highlighted definition', async ({ page }) => { + await page.goto('/procedure/ALL-01'); + + await expect(page.getByRole('heading', { name: 'Test Procedure ALL-01' })).toBeVisible(); + await expect(page).toHaveTitle('Procedures - CACTUS'); + + await expect(page.getByRole('link', { name: 'CACTUS Test Definitions' })).toHaveAttribute( + 'href', + 'https://github.com/bsgip/cactus-test-definitions' + ); + + const code = page.locator('code.language-yaml'); + await expect(code).toContainText('Discovery with Out-of-Band Registration'); + // highlight.js produced markup + await expect(code.locator('.hljs-attr').first()).toBeVisible(); + + await page.screenshot({ path: 'e2e/screenshots/procedure-yaml.png', fullPage: true }); +}); + +test('procedures table links to the yaml page client-side', async ({ page }) => { + await page.goto('/procedures'); + const first = proceduresFixture.procedures[0]; + + let sawNavigationRequest = false; + page.on('request', (request) => { + if (request.isNavigationRequest() && request.url().includes('/procedure/')) { + sawNavigationRequest = true; + } + }); + + await page.getByRole('link', { name: first.test_procedure_id, exact: true }).click(); + + await expect( + page.getByRole('heading', { name: `Test Procedure ${first.test_procedure_id}` }) + ).toBeVisible(); + expect(sawNavigationRequest).toBe(false); +}); diff --git a/frontend/e2e/procedures.spec.ts b/frontend/e2e/procedures.spec.ts new file mode 100644 index 0000000..430b5cf --- /dev/null +++ b/frontend/e2e/procedures.spec.ts @@ -0,0 +1,39 @@ +import { expect, test } from '@playwright/test'; +import proceduresFixture from '../fixtures/procedures.json' with { type: 'json' }; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). + +test('procedures page lists every procedure from the fixture', async ({ page }) => { + await page.goto('/procedures'); + + await expect(page.getByRole('heading', { name: 'Test Procedures' })).toBeVisible(); + await expect(page).toHaveTitle('Procedures - CACTUS'); + + // Header row + one row per procedure + await expect(page.getByRole('row')).toHaveCount(proceduresFixture.procedures.length + 1); + + const first = proceduresFixture.procedures[0]; + await expect( + page.getByRole('link', { name: first.test_procedure_id, exact: true }) + ).toHaveAttribute('href', `/procedure/${first.test_procedure_id}`); + + await page.screenshot({ path: 'e2e/screenshots/procedures.png', fullPage: true }); +}); + +test('NavBar navigates to procedures client-side', async ({ page }) => { + await page.goto('/'); + await expect(page.getByRole('heading', { name: 'Welcome to CACTUS' })).toBeVisible(); + + // A client-side navigation must not trigger a document load + let sawNavigationRequest = false; + page.on('request', (request) => { + if (request.isNavigationRequest() && request.url().includes('/procedures')) { + sawNavigationRequest = true; + } + }); + + await page.getByRole('link', { name: 'Procedures', exact: true }).click(); + + await expect(page.getByRole('heading', { name: 'Test Procedures' })).toBeVisible(); + expect(sawNavigationRequest).toBe(false); +}); diff --git a/frontend/e2e/run-status.spec.ts b/frontend/e2e/run-status.spec.ts new file mode 100644 index 0000000..9191b2d --- /dev/null +++ b/frontend/e2e/run-status.spec.ts @@ -0,0 +1,49 @@ +import { expect, test } from '@playwright/test'; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). The default +// run-status fixtures describe a live "started" run with timeline data, so the chart renders +// against a real canvas here (jsdom can't, so this is the only place the canvas is exercised). + +test('live run status page renders the header, panels and timeline chart', async ({ page }) => { + await page.goto('/run/123'); + + await expect(page).toHaveTitle('Run Status 123 - CACTUS'); + await expect(page.getByRole('heading', { name: 'Run 123 (started)' })).toBeVisible(); + await expect(page.getByRole('button', { name: 'Finalise' })).toBeEnabled(); + + // Live status panels. + await expect(page.getByText('Precondition Checks')).toBeVisible(); + await expect(page.getByText('Current Criteria')).toBeVisible(); + await expect(page.getByRole('heading', { name: 'Timeline' })).toBeVisible(); + + // The timeline renders two real elements (main chart + activity strip). + await expect(page.locator('canvas')).toHaveCount(2); + await expect(page.locator('canvas').first()).toBeVisible(); + + await page.screenshot({ path: 'e2e/screenshots/run-status-live.png', fullPage: true }); +}); + +test('admin run status view disables the finalise control', async ({ page }) => { + await page.goto('/admin/run/123'); + + await expect(page.getByRole('heading', { name: 'Run 123 (started)' })).toBeVisible(); + await expect(page.getByRole('button', { name: 'Finalise' })).toBeDisabled(); + await expect(page.getByRole('heading', { name: 'Timeline' })).toBeVisible(); +}); + +test('runs table links navigate to the run status page client-side', async ({ page }) => { + await page.goto('/group/1/runs'); + + let sawNavigationRequest = false; + page.on('request', (request) => { + if (request.isNavigationRequest() && request.url().includes('/run/')) { + sawNavigationRequest = true; + } + }); + + await page.getByRole('link', { name: '123', exact: true }).click(); + + await expect(page).toHaveURL('/run/123'); + await expect(page.getByRole('heading', { name: 'Run 123 (started)' })).toBeVisible(); + expect(sawNavigationRequest).toBe(false); +}); diff --git a/frontend/e2e/runs.spec.ts b/frontend/e2e/runs.spec.ts new file mode 100644 index 0000000..87122c6 --- /dev/null +++ b/frontend/e2e/runs.spec.ts @@ -0,0 +1,85 @@ +import { expect, test } from '@playwright/test'; +import activeRunsFixture from '../fixtures/active_runs.json' with { type: 'json' }; +import procedureRunsFixture from '../fixtures/procedure_runs.json' with { type: 'json' }; + +// Runs against `npm run dev:mock` (MSW serving checked-in fixtures, no backend). + +test('/runs redirects to the first run group and shows active runs', async ({ page }) => { + await page.goto('/runs'); + + await expect(page).toHaveURL('/group/1/runs'); + await expect(page).toHaveTitle('Runs - CACTUS'); + await expect(page.getByRole('heading', { name: 'Runs for' })).toBeVisible(); + await expect(page.getByRole('heading', { name: 'Active Runs' })).toBeVisible(); + + // Active runs rows with links to the (still Flask-rendered) run status page + for (const run of activeRunsFixture.items) { + await expect(page.getByRole('link', { name: String(run.run_id), exact: true })).toHaveAttribute( + 'href', + `/run/${run.run_id}` + ); + } + + await page.screenshot({ path: 'e2e/screenshots/runs-active.png', fullPage: true }); +}); + +test('selecting a procedure shows its runs and lifecycle controls', async ({ page }) => { + await page.goto('/group/1/runs'); + + await page.getByRole('button', { name: /ALL-01/ }).click(); + + await expect(page.getByRole('link', { name: 'ALL-01', exact: true })).toHaveAttribute( + 'href', + '/procedure/ALL-01' + ); + await expect(page.getByRole('button', { name: 'New Test Run' })).toBeVisible(); + + // One row per fixture run; Start for the initialised run, Download for artifact runs + await expect(page.getByRole('row')).toHaveCount(procedureRunsFixture.items.length); + await expect(page.getByRole('button', { name: 'Start' })).toBeVisible(); + await expect(page.getByRole('link', { name: 'Download' }).first()).toHaveAttribute( + 'href', + '/run/120/artifact' + ); + + await page.screenshot({ path: 'e2e/screenshots/runs-procedure.png', fullPage: true }); +}); + +test('compliance class filter hides procedures', async ({ page }) => { + await page.goto('/group/1/runs'); + + await expect(page.getByText('Showing ALL compliance classes')).toBeVisible(); + await page.getByRole('button', { name: 'Filter compliance classes' }).click(); + await page.getByRole('button', { name: 'Select NONE' }).click(); + + await expect(page.getByText('Showing NO compliance classes')).toBeVisible(); + await expect(page.getByRole('button', { name: /ALL-01/ })).toHaveCount(0); +}); + +test('admin view gates the lifecycle controls', async ({ page }) => { + await page.goto('/admin/group/1/runs'); + + await expect(page.getByRole('button', { name: 'Running...' }).first()).toBeDisabled(); + await expect(page.getByRole('button', { name: /Delete run/ })).toHaveCount(0); + await expect(page.getByRole('link', { name: '123', exact: true })).toHaveAttribute( + 'href', + '/admin/run/123' + ); +}); + +test('NavBar navigates to runs client-side', async ({ page }) => { + await page.goto('/'); + await expect(page.getByRole('heading', { name: 'Welcome to CACTUS' })).toBeVisible(); + + let sawNavigationRequest = false; + page.on('request', (request) => { + if (request.isNavigationRequest() && request.url().includes('/runs')) { + sawNavigationRequest = true; + } + }); + + await page.getByRole('link', { name: 'Runs', exact: true }).click(); + + await expect(page.getByRole('heading', { name: 'Runs for' })).toBeVisible(); + expect(sawNavigationRequest).toBe(false); +}); diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js new file mode 100644 index 0000000..b972dd9 --- /dev/null +++ b/frontend/eslint.config.js @@ -0,0 +1,33 @@ +import js from '@eslint/js'; +import reactHooks from 'eslint-plugin-react-hooks'; +import reactRefresh from 'eslint-plugin-react-refresh'; +import globals from 'globals'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + { + ignores: [ + 'dist', + 'public/mockServiceWorker.js', + 'playwright-report', + 'test-results', + 'src/api/generated', + ], + }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ['**/*.{ts,tsx}'], + languageOptions: { + ecmaVersion: 2022, + globals: globals.browser, + }, + plugins: { + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], + }, + } +); diff --git a/frontend/fixtures/README.md b/frontend/fixtures/README.md new file mode 100644 index 0000000..26ba2a1 --- /dev/null +++ b/frontend/fixtures/README.md @@ -0,0 +1,55 @@ +# Fixtures + +Recorded JSON responses from the Flask BFF `/api` endpoints, served by MSW in Vitest, +Playwright, and `npm run dev:mock`. One file per endpoint (plus variants, e.g. +`session_admin.json`). + +When an endpoint's response shape changes, update its fixture in the same PR. + +## Regenerating (most fixtures) + +Everything except the `session*.json` files is generated by `generate.py`, which builds +the JSON with the **same server serialisers that produce the real responses** +(`server.paginated_json`, `build_procedure_summaries_json`, `to_dict()`) over the real +procedure definitions plus a small amount of synthetic run history. After changing an +endpoint's shape, regenerate and commit: + +```bash +uv run python frontend/fixtures/generate.py # from the repo root +``` + +## Capturing / refreshing a session fixture + +1. Bring up the live stack (orchestrator tunnel + `cactus-ui-dev` service — see + MIGRATION.md "Live Environment") and log in at `http://localhost:3000` via the + SSH tunnel from your dev machine. +2. In the browser dev tools (Network tab), open the `/api/...` request and copy the + response JSON; or copy the `session` cookie and run on the VM: + + ```bash + curl -s -H "Cookie: session=" http://localhost:3000/api/session | python3 -m json.tool + ``` + +3. Paste into the fixture file, redacting anything user-identifying (usernames, + emails) with representative placeholder values. + +## Current fixtures + +| File | Endpoint | Notes | +| ------------------------------ | ------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `session.json` | `GET /api/session` | Regular logged-in user | +| `session_admin.json` | `GET /api/session` | User with `admin:all` permission | +| `session_unauthenticated.json` | `GET /api/session` (401 body) | Logged-out response | +| `procedures.json` | `GET /api/procedures` | Generated from `cactus-test-definitions` (the orchestrator's own source) via `TestProcedureResponse.to_dict()` — refresh by live capture if the orchestrator adds fields | +| `procedure_yaml.json` | `GET /api/procedure/` | ALL-01 — `yaml` taken verbatim from `cactus-test-definitions` (the orchestrator serves the same file's raw text). The MSW handler echoes the requested id back into `test_procedure_id` | +| `run_groups.json` | `GET /api/run_groups` (also serves `/api/admin/run_groups`) | Two synthetic run groups (so the group dropdown renders), built via `server.paginated_json` | +| `procedure_summaries.json` | `GET /api/group//procedure_summaries` (+ admin mirror) | Real procedures from `procedures.json` + synthetic run history for ALL-01/02/03 (pass/fail/unknown badges), built via `server.build_procedure_summaries_json` | +| `procedure_runs.json` | `GET /api/group//procedure_runs/` (+ admin mirror) | ALL-01 runs covering finalised-pass, finalised-fail, initialised, and finalised-without-artifacts; the MSW handler returns it for any requested procedure | +| `active_runs.json` | `GET /api/group//active_runs` (+ admin mirror) | One started + one initialised run | +| `config.json` | `GET /api/config` | Hand-written: two run groups (matching `run_groups.json`), two CSIP-Aus versions, pen=123456, domain=my.example.com, dynamic URI | +| `run_status_shell.json` | `GET /api/run/` (+ admin mirror) | Page shell for a live, standalone `started` run (no playlist). The default MSW handler for the run status page | +| `run_status_shell_finalised.json` | `GET /api/run/` | Page shell for a finalised, not-live run with artifacts — drives the non-live download view. Override with `server.use()` | +| `run_status_shell_playlist.json` | `GET /api/run/` | Page shell for a live run inside a 3-test playlist (`playlist_info` + `current_active_run` + `next_playlist_run_id`). Override with `server.use()` | +| `run_status_runner.json` | `GET /api/run//status` (+ admin mirror) | Rich `started` RunnerStatus (snake_case = FastAPI's native dataclass field names) exercising every live panel: requests (incl. XSD error + Unmatched), steps, criteria, timeline, DER metadata. Drift-checked against `cactus_schema.runner.schema` in `generate.py` | +| `run_status_runner_initialised.json` | `GET /api/run//status` | Pre-start RunnerStatus: instructions present, no `timestamp_start`/steps/timeline/device. Override with `server.use()` | +| `run_request_details.json` | `GET /api/run//requests/` | Raw request/response strings for the request-details modal | diff --git a/frontend/fixtures/active_runs.json b/frontend/fixtures/active_runs.json new file mode 100644 index 0000000..ac61c0c --- /dev/null +++ b/frontend/fixtures/active_runs.json @@ -0,0 +1,40 @@ +{ + "total_pages": 1, + "total_items": 2, + "page_size": 100, + "current_page": 1, + "prev_page": null, + "next_page": null, + "items": [ + { + "run_id": 123, + "test_procedure_id": "ALL-03", + "test_url": "https://cactus.example/run/123", + "status": "started", + "all_criteria_met": null, + "created_at": "2026-06-11T01:05:00+00:00", + "finalised_at": null, + "is_device_cert": true, + "has_artifacts": false, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + }, + { + "run_id": 110, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/110", + "status": "initialised", + "all_criteria_met": null, + "created_at": "2026-06-08T10:30:00+00:00", + "finalised_at": null, + "is_device_cert": true, + "has_artifacts": false, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + } + ] +} diff --git a/frontend/fixtures/admin_stats.json b/frontend/fixtures/admin_stats.json new file mode 100644 index 0000000..95f1af9 --- /dev/null +++ b/frontend/fixtures/admin_stats.json @@ -0,0 +1,75 @@ +{ + "total_users": 12, + "total_run_groups": 8, + "total_runs": 47, + "total_passed": 31, + "total_failed": 9, + "max_run_number": 52, + "version_counts": { + "2.0": 6, + "1.0": 2 + }, + "user_leaderboard": [ + { "name": "Alice Example", "run_count": 20 }, + { "name": "Bob Test", "run_count": 15 }, + { "name": "Charlie Dev", "run_count": 8 }, + { "name": "Diana QA", "run_count": 4 } + ], + "procedures": [ + { + "test_procedure_id": "S-ALL-01", + "classes": ["DER-A"], + "total_runs": 15, + "passed": 10, + "failed": 5, + "latest_passed": 5, + "latest_failed": 2 + }, + { + "test_procedure_id": "S-ALL-02", + "classes": ["DER-A", "DER-G"], + "total_runs": 12, + "passed": 8, + "failed": 4, + "latest_passed": 3, + "latest_failed": 1 + }, + { + "test_procedure_id": "S-ALL-04", + "classes": [], + "total_runs": 8, + "passed": 7, + "failed": 1, + "latest_passed": 4, + "latest_failed": 0 + }, + { + "test_procedure_id": "C-PV-01", + "classes": ["DER-G"], + "total_runs": 5, + "passed": 2, + "failed": 3, + "latest_passed": 2, + "latest_failed": 3 + }, + { + "test_procedure_id": "C-BESS-01", + "classes": ["DER-A"], + "total_runs": 3, + "passed": 2, + "failed": 1, + "latest_passed": 1, + "latest_failed": 0 + } + ], + "runs_per_week": [ + { "month": "Jan", "year": "2026", "count": 3 }, + { "month": "", "year": "", "count": 5 }, + { "month": "", "year": "", "count": 2 }, + { "month": "", "year": "", "count": 7 }, + { "month": "Feb", "year": "2026", "count": 4 }, + { "month": "", "year": "", "count": 6 }, + { "month": "", "year": "", "count": 8 }, + { "month": "", "year": "", "count": 5 } + ] +} diff --git a/frontend/fixtures/admin_users.json b/frontend/fixtures/admin_users.json new file mode 100644 index 0000000..92b9acd --- /dev/null +++ b/frontend/fixtures/admin_users.json @@ -0,0 +1,39 @@ +{ + "users": [ + { + "user_id": 1, + "subject_id": "auth0|abc123", + "name": "Alice Example", + "run_groups": [ + { + "run_group_id": 10, + "name": "Battery Mk1", + "csip_aus_version": "1.0", + "created_at": "2024-01-15T10:00:00+00:00", + "is_device_cert": true, + "certificate_id": 5, + "certificate_created_at": "2024-01-15T10:05:00+00:00", + "total_runs": 12 + }, + { + "run_group_id": 11, + "name": "Battery Mk2", + "csip_aus_version": "1.0", + "created_at": "2024-02-01T09:00:00+00:00", + "is_device_cert": false, + "certificate_id": null, + "certificate_created_at": null, + "total_runs": 3 + } + ], + "matchable_description": "1|Alice Example|10|Battery Mk1|11|Battery Mk2" + }, + { + "user_id": 2, + "subject_id": "auth0|def456", + "name": null, + "run_groups": [], + "matchable_description": "2" + } + ] +} diff --git a/frontend/fixtures/compliance.json b/frontend/fixtures/compliance.json new file mode 100644 index 0000000..ff28de6 --- /dev/null +++ b/frontend/fixtures/compliance.json @@ -0,0 +1,774 @@ +{ + "compliance_by_class": [ + { + "class_name": "A", + "class_details": { + "name": "A", + "description": "All clients managing DER (Excluding demand response)." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-01", + "description": "Discovery with Out-of-Band Registration", + "latest_run_id": 120, + "status": "success" + }, + { + "test_procedure_id": "ALL-02", + "description": "Discovery with In-Band Registration", + "latest_run_id": 118, + "status": "failed" + }, + { + "test_procedure_id": "ALL-03-REJ", + "description": "Client rejection of incorrect PIN", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-04", + "description": "Client Registration and PIN Validation", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-05", + "description": "Client Response to Lack of RegistrationLink", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-06", + "description": "Individual Readings", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-07", + "description": "Connection Status", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-08", + "description": "Operational Mode Status", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-09", + "description": "Capabilities and Settings", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-10", + "description": "Update telemetry post rates", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-11", + "description": "Active Control \u2013 Energise / De-energise", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-12", + "description": "Active Control \u2013 Disconnect", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-13", + "description": "Default Controls \u2013 Ramp Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-18", + "description": "Control Responses", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-19", + "description": "Update Function Set Assignments Poll Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-20", + "description": "Update DER Program Poll Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-21", + "description": "Scheduling", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-22", + "description": "Randomisation", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-23", + "description": "Communication Loss", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-24", + "description": "Validation of Scaling Factors", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-25", + "description": "Active control ramp rates", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-25-EXT", + "description": "Extended operations", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DR-A", + "class_details": { + "name": "DR-A", + "description": "All clients managing demand response devices." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-01", + "description": "Discovery with Out-of-Band Registration", + "latest_run_id": 120, + "status": "success" + }, + { + "test_procedure_id": "ALL-06", + "description": "Individual Readings", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-10", + "description": "Update telemetry post rates", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-19", + "description": "Update Function Set Assignments Poll Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-20", + "description": "Update DER Program Poll Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-21", + "description": "Scheduling", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-22", + "description": "Randomisation", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-23", + "description": "Communication Loss", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-25-EXT", + "description": "Extended operations", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "DRA-01", + "description": "Configuration", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "C", + "class_details": { + "name": "C", + "description": "Clients conforming with the optional ConnectionPoint extension." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-03", + "description": "Connection Point registration", + "latest_run_id": 123, + "status": "active" + } + ] + }, + { + "class_name": "S-L", + "class_details": { + "name": "S-L", + "description": "Clients implementing Subscription/Notification functionality AND L class." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-14", + "description": "Subscribe", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-15", + "description": "Active Controls \u2013 Energize/de-energize", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-16", + "description": "Active Controls \u2013 Disconnect", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-17", + "description": "Default Controls \u2013 Ramp Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-05", + "description": "Active Controls \u2013 Import Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-06", + "description": "Active Controls \u2013 Load Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-07", + "description": "Default Controls \u2013 Import Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-08", + "description": "Default Controls \u2013 Load Limit", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "S-G", + "class_details": { + "name": "S-G", + "description": "Clients implementing Subscription/Notification functionality AND G class." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-14", + "description": "Subscribe", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-15", + "description": "Active Controls \u2013 Energize/de-energize", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-16", + "description": "Active Controls \u2013 Disconnect", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-17", + "description": "Default Controls \u2013 Ramp Rate", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-05", + "description": "Active Control \u2013 Export Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-06", + "description": "Active Control \u2013 Generation Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-07", + "description": "Default Controls \u2013 Export Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-08", + "description": "Default Controls \u2013 Generation Limit", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-A", + "class_details": { + "name": "DER-A", + "description": "All DER." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALL-26", + "description": "De-energization of DER", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-27", + "description": "Disconnection of DER", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-28", + "description": "Response to Changing Ramp-Rates", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-29", + "description": "Validate Operating Telemetry", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "ALL-30", + "description": "Persisting Settings Through Reconnection", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DR-L", + "class_details": { + "name": "DR-L", + "description": "Clients managing load-type or storage-type products with demand response capabilities." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "DRA-02", + "description": "Disconnect Instruction", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "DRL-01", + "description": "Load operational instructions", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DR-G", + "class_details": { + "name": "DR-G", + "description": "Clients managing generation-type or storage-type products with demand response capabilities." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "DRA-02", + "description": "Disconnect Instruction", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "DRG-01", + "description": "Generation operational instructions", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DR-D", + "class_details": { + "name": "DR-D", + "description": "Clients managing or incorporated into DRED demand response devices." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "DRD-01", + "description": "DRED operational instruction response", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "G", + "class_details": { + "name": "G", + "description": "Clients managing generation-type or storage-type DER." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "GEN-01", + "description": "Active Control \u2013 Export Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-02", + "description": "Active Control \u2013 Generation Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-03", + "description": "Default Control \u2013 Export Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-04", + "description": "Default Control \u2013 Generation Limit", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-G", + "class_details": { + "name": "DER-G", + "description": "All DER capable of generation." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "GEN-09", + "description": "Response to Cancelled Export Control", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-10", + "description": "Primacy Validation for Generators", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-11", + "description": "Variable Export Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-12", + "description": "Variable Generation Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "GEN-13", + "description": "Tracking export-limit through variable load", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "L", + "class_details": { + "name": "L", + "description": "Clients managing load-type or storage-type DER." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "LOA-01", + "description": "Active Control \u2013 Import Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-02", + "description": "Active Control \u2013 Load Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-03", + "description": "Default Control \u2013 Import Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-04", + "description": "Default Control \u2013 Load Limit", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-L", + "class_details": { + "name": "DER-L", + "description": "All DER capable of consumption." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "LOA-09", + "description": "Response to Cancelled Import Control", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-10", + "description": "Primacy Validation for loads", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-11", + "description": "Variable Import Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-12", + "description": "Variable Load Limit", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "LOA-13", + "description": "Tracking import-limit through variable load", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "M", + "class_details": { + "name": "M", + "description": "Clients supporting management of sets of DER." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "MUL-01", + "description": "Returning DERStatus Values for Multiple DER", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "MUL-02", + "description": "Reporting Aggregated Telemetry for Multiple DER", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "MUL-03", + "description": "Validate DERCapability and DERSettings For Multiple DER", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "P-A", + "class_details": { + "name": "P-A", + "description": "Provisional tests drafted as part of community consultation." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "P-01", + "description": "Provisional - Multiple EndDevice shared DERControls", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "P-02", + "description": "Provisional - EndDevice FunctionSetAssignmentList Changes", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-A-ALT", + "class_details": { + "name": "DER-A-ALT", + "description": "Alternatives to specific DER-A tests (for specific DER)." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALT-ALL-29", + "description": "Validate Operating Telemetry (EVSE Alternate - import limits increased by 20%)", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-L-ALT", + "class_details": { + "name": "DER-L-ALT", + "description": "Alternatives to specific DER-L tests (for specific DER)." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "ALT-LOA-13", + "description": "Tracking import-limit through variable load (EVSE Alternate - import limit increased by 20%)", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "STO", + "class_details": { + "name": "STO", + "description": "Clients conforming to the Annex G storage extensions." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "STO-01", + "description": "Individual readings - storage", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "STO-02", + "description": "Capabilities and settings - storage", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "STO-03", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "DER-STO", + "class_details": { + "name": "DER-STO", + "description": "DER conforming to the Annex G storage extensions." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "STO-04", + "description": "Individual readings - storage", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "STO-05", + "description": "Capabilities and settings - storage", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "STO-06", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "latest_run_id": null, + "status": "runless" + } + ] + }, + { + "class_name": "PRC", + "class_details": { + "name": "PRC", + "description": "Clients conforming to the Annex F pricing extensions." + }, + "compliant": false, + "per_run_status": [ + { + "test_procedure_id": "PRC-01", + "description": "Pricing Streamlined Flow", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "PRC-02", + "description": "Validate Client Interpretation of Pricing", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "PRC-03", + "description": "Poll Rate Compliance", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "PRC-04", + "description": "TimeTariffInterval Cancellation", + "latest_run_id": null, + "status": "runless" + }, + { + "test_procedure_id": "PRC-05", + "description": "Dynamic RateComponentList", + "latest_run_id": null, + "status": "runless" + } + ] + } + ] +} diff --git a/frontend/fixtures/config.json b/frontend/fixtures/config.json new file mode 100644 index 0000000..ccd6362 --- /dev/null +++ b/frontend/fixtures/config.json @@ -0,0 +1,33 @@ +{ + "config": { + "subscription_domain": "my.example.com", + "pen": 123456 + }, + "run_groups": [ + { + "run_group_id": 1, + "name": "Battery Mk1", + "csip_aus_version": "v1.2", + "created_at": "2026-05-01T00:00:00+00:00", + "is_static_uri": true, + "static_uri": "https://example.com/dcap/static/1", + "is_device_cert": true, + "certificate_id": 11, + "certificate_created_at": "2026-05-01T00:05:00+00:00", + "total_runs": 6 + }, + { + "run_group_id": 2, + "name": "Battery Mk2", + "csip_aus_version": "v1.3-beta/storage", + "created_at": "2026-06-01T00:00:00+00:00", + "is_static_uri": false, + "static_uri": null, + "is_device_cert": false, + "certificate_id": 12, + "certificate_created_at": "2026-06-01T00:05:00+00:00", + "total_runs": 0 + } + ], + "csip_aus_versions": [{ "version": "v1.2" }, { "version": "v1.3-beta/storage" }] +} diff --git a/frontend/fixtures/generate.py b/frontend/fixtures/generate.py new file mode 100644 index 0000000..4f69895 --- /dev/null +++ b/frontend/fixtures/generate.py @@ -0,0 +1,607 @@ +"""Regenerates the checked-in MSW fixtures from cactus-test-definitions and the Flask +BFF's own serialisers, so the fixtures track shape changes in the same PR that makes +them. Session fixtures (session*.json) are hand-captured from a real login - see +README.md. + +Run from the repo root: + + uv run python frontend/fixtures/generate.py +""" + +import json +import os +import shutil +import subprocess +from pathlib import Path + +# server.py reads these at import time; values are irrelevant for fixture generation +os.environ.setdefault("CACTUS_ORCHESTRATOR_BASEURL", "http://localhost:18080/") +os.environ.setdefault("CACTUS_ORCHESTRATOR_AUDIENCE", "fixture-generation") +os.environ.setdefault("CACTUS_PLATFORM_VERSION", "fixture-generation") +os.environ.setdefault("CACTUS_PLATFORM_SUPPORT_EMAIL", "fixtures@example.com") +os.environ.setdefault("APP_SECRET_KEY", "fixture-generation") + +import dataclasses # noqa: E402 + +import cactus_schema.orchestrator as schema # noqa: E402 +import cactus_schema.runner.schema as runner_schema # noqa: E402 +from cactus_schema.orchestrator.compliance import fetch_compliance_classes # noqa: E402 +from cactus_test_definitions.client import get_all_test_procedures, get_yaml_contents # noqa: E402 + +import cactus_ui.server as server # noqa: E402 + +FIXTURES_DIR = Path(__file__).parent + +# Synthetic run history overlaid on the real procedure list (everything else has no runs) +RUN_STATE = { + "ALL-01": dict( + run_count=3, + latest_all_criteria_met=True, + latest_run_status=3, + latest_run_id=120, + latest_run_timestamp="2026-06-10T03:15:00+00:00", + ), + "ALL-02": dict( + run_count=1, + latest_all_criteria_met=False, + latest_run_status=3, + latest_run_id=118, + latest_run_timestamp="2026-06-09T23:40:00+00:00", + ), + "ALL-03": dict( + run_count=2, + latest_all_criteria_met=None, + latest_run_status=2, + latest_run_id=123, + latest_run_timestamp="2026-06-11T01:05:00+00:00", + ), +} + +NO_RUNS = dict( + run_count=0, + latest_all_criteria_met=None, + latest_run_status=None, + latest_run_id=None, + latest_run_timestamp=None, +) + + +def write(name: str, data: dict) -> None: + with open(FIXTURES_DIR / name, "w") as f: + json.dump(data, f, indent=2) + f.write("\n") + print(f"wrote {name}") + + +def check_keys(label: str, data: dict, dc: type) -> None: + """Guard hand-built fixtures against schema drift: the dict's keys must exactly match + the dataclass field names (FastAPI serialises these dataclasses with their native + snake_case field names, which is the wire format the UI consumes).""" + expected = {f.name for f in dataclasses.fields(dc)} + actual = set(data) + if actual != expected: + raise SystemExit( + f"{label}: key drift vs {dc.__name__}: " + f"missing={sorted(expected - actual)} unexpected={sorted(actual - expected)}" + ) + + +def check_runner_status(label: str, status: dict) -> None: + """Validate a hand-built RunnerStatus fixture (and its key nested shapes) against the + cactus_schema.runner.schema dataclasses.""" + r = runner_schema + check_keys(label, status, r.RunnerStatus) + check_keys(f"{label}.last_client_interaction", status["last_client_interaction"], r.ClientInteraction) + for c in status["criteria"]: + check_keys(f"{label}.criteria[]", c, r.CriteriaEntry) + for c in status["precondition_checks"]: + check_keys(f"{label}.precondition_checks[]", c, r.PreconditionCheckEntry) + for entry in (status["step_status"] or {}).values(): + check_keys(f"{label}.step_status[]", entry, r.StepEventStatus) + for req in status["request_history"]: + check_keys(f"{label}.request_history[]", req, r.RequestEntry) + if status["timeline"] is not None: + check_keys(f"{label}.timeline", status["timeline"], r.TimelineStatus) + for ds in status["timeline"]["data_streams"]: + check_keys(f"{label}.timeline.data_streams[]", ds, r.TimelineDataStreamEntry) + for point in ds["data"]: + check_keys(f"{label}.timeline.data_streams[].data[]", point, r.DataStreamPoint) + edm = status["end_device_metadata"] + if edm is not None: + check_keys(f"{label}.end_device_metadata", edm, r.EndDeviceMetadata) + check_keys(f"{label}.der_capability", edm["der_capability"], r.DERCapabilityInfo) + check_keys(f"{label}.der_settings", edm["der_settings"], r.DERSettingsInfo) + check_keys(f"{label}.der_status", edm["der_status"], r.DERStatusInfo) + + +def single_page(items: list) -> dict: + return server.paginated_json( + schema.Pagination( + total_pages=1, + total_items=len(items), + page_size=100, + current_page=1, + prev_page=None, + next_page=None, + items=items, + ) + ) + + +def run( + run_id: int, + test_procedure_id: str, + status: schema.RunStatusResponse, + all_criteria_met: bool | None, + has_artifacts: bool, + created_at: str, + finalised_at: str | None = None, +) -> schema.RunResponse: + return schema.RunResponse( + run_id=run_id, + test_procedure_id=test_procedure_id, + test_url=f"https://cactus.example/run/{run_id}", + status=status, + all_criteria_met=all_criteria_met, + created_at=created_at, + finalised_at=finalised_at, + is_device_cert=True, + has_artifacts=has_artifacts, + playlist_execution_id=None, + playlist_order=None, + playlist_runs=None, + classes=["A", "G"], + ) + + +def main() -> None: + # procedures.json - the real procedure definitions, as /api/procedures serves them + procedures = [ + schema.TestProcedureResponse( + test_procedure_id=tp_id, + description=tp.description, + category=tp.category, + classes=tp.classes or [], + target_versions=[v.value for v in tp.target_versions], + ) + for tp_id, tp in get_all_test_procedures().items() + ] + write("procedures.json", {"procedures": [p.to_dict() for p in procedures]}) + + # procedure_yaml.json - ALL-01's raw YAML, as /api/procedure/ serves it + write("procedure_yaml.json", {"test_procedure_id": "ALL-01", "yaml": get_yaml_contents("ALL-01")}) + + # procedure_summaries.json - real procedures + the synthetic run history above + summaries = [ + schema.TestProcedureRunSummaryResponse( + test_procedure_id=p.test_procedure_id, + description=p.description, + category=p.category, + classes=p.classes, + immediate_start=False, + **RUN_STATE.get(p.test_procedure_id, NO_RUNS), + ) + for p in procedures + ] + write("procedure_summaries.json", server.build_procedure_summaries_json(summaries)) + + # run_groups.json - two groups so the group dropdown renders + write( + "run_groups.json", + single_page( + [ + schema.RunGroupResponse( + run_group_id=1, + name="Battery Mk1", + csip_aus_version="v1.2", + created_at="2026-05-01T00:00:00+00:00", + is_device_cert=True, + certificate_id=11, + certificate_created_at="2026-05-01T00:05:00+00:00", + total_runs=6, + ), + schema.RunGroupResponse( + run_group_id=2, + name="Battery Mk2", + csip_aus_version="v1.3-beta/storage", + created_at="2026-06-01T00:00:00+00:00", + is_device_cert=False, + certificate_id=12, + certificate_created_at="2026-06-01T00:05:00+00:00", + total_runs=0, + ), + ] + ), + ) + + # procedure_runs.json - ALL-01 runs covering pass/fail/initialised/no-artifacts rows + status = schema.RunStatusResponse + write( + "procedure_runs.json", + single_page( + [ + run( + 120, + "ALL-01", + status.finalised, + True, + True, + "2026-06-10T03:15:00+00:00", + "2026-06-10T04:00:00+00:00", + ), + run( + 117, + "ALL-01", + status.finalised, + False, + True, + "2026-06-09T22:10:00+00:00", + "2026-06-09T22:55:00+00:00", + ), + run(110, "ALL-01", status.initialised, None, False, "2026-06-08T10:30:00+00:00"), + run( + 104, + "ALL-01", + status.finalised, + None, + False, + "2026-06-07T08:00:00+00:00", + "2026-06-07T09:00:00+00:00", + ), + ] + ), + ) + + # active_runs.json - one started + one initialised run + write( + "active_runs.json", + single_page( + [ + run(123, "ALL-03", status.started, None, False, "2026-06-11T01:05:00+00:00"), + run(110, "ALL-01", status.initialised, None, False, "2026-06-08T10:30:00+00:00"), + ] + ), + ) + + # compliance.json - computed from the same summaries, as /api/group//compliance serves it + write("compliance.json", server.build_compliance_json(summaries)) + + # playlist_tests.json - tests-by-category + classes, as /api/group//playlist_tests serves it + all_classes: set[str] = set() + for p in summaries: + if p.classes: + all_classes.update(p.classes) + write( + "playlist_tests.json", + { + "tests_by_category": server.build_playlist_tests_by_category(summaries), + "classes": [{"name": c.name, "description": c.description} for c in fetch_compliance_classes(all_classes)], + }, + ) + + # playlist_sessions.json - one active + one past session, as /api/group//playlist_sessions serves it + def test_status(run_id: int, tp_id: str, st: str, met: bool | None, artifacts: bool) -> dict: + return { + "test_procedure_id": tp_id, + "run_id": run_id, + "status": st, + "all_criteria_met": met, + "has_artifacts": artifacts, + } + + write( + "playlist_sessions.json", + [ + { + "playlist_execution_id": "active-exec-0001-aaaa", + "short_id": "active-e", + "first_run_id": 201, + "created_at": "2026-06-12T02:00:00+00:00", + "test_statuses": [ + test_status(201, "ALL-01", "finalised", True, True), + test_status(202, "ALL-02", "started", None, False), + test_status(203, "ALL-03", "initialised", None, False), + ], + "is_active": True, + }, + { + "playlist_execution_id": "past-exec-0002-bbbb", + "short_id": "past-exe", + "first_run_id": 150, + "created_at": "2026-06-10T08:00:00+00:00", + "test_statuses": [ + test_status(150, "ALL-01", "finalised", True, True), + test_status(151, "ALL-02", "finalised", False, True), + test_status(152, "ALL-03", "skipped", None, False), + ], + "is_active": False, + }, + ], + ) + + # --- Run status page (run_status.html port) fixtures --------------------------------- + + # run_status_runner.json - a rich "started" RunnerStatus exercising every live panel: + # requests (incl. an XSD error + an Unmatched one), steps (resolved/active-proceed/ + # pending), criteria, precondition checks, timeline data, and full DER metadata. + runner_started = { + "timestamp_status": "2026-06-17T05:03:00+00:00", + "timestamp_initialise": "2026-06-17T04:58:00+00:00", + "timestamp_start": "2026-06-17T05:00:00+00:00", + "status_summary": "Test in progress - 1 of 3 steps complete", + "last_client_interaction": { + "interaction_type": "Request Proxied", + "timestamp": "2026-06-17T05:02:55+00:00", + }, + "csip_aus_version": "v1.2", + "log_envoy": ( + "2026-06-17 05:00:10 INFO envoy GET /edev -> 200\n" + "2026-06-17 05:01:30 WARN envoy PUT /edev/1/ders/1/dercap -> 400 (schema invalid)\n" + "2026-06-17 05:02:55 INFO envoy PUT /edev/1/ders/1/ders -> 204" + ), + "criteria": [ + {"success": True, "type": "response-contains-edev", "details": "EndDevice was registered"}, + {"success": False, "type": "der-settings-updated", "details": "Awaiting DERSettings update"}, + ], + "precondition_checks": [ + {"success": True, "type": "edevice-registered", "details": "EndDevice 1 registered"}, + {"success": True, "type": "der-present", "details": "DER discovered on the EndDevice"}, + ], + "instructions": [ + "Ensure the device is powered on and connected to the utility server", + "Confirm the inverter is exporting before proceeding", + ], + "test_procedure_name": "ALL-01", + "step_status": { + "GET-EDEV": { + "started_at": "2026-06-17T05:00:05+00:00", + "completed_at": "2026-06-17T05:00:20+00:00", + "event_status": None, + }, + "POST-DERSETTINGS": { + "started_at": "2026-06-17T05:00:25+00:00", + "completed_at": None, + "event_status": "Waiting on signal to proceed", + }, + "POST-DERSTATUS": {"started_at": None, "completed_at": None, "event_status": None}, + }, + "request_history": [ + { + "url": "https://cactus.example/edev", + "path": "/edev", + "method": "GET", + "status": 200, + "timestamp": "2026-06-17T05:00:10+00:00", + "step_name": "GET-EDEV", + "body_xml_errors": [], + "request_id": 1, + }, + { + "url": "https://cactus.example/edev/1/ders/1/dercap", + "path": "/edev/1/ders/1/dercap", + "method": "PUT", + "status": 400, + "timestamp": "2026-06-17T05:01:30+00:00", + "step_name": "POST-DERSETTINGS", + "body_xml_errors": ["Element 'rtgMaxW': This element is not expected. Expected is ( rtgMaxVA )."], + "request_id": 2, + }, + { + "url": "https://cactus.example/edev/1/ders/1/ders", + "path": "/edev/1/ders/1/ders", + "method": "PUT", + "status": 204, + "timestamp": "2026-06-17T05:02:55+00:00", + "step_name": "Unmatched", + "body_xml_errors": [], + "request_id": 3, + }, + ], + "timeline": { + "data_streams": [ + { + "label": "Active Power", + "data": [ + {"watts": 0, "offset": "0s"}, + {"watts": 1500, "offset": "0m20s"}, + {"watts": 3200, "offset": "0m40s"}, + {"watts": 3200, "offset": "1m0s"}, + ], + "stepped": False, + "dashed": False, + }, + { + "label": "Limit", + "data": [{"watts": 5000, "offset": "0s"}, {"watts": 5000, "offset": "1m0s"}], + "stepped": True, + "dashed": True, + }, + ], + "set_max_w": 5000, + "now_offset": "1m0s", + }, + "end_device_metadata": { + "edevid": 1, + "lfdi": "0x48BC3A2F9D14E7B6C0A1", + "sfdi": 123456789, + "nmi": "6123456789", + "aggregator_id": None, + "set_max_w": 5000, + "doe_modes_enabled": 3, + "device_category": 0, + "timezone_id": "Australia/Brisbane", + "der_capability": { + "der_type": "COMBINED_PV_AND_STORAGE", + "modes_supported": ["OP_MOD_FIXED_W", "OP_MOD_VOLT_VAR"], + "max_w": 5000, + "max_va": 5500, + "max_var": 3000, + "max_var_neg": 3000, + "max_a": 22, + "max_charge_rate_w": 5000, + "max_discharge_rate_w": 5000, + "max_wh": 13500, + "doe_modes_supported": ["OP_MOD_EXPORT_LIMIT_W", "OP_MOD_IMPORT_LIMIT_W"], + }, + "der_settings": { + "modes_enabled": ["OP_MOD_FIXED_W"], + "max_w": 5000, + "max_va": 5500, + "max_var": 3000, + "max_var_neg": 3000, + "max_charge_rate_w": 5000, + "max_discharge_rate_w": 5000, + "grad_w": 100, + "doe_modes_enabled": ["OP_MOD_EXPORT_LIMIT_W"], + }, + "der_status": { + "alarm_status": [], + "inverter_status": "NORMAL", + "operational_mode_status": "GRID_FOLLOWING", + "generator_connect_status": ["CONNECTED"], + "storage_connect_status": ["CONNECTED"], + "storage_mode_status": "CHARGING", + "state_of_charge_status": 62, + "local_control_mode_status": "REMOTE", + "manufacturer_status": "OK", + }, + }, + } + check_runner_status("run_status_runner.json", runner_started) + write("run_status_runner.json", runner_started) + + # run_status_runner_initialised.json - the pre-start phase: instructions present, no + # timestamp_start, no steps/timeline/device yet. + runner_initialised = { + "timestamp_status": "2026-06-17T04:59:00+00:00", + "timestamp_initialise": "2026-06-17T04:58:00+00:00", + "timestamp_start": None, + "status_summary": "Awaiting start", + "last_client_interaction": { + "interaction_type": "Test Procedure Initialised", + "timestamp": "2026-06-17T04:58:00+00:00", + }, + "csip_aus_version": "v1.2", + "log_envoy": "No logs recorded", + "criteria": [], + "precondition_checks": [ + {"success": True, "type": "edevice-registered", "details": "EndDevice 1 registered"}, + ], + "instructions": ["Ensure the device is powered on before starting the test"], + "test_procedure_name": "ALL-01", + "step_status": None, + "request_history": [], + "timeline": None, + "end_device_metadata": None, + } + check_runner_status("run_status_runner_initialised.json", runner_initialised) + write("run_status_runner_initialised.json", runner_initialised) + + # run_status_shell*.json - the page shell (_build_run_status_shell output). One live + # standalone run, one finalised, one live run inside a playlist. + write( + "run_status_shell.json", + { + "run_id": 123, + "run_is_live": True, + "run_status": "started", + "run_test_uri": "https://cactus.example/run/123", + "run_procedure_id": "ALL-08", + "run_has_artifacts": False, + "is_immediate_start": False, + "playlist_info": None, + "next_playlist_run_id": None, + "current_active_run": None, + }, + ) + # ALL-08 is not an immediate_start procedure, so the finalised view shows the Active + # Power Chart. (Use an immediate_start id like ALL-01 to exercise the hidden case.) + write( + "run_status_shell_finalised.json", + { + "run_id": 120, + "run_is_live": False, + "run_status": "finalised", + "run_test_uri": "https://cactus.example/run/120", + "run_procedure_id": "ALL-08", + "run_has_artifacts": True, + "is_immediate_start": False, + "playlist_info": None, + "next_playlist_run_id": None, + "current_active_run": None, + }, + ) + write( + "run_status_shell_playlist.json", + { + "run_id": 202, + "run_is_live": True, + "run_status": "started", + "run_test_uri": "https://cactus.example/run/202", + "run_procedure_id": "ALL-02", + "run_has_artifacts": False, + "is_immediate_start": True, + "playlist_info": { + "name": "Smoke Test Playlist", + "started_at": "2026-06-17T04:58:00+00:00", + "current_order": 1, + "total": 3, + "runs": [ + { + "test_procedure_id": "ALL-01", + "run_id": 201, + "status": "finalised", + "all_criteria_met": True, + "has_artifacts": True, + }, + { + "test_procedure_id": "ALL-02", + "run_id": 202, + "status": "started", + "all_criteria_met": None, + "has_artifacts": False, + }, + { + "test_procedure_id": "ALL-03", + "run_id": 203, + "status": "initialised", + "all_criteria_met": None, + "has_artifacts": False, + }, + ], + }, + "next_playlist_run_id": 203, + "current_active_run": {"run_id": 202, "test_procedure_id": "ALL-02", "order": 1}, + }, + ) + + # run_request_details.json - raw request/response for the request-details modal + write( + "run_request_details.json", + { + "request_id": 2, + "request": ( + "PUT /edev/1/ders/1/dercap HTTP/1.1\nHost: cactus.example\n" + "Content-Type: application/sep+xml\n\n" + '' + ), + "response": ( + "HTTP/1.1 400 Bad Request\nContent-Type: application/sep+xml\n\n" + 'Element rtgMaxW is not expected' + ), + }, + ) + + +def prettier() -> None: + """Match the repo's Prettier formatting so regeneration produces minimal diffs.""" + npx = shutil.which("npx") + if npx is None: + print("npx not found - run `npx prettier --write fixtures/*.json` from frontend/ yourself") + return + subprocess.run([npx, "prettier", "--write", "*.json"], cwd=FIXTURES_DIR, check=True) # noqa: S603 + + +if __name__ == "__main__": + main() + prettier() diff --git a/frontend/fixtures/playlist_sessions.json b/frontend/fixtures/playlist_sessions.json new file mode 100644 index 0000000..970448f --- /dev/null +++ b/frontend/fixtures/playlist_sessions.json @@ -0,0 +1,62 @@ +[ + { + "playlist_execution_id": "active-exec-0001-aaaa", + "short_id": "active-e", + "first_run_id": 201, + "created_at": "2026-06-12T02:00:00+00:00", + "test_statuses": [ + { + "test_procedure_id": "ALL-01", + "run_id": 201, + "status": "finalised", + "all_criteria_met": true, + "has_artifacts": true + }, + { + "test_procedure_id": "ALL-02", + "run_id": 202, + "status": "started", + "all_criteria_met": null, + "has_artifacts": false + }, + { + "test_procedure_id": "ALL-03", + "run_id": 203, + "status": "initialised", + "all_criteria_met": null, + "has_artifacts": false + } + ], + "is_active": true + }, + { + "playlist_execution_id": "past-exec-0002-bbbb", + "short_id": "past-exe", + "first_run_id": 150, + "created_at": "2026-06-10T08:00:00+00:00", + "test_statuses": [ + { + "test_procedure_id": "ALL-01", + "run_id": 150, + "status": "finalised", + "all_criteria_met": true, + "has_artifacts": true + }, + { + "test_procedure_id": "ALL-02", + "run_id": 151, + "status": "finalised", + "all_criteria_met": false, + "has_artifacts": true + }, + { + "test_procedure_id": "ALL-03", + "run_id": 152, + "status": "skipped", + "all_criteria_met": null, + "has_artifacts": false + } + ], + "is_active": false + } +] diff --git a/frontend/fixtures/playlist_tests.json b/frontend/fixtures/playlist_tests.json new file mode 100644 index 0000000..449a12c --- /dev/null +++ b/frontend/fixtures/playlist_tests.json @@ -0,0 +1,505 @@ +{ + "tests_by_category": { + "Registration": [ + { + "id": "ALL-01", + "description": "Discovery with Out-of-Band Registration", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-02", + "description": "Discovery with In-Band Registration", + "classes": ["A"] + }, + { + "id": "ALL-03", + "description": "Connection Point registration", + "classes": ["C"] + }, + { + "id": "ALL-03-REJ", + "description": "Client rejection of incorrect PIN", + "classes": ["A"] + }, + { + "id": "ALL-04", + "description": "Client Registration and PIN Validation", + "classes": ["A"] + }, + { + "id": "ALL-05", + "description": "Client Response to Lack of RegistrationLink", + "classes": ["A"] + } + ], + "Monitoring": [ + { + "id": "ALL-06", + "description": "Individual Readings", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-07", + "description": "Connection Status", + "classes": ["A"] + }, + { + "id": "ALL-08", + "description": "Operational Mode Status", + "classes": ["A"] + }, + { + "id": "ALL-09", + "description": "Capabilities and Settings", + "classes": ["A"] + }, + { + "id": "ALL-10", + "description": "Update telemetry post rates", + "classes": ["A", "DR-A"] + }, + { + "id": "MUL-01", + "description": "Returning DERStatus Values for Multiple DER", + "classes": ["M"] + }, + { + "id": "MUL-02", + "description": "Reporting Aggregated Telemetry for Multiple DER", + "classes": ["M"] + }, + { + "id": "MUL-03", + "description": "Validate DERCapability and DERSettings For Multiple DER", + "classes": ["M"] + }, + { + "id": "STO-01", + "description": "Individual readings - storage", + "classes": ["STO"] + }, + { + "id": "STO-02", + "description": "Capabilities and settings - storage", + "classes": ["STO"] + }, + { + "id": "STO-04", + "description": "Individual readings - storage", + "classes": ["DER-STO"] + }, + { + "id": "STO-05", + "description": "Capabilities and settings - storage", + "classes": ["DER-STO"] + } + ], + "Control": [ + { + "id": "ALL-11", + "description": "Active Control \u2013 Energise / De-energise", + "classes": ["A"] + }, + { + "id": "ALL-12", + "description": "Active Control \u2013 Disconnect", + "classes": ["A"] + }, + { + "id": "ALL-13", + "description": "Default Controls \u2013 Ramp Rate", + "classes": ["A"] + }, + { + "id": "ALL-14", + "description": "Subscribe", + "classes": ["S-L", "S-G"] + }, + { + "id": "ALL-15", + "description": "Active Controls \u2013 Energize/de-energize", + "classes": ["S-L", "S-G"] + }, + { + "id": "ALL-16", + "description": "Active Controls \u2013 Disconnect", + "classes": ["S-L", "S-G"] + }, + { + "id": "ALL-17", + "description": "Default Controls \u2013 Ramp Rate", + "classes": ["S-L", "S-G"] + }, + { + "id": "ALL-18", + "description": "Control Responses", + "classes": ["A"] + }, + { + "id": "ALL-19", + "description": "Update Function Set Assignments Poll Rate", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-20", + "description": "Update DER Program Poll Rate", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-21", + "description": "Scheduling", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-22", + "description": "Randomisation", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-23", + "description": "Communication Loss", + "classes": ["A", "DR-A"] + }, + { + "id": "ALL-24", + "description": "Validation of Scaling Factors", + "classes": ["A"] + }, + { + "id": "ALL-25", + "description": "Active control ramp rates", + "classes": ["A"] + }, + { + "id": "ALL-25-EXT", + "description": "Extended operations", + "classes": ["A", "DR-A"] + }, + { + "id": "GEN-01", + "description": "Active Control \u2013 Export Limit", + "classes": ["G"] + }, + { + "id": "GEN-02", + "description": "Active Control \u2013 Generation Limit", + "classes": ["G"] + }, + { + "id": "GEN-03", + "description": "Default Control \u2013 Export Limit", + "classes": ["G"] + }, + { + "id": "GEN-04", + "description": "Default Control \u2013 Generation Limit", + "classes": ["G"] + }, + { + "id": "GEN-05", + "description": "Active Control \u2013 Export Limit", + "classes": ["S-G"] + }, + { + "id": "GEN-06", + "description": "Active Control \u2013 Generation Limit", + "classes": ["S-G"] + }, + { + "id": "GEN-07", + "description": "Default Controls \u2013 Export Limit", + "classes": ["S-G"] + }, + { + "id": "GEN-08", + "description": "Default Controls \u2013 Generation Limit", + "classes": ["S-G"] + }, + { + "id": "LOA-01", + "description": "Active Control \u2013 Import Limit", + "classes": ["L"] + }, + { + "id": "LOA-02", + "description": "Active Control \u2013 Load Limit", + "classes": ["L"] + }, + { + "id": "LOA-03", + "description": "Default Control \u2013 Import Limit", + "classes": ["L"] + }, + { + "id": "LOA-04", + "description": "Default Control \u2013 Load Limit", + "classes": ["L"] + }, + { + "id": "LOA-05", + "description": "Active Controls \u2013 Import Limit", + "classes": ["S-L"] + }, + { + "id": "LOA-06", + "description": "Active Controls \u2013 Load Limit", + "classes": ["S-L"] + }, + { + "id": "LOA-07", + "description": "Default Controls \u2013 Import Limit", + "classes": ["S-L"] + }, + { + "id": "LOA-08", + "description": "Default Controls \u2013 Load Limit", + "classes": ["S-L"] + }, + { + "id": "STO-03", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "classes": ["STO"] + }, + { + "id": "STO-06", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "classes": ["DER-STO"] + } + ], + "DER": [ + { + "id": "ALL-26", + "description": "De-energization of DER", + "classes": ["DER-A"] + }, + { + "id": "ALL-27", + "description": "Disconnection of DER", + "classes": ["DER-A"] + }, + { + "id": "ALL-28", + "description": "Response to Changing Ramp-Rates", + "classes": ["DER-A"] + }, + { + "id": "ALL-29", + "description": "Validate Operating Telemetry", + "classes": ["DER-A"] + }, + { + "id": "ALL-30", + "description": "Persisting Settings Through Reconnection", + "classes": ["DER-A"] + }, + { + "id": "GEN-09", + "description": "Response to Cancelled Export Control", + "classes": ["DER-G"] + }, + { + "id": "GEN-10", + "description": "Primacy Validation for Generators", + "classes": ["DER-G"] + }, + { + "id": "GEN-11", + "description": "Variable Export Limit", + "classes": ["DER-G"] + }, + { + "id": "GEN-12", + "description": "Variable Generation Limit", + "classes": ["DER-G"] + }, + { + "id": "GEN-13", + "description": "Tracking export-limit through variable load", + "classes": ["DER-G"] + }, + { + "id": "LOA-09", + "description": "Response to Cancelled Import Control", + "classes": ["DER-L"] + }, + { + "id": "LOA-10", + "description": "Primacy Validation for loads", + "classes": ["DER-L"] + }, + { + "id": "LOA-11", + "description": "Variable Import Limit", + "classes": ["DER-L"] + }, + { + "id": "LOA-12", + "description": "Variable Load Limit", + "classes": ["DER-L"] + }, + { + "id": "LOA-13", + "description": "Tracking import-limit through variable load", + "classes": ["DER-L"] + }, + { + "id": "ALT-ALL-29", + "description": "Validate Operating Telemetry (EVSE Alternate - import limits increased by 20%)", + "classes": ["DER-A-ALT"] + }, + { + "id": "ALT-LOA-13", + "description": "Tracking import-limit through variable load (EVSE Alternate - import limit increased by 20%)", + "classes": ["DER-L-ALT"] + } + ], + "Demand Response": [ + { + "id": "DRA-01", + "description": "Configuration", + "classes": ["DR-A"] + }, + { + "id": "DRA-02", + "description": "Disconnect Instruction", + "classes": ["DR-L", "DR-G"] + }, + { + "id": "DRD-01", + "description": "DRED operational instruction response", + "classes": ["DR-D"] + }, + { + "id": "DRL-01", + "description": "Load operational instructions", + "classes": ["DR-L"] + }, + { + "id": "DRG-01", + "description": "Generation operational instructions", + "classes": ["DR-G"] + } + ], + "Provisional": [ + { + "id": "P-01", + "description": "Provisional - Multiple EndDevice shared DERControls", + "classes": ["P-A"] + }, + { + "id": "P-02", + "description": "Provisional - EndDevice FunctionSetAssignmentList Changes", + "classes": ["P-A"] + } + ], + "Pricing": [ + { + "id": "PRC-01", + "description": "Pricing Streamlined Flow", + "classes": ["PRC"] + }, + { + "id": "PRC-02", + "description": "Validate Client Interpretation of Pricing", + "classes": ["PRC"] + }, + { + "id": "PRC-03", + "description": "Poll Rate Compliance", + "classes": ["PRC"] + }, + { + "id": "PRC-04", + "description": "TimeTariffInterval Cancellation", + "classes": ["PRC"] + }, + { + "id": "PRC-05", + "description": "Dynamic RateComponentList", + "classes": ["PRC"] + } + ] + }, + "classes": [ + { + "name": "A", + "description": "All clients managing DER (Excluding demand response)." + }, + { + "name": "G", + "description": "Clients managing generation-type or storage-type DER." + }, + { + "name": "L", + "description": "Clients managing load-type or storage-type DER." + }, + { + "name": "C", + "description": "Clients conforming with the optional ConnectionPoint extension." + }, + { + "name": "S-L", + "description": "Clients implementing Subscription/Notification functionality AND L class." + }, + { + "name": "S-G", + "description": "Clients implementing Subscription/Notification functionality AND G class." + }, + { + "name": "M", + "description": "Clients supporting management of sets of DER." + }, + { + "name": "DER-A", + "description": "All DER." + }, + { + "name": "DER-A-ALT", + "description": "Alternatives to specific DER-A tests (for specific DER)." + }, + { + "name": "DER-G", + "description": "All DER capable of generation." + }, + { + "name": "DER-L", + "description": "All DER capable of consumption." + }, + { + "name": "DER-L-ALT", + "description": "Alternatives to specific DER-L tests (for specific DER)." + }, + { + "name": "DR-A", + "description": "All clients managing demand response devices." + }, + { + "name": "DR-D", + "description": "Clients managing or incorporated into DRED demand response devices." + }, + { + "name": "DR-L", + "description": "Clients managing load-type or storage-type products with demand response capabilities." + }, + { + "name": "DR-G", + "description": "Clients managing generation-type or storage-type products with demand response capabilities." + }, + { + "name": "STO", + "description": "Clients conforming to the Annex G storage extensions." + }, + { + "name": "DER-STO", + "description": "DER conforming to the Annex G storage extensions." + }, + { + "name": "PRC", + "description": "Clients conforming to the Annex F pricing extensions." + }, + { + "name": "P-A", + "description": "Provisional tests drafted as part of community consultation." + } + ] +} diff --git a/frontend/fixtures/procedure_runs.json b/frontend/fixtures/procedure_runs.json new file mode 100644 index 0000000..f11ae38 --- /dev/null +++ b/frontend/fixtures/procedure_runs.json @@ -0,0 +1,70 @@ +{ + "total_pages": 1, + "total_items": 4, + "page_size": 100, + "current_page": 1, + "prev_page": null, + "next_page": null, + "items": [ + { + "run_id": 120, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/120", + "status": "finalised", + "all_criteria_met": true, + "created_at": "2026-06-10T03:15:00+00:00", + "finalised_at": "2026-06-10T04:00:00+00:00", + "is_device_cert": true, + "has_artifacts": true, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + }, + { + "run_id": 117, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/117", + "status": "finalised", + "all_criteria_met": false, + "created_at": "2026-06-09T22:10:00+00:00", + "finalised_at": "2026-06-09T22:55:00+00:00", + "is_device_cert": true, + "has_artifacts": true, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + }, + { + "run_id": 110, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/110", + "status": "initialised", + "all_criteria_met": null, + "created_at": "2026-06-08T10:30:00+00:00", + "finalised_at": null, + "is_device_cert": true, + "has_artifacts": false, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + }, + { + "run_id": 104, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/104", + "status": "finalised", + "all_criteria_met": null, + "created_at": "2026-06-07T08:00:00+00:00", + "finalised_at": "2026-06-07T09:00:00+00:00", + "is_device_cert": true, + "has_artifacts": false, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": ["A", "G"] + } + ] +} diff --git a/frontend/fixtures/procedure_summaries.json b/frontend/fixtures/procedure_summaries.json new file mode 100644 index 0000000..b7bc640 --- /dev/null +++ b/frontend/fixtures/procedure_summaries.json @@ -0,0 +1,1192 @@ +{ + "grouped_procedures": [ + { + "slug": "Registration", + "category": "Registration", + "summaries": [ + { + "test_procedure_id": "ALL-01", + "description": "Discovery with Out-of-Band Registration", + "category": "Registration", + "classes": ["A", "DR-A"], + "run_count": 3, + "latest_all_criteria_met": true, + "latest_run_status": 3, + "latest_run_id": 120, + "latest_run_timestamp": "2026-06-10T03:15:00+00:00", + "immediate_start": false + }, + { + "test_procedure_id": "ALL-02", + "description": "Discovery with In-Band Registration", + "category": "Registration", + "classes": ["A"], + "run_count": 1, + "latest_all_criteria_met": false, + "latest_run_status": 3, + "latest_run_id": 118, + "latest_run_timestamp": "2026-06-09T23:40:00+00:00", + "immediate_start": false + }, + { + "test_procedure_id": "ALL-03", + "description": "Connection Point registration", + "category": "Registration", + "classes": ["C"], + "run_count": 2, + "latest_all_criteria_met": null, + "latest_run_status": 2, + "latest_run_id": 123, + "latest_run_timestamp": "2026-06-11T01:05:00+00:00", + "immediate_start": false + }, + { + "test_procedure_id": "ALL-03-REJ", + "description": "Client rejection of incorrect PIN", + "category": "Registration", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-04", + "description": "Client Registration and PIN Validation", + "category": "Registration", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-05", + "description": "Client Response to Lack of RegistrationLink", + "category": "Registration", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "Monitoring", + "category": "Monitoring", + "summaries": [ + { + "test_procedure_id": "ALL-06", + "description": "Individual Readings", + "category": "Monitoring", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-07", + "description": "Connection Status", + "category": "Monitoring", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-08", + "description": "Operational Mode Status", + "category": "Monitoring", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-09", + "description": "Capabilities and Settings", + "category": "Monitoring", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-10", + "description": "Update telemetry post rates", + "category": "Monitoring", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "MUL-01", + "description": "Returning DERStatus Values for Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "MUL-02", + "description": "Reporting Aggregated Telemetry for Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "MUL-03", + "description": "Validate DERCapability and DERSettings For Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-01", + "description": "Individual readings - storage", + "category": "Monitoring", + "classes": ["STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-02", + "description": "Capabilities and settings - storage", + "category": "Monitoring", + "classes": ["STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-04", + "description": "Individual readings - storage", + "category": "Monitoring", + "classes": ["DER-STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-05", + "description": "Capabilities and settings - storage", + "category": "Monitoring", + "classes": ["DER-STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "Control", + "category": "Control", + "summaries": [ + { + "test_procedure_id": "ALL-11", + "description": "Active Control \u2013 Energise / De-energise", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-12", + "description": "Active Control \u2013 Disconnect", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-13", + "description": "Default Controls \u2013 Ramp Rate", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-14", + "description": "Subscribe", + "category": "Control", + "classes": ["S-L", "S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-15", + "description": "Active Controls \u2013 Energize/de-energize", + "category": "Control", + "classes": ["S-L", "S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-16", + "description": "Active Controls \u2013 Disconnect", + "category": "Control", + "classes": ["S-L", "S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-17", + "description": "Default Controls \u2013 Ramp Rate", + "category": "Control", + "classes": ["S-L", "S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-18", + "description": "Control Responses", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-19", + "description": "Update Function Set Assignments Poll Rate", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-20", + "description": "Update DER Program Poll Rate", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-21", + "description": "Scheduling", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-22", + "description": "Randomisation", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-23", + "description": "Communication Loss", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-24", + "description": "Validation of Scaling Factors", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-25", + "description": "Active control ramp rates", + "category": "Control", + "classes": ["A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-25-EXT", + "description": "Extended operations", + "category": "Control", + "classes": ["A", "DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-01", + "description": "Active Control \u2013 Export Limit", + "category": "Control", + "classes": ["G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-02", + "description": "Active Control \u2013 Generation Limit", + "category": "Control", + "classes": ["G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-03", + "description": "Default Control \u2013 Export Limit", + "category": "Control", + "classes": ["G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-04", + "description": "Default Control \u2013 Generation Limit", + "category": "Control", + "classes": ["G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-05", + "description": "Active Control \u2013 Export Limit", + "category": "Control", + "classes": ["S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-06", + "description": "Active Control \u2013 Generation Limit", + "category": "Control", + "classes": ["S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-07", + "description": "Default Controls \u2013 Export Limit", + "category": "Control", + "classes": ["S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-08", + "description": "Default Controls \u2013 Generation Limit", + "category": "Control", + "classes": ["S-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-01", + "description": "Active Control \u2013 Import Limit", + "category": "Control", + "classes": ["L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-02", + "description": "Active Control \u2013 Load Limit", + "category": "Control", + "classes": ["L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-03", + "description": "Default Control \u2013 Import Limit", + "category": "Control", + "classes": ["L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-04", + "description": "Default Control \u2013 Load Limit", + "category": "Control", + "classes": ["L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-05", + "description": "Active Controls \u2013 Import Limit", + "category": "Control", + "classes": ["S-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-06", + "description": "Active Controls \u2013 Load Limit", + "category": "Control", + "classes": ["S-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-07", + "description": "Default Controls \u2013 Import Limit", + "category": "Control", + "classes": ["S-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-08", + "description": "Default Controls \u2013 Load Limit", + "category": "Control", + "classes": ["S-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-03", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "category": "Control", + "classes": ["STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "STO-06", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "category": "Control", + "classes": ["DER-STO"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "DER", + "category": "DER", + "summaries": [ + { + "test_procedure_id": "ALL-26", + "description": "De-energization of DER", + "category": "DER", + "classes": ["DER-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-27", + "description": "Disconnection of DER", + "category": "DER", + "classes": ["DER-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-28", + "description": "Response to Changing Ramp-Rates", + "category": "DER", + "classes": ["DER-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-29", + "description": "Validate Operating Telemetry", + "category": "DER", + "classes": ["DER-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALL-30", + "description": "Persisting Settings Through Reconnection", + "category": "DER", + "classes": ["DER-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-09", + "description": "Response to Cancelled Export Control", + "category": "DER", + "classes": ["DER-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-10", + "description": "Primacy Validation for Generators", + "category": "DER", + "classes": ["DER-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-11", + "description": "Variable Export Limit", + "category": "DER", + "classes": ["DER-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-12", + "description": "Variable Generation Limit", + "category": "DER", + "classes": ["DER-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "GEN-13", + "description": "Tracking export-limit through variable load", + "category": "DER", + "classes": ["DER-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-09", + "description": "Response to Cancelled Import Control", + "category": "DER", + "classes": ["DER-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-10", + "description": "Primacy Validation for loads", + "category": "DER", + "classes": ["DER-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-11", + "description": "Variable Import Limit", + "category": "DER", + "classes": ["DER-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-12", + "description": "Variable Load Limit", + "category": "DER", + "classes": ["DER-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "LOA-13", + "description": "Tracking import-limit through variable load", + "category": "DER", + "classes": ["DER-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALT-ALL-29", + "description": "Validate Operating Telemetry (EVSE Alternate - import limits increased by 20%)", + "category": "DER", + "classes": ["DER-A-ALT"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "ALT-LOA-13", + "description": "Tracking import-limit through variable load (EVSE Alternate - import limit increased by 20%)", + "category": "DER", + "classes": ["DER-L-ALT"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "Demand-Response", + "category": "Demand Response", + "summaries": [ + { + "test_procedure_id": "DRA-01", + "description": "Configuration", + "category": "Demand Response", + "classes": ["DR-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "DRA-02", + "description": "Disconnect Instruction", + "category": "Demand Response", + "classes": ["DR-L", "DR-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "DRD-01", + "description": "DRED operational instruction response", + "category": "Demand Response", + "classes": ["DR-D"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "DRL-01", + "description": "Load operational instructions", + "category": "Demand Response", + "classes": ["DR-L"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "DRG-01", + "description": "Generation operational instructions", + "category": "Demand Response", + "classes": ["DR-G"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "Provisional", + "category": "Provisional", + "summaries": [ + { + "test_procedure_id": "P-01", + "description": "Provisional - Multiple EndDevice shared DERControls", + "category": "Provisional", + "classes": ["P-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "P-02", + "description": "Provisional - EndDevice FunctionSetAssignmentList Changes", + "category": "Provisional", + "classes": ["P-A"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + }, + { + "slug": "Pricing", + "category": "Pricing", + "summaries": [ + { + "test_procedure_id": "PRC-01", + "description": "Pricing Streamlined Flow", + "category": "Pricing", + "classes": ["PRC"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "PRC-02", + "description": "Validate Client Interpretation of Pricing", + "category": "Pricing", + "classes": ["PRC"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "PRC-03", + "description": "Poll Rate Compliance", + "category": "Pricing", + "classes": ["PRC"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "PRC-04", + "description": "TimeTariffInterval Cancellation", + "category": "Pricing", + "classes": ["PRC"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + }, + { + "test_procedure_id": "PRC-05", + "description": "Dynamic RateComponentList", + "category": "Pricing", + "classes": ["PRC"], + "run_count": 0, + "latest_all_criteria_met": null, + "latest_run_status": null, + "latest_run_id": null, + "latest_run_timestamp": null, + "immediate_start": false + } + ] + } + ], + "classes": [ + { + "name": "A", + "description": "All clients managing DER (Excluding demand response)." + }, + { + "name": "G", + "description": "Clients managing generation-type or storage-type DER." + }, + { + "name": "L", + "description": "Clients managing load-type or storage-type DER." + }, + { + "name": "C", + "description": "Clients conforming with the optional ConnectionPoint extension." + }, + { + "name": "S-L", + "description": "Clients implementing Subscription/Notification functionality AND L class." + }, + { + "name": "S-G", + "description": "Clients implementing Subscription/Notification functionality AND G class." + }, + { + "name": "M", + "description": "Clients supporting management of sets of DER." + }, + { + "name": "DER-A", + "description": "All DER." + }, + { + "name": "DER-A-ALT", + "description": "Alternatives to specific DER-A tests (for specific DER)." + }, + { + "name": "DER-G", + "description": "All DER capable of generation." + }, + { + "name": "DER-L", + "description": "All DER capable of consumption." + }, + { + "name": "DER-L-ALT", + "description": "Alternatives to specific DER-L tests (for specific DER)." + }, + { + "name": "DR-A", + "description": "All clients managing demand response devices." + }, + { + "name": "DR-D", + "description": "Clients managing or incorporated into DRED demand response devices." + }, + { + "name": "DR-L", + "description": "Clients managing load-type or storage-type products with demand response capabilities." + }, + { + "name": "DR-G", + "description": "Clients managing generation-type or storage-type products with demand response capabilities." + }, + { + "name": "STO", + "description": "Clients conforming to the Annex G storage extensions." + }, + { + "name": "DER-STO", + "description": "DER conforming to the Annex G storage extensions." + }, + { + "name": "PRC", + "description": "Clients conforming to the Annex F pricing extensions." + }, + { + "name": "P-A", + "description": "Provisional tests drafted as part of community consultation." + } + ], + "classes_by_test": { + "ALL-01": ["A", "DR-A"], + "ALL-02": ["A"], + "ALL-03": ["C"], + "ALL-03-REJ": ["A"], + "ALL-04": ["A"], + "ALL-05": ["A"], + "ALL-06": ["A", "DR-A"], + "ALL-07": ["A"], + "ALL-08": ["A"], + "ALL-09": ["A"], + "ALL-10": ["A", "DR-A"], + "ALL-11": ["A"], + "ALL-12": ["A"], + "ALL-13": ["A"], + "ALL-14": ["S-L", "S-G"], + "ALL-15": ["S-L", "S-G"], + "ALL-16": ["S-L", "S-G"], + "ALL-17": ["S-L", "S-G"], + "ALL-18": ["A"], + "ALL-19": ["A", "DR-A"], + "ALL-20": ["A", "DR-A"], + "ALL-21": ["A", "DR-A"], + "ALL-22": ["A", "DR-A"], + "ALL-23": ["A", "DR-A"], + "ALL-24": ["A"], + "ALL-25": ["A"], + "ALL-25-EXT": ["A", "DR-A"], + "ALL-26": ["DER-A"], + "ALL-27": ["DER-A"], + "ALL-28": ["DER-A"], + "ALL-29": ["DER-A"], + "ALL-30": ["DER-A"], + "DRA-01": ["DR-A"], + "DRA-02": ["DR-L", "DR-G"], + "DRD-01": ["DR-D"], + "DRL-01": ["DR-L"], + "DRG-01": ["DR-G"], + "GEN-01": ["G"], + "GEN-02": ["G"], + "GEN-03": ["G"], + "GEN-04": ["G"], + "GEN-05": ["S-G"], + "GEN-06": ["S-G"], + "GEN-07": ["S-G"], + "GEN-08": ["S-G"], + "GEN-09": ["DER-G"], + "GEN-10": ["DER-G"], + "GEN-11": ["DER-G"], + "GEN-12": ["DER-G"], + "GEN-13": ["DER-G"], + "LOA-01": ["L"], + "LOA-02": ["L"], + "LOA-03": ["L"], + "LOA-04": ["L"], + "LOA-05": ["S-L"], + "LOA-06": ["S-L"], + "LOA-07": ["S-L"], + "LOA-08": ["S-L"], + "LOA-09": ["DER-L"], + "LOA-10": ["DER-L"], + "LOA-11": ["DER-L"], + "LOA-12": ["DER-L"], + "LOA-13": ["DER-L"], + "MUL-01": ["M"], + "MUL-02": ["M"], + "MUL-03": ["M"], + "P-01": ["P-A"], + "P-02": ["P-A"], + "ALT-ALL-29": ["DER-A-ALT"], + "ALT-LOA-13": ["DER-L-ALT"], + "STO-01": ["STO"], + "STO-02": ["STO"], + "STO-03": ["STO"], + "STO-04": ["DER-STO"], + "STO-05": ["DER-STO"], + "STO-06": ["DER-STO"], + "PRC-01": ["PRC"], + "PRC-02": ["PRC"], + "PRC-03": ["PRC"], + "PRC-04": ["PRC"], + "PRC-05": ["PRC"] + }, + "classes_by_category": { + "Registration": ["A", "C", "DR-A"], + "Monitoring": ["A", "DER-STO", "DR-A", "M", "STO"], + "Control": ["A", "DER-STO", "DR-A", "G", "L", "S-G", "S-L", "STO"], + "DER": ["DER-A", "DER-A-ALT", "DER-G", "DER-L", "DER-L-ALT"], + "Demand-Response": ["DR-A", "DR-D", "DR-G", "DR-L"], + "Provisional": ["P-A"], + "Pricing": ["PRC"] + } +} diff --git a/frontend/fixtures/procedure_yaml.json b/frontend/fixtures/procedure_yaml.json new file mode 100644 index 0000000..8b185db --- /dev/null +++ b/frontend/fixtures/procedure_yaml.json @@ -0,0 +1,4 @@ +{ + "test_procedure_id": "ALL-01", + "yaml": "Description: Discovery with Out-of-Band Registration\nCategory: Registration\nClasses:\n - A\n - DR-A\n\nTargetVersions:\n - v1.2\n - v1.3-beta/storage\n - v1.3\n\nPreconditions:\n immediate_start: true # There will be no \"init\" phase - all interactions will be immediately logged against the test\n init_actions:\n - type: set-comms-rate\n parameters:\n dcap_poll_seconds: 60\n edev_list_poll_seconds: 60\n fsa_list_poll_seconds: 60\n der_list_poll_seconds: 60\n derp_list_poll_seconds: 60\n mup_post_seconds: 60\n \n actions:\n - type: register-end-device\n parameters:\n registration_pin: 11111 # With checksum is 111115\n aggregator_lfdi: 3E4F45AB31EDFE5B67E343E5E4562E3100000000 # Trailing PEN digits set to 0\n aggregator_sfdi: 16726121139\n \nCriteria:\n checks:\n - type: all-steps-complete\n parameters: {}\n \nSteps:\n # (b, c, d)\n GET-DCAP:\n instructions:\n - \"An EndDevice has already been registered (out of band) with PIN 111115\"\n - \"If you are connecting using an Aggregator client/certificate the out of band registered EndDevice will have the following:\"\n - \"LFDI: 3E4F45AB31EDFE5B67E343E5E4562E31XXXXXXXX (The X values will match your client PEN)\"\n - \"SFDI: 16726121139\"\n event:\n type: GET-request-received\n parameters:\n endpoint: /dcap\n actions:\n - type: enable-steps\n parameters:\n steps:\n - GET-EDEV-LIST\n - GET-TM\n - GET-DER\n - type: remove-steps\n parameters:\n steps:\n - GET-DCAP\n\n # (e, f, g)\n GET-EDEV-LIST:\n event:\n type: GET-request-received\n parameters:\n endpoint: /edev\n actions:\n - type: remove-steps\n parameters:\n steps:\n - GET-EDEV-LIST\n\n # (h, i, j)\n GET-TM:\n event:\n type: GET-request-received\n parameters:\n endpoint: /tm\n actions:\n - type: remove-steps\n parameters:\n steps:\n - GET-TM\n\n # (k, l, m)\n GET-DER:\n event:\n type: GET-request-received\n parameters:\n endpoint: /edev/1/der\n actions:\n - type: remove-steps\n parameters:\n steps:\n - GET-DER\n\n" +} diff --git a/frontend/fixtures/procedures.json b/frontend/fixtures/procedures.json new file mode 100644 index 0000000..67d96b2 --- /dev/null +++ b/frontend/fixtures/procedures.json @@ -0,0 +1,571 @@ +{ + "procedures": [ + { + "test_procedure_id": "ALL-01", + "description": "Discovery with Out-of-Band Registration", + "category": "Registration", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-02", + "description": "Discovery with In-Band Registration", + "category": "Registration", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-03", + "description": "Connection Point registration", + "category": "Registration", + "classes": ["C"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-03-REJ", + "description": "Client rejection of incorrect PIN", + "category": "Registration", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-04", + "description": "Client Registration and PIN Validation", + "category": "Registration", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-05", + "description": "Client Response to Lack of RegistrationLink", + "category": "Registration", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-06", + "description": "Individual Readings", + "category": "Monitoring", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-07", + "description": "Connection Status", + "category": "Monitoring", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-08", + "description": "Operational Mode Status", + "category": "Monitoring", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-09", + "description": "Capabilities and Settings", + "category": "Monitoring", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-10", + "description": "Update telemetry post rates", + "category": "Monitoring", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-11", + "description": "Active Control \u2013 Energise / De-energise", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-12", + "description": "Active Control \u2013 Disconnect", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-13", + "description": "Default Controls \u2013 Ramp Rate", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-14", + "description": "Subscribe", + "category": "Control", + "classes": ["S-L", "S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-15", + "description": "Active Controls \u2013 Energize/de-energize", + "category": "Control", + "classes": ["S-L", "S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-16", + "description": "Active Controls \u2013 Disconnect", + "category": "Control", + "classes": ["S-L", "S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-17", + "description": "Default Controls \u2013 Ramp Rate", + "category": "Control", + "classes": ["S-L", "S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-18", + "description": "Control Responses", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-19", + "description": "Update Function Set Assignments Poll Rate", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-20", + "description": "Update DER Program Poll Rate", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-21", + "description": "Scheduling", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-22", + "description": "Randomisation", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-23", + "description": "Communication Loss", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-24", + "description": "Validation of Scaling Factors", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-25", + "description": "Active control ramp rates", + "category": "Control", + "classes": ["A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-25-EXT", + "description": "Extended operations", + "category": "Control", + "classes": ["A", "DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-26", + "description": "De-energization of DER", + "category": "DER", + "classes": ["DER-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-27", + "description": "Disconnection of DER", + "category": "DER", + "classes": ["DER-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-28", + "description": "Response to Changing Ramp-Rates", + "category": "DER", + "classes": ["DER-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-29", + "description": "Validate Operating Telemetry", + "category": "DER", + "classes": ["DER-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALL-30", + "description": "Persisting Settings Through Reconnection", + "category": "DER", + "classes": ["DER-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "DRA-01", + "description": "Configuration", + "category": "Demand Response", + "classes": ["DR-A"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "DRA-02", + "description": "Disconnect Instruction", + "category": "Demand Response", + "classes": ["DR-L", "DR-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "DRD-01", + "description": "DRED operational instruction response", + "category": "Demand Response", + "classes": ["DR-D"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "DRL-01", + "description": "Load operational instructions", + "category": "Demand Response", + "classes": ["DR-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "DRG-01", + "description": "Generation operational instructions", + "category": "Demand Response", + "classes": ["DR-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-01", + "description": "Active Control \u2013 Export Limit", + "category": "Control", + "classes": ["G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-02", + "description": "Active Control \u2013 Generation Limit", + "category": "Control", + "classes": ["G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-03", + "description": "Default Control \u2013 Export Limit", + "category": "Control", + "classes": ["G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-04", + "description": "Default Control \u2013 Generation Limit", + "category": "Control", + "classes": ["G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-05", + "description": "Active Control \u2013 Export Limit", + "category": "Control", + "classes": ["S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-06", + "description": "Active Control \u2013 Generation Limit", + "category": "Control", + "classes": ["S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-07", + "description": "Default Controls \u2013 Export Limit", + "category": "Control", + "classes": ["S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-08", + "description": "Default Controls \u2013 Generation Limit", + "category": "Control", + "classes": ["S-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-09", + "description": "Response to Cancelled Export Control", + "category": "DER", + "classes": ["DER-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-10", + "description": "Primacy Validation for Generators", + "category": "DER", + "classes": ["DER-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-11", + "description": "Variable Export Limit", + "category": "DER", + "classes": ["DER-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-12", + "description": "Variable Generation Limit", + "category": "DER", + "classes": ["DER-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "GEN-13", + "description": "Tracking export-limit through variable load", + "category": "DER", + "classes": ["DER-G"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-01", + "description": "Active Control \u2013 Import Limit", + "category": "Control", + "classes": ["L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-02", + "description": "Active Control \u2013 Load Limit", + "category": "Control", + "classes": ["L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-03", + "description": "Default Control \u2013 Import Limit", + "category": "Control", + "classes": ["L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-04", + "description": "Default Control \u2013 Load Limit", + "category": "Control", + "classes": ["L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-05", + "description": "Active Controls \u2013 Import Limit", + "category": "Control", + "classes": ["S-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-06", + "description": "Active Controls \u2013 Load Limit", + "category": "Control", + "classes": ["S-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-07", + "description": "Default Controls \u2013 Import Limit", + "category": "Control", + "classes": ["S-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-08", + "description": "Default Controls \u2013 Load Limit", + "category": "Control", + "classes": ["S-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-09", + "description": "Response to Cancelled Import Control", + "category": "DER", + "classes": ["DER-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-10", + "description": "Primacy Validation for loads", + "category": "DER", + "classes": ["DER-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-11", + "description": "Variable Import Limit", + "category": "DER", + "classes": ["DER-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-12", + "description": "Variable Load Limit", + "category": "DER", + "classes": ["DER-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "LOA-13", + "description": "Tracking import-limit through variable load", + "category": "DER", + "classes": ["DER-L"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "MUL-01", + "description": "Returning DERStatus Values for Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "MUL-02", + "description": "Reporting Aggregated Telemetry for Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "MUL-03", + "description": "Validate DERCapability and DERSettings For Multiple DER", + "category": "Monitoring", + "classes": ["M"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "P-01", + "description": "Provisional - Multiple EndDevice shared DERControls", + "category": "Provisional", + "classes": ["P-A"], + "target_versions": ["v1.2", "v1.3", "v1.3-beta/storage"] + }, + { + "test_procedure_id": "P-02", + "description": "Provisional - EndDevice FunctionSetAssignmentList Changes", + "category": "Provisional", + "classes": ["P-A"], + "target_versions": ["v1.2", "v1.3", "v1.3-beta/storage"] + }, + { + "test_procedure_id": "ALT-ALL-29", + "description": "Validate Operating Telemetry (EVSE Alternate - import limits increased by 20%)", + "category": "DER", + "classes": ["DER-A-ALT"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "ALT-LOA-13", + "description": "Tracking import-limit through variable load (EVSE Alternate - import limit increased by 20%)", + "category": "DER", + "classes": ["DER-L-ALT"], + "target_versions": ["v1.2", "v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-01", + "description": "Individual readings - storage", + "category": "Monitoring", + "classes": ["STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-02", + "description": "Capabilities and settings - storage", + "category": "Monitoring", + "classes": ["STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-03", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "category": "Control", + "classes": ["STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-04", + "description": "Individual readings - storage", + "category": "Monitoring", + "classes": ["DER-STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-05", + "description": "Capabilities and settings - storage", + "category": "Monitoring", + "classes": ["DER-STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "STO-06", + "description": "Storage control with export limits - opModStorageTargetW with opModExpLimW", + "category": "Control", + "classes": ["DER-STO"], + "target_versions": ["v1.3-beta/storage", "v1.3"] + }, + { + "test_procedure_id": "PRC-01", + "description": "Pricing Streamlined Flow", + "category": "Pricing", + "classes": ["PRC"], + "target_versions": ["v1.3"] + }, + { + "test_procedure_id": "PRC-02", + "description": "Validate Client Interpretation of Pricing", + "category": "Pricing", + "classes": ["PRC"], + "target_versions": ["v1.3"] + }, + { + "test_procedure_id": "PRC-03", + "description": "Poll Rate Compliance", + "category": "Pricing", + "classes": ["PRC"], + "target_versions": ["v1.3"] + }, + { + "test_procedure_id": "PRC-04", + "description": "TimeTariffInterval Cancellation", + "category": "Pricing", + "classes": ["PRC"], + "target_versions": ["v1.3"] + }, + { + "test_procedure_id": "PRC-05", + "description": "Dynamic RateComponentList", + "category": "Pricing", + "classes": ["PRC"], + "target_versions": ["v1.3"] + } + ] +} diff --git a/frontend/fixtures/run_groups.json b/frontend/fixtures/run_groups.json new file mode 100644 index 0000000..0ff8c28 --- /dev/null +++ b/frontend/fixtures/run_groups.json @@ -0,0 +1,34 @@ +{ + "total_pages": 1, + "total_items": 2, + "page_size": 100, + "current_page": 1, + "prev_page": null, + "next_page": null, + "items": [ + { + "run_group_id": 1, + "name": "Battery Mk1", + "csip_aus_version": "v1.2", + "created_at": "2026-05-01T00:00:00+00:00", + "is_static_uri": true, + "static_uri": "https://example.com/dcap/static/1", + "is_device_cert": true, + "certificate_id": 11, + "certificate_created_at": "2026-05-01T00:05:00+00:00", + "total_runs": 6 + }, + { + "run_group_id": 2, + "name": "Battery Mk2", + "csip_aus_version": "v1.3-beta/storage", + "created_at": "2026-06-01T00:00:00+00:00", + "is_static_uri": false, + "static_uri": null, + "is_device_cert": false, + "certificate_id": 12, + "certificate_created_at": "2026-06-01T00:05:00+00:00", + "total_runs": 0 + } + ] +} diff --git a/frontend/fixtures/run_request_details.json b/frontend/fixtures/run_request_details.json new file mode 100644 index 0000000..99fcb29 --- /dev/null +++ b/frontend/fixtures/run_request_details.json @@ -0,0 +1,5 @@ +{ + "request_id": 2, + "request": "PUT /edev/1/ders/1/dercap HTTP/1.1\nHost: cactus.example\nContent-Type: application/sep+xml\n\n", + "response": "HTTP/1.1 400 Bad Request\nContent-Type: application/sep+xml\n\nElement rtgMaxW is not expected" +} diff --git a/frontend/fixtures/run_status_runner.json b/frontend/fixtures/run_status_runner.json new file mode 100644 index 0000000..321f4bf --- /dev/null +++ b/frontend/fixtures/run_status_runner.json @@ -0,0 +1,182 @@ +{ + "timestamp_status": "2026-06-17T05:03:00+00:00", + "timestamp_initialise": "2026-06-17T04:58:00+00:00", + "timestamp_start": "2026-06-17T05:00:00+00:00", + "status_summary": "Test in progress - 1 of 3 steps complete", + "last_client_interaction": { + "interaction_type": "Request Proxied", + "timestamp": "2026-06-17T05:02:55+00:00" + }, + "csip_aus_version": "v1.2", + "log_envoy": "2026-06-17 05:00:10 INFO envoy GET /edev -> 200\n2026-06-17 05:01:30 WARN envoy PUT /edev/1/ders/1/dercap -> 400 (schema invalid)\n2026-06-17 05:02:55 INFO envoy PUT /edev/1/ders/1/ders -> 204", + "criteria": [ + { + "success": true, + "type": "response-contains-edev", + "details": "EndDevice was registered" + }, + { + "success": false, + "type": "der-settings-updated", + "details": "Awaiting DERSettings update" + } + ], + "precondition_checks": [ + { + "success": true, + "type": "edevice-registered", + "details": "EndDevice 1 registered" + }, + { + "success": true, + "type": "der-present", + "details": "DER discovered on the EndDevice" + } + ], + "instructions": [ + "Ensure the device is powered on and connected to the utility server", + "Confirm the inverter is exporting before proceeding" + ], + "test_procedure_name": "ALL-01", + "step_status": { + "GET-EDEV": { + "started_at": "2026-06-17T05:00:05+00:00", + "completed_at": "2026-06-17T05:00:20+00:00", + "event_status": null + }, + "POST-DERSETTINGS": { + "started_at": "2026-06-17T05:00:25+00:00", + "completed_at": null, + "event_status": "Waiting on signal to proceed" + }, + "POST-DERSTATUS": { + "started_at": null, + "completed_at": null, + "event_status": null + } + }, + "request_history": [ + { + "url": "https://cactus.example/edev", + "path": "/edev", + "method": "GET", + "status": 200, + "timestamp": "2026-06-17T05:00:10+00:00", + "step_name": "GET-EDEV", + "body_xml_errors": [], + "request_id": 1 + }, + { + "url": "https://cactus.example/edev/1/ders/1/dercap", + "path": "/edev/1/ders/1/dercap", + "method": "PUT", + "status": 400, + "timestamp": "2026-06-17T05:01:30+00:00", + "step_name": "POST-DERSETTINGS", + "body_xml_errors": [ + "Element 'rtgMaxW': This element is not expected. Expected is ( rtgMaxVA )." + ], + "request_id": 2 + }, + { + "url": "https://cactus.example/edev/1/ders/1/ders", + "path": "/edev/1/ders/1/ders", + "method": "PUT", + "status": 204, + "timestamp": "2026-06-17T05:02:55+00:00", + "step_name": "Unmatched", + "body_xml_errors": [], + "request_id": 3 + } + ], + "timeline": { + "data_streams": [ + { + "label": "Active Power", + "data": [ + { + "watts": 0, + "offset": "0s" + }, + { + "watts": 1500, + "offset": "0m20s" + }, + { + "watts": 3200, + "offset": "0m40s" + }, + { + "watts": 3200, + "offset": "1m0s" + } + ], + "stepped": false, + "dashed": false + }, + { + "label": "Limit", + "data": [ + { + "watts": 5000, + "offset": "0s" + }, + { + "watts": 5000, + "offset": "1m0s" + } + ], + "stepped": true, + "dashed": true + } + ], + "set_max_w": 5000, + "now_offset": "1m0s" + }, + "end_device_metadata": { + "edevid": 1, + "lfdi": "0x48BC3A2F9D14E7B6C0A1", + "sfdi": 123456789, + "nmi": "6123456789", + "aggregator_id": null, + "set_max_w": 5000, + "doe_modes_enabled": 3, + "device_category": 0, + "timezone_id": "Australia/Brisbane", + "der_capability": { + "der_type": "COMBINED_PV_AND_STORAGE", + "modes_supported": ["OP_MOD_FIXED_W", "OP_MOD_VOLT_VAR"], + "max_w": 5000, + "max_va": 5500, + "max_var": 3000, + "max_var_neg": 3000, + "max_a": 22, + "max_charge_rate_w": 5000, + "max_discharge_rate_w": 5000, + "max_wh": 13500, + "doe_modes_supported": ["OP_MOD_EXPORT_LIMIT_W", "OP_MOD_IMPORT_LIMIT_W"] + }, + "der_settings": { + "modes_enabled": ["OP_MOD_FIXED_W"], + "max_w": 5000, + "max_va": 5500, + "max_var": 3000, + "max_var_neg": 3000, + "max_charge_rate_w": 5000, + "max_discharge_rate_w": 5000, + "grad_w": 100, + "doe_modes_enabled": ["OP_MOD_EXPORT_LIMIT_W"] + }, + "der_status": { + "alarm_status": [], + "inverter_status": "NORMAL", + "operational_mode_status": "GRID_FOLLOWING", + "generator_connect_status": ["CONNECTED"], + "storage_connect_status": ["CONNECTED"], + "storage_mode_status": "CHARGING", + "state_of_charge_status": 62, + "local_control_mode_status": "REMOTE", + "manufacturer_status": "OK" + } + } +} diff --git a/frontend/fixtures/run_status_runner_initialised.json b/frontend/fixtures/run_status_runner_initialised.json new file mode 100644 index 0000000..d2600ef --- /dev/null +++ b/frontend/fixtures/run_status_runner_initialised.json @@ -0,0 +1,26 @@ +{ + "timestamp_status": "2026-06-17T04:59:00+00:00", + "timestamp_initialise": "2026-06-17T04:58:00+00:00", + "timestamp_start": null, + "status_summary": "Awaiting start", + "last_client_interaction": { + "interaction_type": "Test Procedure Initialised", + "timestamp": "2026-06-17T04:58:00+00:00" + }, + "csip_aus_version": "v1.2", + "log_envoy": "No logs recorded", + "criteria": [], + "precondition_checks": [ + { + "success": true, + "type": "edevice-registered", + "details": "EndDevice 1 registered" + } + ], + "instructions": ["Ensure the device is powered on before starting the test"], + "test_procedure_name": "ALL-01", + "step_status": null, + "request_history": [], + "timeline": null, + "end_device_metadata": null +} diff --git a/frontend/fixtures/run_status_shell.json b/frontend/fixtures/run_status_shell.json new file mode 100644 index 0000000..d6c7e9f --- /dev/null +++ b/frontend/fixtures/run_status_shell.json @@ -0,0 +1,21 @@ +{ + "run": { + "run_id": 123, + "test_procedure_id": "ALL-08", + "test_url": "https://cactus.example/run/123", + "status": "started", + "all_criteria_met": null, + "created_at": "2026-06-17T05:00:00Z", + "finalised_at": null, + "is_device_cert": false, + "has_artifacts": false, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": null + }, + "run_is_live": true, + "is_immediate_start": false, + "playlist_name": null, + "playlist_runs": null +} diff --git a/frontend/fixtures/run_status_shell_finalised.json b/frontend/fixtures/run_status_shell_finalised.json new file mode 100644 index 0000000..aa48e26 --- /dev/null +++ b/frontend/fixtures/run_status_shell_finalised.json @@ -0,0 +1,21 @@ +{ + "run": { + "run_id": 120, + "test_procedure_id": "ALL-08", + "test_url": "https://cactus.example/run/120", + "status": "finalised", + "all_criteria_met": true, + "created_at": "2026-06-17T04:00:00Z", + "finalised_at": "2026-06-17T04:30:00Z", + "is_device_cert": false, + "has_artifacts": true, + "playlist_execution_id": null, + "playlist_order": null, + "playlist_runs": null, + "classes": null + }, + "run_is_live": false, + "is_immediate_start": false, + "playlist_name": null, + "playlist_runs": null +} diff --git a/frontend/fixtures/run_status_shell_playlist.json b/frontend/fixtures/run_status_shell_playlist.json new file mode 100644 index 0000000..ca51aec --- /dev/null +++ b/frontend/fixtures/run_status_shell_playlist.json @@ -0,0 +1,71 @@ +{ + "run": { + "run_id": 202, + "test_procedure_id": "ALL-02", + "test_url": "https://cactus.example/run/202", + "status": "started", + "all_criteria_met": null, + "created_at": "2026-06-17T04:59:00Z", + "finalised_at": null, + "is_device_cert": false, + "has_artifacts": false, + "playlist_execution_id": "smoke-exec-1", + "playlist_order": 1, + "playlist_runs": [ + { "run_id": 201, "test_procedure_id": "ALL-01", "status": "finalised" }, + { "run_id": 202, "test_procedure_id": "ALL-02", "status": "started" }, + { "run_id": 203, "test_procedure_id": "ALL-03", "status": "initialised" } + ], + "classes": null + }, + "run_is_live": true, + "is_immediate_start": true, + "playlist_name": "Smoke Test Playlist", + "playlist_runs": [ + { + "run_id": 201, + "test_procedure_id": "ALL-01", + "test_url": "https://cactus.example/run/201", + "status": "finalised", + "all_criteria_met": true, + "created_at": "2026-06-17T04:58:00Z", + "finalised_at": "2026-06-17T04:58:45Z", + "is_device_cert": false, + "has_artifacts": true, + "playlist_execution_id": "smoke-exec-1", + "playlist_order": 0, + "playlist_runs": null, + "classes": null + }, + { + "run_id": 202, + "test_procedure_id": "ALL-02", + "test_url": "https://cactus.example/run/202", + "status": "started", + "all_criteria_met": null, + "created_at": "2026-06-17T04:59:00Z", + "finalised_at": null, + "is_device_cert": false, + "has_artifacts": false, + "playlist_execution_id": "smoke-exec-1", + "playlist_order": 1, + "playlist_runs": null, + "classes": null + }, + { + "run_id": 203, + "test_procedure_id": "ALL-03", + "test_url": "https://cactus.example/run/203", + "status": "initialised", + "all_criteria_met": null, + "created_at": "2026-06-17T04:59:30Z", + "finalised_at": null, + "is_device_cert": false, + "has_artifacts": false, + "playlist_execution_id": "smoke-exec-1", + "playlist_order": 2, + "playlist_runs": null, + "classes": null + } + ] +} diff --git a/frontend/fixtures/session.json b/frontend/fixtures/session.json new file mode 100644 index 0000000..c6bc288 --- /dev/null +++ b/frontend/fixtures/session.json @@ -0,0 +1,8 @@ +{ + "username": "Test User", + "permissions": ["user:all"], + "version": "v1.6.3", + "support_email": "support@bsgip.com", + "banner_message": null, + "hosted_images": [] +} diff --git a/frontend/fixtures/session_admin.json b/frontend/fixtures/session_admin.json new file mode 100644 index 0000000..83cb194 --- /dev/null +++ b/frontend/fixtures/session_admin.json @@ -0,0 +1,8 @@ +{ + "username": "Admin User", + "permissions": ["user:all", "admin:all"], + "version": "v1.6.3", + "support_email": "support@bsgip.com", + "banner_message": null, + "hosted_images": [] +} diff --git a/frontend/fixtures/session_unauthenticated.json b/frontend/fixtures/session_unauthenticated.json new file mode 100644 index 0000000..04b7a35 --- /dev/null +++ b/frontend/fixtures/session_unauthenticated.json @@ -0,0 +1,4 @@ +{ + "error": "unauthenticated", + "login_banner_message": null +} diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..2e84348 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,16 @@ + + + + + + CACTUS + + + + + + +
+ + + diff --git a/frontend/package-lock.json b/frontend/package-lock.json new file mode 100644 index 0000000..94e8c01 --- /dev/null +++ b/frontend/package-lock.json @@ -0,0 +1,6021 @@ +{ + "name": "cactus-ui-frontend", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "cactus-ui-frontend", + "version": "0.0.0", + "dependencies": { + "@mantine/core": "^8.3.5", + "@mantine/hooks": "^8.3.5", + "@mantine/modals": "^8.3.5", + "@mantine/notifications": "^8.3.5", + "@tabler/icons-react": "^3.36.0", + "@tanstack/react-query": "^5.90.0", + "chart.js": "^4.5.1", + "chartjs-plugin-annotation": "^3.1.0", + "highlight.js": "^11.11.1", + "react": "^19.2.0", + "react-chartjs-2": "^5.3.1", + "react-dom": "^19.2.0", + "react-router-dom": "^7.9.0" + }, + "devDependencies": { + "@eslint/js": "^9.39.0", + "@playwright/test": "^1.56.0", + "@testing-library/jest-dom": "^6.9.0", + "@testing-library/react": "^16.3.0", + "@testing-library/user-event": "^14.6.0", + "@types/react": "^19.2.0", + "@types/react-dom": "^19.2.0", + "@vitejs/plugin-react": "^5.1.0", + "eslint": "^9.39.0", + "eslint-plugin-react-hooks": "^6.1.0", + "eslint-plugin-react-refresh": "^0.4.24", + "globals": "^16.5.0", + "jsdom": "^27.0.0", + "json-schema-to-typescript": "^15.0.4", + "msw": "^2.12.0", + "postcss": "^8.5.0", + "postcss-preset-mantine": "^1.18.0", + "postcss-simple-vars": "^7.0.1", + "prettier": "^3.6.0", + "typescript": "~5.9.0", + "typescript-eslint": "^8.46.0", + "vite": "^7.2.0", + "vitest": "^3.2.0" + } + }, + "node_modules/@acemir/cssom": { + "version": "0.9.31", + "resolved": "https://registry.npmjs.org/@acemir/cssom/-/cssom-0.9.31.tgz", + "integrity": "sha512-ZnR3GSaH+/vJ0YlHau21FjfLYjMpYVIzTD8M8vIEQvIGxeOXyXdzCI140rrCY862p/C/BbzWsjc1dgnM9mkoTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@adobe/css-tools": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.5.0.tgz", + "integrity": "sha512-6OzddxPio9UiWTCemp4N8cYLV2ZN1ncRnV1cVGtve7dhPOtRkleRyx32GQCYSwDYgaHU3USMm84tNsvKzRCa1Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.9.3", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.9.3.tgz", + "integrity": "sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, + "node_modules/@asamuzakjp/css-color": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-4.1.2.tgz", + "integrity": "sha512-NfBUvBaYgKIuq6E/RBLY1m0IohzNHAYyaJGuTK79Z23uNwmz2jl1mPsC5ZxCCxylinKhT1Amn5oNTlx1wN8cQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@csstools/css-calc": "^3.0.0", + "@csstools/css-color-parser": "^4.0.1", + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0", + "lru-cache": "^11.2.5" + } + }, + "node_modules/@asamuzakjp/css-color/node_modules/lru-cache": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@asamuzakjp/dom-selector": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-6.8.1.tgz", + "integrity": "sha512-MvRz1nCqW0fsy8Qz4dnLIvhOlMzqDVBabZx6lH+YywFDdjXhMY37SmpV1XFX3JzG5GWHn63j6HX6QPr3lZXHvQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@asamuzakjp/nwsapi": "^2.3.9", + "bidi-js": "^1.0.3", + "css-tree": "^3.1.0", + "is-potential-custom-element-name": "^1.0.1", + "lru-cache": "^11.2.6" + } + }, + "node_modules/@asamuzakjp/dom-selector/node_modules/lru-cache": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@asamuzakjp/nwsapi": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/@asamuzakjp/nwsapi/-/nwsapi-2.3.9.tgz", + "integrity": "sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz", + "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz", + "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.29.7.tgz", + "integrity": "sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.29.7.tgz", + "integrity": "sha512-06IyK09H3wi4cGbhDBwp5gUGo0IKtnYa8tyTiephirPCK6fbobVGiXMMI5zLQ4aKEYP3wZ3ArU44o+8KMrSG/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz", + "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz", + "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz", + "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@csstools/color-helpers": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.0.2.tgz", + "integrity": "sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@csstools/css-calc": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.2.1.tgz", + "integrity": "sha512-DtdHlgXh5ZkA43cwBcAm+huzgJiwx3ZTWVjBs94kwz2xKqSimDA3lBgCjphYgwgVUMWatSM0pDd8TILB1yrVVg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-color-parser": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.1.3.tgz", + "integrity": "sha512-DOgvIPkikIOixQRlD4YF31VN6fLLUTdrzhfRbis8vm0kMTgIbEPX0Ip/YX9fOeV9iywAS4sUUbTclpan7yYP8Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "dependencies": { + "@csstools/color-helpers": "^6.0.2", + "@csstools/css-calc": "^3.2.1" + }, + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-parser-algorithms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz", + "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-syntax-patches-for-csstree": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.5.tgz", + "integrity": "sha512-oNjBvzLq2GPZtJphCjLqXow/cHySHSgtxvKZb7OqSZ/xHgw6NWNhfad+6AB9cLeVm6eA9d/qMll3JdEHjy6M+A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "peerDependencies": { + "css-tree": "^3.2.1" + }, + "peerDependenciesMeta": { + "css-tree": { + "optional": true + } + } + }, + "node_modules/@csstools/css-tokenizer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz", + "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", + "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz", + "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", + "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz", + "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", + "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", + "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", + "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", + "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", + "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", + "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", + "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", + "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", + "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", + "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", + "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", + "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", + "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", + "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", + "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", + "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", + "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", + "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", + "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", + "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", + "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", + "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz", + "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.7", + "debug": "^4.3.1", + "minimatch": "^3.1.5" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", + "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", + "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.14.0", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.1", + "minimatch": "^3.1.5", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz", + "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", + "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", + "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@exodus/bytes": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.15.1.tgz", + "integrity": "sha512-S6mL0yNB/Abt9Ei4tq8gDhcczc4S3+vQ4ra7vxnAf+YHC02srtqxKKZghx2Dq6p0e66THKwR6r8N6P95wEty7Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@noble/hashes": "^1.8.0 || ^2.0.0" + }, + "peerDependenciesMeta": { + "@noble/hashes": { + "optional": true + } + } + }, + "node_modules/@floating-ui/core": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz", + "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz", + "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.5", + "@floating-ui/utils": "^0.2.11" + } + }, + "node_modules/@floating-ui/react": { + "version": "0.27.19", + "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.27.19.tgz", + "integrity": "sha512-31B8h5mm8YxotlE7/AU/PhNAl8eWxAmjL/v2QOxroDNkTFLk3Uu82u63N3b6TXa4EGJeeZLVcd/9AlNlVqzeog==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.8", + "@floating-ui/utils": "^0.2.11", + "tabbable": "^6.0.0" + }, + "peerDependencies": { + "react": ">=17.0.0", + "react-dom": ">=17.0.0" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.8.tgz", + "integrity": "sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.7.6" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz", + "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==", + "license": "MIT" + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@inquirer/ansi": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.7.tgz", + "integrity": "sha512-3eTuUO1vH2cZm2ZKHeQxnOqlTi9EfZDGgIe3BL3I4u+rJHocr9Fz86M4fjYABPvFnQG/gGK551HqDiIcETwU6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + } + }, + "node_modules/@inquirer/confirm": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.1.1.tgz", + "integrity": "sha512-eb8DBZcz/2qHWQda4rk2JiQk5h9QV/cVHi1yjt0f69WFZMRFn0sJTye3EAP8icut8UDMjQPsaH5KbcOogefrFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^11.2.1", + "@inquirer/type": "^4.0.7" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/core": { + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.2.1.tgz", + "integrity": "sha512-Qd6GJT1yVyrZZCfN8W2qKF5ApmqryXRhRKCuip8h01x2w/esJQ2XIYc6f9abMIHgKQdBfFTSOdbHRLAhuM09UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.7", + "@inquirer/figures": "^2.0.7", + "@inquirer/type": "^4.0.7", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/figures": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.7.tgz", + "integrity": "sha512-aJ8TBPOGB6f/2qziPfElISTCEd5XOYTFckA2SGjhNmiKzfK/u4ot3v0DUzGVdUnKjN10EqnnEPck36BkyfLnJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + } + }, + "node_modules/@inquirer/type": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.7.tgz", + "integrity": "sha512-t28inv14nMQ1PhKpsJPY+kEs/c00qzeCOS2gTNRyTjG5d6qsVA2fItxW4hkvGZ5lvanGLdtCzVIx5dwdRpN1+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@kurkle/color": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz", + "integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==", + "license": "MIT" + }, + "node_modules/@mantine/core": { + "version": "8.3.18", + "resolved": "https://registry.npmjs.org/@mantine/core/-/core-8.3.18.tgz", + "integrity": "sha512-9tph1lTVogKPjTx02eUxDUOdXacPzK62UuSqb4TdGliI54/Xgxftq0Dfqu6XuhCxn9J5MDJaNiLDvL/1KRkYqA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react": "^0.27.16", + "clsx": "^2.1.1", + "react-number-format": "^5.4.4", + "react-remove-scroll": "^2.7.1", + "react-textarea-autosize": "8.5.9", + "type-fest": "^4.41.0" + }, + "peerDependencies": { + "@mantine/hooks": "8.3.18", + "react": "^18.x || ^19.x", + "react-dom": "^18.x || ^19.x" + } + }, + "node_modules/@mantine/hooks": { + "version": "8.3.18", + "resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-8.3.18.tgz", + "integrity": "sha512-QoWr9+S8gg5050TQ06aTSxtlpGjYOpIllRbjYYXlRvZeTsUqiTbVfvQROLexu4rEaK+yy9Wwriwl9PMRgbLqPw==", + "license": "MIT", + "peerDependencies": { + "react": "^18.x || ^19.x" + } + }, + "node_modules/@mantine/modals": { + "version": "8.3.18", + "resolved": "https://registry.npmjs.org/@mantine/modals/-/modals-8.3.18.tgz", + "integrity": "sha512-JfPDS4549L314SxFPC1x6CbKwzh82OdnIzwgMxPCVNsWLKV2vEHHUH/fzUYj4Wli6IBrsW4cufjMj9BTj3hm3Q==", + "license": "MIT", + "peerDependencies": { + "@mantine/core": "8.3.18", + "@mantine/hooks": "8.3.18", + "react": "^18.x || ^19.x", + "react-dom": "^18.x || ^19.x" + } + }, + "node_modules/@mantine/notifications": { + "version": "8.3.18", + "resolved": "https://registry.npmjs.org/@mantine/notifications/-/notifications-8.3.18.tgz", + "integrity": "sha512-IpQ0lmwbigTBbZCR6iSYWqIOKEx1tlcd7PcEJ5M5X1qeVSY/N3mmDQt1eJmObvcyDeL5cTJMbSA9UPqhRqo9jw==", + "license": "MIT", + "dependencies": { + "@mantine/store": "8.3.18", + "react-transition-group": "4.4.5" + }, + "peerDependencies": { + "@mantine/core": "8.3.18", + "@mantine/hooks": "8.3.18", + "react": "^18.x || ^19.x", + "react-dom": "^18.x || ^19.x" + } + }, + "node_modules/@mantine/store": { + "version": "8.3.18", + "resolved": "https://registry.npmjs.org/@mantine/store/-/store-8.3.18.tgz", + "integrity": "sha512-i+QRTLmZzLldea0egtUVnGALd6UMIu8jd44nrNWBSNIXJU/8B6rMlC6gyX+l4szopZSuOaaNJIXkqRdC1gQsVg==", + "license": "MIT", + "peerDependencies": { + "react": "^18.x || ^19.x" + } + }, + "node_modules/@mswjs/interceptors": { + "version": "0.41.9", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.41.9.tgz", + "integrity": "sha512-VVPPgHyQ6ShqnrmDWuxjmUIsO9gWyOZFmuOfLd9LfBGQJwZfy0gvv9pbHSJuoFNIYC7ZDX9aoFwowjcdSC4E8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-draft/deferred-promise": "^2.2.0", + "@open-draft/logger": "^0.3.0", + "@open-draft/until": "^2.0.0", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "strict-event-emitter": "^0.5.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@mswjs/interceptors/node_modules/@open-draft/deferred-promise": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", + "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@open-draft/deferred-promise": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-3.0.0.tgz", + "integrity": "sha512-XW375UK8/9SqUVNVa6M0yEy8+iTi4QN5VZ7aZuRFQmy76LRwI9wy5F4YIBU6T+eTe2/DNDo8tqu8RHlwLHM6RA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@open-draft/logger": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz", + "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-node-process": "^1.2.0", + "outvariant": "^1.4.0" + } + }, + "node_modules/@open-draft/until": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz", + "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@playwright/test": { + "version": "1.60.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.60.0.tgz", + "integrity": "sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.60.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-rc.3", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.3.tgz", + "integrity": "sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.61.1.tgz", + "integrity": "sha512-JnBB8MdXj45cajvTuO5FmPlvFVJRQgvrz1uSEl3NwqFnReAPGwb8EanbGi4z2nRaqLzjJSv5/JmycoTKlRZxHA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.61.1.tgz", + "integrity": "sha512-Jx2g7iSjw4AOT0HDPHM9RV3GNjRXwybWtSFZiZAYUTjUwjVrYIwq3kBf+LnhqJlzXFAqTAh2F7IGI+O568exPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.61.1.tgz", + "integrity": "sha512-0F1L/Z3Eqv8mT2n3dCpeO8GcTvHvVqkP5/t6DMsn0KzhYVcg+s7Ncl5DS8qjKYEeio6Az0Gt6nyBORay5qIlCA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.61.1.tgz", + "integrity": "sha512-qLttcH871ujY4YcVfUSShhOw+CsoTatYz8gRbHO7Bb92QH059/P0y5do1KMs41fY0BpD2x4AJH/gID0zFiqVKQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.61.1.tgz", + "integrity": "sha512-fUI4RapGE0Oh3mb8mgfvC1O2nU1RpDZUKnDQm3xB1Ipg7C2wTs5Kstz7G2uWK99a8S2yTMq8/P4uycwNa0nJyw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.61.1.tgz", + "integrity": "sha512-H5YrdvJaDtI/U9/emrD4b++xkvp3y/JvOe4rizHbxvkyMfRS/CiRYdji+Pl8D0brEaNFWUh1drQxgAGIl6Xudw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.61.1.tgz", + "integrity": "sha512-Q8CBCCQtDFrYtXoeUXSrnFXKOnyUhx6bz+SkL6A0E7V8kAiCJ5pamq1WtbfpVGhR5TSpXY6ak3avmDc5fHTyJA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.61.1.tgz", + "integrity": "sha512-nwnhk1581l0FBVellGcVCAT0Oi06onEA3WB53sf01VO3I0UPBkMH9sXONYME2K0ovXcNayJfNtHfm6mpJElatQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.61.1.tgz", + "integrity": "sha512-x5Xr49hwt3hdW75UOZm3395YwwzPyauktslv29KpWL/T+vVAzoT3azLcTWv0eMciBNrx+DYjH4paehHoLpPvpg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.61.1.tgz", + "integrity": "sha512-unMS3H73DpaoPyyEVPjGKleM/s0mkmsauTENpw4INQY8y4+IuLNjkueQ5QCtC0D3N38Y38yhAU8OoZ20S2Tm6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.61.1.tgz", + "integrity": "sha512-zNZzGRnAhwjFEYmvphJRV5XaQGjs62cCmeYYHUT//NbvEnHauw+I85nGG+SiVg5ld4GX8D1IbKIX+ozITQnhMQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.61.1.tgz", + "integrity": "sha512-LdpWGL8X209B2SIvWjqlc8VZgM6PKfontSerGepuldQmHYrAOtnMCXeJkxXGbC+PPZVOuu5czJo7fNV6aeW8rQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.61.1.tgz", + "integrity": "sha512-EC5kTtNaNGOmbMGqar8dvJy6y/hg99GAwjfBz++pxZhQATXGcRjd6c5en5wcbru0vkRmiMGsQKdMJOOf6sza4g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.61.1.tgz", + "integrity": "sha512-8hiwp6D4acEcNK78I4rP0/XtS1sknWIAMJBPdR4l6zUtyTm5KiTDr5bXmWt4foY7nAN7AThDHgkLIEZOWKbzWw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.61.1.tgz", + "integrity": "sha512-10dh/h/BqA7DuMPWSxkR8uks18FRwnwOEqr5zOTEl+NOwP/OMzKX8OFR/Of9xxDA7D5qef1Nzar5WDD2kCCr1g==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.61.1.tgz", + "integrity": "sha512-YKJ5lg35DP17gcAOggnihe+APw9HLyj1Xn7gsmGumBJAUDa6NGXNixJzmkWLhcK9TOuuyQjdamzvJefkO7qHZQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.61.1.tgz", + "integrity": "sha512-Mlil5G2Jj6a7B3LWGctg+XPL9vdXYuzCtNXfxOQ0nPjc2m6ueUktocPGH9bnAM0bNRKb/bAWTujUU7IJQdQA+g==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.61.1.tgz", + "integrity": "sha512-bVWIOIk6pV01p4CdUbPP7CJ/434z+OooYjDuFcR+44N35YvKUC66G8MGnvcWx5mWKW3g61J+t74l3Kj15Kwn2Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.61.1.tgz", + "integrity": "sha512-qy5pBvZbqNFheBz61R1rzsezjm0J7O2oNGoWtGoY89SZYLUfxAJTBAqDChqAIdB4rCiIbi9nF7yZ83GnNiLwSw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.61.1.tgz", + "integrity": "sha512-E83TXjI4zm0+5f2qO+UOudaCYIhYwpJ5jq6YCZNIZ+6CbfhKrkAGezeiASBL9ElxAxFsRS9ZhESv8mfnj6TKeg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.61.1.tgz", + "integrity": "sha512-fbWnKqVkjrJN38vNe3ahkbk6iejS/3b0Nt7EEtPpE6RBacZcGXNKbzfHN3GUUlXOPghUg0j6XUGrtjX9z1sIvA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.61.1.tgz", + "integrity": "sha512-ArMl38iVAbk0New1ogihQNY6iphLi4ZaRsa037gUzv5yeKPY8TD3Dmy4x2RNC1VztU/uqm+G+/RwFrSka3Oy2g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.61.1.tgz", + "integrity": "sha512-0mYtjHS9ucAbcATycCNK9IGBk/cCe/ma7EmSLGZdsxnOA8cjRIyU04wDpVAD9NiOfLUR9KTxdiO53uOkherqjQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.61.1.tgz", + "integrity": "sha512-gK1iCEPfpoSG9wfBihXxvBMi8ZfcWffYkEsC/Eih+iFENTaewvNcrEQ69lIOWYO5pePHKLHHO7nq5AILGO/HQQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.61.1.tgz", + "integrity": "sha512-X+zaP2x+j4RXGfbp/seSoRHWnPxzApilDszisZxbYH5C/jTxFhCtDNdPGZb9lJyYPs24wGxruPF7Y+sIXt9Gzw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@tabler/icons": { + "version": "3.44.0", + "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.44.0.tgz", + "integrity": "sha512-Wn0AOZG9sg0L+bjfMqq4eNhC6pQjIrk94LvvWYNYkY8KH8wC3YILRzQlrnVJc4FUeMxH/AK97QsYCX35H3LndA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/codecalm" + } + }, + "node_modules/@tabler/icons-react": { + "version": "3.44.0", + "resolved": "https://registry.npmjs.org/@tabler/icons-react/-/icons-react-3.44.0.tgz", + "integrity": "sha512-8+rvzBbVm/1Z3sG3x7GUNAaxIKxwgz8xaMhRs23nrCnMTKRFAhEC+82zAIFeAA0seXdrAGX5HFCkaLpGK2rVHg==", + "license": "MIT", + "dependencies": { + "@tabler/icons": "3.44.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/codecalm" + }, + "peerDependencies": { + "react": ">= 16" + } + }, + "node_modules/@tanstack/query-core": { + "version": "5.101.0", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.101.0.tgz", + "integrity": "sha512-cQetA74EB+seWySv1TTKr828TnP0u39m6LykwDXIo84SNortpDkp30TMEjkqtYCNP9c40uT/iwl6MLiufEt0Ow==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "5.101.0", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.101.0.tgz", + "integrity": "sha512-rLlJXSpkqfizLWgkR5+eLeIk0MvTx/meEIR7LRjxic+qxiQP8zVjq7BqQkiCMNLQBlLfuOLqqr6KO5GtrDlmSg==", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "5.101.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^18 || ^19" + } + }, + "node_modules/@testing-library/dom": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", + "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/runtime": "^7.12.5", + "@types/aria-query": "^5.0.1", + "aria-query": "5.3.0", + "dom-accessibility-api": "^0.5.9", + "lz-string": "^1.5.0", + "picocolors": "1.1.1", + "pretty-format": "^27.0.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@testing-library/jest-dom": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz", + "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@adobe/css-tools": "^4.4.0", + "aria-query": "^5.0.0", + "css.escape": "^1.5.1", + "dom-accessibility-api": "^0.6.3", + "picocolors": "^1.1.1", + "redent": "^3.0.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", + "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@testing-library/react": { + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz", + "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@testing-library/dom": "^10.0.0", + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@testing-library/user-event": { + "version": "14.6.1", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.1.tgz", + "integrity": "sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12", + "npm": ">=6" + }, + "peerDependencies": { + "@testing-library/dom": ">=7.21.4" + } + }, + "node_modules/@types/aria-query": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", + "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" + } + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/lodash": { + "version": "4.17.24", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.24.tgz", + "integrity": "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "25.9.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz", + "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/@types/react": { + "version": "19.2.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz", + "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, + "node_modules/@types/set-cookie-parser": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@types/set-cookie-parser/-/set-cookie-parser-2.4.10.tgz", + "integrity": "sha512-GGmQVGpQWUe5qglJozEjZV/5dyxbOOZ0LHe/lqyWssB88Y4svNfst0uqBVscdDeIKl5Jy5+aPSvy7mI9tYRguw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/statuses": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.6.tgz", + "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.61.0.tgz", + "integrity": "sha512-bFNvl9ZczlVb+wR2Akszf3gHfKVj/8WanXaGJ3UstTA7brNKg0cNdk6X1Psu5V7MZ2oQtzZKOEzIUehaoxbDGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.61.0", + "@typescript-eslint/type-utils": "8.61.0", + "@typescript-eslint/utils": "8.61.0", + "@typescript-eslint/visitor-keys": "8.61.0", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.61.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.61.0.tgz", + "integrity": "sha512-5B7PfA2e1NQGCnDHd/0lW7W3gvp3d59Ryw54FYO8Uswxo9f6ikw3AZV+Xj/TvpImmpsiYyUqAfhC6kJID1jF6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.61.0", + "@typescript-eslint/types": "8.61.0", + "@typescript-eslint/typescript-estree": "8.61.0", + "@typescript-eslint/visitor-keys": "8.61.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.61.0.tgz", + "integrity": "sha512-DV42F7MLJO6Rax7SK1yg43tcnEfGUrurSpSxKuVX+a3RCTzBlH3fuxprrOJXKCJGAaw82xXocikJ0uQaqwXgGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.61.0", + "@typescript-eslint/types": "^8.61.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.61.0.tgz", + "integrity": "sha512-IWdXFHFSb6mlC3HPc7QsLDm5zYEbUla6trDEHf32D3/dnuUyXd87plScSNXSbm0/RxMvObpI17sv/EDTGrGZkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.61.0", + "@typescript-eslint/visitor-keys": "8.61.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.61.0.tgz", + "integrity": "sha512-O5Amvdv9ztMpxpf+vmFULGG78IE6Qwdr3bCGvqwG4nwc9H2qXkOYJJnRbRHyMkQTjv1d03olqwwwzHLMqpFePQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.61.0.tgz", + "integrity": "sha512-TuBiQYIkd97yBfInHCTKVYMbX4kvEmpOEuixIuzCU9p8BGT1SfyyO0d0IfDMbPIHcjn/hWnusUX5e8v5Xg+X8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.61.0", + "@typescript-eslint/typescript-estree": "8.61.0", + "@typescript-eslint/utils": "8.61.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.61.0.tgz", + "integrity": "sha512-9QTQpZ5Iin4CdIodfbDQFSeiSJKidgYJYug1P9CC2xWgUTvlmixViqDZNciMjwLBZyJnG4tGmPl97rVAFb1AJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.61.0.tgz", + "integrity": "sha512-42zatd5qSvvcV1JdDBCLxYRznvP4eIHpPoZXdkPFnAmanA4FuZ5dibSnCBggY8hQnqajPpoGjXFdZ7fIJKQnlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.61.0", + "@typescript-eslint/tsconfig-utils": "8.61.0", + "@typescript-eslint/types": "8.61.0", + "@typescript-eslint/visitor-keys": "8.61.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz", + "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.61.0.tgz", + "integrity": "sha512-3bzFt7ImFMW/jVYwJamDoe/dMOdFLSC6pom6rRjdh4SZJEYupyMzem8e7vKZLclLfpHjlwSAXOUxtKxGXUiLqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.61.0", + "@typescript-eslint/types": "8.61.0", + "@typescript-eslint/typescript-estree": "8.61.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.61.0.tgz", + "integrity": "sha512-QVLZu3ZPQEE+HICQyAMZ2yLQhxf0meY/wx6Hx14YcTNj13JB3qHlX3lJ02L3fLGHgERRH71kvYDwiXIguT3AjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.61.0", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.2.0.tgz", + "integrity": "sha512-YmKkfhOAi3wsB1PhJq5Scj3GXMn3WvtQ/JC0xoopuHoXSdmtdStOpFrYaT1kie2YgFBcIe64ROzMYRjCrYOdYw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.29.0", + "@babel/plugin-transform-react-jsx-self": "^7.27.1", + "@babel/plugin-transform-react-jsx-source": "^7.27.1", + "@rolldown/pluginutils": "1.0.0-rc.3", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.18.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@vitest/expect": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.6.tgz", + "integrity": "sha512-1+7q9BtaKzEmO+fmNT3kYvoNn5Y71XWAx2Q5HRim4tTVRQVRv4uJFAQ5FbK0OPUeNP/WmVCpxYxoJdvuHVjzBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/spy": "3.2.6", + "@vitest/utils": "3.2.6", + "chai": "^5.2.0", + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/mocker": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.6.tgz", + "integrity": "sha512-EZOrpDbkKotFAP7wPAQV1UIyoGOk4oX7ynWhBhLB7v+meMHbQhU16oPpIYGTTe4oFlhpryGpgpcZP/sin3hYuw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "3.2.6", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.17" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/pretty-format": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.6.tgz", + "integrity": "sha512-lb7XXXzmm2h2ASzFnRvQpDo6onT1NmMJA3tkGTWiBFtRJ9lxGY3d3mm/Apt36gej2bkkOVLL/yTOtufDaFa/jA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.6.tgz", + "integrity": "sha512-HYcoSj1w5tcgUnzoF0HcyaAQjpA1gj9ftUJ7iSJSuipc02jW9gKkigwZbjFldAfYHA1fa8UZVRftdMY5msWM9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "3.2.6", + "pathe": "^2.0.3", + "strip-literal": "^3.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/snapshot": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.6.tgz", + "integrity": "sha512-H+ZjNTWGpObenh0YnlBctAPnJSI20P81PL8BPzWpx54YXLLTm8hEsWawtcYLMrwvpK48hGxLLbCS+1KRXhsKhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "3.2.6", + "magic-string": "^0.30.17", + "pathe": "^2.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.6.tgz", + "integrity": "sha512-oq6BbH68WzcWmwtBrU9nqLeaXTR4XwJF7FSLkKEZo4i6eoXcrxjcwSuTvWBIRUTC6VC72nXYunzqgZA+IKdtxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyspy": "^4.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/utils": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.6.tgz", + "integrity": "sha512-lI23nIs4bnT3T8NIoh+vFaz5s2/DdP0Jgt2jxwgWljvwn82cLJtyi/If+fjFyoLMGIOz0U/fKvWE0d4jsNQEfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "3.2.6", + "loupe": "^3.1.4", + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/baseline-browser-mapping": { + "version": "2.10.35", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.35.tgz", + "integrity": "sha512-honAfLBde0HAFLdNyBEfuuENkF6zR+ozxqxa/2zJKHBe1qzLqyTSeRKpdPEHAP03rlDGyQOPnCSxnVpVqQo9Mg==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/bidi-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz", + "integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "require-from-string": "^2.0.2" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz", + "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/browserslist": { + "version": "4.28.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz", + "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.10.12", + "caniuse-lite": "^1.0.30001782", + "electron-to-chromium": "^1.5.328", + "node-releases": "^2.0.36", + "update-browserslist-db": "^1.2.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001797", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz", + "integrity": "sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chai": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chart.js": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.1.tgz", + "integrity": "sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==", + "license": "MIT", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": ">=8" + } + }, + "node_modules/chartjs-plugin-annotation": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/chartjs-plugin-annotation/-/chartjs-plugin-annotation-3.1.0.tgz", + "integrity": "sha512-EkAed6/ycXD/7n0ShrlT1T2Hm3acnbFhgkIEJLa0X+M6S16x0zwj1Fv4suv/2bwayCT3jGPdAtI9uLcAMToaQQ==", + "license": "MIT", + "peerDependencies": { + "chart.js": ">=4.0.0" + } + }, + "node_modules/check-error": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz", + "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 12" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cookie": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz", + "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-tree": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/css.escape": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", + "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssstyle": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-5.3.7.tgz", + "integrity": "sha512-7D2EPVltRrsTkhpQmksIu+LxeWAIEk6wRDMJ1qljlv+CKHJM+cJLlfhWIzNA44eAsHXSNe3+vO6DW1yCYx8SuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@asamuzakjp/css-color": "^4.1.1", + "@csstools/css-syntax-patches-for-csstree": "^1.0.21", + "css-tree": "^3.1.0", + "lru-cache": "^11.2.4" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cssstyle/node_modules/lru-cache": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "license": "MIT" + }, + "node_modules/data-urls": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-6.0.1.tgz", + "integrity": "sha512-euIQENZg6x8mj3fO6o9+fOW8MimUI4PpD/fZBhJfeioZVy9TUpM4UY7KjQNVZFlqwJ0UdzRDzkycB997HEq1BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^15.1.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/data-urls/node_modules/whatwg-mimetype": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz", + "integrity": "sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", + "dev": true, + "license": "MIT" + }, + "node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", + "license": "MIT" + }, + "node_modules/dom-accessibility-api": { + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", + "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.371", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.371.tgz", + "integrity": "sha512-e9htk9mAYL6AzmkEhSvVVw7IWGSBJ/Bqdn2eRyRLrj1g6sncN4WbFt5qnILYoCktktr45pyjIrOiRvBThQ808w==", + "dev": true, + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/entities": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz", + "integrity": "sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz", + "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.27.7", + "@esbuild/android-arm": "0.27.7", + "@esbuild/android-arm64": "0.27.7", + "@esbuild/android-x64": "0.27.7", + "@esbuild/darwin-arm64": "0.27.7", + "@esbuild/darwin-x64": "0.27.7", + "@esbuild/freebsd-arm64": "0.27.7", + "@esbuild/freebsd-x64": "0.27.7", + "@esbuild/linux-arm": "0.27.7", + "@esbuild/linux-arm64": "0.27.7", + "@esbuild/linux-ia32": "0.27.7", + "@esbuild/linux-loong64": "0.27.7", + "@esbuild/linux-mips64el": "0.27.7", + "@esbuild/linux-ppc64": "0.27.7", + "@esbuild/linux-riscv64": "0.27.7", + "@esbuild/linux-s390x": "0.27.7", + "@esbuild/linux-x64": "0.27.7", + "@esbuild/netbsd-arm64": "0.27.7", + "@esbuild/netbsd-x64": "0.27.7", + "@esbuild/openbsd-arm64": "0.27.7", + "@esbuild/openbsd-x64": "0.27.7", + "@esbuild/openharmony-arm64": "0.27.7", + "@esbuild/sunos-x64": "0.27.7", + "@esbuild/win32-arm64": "0.27.7", + "@esbuild/win32-ia32": "0.27.7", + "@esbuild/win32-x64": "0.27.7" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz", + "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.2", + "@eslint/config-helpers": "^0.4.2", + "@eslint/core": "^0.17.0", + "@eslint/eslintrc": "^3.3.5", + "@eslint/js": "9.39.4", + "@eslint/plugin-kit": "^0.4.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-6.1.1.tgz", + "integrity": "sha512-St9EKZzOAQF704nt2oJvAKZHjhrpg25ClQoaAlHmPZuajFldVLqRDW4VBNAS01NzeiQF0m0qhG1ZA807K6aVaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "zod": "^3.22.4 || ^4.0.0", + "zod-validation-error": "^3.0.3 || ^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.26", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz", + "integrity": "sha512-1RETEylht2O6FM/MvgnyvT+8K21wLqDNg4qD51Zj3guhjt433XbnnkVttHMyaVyAFD03QSV4LPS5iE3VQmO7XQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=8.40" + } + }, + "node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expect-type": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", + "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-string-truncated-width": "^3.0.2" + } + }, + "node_modules/fast-wrap-ansi": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", + "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-string-width": "^3.0.2" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", + "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graphql": { + "version": "16.14.2", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.14.2.tgz", + "integrity": "sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/headers-polyfill": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/headers-polyfill/-/headers-polyfill-5.0.1.tgz", + "integrity": "sha512-1TJ6Fih/b8h5TIcv+1+Hw0PDQWJTKDKzFZzcKOiW1wJza3XoAQlkCuXLbymPYB8+ZQyw8mHvdw560e8zVFIWyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/set-cookie-parser": "^2.4.10", + "set-cookie-parser": "^3.0.1" + } + }, + "node_modules/highlight.js": { + "version": "11.11.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", + "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz", + "integrity": "sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.6.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-node-process": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz", + "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz", + "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdom": { + "version": "27.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-27.4.0.tgz", + "integrity": "sha512-mjzqwWRD9Y1J1KUi7W97Gja1bwOOM5Ug0EZ6UDK3xS7j7mndrkwozHtSblfomlzyB4NepioNt+B2sOSzczVgtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@acemir/cssom": "^0.9.28", + "@asamuzakjp/dom-selector": "^6.7.6", + "@exodus/bytes": "^1.6.0", + "cssstyle": "^5.3.4", + "data-urls": "^6.0.0", + "decimal.js": "^10.6.0", + "html-encoding-sniffer": "^6.0.0", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.6", + "is-potential-custom-element-name": "^1.0.1", + "parse5": "^8.0.0", + "saxes": "^6.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^6.0.0", + "w3c-xmlserializer": "^5.0.0", + "webidl-conversions": "^8.0.0", + "whatwg-mimetype": "^4.0.0", + "whatwg-url": "^15.1.0", + "ws": "^8.18.3", + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "canvas": "^3.0.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-to-typescript": { + "version": "15.0.4", + "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-15.0.4.tgz", + "integrity": "sha512-Su9oK8DR4xCmDsLlyvadkXzX6+GGXJpbhwoLtOGArAG61dvbW4YQmSEno2y66ahpIdmLMg6YUf/QHLgiwvkrHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^11.5.5", + "@types/json-schema": "^7.0.15", + "@types/lodash": "^4.17.7", + "is-glob": "^4.0.3", + "js-yaml": "^4.1.0", + "lodash": "^4.17.21", + "minimist": "^1.2.8", + "prettier": "^3.2.5", + "tinyglobby": "^0.2.9" + }, + "bin": { + "json2ts": "dist/src/cli.js" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/loupe": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/lz-string": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz", + "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "lz-string": "bin/bin.js" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/mdn-data": { + "version": "2.27.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", + "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/msw": { + "version": "2.14.6", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.14.6.tgz", + "integrity": "sha512-ALe+N10S72cyx94cMcy3Zs4HhXCj35sgeAL4c+WTvKi0zWnbd8/h0lcFqv0mb2P+aSgAdD7p9HzvA0DiUPxsyg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@inquirer/confirm": "^6.0.11", + "@mswjs/interceptors": "^0.41.3", + "@open-draft/deferred-promise": "^3.0.0", + "@types/statuses": "^2.0.6", + "cookie": "^1.1.1", + "graphql": "^16.13.2", + "headers-polyfill": "^5.0.1", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "path-to-regexp": "^6.3.0", + "picocolors": "^1.1.1", + "rettime": "^0.11.11", + "statuses": "^2.0.2", + "strict-event-emitter": "^0.5.1", + "tough-cookie": "^6.0.1", + "type-fest": "^5.5.0", + "until-async": "^3.0.2", + "yargs": "^17.7.2" + }, + "bin": { + "msw": "cli/index.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/mswjs" + }, + "peerDependencies": { + "typescript": ">= 4.8.x" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/msw/node_modules/type-fest": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.7.0.tgz", + "integrity": "sha512-1URUxUqfHFM1c+zfSPsa3gnkO7Aq21qyH75SIduNYz4SzY964rn1X2vCMQaHSHhktiw+0kPa2iyb6PUpXqB6Vg==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "dependencies": { + "tagged-tag": "^1.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", + "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.47", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.47.tgz", + "integrity": "sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/outvariant": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz", + "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==", + "dev": true, + "license": "MIT" + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse5": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz", + "integrity": "sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^8.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-to-regexp": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", + "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/playwright": { + "version": "1.60.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0.tgz", + "integrity": "sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.60.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.60.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.60.0.tgz", + "integrity": "sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/postcss": { + "version": "8.5.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", + "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.12", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-js": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz", + "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-mixins": { + "version": "12.1.2", + "resolved": "https://registry.npmjs.org/postcss-mixins/-/postcss-mixins-12.1.2.tgz", + "integrity": "sha512-90pSxmZVfbX9e5xCv7tI5RV1mnjdf16y89CJKbf/hD7GyOz1FCxcYMl8ZYA8Hc56dbApTKKmU9HfvgfWdCxlwg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-js": "^4.0.1", + "postcss-simple-vars": "^7.0.1", + "sugarss": "^5.0.0", + "tinyglobby": "^0.2.14" + }, + "engines": { + "node": "^20.0 || ^22.0 || >=24.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-nested": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-7.0.2.tgz", + "integrity": "sha512-5osppouFc0VR9/VYzYxO03VaDa3e8F23Kfd6/9qcZTUI8P58GIYlArOET2Wq0ywSl2o2PjELhYOFI4W7l5QHKw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^7.0.0" + }, + "engines": { + "node": ">=18.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-preset-mantine": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/postcss-preset-mantine/-/postcss-preset-mantine-1.18.0.tgz", + "integrity": "sha512-sP6/s1oC7cOtBdl4mw/IRKmKvYTuzpRrH/vT6v9enMU/EQEQ31eQnHcWtFghOXLH87AAthjL/Q75rLmin1oZoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "postcss-mixins": "^12.0.0", + "postcss-nested": "^7.0.2" + }, + "peerDependencies": { + "postcss": ">=8.0.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.2.tgz", + "integrity": "sha512-Wjvt4scRFouioIInHf51IFNP4ltJ2EngJM+cZPGiqbKetBfmP3vpdPV8ID2S6JS6/jdo74N8+aEYH9lQr2C6sA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-simple-vars": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/postcss-simple-vars/-/postcss-simple-vars-7.0.1.tgz", + "integrity": "sha512-5GLLXaS8qmzHMOjVxqkk1TZPf1jMqesiI7qLhnlyERalG0sMbHIbJqrcnrpmZdKCLglHnRHoEBB61RtGTsj++A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.1" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz", + "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/react": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz", + "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-chartjs-2": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-5.3.1.tgz", + "integrity": "sha512-h5IPXKg9EXpjoBzUfyWJvllMjG2mQ4EiuHQFhms/AjUm0XSZHhyRy2xVmLXHKrtcdrPO4mnGqRtYoD0vp95A0A==", + "license": "MIT", + "peerDependencies": { + "chart.js": "^4.1.1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/react-dom": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz", + "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.7" + } + }, + "node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/react-number-format": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/react-number-format/-/react-number-format-5.4.5.tgz", + "integrity": "sha512-y8O2yHHj3w0aE9XO8d2BCcUOOdQTRSVq+WIuMlLVucAm5XNjJAy+BoOJiuQMldVYVOKTMyvVNfnbl2Oqp+YxGw==", + "license": "MIT", + "peerDependencies": { + "react": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/react-refresh": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz", + "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-remove-scroll": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz", + "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==", + "license": "MIT", + "dependencies": { + "react-remove-scroll-bar": "^2.3.7", + "react-style-singleton": "^2.2.3", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.3", + "use-sidecar": "^1.1.3" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", + "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", + "license": "MIT", + "dependencies": { + "react-style-singleton": "^2.2.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-router": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.17.0.tgz", + "integrity": "sha512-FDELK7rTMlCHO5+reyXsPlmfr7N1F91lPHsWYfMEGQm/KQ+F4JFM8jGoeQDmDvdTs93Fw9aSilH+uKRb4/jXvQ==", + "license": "MIT", + "dependencies": { + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/react-router-dom": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.17.0.tgz", + "integrity": "sha512-fyU2yjGups/hE6Xz0I5ZYbVL8Gx29eCjgpHaRaTaVU+OOAdfRX05KsvyRm0GO8YQwOkhpU3MurW1jyMUJn+zSw==", + "license": "MIT", + "dependencies": { + "react-router": "7.17.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/react-router/node_modules/set-cookie-parser": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", + "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==", + "license": "MIT" + }, + "node_modules/react-style-singleton": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", + "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", + "license": "MIT", + "dependencies": { + "get-nonce": "^1.0.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-textarea-autosize": { + "version": "8.5.9", + "resolved": "https://registry.npmjs.org/react-textarea-autosize/-/react-textarea-autosize-8.5.9.tgz", + "integrity": "sha512-U1DGlIQN5AwgjTyOEnI1oCcMuEr1pv1qOtklB2l4nyMGbHzWrI0eFsYK0zos2YWqAolJyG0IWJaqWmWj5ETh0A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.13", + "use-composed-ref": "^1.3.0", + "use-latest": "^1.2.1" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/rettime": { + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/rettime/-/rettime-0.11.11.tgz", + "integrity": "sha512-ILJRqVWBCTlg9r42fFgwVZx1gnFAcQF8mRoMkbgQfIrjEDf9nbBFDFx00oloOa+Q869FUtaYDXZvEfnecQSCoQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/rollup": { + "version": "4.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.61.1.tgz", + "integrity": "sha512-I4KW6iuRpuu2uHBLraZ1wNZe0DP7lnRha+VJ9tNaYVaVgKhW0aI3h4RYnoRPeql0flHm/Co55b7snEDcOfOJrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.9" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.61.1", + "@rollup/rollup-android-arm64": "4.61.1", + "@rollup/rollup-darwin-arm64": "4.61.1", + "@rollup/rollup-darwin-x64": "4.61.1", + "@rollup/rollup-freebsd-arm64": "4.61.1", + "@rollup/rollup-freebsd-x64": "4.61.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.61.1", + "@rollup/rollup-linux-arm-musleabihf": "4.61.1", + "@rollup/rollup-linux-arm64-gnu": "4.61.1", + "@rollup/rollup-linux-arm64-musl": "4.61.1", + "@rollup/rollup-linux-loong64-gnu": "4.61.1", + "@rollup/rollup-linux-loong64-musl": "4.61.1", + "@rollup/rollup-linux-ppc64-gnu": "4.61.1", + "@rollup/rollup-linux-ppc64-musl": "4.61.1", + "@rollup/rollup-linux-riscv64-gnu": "4.61.1", + "@rollup/rollup-linux-riscv64-musl": "4.61.1", + "@rollup/rollup-linux-s390x-gnu": "4.61.1", + "@rollup/rollup-linux-x64-gnu": "4.61.1", + "@rollup/rollup-linux-x64-musl": "4.61.1", + "@rollup/rollup-openbsd-x64": "4.61.1", + "@rollup/rollup-openharmony-arm64": "4.61.1", + "@rollup/rollup-win32-arm64-msvc": "4.61.1", + "@rollup/rollup-win32-ia32-msvc": "4.61.1", + "@rollup/rollup-win32-x64-gnu": "4.61.1", + "@rollup/rollup-win32-x64-msvc": "4.61.1", + "fsevents": "~2.3.2" + } + }, + "node_modules/saxes": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", + "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=v12.22.7" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-cookie-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.1.0.tgz", + "integrity": "sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "dev": true, + "license": "MIT" + }, + "node_modules/strict-event-emitter": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", + "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-literal": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz", + "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/strip-literal/node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/sugarss": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-5.0.1.tgz", + "integrity": "sha512-ctS5RYCBVvPoZAnzIaX5QSShK8ZiZxD5HUqSxlusvEMC+QZQIPCPOIJg6aceFX+K2rf4+SH89eu++h1Zmsr2nw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.0" + }, + "peerDependencies": { + "postcss": "^8.3.3" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tabbable": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.4.0.tgz", + "integrity": "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg==", + "license": "MIT" + }, + "node_modules/tagged-tag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", + "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyexec": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinypool": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", + "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/tinyrainbow": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz", + "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz", + "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tldts": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.2.tgz", + "integrity": "sha512-kCwffuaH8ntKtygnWe1b4BJKWiCUH30n5KfoTr6IchcXOwR7chAOFJxFrH3vjANafUYrIA4a7SDL+nn7SiR4Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.4.2" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.2.tgz", + "integrity": "sha512-nwEyF4vl4RSJjwSjBUmOSxc3BFPoIFdlRthJ6e+5v9P3bHNsoD06UjuqMUspqp7vsEZ1beaHi1km+optiE17yA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tough-cookie": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.1.tgz", + "integrity": "sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tldts": "^7.0.5" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/tr46": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-6.0.0.tgz", + "integrity": "sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/ts-api-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.61.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.61.0.tgz", + "integrity": "sha512-8y31Rd0eGTrDKqhy6vT0HtzhN+YLjQizwX3aA3hPXP/ynSfnrBXcQY5IzsP9/DM7+klX4IUncZZjkchP0z+rUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.61.0", + "@typescript-eslint/parser": "8.61.0", + "@typescript-eslint/typescript-estree": "8.61.0", + "@typescript-eslint/utils": "8.61.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/undici-types": { + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "dev": true, + "license": "MIT" + }, + "node_modules/until-async": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/until-async/-/until-async-3.0.2.tgz", + "integrity": "sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/kettanaito" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/use-callback-ref": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", + "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-composed-ref": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/use-composed-ref/-/use-composed-ref-1.4.0.tgz", + "integrity": "sha512-djviaxuOOh7wkj0paeO1Q/4wMZ8Zrnag5H6yBvzN7AKKe8beOaED9SF5/ByLqsku8NP4zQqsvM2u3ew/tJK8/w==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-isomorphic-layout-effect": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.2.1.tgz", + "integrity": "sha512-tpZZ+EX0gaghDAiFR37hj5MgY6ZN55kLiPkJsKxBMZ6GZdOSPJXiOzPM984oPYZ5AnehYx5WQp1+ME8I/P/pRA==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-latest": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/use-latest/-/use-latest-1.3.0.tgz", + "integrity": "sha512-mhg3xdm9NaM8q+gLT8KryJPnRFOz1/5XPBhmDEVZK1webPzDjrPk7f/mbpeLqTgB9msytYWANxgALOCJKnLvcQ==", + "license": "MIT", + "dependencies": { + "use-isomorphic-layout-effect": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", + "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", + "license": "MIT", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/vite": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.5.tgz", + "integrity": "sha512-KuOaNhcnGFN2zIPGA7wRmzF+lJA1sea7rHq17aiJ++9lzY1WWG6Jpwqwe1KNbRVPIqHmr8GLYx7jbrQcN/7/ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.27.0", + "fdir": "^6.5.0", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.43.0", + "tinyglobby": "^0.2.15" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz", + "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.4.1", + "es-module-lexer": "^1.7.0", + "pathe": "^2.0.3", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vite/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/vitest": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.6.tgz", + "integrity": "sha512-xejya+bT/j/+R/AGa1XOfRxLmNUlLtlwjRsFUILF+xHfzElmGcmFydy2gqqIrd62ptIEfwVMofd19uNWD9L7Nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/expect": "3.2.6", + "@vitest/mocker": "3.2.6", + "@vitest/pretty-format": "^3.2.6", + "@vitest/runner": "3.2.6", + "@vitest/snapshot": "3.2.6", + "@vitest/spy": "3.2.6", + "@vitest/utils": "3.2.6", + "chai": "^5.2.0", + "debug": "^4.4.1", + "expect-type": "^1.2.1", + "magic-string": "^0.30.17", + "pathe": "^2.0.3", + "picomatch": "^4.0.2", + "std-env": "^3.9.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.2", + "tinyglobby": "^0.2.14", + "tinypool": "^1.1.1", + "tinyrainbow": "^2.0.0", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", + "vite-node": "3.2.4", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/debug": "^4.1.12", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "@vitest/browser": "3.2.6", + "@vitest/ui": "3.2.6", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/debug": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/w3c-xmlserializer": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", + "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/webidl-conversions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-8.0.1.tgz", + "integrity": "sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-url": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz", + "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "^6.0.0", + "webidl-conversions": "^8.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/ws": { + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", + "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true, + "license": "MIT" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + } + } +} diff --git a/frontend/package.json b/frontend/package.json new file mode 100644 index 0000000..2a07116 --- /dev/null +++ b/frontend/package.json @@ -0,0 +1,65 @@ +{ + "name": "cactus-ui-frontend", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "dev:mock": "vite --mode mock", + "build": "tsc -b && vite build", + "preview": "vite preview", + "lint": "eslint .", + "format": "prettier --write .", + "format:check": "prettier --check .", + "generate:types": "node scripts/generate-types.mjs", + "typecheck": "tsc -b", + "test": "vitest run", + "test:watch": "vitest", + "test:e2e": "playwright test" + }, + "dependencies": { + "@mantine/core": "^8.3.5", + "@mantine/hooks": "^8.3.5", + "@mantine/modals": "^8.3.5", + "@mantine/notifications": "^8.3.5", + "@tabler/icons-react": "^3.36.0", + "@tanstack/react-query": "^5.90.0", + "chart.js": "^4.5.1", + "chartjs-plugin-annotation": "^3.1.0", + "highlight.js": "^11.11.1", + "react": "^19.2.0", + "react-chartjs-2": "^5.3.1", + "react-dom": "^19.2.0", + "react-router-dom": "^7.9.0" + }, + "devDependencies": { + "@eslint/js": "^9.39.0", + "@playwright/test": "^1.56.0", + "@testing-library/jest-dom": "^6.9.0", + "@testing-library/react": "^16.3.0", + "@testing-library/user-event": "^14.6.0", + "@types/react": "^19.2.0", + "@types/react-dom": "^19.2.0", + "@vitejs/plugin-react": "^5.1.0", + "eslint": "^9.39.0", + "eslint-plugin-react-hooks": "^6.1.0", + "eslint-plugin-react-refresh": "^0.4.24", + "globals": "^16.5.0", + "jsdom": "^27.0.0", + "json-schema-to-typescript": "^15.0.4", + "msw": "^2.12.0", + "postcss": "^8.5.0", + "postcss-preset-mantine": "^1.18.0", + "postcss-simple-vars": "^7.0.1", + "prettier": "^3.6.0", + "typescript": "~5.9.0", + "typescript-eslint": "^8.46.0", + "vite": "^7.2.0", + "vitest": "^3.2.0" + }, + "msw": { + "workerDirectory": [ + "public" + ] + } +} diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts new file mode 100644 index 0000000..96d813c --- /dev/null +++ b/frontend/playwright.config.ts @@ -0,0 +1,14 @@ +import { defineConfig, devices } from '@playwright/test'; + +export default defineConfig({ + testDir: './e2e', + use: { + baseURL: 'http://localhost:5173', + }, + projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }], + webServer: { + command: 'npm run dev:mock', + url: 'http://localhost:5173', + reuseExistingServer: !process.env.CI, + }, +}); diff --git a/frontend/postcss.config.cjs b/frontend/postcss.config.cjs new file mode 100644 index 0000000..bfba0dd --- /dev/null +++ b/frontend/postcss.config.cjs @@ -0,0 +1,14 @@ +module.exports = { + plugins: { + 'postcss-preset-mantine': {}, + 'postcss-simple-vars': { + variables: { + 'mantine-breakpoint-xs': '36em', + 'mantine-breakpoint-sm': '48em', + 'mantine-breakpoint-md': '62em', + 'mantine-breakpoint-lg': '75em', + 'mantine-breakpoint-xl': '88em', + }, + }, + }, +}; diff --git a/frontend/public/mockServiceWorker.js b/frontend/public/mockServiceWorker.js new file mode 100644 index 0000000..33dde9e --- /dev/null +++ b/frontend/public/mockServiceWorker.js @@ -0,0 +1,349 @@ +/* eslint-disable */ +/* tslint:disable */ + +/** + * Mock Service Worker. + * @see https://github.com/mswjs/msw + * - Please do NOT modify this file. + */ + +const PACKAGE_VERSION = '2.14.6' +const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82' +const IS_MOCKED_RESPONSE = Symbol('isMockedResponse') +const activeClientIds = new Set() + +addEventListener('install', function () { + self.skipWaiting() +}) + +addEventListener('activate', function (event) { + event.waitUntil(self.clients.claim()) +}) + +addEventListener('message', async function (event) { + const clientId = Reflect.get(event.source || {}, 'id') + + if (!clientId || !self.clients) { + return + } + + const client = await self.clients.get(clientId) + + if (!client) { + return + } + + const allClients = await self.clients.matchAll({ + type: 'window', + }) + + switch (event.data) { + case 'KEEPALIVE_REQUEST': { + sendToClient(client, { + type: 'KEEPALIVE_RESPONSE', + }) + break + } + + case 'INTEGRITY_CHECK_REQUEST': { + sendToClient(client, { + type: 'INTEGRITY_CHECK_RESPONSE', + payload: { + packageVersion: PACKAGE_VERSION, + checksum: INTEGRITY_CHECKSUM, + }, + }) + break + } + + case 'MOCK_ACTIVATE': { + activeClientIds.add(clientId) + + sendToClient(client, { + type: 'MOCKING_ENABLED', + payload: { + client: { + id: client.id, + frameType: client.frameType, + }, + }, + }) + break + } + + case 'CLIENT_CLOSED': { + activeClientIds.delete(clientId) + + const remainingClients = allClients.filter((client) => { + return client.id !== clientId + }) + + // Unregister itself when there are no more clients + if (remainingClients.length === 0) { + self.registration.unregister() + } + + break + } + } +}) + +addEventListener('fetch', function (event) { + const requestInterceptedAt = Date.now() + + // Bypass navigation requests. + if (event.request.mode === 'navigate') { + return + } + + // Opening the DevTools triggers the "only-if-cached" request + // that cannot be handled by the worker. Bypass such requests. + if ( + event.request.cache === 'only-if-cached' && + event.request.mode !== 'same-origin' + ) { + return + } + + // Bypass all requests when there are no active clients. + // Prevents the self-unregistered worked from handling requests + // after it's been terminated (still remains active until the next reload). + if (activeClientIds.size === 0) { + return + } + + const requestId = crypto.randomUUID() + event.respondWith(handleRequest(event, requestId, requestInterceptedAt)) +}) + +/** + * @param {FetchEvent} event + * @param {string} requestId + * @param {number} requestInterceptedAt + */ +async function handleRequest(event, requestId, requestInterceptedAt) { + const client = await resolveMainClient(event) + const requestCloneForEvents = event.request.clone() + const response = await getResponse( + event, + client, + requestId, + requestInterceptedAt, + ) + + // Send back the response clone for the "response:*" life-cycle events. + // Ensure MSW is active and ready to handle the message, otherwise + // this message will pend indefinitely. + if (client && activeClientIds.has(client.id)) { + const serializedRequest = await serializeRequest(requestCloneForEvents) + + // Clone the response so both the client and the library could consume it. + const responseClone = response.clone() + + sendToClient( + client, + { + type: 'RESPONSE', + payload: { + isMockedResponse: IS_MOCKED_RESPONSE in response, + request: { + id: requestId, + ...serializedRequest, + }, + response: { + type: responseClone.type, + status: responseClone.status, + statusText: responseClone.statusText, + headers: Object.fromEntries(responseClone.headers.entries()), + body: responseClone.body, + }, + }, + }, + responseClone.body ? [serializedRequest.body, responseClone.body] : [], + ) + } + + return response +} + +/** + * Resolve the main client for the given event. + * Client that issues a request doesn't necessarily equal the client + * that registered the worker. It's with the latter the worker should + * communicate with during the response resolving phase. + * @param {FetchEvent} event + * @returns {Promise} + */ +async function resolveMainClient(event) { + const client = await self.clients.get(event.clientId) + + if (activeClientIds.has(event.clientId)) { + return client + } + + if (client?.frameType === 'top-level') { + return client + } + + const allClients = await self.clients.matchAll({ + type: 'window', + }) + + return allClients + .filter((client) => { + // Get only those clients that are currently visible. + return client.visibilityState === 'visible' + }) + .find((client) => { + // Find the client ID that's recorded in the + // set of clients that have registered the worker. + return activeClientIds.has(client.id) + }) +} + +/** + * @param {FetchEvent} event + * @param {Client | undefined} client + * @param {string} requestId + * @param {number} requestInterceptedAt + * @returns {Promise} + */ +async function getResponse(event, client, requestId, requestInterceptedAt) { + // Clone the request because it might've been already used + // (i.e. its body has been read and sent to the client). + const requestClone = event.request.clone() + + function passthrough() { + // Cast the request headers to a new Headers instance + // so the headers can be manipulated with. + const headers = new Headers(requestClone.headers) + + // Remove the "accept" header value that marked this request as passthrough. + // This prevents request alteration and also keeps it compliant with the + // user-defined CORS policies. + const acceptHeader = headers.get('accept') + if (acceptHeader) { + const values = acceptHeader.split(',').map((value) => value.trim()) + const filteredValues = values.filter( + (value) => value !== 'msw/passthrough', + ) + + if (filteredValues.length > 0) { + headers.set('accept', filteredValues.join(', ')) + } else { + headers.delete('accept') + } + } + + return fetch(requestClone, { headers }) + } + + // Bypass mocking when the client is not active. + if (!client) { + return passthrough() + } + + // Bypass initial page load requests (i.e. static assets). + // The absence of the immediate/parent client in the map of the active clients + // means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet + // and is not ready to handle requests. + if (!activeClientIds.has(client.id)) { + return passthrough() + } + + // Notify the client that a request has been intercepted. + const serializedRequest = await serializeRequest(event.request) + const clientMessage = await sendToClient( + client, + { + type: 'REQUEST', + payload: { + id: requestId, + interceptedAt: requestInterceptedAt, + ...serializedRequest, + }, + }, + [serializedRequest.body], + ) + + switch (clientMessage.type) { + case 'MOCK_RESPONSE': { + return respondWithMock(clientMessage.data) + } + + case 'PASSTHROUGH': { + return passthrough() + } + } + + return passthrough() +} + +/** + * @param {Client} client + * @param {any} message + * @param {Array} transferrables + * @returns {Promise} + */ +function sendToClient(client, message, transferrables = []) { + return new Promise((resolve, reject) => { + const channel = new MessageChannel() + + channel.port1.onmessage = (event) => { + if (event.data && event.data.error) { + return reject(event.data.error) + } + + resolve(event.data) + } + + client.postMessage(message, [ + channel.port2, + ...transferrables.filter(Boolean), + ]) + }) +} + +/** + * @param {Response} response + * @returns {Response} + */ +function respondWithMock(response) { + // Setting response status code to 0 is a no-op. + // However, when responding with a "Response.error()", the produced Response + // instance will have status code set to 0. Since it's not possible to create + // a Response instance with status code 0, handle that use-case separately. + if (response.status === 0) { + return Response.error() + } + + const mockedResponse = new Response(response.body, response) + + Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, { + value: true, + enumerable: true, + }) + + return mockedResponse +} + +/** + * @param {Request} request + */ +async function serializeRequest(request) { + return { + url: request.url, + mode: request.mode, + method: request.method, + headers: Object.fromEntries(request.headers.entries()), + cache: request.cache, + credentials: request.credentials, + destination: request.destination, + integrity: request.integrity, + redirect: request.redirect, + referrer: request.referrer, + referrerPolicy: request.referrerPolicy, + body: await request.arrayBuffer(), + keepalive: request.keepalive, + } +} diff --git a/frontend/scripts/generate-types.mjs b/frontend/scripts/generate-types.mjs new file mode 100644 index 0000000..2f396f9 --- /dev/null +++ b/frontend/scripts/generate-types.mjs @@ -0,0 +1,44 @@ +// Converts the committed JSON Schema (frontend/src/api/generated/schema.json, produced by +// `uv run python scripts/export_api_schema.py`) into TypeScript. This is the frontend half +// of the type-generation pipeline; the Python dataclasses are the single source of truth. +// +// Run via `npm run generate:types`. CI runs it and `git diff --exit-code`s the output to +// catch drift. Do not hand-edit the generated file. + +import { compile } from 'json-schema-to-typescript'; +import { readFileSync, writeFileSync } from 'node:fs'; +import { dirname, resolve } from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const here = dirname(fileURLToPath(import.meta.url)); +const schemaPath = resolve(here, '../src/api/generated/schema.json'); +const outPath = resolve(here, '../src/api/generated/types.ts'); + +const banner = `/* eslint-disable */ +/** + * AUTO-GENERATED — DO NOT EDIT BY HAND. + * + * These types mirror the Python dataclasses that define the /api wire contract + * (cactus_ui.api_models + cactus_schema runner/orchestrator schemas). Regenerate with: + * uv run python scripts/export_api_schema.py # dataclasses -> schema.json + * (cd frontend && npm run generate:types) # schema.json -> this file + */`; + +const schema = JSON.parse(readFileSync(schemaPath, 'utf8')); + +let ts = await compile(schema, 'ApiSchemaRoot', { + bannerComment: banner, + additionalProperties: false, + unreachableDefinitions: true, + style: { singleQuote: true }, +}); + +// Drop the empty container interface json2ts emits for the $defs-only root schema, plus the +// noisy "referenced by ApiSchemaRoot" back-reference comments it attaches to every def (both +// standalone comment blocks and the trailing lines appended inside real docstrings). +ts = ts.replace(/export interface ApiSchemaRoot \{[\s\S]*?\n\}\n/, ''); +ts = ts.replace(/\/\*\*\n \* This interface was referenced[\s\S]*?\*\/\n/g, ''); +ts = ts.replace(/\n \*\n \* This interface was referenced by[^\n]*\n \* via the `definition`[^\n]*\n/g, '\n'); + +writeFileSync(outPath, ts); +console.log(`Wrote ${outPath}`); diff --git a/frontend/src/api/admin.ts b/frontend/src/api/admin.ts new file mode 100644 index 0000000..2286d90 --- /dev/null +++ b/frontend/src/api/admin.ts @@ -0,0 +1,10 @@ +import { apiFetch } from './client'; +import type { AdminStatsResponse, AdminUsersResponse } from './types'; + +export function fetchAdminUsers(): Promise { + return apiFetch('/api/admin/users'); +} + +export function fetchAdminStats(): Promise { + return apiFetch('/api/admin/stats'); +} diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts new file mode 100644 index 0000000..c964a56 --- /dev/null +++ b/frontend/src/api/client.ts @@ -0,0 +1,63 @@ +export class ApiError extends Error { + readonly status: number; + readonly body: unknown; + + constructor(status: number, message: string, body: unknown = null) { + super(message); + this.name = 'ApiError'; + this.status = status; + this.body = body; + } +} + +export class UnauthenticatedError extends ApiError { + constructor(body: unknown = null) { + super(401, 'unauthenticated', body); + this.name = 'UnauthenticatedError'; + } +} + +interface ApiFetchOptions extends RequestInit { + /** + * What to do on a 401. 'redirect' (default) performs a full-page navigation to /login + * (login is an OAuth redirect flow). 'throw' raises UnauthenticatedError instead — used + * by the session query so the SPA can render the login screen. + */ + on401?: 'redirect' | 'throw'; +} + +async function parseJsonBody(response: Response): Promise { + try { + return await response.json(); + } catch { + return null; + } +} + +export async function apiFetch(path: string, options: ApiFetchOptions = {}): Promise { + const { on401 = 'redirect', headers, ...init } = options; + + const response = await fetch(path, { + ...init, + headers: { Accept: 'application/json', ...headers }, + }); + + if (response.status === 401) { + if (on401 === 'redirect') { + window.location.assign('/login'); + return new Promise(() => {}); // never settles; the page is navigating away + } + throw new UnauthenticatedError(await parseJsonBody(response)); + } + + if (!response.ok) { + const body = await parseJsonBody(response); + let message = `Request failed with status ${response.status}`; + if (body && typeof body === 'object' && 'error' in body && typeof body.error === 'string') { + message = body.error; + } + throw new ApiError(response.status, message, body); + } + + return (await response.json()) as T; +} diff --git a/frontend/src/api/config.ts b/frontend/src/api/config.ts new file mode 100644 index 0000000..89f4ef9 --- /dev/null +++ b/frontend/src/api/config.ts @@ -0,0 +1,56 @@ +import { apiFetch } from './client'; +import type { ConfigResponse, RunGroupResponse } from './types'; + +export function fetchConfig(): Promise { + return apiFetch('/api/config'); +} + +export function updatePen(pen: number): Promise> { + return apiFetch('/api/config/pen', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ pen }), + }); +} + +export function updateDomain(subscription_domain: string): Promise> { + return apiFetch('/api/config/domain', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ subscription_domain }), + }); +} + +export function createRunGroup( + csip_aus_version: string, + is_static_uri: boolean +): Promise { + return apiFetch('/api/run_groups', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ csip_aus_version, is_static_uri }), + }); +} + +export function updateRunGroupName(run_group_id: number, name: string): Promise { + return apiFetch(`/api/run_groups/${run_group_id}`, { + method: 'PATCH', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ name }), + }); +} + +export function updateRunGroupStaticUri( + run_group_id: number, + is_static_uri: boolean +): Promise { + return apiFetch(`/api/run_groups/${run_group_id}`, { + method: 'PATCH', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ is_static_uri }), + }); +} + +export function deleteRunGroup(run_group_id: number): Promise> { + return apiFetch(`/api/run_groups/${run_group_id}`, { method: 'DELETE' }); +} diff --git a/frontend/src/api/generated/schema.json b/frontend/src/api/generated/schema.json new file mode 100644 index 0000000..955d449 --- /dev/null +++ b/frontend/src/api/generated/schema.json @@ -0,0 +1,1230 @@ +{ + "$defs": { + "ClientInteraction": { + "properties": { + "interaction_type": { + "$ref": "#/$defs/ClientInteractionType" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "interaction_type", + "timestamp" + ], + "type": "object" + }, + "ClientInteractionType": { + "enum": [ + "Runner Started", + "Test Procedure Initialised", + "Test Procedure Started", + "Request Proxied", + "TEST_PROCEDURE_FINALIZED" + ], + "type": "string" + }, + "CriteriaEntry": { + "properties": { + "details": { + "type": "string" + }, + "success": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "details", + "success", + "type" + ], + "type": "object" + }, + "DERCapabilityInfo": { + "description": "Snapshot of DERCapability for UI display", + "properties": { + "der_type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "doe_modes_supported": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_a": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_charge_rate_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_discharge_rate_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_va": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_var": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_var_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_wh": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "modes_supported": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "der_type", + "doe_modes_supported", + "max_a", + "max_charge_rate_w", + "max_discharge_rate_w", + "max_va", + "max_var", + "max_var_neg", + "max_w", + "max_wh", + "modes_supported" + ], + "type": "object" + }, + "DERSettingsInfo": { + "description": "Snapshot of DERSettings for UI display", + "properties": { + "doe_modes_enabled": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "grad_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_charge_rate_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_discharge_rate_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_va": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_var": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_var_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "max_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "modes_enabled": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "doe_modes_enabled", + "grad_w", + "max_charge_rate_w", + "max_discharge_rate_w", + "max_va", + "max_var", + "max_var_neg", + "max_w", + "modes_enabled" + ], + "type": "object" + }, + "DERStatusInfo": { + "description": "Snapshot of current DER real-time status (from SiteDERStatus / sep2 DERStatus).\nBitmaps/enums resolved to strings.", + "properties": { + "alarm_status": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "generator_connect_status": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "inverter_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "local_control_mode_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "manufacturer_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "operational_mode_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "state_of_charge_status": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "storage_connect_status": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "storage_mode_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "alarm_status", + "generator_connect_status", + "inverter_status", + "local_control_mode_status", + "manufacturer_status", + "operational_mode_status", + "state_of_charge_status", + "storage_connect_status", + "storage_mode_status" + ], + "type": "object" + }, + "DataStreamPoint": { + "properties": { + "offset": { + "type": "string" + }, + "watts": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "offset", + "watts" + ], + "type": "object" + }, + "EndDeviceMetadata": { + "properties": { + "aggregator_id": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "der_capability": { + "anyOf": [ + { + "$ref": "#/$defs/DERCapabilityInfo" + }, + { + "type": "null" + } + ], + "default": null + }, + "der_settings": { + "anyOf": [ + { + "$ref": "#/$defs/DERSettingsInfo" + }, + { + "type": "null" + } + ], + "default": null + }, + "der_status": { + "anyOf": [ + { + "$ref": "#/$defs/DERStatusInfo" + }, + { + "type": "null" + } + ], + "default": null + }, + "device_category": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "doe_modes_enabled": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "edevid": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "lfdi": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "nmi": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "set_max_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "sfdi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "timezone_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "required": [ + "aggregator_id", + "der_capability", + "der_settings", + "der_status", + "device_category", + "doe_modes_enabled", + "edevid", + "lfdi", + "nmi", + "set_max_w", + "sfdi", + "timezone_id" + ], + "type": "object" + }, + "HTTPMethod": { + "description": "HTTP methods and descriptions\n\nMethods from the following RFCs are all observed:\n\n * RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616\n * RFC 5789: PATCH Method for HTTP", + "enum": [ + "CONNECT", + "DELETE", + "GET", + "HEAD", + "OPTIONS", + "PATCH", + "POST", + "PUT", + "TRACE" + ], + "type": "string" + }, + "HTTPStatus": { + "description": "HTTP status codes and reason phrases\n\nStatus codes from the following RFCs are all observed:\n\n * RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616\n * RFC 6585: Additional HTTP Status Codes\n * RFC 3229: Delta encoding in HTTP\n * RFC 4918: HTTP Extensions for WebDAV, obsoletes 2518\n * RFC 5842: Binding Extensions to WebDAV\n * RFC 7238: Permanent Redirect\n * RFC 2295: Transparent Content Negotiation in HTTP\n * RFC 2774: An HTTP Extension Framework\n * RFC 7725: An HTTP Status Code to Report Legal Obstacles\n * RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2)\n * RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)\n * RFC 8297: An HTTP Status Code for Indicating Hints\n * RFC 8470: Using Early Data in HTTP", + "enum": [ + 100, + 101, + 102, + 103, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 226, + 300, + 301, + 302, + 303, + 304, + 305, + 307, + 308, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 421, + 422, + 423, + 424, + 425, + 426, + 428, + 429, + 431, + 451, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 510, + 511 + ], + "type": "integer" + }, + "PlaylistRunInfo": { + "description": "Summary info for a run within a playlist", + "properties": { + "run_id": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/RunStatusResponse" + }, + "test_procedure_id": { + "type": "string" + } + }, + "required": [ + "run_id", + "status", + "test_procedure_id" + ], + "type": "object" + }, + "PreconditionCheckEntry": { + "properties": { + "details": { + "type": "string" + }, + "success": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "details", + "success", + "type" + ], + "type": "object" + }, + "ProceedResponse": { + "properties": { + "handled": { + "type": "boolean" + } + }, + "required": [ + "handled" + ], + "type": "object" + }, + "RequestData": { + "properties": { + "request": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "request_id": { + "type": "integer" + }, + "response": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "request", + "request_id", + "response" + ], + "type": "object" + }, + "RequestEntry": { + "properties": { + "body_xml_errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "$ref": "#/$defs/HTTPMethod" + }, + "path": { + "type": "string" + }, + "request_id": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/HTTPStatus" + }, + "step_name": { + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "body_xml_errors", + "method", + "path", + "request_id", + "status", + "step_name", + "timestamp", + "url" + ], + "type": "object" + }, + "RunResponse": { + "properties": { + "all_criteria_met": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "classes": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "finalised_at": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "has_artifacts": { + "type": "boolean" + }, + "is_device_cert": { + "type": "boolean" + }, + "playlist_execution_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "playlist_order": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null + }, + "playlist_runs": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/PlaylistRunInfo" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "run_id": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/RunStatusResponse" + }, + "test_procedure_id": { + "type": "string" + }, + "test_url": { + "type": "string" + } + }, + "required": [ + "all_criteria_met", + "classes", + "created_at", + "finalised_at", + "has_artifacts", + "is_device_cert", + "playlist_execution_id", + "playlist_order", + "playlist_runs", + "run_id", + "status", + "test_procedure_id", + "test_url" + ], + "type": "object" + }, + "RunStatusResponse": { + "enum": [ + "initialised", + "started", + "finalised", + "provisioning", + "skipped" + ], + "type": "string" + }, + "RunStatusShell": { + "description": "Run-status page shell: the run plus the few extras the orchestrator doesn't supply.\n\n`run` and `playlist_runs` are canonical `RunResponse`s (no reshaping/renaming) \u2014 the\nfrontend reads their fields directly and derives playlist order / active-run / next-run\nitself. The remaining fields are things only the BFF knows or computes.", + "properties": { + "is_immediate_start": { + "type": "boolean" + }, + "playlist_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "playlist_runs": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/RunResponse" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "run": { + "anyOf": [ + { + "$ref": "#/$defs/RunResponse" + }, + { + "type": "null" + } + ] + }, + "run_is_live": { + "type": "boolean" + } + }, + "required": [ + "is_immediate_start", + "playlist_name", + "playlist_runs", + "run", + "run_is_live" + ], + "type": "object" + }, + "RunnerStatus": { + "properties": { + "criteria": { + "items": { + "$ref": "#/$defs/CriteriaEntry" + }, + "type": "array" + }, + "csip_aus_version": { + "type": "string" + }, + "end_device_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/EndDeviceMetadata" + }, + { + "type": "null" + } + ], + "default": null + }, + "instructions": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "last_client_interaction": { + "$ref": "#/$defs/ClientInteraction" + }, + "log_envoy": { + "type": "string" + }, + "precondition_checks": { + "items": { + "$ref": "#/$defs/PreconditionCheckEntry" + }, + "type": "array" + }, + "request_history": { + "items": { + "$ref": "#/$defs/RequestEntry" + }, + "type": "array" + }, + "status_summary": { + "type": "string" + }, + "step_status": { + "anyOf": [ + { + "additionalProperties": { + "$ref": "#/$defs/StepEventStatus" + }, + "type": "object" + }, + { + "type": "null" + } + ], + "default": null + }, + "test_procedure_name": { + "default": "-", + "type": "string" + }, + "timeline": { + "anyOf": [ + { + "$ref": "#/$defs/TimelineStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "timestamp_initialise": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "timestamp_start": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "timestamp_status": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "criteria", + "csip_aus_version", + "end_device_metadata", + "instructions", + "last_client_interaction", + "log_envoy", + "precondition_checks", + "request_history", + "status_summary", + "step_status", + "test_procedure_name", + "timeline", + "timestamp_initialise", + "timestamp_start", + "timestamp_status" + ], + "type": "object" + }, + "StepEventStatus": { + "properties": { + "completed_at": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "event_status": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null + }, + "started_at": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "completed_at", + "event_status", + "started_at" + ], + "type": "object" + }, + "TimelineDataStreamEntry": { + "properties": { + "dashed": { + "type": "boolean" + }, + "data": { + "items": { + "$ref": "#/$defs/DataStreamPoint" + }, + "type": "array" + }, + "label": { + "type": "string" + }, + "stepped": { + "type": "boolean" + } + }, + "required": [ + "dashed", + "data", + "label", + "stepped" + ], + "type": "object" + }, + "TimelineStatus": { + "properties": { + "data_streams": { + "items": { + "$ref": "#/$defs/TimelineDataStreamEntry" + }, + "type": "array" + }, + "now_offset": { + "type": "string" + }, + "set_max_w": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "data_streams", + "now_offset", + "set_max_w" + ], + "type": "object" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" +} diff --git a/frontend/src/api/generated/types.ts b/frontend/src/api/generated/types.ts new file mode 100644 index 0000000..65352a7 --- /dev/null +++ b/frontend/src/api/generated/types.ts @@ -0,0 +1,276 @@ +/* eslint-disable */ +/** + * AUTO-GENERATED — DO NOT EDIT BY HAND. + * + * These types mirror the Python dataclasses that define the /api wire contract + * (cactus_ui.api_models + cactus_schema runner/orchestrator schemas). Regenerate with: + * uv run python scripts/export_api_schema.py # dataclasses -> schema.json + * (cd frontend && npm run generate:types) # schema.json -> this file + */ + +export type ClientInteractionType = + | 'Runner Started' + | 'Test Procedure Initialised' + | 'Test Procedure Started' + | 'Request Proxied' + | 'TEST_PROCEDURE_FINALIZED'; +/** + * HTTP methods and descriptions + * + * Methods from the following RFCs are all observed: + * + * * RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616 + * * RFC 5789: PATCH Method for HTTP + */ +export type HTTPMethod = 'CONNECT' | 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | 'TRACE'; +/** + * HTTP status codes and reason phrases + * + * Status codes from the following RFCs are all observed: + * + * * RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616 + * * RFC 6585: Additional HTTP Status Codes + * * RFC 3229: Delta encoding in HTTP + * * RFC 4918: HTTP Extensions for WebDAV, obsoletes 2518 + * * RFC 5842: Binding Extensions to WebDAV + * * RFC 7238: Permanent Redirect + * * RFC 2295: Transparent Content Negotiation in HTTP + * * RFC 2774: An HTTP Extension Framework + * * RFC 7725: An HTTP Status Code to Report Legal Obstacles + * * RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2) + * * RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0) + * * RFC 8297: An HTTP Status Code for Indicating Hints + * * RFC 8470: Using Early Data in HTTP + */ +export type HTTPStatus = + | 100 + | 101 + | 102 + | 103 + | 200 + | 201 + | 202 + | 203 + | 204 + | 205 + | 206 + | 207 + | 208 + | 226 + | 300 + | 301 + | 302 + | 303 + | 304 + | 305 + | 307 + | 308 + | 400 + | 401 + | 402 + | 403 + | 404 + | 405 + | 406 + | 407 + | 408 + | 409 + | 410 + | 411 + | 412 + | 413 + | 414 + | 415 + | 416 + | 417 + | 418 + | 421 + | 422 + | 423 + | 424 + | 425 + | 426 + | 428 + | 429 + | 431 + | 451 + | 500 + | 501 + | 502 + | 503 + | 504 + | 505 + | 506 + | 507 + | 508 + | 510 + | 511; +export type RunStatusResponse = 'initialised' | 'started' | 'finalised' | 'provisioning' | 'skipped'; + +export interface ClientInteraction { + interaction_type: ClientInteractionType; + timestamp: string; +} +export interface CriteriaEntry { + details: string; + success: boolean; + type: string; +} +/** + * Snapshot of DERCapability for UI display + */ +export interface DERCapabilityInfo { + der_type: string | null; + doe_modes_supported: string[] | null; + max_a: number | null; + max_charge_rate_w: number | null; + max_discharge_rate_w: number | null; + max_va: number | null; + max_var: number | null; + max_var_neg: number | null; + max_w: number | null; + max_wh: number | null; + modes_supported: string[] | null; +} +/** + * Snapshot of DERSettings for UI display + */ +export interface DERSettingsInfo { + doe_modes_enabled: string[] | null; + grad_w: number | null; + max_charge_rate_w: number | null; + max_discharge_rate_w: number | null; + max_va: number | null; + max_var: number | null; + max_var_neg: number | null; + max_w: number | null; + modes_enabled: string[] | null; +} +/** + * Snapshot of current DER real-time status (from SiteDERStatus / sep2 DERStatus). + * Bitmaps/enums resolved to strings. + */ +export interface DERStatusInfo { + alarm_status: string[] | null; + generator_connect_status: string[] | null; + inverter_status: string | null; + local_control_mode_status: string | null; + manufacturer_status: string | null; + operational_mode_status: string | null; + state_of_charge_status: number | null; + storage_connect_status: string[] | null; + storage_mode_status: string | null; +} +export interface DataStreamPoint { + offset: string; + watts: number | null; +} +export interface EndDeviceMetadata { + aggregator_id: number | null; + der_capability: DERCapabilityInfo | null; + der_settings: DERSettingsInfo | null; + der_status: DERStatusInfo | null; + device_category: number | null; + doe_modes_enabled: number | null; + edevid: number | null; + lfdi: string | null; + nmi: string | null; + set_max_w: number | null; + sfdi: number | null; + timezone_id: string | null; +} +/** + * Summary info for a run within a playlist + */ +export interface PlaylistRunInfo { + run_id: number; + status: RunStatusResponse; + test_procedure_id: string; +} +export interface PreconditionCheckEntry { + details: string; + success: boolean; + type: string; +} +export interface ProceedResponse { + handled: boolean; +} +export interface RequestData { + request: string | null; + request_id: number; + response: string | null; +} +export interface RequestEntry { + body_xml_errors: string[]; + method: HTTPMethod; + path: string; + request_id: number; + status: HTTPStatus; + step_name: string; + timestamp: string; + url: string; +} +export interface RunResponse { + all_criteria_met: boolean | null; + classes: string[] | null; + created_at: string; + finalised_at: string | null; + has_artifacts: boolean; + is_device_cert: boolean; + playlist_execution_id: string | null; + playlist_order: number | null; + playlist_runs: PlaylistRunInfo[] | null; + run_id: number; + status: RunStatusResponse; + test_procedure_id: string; + test_url: string; +} +/** + * Run-status page shell: the run plus the few extras the orchestrator doesn't supply. + * + * `run` and `playlist_runs` are canonical `RunResponse`s (no reshaping/renaming) — the + * frontend reads their fields directly and derives playlist order / active-run / next-run + * itself. The remaining fields are things only the BFF knows or computes. + */ +export interface RunStatusShell { + is_immediate_start: boolean; + playlist_name: string | null; + playlist_runs: RunResponse[] | null; + run: RunResponse | null; + run_is_live: boolean; +} +export interface RunnerStatus { + criteria: CriteriaEntry[]; + csip_aus_version: string; + end_device_metadata: EndDeviceMetadata | null; + instructions: string[] | null; + last_client_interaction: ClientInteraction; + log_envoy: string; + precondition_checks: PreconditionCheckEntry[]; + request_history: RequestEntry[]; + status_summary: string; + step_status: { + [k: string]: StepEventStatus; + } | null; + test_procedure_name: string; + timeline: TimelineStatus | null; + timestamp_initialise: string | null; + timestamp_start: string | null; + timestamp_status: string; +} +export interface StepEventStatus { + completed_at: string | null; + event_status: string | null; + started_at: string | null; +} +export interface TimelineStatus { + data_streams: TimelineDataStreamEntry[]; + now_offset: string; + set_max_w: number | null; +} +export interface TimelineDataStreamEntry { + dashed: boolean; + data: DataStreamPoint[]; + label: string; + stepped: boolean; +} diff --git a/frontend/src/api/playlists.ts b/frontend/src/api/playlists.ts new file mode 100644 index 0000000..c468bf1 --- /dev/null +++ b/frontend/src/api/playlists.ts @@ -0,0 +1,29 @@ +import { apiFetch } from './client'; +import type { + PlaylistSession, + PlaylistTestsResponse, + RunActionResponse, +} from './types'; + +export function fetchPlaylistTests(runGroupId: number): Promise { + return apiFetch(`/api/group/${runGroupId}/playlist_tests`); +} + +export function fetchPlaylistSessions(runGroupId: number): Promise { + return apiFetch(`/api/group/${runGroupId}/playlist_sessions`); +} + +export function initPlaylist( + runGroupId: number, + procedures: string[] +): Promise { + return apiFetch(`/api/group/${runGroupId}/playlist`, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ procedures }), + }); +} + +export function finalisePlaylist(runId: number): Promise { + return apiFetch(`/api/runs/${runId}/finalise_playlist`, { method: 'POST' }); +} diff --git a/frontend/src/api/procedures.ts b/frontend/src/api/procedures.ts new file mode 100644 index 0000000..656d526 --- /dev/null +++ b/frontend/src/api/procedures.ts @@ -0,0 +1,10 @@ +import { apiFetch } from './client'; +import type { ProceduresResponse, ProcedureYamlResponse } from './types'; + +export function fetchProcedures(): Promise { + return apiFetch('/api/procedures'); +} + +export function fetchProcedureYaml(testProcedureId: string): Promise { + return apiFetch(`/api/procedure/${encodeURIComponent(testProcedureId)}`); +} diff --git a/frontend/src/api/runGroup.ts b/frontend/src/api/runGroup.ts new file mode 100644 index 0000000..203379b --- /dev/null +++ b/frontend/src/api/runGroup.ts @@ -0,0 +1,13 @@ +import { apiFetch } from './client'; +import type { ComplianceResponse } from './types'; + +function apiBase(isAdminView: boolean): string { + return isAdminView ? '/api/admin' : '/api'; +} + +export function fetchCompliance( + runGroupId: number, + isAdminView: boolean +): Promise { + return apiFetch(`${apiBase(isAdminView)}/group/${runGroupId}/compliance`); +} diff --git a/frontend/src/api/runStatus.ts b/frontend/src/api/runStatus.ts new file mode 100644 index 0000000..67d3993 --- /dev/null +++ b/frontend/src/api/runStatus.ts @@ -0,0 +1,26 @@ +import { apiFetch } from './client'; +import type { ProceedResponse, RequestData, RunStatusShell, RunnerStatus } from './types'; + +function apiBase(isAdminView: boolean): string { + return isAdminView ? '/api/admin' : '/api'; +} + +// Page shell: run metadata + playlist context (server.py _build_run_status_shell). +export function fetchRunStatusShell(runId: number, isAdminView: boolean): Promise { + return apiFetch(`${apiBase(isAdminView)}/run/${runId}`); +} + +// Polled RunnerStatus. Throws ApiError(410) once the runner has terminated — callers +// use that to flip back to the finalised view. +export function fetchRunnerStatus(runId: number, isAdminView: boolean): Promise { + return apiFetch(`${apiBase(isAdminView)}/run/${runId}/status`); +} + +// Raw request/response for the request-details modal. Shared by both views. +export function fetchRequestDetails(runId: number, requestId: number): Promise { + return apiFetch(`/api/run/${runId}/requests/${requestId}`); +} + +export function sendProceed(runId: number, isAdminView: boolean): Promise { + return apiFetch(`${apiBase(isAdminView)}/runs/${runId}/proceed`, { method: 'POST' }); +} diff --git a/frontend/src/api/runs.ts b/frontend/src/api/runs.ts new file mode 100644 index 0000000..eecb55c --- /dev/null +++ b/frontend/src/api/runs.ts @@ -0,0 +1,67 @@ +import { apiFetch } from './client'; +import type { + Pagination, + ProcedureSummariesResponse, + RunActionResponse, + RunGroupResponse, + RunResponse, +} from './types'; + +function apiBase(isAdminView: boolean): string { + return isAdminView ? '/api/admin' : '/api'; +} + +// The admin endpoint can't identify the target user from the token, so it takes the +// run group being viewed as a query param (mirrors orchestrator.admin_fetch_run_groups). +export function fetchRunGroups( + isAdminView: boolean, + runGroupId?: number +): Promise> { + return isAdminView + ? apiFetch(`/api/admin/run_groups?run_group_id=${runGroupId}`) + : apiFetch('/api/run_groups'); +} + +export function fetchProcedureSummaries( + runGroupId: number, + isAdminView: boolean +): Promise { + return apiFetch(`${apiBase(isAdminView)}/group/${runGroupId}/procedure_summaries`); +} + +export function fetchProcedureRuns( + runGroupId: number, + testProcedureId: string, + isAdminView: boolean +): Promise> { + return apiFetch( + `${apiBase(isAdminView)}/group/${runGroupId}/procedure_runs/${encodeURIComponent(testProcedureId)}` + ); +} + +export function fetchActiveRuns( + runGroupId: number, + isAdminView: boolean +): Promise> { + return apiFetch(`${apiBase(isAdminView)}/group/${runGroupId}/active_runs`); +} + +export function initRun(runGroupId: number, testProcedureId: string): Promise { + return apiFetch(`/api/group/${runGroupId}/runs`, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ test_procedure_id: testProcedureId }), + }); +} + +export function startRun(runId: number): Promise { + return apiFetch(`/api/runs/${runId}/start`, { method: 'POST' }); +} + +export function finaliseRun(runId: number): Promise { + return apiFetch(`/api/runs/${runId}/finalise`, { method: 'POST' }); +} + +export function deleteRun(runId: number): Promise { + return apiFetch(`/api/runs/${runId}`, { method: 'DELETE' }); +} diff --git a/frontend/src/api/session.ts b/frontend/src/api/session.ts new file mode 100644 index 0000000..88a1836 --- /dev/null +++ b/frontend/src/api/session.ts @@ -0,0 +1,6 @@ +import { apiFetch } from './client'; +import type { SessionResponse } from './types'; + +export function fetchSession(): Promise { + return apiFetch('/api/session', { on401: 'throw' }); +} diff --git a/frontend/src/api/types.ts b/frontend/src/api/types.ts new file mode 100644 index 0000000..6b4b418 --- /dev/null +++ b/frontend/src/api/types.ts @@ -0,0 +1,240 @@ +// TS mirrors of the Flask /api JSON shapes (snake_case at the boundary). + +// GET /api/session (server.py api_session) +export interface SessionResponse { + username: string | null; + permissions: string[]; + version: string; + support_email: string; + banner_message: string | null; + hosted_images: string[]; +} + +// 401 body from /api/session +export interface UnauthenticatedResponse { + error: 'unauthenticated'; + login_banner_message: string | null; +} + +// Mirrors cactus_schema.orchestrator.TestProcedureResponse +export interface TestProcedureResponse { + test_procedure_id: string; + description: string; + category: string; + classes: string[]; + target_versions: string[]; +} + +// GET /api/procedures (server.py api_procedures) +export interface ProceduresResponse { + procedures: TestProcedureResponse[]; +} + +// GET /api/procedure/ (server.py api_procedure_yaml) +export interface ProcedureYamlResponse { + test_procedure_id: string; + yaml: string; +} + +// Mirrors cactus_schema.orchestrator.Pagination (serialised by server.py paginated_json) +export interface Pagination { + total_pages: number; + total_items: number; + page_size: number; + current_page: number; + prev_page: number | null; + next_page: number | null; + items: T[]; +} + +// Generated from cactus_schema.orchestrator (see the run-status re-export block below). +// `RunStatus` is kept as a short alias for the generated `RunStatusResponse` enum, which is +// used across many pages. +export type { PlaylistRunInfo, RunResponse, RunStatusResponse } from './generated/types'; +import type { RunStatusResponse } from './generated/types'; +export type RunStatus = RunStatusResponse; + +// Mirrors cactus_schema.orchestrator.RunGroupResponse +export interface RunGroupResponse { + run_group_id: number; + name: string; + csip_aus_version: string; + created_at: string; + is_static_uri: boolean; + static_uri: string | null; + is_device_cert: boolean | null; + certificate_id: number | null; + certificate_created_at: string | null; + total_runs: number; +} + +// Mirrors cactus_schema.orchestrator.TestProcedureRunSummaryResponse +export interface TestProcedureRunSummary { + test_procedure_id: string; + description: string; + category: string; + classes: string[] | null; + run_count: number; + latest_all_criteria_met: boolean | null; + latest_run_status: number | null; + latest_run_id: number | null; + latest_run_timestamp: string | null; + immediate_start: boolean; +} + +// Mirrors cactus_schema.orchestrator.compliance.ComplianceClass +export interface ComplianceClass { + name: string; + description: string; +} + +export interface GroupedProcedures { + slug: string; + category: string; + summaries: TestProcedureRunSummary[]; +} + +// GET /api/group//procedure_summaries (server.py build_procedure_summaries_json) +export interface ProcedureSummariesResponse { + grouped_procedures: GroupedProcedures[]; + classes: ComplianceClass[]; + classes_by_test: Record; + classes_by_category: Record; +} + +// POST /api/group//runs and /api/runs//start|finalise, DELETE /api/runs/ +export interface RunActionResponse { + run_id: number; +} + +// Mirrors cactus_schema.orchestrator.CSIPAusVersionResponse +export interface CsipAusVersionResponse { + version: string; +} + +// GET /api/config (server.py api_config) +export interface UserConfig { + subscription_domain: string; + pen: number | null; // null when pen === 0 (reserved; display as placeholder) +} + +export interface ConfigResponse { + config: UserConfig; + run_groups: RunGroupResponse[]; + csip_aus_versions: CsipAusVersionResponse[]; +} + +// GET /api/admin/users +export interface AdminUserResponse { + user_id: number; + subject_id: string; + name: string | null; + run_groups: RunGroupResponse[]; + matchable_description: string; +} + +export interface AdminUsersResponse { + users: AdminUserResponse[]; +} + +// GET /api/group//compliance (server.py build_compliance_json) +export type ComplianceStatus = 'active' | 'failed' | 'success' | 'runless' | 'unknown'; + +export interface PerRunStatus { + test_procedure_id: string; + description: string; + latest_run_id: number | null; + status: ComplianceStatus; +} + +export interface ComplianceClassEntry { + class_name: string; + class_details: ComplianceClass; + compliant: boolean; + per_run_status: PerRunStatus[]; +} + +export interface ComplianceResponse { + compliance_by_class: ComplianceClassEntry[]; +} + +// GET /api/admin/stats +export interface WeekBar { + month: string; + year: string; + count: number; +} + +export interface ProcedureStat { + test_procedure_id: string; + classes: string[] | null; + total_runs: number; + passed: number; + failed: number; + latest_passed: number; + latest_failed: number; +} + +export interface UserLeaderboardEntry { + name: string; + run_count: number; +} + +export interface AdminStatsResponse { + total_users: number; + total_run_groups: number; + total_runs: number; + total_passed: number; + total_failed: number; + max_run_number: number; + version_counts: Record; + user_leaderboard: UserLeaderboardEntry[]; + procedures: ProcedureStat[]; + runs_per_week: WeekBar[]; +} + +// One selectable test in the playlist builder (server.py build_playlist_tests_by_category) +export interface PlaylistTest { + id: string; + description: string; + classes: string[]; +} + +// GET /api/group//playlist_tests (server.py api_playlist_tests) +export interface PlaylistTestsResponse { + tests_by_category: Record; + classes: ComplianceClass[]; +} + +// One run within a playlist session (server.py build_test_status_dict) +export interface PlaylistTestStatus { + test_procedure_id: string; + run_id: number; + status: RunStatus; + all_criteria_met: boolean | null; + has_artifacts: boolean; +} + +// GET /api/group//playlist_sessions (server.py api_playlist_sessions) +export interface PlaylistSession { + playlist_execution_id: string; + short_id: string; + first_run_id: number; + created_at: string; + test_statuses: PlaylistTestStatus[]; + is_active: boolean; +} + +// --- Run status page types ---------------------------------------------------------- +// Generated from the Python dataclasses (cactus_ui.api_models + cactus_schema runner/ +// orchestrator schemas), the single source of truth for these /api wire shapes. Edit the +// dataclasses and regenerate (npm run generate:types); never hand-edit these. +export type { + ClientInteraction, + CriteriaEntry, DataStreamPoint, DERCapabilityInfo, + DERSettingsInfo, + DERStatusInfo, + EndDeviceMetadata, PreconditionCheckEntry, ProceedResponse, RequestData, RequestEntry, RunnerStatus, RunStatusShell, StepEventStatus, TimelineDataStreamEntry, + TimelineStatus +} from './generated/types'; + diff --git a/frontend/src/components/Banner.tsx b/frontend/src/components/Banner.tsx new file mode 100644 index 0000000..e83cd8d --- /dev/null +++ b/frontend/src/components/Banner.tsx @@ -0,0 +1,18 @@ +import { Alert } from '@mantine/core'; +import { useState } from 'react'; + +// Port of banner.html: dismissible warning alert. The message comes from the +// BANNER_MESSAGE envvar and was rendered with `| safe` in Jinja, so it may contain HTML. +export function Banner({ message }: { message: string | null | undefined }) { + const [dismissed, setDismissed] = useState(false); + + if (!message || dismissed) { + return null; + } + + return ( + setDismissed(true)} mb="md" role="alert"> + + + ); +} diff --git a/frontend/src/components/ErrorAlert.tsx b/frontend/src/components/ErrorAlert.tsx new file mode 100644 index 0000000..c5efff2 --- /dev/null +++ b/frontend/src/components/ErrorAlert.tsx @@ -0,0 +1,10 @@ +import { Alert } from '@mantine/core'; +import { IconAlertTriangle } from '@tabler/icons-react'; + +export function ErrorAlert({ message }: { message: string }) { + return ( + } mb="md" role="alert"> + {message} + + ); +} diff --git a/frontend/src/components/Footer.tsx b/frontend/src/components/Footer.tsx new file mode 100644 index 0000000..f47793e --- /dev/null +++ b/frontend/src/components/Footer.tsx @@ -0,0 +1,36 @@ +import { Anchor, Box, Group, Text } from '@mantine/core'; +import type { SessionResponse } from '../api/types'; + +export function Footer({ session }: { session: SessionResponse }) { + return ( + + {session.hosted_images.length > 0 && ( + <> + Hosted by + + {session.hosted_images.map((src) => ( + Host Logo + ))} + + + )} + {session.version && ( + + + {session.version} + + + )} + + ); +} diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx new file mode 100644 index 0000000..97e4d82 --- /dev/null +++ b/frontend/src/components/Layout.tsx @@ -0,0 +1,41 @@ +import { Box, Container } from '@mantine/core'; +import { Outlet } from 'react-router-dom'; +import { UnauthenticatedError } from '../api/client'; +import type { UnauthenticatedResponse } from '../api/types'; +import { useSession } from '../hooks/useSession'; +import { LoginPage } from '../pages/Login/LoginPage'; +import { ErrorAlert } from './ErrorAlert'; +import { Footer } from './Footer'; +import { NavBar } from './NavBar'; +import { PageSpinner } from './PageSpinner'; + +export function Layout() { + const { data: session, isPending, error } = useSession(); + + if (isPending) { + return ; + } + + if (error instanceof UnauthenticatedError) { + const body = error.body as UnauthenticatedResponse | null; + return ; + } + + if (error || !session) { + return ( + + + + ); + } + + return ( + + + + + +