@dsmm/dsmm 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/docs/agent-presets.md +1 -1
- package/docs/compatibility.md +8 -2
- package/docs/deferred-native-approval-risk.md +1 -1
- package/docs/design.md +1 -1
- package/docs/lsp.md +1 -1
- package/docs/maintenance.md +9 -3
- package/docs/model-routing.md +1 -1
- package/docs/native-permissions.md +1 -1
- package/docs/profiles.md +21 -11
- package/docs/roadmap.md +2 -2
- package/docs/runtime-recovery.md +1 -1
- package/docs/safety-guards.md +1 -1
- package/docs/settings-status.md +1 -1
- package/docs/testing.md +85 -0
- package/lib/client/ProfileModelsDialog.d.ts +23 -0
- package/lib/client/ProfileModelsDialog.js +318 -0
- package/lib/client/ProfilesSection.js +178 -36
- package/lib/client/RoleToolView-data.d.ts +7 -0
- package/lib/client/RoleToolView-data.js +45 -0
- package/lib/client/RoleToolView-locales.d.ts +5 -0
- package/lib/client/RoleToolView-locales.js +2 -0
- package/lib/client/RoleToolView.js +33 -8
- package/lib/client/StructuredEditor.d.ts +32 -4
- package/lib/client/StructuredEditor.js +12 -40
- package/lib/client/diagnostics.d.ts +1 -0
- package/lib/client/diagnostics.js +9 -0
- package/lib/client/locales.d.ts +21 -0
- package/lib/client/locales.js +42 -0
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +89 -30
- package/lib/client.js +1940 -1024
- package/package.json +7 -2
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
2
|
-
import { useEffect, useId,
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useId, useState } from "react";
|
|
3
3
|
import { Button, Input } from "@deepseek-ai/dsh-client-ui-primitives";
|
|
4
4
|
import { DSMM_LOCALES } from "../profile-locale.js";
|
|
5
|
-
import { DSMM_RATE_LIMIT_BOUNDS
|
|
5
|
+
import { DSMM_RATE_LIMIT_BOUNDS } from "../routing-policy.js";
|
|
6
6
|
import { structuredDocument } from "./structured.js";
|
|
7
7
|
import { RETRY_FIELD_LABEL_KEYS } from "./locales.js";
|
|
8
|
-
import { RoleAvailability, roleAvailability } from "./RoleAvailability.js";
|
|
9
8
|
import { EditableChoice } from "./EditableChoice.js";
|
|
10
|
-
function RetryNumber({ id, name, field, value, inherited, path, disabled, actions, t }) {
|
|
9
|
+
export function RetryNumber({ id, name, field, value, inherited, path, disabled, actions, t }) {
|
|
11
10
|
const key = path.join(".");
|
|
12
11
|
const stored = actions.getNumberDraft?.(key);
|
|
13
12
|
const sourceChanged = stored !== undefined && value !== stored.sourceValue;
|
|
@@ -60,11 +59,11 @@ export function RouteFields({ value, path, name, catalog, disabled, edit, editRo
|
|
|
60
59
|
const effortLabel = naturalLabels ? t("naturalEffort") : t("routeEffort", { name: name ?? "" });
|
|
61
60
|
return _jsxs("div", { className: "dsmm-route-fields", children: [_jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-provider`, children: providerLabel }), _jsx(EditableChoice, { id: `${prefix}-provider`, label: providerLabel, value: value.provider, options: providers, disabled: disabled, onChange: provider => updateModel(provider, value.model), onSelect: provider => updateModel(provider, "") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-model`, children: modelLabel }), _jsx(EditableChoice, { id: `${prefix}-model`, label: modelLabel, value: value.model, options: group?.models ?? [], disabled: disabled, onChange: modelId => updateModel(value.provider, modelId) })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-effort`, children: effortLabel }), _jsx(EditableChoice, { id: `${prefix}-effort`, label: effortLabel, value: value.reasoningEffort ?? "", options: efforts, disabled: disabled, placeholder: t("effortDefault"), onChange: effort => edit([...path, "reasoningEffort"], effort || undefined) })] })] });
|
|
62
61
|
}
|
|
63
|
-
function PolicyFields({ value, inherited, path, name, disabled, actions, t }) {
|
|
62
|
+
export function PolicyFields({ value, inherited, path, name, disabled, actions, t }) {
|
|
64
63
|
const prefix = useId();
|
|
65
64
|
return _jsxs("div", { className: "dsmm-policy-fields", children: [_jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-strategy`, children: t("strategy", { name }) }), _jsxs("select", { id: `${prefix}-strategy`, disabled: disabled, value: value.strategy ?? "", onChange: (event) => actions.editPath([...path, "strategy"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inheritStrategy", { value: inherited?.strategy ?? t("unknownDefault") }) }), _jsx("option", { value: "startup-lock", children: t("startupLock") }), _jsx("option", { value: "rate-limit-fallback", children: t("rateFallback") })] })] }), _jsx("p", { className: "dsmm-hint", children: t("strategyHint") }), _jsx("div", { className: "dsmm-route-fields", children: Object.keys(DSMM_RATE_LIMIT_BOUNDS).map((field) => (_jsx(RetryNumber, { id: `${prefix}-${field}`, t: t, name: name, field: field, value: value.rateLimit?.[field], inherited: inherited?.rateLimit[field], path: [...path, "rateLimit", field], disabled: disabled, actions: actions }, field))) })] });
|
|
66
65
|
}
|
|
67
|
-
function LevelFields({ level, value, path, catalog, disabled, actions, t }) {
|
|
66
|
+
export function LevelFields({ level, value, path, catalog, disabled, actions, t }) {
|
|
68
67
|
const prefix = useId();
|
|
69
68
|
const mode = value === undefined ? "inherit" : value.provider === undefined ? "effort" : "route";
|
|
70
69
|
return _jsxs("fieldset", { "data-dsmm-level": level, children: [_jsx("legend", { children: t("levelName", { level }) }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-mode`, children: t("levelMode", { level }) }), _jsxs("select", { id: `${prefix}-mode`, value: mode, disabled: disabled, onChange: event => actions.editPath(path, event.currentTarget.value === "inherit" ? undefined : event.currentTarget.value === "effort" ? { reasoningEffort: "" } : { provider: "", model: "" }), children: [_jsx("option", { value: "inherit", children: t("levelUnconfigured") }), _jsx("option", { value: "effort", children: t("levelEffortOnly") }), _jsx("option", { value: "route", children: t("levelFullRoute") })] })] }), mode === "effort" && _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-effort`, children: t("routeEffort", { name: level }) }), _jsx(EditableChoice, { id: `${prefix}-effort`, label: t("routeEffort", { name: level }), value: value?.reasoningEffort ?? "", options: [], disabled: disabled, onChange: effort => actions.editPath([...path, "reasoningEffort"], effort) })] }), value?.provider !== undefined && _jsx(RouteFields, { value: value, path: path, name: t("levelName", { level }), catalog: catalog, disabled: disabled, edit: actions.editPath, editRoute: actions.editRoute, t: t })] });
|
|
@@ -82,50 +81,23 @@ export function BasicSettings({ state, actions, disabled, inputRef, idInvalid, o
|
|
|
82
81
|
const orchPath = ["settings", "roleRouting", "dsmm-orchestrator"];
|
|
83
82
|
return _jsxs("div", { className: "dsmm-basic-settings", "data-dsmm-basic-settings": true, children: [_jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-label`, children: t("profileLabel") }), _jsx(Input, { id: `${prefix}-label`, className: "dsmm-input", value: document.label ?? "", disabled: disabled, onChange: (event) => actions.editPath(["label"], event.currentTarget.value) }), _jsx(Button, { type: "button", variant: "outline", disabled: disabled || document.label === undefined, onClick: () => actions.editPath(["label"], undefined), children: t("omitLabel") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-id`, children: t("profileId") }), _jsx(Input, { ref: inputRef, id: `${prefix}-id`, className: "dsmm-input", value: editor.id, disabled: disabled || editor.revision !== null, "aria-invalid": idInvalid || undefined, "aria-describedby": `${prefix}-id-hint${idInvalid ? ` ${prefix}-issue` : ""}`, onChange: (event) => actions.editId(event.currentTarget.value) }), _jsx("p", { id: `${prefix}-id-hint`, className: "dsmm-hint", children: t("idHint") })] }), _jsxs("div", { ref: orchestratorRef, className: "dsmm-field", id: `${prefix}-orchestrator-primary`, children: [_jsx("label", { htmlFor: `${prefix}-orch-mode`, children: t("orchestratorModel") }), _jsx("p", { className: "dsmm-hint", children: t("orchestratorModelDesc") }), _jsxs("select", { id: `${prefix}-orch-mode`, disabled: disabled, value: orchPolicy.primary === undefined ? "inherit" : "explicit", onChange: (event) => actions.editPath([...orchPath, "primary"], event.currentTarget.value === "inherit" ? undefined : { provider: "", model: "" }), children: [_jsx("option", { value: "inherit", children: t("inheritRoute") }), _jsx("option", { value: "explicit", children: t("configuredRoute") })] }), orchPolicy.primary !== undefined && _jsx(RouteFields, { t: t, value: orchPolicy.primary, path: [...orchPath, "primary"], naturalLabels: true, catalog: state.catalog, disabled: disabled, edit: actions.editPath, editRoute: actions.editRoute }), _jsx("p", { className: "dsmm-hint", children: t("effortChangeHint") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-locale`, children: t("businessLocale") }), _jsxs("select", { id: `${prefix}-locale`, value: String(document.settings.locale ?? ""), disabled: disabled, "aria-describedby": `${prefix}-locale-hint`, onChange: event => actions.editPath(["settings", "locale"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inheritLocale") }), typeof document.settings.locale === "string" && !DSMM_LOCALES.includes(document.settings.locale) && _jsx("option", { value: document.settings.locale, children: t("unsupportedLocale") }), DSMM_LOCALES.map(locale => _jsx("option", { value: locale, children: locale }, locale))] }), _jsx("p", { id: `${prefix}-locale-hint`, className: "dsmm-hint", children: t("localeHint") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-active`, children: t("defaultActive") }), _jsxs("select", { id: `${prefix}-active`, disabled: disabled, value: document.settings.defaultActive === undefined ? "" : String(document.settings.defaultActive), onChange: (event) => actions.editPath(["settings", "defaultActive"], event.currentTarget.value === "" ? undefined : event.currentTarget.value === "true"), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "true", children: t("enabled") }), _jsx("option", { value: "false", children: t("disabled") })] }), _jsx("p", { className: "dsmm-hint", children: t("activeHint") })] })] });
|
|
84
83
|
}
|
|
85
|
-
export function AdvancedSettings({ state, actions, disabled,
|
|
84
|
+
export function AdvancedSettings({ state, actions, disabled, document: propDoc, isInvalidProjection: propInvalid, t }) {
|
|
86
85
|
const prefix = useId();
|
|
87
|
-
const [selectedRole, setSelectedRole] = useState("dsmm-orchestrator");
|
|
88
86
|
const editor = state.editor;
|
|
89
87
|
if (editor === null)
|
|
90
88
|
return null;
|
|
91
|
-
const rawDoc = structuredDocument(editor.content);
|
|
92
|
-
const
|
|
93
|
-
if (rawDoc
|
|
94
|
-
lastValidDocRef.current = rawDoc;
|
|
95
|
-
}
|
|
96
|
-
const document = rawDoc ?? lastValidDocRef.current;
|
|
97
|
-
const isInvalidProjection = rawDoc === null;
|
|
98
|
-
if (document === null)
|
|
89
|
+
const rawDoc = propDoc !== undefined ? propDoc : structuredDocument(editor.content);
|
|
90
|
+
const isInvalidProjection = propInvalid !== undefined ? propInvalid : (rawDoc === null);
|
|
91
|
+
if (rawDoc === null)
|
|
99
92
|
return _jsx("p", { className: "dsmm-hint", "data-dsmm-structured-invalid": true, children: t("rawInvalid") });
|
|
93
|
+
const document = rawDoc;
|
|
100
94
|
const effectiveDisabled = disabled || isInvalidProjection;
|
|
101
|
-
const roles = state.snapshot?.roles ?? [];
|
|
102
|
-
const role = roles.find((candidate) => candidate.id === selectedRole) ?? roles[0];
|
|
103
|
-
const policy = role === undefined ? undefined : document.roleRouting[role.id] ?? {};
|
|
104
95
|
const baseline = state.snapshot?.editorDefaults;
|
|
105
|
-
let inherited;
|
|
106
|
-
try {
|
|
107
|
-
if (baseline !== undefined) {
|
|
108
|
-
const profileDefaults = { strategy: document.runtimePolicy.strategy ?? baseline.strategy, rateLimit: normalizeRateLimitPolicy(document.runtimePolicy.rateLimit, baseline.rateLimit) };
|
|
109
|
-
inherited = { strategy: role?.runtimePolicy?.strategy ?? profileDefaults.strategy, rateLimit: normalizeRateLimitPolicy(role?.runtimePolicy?.rateLimit, profileDefaults.rateLimit) };
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
catch { /* Invalid effective values remain a raw/Host validation error. */ }
|
|
113
|
-
const rolePath = ["settings", "roleRouting", role?.id ?? ""];
|
|
114
|
-
const availability = roleAvailability(role?.availability);
|
|
115
|
-
const namedRoles = document.settings.roles;
|
|
116
96
|
const topology = document.settings.subagents?.toolTopology;
|
|
117
97
|
const gitGuard = document.guards?.gitWriteGuard;
|
|
118
98
|
const gitScope = document.guards?.gitWriteScope;
|
|
119
99
|
const isGuardOff = gitGuard === "off";
|
|
120
|
-
return _jsxs("div", { className: "dsmm-structured", "data-dsmm-structured": true, children: [isInvalidProjection && _jsx("p", { className: "dsmm-hint", "data-dsmm-structured-invalid": true, children: t("rawInvalid") }), _jsxs("
|
|
121
|
-
const name = t("fallbackName", { name: role.label, index: index + 1 });
|
|
122
|
-
return _jsxs("fieldset", { children: [_jsx("legend", { children: name }), _jsx(RouteFields, { t: t, value: candidate, path: [...rolePath, "fallbackRoutes", index], name: name, catalog: state.catalog, disabled: effectiveDisabled, edit: actions.editPath, editRoute: actions.editRoute }), _jsxs("div", { className: "dsmm-actions", children: [_jsx(Button, { type: "button", variant: "outline", disabled: effectiveDisabled || index === 0, onClick: () => actions.moveFallback(role.id, index, index - 1), children: t("moveUp", { name }) }), _jsx(Button, { type: "button", variant: "outline", disabled: effectiveDisabled || index === policy.fallbackRoutes.length - 1, onClick: () => actions.moveFallback(role.id, index, index + 1), children: t("moveDown", { name }) }), _jsx(Button, { type: "button", variant: "outline", disabled: effectiveDisabled, onClick: () => actions.editPath([...rolePath, "fallbackRoutes", index], undefined), children: t("removeFallback", { name }) })] })] }, index);
|
|
123
|
-
}), _jsx(Button, { type: "button", variant: "outline", disabled: effectiveDisabled || (policy.fallbackRoutes?.length ?? 0) >= 32, onClick: () => {
|
|
124
|
-
if (policy.fallbackRoutes === undefined)
|
|
125
|
-
actions.editPath([...rolePath, "fallbackRoutes"], [{ provider: "", model: "" }]);
|
|
126
|
-
else
|
|
127
|
-
actions.editPath([...rolePath, "fallbackRoutes", policy.fallbackRoutes.length], { provider: "", model: "" });
|
|
128
|
-
}, children: t("addFallback", { name: role.label }) })] }, role.id), _jsxs("fieldset", { children: [_jsx("legend", { children: t("profileDefaults") }), _jsx(PolicyFields, { t: t, value: document.runtimePolicy, inherited: baseline, path: ["settings", "runtimePolicy"], name: t("profileDefaults"), disabled: effectiveDisabled, actions: actions })] }), _jsxs("fieldset", { className: "dsmm-git-guard", children: [_jsx("legend", { children: t("gitWriteGuard") }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-git-guard`, children: t("gitWriteGuard") }), _jsxs("select", { id: `${prefix}-git-guard`, disabled: effectiveDisabled, value: gitGuard ?? "", "aria-describedby": `${prefix}-git-guard-hint`, onChange: event => actions.editPath(["settings", "guards", "gitWriteGuard"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "ask", children: t("gitWriteAsk") }), _jsx("option", { value: "deny", children: t("gitWriteDeny") }), _jsx("option", { value: "off", children: t("gitWriteOff") })] }), _jsx("p", { id: `${prefix}-git-guard-hint`, className: "dsmm-hint", children: t("gitWriteGuardHint") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-git-scope`, children: t("gitWriteScope") }), _jsxs("select", { id: `${prefix}-git-scope`, disabled: effectiveDisabled, value: gitScope ?? "", "aria-describedby": `${prefix}-git-scope-hint`, onChange: event => actions.editPath(["settings", "guards", "gitWriteScope"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "all-writes", disabled: isGuardOff, children: t("gitWriteAllWrites") }), _jsx("option", { value: "high-risk", disabled: isGuardOff, children: t("gitWriteHighRisk") })] }), isGuardOff && _jsx("p", { id: `${prefix}-git-scope-hint`, className: "dsmm-hint", children: t("gitWriteScopeDisabledHint") })] })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-topology`, children: t("toolTopology") }), _jsxs("select", { id: `${prefix}-topology`, value: topology ?? "", disabled: effectiveDisabled, "aria-describedby": `${prefix}-topology-hint`, onChange: event => actions.editPath(["settings", "subagents", "toolTopology"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "per-role", children: t("topologyPerRole") }), _jsx("option", { value: "parameterized", children: t("topologyParameterized") })] }), _jsx("p", { id: `${prefix}-topology-hint`, className: "dsmm-hint", children: t("topologyHint") })] })] });
|
|
100
|
+
return _jsxs("div", { className: "dsmm-structured", "data-dsmm-structured": true, children: [isInvalidProjection && _jsx("p", { className: "dsmm-hint", "data-dsmm-structured-invalid": true, children: t("rawInvalid") }), _jsxs("fieldset", { children: [_jsx("legend", { children: t("profileDefaults") }), _jsx(PolicyFields, { t: t, value: document.runtimePolicy, inherited: baseline, path: ["settings", "runtimePolicy"], name: t("profileDefaults"), disabled: effectiveDisabled, actions: actions })] }), _jsxs("fieldset", { className: "dsmm-git-guard", children: [_jsx("legend", { children: t("gitWriteGuard") }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-git-guard`, children: t("gitWriteGuard") }), _jsxs("select", { id: `${prefix}-git-guard`, disabled: effectiveDisabled, value: gitGuard ?? "", "aria-describedby": `${prefix}-git-guard-hint`, onChange: event => actions.editPath(["settings", "guards", "gitWriteGuard"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "ask", children: t("gitWriteAsk") }), _jsx("option", { value: "deny", children: t("gitWriteDeny") }), _jsx("option", { value: "off", children: t("gitWriteOff") })] }), _jsx("p", { id: `${prefix}-git-guard-hint`, className: "dsmm-hint", children: t("gitWriteGuardHint") })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-git-scope`, children: t("gitWriteScope") }), _jsxs("select", { id: `${prefix}-git-scope`, disabled: effectiveDisabled, value: gitScope ?? "", "aria-describedby": `${prefix}-git-scope-hint`, onChange: event => actions.editPath(["settings", "guards", "gitWriteScope"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "all-writes", disabled: isGuardOff, children: t("gitWriteAllWrites") }), _jsx("option", { value: "high-risk", disabled: isGuardOff, children: t("gitWriteHighRisk") })] }), isGuardOff && _jsx("p", { id: `${prefix}-git-scope-hint`, className: "dsmm-hint", children: t("gitWriteScopeDisabledHint") })] })] }), _jsxs("div", { className: "dsmm-field", children: [_jsx("label", { htmlFor: `${prefix}-topology`, children: t("toolTopology") }), _jsxs("select", { id: `${prefix}-topology`, value: topology ?? "", disabled: effectiveDisabled, "aria-describedby": `${prefix}-topology-hint`, onChange: event => actions.editPath(["settings", "subagents", "toolTopology"], event.currentTarget.value || undefined), children: [_jsx("option", { value: "", children: t("inherit") }), _jsx("option", { value: "per-role", children: t("topologyPerRole") }), _jsx("option", { value: "parameterized", children: t("topologyParameterized") })] }), _jsx("p", { id: `${prefix}-topology-hint`, className: "dsmm-hint", children: t("topologyHint") })] })] });
|
|
129
101
|
}
|
|
130
102
|
/** The same raw draft drives every control; there is no form-to-document rewrite. */
|
|
131
103
|
export function StructuredEditor({ state, actions, disabled, t }) {
|
|
@@ -5,6 +5,7 @@ import type { ProfilesIssue } from "./controller.js";
|
|
|
5
5
|
export declare function safeIssue(info: unknown): ProfilesIssue;
|
|
6
6
|
export declare function profileWarnings(warnings: ProfileDiagnostic[] | undefined): ProfileDiagnostic[];
|
|
7
7
|
export declare function draftWarnings(content: string): ProfileDiagnostic[];
|
|
8
|
+
export declare function issueKey(issue: ProfilesIssue): "unavailable" | "transport" | "conflict" | "validation" | "io" | "selectionConflict" | "appliedInvalid";
|
|
8
9
|
export declare function ProfileWarnings({ warnings, t }: PropsLocale<"settings.dsmm-profiles"> & {
|
|
9
10
|
warnings?: ProfileDiagnostic[];
|
|
10
11
|
}): import("react").JSX.Element;
|
|
@@ -37,6 +37,15 @@ export function draftWarnings(content) {
|
|
|
37
37
|
return [];
|
|
38
38
|
return [diagnostic("blank-label", "label", fieldLocation(content, tree, "label"))];
|
|
39
39
|
}
|
|
40
|
+
export function issueKey(issue) {
|
|
41
|
+
if (issue.source === "selection")
|
|
42
|
+
return issue.code === "conflict" ? "selectionConflict" : "appliedInvalid";
|
|
43
|
+
if (issue.kind === "assembly")
|
|
44
|
+
return "unavailable";
|
|
45
|
+
if (issue.kind === "transport")
|
|
46
|
+
return "transport";
|
|
47
|
+
return issue.code === "conflict" || issue.code === "validation" ? issue.code : "io";
|
|
48
|
+
}
|
|
40
49
|
export function ProfileWarnings({ warnings, t }) {
|
|
41
50
|
return _jsx(_Fragment, { children: profileWarnings(warnings).map(warning => _jsxs("div", { className: "dsmm-warning", "data-dsmm-warning": true, children: [_jsx("p", { children: t("warningMarker", { code: warning.code, field: warning.field }) }), _jsxs("details", { children: [_jsx("summary", { children: t("details") }), _jsx("p", { children: t("blankLabelWarning") })] })] }, `${warning.code}:${warning.field}`)) });
|
|
42
51
|
}
|
package/lib/client/locales.d.ts
CHANGED
|
@@ -276,6 +276,27 @@ export declare const en: {
|
|
|
276
276
|
advanced: string;
|
|
277
277
|
rawInvalid: string;
|
|
278
278
|
invalidNumber: string;
|
|
279
|
+
configureAllAgentModels: string;
|
|
280
|
+
modelsDialogTitle: string;
|
|
281
|
+
modelsDialogDesc: string;
|
|
282
|
+
searchRolesPlaceholder: string;
|
|
283
|
+
filterExplicitOverrides: string;
|
|
284
|
+
orchestratorNoLevelsHint: string;
|
|
285
|
+
noMatchingRoles: string;
|
|
286
|
+
fallbackCountSummary: string;
|
|
287
|
+
fallbackExplicitEmptySummary: string;
|
|
288
|
+
levelsSummary: string;
|
|
289
|
+
levelsInherited: string;
|
|
290
|
+
fallbackInherited: string;
|
|
291
|
+
roleSettingsSummary: string;
|
|
292
|
+
roleSettingsInherited: string;
|
|
293
|
+
roleSettingsOverridden: string;
|
|
294
|
+
saveLockedReason: string;
|
|
295
|
+
jumpToField: string;
|
|
296
|
+
jumpToJsonc: string;
|
|
297
|
+
jumpToRole: string;
|
|
298
|
+
roleNonModelSettings: string;
|
|
299
|
+
inheritRouteDesc: string;
|
|
279
300
|
};
|
|
280
301
|
export type ProfilesLocaleKey = keyof typeof en;
|
|
281
302
|
export declare const zh: Record<ProfilesLocaleKey, string>;
|
package/lib/client/locales.js
CHANGED
|
@@ -90,6 +90,27 @@ export const en = {
|
|
|
90
90
|
routeProvider: "{name} provider", routeModel: "{name} model", routeEffort: "{name} effort", manualProvider: "{name} provider (typed)", manualModel: "{name} model (typed)", manualEffort: "{name} effort (typed)", manual: "Type an identifier", manualValue: "Not listed: {value}", unset: "not set", effortDefault: "Default (no explicit effort)", effortChangeHint: "Changing the provider or model clears this route's reasoning effort.",
|
|
91
91
|
naturalProvider: "Provider", naturalModel: "Model", naturalEffort: "Reasoning Effort",
|
|
92
92
|
advanced: "Advanced JSONC", rawInvalid: "Fix the invalid draft in Advanced JSONC to use these controls. Your draft was kept.", invalidNumber: "Enter a whole number within the limits.",
|
|
93
|
+
configureAllAgentModels: "Configure all Agent models…",
|
|
94
|
+
modelsDialogTitle: "Agent models and routing",
|
|
95
|
+
modelsDialogDesc: "Configure primary routes, calling levels, fallback models, and execution policies for each Agent role.",
|
|
96
|
+
searchRolesPlaceholder: "Search by role name or ID…",
|
|
97
|
+
filterExplicitOverrides: "Explicit model overrides only",
|
|
98
|
+
orchestratorNoLevelsHint: "Orchestrator uses primary route only; calling levels are not applicable.",
|
|
99
|
+
noMatchingRoles: "No matching roles found.",
|
|
100
|
+
fallbackCountSummary: "{count} fallback route(s)",
|
|
101
|
+
fallbackExplicitEmptySummary: "Explicit empty ([])",
|
|
102
|
+
levelsSummary: "Levels: {levels}",
|
|
103
|
+
levelsInherited: "Inherited",
|
|
104
|
+
fallbackInherited: "Inherited",
|
|
105
|
+
roleSettingsSummary: "Status: {status} · Retry: {retry}",
|
|
106
|
+
roleSettingsInherited: "Inherit",
|
|
107
|
+
roleSettingsOverridden: "Explicit override",
|
|
108
|
+
saveLockedReason: "Save locked: {count} invalid field(s)",
|
|
109
|
+
jumpToField: "Locate error field",
|
|
110
|
+
jumpToJsonc: "Locate in JSONC",
|
|
111
|
+
jumpToRole: "Locate in Agent models dialog",
|
|
112
|
+
roleNonModelSettings: "Non-model settings",
|
|
113
|
+
inheritRouteDesc: "Inherit defaults",
|
|
93
114
|
};
|
|
94
115
|
export const zh = {
|
|
95
116
|
sessionChooseWorkspace: "请先选择工作区新建会话,发送前再选择本次会话的配置。",
|
|
@@ -182,6 +203,27 @@ export const zh = {
|
|
|
182
203
|
routeProvider: "{name} 提供商", routeModel: "{name} 模型", routeEffort: "{name} 强度", manualProvider: "{name} 提供商(手动)", manualModel: "{name} 模型(手动)", manualEffort: "{name} 强度(手动)", manual: "输入标识", manualValue: "未列出:{value}", unset: "未设置", effortDefault: "默认(不指定强度)", effortChangeHint: "更改提供商或模型会清除该路由的推理强度。",
|
|
183
204
|
naturalProvider: "提供商", naturalModel: "模型", naturalEffort: "推理强度",
|
|
184
205
|
advanced: "高级 JSONC", rawInvalid: "请先在高级 JSONC 中修正草稿,再使用这些控件。草稿已保留。", invalidNumber: "请输入范围内的整数。",
|
|
206
|
+
configureAllAgentModels: "配置全部 Agent 模型…",
|
|
207
|
+
modelsDialogTitle: "Agent 模型与路由配置",
|
|
208
|
+
modelsDialogDesc: "为每个 Agent 角色配置主路由、调用档位、备用模型及执行策略。",
|
|
209
|
+
searchRolesPlaceholder: "按角色名称或 ID 搜索…",
|
|
210
|
+
filterExplicitOverrides: "仅显式模型覆盖",
|
|
211
|
+
orchestratorNoLevelsHint: "主协调角色仅使用主路由,不适用调用档位。",
|
|
212
|
+
noMatchingRoles: "未找到匹配的角色。",
|
|
213
|
+
fallbackCountSummary: "{count} 个备用路由",
|
|
214
|
+
fallbackExplicitEmptySummary: "显式清空([])",
|
|
215
|
+
levelsSummary: "档位:{levels}",
|
|
216
|
+
levelsInherited: "继承",
|
|
217
|
+
fallbackInherited: "继承",
|
|
218
|
+
roleSettingsSummary: "状态:{status} · 重试:{retry}",
|
|
219
|
+
roleSettingsInherited: "继承",
|
|
220
|
+
roleSettingsOverridden: "显式覆盖",
|
|
221
|
+
saveLockedReason: "保存已锁定:{count} 处字段无效",
|
|
222
|
+
jumpToField: "定位错误字段",
|
|
223
|
+
jumpToJsonc: "在 JSONC 中定位",
|
|
224
|
+
jumpToRole: "在 Agent 模型弹窗中定位",
|
|
225
|
+
roleNonModelSettings: "非模型设置",
|
|
226
|
+
inheritRouteDesc: "继承默认",
|
|
185
227
|
};
|
|
186
228
|
export const RETRY_FIELD_LABEL_KEYS = {
|
|
187
229
|
maxRetries: "retryCount", initialDelayMs: "initialDelay", maxDelayMs: "maxDelay",
|
package/lib/client/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Geometry and theme aliases extracted in dsmm/DESIGN.md; scoped to this section. */
|
|
2
|
-
export declare const PROFILE_STYLES = "\n.dsmm-profiles{width:100%;max-width:760px;min-width:0;display:flex;flex-direction:column;gap:12px;font-family:var(--dsw-font-family);font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary)}\n.dsmm-profiles h2{margin:0;font-size:18px;font-weight:600}\n.dsmm-profiles h3,.dsmm-profiles legend{margin:0;font-size:14px;font-weight:500;line-height:22px}\n.dsmm-profiles :is(label,legend,summary){min-width:0;max-width:100%;overflow-wrap:anywhere}\n.dsmm-profiles :is(.dsmm-structured,.dsmm-session-scope,.dsmm-catalog,.dsmm-policy-fields){min-width:0;display:flex;flex-direction:column;gap:12px}\n.dsmm-profiles fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);display:flex;flex-direction:column;gap:12px}\n.dsmm-profiles .dsmm-route-fields{display:flex;flex-wrap:wrap;gap:12px;min-width:0}\n.dsmm-profiles .dsmm-route-fields>.dsmm-field{flex:1 1 240px;max-width:100%}\n.dsmm-profiles .dsmm-route-fields select{width:100%}\n.dsmm-profiles summary{cursor:pointer;color:var(--dsw-alias-label-primary);min-height:32px;line-height:32px}\n.dsmm-profiles summary:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-profiles .dsmm-advanced[open]>div{margin-top:8px}\n.dsmm-header-profiles{display:inline-flex;align-items:center;min-width:0;font-family:var(--dsw-font-family);color:var(--dsw-alias-label-primary)}\n.dsmm-header-profiles .dsmm-profile-trigger{width:28px;height:28px;min-height:28px;padding:6px;justify-content:center}\n.dsmm-profile-trigger:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-profile-menu{font-family:var(--dsw-font-family);font-size:14px;line-height:22px;max-width:calc(100vw - 24px);color:var(--dsw-alias-label-primary)}\n.dsmm-profile-menu [role=presentation]{font:inherit;white-space:normal;overflow-wrap:anywhere;color:var(--dsw-alias-label-secondary)}\n.dsmm-profile-menu [role=menuitem]{font:inherit}\n.dsmm-profile-menu [role=menuitem]>span{white-space:normal;overflow-wrap:anywhere}\n.dsmm-profile-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}\n.dsmm-profiles p{margin:0;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-hint{color:var(--dsw-alias-label-secondary)}\n.dsmm-profiles .dsmm-field{min-width:0;display:flex;flex-direction:column;gap:6px}\n.dsmm-profiles .dsmm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}\n.dsmm-profiles button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:36px;height:auto}\n.dsmm-profiles .dsmm-input{width:100%;min-width:0;box-sizing:border-box;border-color:var(--dsw-alias-label-secondary)}\n.dsmm-profiles .dsmm-input input{width:100%;min-width:0;font:inherit;color:inherit}\n.dsmm-profiles .dsmm-choice{position:relative;min-width:0}\n.dsmm-profiles .dsmm-choice .dsmm-input input{padding-right:32px}\n.dsmm-profiles .dsmm-choice .dsmm-choice-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-height:28px;padding:4px}\n.dsmm-profiles .dsmm-choice-list{position:absolute;z-index:1;top:100%;left:0;right:0;max-height:240px;overflow-y:auto;list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}\n.dsmm-profiles .dsmm-choice-list [role=option]{padding:8px 10px;min-width:0;overflow-wrap:anywhere;cursor:pointer}\n.dsmm-profiles .dsmm-choice-list [role=option]:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.dsmm-profiles .dsmm-choice-list [aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}\n.dsmm-profiles select,.dsmm-profiles textarea{box-sizing:border-box;min-width:0;max-width:100%;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-md)}\n.dsmm-profiles select{width:240px;height:32px;padding:0 10px;text-overflow:ellipsis}\n.dsmm-profiles textarea{width:100%;padding:12px;font-family:var(--ds-font-family-code);resize:vertical;overflow:auto;white-space:pre;}\n.dsmm-profiles select:hover:not(:disabled),.dsmm-profiles textarea:hover:not(:disabled){border-color:var(--dsw-alias-label-primary)}\n.dsmm-profiles select:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}\n.dsmm-profiles :is(select,textarea,button):focus-visible,.dsmm-profiles .dsmm-input:has(input:focus-visible){outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-profiles input[type=checkbox]:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-permissions label.dsmm-actions{min-height:32px}\n.dsmm-permissions input[type=checkbox]{accent-color:var(--dsw-alias-state-business-primary)}\n.dsmm-profiles :is(select,textarea):disabled{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-module-platform);cursor:not-allowed}\n.dsmm-profiles .dsmm-editor,.dsmm-profiles .dsmm-confirm{min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}\n.dsmm-profiles .dsmm-issue{padding:12px;border-left:4px solid var(--dsw-alias-state-error-primary);color:var(--dsw-alias-label-primary);overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-issue p+p{margin-top:8px}\n.dsmm-profiles .dsmm-status{min-height:22px}\n.dsmm-profiles .dsmm-zone{min-width:0;display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-profiles .dsmm-profile-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}\n.dsmm-profiles .dsmm-profile-list li{min-width:0;display:flex;flex-direction:column;gap:4px}\n.dsmm-profiles :is(.dsmm-warning,.dsmm-diagnostic,.dsmm-availability){min-width:0;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-warning{border-left:4px solid var(--dsw-alias-state-warn-primary);padding:8px 12px;color:var(--dsw-alias-label-primary)}\n.dsmm-deployment{gap:8px}\n.dsmm-section-tabs{display:flex;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-bottom:1px solid var(--dsw-alias-border-l4);padding-bottom:2px}\n.dsmm-section-tabs button{flex:0 0 auto;justify-content:center;white-space:nowrap;border-color:transparent;border-bottom:2px solid transparent;border-radius:var(--dsw-radius-md) var(--dsw-radius-md) 0 0;background:transparent;color:var(--dsw-alias-label-secondary);font-weight:400}\n.dsmm-section-tabs button:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.dsmm-section-tabs button[aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);border-bottom-color:var(--dsw-alias-label-primary);color:var(--dsw-alias-label-primary);font-weight:500}\n.dsmm-section-panel{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%;box-sizing:border-box}\n.dsmm-panel-heading{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;min-width:0}\n.dsmm-panel-heading h2:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-rules-transaction{padding-top:16px}\n.dsmm-scope-save{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-deployment .dsmm-deployment-group{border-top:1px solid var(--dsw-alias-border-l4);padding-top:8px;min-width:0}\n.dsmm-deployment .dsmm-deployment-group>div{display:flex;flex-direction:column;gap:8px;padding-top:8px}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row{display:flex;align-items:center;gap:8px;list-style:none}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row::-webkit-details-marker{display:none}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row::before{content:\"\u25B6\";flex:0 0 auto;width:12px;text-align:center;color:var(--dsw-alias-label-secondary)}\n.dsmm-deployment .dsmm-deployment-group[open]>summary.dsmm-group-summary-row::before{content:\"\u25BC\"}\n.dsmm-deployment summary .dsmm-group-summary{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}\n.dsmm-deployment .dsmm-group-summary-label{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}\n.dsmm-deployment .dsmm-group-summary-action{flex:0 0 auto;min-height:28px;height:28px;padding:0 8px}\n.dsmm-deployment .dsmm-group-summary-action[hidden]{display:none}\n.dsmm-deployment code{font-family:var(--ds-font-family-code);overflow-wrap:anywhere}\n.dsmm-deployment label code,.dsmm-deployment summary code{margin-left:8px;font-size:12px;line-height:18px;font-weight:400;color:var(--dsw-alias-label-secondary)}\n.dsmm-deployment pre{margin:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--ds-font-family-code)}\n.dsmm-deployment .dsmm-deployment-state{display:flex;flex-direction:column;gap:4px;margin:0;padding:12px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-deployment .dsmm-deployment-state dd{margin:0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.dsmm-children .dsmm-child-composer{min-width:0;display:flex;flex-direction:column;gap:12px}\n.dsmm-children .dsmm-child-meta{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0}\n.dsmm-children .dsmm-child-meta dt{font-weight:500;overflow-wrap:anywhere}\n.dsmm-children .dsmm-child-meta dd{margin:0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.dsmm-children textarea.dsmm-child-message{font-family:var(--dsw-font-family);white-space:pre-wrap;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-command-entry{min-width:0;display:flex;flex-direction:column;gap:6px}\n.dsmm-profiles .dsmm-command-entry .dsmm-actions{display:flex;align-items:center;gap:8px}\n.dsmm-profiles .dsmm-command-entry .dsmm-input{flex:1 1 auto;min-width:0}\n.dsmm-profiles .dsmm-command-summary{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-command-summary code{font-family:var(--ds-font-family-code);font-size:13px;color:var(--dsw-alias-label-primary)}\n.dsmm-profiles .dsmm-legacy-badge{display:inline-flex;align-items:center;padding:2px 6px;font-size:11px;font-weight:600;line-height:16px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);text-transform:uppercase;letter-spacing:0.5px}\n.dsmm-profiles .dsmm-legacy-details{padding:4px 0}\n.dsmm-profiles .dsmm-legacy-details summary{font-size:12px;color:var(--dsw-alias-label-secondary);min-height:24px;line-height:24px}\n.dsmm-profiles .dsmm-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:4px 0 0;font-size:12px}\n.dsmm-profiles .dsmm-kv dt{font-weight:500;color:var(--dsw-alias-label-secondary)}\n.dsmm-profiles .dsmm-kv dd{margin:0;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code)}\n.dsmm-named-profiles .dsmm-browse-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}\n.dsmm-named-profiles .dsmm-effective-summary{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--dsw-alias-bg-module-platform);border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md)}\n.dsmm-named-profiles .dsmm-summary-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}\n.dsmm-named-profiles .dsmm-summary-label{display:inline-flex;align-items:center;gap:6px;font-weight:500}\n.dsmm-named-profiles .dsmm-summary-val{color:var(--dsw-alias-label-secondary)}\n.dsmm-named-profiles .dsmm-more-actions{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}\n.dsmm-named-profiles .dsmm-more-actions[open]{padding-bottom:12px}\n.dsmm-named-profiles .dsmm-more-actions>summary{font-weight:500}\n.dsmm-named-profiles .dsmm-more-actions>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}\n.dsmm-named-profiles .dsmm-basic-settings{display:flex;flex-direction:column;gap:12px;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md)}\n.dsmm-named-profiles .dsmm-advanced-settings{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}\n.dsmm-named-profiles .dsmm-advanced-settings[open]{padding-bottom:12px}\n.dsmm-named-profiles .dsmm-advanced-settings>summary{font-weight:500}\n.dsmm-named-profiles .dsmm-advanced-settings>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}\n.dsmm-named-profiles .dsmm-save-bar{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-named-profiles .dsmm-orchestrator-primary{background:var(--dsw-alias-bg-layer-1)}\n.dsmm-named-profiles .dsmm-git-guard{background:var(--dsw-alias-bg-layer-1)}\n.dsmm-named-profiles .dsmm-structured-invalid{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--dsw-alias-state-error-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}\n@media(prefers-reduced-motion:reduce){.dsmm-profiles *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}\n";
|
|
2
|
+
export declare const PROFILE_STYLES = "\n.dsmm-profiles{width:100%;max-width:760px;min-width:0;display:flex;flex-direction:column;gap:12px;font-family:var(--dsw-font-family);font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary)}\n.dsmm-profiles h2{margin:0;font-size:18px;font-weight:600}\n.dsmm-profiles h3,.dsmm-profiles legend{margin:0;font-size:14px;font-weight:500;line-height:22px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(label,legend,summary){min-width:0;max-width:100%;overflow-wrap:anywhere}\n.dsmm-profiles :is(.dsmm-structured,.dsmm-session-scope,.dsmm-catalog,.dsmm-policy-fields){min-width:0;display:flex;flex-direction:column;gap:12px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);display:flex;flex-direction:column;gap:12px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields{display:flex;flex-wrap:wrap;gap:12px;min-width:0}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields>.dsmm-field{flex:1 1 240px;max-width:100%}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields select{width:100%}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) summary{cursor:pointer;color:var(--dsw-alias-label-primary);min-height:32px;line-height:32px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) summary:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-profiles .dsmm-advanced[open]>div{margin-top:8px}\n.dsmm-header-profiles{display:inline-flex;align-items:center;min-width:0;font-family:var(--dsw-font-family);color:var(--dsw-alias-label-primary)}\n.dsmm-header-profiles .dsmm-profile-trigger{width:28px;height:28px;min-height:28px;padding:6px;justify-content:center}\n.dsmm-profile-trigger:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-profile-menu{font-family:var(--dsw-font-family);font-size:14px;line-height:22px;max-width:calc(100vw - 24px);color:var(--dsw-alias-label-primary)}\n.dsmm-profile-menu [role=presentation]{font:inherit;white-space:normal;overflow-wrap:anywhere;color:var(--dsw-alias-label-secondary)}\n.dsmm-profile-menu [role=menuitem]{font:inherit}\n.dsmm-profile-menu [role=menuitem]>span{white-space:normal;overflow-wrap:anywhere}\n.dsmm-profile-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) p{margin:0;overflow-wrap:anywhere}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-hint{color:var(--dsw-alias-label-secondary)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-field{min-width:0;display:flex;flex-direction:column;gap:6px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:36px;height:auto}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input{width:100%;min-width:0;box-sizing:border-box;border-color:var(--dsw-alias-label-secondary)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input input{width:100%;min-width:0;font:inherit;color:inherit}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice{position:relative;min-width:0}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice .dsmm-input input{padding-right:32px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice .dsmm-choice-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-height:28px;padding:4px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list{position:absolute;z-index:1;top:100%;left:0;right:0;max-height:240px;overflow-y:auto;list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [role=option]{padding:8px 10px;min-width:0;overflow-wrap:anywhere;cursor:pointer}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [role=option]:hover{background:var(--dsw-alias-interactive-bg-hover)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) select,:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea{box-sizing:border-box;min-width:0;max-width:100%;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-md)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) select{width:240px;height:32px;padding:0 10px;text-overflow:ellipsis}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea{width:100%;padding:12px;font-family:var(--ds-font-family-code);resize:vertical;overflow:auto;white-space:pre;}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) select:hover:not(:disabled),:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea:hover:not(:disabled){border-color:var(--dsw-alias-label-primary)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) select:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(select,textarea,button):focus-visible,:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input:has(input:focus-visible){outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) input[type=checkbox]:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-permissions label.dsmm-actions{min-height:32px}\n.dsmm-permissions input[type=checkbox]{accent-color:var(--dsw-alias-state-business-primary)}\n:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(select,textarea):disabled{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-module-platform);cursor:not-allowed}\n.dsmm-profiles .dsmm-editor,.dsmm-profiles .dsmm-confirm{min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}\n.dsmm-profiles .dsmm-issue{padding:12px;border-left:4px solid var(--dsw-alias-state-error-primary);color:var(--dsw-alias-label-primary);overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-issue p+p{margin-top:8px}\n.dsmm-profiles .dsmm-status{min-height:22px}\n.dsmm-profiles .dsmm-zone{min-width:0;display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-profiles .dsmm-profile-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}\n.dsmm-profiles .dsmm-profile-list li{min-width:0;display:flex;flex-direction:column;gap:4px}\n.dsmm-profiles :is(.dsmm-warning,.dsmm-diagnostic,.dsmm-availability){min-width:0;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-warning{border-left:4px solid var(--dsw-alias-state-warn-primary);padding:8px 12px;color:var(--dsw-alias-label-primary)}\n.dsmm-deployment{gap:8px}\n.dsmm-section-tabs{display:flex;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-bottom:1px solid var(--dsw-alias-border-l4);padding-bottom:2px}\n.dsmm-section-tabs button{flex:0 0 auto;justify-content:center;white-space:nowrap;border-color:transparent;border-bottom:2px solid transparent;border-radius:var(--dsw-radius-md) var(--dsw-radius-md) 0 0;background:transparent;color:var(--dsw-alias-label-secondary);font-weight:400}\n.dsmm-section-tabs button:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.dsmm-section-tabs button[aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);border-bottom-color:var(--dsw-alias-label-primary);color:var(--dsw-alias-label-primary);font-weight:500}\n.dsmm-section-panel{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%;box-sizing:border-box}\n.dsmm-panel-heading{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;min-width:0}\n.dsmm-panel-heading h2:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}\n.dsmm-rules-transaction{padding-top:16px}\n.dsmm-scope-save{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-deployment .dsmm-deployment-group{border-top:1px solid var(--dsw-alias-border-l4);padding-top:8px;min-width:0}\n.dsmm-deployment .dsmm-deployment-group>div{display:flex;flex-direction:column;gap:8px;padding-top:8px}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row{display:flex;align-items:center;gap:8px;list-style:none}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row::-webkit-details-marker{display:none}\n.dsmm-deployment .dsmm-deployment-group>summary.dsmm-group-summary-row::before{content:\"\u25B6\";flex:0 0 auto;width:12px;text-align:center;color:var(--dsw-alias-label-secondary)}\n.dsmm-deployment .dsmm-deployment-group[open]>summary.dsmm-group-summary-row::before{content:\"\u25BC\"}\n.dsmm-deployment summary .dsmm-group-summary{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}\n.dsmm-deployment .dsmm-group-summary-label{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}\n.dsmm-deployment .dsmm-group-summary-action{flex:0 0 auto;min-height:28px;height:28px;padding:0 8px}\n.dsmm-deployment .dsmm-group-summary-action[hidden]{display:none}\n.dsmm-deployment code{font-family:var(--ds-font-family-code);overflow-wrap:anywhere}\n.dsmm-deployment label code,.dsmm-deployment summary code{margin-left:8px;font-size:12px;line-height:18px;font-weight:400;color:var(--dsw-alias-label-secondary)}\n.dsmm-deployment pre{margin:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--ds-font-family-code)}\n.dsmm-deployment .dsmm-deployment-state{display:flex;flex-direction:column;gap:4px;margin:0;padding:12px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-deployment .dsmm-deployment-state dd{margin:0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.dsmm-children .dsmm-child-composer{min-width:0;display:flex;flex-direction:column;gap:12px}\n.dsmm-children .dsmm-child-meta{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0}\n.dsmm-children .dsmm-child-meta dt{font-weight:500;overflow-wrap:anywhere}\n.dsmm-children .dsmm-child-meta dd{margin:0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.dsmm-children textarea.dsmm-child-message{font-family:var(--dsw-font-family);white-space:pre-wrap;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-command-entry{min-width:0;display:flex;flex-direction:column;gap:6px}\n.dsmm-profiles .dsmm-command-entry .dsmm-actions{display:flex;align-items:center;gap:8px}\n.dsmm-profiles .dsmm-command-entry .dsmm-input{flex:1 1 auto;min-width:0}\n.dsmm-profiles .dsmm-command-summary{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;overflow-wrap:anywhere}\n.dsmm-profiles .dsmm-command-summary code{font-family:var(--ds-font-family-code);font-size:13px;color:var(--dsw-alias-label-primary)}\n.dsmm-profiles .dsmm-legacy-badge{display:inline-flex;align-items:center;padding:2px 6px;font-size:11px;font-weight:600;line-height:16px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);text-transform:uppercase;letter-spacing:0.5px}\n.dsmm-profiles .dsmm-legacy-details{padding:4px 0}\n.dsmm-profiles .dsmm-legacy-details summary{font-size:12px;color:var(--dsw-alias-label-secondary);min-height:24px;line-height:24px}\n.dsmm-profiles .dsmm-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:4px 0 0;font-size:12px}\n.dsmm-profiles .dsmm-kv dt{font-weight:500;color:var(--dsw-alias-label-secondary)}\n.dsmm-profiles .dsmm-kv dd{margin:0;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code)}\n.dsmm-named-profiles .dsmm-browse-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}\n.dsmm-named-profiles .dsmm-effective-summary{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--dsw-alias-bg-module-platform);border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md)}\n.dsmm-named-profiles .dsmm-summary-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}\n.dsmm-named-profiles .dsmm-summary-label{display:inline-flex;align-items:center;gap:6px;font-weight:500}\n.dsmm-named-profiles .dsmm-summary-val{color:var(--dsw-alias-label-secondary)}\n.dsmm-named-profiles .dsmm-more-actions{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}\n.dsmm-named-profiles .dsmm-more-actions[open]{padding-bottom:12px}\n.dsmm-named-profiles .dsmm-more-actions>summary{font-weight:500}\n.dsmm-named-profiles .dsmm-more-actions>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}\n.dsmm-named-profiles .dsmm-basic-settings{display:flex;flex-direction:column;gap:12px;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md)}\n.dsmm-named-profiles .dsmm-advanced-settings{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}\n.dsmm-named-profiles .dsmm-advanced-settings[open]{padding-bottom:12px}\n.dsmm-named-profiles .dsmm-advanced-settings>summary{font-weight:500}\n.dsmm-named-profiles .dsmm-advanced-settings>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}\n.dsmm-named-profiles .dsmm-save-bar{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l4)}\n.dsmm-named-profiles .dsmm-save-lock-reason{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid var(--dsw-alias-state-warn-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}\n.dsmm-named-profiles .dsmm-save-lock-text{font-weight:500;color:var(--dsw-alias-state-warn-primary)}\n.dsmm-named-profiles .dsmm-save-lock-action{display:flex;align-items:center;gap:8px}\n.dsmm-named-profiles .dsmm-orchestrator-primary{background:var(--dsw-alias-bg-layer-1)}\n.dsmm-named-profiles .dsmm-git-guard{background:var(--dsw-alias-bg-layer-1)}\n.dsmm-named-profiles .dsmm-structured-invalid{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--dsw-alias-state-error-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}\n\n.dsmm-profile-models-dialog.dialog,\n.dsmm-profile-models-dialog{width:min(1040px, calc(100vw - 32px))!important;max-width:1040px!important;max-height:calc(100vh - 48px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box;font-family:var(--dsw-font-family);font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary)}\n.dsmm-profile-models-dialog-content,\n.dsmm-models-dialog-content,\n.dsmm-profile-models-dialog .dsmm-profile-models-dialog-content{overflow-y:auto!important;overflow-x:hidden;display:flex;flex-direction:column;gap:12px;padding:4px 0 16px;min-height:0;flex:1 1 auto}\n.dsmm-models-filter-bar,\n.dsmm-dialog-filter-bar,\n.dsmm-profile-models-dialog .dsmm-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--dsw-alias-border-l4);flex-shrink:0}\n.dsmm-models-filter-bar .dsmm-search-input,\n.dsmm-filter-search{flex:1 1 240px;min-width:0}\n.dsmm-filter-label,\n.dsmm-filter-override-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;user-select:none;color:var(--dsw-alias-label-primary)}\n.dsmm-dialog-issue{margin-bottom:8px;padding:8px 12px;border:1px solid var(--dsw-alias-state-error-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);display:flex;flex-direction:column;gap:6px}\n.dsmm-dialog-issue-title{font-weight:600;color:var(--dsw-alias-state-error-primary);margin:0}\n.dsmm-dialog-issue-action{display:flex;justify-content:flex-end;margin-top:4px}\n.dsmm-profile-models-dialog .dsmm-roles-list,\n.dsmm-profile-models-dialog .dsmm-dialog-roles-list{display:flex;flex-direction:column;gap:8px;min-width:0}\n.dsmm-profile-models-dialog .dsmm-dialog-role-card{display:flex;flex-direction:column;gap:6px;padding:8px 12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);min-width:0}\n.dsmm-profile-models-dialog .dsmm-role-main-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 12px;min-width:0}\n.dsmm-profile-models-dialog .dsmm-dialog-role-header{display:flex;align-items:center;min-width:140px;flex:0 0 auto}\n.dsmm-profile-models-dialog .dsmm-role-title-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}\n.dsmm-profile-models-dialog .dsmm-role-title{font-size:14px;font-weight:600;color:var(--dsw-alias-label-primary)}\n.dsmm-profile-models-dialog .dsmm-role-id-badge{font-family:var(--ds-font-family-code);font-size:11px;padding:1px 4px;border-radius:var(--dsw-radius-xs,2px);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);white-space:nowrap}\n.dsmm-profile-models-dialog .dsmm-override-badge{font-size:11px;padding:1px 6px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-active);color:var(--dsw-alias-state-business-primary);border:1px solid var(--dsw-alias-state-business-primary);white-space:nowrap}\n.dsmm-profile-models-dialog .dsmm-role-primary-route{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;flex:1 1 auto;justify-content:flex-end;min-width:0}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-primary-mode-field{flex:0 0 auto;min-width:110px}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-primary-mode-field select{width:auto;min-width:110px;height:32px}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:8px;flex:0 1 auto;min-width:0}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields>.dsmm-field{flex:0 1 auto;min-width:100px;max-width:200px;gap:2px}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields select{width:100%;height:32px}\n.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields .dsmm-input{height:32px}\n.dsmm-profile-models-dialog .dsmm-route-inherited-hint{font-size:12px;color:var(--dsw-alias-label-secondary);padding:6px 0;line-height:20px}\n.dsmm-profile-models-dialog .dsmm-orchestrator-tag{font-size:12px;color:var(--dsw-alias-label-secondary);padding:6px 0;line-height:20px}\n.dsmm-profile-models-dialog .dsmm-role-details-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;padding-top:4px;border-top:1px dashed var(--dsw-alias-border-l4)}\n.dsmm-profile-models-dialog .dsmm-compact-details{display:inline-block;min-width:0}\n.dsmm-profile-models-dialog .dsmm-compact-details[open]{flex:1 1 100%;width:100%}\n.dsmm-profile-models-dialog .dsmm-details-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l4);font-size:12px;line-height:20px;min-height:24px;cursor:pointer;color:var(--dsw-alias-label-primary);user-select:none}\n.dsmm-profile-models-dialog .dsmm-compact-details[open]>.dsmm-details-pill{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-state-business-primary);font-weight:500}\n.dsmm-profile-models-dialog .dsmm-pill-label{color:var(--dsw-alias-label-secondary)}\n.dsmm-profile-models-dialog .dsmm-pill-val{color:var(--dsw-alias-label-primary)}\n.dsmm-profile-models-dialog .dsmm-compact-details .dsmm-details-content{margin-top:8px;padding:10px 12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);display:flex;flex-direction:column;gap:10px;min-width:0}\n.dsmm-profile-models-dialog .dsmm-fallback-item{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);min-width:0}\n.dsmm-models-dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l4)}\n\n@media(max-width:768px){\n .dsmm-profile-models-dialog{width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)}\n .dsmm-profile-models-dialog .dsmm-dialog-role-card{padding:10px}\n .dsmm-profile-models-dialog .dsmm-role-main-row{flex-direction:column;align-items:stretch;gap:8px}\n .dsmm-profile-models-dialog .dsmm-role-primary-route{flex-direction:column;align-items:stretch;gap:8px}\n .dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields{flex-wrap:wrap}\n .dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields>.dsmm-field{flex:1 1 100%;max-width:100%}\n .dsmm-profile-models-dialog .dsmm-role-details-bar{flex-direction:column;align-items:stretch}\n .dsmm-profile-models-dialog .dsmm-compact-details{width:100%}\n .dsmm-profile-models-dialog .dsmm-details-pill{width:100%;box-sizing:border-box;justify-content:space-between}\n}\n@media(prefers-reduced-motion:reduce){:is(.dsmm-profiles, .dsmm-profile-models-dialog) *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}\n";
|
|
3
3
|
//# sourceMappingURL=styles.d.ts.map
|
package/lib/client/styles.js
CHANGED
|
@@ -3,14 +3,14 @@ export const PROFILE_STYLES = `
|
|
|
3
3
|
.dsmm-profiles{width:100%;max-width:760px;min-width:0;display:flex;flex-direction:column;gap:12px;font-family:var(--dsw-font-family);font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary)}
|
|
4
4
|
.dsmm-profiles h2{margin:0;font-size:18px;font-weight:600}
|
|
5
5
|
.dsmm-profiles h3,.dsmm-profiles legend{margin:0;font-size:14px;font-weight:500;line-height:22px}
|
|
6
|
-
.dsmm-profiles :is(label,legend,summary){min-width:0;max-width:100%;overflow-wrap:anywhere}
|
|
6
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(label,legend,summary){min-width:0;max-width:100%;overflow-wrap:anywhere}
|
|
7
7
|
.dsmm-profiles :is(.dsmm-structured,.dsmm-session-scope,.dsmm-catalog,.dsmm-policy-fields){min-width:0;display:flex;flex-direction:column;gap:12px}
|
|
8
|
-
.dsmm-profiles fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);display:flex;flex-direction:column;gap:12px}
|
|
9
|
-
.dsmm-profiles .dsmm-route-fields{display:flex;flex-wrap:wrap;gap:12px;min-width:0}
|
|
10
|
-
.dsmm-profiles .dsmm-route-fields>.dsmm-field{flex:1 1 240px;max-width:100%}
|
|
11
|
-
.dsmm-profiles .dsmm-route-fields select{width:100%}
|
|
12
|
-
.dsmm-profiles summary{cursor:pointer;color:var(--dsw-alias-label-primary);min-height:32px;line-height:32px}
|
|
13
|
-
.dsmm-profiles summary:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}
|
|
8
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);display:flex;flex-direction:column;gap:12px}
|
|
9
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields{display:flex;flex-wrap:wrap;gap:12px;min-width:0}
|
|
10
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields>.dsmm-field{flex:1 1 240px;max-width:100%}
|
|
11
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-route-fields select{width:100%}
|
|
12
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) summary{cursor:pointer;color:var(--dsw-alias-label-primary);min-height:32px;line-height:32px}
|
|
13
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) summary:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}
|
|
14
14
|
.dsmm-profiles .dsmm-advanced[open]>div{margin-top:8px}
|
|
15
15
|
.dsmm-header-profiles{display:inline-flex;align-items:center;min-width:0;font-family:var(--dsw-font-family);color:var(--dsw-alias-label-primary)}
|
|
16
16
|
.dsmm-header-profiles .dsmm-profile-trigger{width:28px;height:28px;min-height:28px;padding:6px;justify-content:center}
|
|
@@ -20,30 +20,30 @@ export const PROFILE_STYLES = `
|
|
|
20
20
|
.dsmm-profile-menu [role=menuitem]{font:inherit}
|
|
21
21
|
.dsmm-profile-menu [role=menuitem]>span{white-space:normal;overflow-wrap:anywhere}
|
|
22
22
|
.dsmm-profile-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
|
|
23
|
-
.dsmm-profiles p{margin:0;overflow-wrap:anywhere}
|
|
24
|
-
.dsmm-profiles .dsmm-hint{color:var(--dsw-alias-label-secondary)}
|
|
25
|
-
.dsmm-profiles .dsmm-field{min-width:0;display:flex;flex-direction:column;gap:6px}
|
|
26
|
-
.dsmm-profiles .dsmm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
|
|
27
|
-
.dsmm-profiles button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:36px;height:auto}
|
|
28
|
-
.dsmm-profiles .dsmm-input{width:100%;min-width:0;box-sizing:border-box;border-color:var(--dsw-alias-label-secondary)}
|
|
29
|
-
.dsmm-profiles .dsmm-input input{width:100%;min-width:0;font:inherit;color:inherit}
|
|
30
|
-
.dsmm-profiles .dsmm-choice{position:relative;min-width:0}
|
|
31
|
-
.dsmm-profiles .dsmm-choice .dsmm-input input{padding-right:32px}
|
|
32
|
-
.dsmm-profiles .dsmm-choice .dsmm-choice-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-height:28px;padding:4px}
|
|
33
|
-
.dsmm-profiles .dsmm-choice-list{position:absolute;z-index:1;top:100%;left:0;right:0;max-height:240px;overflow-y:auto;list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}
|
|
34
|
-
.dsmm-profiles .dsmm-choice-list [role=option]{padding:8px 10px;min-width:0;overflow-wrap:anywhere;cursor:pointer}
|
|
35
|
-
.dsmm-profiles .dsmm-choice-list [role=option]:hover{background:var(--dsw-alias-interactive-bg-hover)}
|
|
36
|
-
.dsmm-profiles .dsmm-choice-list [aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}
|
|
37
|
-
.dsmm-profiles select
|
|
38
|
-
.dsmm-profiles select{width:240px;height:32px;padding:0 10px;text-overflow:ellipsis}
|
|
39
|
-
.dsmm-profiles textarea{width:100%;padding:12px;font-family:var(--ds-font-family-code);resize:vertical;overflow:auto;white-space:pre;}
|
|
40
|
-
.dsmm-profiles select:hover:not(:disabled)
|
|
41
|
-
.dsmm-profiles select:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}
|
|
42
|
-
.dsmm-profiles :is(select,textarea,button):focus-visible
|
|
43
|
-
.dsmm-profiles input[type=checkbox]:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}
|
|
23
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) p{margin:0;overflow-wrap:anywhere}
|
|
24
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-hint{color:var(--dsw-alias-label-secondary)}
|
|
25
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-field{min-width:0;display:flex;flex-direction:column;gap:6px}
|
|
26
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
|
|
27
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:36px;height:auto}
|
|
28
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input{width:100%;min-width:0;box-sizing:border-box;border-color:var(--dsw-alias-label-secondary)}
|
|
29
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input input{width:100%;min-width:0;font:inherit;color:inherit}
|
|
30
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice{position:relative;min-width:0}
|
|
31
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice .dsmm-input input{padding-right:32px}
|
|
32
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice .dsmm-choice-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-height:28px;padding:4px}
|
|
33
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list{position:absolute;z-index:1;top:100%;left:0;right:0;max-height:240px;overflow-y:auto;list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}
|
|
34
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [role=option]{padding:8px 10px;min-width:0;overflow-wrap:anywhere;cursor:pointer}
|
|
35
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [role=option]:hover{background:var(--dsw-alias-interactive-bg-hover)}
|
|
36
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-choice-list [aria-selected=true]{background:var(--dsw-alias-interactive-bg-active);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}
|
|
37
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) select,:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea{box-sizing:border-box;min-width:0;max-width:100%;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-md)}
|
|
38
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) select{width:240px;height:32px;padding:0 10px;text-overflow:ellipsis}
|
|
39
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea{width:100%;padding:12px;font-family:var(--ds-font-family-code);resize:vertical;overflow:auto;white-space:pre;}
|
|
40
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) select:hover:not(:disabled),:is(.dsmm-profiles, .dsmm-profile-models-dialog) textarea:hover:not(:disabled){border-color:var(--dsw-alias-label-primary)}
|
|
41
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) select:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}
|
|
42
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(select,textarea,button):focus-visible,:is(.dsmm-profiles, .dsmm-profile-models-dialog) .dsmm-input:has(input:focus-visible){outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}
|
|
43
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) input[type=checkbox]:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}
|
|
44
44
|
.dsmm-permissions label.dsmm-actions{min-height:32px}
|
|
45
45
|
.dsmm-permissions input[type=checkbox]{accent-color:var(--dsw-alias-state-business-primary)}
|
|
46
|
-
.dsmm-profiles :is(select,textarea):disabled{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-module-platform);cursor:not-allowed}
|
|
46
|
+
:is(.dsmm-profiles, .dsmm-profile-models-dialog) :is(select,textarea):disabled{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-module-platform);cursor:not-allowed}
|
|
47
47
|
.dsmm-profiles .dsmm-editor,.dsmm-profiles .dsmm-confirm{min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}
|
|
48
48
|
.dsmm-profiles .dsmm-issue{padding:12px;border-left:4px solid var(--dsw-alias-state-error-primary);color:var(--dsw-alias-label-primary);overflow-wrap:anywhere}
|
|
49
49
|
.dsmm-profiles .dsmm-issue p+p{margin-top:8px}
|
|
@@ -109,9 +109,68 @@ export const PROFILE_STYLES = `
|
|
|
109
109
|
.dsmm-named-profiles .dsmm-advanced-settings>summary{font-weight:500}
|
|
110
110
|
.dsmm-named-profiles .dsmm-advanced-settings>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}
|
|
111
111
|
.dsmm-named-profiles .dsmm-save-bar{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l4)}
|
|
112
|
+
.dsmm-named-profiles .dsmm-save-lock-reason{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid var(--dsw-alias-state-warn-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}
|
|
113
|
+
.dsmm-named-profiles .dsmm-save-lock-text{font-weight:500;color:var(--dsw-alias-state-warn-primary)}
|
|
114
|
+
.dsmm-named-profiles .dsmm-save-lock-action{display:flex;align-items:center;gap:8px}
|
|
112
115
|
.dsmm-named-profiles .dsmm-orchestrator-primary{background:var(--dsw-alias-bg-layer-1)}
|
|
113
116
|
.dsmm-named-profiles .dsmm-git-guard{background:var(--dsw-alias-bg-layer-1)}
|
|
114
117
|
.dsmm-named-profiles .dsmm-structured-invalid{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--dsw-alias-state-error-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform)}
|
|
115
|
-
|
|
118
|
+
|
|
119
|
+
.dsmm-profile-models-dialog.dialog,
|
|
120
|
+
.dsmm-profile-models-dialog{width:min(1040px, calc(100vw - 32px))!important;max-width:1040px!important;max-height:calc(100vh - 48px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box;font-family:var(--dsw-font-family);font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary)}
|
|
121
|
+
.dsmm-profile-models-dialog-content,
|
|
122
|
+
.dsmm-models-dialog-content,
|
|
123
|
+
.dsmm-profile-models-dialog .dsmm-profile-models-dialog-content{overflow-y:auto!important;overflow-x:hidden;display:flex;flex-direction:column;gap:12px;padding:4px 0 16px;min-height:0;flex:1 1 auto}
|
|
124
|
+
.dsmm-models-filter-bar,
|
|
125
|
+
.dsmm-dialog-filter-bar,
|
|
126
|
+
.dsmm-profile-models-dialog .dsmm-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--dsw-alias-border-l4);flex-shrink:0}
|
|
127
|
+
.dsmm-models-filter-bar .dsmm-search-input,
|
|
128
|
+
.dsmm-filter-search{flex:1 1 240px;min-width:0}
|
|
129
|
+
.dsmm-filter-label,
|
|
130
|
+
.dsmm-filter-override-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;user-select:none;color:var(--dsw-alias-label-primary)}
|
|
131
|
+
.dsmm-dialog-issue{margin-bottom:8px;padding:8px 12px;border:1px solid var(--dsw-alias-state-error-primary);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);display:flex;flex-direction:column;gap:6px}
|
|
132
|
+
.dsmm-dialog-issue-title{font-weight:600;color:var(--dsw-alias-state-error-primary);margin:0}
|
|
133
|
+
.dsmm-dialog-issue-action{display:flex;justify-content:flex-end;margin-top:4px}
|
|
134
|
+
.dsmm-profile-models-dialog .dsmm-roles-list,
|
|
135
|
+
.dsmm-profile-models-dialog .dsmm-dialog-roles-list{display:flex;flex-direction:column;gap:8px;min-width:0}
|
|
136
|
+
.dsmm-profile-models-dialog .dsmm-dialog-role-card{display:flex;flex-direction:column;gap:6px;padding:8px 12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);min-width:0}
|
|
137
|
+
.dsmm-profile-models-dialog .dsmm-role-main-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 12px;min-width:0}
|
|
138
|
+
.dsmm-profile-models-dialog .dsmm-dialog-role-header{display:flex;align-items:center;min-width:140px;flex:0 0 auto}
|
|
139
|
+
.dsmm-profile-models-dialog .dsmm-role-title-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
|
|
140
|
+
.dsmm-profile-models-dialog .dsmm-role-title{font-size:14px;font-weight:600;color:var(--dsw-alias-label-primary)}
|
|
141
|
+
.dsmm-profile-models-dialog .dsmm-role-id-badge{font-family:var(--ds-font-family-code);font-size:11px;padding:1px 4px;border-radius:var(--dsw-radius-xs,2px);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);white-space:nowrap}
|
|
142
|
+
.dsmm-profile-models-dialog .dsmm-override-badge{font-size:11px;padding:1px 6px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-active);color:var(--dsw-alias-state-business-primary);border:1px solid var(--dsw-alias-state-business-primary);white-space:nowrap}
|
|
143
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;flex:1 1 auto;justify-content:flex-end;min-width:0}
|
|
144
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-primary-mode-field{flex:0 0 auto;min-width:110px}
|
|
145
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-primary-mode-field select{width:auto;min-width:110px;height:32px}
|
|
146
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:8px;flex:0 1 auto;min-width:0}
|
|
147
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields>.dsmm-field{flex:0 1 auto;min-width:100px;max-width:200px;gap:2px}
|
|
148
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields select{width:100%;height:32px}
|
|
149
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields .dsmm-input{height:32px}
|
|
150
|
+
.dsmm-profile-models-dialog .dsmm-route-inherited-hint{font-size:12px;color:var(--dsw-alias-label-secondary);padding:6px 0;line-height:20px}
|
|
151
|
+
.dsmm-profile-models-dialog .dsmm-orchestrator-tag{font-size:12px;color:var(--dsw-alias-label-secondary);padding:6px 0;line-height:20px}
|
|
152
|
+
.dsmm-profile-models-dialog .dsmm-role-details-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;padding-top:4px;border-top:1px dashed var(--dsw-alias-border-l4)}
|
|
153
|
+
.dsmm-profile-models-dialog .dsmm-compact-details{display:inline-block;min-width:0}
|
|
154
|
+
.dsmm-profile-models-dialog .dsmm-compact-details[open]{flex:1 1 100%;width:100%}
|
|
155
|
+
.dsmm-profile-models-dialog .dsmm-details-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l4);font-size:12px;line-height:20px;min-height:24px;cursor:pointer;color:var(--dsw-alias-label-primary);user-select:none}
|
|
156
|
+
.dsmm-profile-models-dialog .dsmm-compact-details[open]>.dsmm-details-pill{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-state-business-primary);font-weight:500}
|
|
157
|
+
.dsmm-profile-models-dialog .dsmm-pill-label{color:var(--dsw-alias-label-secondary)}
|
|
158
|
+
.dsmm-profile-models-dialog .dsmm-pill-val{color:var(--dsw-alias-label-primary)}
|
|
159
|
+
.dsmm-profile-models-dialog .dsmm-compact-details .dsmm-details-content{margin-top:8px;padding:10px 12px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);display:flex;flex-direction:column;gap:10px;min-width:0}
|
|
160
|
+
.dsmm-profile-models-dialog .dsmm-fallback-item{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);min-width:0}
|
|
161
|
+
.dsmm-models-dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l4)}
|
|
162
|
+
|
|
163
|
+
@media(max-width:768px){
|
|
164
|
+
.dsmm-profile-models-dialog{width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)}
|
|
165
|
+
.dsmm-profile-models-dialog .dsmm-dialog-role-card{padding:10px}
|
|
166
|
+
.dsmm-profile-models-dialog .dsmm-role-main-row{flex-direction:column;align-items:stretch;gap:8px}
|
|
167
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route{flex-direction:column;align-items:stretch;gap:8px}
|
|
168
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields{flex-wrap:wrap}
|
|
169
|
+
.dsmm-profile-models-dialog .dsmm-role-primary-route .dsmm-route-fields>.dsmm-field{flex:1 1 100%;max-width:100%}
|
|
170
|
+
.dsmm-profile-models-dialog .dsmm-role-details-bar{flex-direction:column;align-items:stretch}
|
|
171
|
+
.dsmm-profile-models-dialog .dsmm-compact-details{width:100%}
|
|
172
|
+
.dsmm-profile-models-dialog .dsmm-details-pill{width:100%;box-sizing:border-box;justify-content:space-between}
|
|
173
|
+
}
|
|
174
|
+
@media(prefers-reduced-motion:reduce){:is(.dsmm-profiles, .dsmm-profile-models-dialog) *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
|
|
116
175
|
`;
|
|
117
176
|
//# sourceMappingURL=styles.js.map
|