@dsmm/dsmm 0.3.11 → 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 +4 -4
- package/docs/compatibility.md +16 -4
- package/docs/deferred-native-approval-risk.md +1 -1
- package/docs/design.md +15 -5
- package/docs/lsp.md +1 -1
- package/docs/maintenance.md +9 -3
- package/docs/model-routing.md +6 -6
- package/docs/native-permissions.md +1 -1
- package/docs/profiles.md +46 -5
- package/docs/roadmap.md +3 -3
- package/docs/runtime-recovery.md +5 -5
- package/docs/safety-guards.md +1 -1
- package/docs/settings-status.md +3 -3
- package/docs/testing.md +85 -0
- package/lib/child-capture.d.ts +9 -0
- package/lib/child-capture.js +24 -1
- package/lib/client/ProfileModelsDialog.d.ts +23 -0
- package/lib/client/ProfileModelsDialog.js +318 -0
- package/lib/client/ProfilesSection.js +228 -34
- package/lib/client/RoleToolView-data.d.ts +11 -4
- package/lib/client/RoleToolView-data.js +48 -1
- package/lib/client/RoleToolView-locales.d.ts +12 -4
- package/lib/client/RoleToolView-locales.js +12 -6
- package/lib/client/RoleToolView.js +49 -9
- package/lib/client/SessionProfiles.d.ts +5 -1
- package/lib/client/SessionProfiles.js +13 -9
- package/lib/client/StructuredEditor.d.ts +60 -0
- package/lib/client/StructuredEditor.js +73 -49
- package/lib/client/controller.d.ts +10 -0
- package/lib/client/controller.js +44 -14
- package/lib/client/diagnostics.d.ts +1 -0
- package/lib/client/diagnostics.js +9 -0
- package/lib/client/locales.d.ts +57 -0
- package/lib/client/locales.js +89 -17
- package/lib/client/session-labels.js +4 -1
- package/lib/client/structured.d.ts +4 -0
- package/lib/client/structured.js +16 -1
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +107 -30
- package/lib/client.js +2424 -1049
- package/lib/host-llm.js +3 -3
- package/lib/index.js +1 -1
- package/lib/model-routing.d.ts +3 -2
- package/lib/model-routing.js +28 -7
- package/lib/native-admission.d.ts +2 -0
- package/lib/native-admission.js +106 -34
- package/lib/profile-runtime.d.ts +11 -0
- package/lib/profile-runtime.js +48 -13
- package/lib/profile-store.d.ts +4 -1
- package/lib/profile-store.js +37 -14
- package/lib/role-control-rpc.js +18 -5
- package/lib/role-llm-runtime.js +10 -1
- package/lib/role-policy.d.ts +4 -3
- package/lib/role-policy.js +6 -6
- package/lib/role-providers.js +1 -0
- package/lib/runtime-recovery.d.ts +2 -2
- package/lib/runtime-recovery.js +7 -4
- package/package.json +7 -2
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}
|
|
@@ -94,6 +94,83 @@ export const PROFILE_STYLES = `
|
|
|
94
94
|
.dsmm-profiles .dsmm-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:4px 0 0;font-size:12px}
|
|
95
95
|
.dsmm-profiles .dsmm-kv dt{font-weight:500;color:var(--dsw-alias-label-secondary)}
|
|
96
96
|
.dsmm-profiles .dsmm-kv dd{margin:0;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code)}
|
|
97
|
-
|
|
97
|
+
.dsmm-named-profiles .dsmm-browse-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
|
|
98
|
+
.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)}
|
|
99
|
+
.dsmm-named-profiles .dsmm-summary-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
|
|
100
|
+
.dsmm-named-profiles .dsmm-summary-label{display:inline-flex;align-items:center;gap:6px;font-weight:500}
|
|
101
|
+
.dsmm-named-profiles .dsmm-summary-val{color:var(--dsw-alias-label-secondary)}
|
|
102
|
+
.dsmm-named-profiles .dsmm-more-actions{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}
|
|
103
|
+
.dsmm-named-profiles .dsmm-more-actions[open]{padding-bottom:12px}
|
|
104
|
+
.dsmm-named-profiles .dsmm-more-actions>summary{font-weight:500}
|
|
105
|
+
.dsmm-named-profiles .dsmm-more-actions>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}
|
|
106
|
+
.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)}
|
|
107
|
+
.dsmm-named-profiles .dsmm-advanced-settings{border:1px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);padding:8px 12px}
|
|
108
|
+
.dsmm-named-profiles .dsmm-advanced-settings[open]{padding-bottom:12px}
|
|
109
|
+
.dsmm-named-profiles .dsmm-advanced-settings>summary{font-weight:500}
|
|
110
|
+
.dsmm-named-profiles .dsmm-advanced-settings>div{margin-top:12px;display:flex;flex-direction:column;gap:12px}
|
|
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}
|
|
115
|
+
.dsmm-named-profiles .dsmm-orchestrator-primary{background:var(--dsw-alias-bg-layer-1)}
|
|
116
|
+
.dsmm-named-profiles .dsmm-git-guard{background:var(--dsw-alias-bg-layer-1)}
|
|
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)}
|
|
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}}
|
|
98
175
|
`;
|
|
99
176
|
//# sourceMappingURL=styles.js.map
|