Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
164499f0bb | ||
|
|
99b9222735 | ||
|
|
aff551e4d4 | ||
|
|
10c2d6a70d | ||
|
|
73bf4639a2 | ||
|
|
8a17013579 |
+1
-3179
File diff suppressed because one or more lines are too long
+411
-6207
File diff suppressed because one or more lines are too long
+34
-101
File diff suppressed because one or more lines are too long
@@ -0,0 +1,119 @@
|
|||||||
|
# CMS and NODE.DC Design Guideline
|
||||||
|
|
||||||
|
CMS consumes the canonical packages from `SILVER/NODEDC_DESIGN_GUIDELINE`.
|
||||||
|
The exact source commit and SHA-256 of each immutable npm package are recorded
|
||||||
|
in `ui/design-system.lock.json`; npm integrity and transitive versions are in
|
||||||
|
`ui/package-lock.json`. The packages in `ui/vendor` are npm distributions, not
|
||||||
|
locally maintained component forks. Update them from the canonical repository.
|
||||||
|
|
||||||
|
## Build and deployment
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm ci --ignore-scripts --prefix ui
|
||||||
|
node ui/build.mjs
|
||||||
|
node ui/build.mjs --check
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit `ui/`, not generated `admin/index.html`, `admin/admin.js` or `admin/admin.css`.
|
||||||
|
The release qualification repeats the frozen UI install and rejects generated
|
||||||
|
files that differ from the pinned source build. Only the existing flat `admin/`
|
||||||
|
assets enter the canonical CMS release. Root runtime dependencies, Dockerfile,
|
||||||
|
Compose and server behavior are unchanged. A qualified master commit continues
|
||||||
|
through the existing Gitea / NAS autodeploy route.
|
||||||
|
|
||||||
|
## Component ownership
|
||||||
|
|
||||||
|
- AppHeader, HeaderNavigation, HeaderProfile, HeaderAvatar, ApplicationShell,
|
||||||
|
AdminNavigationPanel and ApplicationPanel are rendered directly from ui-react
|
||||||
|
by the build. The optional duplicate workspace mark has been removed.
|
||||||
|
- Select, Switch, RangeControl, ProgressBar, StatusBadge and action Dropdowns
|
||||||
|
run as controlled React islands, using the actual package implementations.
|
||||||
|
- Existing CMS inputs remain hidden form/model bindings. Islands dispatch the
|
||||||
|
original input/change/click events. No storage, upload, publication, SEO or
|
||||||
|
knowledge model is reimplemented in the design adapter.
|
||||||
|
- FieldFrame, Button, IconButton, Icon and SettingsCard anatomy is generated
|
||||||
|
from package exports at build time. Dynamic DOM fields/cards adopt that
|
||||||
|
anatomy while retaining their existing controls and event listeners.
|
||||||
|
- MediaSourceField uses the package's DOM/CSS contract with the existing CMS
|
||||||
|
media-browser callback. The CMS file manager supplies its domain-specific
|
||||||
|
folder columns, usage data, upload and trash operations.
|
||||||
|
- Windows use ui-dom's modal controller and canonical window/glass classes.
|
||||||
|
Application workspace state uses its controller with an explicit application
|
||||||
|
binding for the string-valued shell data attributes.
|
||||||
|
- `ui/src/app.css` owns only CMS content grids, file columns, collection layout,
|
||||||
|
and application action grouping. Tokens and component materials come from
|
||||||
|
ui-core; AppHeader / profile / navigation geometry has no local overrides.
|
||||||
|
|
||||||
|
The compatibility adapter lives in `ui/src/design-system.mjs`. The original
|
||||||
|
business module was moved byte-for-byte to `ui/src/admin.mjs`. Adapters are
|
||||||
|
removed when a domain renderer is migrated to direct React composition; shared
|
||||||
|
component behavior must be changed in Design Guideline, never forked here.
|
||||||
|
|
||||||
|
## Interface organization
|
||||||
|
|
||||||
|
A single site selector and separate settings / preview actions replace the
|
||||||
|
nested workspace card. Content, SEO and knowledge retain separate modes.
|
||||||
|
Technical type badges no longer appear as form controls. Block metadata and
|
||||||
|
reorder/copy/delete actions are in a disclosure above the content editor.
|
||||||
|
Knowledge row actions use the shared Dropdown; the mobile editor uses the same
|
||||||
|
menu for secondary actions and a shared status indicator. Native model inputs
|
||||||
|
remain in forms, preserving IDs, names, validation and model serialization.
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
- Frozen deterministic UI build (`--check`) and package SHA-256 checks.
|
||||||
|
- Existing multisite integration suite: 14 passing checks, including isolated
|
||||||
|
edits/rendering/uploads, archive import, encrypted credential transfer,
|
||||||
|
publication target exclusivity, restart persistence and authentication.
|
||||||
|
- Existing release contract suite: 3 passing tests.
|
||||||
|
- Local browser verification on independent fixture copies at 1663px and 390px:
|
||||||
|
site settings, switches, SEO selection/save, knowledge editor, file browser,
|
||||||
|
shared dropdowns, nested dialog Escape, and responsive panel navigation.
|
||||||
|
- Production acceptance is recorded separately after Git deployment.
|
||||||
|
|
||||||
|
## Visual corrections — 2026-11-05
|
||||||
|
|
||||||
|
CMS opts into shared `edges: flat`, with a white accent by default. The header
|
||||||
|
uses UserProfileMenu with the name/avatar from the existing `/api/me` session
|
||||||
|
and the complete canonical header: profile label, menu icon, avatar. Settings
|
||||||
|
open from the menu; there is no separate settings action beside the avatar. FeatureSettingsWindow contains the shared
|
||||||
|
Select and ColorField; validated preferences persist in browser-local storage
|
||||||
|
under `dc-cms.ui-preferences.v1`, independently of either site's content.
|
||||||
|
|
||||||
|
The site selector uses shared split/pill presentation and short display labels;
|
||||||
|
its separate toggle, preview and settings remain independent controls. The
|
||||||
|
existing Add Block node moves beside Static after each domain navigation render.
|
||||||
|
All drag listeners stay on their original nodes; only the shared DragHandle SVG
|
||||||
|
is adopted. Local content surfaces have no decorative outlines. React-owned
|
||||||
|
color-picker controls are excluded from the legacy DOM adapter.
|
||||||
|
|
||||||
|
Verified: dark/light, accent change and reload persistence, reset to white,
|
||||||
|
nested palette Escape, 390px modal, plus/template picker, pointer drag/reorder
|
||||||
|
(discarded), switching independent sites, and the shared component/type checks.
|
||||||
|
|
||||||
|
Form groups, collection entries and JSON disclosures consume `GlassSurface tone="soft"`
|
||||||
|
with its shared padding/radius/material. The former app-local translucent
|
||||||
|
item background accumulated across nested cards and converged with TextField
|
||||||
|
fill; using the canonical opaque nested surface preserves visible field zones
|
||||||
|
in both themes without adding borders or changing input tokens.
|
||||||
|
Form groups outside collections use the same nested surface so light-theme
|
||||||
|
white inputs remain separated from white outer panels; collections already
|
||||||
|
provide that surface and do not receive a second wrapper or double padding.
|
||||||
|
|
||||||
|
|
||||||
|
## Mission Core foundation — 2026-11-05
|
||||||
|
|
||||||
|
Pinned Design Guideline: `3750a9420058fb76880cd73bb9f2d106d7cd10d5`.
|
||||||
|
CMS applies `missionDarkTheme` / `missionLightTheme` at documentElement, so menus
|
||||||
|
and settings portals share the same profile. The library owns all palette values;
|
||||||
|
reset clears a custom accent and returns to the preset. Existing explicit user
|
||||||
|
accent preferences remain supported. The static HTML declares Mission/flat before
|
||||||
|
JavaScript to avoid a flash of the legacy appearance.
|
||||||
|
|
||||||
|
Nested forms use the same SettingsCard → GlassSurface soft → field composition
|
||||||
|
as the living catalog. Media-stage and dropdown materials now reference shared
|
||||||
|
tokens. No business module, site data, deployment settings or server API changed.
|
||||||
|
|
||||||
|
Validation: deterministic generated build, multisite and release-contract tests;
|
||||||
|
local browser checks of the reported navigation-link fields, dark/light, settings
|
||||||
|
through the profile menu, custom accent, reset, and Escape focus restoration.
|
||||||
@@ -55,6 +55,9 @@ def main():
|
|||||||
dirty=subprocess.check_output(['git','status','--porcelain','--untracked-files=no'],cwd=ROOT)
|
dirty=subprocess.check_output(['git','status','--porcelain','--untracked-files=no'],cwd=ROOT)
|
||||||
if head!=args.commit or dirty: raise ValueError('qualification requires exact clean commit')
|
if head!=args.commit or dirty: raise ValueError('qualification requires exact clean commit')
|
||||||
run(['npm','ci','--ignore-scripts'])
|
run(['npm','ci','--ignore-scripts'])
|
||||||
|
# UI build dependencies never enter the production package foundation.
|
||||||
|
run(['npm','ci','--ignore-scripts','--prefix','ui'])
|
||||||
|
run(['node','ui/build.mjs','--check'])
|
||||||
files=tracked_payload()
|
files=tracked_payload()
|
||||||
for name in files:
|
for name in files:
|
||||||
if name.endswith(('.js','.mjs')): run(['node','--check',name])
|
if name.endswith(('.js','.mjs')): run(['node','--check',name])
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
// CMS application adapter. Shared component implementation belongs to @nodedc packages.
|
||||||
|
import React from "react";
|
||||||
|
import { renderToStaticMarkup as html } from "react-dom/server";
|
||||||
|
import { readFile, writeFile } from "node:fs/promises";
|
||||||
|
import { createHash } from "node:crypto";
|
||||||
|
import { fileURLToPath } from "node:url";
|
||||||
|
import { build } from "esbuild";
|
||||||
|
import { AppHeader, HeaderNavigation, HeaderProfile, HeaderAvatar, ApplicationShell, ApplicationPanel, AdminNavigationPanel, Button, IconButton, Icon, StatusBadge, FieldFrame, TextField, Switch, SettingsCard, GlassSurface, MediaSourceField, DragHandle } from "@nodedc/ui-react";
|
||||||
|
const h = React.createElement, noop = () => {
|
||||||
|
}, root = fileURLToPath(new URL("../", import.meta.url));
|
||||||
|
const read = (p) => readFile(new URL(p, import.meta.url), "utf8");
|
||||||
|
const lock = JSON.parse(await read("design-system.lock.json"));
|
||||||
|
for (const [name, hash] of Object.entries(lock.packages)) {
|
||||||
|
if (createHash("sha256").update(await readFile(new URL(`vendor/${name}`, import.meta.url))).digest("hex") !== hash) throw Error(`Design package mismatch: ${name}`);
|
||||||
|
}
|
||||||
|
const icon = (name) => h(Icon, { name });
|
||||||
|
const btn = (id, label, variant = "secondary") => h(Button, { id, variant, tone: "neutral" }, label);
|
||||||
|
const ib = (id, label, name) => h(IconButton, { id, label }, icon(name));
|
||||||
|
const header = h(AppHeader, {
|
||||||
|
brand: h("img", { src: "./nodedc-logo.svg", alt: "NODE.DC" }),
|
||||||
|
brandMonochrome: true,
|
||||||
|
left: ib("toggle-navigation", "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B\u044B", "panel"),
|
||||||
|
center: h(HeaderNavigation, { label: "\u0420\u0430\u0437\u0434\u0435\u043B\u044B CMS", value: "content", onChange: noop, items: [["content", "\u041A\u043E\u043D\u0442\u0435\u043D\u0442"], ["seo", "SEO"], ["knowledge", "\u0411\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439"]].map(([value, label]) => ({ value, label: h("span", { "data-cms-mode": value }, label) })) }),
|
||||||
|
right: h("span", { id: "cms-profile", className: "cms-ui-island" })
|
||||||
|
});
|
||||||
|
const siteContext = h("div", { className: "cms-site-context" },
|
||||||
|
h("select", { id: "site-selector", "aria-label": "Выбрать сайт" }),
|
||||||
|
h("a", { id: "site-preview", className: "nodedc-icon-button", "aria-label": "Открыть сайт", title: "Открыть сайт", target: "_blank", rel: "noopener" }, icon("external")),
|
||||||
|
ib("project-settings", "Настройки сайта", "settings"),
|
||||||
|
h("span", { id: "workspace-name", hidden: true }, "NODE.DC"),
|
||||||
|
h("span", { id: "workspace-role", hidden: true }, "Администратор сайта"),
|
||||||
|
h("span", { id: "cms-add-block-parking", hidden: true }, ib("add-block", "Добавить блок", "plus"))
|
||||||
|
);
|
||||||
|
const nav = h(AdminNavigationPanel, { eyebrow: "NODE.DC / CMS", title: h("span", { id: "sidebar-title" }, "\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435"), headerActions: ib("add-project", "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0430\u0439\u0442", "plus"), contextSlot: siteContext, items: [], onClose: noop, onItemChange: noop });
|
||||||
|
const actions = h("div", { className: "cms-editor-actions" }, h(StatusBadge, { id: "dirty-state", "data-dirty": "false" }, "\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043E"), ib("reload", "\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435", "refresh"), btn("save", "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043C\u043E\u0434\u0435\u043B\u044C", "primary"), btn("render", "\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0430\u0439\u0442"), h(Button, { id: "publish", className: "hidden", tone: "neutral" }, "\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C"));
|
||||||
|
const content = h(ApplicationPanel, { eyebrow: h("span", { id: "editor-heading" }, "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0430\u0439\u0442\u0430"), title: "\u041A\u043E\u043D\u0442\u0435\u043D\u0442", description: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043B", headerTools: actions, expanded: true, onClose: noop }, h("div", { className: "cms-editor", dangerouslySetInnerHTML: { __html: await read("editor.html") } }));
|
||||||
|
const shell = html(h(ApplicationShell, { id: "cms-shell", header, stage: h("div", { className: "cms-stage" }, h("p", null, "\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u0430\u0439\u0442\u0430\u043C\u0438 NODE.DC"), btn("open-navigation", "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B\u044B")), navigation: nav, content, navigationOpen: true, contentOpen: true, contentExpanded: true }));
|
||||||
|
const icons = ["close", "plus", "chevron-up", "chevron-down", "copy", "clipboard", "trash", "eye", "eye-off", "layers", "panel", "file", "settings", "folder", "image", "video", "refresh", "move", "edit"];
|
||||||
|
const templates = Object.entries({ nestedSurface: h(GlassSurface, {tone:"soft", padding:"md", materialRim:false}, h("span")), dragHandle: h(DragHandle, {label:"Перетащить блок"}), button: h(Button, null, "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435"), iconButton: h(IconButton, { label: "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435" }, icon("plus")), field: h(FieldFrame, { label: "\u041F\u043E\u043B\u0435" }, h("span", { "data-slot": "control" })), text: h(TextField, { id: "template-field", label: "\u041F\u043E\u043B\u0435" }), card: h(SettingsCard, { eyebrow: "\u0420\u0430\u0437\u0434\u0435\u043B", title: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435", description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435" }, h("div", { "data-slot": "body" })), media: h(MediaSourceField, { label: "\u041C\u0435\u0434\u0438\u0430", source: "file", url: "", onSourceChange: noop, onUrlChange: noop, onFileChange: noop }), ...Object.fromEntries(icons.map((name) => ["icon-" + name, icon(name)])) }).map(([name, node]) => `<template id="ds-${name}">${html(node)}</template>`).join("\n");
|
||||||
|
const page = `<!doctype html>
|
||||||
|
<html lang="ru" data-nodedc-ui="true" data-nodedc-theme="dark" data-nodedc-appearance="mission" data-nodedc-edges="flat"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="design-system-commit" content="${lock.sourceCommit}"><title>NODE.DC \u2014 CMS</title><link rel="stylesheet" href="./admin.css"></head><body>${shell}
|
||||||
|
${await read("modals.html")}
|
||||||
|
${templates}
|
||||||
|
<script type="module" src="./admin.js"><\/script></body></html>
|
||||||
|
`;
|
||||||
|
const js = await build({ absWorkingDir: root, entryPoints: ["ui/src/entry.mjs"], bundle: true, write: false, format: "esm", target: ["es2022"], minify: true, legalComments: "inline", define: { "process.env.NODE_ENV": '"production"' } });
|
||||||
|
const css = await build({ absWorkingDir: root, entryPoints: ["ui/src/app.css"], bundle: true, write: false, minify: true, loader: { ".woff2": "dataurl", ".woff": "dataurl" }, logLevel: "warning" });
|
||||||
|
const outputs = { "admin/index.html": page, "admin/admin.js": js.outputFiles[0].text, "admin/admin.css": css.outputFiles[0].text };
|
||||||
|
for (const [path, data] of Object.entries(outputs)) {
|
||||||
|
if (process.argv.includes("--check")) {
|
||||||
|
if (await readFile(root + path, "utf8") !== data) throw Error(`Stale generated UI: ${path}`);
|
||||||
|
} else await writeFile(root + path, data);
|
||||||
|
}
|
||||||
|
console.log(`CMS UI ${process.argv.includes("--check") ? "verified" : "built"} from Design Guidelines ${lock.sourceCommit}`);
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"repository": "https://git.dcserve.ru/SILVER/NODEDC_DESIGN_GUIDELINE.git",
|
||||||
|
"sourceCommit": "3750a9420058fb76880cd73bb9f2d106d7cd10d5",
|
||||||
|
"distribution": "immutable npm pack artifacts; no copied component sources",
|
||||||
|
"packages": {
|
||||||
|
"nodedc-tokens-0.6.0-mission.1.tgz": "2ed76a0e68edacac0ad6c105e8f382730f4bc87ae437728f02b17fe71c63354a",
|
||||||
|
"nodedc-ui-core-0.7.0-mission.1.tgz": "e533d936aaf46cfd0f0cc7681de2df6db47434c5cf922d456b9dc2a4d37431e8",
|
||||||
|
"nodedc-ui-dom-0.7.0-mission.1.tgz": "7865b0fabe13e08196e9edecf02bf74443385986b4aa636cb422b2f7a4bc7228",
|
||||||
|
"nodedc-ui-react-0.7.0-mission.1.tgz": "75663592cfc1cb4fab77454801a6d9e053a8f4a30b52c5ad24e6b100c231fc6c"
|
||||||
|
}
|
||||||
|
}
|
||||||
+101
@@ -0,0 +1,101 @@
|
|||||||
|
<div id="empty-state" class="empty-state">
|
||||||
|
<div class="empty-icon">ND</div>
|
||||||
|
<div>
|
||||||
|
<h3>Выберите блок слева</h3>
|
||||||
|
<p>Откройте раздел сайта, чтобы изменить текст, медиа и настройки отображения.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form id="block-form" class="block-form hidden">
|
||||||
|
<details class="json-details cms-block-options"><summary>Параметры и операции с блоком</summary><div class="cms-block-options-body"><section class="settings-card block-meta-card">
|
||||||
|
<div class="card-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Идентификатор</div>
|
||||||
|
<h3>Служебные параметры</h3>
|
||||||
|
</div>
|
||||||
|
<label class="toggle-row">
|
||||||
|
<input id="block-enabled" name="enabled" type="checkbox" />
|
||||||
|
<span>Отображение</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="field-grid">
|
||||||
|
<label class="field-control">
|
||||||
|
<span>ID блока</span>
|
||||||
|
<input id="block-id" name="id" type="text" autocomplete="off" />
|
||||||
|
</label>
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Название в админке</span>
|
||||||
|
<input id="block-label" name="adminLabel" type="text" autocomplete="off" />
|
||||||
|
</label>
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Шаблон / тип</span>
|
||||||
|
<input id="block-template" name="template" type="text" autocomplete="off" readonly />
|
||||||
|
</label>
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Target</span>
|
||||||
|
<input id="block-anchor" name="target" type="text" autocomplete="off" list="block-target-options" />
|
||||||
|
<datalist id="block-target-options"></datalist>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="settings-card structure-card">
|
||||||
|
<div class="card-head structure-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Порядок блока</div>
|
||||||
|
<h3>Операции с блоком</h3>
|
||||||
|
</div>
|
||||||
|
<div class="button-row icon-action-row">
|
||||||
|
<button id="move-up" class="icon-action-btn" type="button" title="Поднять блок" aria-label="Поднять блок">
|
||||||
|
<span aria-hidden="true">↑</span>
|
||||||
|
</button>
|
||||||
|
<button id="move-down" class="icon-action-btn" type="button" title="Опустить блок" aria-label="Опустить блок">
|
||||||
|
<span aria-hidden="true">↓</span>
|
||||||
|
</button>
|
||||||
|
<button id="duplicate" class="icon-action-btn" type="button" title="Дублировать блок" aria-label="Дублировать блок">
|
||||||
|
<span aria-hidden="true">⧉</span>
|
||||||
|
</button>
|
||||||
|
<button id="copy" class="icon-action-btn operation-extra" type="button" title="Копировать блок" aria-label="Копировать блок">
|
||||||
|
<span aria-hidden="true">□</span>
|
||||||
|
</button>
|
||||||
|
<button id="paste-after" class="icon-action-btn operation-extra" type="button" title="Вставить после" aria-label="Вставить после">
|
||||||
|
<span aria-hidden="true">▣</span>
|
||||||
|
</button>
|
||||||
|
<button id="delete-block" class="icon-action-btn danger-action-btn" type="button" title="Удалить блок" aria-label="Удалить блок">
|
||||||
|
<svg class="trash-can-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
|
||||||
|
<path d="M3.75 6.75h16.5" />
|
||||||
|
<path d="M8.25 6.75V4.9c0-.64.51-1.15 1.15-1.15h5.2c.64 0 1.15.51 1.15 1.15v1.85" />
|
||||||
|
<path d="M6.25 6.75l.7 12.15c.06.78.7 1.35 1.47 1.35h7.16c.77 0 1.41-.57 1.47-1.35l.7-12.15" />
|
||||||
|
<path d="M10 10.75v5.5" />
|
||||||
|
<path d="M14 10.75v5.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div></details>
|
||||||
|
<section class="content-panel">
|
||||||
|
<div class="panel-head">
|
||||||
|
<div>
|
||||||
|
<div id="content-panel-kicker" class="section-kicker">Контент</div>
|
||||||
|
<h3 id="content-panel-title">Редактируемые поля</h3>
|
||||||
|
</div>
|
||||||
|
<span id="content-panel-note" class="panel-note">Поля сгруппированы по смысловым подблокам верстки.</span>
|
||||||
|
</div>
|
||||||
|
<div id="content-fields" class="content-fields"></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<details class="json-details">
|
||||||
|
<summary>JSON выбранного блока</summary>
|
||||||
|
<label class="json-field">
|
||||||
|
<span>Техническое представление</span>
|
||||||
|
<textarea id="block-json" spellcheck="false"></textarea>
|
||||||
|
</label>
|
||||||
|
</details>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="knowledge-form" class="knowledge-editor hidden"></div>
|
||||||
|
<div id="project-settings-form" class="project-settings-editor hidden"></div>
|
||||||
|
|
||||||
|
<pre id="status" class="status"></pre>
|
||||||
+176
@@ -0,0 +1,176 @@
|
|||||||
|
<div id="template-modal" class="template-modal-layer hidden" role="dialog" aria-modal="true" aria-labelledby="template-modal-title">
|
||||||
|
<article class="template-modal">
|
||||||
|
<header class="template-modal-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Библиотека блоков</div>
|
||||||
|
<h2 id="template-modal-title">Добавить блок</h2>
|
||||||
|
<p>Выберите шаблон. Новый блок появится в конце соответствующего списка.</p>
|
||||||
|
</div>
|
||||||
|
<button id="template-modal-close" class="admin-panel-close modal-close-button" type="button" aria-label="Закрыть">×</button>
|
||||||
|
</header>
|
||||||
|
<div id="template-list" class="template-list"></div>
|
||||||
|
<footer class="template-modal-foot">
|
||||||
|
<button id="template-modal-cancel" class="ghost-btn" type="button">Отмена</button>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div id="delete-modal" class="template-modal-layer delete-modal-layer hidden" role="dialog" aria-modal="true" aria-labelledby="delete-modal-title" aria-describedby="delete-modal-body">
|
||||||
|
<article class="template-modal delete-modal">
|
||||||
|
<header class="template-modal-head delete-modal-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Удаление</div>
|
||||||
|
<h2 id="delete-modal-title">Подтвердите действие</h2>
|
||||||
|
<p id="delete-modal-body">Вы действительно подтвердить удаление элемента?</p>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<footer class="template-modal-foot delete-modal-foot">
|
||||||
|
<button id="delete-modal-cancel" class="ghost-btn" type="button">Отмена</button>
|
||||||
|
<button id="delete-modal-confirm" class="danger-btn delete-confirm-btn" type="button">Да</button>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div id="media-modal" class="template-modal-layer media-modal-layer hidden" role="dialog" aria-modal="true" aria-labelledby="media-modal-title">
|
||||||
|
<article class="template-modal media-modal">
|
||||||
|
<header class="template-modal-head media-modal-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Медиатека</div>
|
||||||
|
<h2 id="media-modal-title">Выбрать файл</h2>
|
||||||
|
<p id="media-modal-subtitle">Существующие файлы на сервере и загрузки для текущего поля.</p>
|
||||||
|
</div>
|
||||||
|
<div class="media-modal-actions">
|
||||||
|
<span id="media-site-size" class="media-site-size">Сайт: считаем...</span>
|
||||||
|
<button id="media-trash-toggle" class="admin-panel-close media-header-action media-trash-toggle" type="button" aria-label="Недавно удалённые" title="Недавно удалённые">
|
||||||
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path d="M3.75 6.75h16.5" />
|
||||||
|
<path d="M8.25 6.75V4.9c0-.64.51-1.15 1.15-1.15h5.2c.64 0 1.15.51 1.15 1.15v1.85" />
|
||||||
|
<path d="M6.25 6.75l.7 12.15c.06.78.7 1.35 1.47 1.35h7.16c.77 0 1.41-.57 1.47-1.35l.7-12.15" />
|
||||||
|
<path d="M10 10.75v5.5" />
|
||||||
|
<path d="M14 10.75v5.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<button id="media-modal-close" class="admin-panel-close modal-close-button media-header-action" type="button" aria-label="Закрыть">×</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<div class="media-toolbar">
|
||||||
|
<label class="media-search">
|
||||||
|
<span>Поиск</span>
|
||||||
|
<input id="media-search" type="search" autocomplete="off" placeholder="Имя, папка, путь" />
|
||||||
|
</label>
|
||||||
|
<div id="media-kind-filters" class="media-filter-row media-kind-row" aria-label="Тип файла"></div>
|
||||||
|
<div id="media-root-filters" class="media-filter-row media-root-row" aria-label="Корень файлов"></div>
|
||||||
|
<button id="media-upload" class="primary-btn media-upload-btn" type="button">+ Загрузить</button>
|
||||||
|
</div>
|
||||||
|
<div id="media-drop-zone" class="media-browser media-browser-columns">
|
||||||
|
<section class="media-main">
|
||||||
|
<div id="media-breadcrumbs" class="media-breadcrumbs"></div>
|
||||||
|
<div id="media-list" class="media-columns"></div>
|
||||||
|
<div id="media-empty" class="media-empty hidden">Папка пуста.</div>
|
||||||
|
</section>
|
||||||
|
<aside class="media-preview-panel">
|
||||||
|
<div id="media-preview" class="media-preview">
|
||||||
|
<span>FILE</span>
|
||||||
|
</div>
|
||||||
|
<div class="media-preview-copy">
|
||||||
|
<div id="media-preview-name" class="media-preview-name">Выберите файл</div>
|
||||||
|
<div id="media-preview-path" class="media-preview-path"></div>
|
||||||
|
<div id="media-preview-meta" class="media-preview-meta"></div>
|
||||||
|
</div>
|
||||||
|
<div id="media-preview-usage" class="media-usage-pill" data-status="idle">
|
||||||
|
<span class="media-usage-dot"></span>
|
||||||
|
<span>Нет выбора</span>
|
||||||
|
</div>
|
||||||
|
<div class="media-preview-actions">
|
||||||
|
<button id="media-select" class="primary-btn" type="button" disabled>Выбрать</button>
|
||||||
|
<button id="media-delete" class="danger-btn media-delete-btn" type="button" aria-label="Удалить файл" title="Удалить файл" disabled>
|
||||||
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path d="M3.75 6.75h16.5" />
|
||||||
|
<path d="M8.25 6.75V4.9c0-.64.51-1.15 1.15-1.15h5.2c.64 0 1.15.51 1.15 1.15v1.85" />
|
||||||
|
<path d="M6.25 6.75l.7 12.15c.06.78.7 1.35 1.47 1.35h7.16c.77 0 1.41-.57 1.47-1.35l.7-12.15" />
|
||||||
|
<path d="M10 10.75v5.5" />
|
||||||
|
<path d="M14 10.75v5.5" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
<footer class="template-modal-foot media-modal-foot">
|
||||||
|
<button id="media-refresh" class="ghost-btn" type="button">Обновить список</button>
|
||||||
|
<button id="media-modal-cancel" class="ghost-btn" type="button">Отмена</button>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div id="media-context-menu" class="media-context-menu hidden" role="menu"></div>
|
||||||
|
<div id="media-action-modal" class="template-modal-layer media-action-modal-layer hidden" role="dialog" aria-modal="true" aria-labelledby="media-action-title">
|
||||||
|
<article class="template-modal media-action-modal">
|
||||||
|
<header class="template-modal-head media-action-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">Файл-менеджер</div>
|
||||||
|
<h2 id="media-action-title">Действие</h2>
|
||||||
|
<p id="media-action-body">Введите имя.</p>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<div class="media-action-body">
|
||||||
|
<label class="field-control">
|
||||||
|
<span id="media-action-label">Имя</span>
|
||||||
|
<input id="media-action-input" type="text" autocomplete="off" />
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<footer class="template-modal-foot media-action-foot">
|
||||||
|
<button id="media-action-cancel" class="ghost-btn" type="button">Отмена</button>
|
||||||
|
<button id="media-action-confirm" class="primary-btn" type="button">Подтвердить</button>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div id="knowledge-button-modal" class="template-modal-layer knowledge-button-modal-layer hidden" role="dialog" aria-modal="true" aria-labelledby="knowledge-button-title">
|
||||||
|
<article class="template-modal knowledge-button-modal">
|
||||||
|
<header class="template-modal-head knowledge-button-head">
|
||||||
|
<div>
|
||||||
|
<div class="section-kicker">База знаний</div>
|
||||||
|
<h2 id="knowledge-button-title">Кнопка в статье</h2>
|
||||||
|
<p>Ссылка ведёт на лендинг или внешний адрес. Target открывает нужный блок лендинга.</p>
|
||||||
|
</div>
|
||||||
|
<button id="knowledge-button-close" class="admin-panel-close modal-close-button" type="button" aria-label="Закрыть">×</button>
|
||||||
|
</header>
|
||||||
|
<div class="knowledge-button-body">
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Название</span>
|
||||||
|
<input id="knowledge-button-name" type="text" autocomplete="off" placeholder="Посмотреть демо" />
|
||||||
|
</label>
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Ссылка</span>
|
||||||
|
<input id="knowledge-button-link" type="text" autocomplete="off" placeholder="/" />
|
||||||
|
</label>
|
||||||
|
<label class="field-control">
|
||||||
|
<span>Target / блок лендинга</span>
|
||||||
|
<input id="knowledge-button-target" type="text" autocomplete="off" list="knowledge-button-target-options" placeholder="hub-video" />
|
||||||
|
<datalist id="knowledge-button-target-options"></datalist>
|
||||||
|
</label>
|
||||||
|
<p class="knowledge-button-hint">Можно выбрать target из списка или ввести ID блока лендинга. Если target пустой, ссылка откроет первый экран.</p>
|
||||||
|
<p id="knowledge-button-error" class="knowledge-button-error" aria-live="polite"></p>
|
||||||
|
</div>
|
||||||
|
<footer class="template-modal-foot knowledge-button-foot">
|
||||||
|
<button id="knowledge-button-cancel" class="ghost-btn" type="button">Отмена</button>
|
||||||
|
<button id="knowledge-button-confirm" class="primary-btn" type="button">Добавить кнопку</button>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<dialog id="new-site-dialog" class="site-dialog">
|
||||||
|
<form id="new-site-form">
|
||||||
|
<h2>Добавить сайт</h2><p>Содержимое и медиа будут скопированы в отдельный проект. Публикация изначально отключена.</p>
|
||||||
|
<label>Название<input name="name" required maxlength="160" placeholder="NODE.DC — Mission Core"></label>
|
||||||
|
<label>ID сайта<input name="id" required pattern="[a-z][a-z0-9-]{0,47}" maxlength="48" placeholder="mission-core"></label>
|
||||||
|
<label>Копировать из<select id="new-site-source" name="copyFrom" required></select></label>
|
||||||
|
<label>Публичный адрес<input name="publicUrl" type="url" placeholder="https://nodedc.ru/"></label>
|
||||||
|
<p id="new-site-error" role="alert"></p>
|
||||||
|
<div class="site-dialog-actions"><button type="button" data-close-dialog>Отмена</button><button type="submit">Создать независимую копию</button></div>
|
||||||
|
</form>
|
||||||
|
</dialog>
|
||||||
|
<dialog id="transfer-site-dialog" class="site-dialog">
|
||||||
|
<form id="transfer-site-form">
|
||||||
|
<h2>Перенос настроек публикации</h2><p>Деплой исходного сайта будет отключён. Адрес сервера, папка и сохранённый пароль будут перенесены в текущий проект. Файлы на хостинге сейчас не меняются.</p>
|
||||||
|
<label>Исходный сайт<select id="transfer-site-source" required></select></label>
|
||||||
|
<p id="transfer-site-error" role="alert"></p>
|
||||||
|
<div class="site-dialog-actions"><button type="button" data-close-dialog>Отмена</button><button type="submit">Перенести настройки</button></div>
|
||||||
|
</form>
|
||||||
|
</dialog>
|
||||||
Generated
+608
@@ -0,0 +1,608 @@
|
|||||||
|
{
|
||||||
|
"name": "dc-cms-ui-build",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "dc-cms-ui-build",
|
||||||
|
"dependencies": {
|
||||||
|
"@nodedc/tokens": "file:vendor/nodedc-tokens-0.6.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-core": "file:vendor/nodedc-ui-core-0.7.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-dom": "file:vendor/nodedc-ui-dom-0.7.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-react": "file:vendor/nodedc-ui-react-0.7.0-mission.1.tgz",
|
||||||
|
"esbuild": "0.28.1",
|
||||||
|
"react": "19.2.7",
|
||||||
|
"react-dom": "19.2.7"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@dnd-kit/accessibility": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": ">=16.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@dnd-kit/core": {
|
||||||
|
"version": "6.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz",
|
||||||
|
"integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@dnd-kit/accessibility": "^3.1.1",
|
||||||
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
|
"tslib": "^2.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": ">=16.8.0",
|
||||||
|
"react-dom": ">=16.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@dnd-kit/sortable": {
|
||||||
|
"version": "10.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-10.0.0.tgz",
|
||||||
|
"integrity": "sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
|
"tslib": "^2.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@dnd-kit/core": "^6.3.0",
|
||||||
|
"react": ">=16.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@dnd-kit/utilities": {
|
||||||
|
"version": "3.2.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz",
|
||||||
|
"integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": ">=16.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/aix-ppc64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
|
||||||
|
"cpu": [
|
||||||
|
"ppc64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"aix"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/android-arm": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/android-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/android-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/darwin-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/darwin-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/freebsd-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/freebsd-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-arm": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-ia32": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
|
||||||
|
"cpu": [
|
||||||
|
"ia32"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-loong64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
|
||||||
|
"cpu": [
|
||||||
|
"loong64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-mips64el": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
|
||||||
|
"cpu": [
|
||||||
|
"mips64el"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-ppc64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
|
||||||
|
"cpu": [
|
||||||
|
"ppc64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-riscv64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
|
||||||
|
"cpu": [
|
||||||
|
"riscv64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-s390x": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
|
||||||
|
"cpu": [
|
||||||
|
"s390x"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/linux-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/netbsd-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"netbsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/netbsd-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"netbsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/openbsd-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"openbsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/openbsd-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"openbsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/openharmony-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"openharmony"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/sunos-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"sunos"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/win32-arm64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/win32-ia32": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
|
||||||
|
"cpu": [
|
||||||
|
"ia32"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@esbuild/win32-x64": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nodedc/tokens": {
|
||||||
|
"version": "0.6.0",
|
||||||
|
"resolved": "file:vendor/nodedc-tokens-0.6.0-mission.1.tgz",
|
||||||
|
"integrity": "sha512-8hoq5hjMTvcCZMFRnKHD9/DYIJ4MaywBn69y7dgJI1Kwtuj2AtoxI9fRN8JTZ6hBiRv0lvmi23ogmzLkF4EWLg=="
|
||||||
|
},
|
||||||
|
"node_modules/@nodedc/ui-core": {
|
||||||
|
"version": "0.7.0",
|
||||||
|
"resolved": "file:vendor/nodedc-ui-core-0.7.0-mission.1.tgz",
|
||||||
|
"integrity": "sha512-C3/orF7aUvrFq5fAOxrWd8a+uxLvpj9QppDf1kJyERsDTScHRwWIaMDhBzxytQc5rV4lZ/Ovp5wYTMC9PyhMWQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@nodedc/tokens": "0.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nodedc/ui-dom": {
|
||||||
|
"version": "0.7.0",
|
||||||
|
"resolved": "file:vendor/nodedc-ui-dom-0.7.0-mission.1.tgz",
|
||||||
|
"integrity": "sha512-s744E1rpjhVVwGqvEzZCwewkk67hetrOz5exSfXILMKKwnz0hhFoXyhUfZhAEvO8aCiWeBr4sH56P/lCck1bIA==",
|
||||||
|
"dependencies": {
|
||||||
|
"@nodedc/ui-core": "0.7.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nodedc/ui-react": {
|
||||||
|
"version": "0.7.0",
|
||||||
|
"resolved": "file:vendor/nodedc-ui-react-0.7.0-mission.1.tgz",
|
||||||
|
"integrity": "sha512-aJ/5dq7Yoghk9GP3+uJRxPnCQHTdhU8lgE0p/+/8OZiE+5GnT71ElFZyCwtTgFcysunM4xcnVThzfY2UXkEOmw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@dnd-kit/core": "^6.3.1",
|
||||||
|
"@dnd-kit/sortable": "^10.0.0",
|
||||||
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
|
"@nodedc/ui-core": "0.7.0",
|
||||||
|
"lucide-react": "^0.468.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": ">=18",
|
||||||
|
"react-dom": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/esbuild": {
|
||||||
|
"version": "0.28.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
|
||||||
|
"integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"bin": {
|
||||||
|
"esbuild": "bin/esbuild"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@esbuild/aix-ppc64": "0.28.1",
|
||||||
|
"@esbuild/android-arm": "0.28.1",
|
||||||
|
"@esbuild/android-arm64": "0.28.1",
|
||||||
|
"@esbuild/android-x64": "0.28.1",
|
||||||
|
"@esbuild/darwin-arm64": "0.28.1",
|
||||||
|
"@esbuild/darwin-x64": "0.28.1",
|
||||||
|
"@esbuild/freebsd-arm64": "0.28.1",
|
||||||
|
"@esbuild/freebsd-x64": "0.28.1",
|
||||||
|
"@esbuild/linux-arm": "0.28.1",
|
||||||
|
"@esbuild/linux-arm64": "0.28.1",
|
||||||
|
"@esbuild/linux-ia32": "0.28.1",
|
||||||
|
"@esbuild/linux-loong64": "0.28.1",
|
||||||
|
"@esbuild/linux-mips64el": "0.28.1",
|
||||||
|
"@esbuild/linux-ppc64": "0.28.1",
|
||||||
|
"@esbuild/linux-riscv64": "0.28.1",
|
||||||
|
"@esbuild/linux-s390x": "0.28.1",
|
||||||
|
"@esbuild/linux-x64": "0.28.1",
|
||||||
|
"@esbuild/netbsd-arm64": "0.28.1",
|
||||||
|
"@esbuild/netbsd-x64": "0.28.1",
|
||||||
|
"@esbuild/openbsd-arm64": "0.28.1",
|
||||||
|
"@esbuild/openbsd-x64": "0.28.1",
|
||||||
|
"@esbuild/openharmony-arm64": "0.28.1",
|
||||||
|
"@esbuild/sunos-x64": "0.28.1",
|
||||||
|
"@esbuild/win32-arm64": "0.28.1",
|
||||||
|
"@esbuild/win32-ia32": "0.28.1",
|
||||||
|
"@esbuild/win32-x64": "0.28.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lucide-react": {
|
||||||
|
"version": "0.468.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.468.0.tgz",
|
||||||
|
"integrity": "sha512-6koYRhnM2N0GGZIdXzSeiNwguv1gt/FAjZOiPl76roBi3xKEXa4WmfpxgQwTTL4KipXjefrnf3oV4IsYhi4JFA==",
|
||||||
|
"license": "ISC",
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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-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/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/tslib": {
|
||||||
|
"version": "2.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz",
|
||||||
|
"integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==",
|
||||||
|
"license": "0BSD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "dc-cms-ui-build",
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"build": "node build.mjs",
|
||||||
|
"check": "node build.mjs --check"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@nodedc/tokens": "file:vendor/nodedc-tokens-0.6.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-core": "file:vendor/nodedc-ui-core-0.7.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-dom": "file:vendor/nodedc-ui-dom-0.7.0-mission.1.tgz",
|
||||||
|
"@nodedc/ui-react": "file:vendor/nodedc-ui-react-0.7.0-mission.1.tgz",
|
||||||
|
"react": "19.2.7",
|
||||||
|
"react-dom": "19.2.7",
|
||||||
|
"esbuild": "0.28.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
+6225
File diff suppressed because it is too large
Load Diff
+753
@@ -0,0 +1,753 @@
|
|||||||
|
/* CMS domain layout; component geometry and materials belong to @nodedc/ui-core. */
|
||||||
|
@import "@nodedc/ui-core/styles.css";
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
background: var(--nodedc-canvas);
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
}
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
[hidden],
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.cms-stage {
|
||||||
|
display: grid;
|
||||||
|
place-content: center;
|
||||||
|
justify-items: center;
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
height: 100%;
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.cms-site-context {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) auto auto;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
}
|
||||||
|
.cms-site-context > a { text-decoration: none; }
|
||||||
|
.cms-static-row { display: flex; align-items: center; gap: var(--nodedc-space-1); }
|
||||||
|
.cms-static-row > .block-btn { flex: 1; min-width: 0; }
|
||||||
|
.cms-preference-controls { width: 14rem; max-width: 100%; }
|
||||||
|
.cms-preferences-fields { display: grid; gap: var(--nodedc-space-4); }
|
||||||
|
@media (max-width: 760px) {
|
||||||
|
.cms-preferences-fields .nodedc-settings-card__head { flex-direction: column; }
|
||||||
|
.cms-preference-controls { width: 100%; }
|
||||||
|
}
|
||||||
|
.cms-ui-island {
|
||||||
|
display: block;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.cms-switch-binding {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.cms-editor,
|
||||||
|
.block-form,
|
||||||
|
.knowledge-editor,
|
||||||
|
.project-settings-editor,
|
||||||
|
.content-fields {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.field-grid,
|
||||||
|
.group-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
gap: var(--nodedc-space-5) var(--nodedc-space-4);
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
.wide,
|
||||||
|
.collection-field,
|
||||||
|
.project-archive-field {
|
||||||
|
grid-column: 1/-1;
|
||||||
|
}
|
||||||
|
.field-control {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.field-kind,
|
||||||
|
.field-path,
|
||||||
|
.block-meta {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.nodedc-field__label-row {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.field-hint,
|
||||||
|
.media-upload-hint,
|
||||||
|
.group-desc,
|
||||||
|
.panel-note,
|
||||||
|
.empty-note,
|
||||||
|
.knowledge-button-hint {
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
.section-kicker {
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
font-weight: var(--nodedc-font-weight-strong);
|
||||||
|
}
|
||||||
|
.secret-input-wrap {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.secret-input-wrap input {
|
||||||
|
padding-inline-end: calc(var(--nodedc-control-height) + var(--nodedc-space-2));
|
||||||
|
}
|
||||||
|
.secret-toggle-button {
|
||||||
|
position: absolute;
|
||||||
|
inset-inline-end: var(--nodedc-space-1);
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
.secret-toggle-button svg {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
.project-archive-control,
|
||||||
|
.button-row,
|
||||||
|
.project-settings-actions,
|
||||||
|
.media-modal-actions,
|
||||||
|
.collection-item-actions,
|
||||||
|
.knowledge-tree-actions,
|
||||||
|
.knowledge-rich-toolbar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
.project-archive-field {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.project-settings-runtime {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.project-settings-runtime > div {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
.project-settings-runtime > div > span:first-child {
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.project-settings-runtime code {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
.status {
|
||||||
|
margin: 0;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
line-height: 1.5;
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
.status:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.empty-state {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
padding: var(--nodedc-space-5);
|
||||||
|
}
|
||||||
|
.empty-state h3 {
|
||||||
|
font-size: var(--nodedc-font-size-title);
|
||||||
|
}
|
||||||
|
.empty-state p {
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
.empty-icon {
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.region-group,
|
||||||
|
.block-list {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.region-title {
|
||||||
|
padding: var(--nodedc-space-3) var(--nodedc-space-5) var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
.block-copy,
|
||||||
|
.knowledge-tree-copy {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
min-width: 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.block-name,
|
||||||
|
.knowledge-tree-title {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.block-drag-handle {
|
||||||
|
flex: none;
|
||||||
|
touch-action: none;
|
||||||
|
}
|
||||||
|
.block-btn.disabled .block-copy {
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
|
.sorting-source {
|
||||||
|
opacity: .35;
|
||||||
|
}
|
||||||
|
.sortable-placeholder {
|
||||||
|
border: 0;
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
}
|
||||||
|
.sortable-ghost {
|
||||||
|
position: fixed;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 2000;
|
||||||
|
opacity: .85;
|
||||||
|
}
|
||||||
|
.drag-over {
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
}
|
||||||
|
.block-btn.has-drag-handle {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.collection-field,
|
||||||
|
.collection-list,
|
||||||
|
.collection-item-body {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.collection-head,
|
||||||
|
.collection-summary {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.collection-head {
|
||||||
|
margin-block-end: var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
.collection-title,
|
||||||
|
.collection-summary-title {
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
font-weight: var(--nodedc-font-weight-strong);
|
||||||
|
}
|
||||||
|
.collection-summary,
|
||||||
|
.json-details > summary {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.collection-item-body {
|
||||||
|
padding-top: var(--nodedc-space-4);
|
||||||
|
}
|
||||||
|
.collection-item-actions {
|
||||||
|
margin-left: auto;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
.collection-drag-handle {
|
||||||
|
touch-action: none;
|
||||||
|
}
|
||||||
|
.json-details > summary {
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
.json-field {
|
||||||
|
margin-top: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.json-field textarea {
|
||||||
|
min-height: 18rem;
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
}
|
||||||
|
.number-control,
|
||||||
|
.range-control {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
input[type=range] {
|
||||||
|
flex: 1;
|
||||||
|
accent-color: rgb(var(--nodedc-accent-rgb));
|
||||||
|
}
|
||||||
|
.range-value,
|
||||||
|
.number-suffix {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
.link-mode-grid {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.link-mode-row {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr);
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.service-media-file-button {
|
||||||
|
border: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.service-media-preview {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.service-media-preview img,
|
||||||
|
.service-media-preview video {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
.media-upload-error,
|
||||||
|
.knowledge-button-error,
|
||||||
|
[role=alert] {
|
||||||
|
color: rgb(var(--nodedc-danger-rgb));
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
.service-media-preview.is-solid-dark {
|
||||||
|
background: var(--nodedc-stage);
|
||||||
|
}
|
||||||
|
.media-upload-error:empty,
|
||||||
|
.media-upload-hint:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.template-modal-head p {
|
||||||
|
margin-block: var(--nodedc-space-2) 0;
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
.template-modal-foot {
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
.template-list {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.template-card {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
padding: var(--nodedc-space-4);
|
||||||
|
border: 0;
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
background: var(--nodedc-panel-item-bg);
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.template-card:hover {
|
||||||
|
background: var(--nodedc-panel-item-hover-bg);
|
||||||
|
}
|
||||||
|
.template-card-copy {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
}
|
||||||
|
.template-card-title {
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
font-weight: var(--nodedc-font-weight-strong);
|
||||||
|
}
|
||||||
|
.template-card-meta,
|
||||||
|
.template-card-region {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.template-card-icon {
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
dialog.site-dialog {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
}
|
||||||
|
dialog.site-dialog > form {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
||||||
|
overflow: hidden;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
dialog.site-dialog .nodedc-window__body {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
}
|
||||||
|
dialog.site-dialog p {
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
line-height: 1.5;
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
.media-action-body,
|
||||||
|
.knowledge-button-body {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
}
|
||||||
|
.media-toolbar {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) auto;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
align-items: end;
|
||||||
|
margin-block-end: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.media-filter-row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
}
|
||||||
|
.media-kind-row {
|
||||||
|
grid-column: 1/-1;
|
||||||
|
}
|
||||||
|
.media-root-row {
|
||||||
|
grid-column: 1;
|
||||||
|
}
|
||||||
|
.media-upload-btn {
|
||||||
|
grid-column: 2;
|
||||||
|
grid-row: 1;
|
||||||
|
}
|
||||||
|
.media-site-size {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.media-filter-button[data-active=true] {
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
}
|
||||||
|
.media-browser {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: minmax(0, 1fr) minmax(12rem, .4fr);
|
||||||
|
gap: var(--nodedc-space-4);
|
||||||
|
min-height: 20rem;
|
||||||
|
}
|
||||||
|
.media-main {
|
||||||
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.media-breadcrumbs {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
overflow: auto;
|
||||||
|
margin-bottom: var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
.media-breadcrumb-button {
|
||||||
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
white-space: nowrap;
|
||||||
|
padding: var(--nodedc-space-2);
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
}
|
||||||
|
.media-columns {
|
||||||
|
display: flex;
|
||||||
|
overflow: auto;
|
||||||
|
min-height: 18rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
}
|
||||||
|
.media-column {
|
||||||
|
flex: 1 0 13rem;
|
||||||
|
min-width: 13rem;
|
||||||
|
max-height: 25rem;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.media-column + .media-column {
|
||||||
|
border-left: 0;
|
||||||
|
}
|
||||||
|
.media-column-head {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
background: var(--nodedc-canvas);
|
||||||
|
padding: var(--nodedc-space-3);
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.media-entry {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
padding: var(--nodedc-space-2);
|
||||||
|
border: 0;
|
||||||
|
background: transparent;
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.media-entry:hover,
|
||||||
|
.media-entry[data-selected=true],
|
||||||
|
.media-entry[data-active=true] {
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
}
|
||||||
|
.media-entry-icon {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
flex: none;
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
}
|
||||||
|
.media-entry-icon img,
|
||||||
|
.media-entry-icon video {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: var(--nodedc-radius-control-compact);
|
||||||
|
}
|
||||||
|
.media-entry-copy {
|
||||||
|
display: grid;
|
||||||
|
gap: 2px;
|
||||||
|
min-width: 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.media-entry-name {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
.media-entry-meta,
|
||||||
|
.media-preview-meta,
|
||||||
|
.media-preview-path,
|
||||||
|
.media-usage-pill {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.media-preview-panel {
|
||||||
|
display: grid;
|
||||||
|
align-content: start;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.media-preview {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
min-height: 10rem;
|
||||||
|
aspect-ratio: 4/3;
|
||||||
|
background: var(--nodedc-panel-item-bg);
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.media-preview img,
|
||||||
|
.media-preview video {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
.media-preview-copy {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
.media-preview-name {
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
font-weight: var(--nodedc-font-weight-strong);
|
||||||
|
}
|
||||||
|
.media-preview-actions {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
}
|
||||||
|
.media-column-empty,
|
||||||
|
.media-empty {
|
||||||
|
padding: var(--nodedc-space-4);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
.media-context-menu {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1600;
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
min-width: 13rem;
|
||||||
|
padding: var(--nodedc-space-2);
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
background: var(--nodedc-canvas);
|
||||||
|
box-shadow: var(--nodedc-glass-dropdown-shadow);
|
||||||
|
}
|
||||||
|
.media-context-menu button {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.media-drop-zone.drag-over {
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
}
|
||||||
|
.admin-file-picker-input {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.knowledge-tree,
|
||||||
|
.knowledge-tree-children {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
}
|
||||||
|
.knowledge-tree-children {
|
||||||
|
padding-left: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.knowledge-tree-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.knowledge-tree-select {
|
||||||
|
min-width: 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.knowledge-tree-actions {
|
||||||
|
gap: 2px;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
.knowledge-tree-meta {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.knowledge-rich-toolbar {
|
||||||
|
margin-block-end: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.knowledge-rich-editor {
|
||||||
|
min-height: 22rem;
|
||||||
|
padding: var(--nodedc-space-4);
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
background: var(--nodedc-field-bg);
|
||||||
|
color: var(--nodedc-text-primary);
|
||||||
|
line-height: 1.65;
|
||||||
|
outline: 0;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
.knowledge-rich-editor:focus {
|
||||||
|
background: var(--nodedc-panel-item-active-bg);
|
||||||
|
}
|
||||||
|
.knowledge-rich-editor img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
.knowledge-rich-editor h2 {
|
||||||
|
margin-block: 1em .5em;
|
||||||
|
}
|
||||||
|
.seo-metric-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.seo-metric {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
padding: var(--nodedc-space-3);
|
||||||
|
border-radius: var(--nodedc-radius-card);
|
||||||
|
background: var(--nodedc-panel-item-bg);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
.seo-field-meter {
|
||||||
|
font-size: var(--nodedc-font-size-xs);
|
||||||
|
color: var(--nodedc-text-muted);
|
||||||
|
}
|
||||||
|
.publish-progress-track {
|
||||||
|
height: var(--nodedc-space-2);
|
||||||
|
border-radius: var(--nodedc-radius-circle);
|
||||||
|
background: var(--nodedc-panel-item-bg);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.publish-progress-fill {
|
||||||
|
height: 100%;
|
||||||
|
background: var(--nodedc-text-primary);
|
||||||
|
transition: width .2s;
|
||||||
|
}
|
||||||
|
.publish-progress-summary,
|
||||||
|
.publish-progress-meta {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
}
|
||||||
|
@media (max-width: 1100px) {
|
||||||
|
.field-grid,
|
||||||
|
.group-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.template-list {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.media-browser {
|
||||||
|
grid-template-columns: minmax(0, 1fr) 12rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 760px) {
|
||||||
|
.media-browser {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.media-preview-panel {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.template-list {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.link-mode-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.collection-summary {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.collection-item-actions {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
.media-toolbar {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
.media-upload-btn {
|
||||||
|
grid-column: 1;
|
||||||
|
grid-row: auto;
|
||||||
|
}
|
||||||
|
.media-modal-actions {
|
||||||
|
gap: var(--nodedc-space-1);
|
||||||
|
}
|
||||||
|
.media-site-size {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.knowledge-tree-actions {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.cms-site-context {
|
||||||
|
padding-inline: var(--nodedc-space-4);
|
||||||
|
}
|
||||||
|
.cms-block-options-body {
|
||||||
|
display: grid;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
padding-top: var(--nodedc-space-3);
|
||||||
|
}
|
||||||
|
.range-control > .cms-ui-island {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.publish-progress-stats {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--nodedc-space-3);
|
||||||
|
font-size: var(--nodedc-font-size-sm);
|
||||||
|
color: var(--nodedc-text-secondary);
|
||||||
|
}
|
||||||
|
.cms-editor-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--nodedc-space-2);
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
@@ -0,0 +1,459 @@
|
|||||||
|
// CMS application adapter. Shared component implementation belongs to @nodedc packages.
|
||||||
|
import React from "react";
|
||||||
|
import { createRoot } from "react-dom/client";
|
||||||
|
import { flushSync } from "react-dom";
|
||||||
|
import { Select, Switch, RangeControl, ProgressBar, Dropdown, IconButton, Icon, StatusBadge } from "@nodedc/ui-react";
|
||||||
|
import { installPreferences } from "./preferences.mjs";
|
||||||
|
import { createApplicationWorkspaceController, createModalController } from "@nodedc/ui-dom";
|
||||||
|
const h = React.createElement, $ = (s, r = document) => r.querySelector(s), all = (s, r = document) => [...r.querySelectorAll(s)];
|
||||||
|
const clone = (name) => $(`#ds-${name}`).content.firstElementChild.cloneNode(true);
|
||||||
|
function addClass(node, name) {
|
||||||
|
if (node) node.classList.add(...name.split(" "));
|
||||||
|
}
|
||||||
|
const islands = /* @__PURE__ */ new Map();
|
||||||
|
const modalBindings = [];
|
||||||
|
let queued = false, observer, fieldNumber = 0, addBlockButton;
|
||||||
|
function schedule() {
|
||||||
|
if (!queued) {
|
||||||
|
queued = true;
|
||||||
|
queueMicrotask(() => {
|
||||||
|
queued = false;
|
||||||
|
refresh();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function island(control) {
|
||||||
|
let item = islands.get(control);
|
||||||
|
if (!item) {
|
||||||
|
const host = document.createElement("span");
|
||||||
|
host.className = "cms-ui-island";
|
||||||
|
control.after(host);
|
||||||
|
control.hidden = true;
|
||||||
|
control.tabIndex = -1;
|
||||||
|
control.setAttribute("aria-hidden", "true");
|
||||||
|
item = { host, root: createRoot(host), signature: "" };
|
||||||
|
islands.set(control, item);
|
||||||
|
}
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
function selects() {
|
||||||
|
for (const control of all("select")) {
|
||||||
|
const item = island(control), options = [...control.options].map((o) => ({ value: o.value, label: control.id === "site-selector" ? o.textContent.replace(/^NODE\.?DC\s*[—–-]\s*/i, "") : o.textContent, disabled: o.disabled }));
|
||||||
|
const label = control.getAttribute("aria-label") || control.closest("label")?.querySelector(".nodedc-field__label")?.textContent || "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435";
|
||||||
|
const signature = JSON.stringify([control.value, options, control.disabled, label]);
|
||||||
|
if (signature === item.signature) continue;
|
||||||
|
item.signature = signature;
|
||||||
|
flushSync(() => item.root.render(h(Select, { variant: control.id === "site-selector" ? "split" : "integrated", shape: control.id === "site-selector" ? "pill" : "default", value: control.value, options, label, disabled: control.disabled, onChange: (value) => {
|
||||||
|
control.value = value;
|
||||||
|
control.dispatchEvent(new Event("input", { bubbles: true }));
|
||||||
|
control.dispatchEvent(new Event("change", { bubbles: true }));
|
||||||
|
schedule();
|
||||||
|
} })));
|
||||||
|
if (control.id) control.closest("label")?.setAttribute("for", control.id + "-trigger");
|
||||||
|
const trigger = $("button", item.host);
|
||||||
|
if (trigger && control.id) trigger.id = control.id + "-trigger";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function switches() {
|
||||||
|
for (const input of all("input[type=checkbox]")) {
|
||||||
|
const parent = input.closest("label") || input.parentElement;
|
||||||
|
let item = islands.get(input);
|
||||||
|
if (!item) {
|
||||||
|
const label = parent.querySelector(".field-label-text")?.textContent || [...parent.childNodes].filter((n) => n !== input).map((n) => n.textContent).join(" ").trim() || input.getAttribute("aria-label") || "\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E";
|
||||||
|
item = island(input);
|
||||||
|
item.label = label.replace(/\s+/g, " ").trim();
|
||||||
|
for (const child of [...parent.childNodes]) if (child !== input && child !== item.host && !(child.nodeType === 1 && child.matches("input,select,textarea"))) {
|
||||||
|
if (child.nodeType === 1) child.hidden = true;
|
||||||
|
else if (child.nodeType === 3) child.textContent = "";
|
||||||
|
}
|
||||||
|
if (!parent.classList.contains("link-mode-row")) parent.classList.add("cms-switch-binding");
|
||||||
|
for (const control of all("input:not([type=checkbox])", parent)) control.setAttribute("aria-label", item.label);
|
||||||
|
parent.addEventListener("click", (event) => {
|
||||||
|
if (event.target.closest("button")) event.preventDefault();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const signature = JSON.stringify([input.checked, input.disabled]);
|
||||||
|
if (signature === item.signature) continue;
|
||||||
|
item.signature = signature;
|
||||||
|
flushSync(() => item.root.render(h(Switch, { checked: input.checked, disabled: input.disabled, label: item.label, onChange: (checked) => {
|
||||||
|
input.checked = checked;
|
||||||
|
input.dispatchEvent(new Event("input", { bubbles: true }));
|
||||||
|
input.dispatchEvent(new Event("change", { bubbles: true }));
|
||||||
|
schedule();
|
||||||
|
} })));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function ranges() {
|
||||||
|
for (const input of all("input[type=range]")) {
|
||||||
|
if (input.closest(".cms-ui-island,.nodedc-color-palette-surface")) continue;
|
||||||
|
const item = island(input), field = input.closest(".range-field"), output = field?.querySelector(".range-value");
|
||||||
|
if (output) output.hidden = true;
|
||||||
|
const label = field?.querySelector(".field-label-text")?.textContent || "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435";
|
||||||
|
const signature = JSON.stringify([input.value, input.min, input.max, input.step, input.disabled]);
|
||||||
|
if (signature === item.signature) continue;
|
||||||
|
item.signature = signature;
|
||||||
|
const min = Number(input.min), max = Number(input.max);
|
||||||
|
flushSync(() => item.root.render(h(RangeControl, { label, value: Number(input.value), min, max, step: input.step, exactValueBounds: { min, max }, disabled: input.disabled, onChange: (value) => {
|
||||||
|
input.value = String(value);
|
||||||
|
input.dispatchEvent(new Event("input", { bubbles: true }));
|
||||||
|
schedule();
|
||||||
|
} })));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function progress() {
|
||||||
|
for (const track of all(".publish-progress-track")) {
|
||||||
|
const item = island(track), value = Number(track.getAttribute("aria-valuenow") || 0);
|
||||||
|
if (item.signature === String(value)) continue;
|
||||||
|
item.signature = String(value);
|
||||||
|
flushSync(() => item.root.render(h(ProgressBar, { label: "\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438", value: value / 100 })));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function fields() {
|
||||||
|
for (const field of all(".field-control:not(.boolean-field):not(.service-media-field),.json-field,.media-search,.site-dialog label")) {
|
||||||
|
if (field.dataset.dsField) continue;
|
||||||
|
field.dataset.dsField = "true";
|
||||||
|
addClass(field, "nodedc-field");
|
||||||
|
let row = $(":scope > .field-label-row", field), label = row?.querySelector(".field-label-text") || $(":scope > span:not(.field-kind):not(.field-path):not(.field-hint)", field);
|
||||||
|
if (!row) {
|
||||||
|
row = clone("field").querySelector(".nodedc-field__label-row");
|
||||||
|
if (label) {
|
||||||
|
row.querySelector(".nodedc-field__label").replaceWith(label);
|
||||||
|
} else {
|
||||||
|
label = row.querySelector(".nodedc-field__label");
|
||||||
|
label.textContent = [...field.childNodes].filter((n) => n.nodeType === 3).map((n) => n.textContent).join(" ").trim();
|
||||||
|
for (const n of [...field.childNodes]) if (n.nodeType === 3) n.textContent = "";
|
||||||
|
}
|
||||||
|
field.prepend(row);
|
||||||
|
}
|
||||||
|
addClass(row, "nodedc-field__label-row");
|
||||||
|
addClass(label || $(".field-label-text", row), "nodedc-field__label");
|
||||||
|
const input = $("input:not([type=hidden]):not([type=checkbox]),textarea,select", field);
|
||||||
|
if (input && !input.id) input.id = "cms-field-" + ++fieldNumber;
|
||||||
|
if (input && field.tagName === "LABEL") field.htmlFor = input.id;
|
||||||
|
for (const hint of all(".field-hint,.group-desc", field)) addClass(hint, "nodedc-field__description");
|
||||||
|
}
|
||||||
|
for (const input of all("input:not([type=hidden]):not([type=checkbox]):not([type=file]):not([type=range]),textarea")) if (!input.closest(".cms-ui-island")) addClass(input, "nodedc-field__control");
|
||||||
|
}
|
||||||
|
function cards() {
|
||||||
|
// Use the library's opaque nested surface: translucent local layers made
|
||||||
|
// collection backgrounds converge with the field material at greater depth.
|
||||||
|
for (const region of all(".collection-item-card,.json-details,.field-grid,.group-grid")) {
|
||||||
|
if (region.dataset.dsSurface) continue;
|
||||||
|
// A collection already owns this surface; avoid stacking or double padding.
|
||||||
|
if (region.matches(".field-grid,.group-grid") && (region.closest(".collection-item-card") || region.querySelector(".collection-field"))) continue;
|
||||||
|
const surface = clone("nestedSurface");
|
||||||
|
for (const attribute of surface.attributes) {
|
||||||
|
if (attribute.name === "class") addClass(region, attribute.value);
|
||||||
|
else region.setAttribute(attribute.name, attribute.value);
|
||||||
|
}
|
||||||
|
region.dataset.dsSurface = "true";
|
||||||
|
}
|
||||||
|
for (const card of all(".settings-card,.content-group,.content-panel")) {
|
||||||
|
if (card.dataset.dsCard) continue;
|
||||||
|
card.dataset.dsCard = "true";
|
||||||
|
addClass(card, "nodedc-settings-card");
|
||||||
|
const oldHead = $(":scope > .card-head,:scope > .group-head,:scope > .panel-head,:scope > .publish-progress-head", card);
|
||||||
|
const template = clone("card"), head = $(".nodedc-settings-card__head", template), titles = $(".nodedc-settings-card__titles", template), body = $(".nodedc-settings-card__body", template);
|
||||||
|
head.replaceChildren(titles);
|
||||||
|
titles.replaceChildren();
|
||||||
|
body.replaceChildren();
|
||||||
|
if (oldHead) {
|
||||||
|
const title = $("h3,h2", oldHead) || oldHead;
|
||||||
|
const kicker = $(".section-kicker", oldHead);
|
||||||
|
if (kicker) titles.append(kicker);
|
||||||
|
if (title?.hasAttribute("data-publish-title")) {
|
||||||
|
titles.append(title);
|
||||||
|
} else if (title === oldHead) {
|
||||||
|
const text = document.createElement("h2");
|
||||||
|
for (const n of [...title.childNodes]) {
|
||||||
|
if (n.nodeType === 3 || n.nodeType === 1 && !n.matches("label,button")) text.append(n);
|
||||||
|
}
|
||||||
|
titles.append(text);
|
||||||
|
for (const n of [...title.children]) head.append(n);
|
||||||
|
} else if (title) {
|
||||||
|
const next = document.createElement("h2");
|
||||||
|
for (const attr of title.attributes) next.setAttribute(attr.name, attr.value);
|
||||||
|
next.append(...title.childNodes);
|
||||||
|
titles.append(next);
|
||||||
|
}
|
||||||
|
const desc = $(".project-settings-hint,.panel-note,.group-desc", oldHead) || $(":scope > .group-desc", card);
|
||||||
|
if (desc) {
|
||||||
|
const paragraph = document.createElement("p");
|
||||||
|
for (const attr of desc.attributes) paragraph.setAttribute(attr.name, attr.value);
|
||||||
|
paragraph.classList.add("nodedc-description");
|
||||||
|
paragraph.append(...desc.childNodes);
|
||||||
|
desc.remove();
|
||||||
|
titles.append(paragraph);
|
||||||
|
}
|
||||||
|
for (const action of all(":scope > .toggle-row,:scope > .button-row,:scope > .group-head-toggle,:scope > [data-publish-percent]", oldHead)) head.append(action);
|
||||||
|
oldHead.remove();
|
||||||
|
} else head.remove();
|
||||||
|
body.append(...card.childNodes);
|
||||||
|
card.append(...template.childNodes);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const iconById = { "move-up": "chevron-up", "move-down": "chevron-down", duplicate: "copy", copy: "copy", "paste-after": "clipboard", "delete-block": "trash", "template-modal-close": "close", "media-modal-close": "close", "media-trash-toggle": "trash", "media-delete": "trash" };
|
||||||
|
function buttons() {
|
||||||
|
for (const button of all("button")) {
|
||||||
|
if (button.closest(".cms-ui-island,.nodedc-color-palette-surface") || button.className.includes("nodedc-") || button.matches(".media-entry,.knowledge-tree-select,.service-media-source-button,.service-media-file-button,.media-breadcrumb-button,.template-card")) continue;
|
||||||
|
const iconLike = button.matches(".icon-action-btn,.collection-icon-btn,.knowledge-tree-action,.secret-toggle-button,.collection-drag-handle,.modal-close-button,.media-header-action");
|
||||||
|
const model = clone(iconLike ? "iconButton" : "button");
|
||||||
|
addClass(button, model.className);
|
||||||
|
if (iconLike) {
|
||||||
|
const title = button.getAttribute("aria-label") || button.title || button.textContent;
|
||||||
|
button.setAttribute("aria-label", title);
|
||||||
|
button.title = title;
|
||||||
|
const icon = iconById[button.id] || (button.classList.contains("secret-toggle-button") ? "eye" : /удал/i.test(title) ? "trash" : /добав/i.test(title) ? "plus" : /выше|вверх|поднять/i.test(title) ? "chevron-up" : /ниже|вниз|опустить/i.test(title) ? "chevron-down" : /коп|дублир/i.test(title) ? "copy" : "move");
|
||||||
|
button.replaceChildren(button.matches(".collection-drag-handle") ? clone("dragHandle").firstElementChild : clone("icon-" + icon));
|
||||||
|
} else {
|
||||||
|
button.dataset.variant = button.matches(".primary-btn,[type=submit]") ? "primary" : button.matches(".danger-btn") ? "danger" : "secondary";
|
||||||
|
button.dataset.tone = "neutral";
|
||||||
|
const content = model.firstElementChild;
|
||||||
|
content.replaceChildren(...button.childNodes);
|
||||||
|
button.append(content);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function navItems() {
|
||||||
|
for (const item of all(".block-btn,.knowledge-tree-select")) {
|
||||||
|
addClass(item, "nodedc-admin-panel__nav-item");
|
||||||
|
item.dataset.active = String(item.classList.contains("active") || item.closest(".knowledge-tree-row")?.dataset.active === "true");
|
||||||
|
const title = $(".block-name,.knowledge-tree-title", item);
|
||||||
|
if (title) item.title = title.textContent;
|
||||||
|
const icon = $(".block-icon,.knowledge-tree-icon", item);
|
||||||
|
if (icon && !icon.dataset.dsIcon) {
|
||||||
|
icon.dataset.dsIcon = "true";
|
||||||
|
addClass(icon, "nodedc-admin-panel__nav-icon");
|
||||||
|
icon.replaceChildren(clone("icon-" + (item.classList.contains("knowledge-tree-select") ? "file" : "layers")));
|
||||||
|
}
|
||||||
|
const handle = $(".block-drag-handle", item);
|
||||||
|
if (handle) {
|
||||||
|
addClass(handle, "nodedc-drag-handle");
|
||||||
|
if (!handle.dataset.dsIcon) {
|
||||||
|
handle.dataset.dsIcon = "true";
|
||||||
|
handle.replaceChildren(clone("dragHandle").firstElementChild);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (const label of all(".region-title")) addClass(label, "nodedc-admin-panel__group-label");
|
||||||
|
}
|
||||||
|
function actionMenus() {
|
||||||
|
for (const actions of all(".knowledge-tree-actions")) {
|
||||||
|
const buttons2 = all(":scope > button", actions);
|
||||||
|
if (buttons2.length < 2) continue;
|
||||||
|
const item = island(actions), title = actions.closest(".knowledge-tree-row")?.querySelector(".knowledge-tree-title")?.textContent || "\u041C\u0430\u0442\u0435\u0440\u0438\u0430\u043B";
|
||||||
|
const options = buttons2.map((button) => ({ label: button.title || button.getAttribute("aria-label"), disabled: button.disabled }));
|
||||||
|
const signature = JSON.stringify([title, options]);
|
||||||
|
if (signature === item.signature) continue;
|
||||||
|
item.signature = signature;
|
||||||
|
flushSync(() => item.root.render(h(Dropdown, { minWidth: 240, placement: "bottom-end", trigger: (api) => h(IconButton, { label: "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F: " + title, ref: (node) => {
|
||||||
|
api.setAnchorRef(node);
|
||||||
|
api.setTriggerRef(node);
|
||||||
|
}, onClick: api.toggle, "aria-expanded": api.open, "aria-controls": api.surfaceId, "aria-haspopup": "menu" }, h(Icon, { name: "chevron-down" })) }, ({ close }) => buttons2.map((button, index) => h("button", { key: index, type: "button", role: "menuitem", className: "nodedc-dropdown-option", disabled: button.disabled, onClick: () => {
|
||||||
|
close();
|
||||||
|
button.click();
|
||||||
|
} }, h("span", null), h("span", { className: "nodedc-dropdown-option__body" }, h("span", { className: "nodedc-dropdown-option__label" }, options[index].label)))))));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function editorActions() {
|
||||||
|
const mobile = matchMedia("(max-width:760px)").matches, dirty = $("#dirty-state"), badge = island(dirty);
|
||||||
|
const tone = dirty.dataset.dirty === "true" ? "warning" : "neutral", text = dirty.textContent;
|
||||||
|
const signature = JSON.stringify([tone, text, mobile]);
|
||||||
|
if (badge.signature !== signature) {
|
||||||
|
badge.signature = signature;
|
||||||
|
flushSync(() => badge.root.render(h(StatusBadge, { tone, variant: mobile ? "indicator" : "badge", title: text, "aria-label": text, role: "status" }, mobile ? null : text)));
|
||||||
|
}
|
||||||
|
let binding = $("#cms-mobile-actions-binding");
|
||||||
|
if (!binding) {
|
||||||
|
binding = document.createElement("span");
|
||||||
|
binding.id = "cms-mobile-actions-binding";
|
||||||
|
$(".cms-editor-actions").append(binding);
|
||||||
|
}
|
||||||
|
const item = island(binding), buttons2 = ["reload", "render", "publish"].map((id) => $("#" + id));
|
||||||
|
for (const button of buttons2) button.hidden = mobile;
|
||||||
|
item.host.hidden = !mobile;
|
||||||
|
if (!mobile) return;
|
||||||
|
const options = buttons2.filter((button) => !button.classList.contains("hidden")).map((button) => ({ button, label: button.id === "reload" ? "\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435" : button.textContent, disabled: button.disabled }));
|
||||||
|
const key = JSON.stringify(options.map(({ label, disabled }) => [label, disabled]));
|
||||||
|
if (item.signature === key) return;
|
||||||
|
item.signature = key;
|
||||||
|
flushSync(() => item.root.render(h(Dropdown, { minWidth: 240, placement: "bottom-end", trigger: (api) => h(IconButton, { label: "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441 \u0441\u0430\u0439\u0442\u043E\u043C", ref: (node) => {
|
||||||
|
api.setAnchorRef(node);
|
||||||
|
api.setTriggerRef(node);
|
||||||
|
}, onClick: api.toggle, "aria-expanded": api.open, "aria-controls": api.surfaceId, "aria-haspopup": "menu" }, h(Icon, { name: "chevron-down" })) }, ({ close }) => options.map(({ button, label, disabled }) => h("button", { key: button.id, type: "button", role: "menuitem", className: "nodedc-dropdown-option", disabled, onClick: () => {
|
||||||
|
close();
|
||||||
|
button.click();
|
||||||
|
} }, h("span", null), h("span", { className: "nodedc-dropdown-option__body" }, h("span", { className: "nodedc-dropdown-option__label" }, label)))))));
|
||||||
|
}
|
||||||
|
function mediaFields() {
|
||||||
|
const map = { ".service-media-field": "nodedc-media-field", ".field-label-row": "nodedc-media-field__label-row", ".field-label-text": "nodedc-media-field__label", ".service-media-control": "nodedc-media-control", ".service-media-file-control": "nodedc-media-file", ".service-media-file-button": "nodedc-media-file__button", ".service-media-file-name": "nodedc-media-file__name", ".service-media-url-input": "nodedc-media-url", ".service-media-source-switch": "nodedc-media-source-switch", ".service-media-source-button": "nodedc-media-source-button", ".service-media-preview": "nodedc-media-preview", ".media-upload-hint": "nodedc-media-field__hint", ".media-upload-error": "nodedc-media-field__error" };
|
||||||
|
for (const field of all(".service-media-field")) {
|
||||||
|
for (const [selector, classes] of Object.entries(map)) for (const node of field.matches(selector) ? [field] : all(selector, field)) addClass(node, classes);
|
||||||
|
for (const button of all(".service-media-source-button", field)) button.setAttribute("aria-pressed", button.dataset.active);
|
||||||
|
const control = $(".service-media-control", field);
|
||||||
|
if (control) control.dataset.source = $(".service-media-url-input", field).hidden ? "file" : "url";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function initModals() {
|
||||||
|
for (const overlay of all(".template-modal-layer")) {
|
||||||
|
const dialog = $(":scope > article", overlay), head = $(":scope > header", dialog), foot = $(":scope > footer", dialog), body = document.createElement("div");
|
||||||
|
body.className = "nodedc-window__body";
|
||||||
|
for (const child of [...dialog.children]) if (child !== head && child !== foot) body.append(child);
|
||||||
|
if (head) {
|
||||||
|
addClass(head, "nodedc-window__head");
|
||||||
|
addClass($("h2", head), "nodedc-window__title");
|
||||||
|
}
|
||||||
|
if (foot) addClass(foot, "nodedc-window__footer");
|
||||||
|
dialog.replaceChildren(...[head, body, foot].filter(Boolean));
|
||||||
|
dialog.dataset.size = overlay.id === "media-modal" || overlay.id === "template-modal" ? "lg" : "sm";
|
||||||
|
addClass(dialog, "nodedc-glass nodedc-material-rim");
|
||||||
|
dialog.dataset.tone = "strong";
|
||||||
|
const labelled = overlay.getAttribute("aria-labelledby");
|
||||||
|
if (labelled) dialog.setAttribute("aria-labelledby", labelled);
|
||||||
|
overlay.removeAttribute("role");
|
||||||
|
overlay.removeAttribute("aria-modal");
|
||||||
|
const controller = createModalController({ overlay, dialog, closeOnBackdrop: false, closeOnEscape: false, lockBodyScroll: false });
|
||||||
|
modalBindings.push({ overlay, dialog, controller });
|
||||||
|
}
|
||||||
|
for (const dialog of all("dialog.site-dialog")) {
|
||||||
|
const overlay = document.createElement("div");
|
||||||
|
overlay.className = "hidden";
|
||||||
|
dialog.before(overlay);
|
||||||
|
overlay.append(dialog);
|
||||||
|
dialog.setAttribute("open", "");
|
||||||
|
dialog.dataset.size = "sm";
|
||||||
|
addClass(dialog, "nodedc-glass nodedc-material-rim");
|
||||||
|
dialog.dataset.tone = "strong";
|
||||||
|
const form = $("form", dialog), head = document.createElement("header"), body = document.createElement("div"), foot = $(".site-dialog-actions", form);
|
||||||
|
head.className = "nodedc-window__head";
|
||||||
|
body.className = "nodedc-window__body";
|
||||||
|
const titles = document.createElement("div");
|
||||||
|
titles.className = "nodedc-window__titles";
|
||||||
|
head.append(titles);
|
||||||
|
const title = $("h2", form);
|
||||||
|
title.id = dialog.id + "-title";
|
||||||
|
dialog.setAttribute("aria-labelledby", title.id);
|
||||||
|
title.className = "nodedc-window__title";
|
||||||
|
titles.append(title);
|
||||||
|
body.append(...[...form.childNodes].filter((n) => n !== foot));
|
||||||
|
foot.classList.add("nodedc-window__footer");
|
||||||
|
form.replaceChildren(head, body, foot);
|
||||||
|
let returnFocus;
|
||||||
|
const controller = createModalController({ overlay, dialog, closeOnEscape: true, lockBodyScroll: false, onOpenChange: (open) => {
|
||||||
|
overlay.classList.toggle("hidden", !open);
|
||||||
|
if (!open) requestAnimationFrame(() => returnFocus?.focus());
|
||||||
|
} });
|
||||||
|
dialog.showModal = () => {
|
||||||
|
returnFocus = document.activeElement;
|
||||||
|
document.body.append(overlay);
|
||||||
|
overlay.classList.remove("hidden");
|
||||||
|
controller.open();
|
||||||
|
};
|
||||||
|
dialog.close = () => {
|
||||||
|
overlay.classList.add("hidden");
|
||||||
|
controller.close();
|
||||||
|
};
|
||||||
|
modalBindings.push({ overlay, dialog, controller });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function refresh() {
|
||||||
|
observer?.disconnect();
|
||||||
|
try {
|
||||||
|
for (const [control, item] of islands) if (!control.isConnected) {
|
||||||
|
item.root.unmount();
|
||||||
|
item.host.remove();
|
||||||
|
islands.delete(control);
|
||||||
|
}
|
||||||
|
cards();
|
||||||
|
fields();
|
||||||
|
switches();
|
||||||
|
selects();
|
||||||
|
ranges();
|
||||||
|
progress();
|
||||||
|
buttons();
|
||||||
|
navItems();
|
||||||
|
actionMenus();
|
||||||
|
editorActions();
|
||||||
|
mediaFields();
|
||||||
|
$('#cms-shell').inert = false;
|
||||||
|
for (const binding of modalBindings) binding.dialog.inert = false;
|
||||||
|
for (const binding of modalBindings) {
|
||||||
|
const open = !binding.overlay.classList.contains("hidden");
|
||||||
|
if (open && !binding.controller.isOpen()) {
|
||||||
|
document.body.append(binding.overlay);
|
||||||
|
binding.controller.open();
|
||||||
|
}
|
||||||
|
else if (!open && binding.controller.isOpen()) binding.controller.close();
|
||||||
|
}
|
||||||
|
const topModal = all('.nodedc-overlay:not(.hidden):not([hidden])').at(-1);
|
||||||
|
$('#cms-shell').inert = Boolean(topModal);
|
||||||
|
for (const binding of modalBindings) binding.dialog.inert = Boolean(topModal && binding.overlay !== topModal);
|
||||||
|
if ($('#delete-modal-body').textContent === 'Вы действительно подтвердить удаление элемента?') $('#delete-modal-body').textContent = 'Удалить выбранный элемент?';
|
||||||
|
if ($('#delete-modal-confirm').textContent.trim() === 'Да') $('#delete-modal-confirm').textContent = 'Удалить';
|
||||||
|
const staticItem = $("#regions > section:first-child .block-btn");
|
||||||
|
if (staticItem) {
|
||||||
|
let row = staticItem.closest(".cms-static-row");
|
||||||
|
if (!row) { row = document.createElement("div"); row.className = "cms-static-row"; staticItem.before(row); row.append(staticItem); }
|
||||||
|
row.append(addBlockButton);
|
||||||
|
} else if (addBlockButton) $("#cms-add-block-parking").append(addBlockButton);
|
||||||
|
const dirty = $("#dirty-state");
|
||||||
|
dirty.dataset.tone = dirty.dataset.dirty === "true" ? "warning" : "neutral";
|
||||||
|
for (const button of all(".nodedc-header__nav-item")) {
|
||||||
|
if (button.dataset.active === "true") button.setAttribute("aria-current", "page");
|
||||||
|
else button.removeAttribute("aria-current");
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
observer?.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ["class", "disabled", "data-dirty", "data-active", "hidden", "aria-valuenow"] });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function installDesignSystem() {
|
||||||
|
installPreferences();
|
||||||
|
addBlockButton = $("#add-block");
|
||||||
|
for (const marker of all("[data-cms-mode]")) marker.closest("button").id = "admin-mode-" + marker.dataset.cmsMode;
|
||||||
|
$(".nodedc-header-navigation").classList.add("nodedc-expanded-nav-group");
|
||||||
|
$(".nodedc-admin-panel__nav").id = "regions";
|
||||||
|
$(".nodedc-application-panel__titles h1").id = "selected-title";
|
||||||
|
$(".nodedc-application-panel__titles p").id = "selected-region";
|
||||||
|
$("#status").setAttribute("role", "status");
|
||||||
|
$("#status").setAttribute("aria-live", "polite");
|
||||||
|
const shell = $("#cms-shell");
|
||||||
|
const workspace = createApplicationWorkspaceController({ navigationOpen: true, activeView: "cms", contentExpanded: true, onChange: (state) => {
|
||||||
|
$(".cms-stage").hidden = state.navigationOpen || state.contentOpen;
|
||||||
|
shell.dataset.navigationOpen = String(state.navigationOpen);
|
||||||
|
shell.dataset.contentOpen = String(state.contentOpen);
|
||||||
|
shell.dataset.contentExpanded = String(state.contentExpanded);
|
||||||
|
$(".nodedc-app-shell__navigation").hidden = !state.navigationOpen;
|
||||||
|
$(".nodedc-app-shell__navigation").inert = matchMedia("(max-width:760px)").matches && state.contentOpen;
|
||||||
|
$(".nodedc-app-shell__content").hidden = !state.contentOpen;
|
||||||
|
} });
|
||||||
|
matchMedia("(max-width:760px)").addEventListener("change", (e) => {
|
||||||
|
$(".nodedc-app-shell__navigation").inert = e.matches && workspace.getState().contentOpen;
|
||||||
|
schedule();
|
||||||
|
});
|
||||||
|
$("#toggle-navigation").onclick = () => {
|
||||||
|
if (matchMedia("(max-width:760px)").matches && workspace.getState().contentOpen) workspace.closeView();
|
||||||
|
workspace.openNavigation();
|
||||||
|
};
|
||||||
|
$("#open-navigation").onclick = () => workspace.openNavigation();
|
||||||
|
$(".nodedc-admin-panel__close").onclick = () => workspace.closeNavigation();
|
||||||
|
$(".nodedc-application-panel [data-action=close]").onclick = () => {
|
||||||
|
workspace.closeView();
|
||||||
|
workspace.openNavigation();
|
||||||
|
};
|
||||||
|
document.addEventListener("click", (e) => {
|
||||||
|
if (e.target.closest(".block-btn,.knowledge-tree-select,#project-settings,#admin-mode-content,#admin-mode-seo,#admin-mode-knowledge")) {
|
||||||
|
workspace.openView("cms");
|
||||||
|
queueMicrotask(() => $(".nodedc-application-panel__body").scrollTop = 0);
|
||||||
|
}
|
||||||
|
schedule();
|
||||||
|
});
|
||||||
|
document.addEventListener("input", schedule);
|
||||||
|
document.addEventListener("change", schedule);
|
||||||
|
initModals();
|
||||||
|
refresh();
|
||||||
|
observer = new MutationObserver(schedule);
|
||||||
|
refresh();
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
installDesignSystem
|
||||||
|
};
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import { installDesignSystem } from './design-system.mjs';
|
||||||
|
installDesignSystem();
|
||||||
|
await import('./admin.mjs');
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
import React, { useEffect, useState } from "react";
|
||||||
|
import { createRoot } from "react-dom/client";
|
||||||
|
import { flushSync } from "react-dom";
|
||||||
|
import { applyNodedcTheme, missionDarkTheme, missionLightTheme, clearNodedcAccent } from "@nodedc/ui-dom";
|
||||||
|
import { UserProfileMenu, FeatureSettingsWindow, SettingsCard, Select, ColorField, Button } from "@nodedc/ui-react";
|
||||||
|
const h = React.createElement;
|
||||||
|
const storageKey = "dc-cms.ui-preferences.v1";
|
||||||
|
const defaults = { theme: "dark", accent: null };
|
||||||
|
function normalize(value) {
|
||||||
|
return { theme: value?.theme === "light" ? "light" : "dark", accent: /^#[\da-f]{6}$/i.test(value?.accent || "") ? value.accent.toLowerCase() : null };
|
||||||
|
}
|
||||||
|
function read() {
|
||||||
|
try { return normalize(JSON.parse(localStorage.getItem(storageKey))); } catch { return { ...defaults }; }
|
||||||
|
}
|
||||||
|
function apply(preferences) {
|
||||||
|
const accent = preferences.accent?.match(/[\da-f]{2}/gi).map(v => parseInt(v, 16));
|
||||||
|
clearNodedcAccent(document.documentElement);
|
||||||
|
applyNodedcTheme(document.documentElement, { ...(preferences.theme === "light" ? missionLightTheme : missionDarkTheme), accent });
|
||||||
|
}
|
||||||
|
function themeAccent() {
|
||||||
|
return "#" + getComputedStyle(document.documentElement).getPropertyValue("--nodedc-accent-rgb").trim().split(/\s+/).map(v => Number(v).toString(16).padStart(2, "0")).join("");
|
||||||
|
}
|
||||||
|
function Preferences({ initial }) {
|
||||||
|
const [preferences, setPreferences] = useState(initial);
|
||||||
|
const [open, setOpen] = useState(false);
|
||||||
|
const [session, setSession] = useState(null);
|
||||||
|
const [storageError, setStorageError] = useState(false);
|
||||||
|
useEffect(() => {
|
||||||
|
const controller = new AbortController();
|
||||||
|
fetch("/api/me", { credentials: "same-origin", signal: controller.signal }).then(r => r.ok ? r.json() : null).then(setSession).catch(() => {});
|
||||||
|
const sync = event => { if (event.key === storageKey || event.key === null) { const value = read(); apply(value); setPreferences(value); } };
|
||||||
|
window.addEventListener("storage", sync);
|
||||||
|
return () => { controller.abort(); window.removeEventListener("storage", sync); };
|
||||||
|
}, []);
|
||||||
|
function update(patch) {
|
||||||
|
const value = normalize({ ...preferences, ...patch });
|
||||||
|
apply(value);
|
||||||
|
setPreferences(value);
|
||||||
|
try { localStorage.setItem(storageKey, JSON.stringify(value)); setStorageError(false); } catch { setStorageError(true); }
|
||||||
|
}
|
||||||
|
const user = session?.user;
|
||||||
|
const name = user?.name || user?.username || "Профиль";
|
||||||
|
const actions = [{ id: "appearance", label: "Настройки интерфейса", icon: "settings", onSelect: () => setOpen(true) }];
|
||||||
|
if (session?.authEnabled) actions.push({ id: "logout", label: "Выйти", icon: "external", href: "/auth/logout" });
|
||||||
|
return h(React.Fragment, null,
|
||||||
|
h(UserProfileMenu, { displayName: name, subtitle: user?.email || undefined, avatarUrl: user?.picture || undefined, triggerLabel: "Профиль", triggerIcon: "inbox", actions }),
|
||||||
|
h(FeatureSettingsWindow, { open, title: "Настройки", subtitle: "Интерфейс CMS", identity: { title: name, subtitle: "NODE.DC CMS", avatarLabel: name, avatarUrl: user?.picture || undefined }, sections: [{ id: "appearance", label: "Оформление", icon: "settings", group: "Общие" }], activeSection: "appearance", onSectionChange: () => {}, onClose: () => setOpen(false),
|
||||||
|
footer: h(Button, { onClick: () => update(defaults), tone: "neutral" }, "Сбросить оформление") },
|
||||||
|
h("div", {className:"cms-preferences-fields"}, h(SettingsCard, { title: "Тема", description: "Светлый или тёмный интерфейс", actions: h("div", { className: "cms-preference-controls" }, h(Select, { label: "Тема интерфейса", value: preferences.theme, options: [{ value: "dark", label: "Тёмная" }, { value: "light", label: "Светлая" }], onChange: theme => update({ theme }) })) }),
|
||||||
|
h(SettingsCard, { title: "Акцентный цвет", description: "Цвет активных элементов", actions: h("div", { className: "cms-preference-controls" }, h(ColorField, { label: "Акцентный цвет", value: preferences.accent || themeAccent(), onChange: accent => update({ accent }) })) })),
|
||||||
|
h("p", { className: "nodedc-description", role: "status" }, storageError ? "Настройки действуют в этой вкладке. Браузер не разрешил сохранить их для следующего входа." : "Изменения сохраняются автоматически в этом браузере.")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export function installPreferences() {
|
||||||
|
const preferences = read();
|
||||||
|
apply(preferences);
|
||||||
|
flushSync(() => createRoot(document.querySelector("#cms-profile")).render(h(Preferences, { initial: preferences })));
|
||||||
|
}
|
||||||
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user