@consilioweb/payload-support 0.6.1 → 0.6.3
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/dist/components/TicketConversation/components/AISummaryPanel.cjs +77 -0
- package/dist/components/TicketConversation/components/AISummaryPanel.js +76 -0
- package/dist/components/TicketConversation/components/ActionPanels.cjs +121 -0
- package/dist/components/TicketConversation/components/ActionPanels.js +118 -0
- package/dist/components/TicketConversation/components/ActivityLog.cjs +24 -0
- package/dist/components/TicketConversation/components/ActivityLog.js +23 -0
- package/dist/components/TicketConversation/components/ClientBar.cjs +43 -0
- package/dist/components/TicketConversation/components/ClientBar.js +42 -0
- package/dist/components/TicketConversation/components/ClientHistory.cjs +138 -0
- package/dist/components/TicketConversation/components/ClientHistory.js +137 -0
- package/dist/components/TicketConversation/components/CodeBlock.cjs +154 -0
- package/dist/components/TicketConversation/components/CodeBlock.js +152 -0
- package/dist/components/TicketConversation/components/CodeBlockInserter.cjs +156 -0
- package/dist/components/TicketConversation/components/CodeBlockInserter.js +155 -0
- package/dist/components/TicketConversation/components/QuickActions.cjs +66 -0
- package/dist/components/TicketConversation/components/QuickActions.js +65 -0
- package/dist/components/TicketConversation/components/TicketHeader.cjs +93 -0
- package/dist/components/TicketConversation/components/TicketHeader.js +92 -0
- package/dist/components/TicketConversation/components/TimeTrackingPanel.cjs +134 -0
- package/dist/components/TicketConversation/components/TimeTrackingPanel.js +133 -0
- package/dist/components/TicketConversation/config.cjs +44 -0
- package/dist/components/TicketConversation/config.js +41 -0
- package/dist/components/TicketConversation/constants.cjs +100 -0
- package/dist/components/TicketConversation/constants.js +96 -0
- package/dist/components/TicketConversation/context.cjs +13 -0
- package/dist/components/TicketConversation/context.js +11 -0
- package/dist/components/TicketConversation/hooks/useAI.cjs +177 -0
- package/dist/components/TicketConversation/hooks/useAI.js +176 -0
- package/dist/components/TicketConversation/hooks/useMessageActions.cjs +136 -0
- package/dist/components/TicketConversation/hooks/useMessageActions.js +135 -0
- package/dist/components/TicketConversation/hooks/useReply.cjs +188 -0
- package/dist/components/TicketConversation/hooks/useReply.js +187 -0
- package/dist/components/TicketConversation/hooks/useTicketActions.cjs +231 -0
- package/dist/components/TicketConversation/hooks/useTicketActions.js +230 -0
- package/dist/components/TicketConversation/hooks/useTimeTracking.cjs +123 -0
- package/dist/components/TicketConversation/hooks/useTimeTracking.js +122 -0
- package/dist/components/TicketConversation/hooks/useTranslation.cjs +78 -0
- package/dist/components/TicketConversation/hooks/useTranslation.js +70 -0
- package/dist/components/TicketConversation/index.cjs +1128 -0
- package/dist/components/TicketConversation/index.js +1123 -0
- package/dist/components/TicketConversation/locales/en.json +878 -0
- package/dist/components/TicketConversation/locales/fr.json +878 -0
- package/dist/components/TicketConversation/types.cjs +2 -0
- package/dist/components/TicketConversation/types.js +2 -0
- package/dist/components/TicketConversation/utils.cjs +27 -0
- package/dist/components/TicketConversation/utils.js +25 -0
- package/dist/styles/BillingView.module.scss +311 -0
- package/dist/styles/ChatView.module.scss +438 -0
- package/dist/styles/CommandPalette.module.scss +160 -0
- package/dist/styles/CrmView.module.scss +554 -0
- package/dist/styles/EmailTracking.module.scss +238 -0
- package/dist/styles/ImportConversation.module.scss +267 -0
- package/dist/styles/Layout.module.scss +55 -0
- package/dist/styles/Logs.module.scss +164 -0
- package/dist/styles/NewTicket.module.scss +143 -0
- package/dist/styles/PendingEmails.module.scss +629 -0
- package/dist/styles/SupportDashboard.module.scss +649 -0
- package/dist/styles/TicketDetail.module.scss +1050 -0
- package/dist/styles/TicketInbox.module.scss +296 -0
- package/dist/styles/TicketingSettings.module.scss +358 -0
- package/dist/styles/TimeDashboard.module.scss +287 -0
- package/dist/styles/_tokens.scss +78 -0
- package/dist/{components/TicketConversation.css → styles/theme.css} +326 -13
- package/dist/views/BillingView/client.cjs +209 -0
- package/dist/views/BillingView/client.js +204 -0
- package/dist/views/BillingView/index.cjs +34 -0
- package/dist/views/BillingView/index.js +29 -0
- package/dist/views/ChatView/client.cjs +253 -0
- package/dist/views/ChatView/client.js +252 -0
- package/dist/views/ChatView/index.cjs +34 -0
- package/dist/views/ChatView/index.js +29 -0
- package/dist/views/CrmView/client.cjs +233 -0
- package/dist/views/CrmView/client.js +232 -0
- package/dist/views/CrmView/index.cjs +34 -0
- package/dist/views/CrmView/index.js +29 -0
- package/dist/views/EmailTrackingView/client.cjs +159 -0
- package/dist/views/EmailTrackingView/client.js +154 -0
- package/dist/views/EmailTrackingView/index.cjs +34 -0
- package/dist/views/EmailTrackingView/index.js +29 -0
- package/dist/views/ImportConversationView/client.cjs +205 -0
- package/dist/views/ImportConversationView/client.js +204 -0
- package/dist/views/ImportConversationView/index.cjs +34 -0
- package/dist/views/ImportConversationView/index.js +29 -0
- package/dist/views/LogsView/client.cjs +149 -0
- package/dist/views/LogsView/client.js +148 -0
- package/dist/views/LogsView/index.cjs +32 -0
- package/dist/views/LogsView/index.js +27 -0
- package/dist/views/NewTicketView/client.cjs +229 -0
- package/dist/views/NewTicketView/client.js +224 -0
- package/dist/views/NewTicketView/index.cjs +32 -0
- package/dist/views/NewTicketView/index.js +27 -0
- package/dist/views/PendingEmailsView/client.cjs +173 -0
- package/dist/views/PendingEmailsView/client.js +172 -0
- package/dist/views/PendingEmailsView/index.cjs +34 -0
- package/dist/views/PendingEmailsView/index.js +29 -0
- package/dist/views/SupportDashboardView/client.cjs +301 -0
- package/dist/views/SupportDashboardView/client.js +296 -0
- package/dist/views/SupportDashboardView/index.cjs +34 -0
- package/dist/views/SupportDashboardView/index.js +29 -0
- package/dist/views/TicketDetailView/client.cjs +850 -0
- package/dist/views/TicketDetailView/client.js +844 -0
- package/dist/views/TicketDetailView/index.cjs +34 -0
- package/dist/views/TicketDetailView/index.js +29 -0
- package/dist/views/TicketInboxView/client.cjs +299 -0
- package/dist/views/TicketInboxView/client.js +294 -0
- package/dist/views/TicketInboxView/index.cjs +32 -0
- package/dist/views/TicketInboxView/index.js +27 -0
- package/dist/{views.css → views/TicketingSettingsView/TicketingSettings.module.scss} +138 -66
- package/dist/views/TicketingSettingsView/client.cjs +733 -0
- package/dist/views/TicketingSettingsView/client.js +728 -0
- package/dist/views/TicketingSettingsView/index.cjs +34 -0
- package/dist/views/TicketingSettingsView/index.js +29 -0
- package/dist/views/TimeDashboardView/client.cjs +169 -0
- package/dist/views/TimeDashboardView/client.js +164 -0
- package/dist/views/TimeDashboardView/index.cjs +34 -0
- package/dist/views/TimeDashboardView/index.js +29 -0
- package/dist/views/shared/AdminViewHeader.cjs +68 -0
- package/dist/views/shared/AdminViewHeader.js +67 -0
- package/dist/views/shared/ErrorBoundary.cjs +55 -0
- package/dist/views/shared/ErrorBoundary.js +50 -0
- package/dist/views/shared/Skeleton.cjs +77 -0
- package/dist/views/shared/Skeleton.js +72 -0
- package/dist/views/shared/adminTokens.cjs +34 -0
- package/dist/views/shared/adminTokens.js +31 -0
- package/dist/views/shared/config.cjs +44 -0
- package/dist/views/shared/config.js +40 -0
- package/dist/views/shared/index.cjs +58 -0
- package/dist/views/shared/index.js +5 -0
- package/dist/views.cjs +77 -6175
- package/dist/views.d.cts +13 -30
- package/dist/views.d.ts +13 -30
- package/dist/views.js +13 -6165
- package/package.json +2 -2
- package/dist/components/TicketConversation.js +0 -3004
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var templates = require('@payloadcms/next/templates');
|
|
7
|
+
var navigation = require('next/navigation');
|
|
8
|
+
var ErrorBoundary = require('../shared/ErrorBoundary');
|
|
9
|
+
var client = require('./client');
|
|
10
|
+
|
|
11
|
+
const TicketInboxView = ({ initPageResult }) => {
|
|
12
|
+
const { req, visibleEntities } = initPageResult;
|
|
13
|
+
if (!req.user) navigation.redirect("/admin/login");
|
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15
|
+
templates.DefaultTemplate,
|
|
16
|
+
{
|
|
17
|
+
i18n: req.i18n,
|
|
18
|
+
locale: initPageResult.locale,
|
|
19
|
+
params: {},
|
|
20
|
+
payload: req.payload,
|
|
21
|
+
permissions: initPageResult.permissions,
|
|
22
|
+
searchParams: {},
|
|
23
|
+
user: req.user,
|
|
24
|
+
visibleEntities,
|
|
25
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary.AdminErrorBoundary, { viewName: "TicketInboxView", children: /* @__PURE__ */ jsxRuntime.jsx(client.TicketInboxClient, {}) })
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
var TicketInboxView_default = TicketInboxView;
|
|
30
|
+
|
|
31
|
+
exports.TicketInboxView = TicketInboxView;
|
|
32
|
+
exports.default = TicketInboxView_default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { DefaultTemplate } from '@payloadcms/next/templates';
|
|
3
|
+
import { redirect } from 'next/navigation';
|
|
4
|
+
import { AdminErrorBoundary } from '../shared/ErrorBoundary';
|
|
5
|
+
import { TicketInboxClient } from './client';
|
|
6
|
+
|
|
7
|
+
const TicketInboxView = ({ initPageResult }) => {
|
|
8
|
+
const { req, visibleEntities } = initPageResult;
|
|
9
|
+
if (!req.user) redirect("/admin/login");
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
DefaultTemplate,
|
|
12
|
+
{
|
|
13
|
+
i18n: req.i18n,
|
|
14
|
+
locale: initPageResult.locale,
|
|
15
|
+
params: {},
|
|
16
|
+
payload: req.payload,
|
|
17
|
+
permissions: initPageResult.permissions,
|
|
18
|
+
searchParams: {},
|
|
19
|
+
user: req.user,
|
|
20
|
+
visibleEntities,
|
|
21
|
+
children: /* @__PURE__ */ jsx(AdminErrorBoundary, { viewName: "TicketInboxView", children: /* @__PURE__ */ jsx(TicketInboxClient, {}) })
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
var TicketInboxView_default = TicketInboxView;
|
|
26
|
+
|
|
27
|
+
export { TicketInboxView, TicketInboxView_default as default };
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
.TicketingSettings_module_page {
|
|
1
|
+
.page {
|
|
3
2
|
max-width: 900px;
|
|
4
3
|
margin: 0 auto;
|
|
5
4
|
padding: 0 1.5rem 3rem;
|
|
6
5
|
}
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
.intro {
|
|
8
8
|
font-size: 0.875rem;
|
|
9
9
|
color: var(--theme-elevation-600);
|
|
10
10
|
margin-bottom: 1.5rem;
|
|
11
11
|
line-height: 1.5;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
// ── Sections ──────────────────────────────────
|
|
15
|
+
|
|
16
|
+
.sectionWrapper {
|
|
14
17
|
border: 1px solid var(--theme-elevation-150);
|
|
15
18
|
border-radius: 10px;
|
|
16
19
|
margin-bottom: 1rem;
|
|
17
20
|
overflow: hidden;
|
|
18
21
|
background: var(--theme-elevation-0);
|
|
19
22
|
}
|
|
20
|
-
|
|
23
|
+
|
|
24
|
+
.sectionHeader {
|
|
21
25
|
display: flex;
|
|
22
26
|
align-items: center;
|
|
23
27
|
gap: 0.75rem;
|
|
@@ -25,11 +29,13 @@
|
|
|
25
29
|
cursor: pointer;
|
|
26
30
|
user-select: none;
|
|
27
31
|
transition: background 150ms;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
background: var(--theme-elevation-50);
|
|
35
|
+
}
|
|
28
36
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
.TicketingSettings_module_sectionIcon {
|
|
37
|
+
|
|
38
|
+
.sectionIcon {
|
|
33
39
|
width: 32px;
|
|
34
40
|
height: 32px;
|
|
35
41
|
border-radius: 8px;
|
|
@@ -39,41 +45,53 @@
|
|
|
39
45
|
color: #fff;
|
|
40
46
|
flex-shrink: 0;
|
|
41
47
|
}
|
|
42
|
-
|
|
48
|
+
|
|
49
|
+
.sectionTitle {
|
|
43
50
|
font-weight: 600;
|
|
44
51
|
font-size: 0.9375rem;
|
|
45
52
|
color: var(--theme-text);
|
|
46
53
|
flex: 1;
|
|
47
54
|
}
|
|
48
|
-
|
|
55
|
+
|
|
56
|
+
.sectionChevron {
|
|
49
57
|
font-size: 0.625rem;
|
|
50
58
|
color: var(--theme-elevation-400);
|
|
51
59
|
transition: transform 200ms;
|
|
60
|
+
|
|
61
|
+
&.open {
|
|
62
|
+
transform: rotate(180deg);
|
|
63
|
+
}
|
|
52
64
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
.TicketingSettings_module_sectionBody {
|
|
65
|
+
|
|
66
|
+
.sectionBody {
|
|
57
67
|
padding: 1rem 1.25rem 1.25rem;
|
|
58
68
|
border-top: 1px solid var(--theme-elevation-100);
|
|
59
69
|
}
|
|
60
|
-
|
|
70
|
+
|
|
71
|
+
.sectionDescription {
|
|
61
72
|
font-size: 0.8125rem;
|
|
62
73
|
color: var(--theme-elevation-500);
|
|
63
74
|
margin: 0 0 1rem;
|
|
64
75
|
line-height: 1.5;
|
|
65
76
|
}
|
|
66
|
-
|
|
77
|
+
|
|
78
|
+
// ── Badges ────────────────────────────────────
|
|
79
|
+
|
|
80
|
+
.badge {
|
|
67
81
|
font-size: 0.6875rem;
|
|
68
82
|
font-weight: 600;
|
|
69
83
|
padding: 0.125rem 0.5rem;
|
|
70
84
|
border-radius: 9999px;
|
|
71
85
|
white-space: nowrap;
|
|
72
86
|
}
|
|
73
|
-
|
|
87
|
+
|
|
88
|
+
// ── Feature cards ─────────────────────────────
|
|
89
|
+
|
|
90
|
+
.categoryGroup {
|
|
74
91
|
margin-bottom: 1.25rem;
|
|
75
92
|
}
|
|
76
|
-
|
|
93
|
+
|
|
94
|
+
.categoryHeading {
|
|
77
95
|
font-size: 0.75rem;
|
|
78
96
|
font-weight: 700;
|
|
79
97
|
text-transform: uppercase;
|
|
@@ -83,18 +101,21 @@
|
|
|
83
101
|
align-items: center;
|
|
84
102
|
gap: 0.5rem;
|
|
85
103
|
}
|
|
86
|
-
|
|
104
|
+
|
|
105
|
+
.categoryDot {
|
|
87
106
|
width: 8px;
|
|
88
107
|
height: 8px;
|
|
89
108
|
border-radius: 50%;
|
|
90
109
|
display: inline-block;
|
|
91
110
|
}
|
|
92
|
-
|
|
111
|
+
|
|
112
|
+
.featureList {
|
|
93
113
|
display: flex;
|
|
94
114
|
flex-direction: column;
|
|
95
115
|
gap: 0.375rem;
|
|
96
116
|
}
|
|
97
|
-
|
|
117
|
+
|
|
118
|
+
.featureCard {
|
|
98
119
|
display: flex;
|
|
99
120
|
align-items: center;
|
|
100
121
|
gap: 0.75rem;
|
|
@@ -103,47 +124,58 @@
|
|
|
103
124
|
border: 1px solid var(--theme-elevation-150);
|
|
104
125
|
cursor: pointer;
|
|
105
126
|
transition: all 150ms;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
background: var(--theme-elevation-50);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.enabled {
|
|
133
|
+
border-color: var(--theme-elevation-200);
|
|
134
|
+
background: var(--theme-elevation-50);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.featureLabel {
|
|
115
139
|
font-weight: 600;
|
|
116
140
|
font-size: 0.8125rem;
|
|
117
141
|
color: var(--theme-text);
|
|
118
142
|
}
|
|
119
|
-
|
|
143
|
+
|
|
144
|
+
.featureDesc {
|
|
120
145
|
font-size: 0.75rem;
|
|
121
146
|
color: var(--theme-elevation-500);
|
|
122
147
|
margin-top: 0.125rem;
|
|
123
148
|
}
|
|
124
|
-
|
|
149
|
+
|
|
150
|
+
// ── Fields ────────────────────────────────────
|
|
151
|
+
|
|
152
|
+
.fieldRow {
|
|
125
153
|
display: flex;
|
|
126
154
|
align-items: flex-start;
|
|
127
155
|
gap: 1rem;
|
|
128
156
|
padding: 0.625rem 0;
|
|
129
157
|
}
|
|
130
|
-
|
|
158
|
+
|
|
159
|
+
.fieldLabel {
|
|
131
160
|
flex: 0 0 200px;
|
|
132
161
|
font-size: 0.8125rem;
|
|
133
162
|
font-weight: 600;
|
|
134
163
|
color: var(--theme-text);
|
|
135
164
|
padding-top: 0.5rem;
|
|
136
165
|
}
|
|
137
|
-
|
|
166
|
+
|
|
167
|
+
.fieldDescription {
|
|
138
168
|
font-size: 0.75rem;
|
|
139
169
|
color: var(--theme-elevation-500);
|
|
140
170
|
font-weight: 400;
|
|
141
171
|
margin-top: 0.125rem;
|
|
142
172
|
}
|
|
143
|
-
|
|
173
|
+
|
|
174
|
+
.fieldContent {
|
|
144
175
|
flex: 1;
|
|
145
176
|
}
|
|
146
|
-
|
|
177
|
+
|
|
178
|
+
.input {
|
|
147
179
|
width: 100%;
|
|
148
180
|
padding: 0.5rem 0.75rem;
|
|
149
181
|
border: 1px solid var(--theme-elevation-200);
|
|
@@ -153,55 +185,76 @@
|
|
|
153
185
|
color: var(--theme-text);
|
|
154
186
|
outline: none;
|
|
155
187
|
transition: border-color 150ms;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
|
|
188
|
+
|
|
189
|
+
&:focus {
|
|
190
|
+
border-color: var(--theme-success-500);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.inputReadonly {
|
|
195
|
+
composes: input;
|
|
161
196
|
background: var(--theme-elevation-50);
|
|
162
197
|
color: var(--theme-elevation-500);
|
|
163
198
|
cursor: not-allowed;
|
|
164
199
|
}
|
|
165
|
-
|
|
200
|
+
|
|
201
|
+
.select {
|
|
202
|
+
composes: input;
|
|
166
203
|
appearance: auto;
|
|
167
204
|
}
|
|
168
|
-
|
|
205
|
+
|
|
206
|
+
.numberInput {
|
|
207
|
+
composes: input;
|
|
169
208
|
max-width: 120px;
|
|
170
209
|
}
|
|
171
|
-
|
|
210
|
+
|
|
211
|
+
.separator {
|
|
172
212
|
border-top: 1px solid var(--theme-elevation-100);
|
|
173
213
|
margin: 1rem 0;
|
|
174
214
|
}
|
|
175
|
-
|
|
215
|
+
|
|
216
|
+
// ── Toggle rows ───────────────────────────────
|
|
217
|
+
|
|
218
|
+
.toggleRow {
|
|
176
219
|
display: flex;
|
|
177
220
|
align-items: flex-start;
|
|
178
221
|
gap: 0.75rem;
|
|
179
222
|
padding: 0.5rem 0;
|
|
180
223
|
}
|
|
181
|
-
|
|
224
|
+
|
|
225
|
+
.inlineLabel {
|
|
182
226
|
font-size: 0.8125rem;
|
|
183
227
|
font-weight: 600;
|
|
184
228
|
color: var(--theme-text);
|
|
185
229
|
}
|
|
186
|
-
|
|
230
|
+
|
|
231
|
+
.inlineDesc {
|
|
187
232
|
font-size: 0.75rem;
|
|
188
233
|
color: var(--theme-elevation-500);
|
|
189
234
|
margin-top: 0.125rem;
|
|
190
235
|
}
|
|
191
|
-
|
|
236
|
+
|
|
237
|
+
// ── SLA ───────────────────────────────────────
|
|
238
|
+
|
|
239
|
+
.slaInline {
|
|
192
240
|
display: flex;
|
|
193
241
|
align-items: center;
|
|
194
242
|
gap: 0.5rem;
|
|
195
243
|
}
|
|
196
|
-
|
|
244
|
+
|
|
245
|
+
.slaHint {
|
|
197
246
|
font-size: 0.75rem;
|
|
198
247
|
color: var(--theme-elevation-500);
|
|
199
248
|
}
|
|
200
|
-
|
|
249
|
+
|
|
250
|
+
// ── API Key ───────────────────────────────────
|
|
251
|
+
|
|
252
|
+
.apiKeyRow {
|
|
201
253
|
display: flex;
|
|
202
254
|
gap: 0.5rem;
|
|
203
255
|
}
|
|
204
|
-
|
|
256
|
+
|
|
257
|
+
.apiKeyToggle {
|
|
205
258
|
padding: 0.5rem 0.75rem;
|
|
206
259
|
border: 1px solid var(--theme-elevation-200);
|
|
207
260
|
border-radius: 6px;
|
|
@@ -211,29 +264,38 @@
|
|
|
211
264
|
cursor: pointer;
|
|
212
265
|
white-space: nowrap;
|
|
213
266
|
}
|
|
214
|
-
|
|
267
|
+
|
|
268
|
+
// ── AI sub features ───────────────────────────
|
|
269
|
+
|
|
270
|
+
.aiSubFeaturesLabel {
|
|
215
271
|
font-size: 0.8125rem;
|
|
216
272
|
font-weight: 600;
|
|
217
273
|
color: var(--theme-text);
|
|
218
274
|
margin: 0 0 0.5rem;
|
|
219
275
|
}
|
|
220
|
-
|
|
276
|
+
|
|
277
|
+
.aiToggleRow {
|
|
221
278
|
display: flex;
|
|
222
279
|
align-items: center;
|
|
223
280
|
gap: 0.75rem;
|
|
224
281
|
padding: 0.375rem 0;
|
|
225
282
|
}
|
|
226
|
-
|
|
283
|
+
|
|
284
|
+
.aiToggleLabel {
|
|
227
285
|
font-size: 0.8125rem;
|
|
228
286
|
font-weight: 500;
|
|
229
287
|
color: var(--theme-text);
|
|
230
288
|
}
|
|
231
|
-
|
|
289
|
+
|
|
290
|
+
.aiToggleDesc {
|
|
232
291
|
display: block;
|
|
233
292
|
font-size: 0.6875rem;
|
|
234
293
|
color: var(--theme-elevation-500);
|
|
235
294
|
}
|
|
236
|
-
|
|
295
|
+
|
|
296
|
+
// ── Signature ─────────────────────────────────
|
|
297
|
+
|
|
298
|
+
.signatureTextarea {
|
|
237
299
|
width: 100%;
|
|
238
300
|
padding: 0.75rem;
|
|
239
301
|
border: 1px solid var(--theme-elevation-200);
|
|
@@ -244,31 +306,41 @@
|
|
|
244
306
|
color: var(--theme-text);
|
|
245
307
|
resize: vertical;
|
|
246
308
|
outline: none;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
|
|
309
|
+
|
|
310
|
+
&:focus {
|
|
311
|
+
border-color: var(--theme-success-500);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// ── Purge ─────────────────────────────────────
|
|
316
|
+
|
|
317
|
+
.purgeGroup {
|
|
252
318
|
display: flex;
|
|
253
319
|
flex-direction: column;
|
|
254
320
|
gap: 0.75rem;
|
|
255
321
|
}
|
|
256
|
-
|
|
322
|
+
|
|
323
|
+
.purgeCategory {
|
|
257
324
|
display: flex;
|
|
258
325
|
align-items: center;
|
|
259
326
|
gap: 1rem;
|
|
260
327
|
}
|
|
261
|
-
|
|
328
|
+
|
|
329
|
+
.purgeCategoryLabel {
|
|
262
330
|
font-size: 0.8125rem;
|
|
263
331
|
font-weight: 600;
|
|
264
332
|
color: var(--theme-text);
|
|
265
333
|
min-width: 100px;
|
|
266
334
|
}
|
|
267
|
-
|
|
335
|
+
|
|
336
|
+
.purgeButtons {
|
|
268
337
|
display: flex;
|
|
269
338
|
gap: 0.375rem;
|
|
270
339
|
}
|
|
271
|
-
|
|
340
|
+
|
|
341
|
+
// ── Bottom bar ────────────────────────────────
|
|
342
|
+
|
|
343
|
+
.bottomBar {
|
|
272
344
|
display: flex;
|
|
273
345
|
justify-content: flex-end;
|
|
274
346
|
gap: 0.5rem;
|