@consilioweb/payload-support 0.6.0 → 0.6.2
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/{styles/theme.css → components/TicketConversation.css} +13 -326
- package/dist/components/TicketConversation.js +3004 -0
- package/dist/index.cjs +11 -11
- package/dist/index.js +11 -11
- package/dist/views/BillingView/client.cjs +209 -0
- package/dist/views/BillingView/index.cjs +34 -0
- package/dist/views/ChatView/client.cjs +253 -0
- package/dist/views/ChatView/index.cjs +34 -0
- package/dist/views/CrmView/client.cjs +233 -0
- package/dist/views/CrmView/index.cjs +34 -0
- package/dist/views/EmailTrackingView/client.cjs +159 -0
- package/dist/views/EmailTrackingView/index.cjs +34 -0
- package/dist/views/ImportConversationView/client.cjs +205 -0
- package/dist/views/ImportConversationView/index.cjs +34 -0
- package/dist/views/LogsView/client.cjs +149 -0
- package/dist/views/LogsView/index.cjs +32 -0
- package/dist/views/NewTicketView/client.cjs +229 -0
- package/dist/views/NewTicketView/index.cjs +32 -0
- package/dist/views/PendingEmailsView/client.cjs +173 -0
- package/dist/views/PendingEmailsView/index.cjs +34 -0
- package/dist/views/SupportDashboardView/client.cjs +301 -0
- package/dist/views/SupportDashboardView/index.cjs +34 -0
- package/dist/views/TicketDetailView/client.cjs +850 -0
- package/dist/views/TicketDetailView/index.cjs +34 -0
- package/dist/views/TicketInboxView/client.cjs +299 -0
- package/dist/views/TicketInboxView/index.cjs +32 -0
- package/dist/views/TicketingSettingsView/client.cjs +733 -0
- package/dist/views/TicketingSettingsView/index.cjs +34 -0
- package/dist/views/TimeDashboardView/client.cjs +169 -0
- package/dist/views/TimeDashboardView/index.cjs +34 -0
- package/dist/views/shared/AdminViewHeader.cjs +68 -0
- package/dist/views/shared/ErrorBoundary.cjs +55 -0
- package/dist/views/shared/Skeleton.cjs +77 -0
- package/dist/views/shared/adminTokens.cjs +34 -0
- package/dist/views/shared/adminTokens.js +0 -1
- package/dist/{components/TicketConversation/config.js → views/shared/config.cjs} +5 -2
- package/dist/views/shared/config.js +0 -1
- package/dist/views/shared/index.cjs +58 -0
- package/dist/views/shared/index.js +0 -1
- package/dist/views.cjs +86 -0
- package/dist/views.d.cts +13 -0
- package/dist/views.d.ts +13 -0
- package/dist/views.js +13 -0
- package/package.json +14 -7
- package/src/plugin.ts +11 -11
- package/src/views.ts +17 -0
- package/dist/components/TicketConversation/components/AISummaryPanel.js +0 -76
- package/dist/components/TicketConversation/components/ActionPanels.js +0 -118
- package/dist/components/TicketConversation/components/ActivityLog.js +0 -23
- package/dist/components/TicketConversation/components/ClientBar.js +0 -42
- package/dist/components/TicketConversation/components/ClientHistory.js +0 -137
- package/dist/components/TicketConversation/components/CodeBlock.js +0 -152
- package/dist/components/TicketConversation/components/CodeBlockInserter.js +0 -155
- package/dist/components/TicketConversation/components/QuickActions.js +0 -65
- package/dist/components/TicketConversation/components/TicketHeader.js +0 -92
- package/dist/components/TicketConversation/components/TimeTrackingPanel.js +0 -133
- package/dist/components/TicketConversation/constants.js +0 -96
- package/dist/components/TicketConversation/context.js +0 -11
- package/dist/components/TicketConversation/hooks/useAI.js +0 -176
- package/dist/components/TicketConversation/hooks/useMessageActions.js +0 -135
- package/dist/components/TicketConversation/hooks/useReply.js +0 -187
- package/dist/components/TicketConversation/hooks/useTicketActions.js +0 -230
- package/dist/components/TicketConversation/hooks/useTimeTracking.js +0 -122
- package/dist/components/TicketConversation/hooks/useTranslation.js +0 -70
- package/dist/components/TicketConversation/index.js +0 -1123
- package/dist/components/TicketConversation/locales/en.json +0 -878
- package/dist/components/TicketConversation/locales/fr.json +0 -878
- package/dist/components/TicketConversation/types.js +0 -2
- package/dist/components/TicketConversation/utils.js +0 -25
- package/dist/styles/BillingView.module.scss +0 -311
- package/dist/styles/ChatView.module.scss +0 -438
- package/dist/styles/CommandPalette.module.scss +0 -160
- package/dist/styles/CrmView.module.scss +0 -554
- package/dist/styles/EmailTracking.module.scss +0 -238
- package/dist/styles/ImportConversation.module.scss +0 -267
- package/dist/styles/Layout.module.scss +0 -55
- package/dist/styles/Logs.module.scss +0 -164
- package/dist/styles/NewTicket.module.scss +0 -143
- package/dist/styles/PendingEmails.module.scss +0 -629
- package/dist/styles/SupportDashboard.module.scss +0 -649
- package/dist/styles/TicketDetail.module.scss +0 -1050
- package/dist/styles/TicketInbox.module.scss +0 -296
- package/dist/styles/TicketingSettings.module.scss +0 -358
- package/dist/styles/TimeDashboard.module.scss +0 -287
- package/dist/styles/_tokens.scss +0 -78
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
.page {
|
|
2
|
-
max-width: 760px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
padding: 0 24px 60px;
|
|
5
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.header {
|
|
9
|
-
padding: 20px 0 8px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.backLink {
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: 4px;
|
|
16
|
-
color: var(--theme-elevation-500);
|
|
17
|
-
text-decoration: none;
|
|
18
|
-
font-size: 13px;
|
|
19
|
-
font-weight: 500;
|
|
20
|
-
margin-bottom: 12px;
|
|
21
|
-
&:hover { color: var(--theme-text); }
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.title {
|
|
25
|
-
font-size: 22px;
|
|
26
|
-
font-weight: 800;
|
|
27
|
-
color: var(--theme-text);
|
|
28
|
-
margin: 0 0 4px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.subtitle {
|
|
32
|
-
font-size: 13px;
|
|
33
|
-
color: var(--theme-elevation-500);
|
|
34
|
-
margin: 0 0 24px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.form {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
gap: 20px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.fieldGroup {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
gap: 6px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.label {
|
|
50
|
-
font-size: 13px;
|
|
51
|
-
font-weight: 600;
|
|
52
|
-
color: var(--theme-text);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.required { color: #ef4444; }
|
|
56
|
-
|
|
57
|
-
.input, .select, .textarea {
|
|
58
|
-
padding: 10px 14px;
|
|
59
|
-
border-radius: 10px;
|
|
60
|
-
border: 1px solid var(--theme-elevation-200);
|
|
61
|
-
background: var(--theme-elevation-0, #fff);
|
|
62
|
-
color: var(--theme-text);
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
font-family: inherit;
|
|
65
|
-
transition: border-color 150ms, box-shadow 150ms;
|
|
66
|
-
|
|
67
|
-
&:focus {
|
|
68
|
-
outline: none;
|
|
69
|
-
border-color: #2563eb;
|
|
70
|
-
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&::placeholder { color: var(--theme-elevation-400); }
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
|
|
77
|
-
|
|
78
|
-
.row {
|
|
79
|
-
display: grid;
|
|
80
|
-
grid-template-columns: 1fr 1fr;
|
|
81
|
-
gap: 16px;
|
|
82
|
-
@media (max-width: 500px) { grid-template-columns: 1fr; }
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.row3 {
|
|
86
|
-
display: grid;
|
|
87
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
88
|
-
gap: 16px;
|
|
89
|
-
@media (max-width: 600px) { grid-template-columns: 1fr; }
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.searchWrap {
|
|
93
|
-
position: relative;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.searchResults {
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 100%;
|
|
99
|
-
left: 0;
|
|
100
|
-
right: 0;
|
|
101
|
-
z-index: 20;
|
|
102
|
-
margin-top: 4px;
|
|
103
|
-
max-height: 200px;
|
|
104
|
-
overflow-y: auto;
|
|
105
|
-
border-radius: 10px;
|
|
106
|
-
border: 1px solid var(--theme-elevation-200);
|
|
107
|
-
background: var(--theme-elevation-0, #fff);
|
|
108
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.searchItem {
|
|
112
|
-
padding: 10px 14px;
|
|
113
|
-
cursor: pointer;
|
|
114
|
-
font-size: 13px;
|
|
115
|
-
color: var(--theme-text);
|
|
116
|
-
border-bottom: 1px solid var(--theme-elevation-100);
|
|
117
|
-
&:hover { background: var(--theme-elevation-50); }
|
|
118
|
-
&:last-child { border-bottom: none; }
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.submitBtn {
|
|
122
|
-
padding: 12px 24px;
|
|
123
|
-
border-radius: 10px;
|
|
124
|
-
border: none;
|
|
125
|
-
background: #2563eb;
|
|
126
|
-
color: #fff;
|
|
127
|
-
font-size: 14px;
|
|
128
|
-
font-weight: 700;
|
|
129
|
-
cursor: pointer;
|
|
130
|
-
transition: background 100ms;
|
|
131
|
-
&:hover { background: #1d4ed8; }
|
|
132
|
-
&:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.error {
|
|
136
|
-
padding: 12px 16px;
|
|
137
|
-
border-radius: 10px;
|
|
138
|
-
background: #fef2f2;
|
|
139
|
-
border: 1px solid #fecaca;
|
|
140
|
-
color: #991b1b;
|
|
141
|
-
font-size: 13px;
|
|
142
|
-
font-weight: 500;
|
|
143
|
-
}
|