@chat21/chat21-ionic 3.0.107-rc.3 → 3.0.107-rc.7
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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/app/app.component.ts +99 -29
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +0 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +9 -9
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +5 -7
- package/src/app/chatlib/conversation-detail/message/options/options.component.scss +2 -2
- package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +22 -55
- package/src/app/components/canned-response/canned-response.component.scss +9 -2
- package/src/app/components/contacts-directory/contacts-directory.component.scss +4 -56
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -6
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +16 -5
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +5 -0
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +11 -19
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +15 -19
- package/src/app/components/conversation-info/info-direct/info-direct.component.scss +6 -5
- package/src/app/components/conversation-info/info-group/info-group.component.html +2 -2
- package/src/app/components/conversation-info/info-group/info-group.component.scss +11 -2
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +2 -1
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +46 -3
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.html +2 -1
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.scss +3 -2
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +5 -3
- package/src/app/components/conversations-list/header-conversations-list-unassigned/header-conversations-list-unassigned.component.scss +5 -3
- package/src/app/components/navbar/navbar.component.html +10 -14
- package/src/app/components/navbar/navbar.component.scss +33 -17
- package/src/app/components/sidebar/sidebar.component.html +49 -67
- package/src/app/components/sidebar/sidebar.component.scss +44 -29
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +47 -93
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +11 -13
- package/src/app/modals/create-canned-response/create-canned-response.page.html +2 -20
- package/src/app/modals/create-canned-response/create-canned-response.page.scss +44 -27
- package/src/app/modals/create-ticket/create-ticket.page.html +4 -4
- package/src/app/modals/create-ticket/create-ticket.page.scss +34 -1
- package/src/app/modals/json-message/json-message.page.scss +15 -1
- package/src/app/modals/loader-preview/loader-preview.page.html +1 -1
- package/src/app/modals/loader-preview/loader-preview.page.scss +19 -1
- package/src/app/modals/maps/maps.page.scss +18 -0
- package/src/app/modals/send-email/send-email.page.scss +30 -7
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +1 -1
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +18 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +9 -10
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +5 -3
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +0 -15
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +5 -5
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +10 -11
- package/src/app/pages/conversations-list/conversations-list.page.html +0 -1
- package/src/app/pages/conversations-list/conversations-list.page.scss +6 -17
- package/src/app/pages/conversations-list/conversations-list.page.ts +9 -18
- package/src/app/pages/profile-info/profile-info.page.html +4 -4
- package/src/app/pages/profile-info/profile-info.page.scss +43 -25
- package/src/app/pages/profile-info/profile-info.page.ts +2 -1
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +5 -5
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +2 -2
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +48 -1
- package/src/assets/customStyle.css +39 -0
- package/src/assets/test.html +38 -4
- package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +1 -0
- package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +2 -1
- package/src/chat21-core/providers/native/native-upload-service.ts +1 -1
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +21 -9
- package/src/global.scss +52 -137
- package/src/index.html +1 -1
- package/src/theme/variables.scss +276 -149
- package/src/variables.scss +115 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
|
|
2
2
|
#user-details {
|
|
3
|
-
background-color:
|
|
4
|
-
color:
|
|
3
|
+
background-color: var(--sidebar-background-color);
|
|
4
|
+
color: var(--sidebar-color);
|
|
5
5
|
// height: calc(100% - 60px);
|
|
6
6
|
height: 100%;
|
|
7
7
|
overflow-y: auto;
|
|
@@ -39,42 +39,26 @@
|
|
|
39
39
|
left: 0px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
fill: #647491;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
#user-details .user-details-btn-close {
|
|
47
|
-
opacity: 1;
|
|
42
|
+
.user-details-btn-close {
|
|
48
43
|
position: absolute;
|
|
49
44
|
right: 16px;
|
|
50
45
|
top: 20px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
button.user-details-btn-close {
|
|
54
46
|
-webkit-appearance: none;
|
|
47
|
+
appearance: none;
|
|
55
48
|
background: 0 0;
|
|
56
49
|
border: 0;
|
|
57
50
|
cursor: pointer;
|
|
58
|
-
outline: none;
|
|
59
51
|
padding: 0;
|
|
60
|
-
}
|
|
61
52
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
font-size: 21px;
|
|
66
|
-
font-weight: 700;
|
|
67
|
-
line-height: 1;
|
|
68
|
-
opacity: 0.2;
|
|
69
|
-
}
|
|
53
|
+
svg {
|
|
54
|
+
fill: var(--sidebar-icon-color);
|
|
55
|
+
}
|
|
70
56
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
opacity: 0.5 !important;
|
|
75
|
-
text-decoration: none;
|
|
76
|
-
}
|
|
57
|
+
&:hover {
|
|
58
|
+
opacity: 0.8 !important;
|
|
59
|
+
}
|
|
77
60
|
|
|
61
|
+
}
|
|
78
62
|
.user-details-dshbrd-lang {
|
|
79
63
|
position: absolute;
|
|
80
64
|
top: 20px;
|
|
@@ -84,14 +68,9 @@ button.user-details-btn-close {
|
|
|
84
68
|
|
|
85
69
|
.user-details-dshbrd-lang-code {
|
|
86
70
|
text-transform: uppercase;
|
|
87
|
-
color:
|
|
71
|
+
color: var(--sidebar-icon-color);
|
|
88
72
|
position: relative;
|
|
89
73
|
top: -3px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.user-details-dshbrd-lang-code {
|
|
93
|
-
text-transform: uppercase;
|
|
94
|
-
color: #647491;
|
|
95
74
|
font-family: "Roboto", sans-serif !important;
|
|
96
75
|
font-size: 14px;
|
|
97
76
|
}
|
|
@@ -101,23 +80,14 @@ button.user-details-btn-close {
|
|
|
101
80
|
// cursor: pointer;
|
|
102
81
|
position: absolute;
|
|
103
82
|
top: 82px;
|
|
83
|
+
left: 0px;
|
|
84
|
+
right: 0px;
|
|
104
85
|
border-radius: 50%;
|
|
105
86
|
padding: 4px 4px 1px 4px;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
left: 50%;
|
|
109
|
-
background: #2d323e;
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: center;
|
|
110
89
|
}
|
|
111
90
|
|
|
112
|
-
// width: 109px;
|
|
113
|
-
// height: 109px;
|
|
114
|
-
// margin: 0;
|
|
115
|
-
// border-radius: 50%;
|
|
116
|
-
// -o-object-fit: cover;
|
|
117
|
-
// object-fit: cover;
|
|
118
|
-
// position: relative;
|
|
119
|
-
// top: 2px;
|
|
120
|
-
|
|
121
91
|
.user-img-in-sidebar-user-details {
|
|
122
92
|
width: 103px;
|
|
123
93
|
height: 103px;
|
|
@@ -185,7 +155,7 @@ button.user-details-btn-close {
|
|
|
185
155
|
text-align: center;
|
|
186
156
|
margin-top: 5px;
|
|
187
157
|
text-transform: uppercase;
|
|
188
|
-
color:
|
|
158
|
+
color: var(--sidebar-user-detail-color);
|
|
189
159
|
font-weight: 500;
|
|
190
160
|
font-family: "Roboto", sans-serif !important;
|
|
191
161
|
margin-bottom: 8px !important;
|
|
@@ -193,18 +163,18 @@ button.user-details-btn-close {
|
|
|
193
163
|
|
|
194
164
|
.user-details-view-profile {
|
|
195
165
|
font-size: 14px;
|
|
196
|
-
color:
|
|
166
|
+
color: var(--sidebar-user-detail-profile-color);
|
|
197
167
|
cursor: pointer;
|
|
168
|
+
&:hover {
|
|
169
|
+
text-decoration: underline;
|
|
170
|
+
}
|
|
198
171
|
}
|
|
199
172
|
|
|
200
|
-
.user-details-view-profile:hover {
|
|
201
|
-
text-decoration: underline;
|
|
202
|
-
}
|
|
203
173
|
|
|
204
174
|
.availability-section {
|
|
205
175
|
top: 320px;
|
|
206
176
|
text-align: center;
|
|
207
|
-
background-color:
|
|
177
|
+
background-color: var(--user-detail-select-background);
|
|
208
178
|
padding: 4px 0px;
|
|
209
179
|
width: 192px;
|
|
210
180
|
border-radius: 4px;
|
|
@@ -218,28 +188,10 @@ button.user-details-btn-close {
|
|
|
218
188
|
.first-divider {
|
|
219
189
|
margin-top: 365px;
|
|
220
190
|
border: 0;
|
|
221
|
-
border-top: 1px solid
|
|
191
|
+
border-top: 1px solid var(--border-color-base);
|
|
222
192
|
margin-bottom: 20px;
|
|
223
193
|
}
|
|
224
194
|
|
|
225
|
-
.camera-on-hover {
|
|
226
|
-
cursor: pointer;
|
|
227
|
-
position: absolute;
|
|
228
|
-
top: 80px;
|
|
229
|
-
border-radius: 50%;
|
|
230
|
-
-webkit-transform: translateX(-50%);
|
|
231
|
-
transform: translateX(-50%);
|
|
232
|
-
left: 50%;
|
|
233
|
-
width: 90px;
|
|
234
|
-
height: 90px;
|
|
235
|
-
padding: 33px;
|
|
236
|
-
background: rgba(45, 50, 62, 0.7);
|
|
237
|
-
opacity: 0;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.camera-on-hover:hover {
|
|
241
|
-
opacity: 1;
|
|
242
|
-
}
|
|
243
195
|
.user-details-user-isbusy {
|
|
244
196
|
color: #feb92c;
|
|
245
197
|
background-color: #2d323e;
|
|
@@ -261,7 +213,7 @@ button.user-details-btn-close {
|
|
|
261
213
|
.user-details-plan-info {
|
|
262
214
|
font-size: 13px;
|
|
263
215
|
text-transform: capitalize;
|
|
264
|
-
color:
|
|
216
|
+
color: var(--sidebar-user-detail-color);
|
|
265
217
|
font-weight: 500;
|
|
266
218
|
line-height: 21px;
|
|
267
219
|
}
|
|
@@ -273,15 +225,13 @@ button.user-details-btn-close {
|
|
|
273
225
|
margin-right: 6px;
|
|
274
226
|
}
|
|
275
227
|
|
|
276
|
-
|
|
277
|
-
|
|
278
228
|
.user-details-help-center-icon {
|
|
279
|
-
color:
|
|
229
|
+
color: var(--sidebar-user-detail-color);
|
|
280
230
|
font-size: 20px;
|
|
281
231
|
vertical-align: middle;
|
|
282
232
|
margin-right: 3px;
|
|
283
233
|
svg{
|
|
284
|
-
fill:
|
|
234
|
+
fill: var(--sidebar-user-detail-color);
|
|
285
235
|
}
|
|
286
236
|
}
|
|
287
237
|
|
|
@@ -289,15 +239,14 @@ button.user-details-btn-close {
|
|
|
289
239
|
margin-top: 6px;
|
|
290
240
|
font-size: 13px;
|
|
291
241
|
font-weight: 500;
|
|
292
|
-
color:
|
|
242
|
+
color: var(--sidebar-user-detail-color);
|
|
293
243
|
-webkit-font-smoothing: antialiased;
|
|
294
244
|
vertical-align: middle;
|
|
295
245
|
cursor: pointer;
|
|
296
|
-
}
|
|
297
246
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
247
|
+
&:hover {
|
|
248
|
+
text-decoration: underline;
|
|
249
|
+
}
|
|
301
250
|
}
|
|
302
251
|
|
|
303
252
|
.user-details-footer-section {
|
|
@@ -315,7 +264,10 @@ button.user-details-btn-close {
|
|
|
315
264
|
z-index: 1;
|
|
316
265
|
// bottom: 50px;
|
|
317
266
|
// bottom: 55px;
|
|
318
|
-
|
|
267
|
+
:hover .user-details-logout-icon,
|
|
268
|
+
:hover .user-details-logout-text{
|
|
269
|
+
color: var(--sidebar-hover-icon-color);
|
|
270
|
+
}
|
|
319
271
|
}
|
|
320
272
|
|
|
321
273
|
.logout-btn-wpr {
|
|
@@ -326,15 +278,15 @@ button.user-details-btn-close {
|
|
|
326
278
|
padding-top: 240px;
|
|
327
279
|
}
|
|
328
280
|
.user-details-logout-icon {
|
|
329
|
-
color:
|
|
281
|
+
color: var(--sidebar-icon-color);
|
|
330
282
|
font-size: 30px;
|
|
331
283
|
// margin-top: 30px;
|
|
284
|
+
|
|
332
285
|
}
|
|
333
286
|
|
|
334
|
-
.user-details-logout-
|
|
335
|
-
color:
|
|
287
|
+
.user-details-logout-text{
|
|
288
|
+
color: var(--sidebar-icon-color);
|
|
336
289
|
}
|
|
337
|
-
|
|
338
290
|
.user-details-footer-chat-version {
|
|
339
291
|
position: absolute;
|
|
340
292
|
// bottom: 11px;
|
|
@@ -377,16 +329,18 @@ button.user-details-btn-close {
|
|
|
377
329
|
color: #eee;
|
|
378
330
|
}
|
|
379
331
|
|
|
380
|
-
::ng-deep .custom-mat-tooltip {
|
|
381
|
-
background-color: #2d323e !important;
|
|
382
|
-
font-size: 12px !important;
|
|
383
|
-
border-radius: 2px !important;
|
|
384
|
-
font-family: "Poppins" !important;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
332
|
.sidebar-user-details-altenative-user-avatar {
|
|
388
333
|
line-height: 3.2;
|
|
389
334
|
font-weight: 400;
|
|
390
335
|
font-family: "Poppins";
|
|
391
336
|
font-size: 32px;
|
|
392
337
|
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
::ng-deep .custom-mat-tooltip {
|
|
341
|
+
background-color: var(--tooltip-bckground);
|
|
342
|
+
color: var(--tooltip-color) !important;
|
|
343
|
+
font-size: 12px !important;
|
|
344
|
+
border-radius: 2px !important;
|
|
345
|
+
font-family: 'Poppins' !important;
|
|
346
|
+
}
|
|
@@ -13,6 +13,7 @@ import { EventsService } from 'src/app/services/events-service';
|
|
|
13
13
|
import { tranlatedLanguage } from '../../../chat21-core/utils/constants';
|
|
14
14
|
import { avatarPlaceholder, getColorBck } from 'src/chat21-core/utils/utils-user';
|
|
15
15
|
import { environment } from 'src/environments/environment';
|
|
16
|
+
import { Project } from 'src/chat21-core/models/projects';
|
|
16
17
|
@Component({
|
|
17
18
|
selector: 'app-sidebar-user-details',
|
|
18
19
|
templateUrl: './sidebar-user-details.component.html',
|
|
@@ -36,7 +37,8 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
36
37
|
SubscriptionPaymentProblem: string;
|
|
37
38
|
user: any
|
|
38
39
|
tiledeskToken: string;
|
|
39
|
-
project: { _id: string, name: string, type: string, isActiveSubscription: boolean, plan_name: string}
|
|
40
|
+
// project: { _id: string, name: string, type: string, isActiveSubscription: boolean, plan_name: string}
|
|
41
|
+
project: Project;
|
|
40
42
|
_prjct_profile_name: string;
|
|
41
43
|
|
|
42
44
|
isVisiblePAY: boolean;
|
|
@@ -281,24 +283,21 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
281
283
|
this.project = {
|
|
282
284
|
_id: projectObjct['id_project']['_id'],
|
|
283
285
|
name: projectObjct['id_project']['name'],
|
|
284
|
-
|
|
286
|
+
profile: projectObjct['id_project']['profile'],
|
|
285
287
|
isActiveSubscription: projectObjct['id_project']['isActiveSubscription'],
|
|
286
|
-
|
|
288
|
+
trialExpired: projectObjct['id_project']['trialExpired']
|
|
287
289
|
}
|
|
288
|
-
|
|
289
|
-
const trial_expired = projectObjct['id_project']['trialExpired']
|
|
290
|
-
const profile_name = projectObjct['id_project']['profile']['name'];
|
|
291
290
|
|
|
292
|
-
if (this.project.type === 'free') {
|
|
291
|
+
if (this.project.profile.type === 'free') {
|
|
293
292
|
|
|
294
|
-
if (
|
|
293
|
+
if (this.project.trialExpired === false) {
|
|
295
294
|
this.getProPlanTrialTranslation();
|
|
296
|
-
} else if (
|
|
295
|
+
} else if (this.project.trialExpired === true) {
|
|
297
296
|
this.getFreePlanTranslation();
|
|
298
297
|
}
|
|
299
|
-
} else if (this.project.type === 'payment' &&
|
|
298
|
+
} else if (this.project.profile.type === 'payment' && this.project.profile.name === 'pro') {
|
|
300
299
|
this.getProPlanTranslation();
|
|
301
|
-
} else if (this.project.type === 'payment' &&
|
|
300
|
+
} else if (this.project.profile.type === 'payment' && this.project.profile.name === 'enterprise') {
|
|
302
301
|
this.getEnterprisePlanTranslation();
|
|
303
302
|
}
|
|
304
303
|
}
|
|
@@ -388,8 +387,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
388
387
|
profilestatus = 'inactive'
|
|
389
388
|
}
|
|
390
389
|
|
|
391
|
-
this.wsService.updateCurrentUserAvailability(this.tiledeskToken, this.project._id, IS_AVAILABLE, profilestatus)
|
|
392
|
-
.subscribe((projectUser: any) => {
|
|
390
|
+
this.wsService.updateCurrentUserAvailability(this.tiledeskToken, this.project._id, IS_AVAILABLE, profilestatus).subscribe((projectUser: any) => {
|
|
393
391
|
|
|
394
392
|
this.logger.log('[SIDEBAR-USER-DETAILS] - PROJECT-USER UPDATED ', projectUser)
|
|
395
393
|
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
</ion-header> -->
|
|
19
19
|
<ion-content>
|
|
20
20
|
<ion-list>
|
|
21
|
-
<ion-item button (click)="addPlaceholdertoMsg('$recipient_name')"
|
|
21
|
+
<ion-item button color="none" (click)="addPlaceholdertoMsg('$recipient_name')"
|
|
22
22
|
(mouseover)="mouseOverBtnAddRecipientNamePlaceholder = true"
|
|
23
23
|
(mouseout)="mouseOverBtnAddRecipientNamePlaceholder = false">
|
|
24
24
|
<ion-label>
|
|
25
25
|
{{translationsMap?.get('First_name_of_recipient')}}
|
|
26
26
|
</ion-label>
|
|
27
27
|
</ion-item>
|
|
28
|
-
<ion-item button (click)="addPlaceholdertoMsg('$agent_name')"
|
|
28
|
+
<ion-item button color="none" (click)="addPlaceholdertoMsg('$agent_name')"
|
|
29
29
|
(mouseover)="mouseOverBtnAddAgentNamePlaceholder = true"
|
|
30
30
|
(mouseout)="mouseOverBtnAddAgentNamePlaceholder = false">
|
|
31
31
|
<ion-label>
|
|
@@ -99,24 +99,6 @@
|
|
|
99
99
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
|
-
<!-- <div class="field-wrapper-email">
|
|
103
|
-
<ion-textarea
|
|
104
|
-
id="message"
|
|
105
|
-
formControlName="message"
|
|
106
|
-
autosize="false"
|
|
107
|
-
autoGrow="true"
|
|
108
|
-
autofocus="true"
|
|
109
|
-
(ngModelChange)="cannedResponseMessageChanged($event)"
|
|
110
|
-
placeholder="{{translationsMap?.get('WriteMsgToSendToYourVisitors')}}">
|
|
111
|
-
</ion-textarea>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<div class="info-wrapper">
|
|
116
|
-
<ion-label>Powered by</ion-label>
|
|
117
|
-
<img src="https://support-pre.tiledesk.com/dashboard/assets/img/logos/tiledesk-logo_new_gray.svg">
|
|
118
|
-
</div>
|
|
119
|
-
</div> -->
|
|
120
102
|
|
|
121
103
|
<div class="field-wrapper-submit">
|
|
122
104
|
<ion-button [disabled]="cannedFormGroup.invalid" ion-button fill="clear" type="submit">{{translationsMap?.get('Add')}}</ion-button>
|
|
@@ -1,11 +1,35 @@
|
|
|
1
|
+
ion-toolbar{
|
|
2
|
+
--background: var(--modal-header-background);
|
|
3
|
+
&:not(.mobile){
|
|
4
|
+
// --background: var(--list-bkg-color);
|
|
5
|
+
border: none;
|
|
6
|
+
}
|
|
7
|
+
&.mobile{
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
9
|
+
}
|
|
10
|
+
ion-button,
|
|
11
|
+
ion-title{
|
|
12
|
+
--color: var(--modal-icon-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ion-content{
|
|
16
|
+
--background: var(--modal-content-background);
|
|
17
|
+
|
|
18
|
+
ion-list{
|
|
19
|
+
background: transparent;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
1
24
|
#create-canned-response-content {
|
|
25
|
+
|
|
2
26
|
.content-container{
|
|
3
27
|
padding-top: 40px;
|
|
4
28
|
padding-left: 64px;
|
|
5
29
|
padding-right: 64px;
|
|
6
30
|
}
|
|
7
31
|
|
|
8
|
-
|
|
32
|
+
ion-label + ion-input:focus {
|
|
9
33
|
color: rgb(5, 102, 255);
|
|
10
34
|
font-weight: bold;
|
|
11
35
|
}
|
|
@@ -38,7 +62,7 @@
|
|
|
38
62
|
justify-content: flex-end;
|
|
39
63
|
|
|
40
64
|
ion-button{
|
|
41
|
-
color:
|
|
65
|
+
color: var(--button-no-background-text-color)
|
|
42
66
|
}
|
|
43
67
|
}
|
|
44
68
|
|
|
@@ -55,9 +79,16 @@
|
|
|
55
79
|
border-radius: 4px;
|
|
56
80
|
width: 100%;
|
|
57
81
|
}
|
|
82
|
+
|
|
83
|
+
.field-wrapper input:focus-visible,
|
|
84
|
+
.field-wrapper textarea:focus-visible{
|
|
85
|
+
outline: var(--border-focus-color) auto 1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
58
89
|
|
|
59
90
|
.field-wrapper .field-placeholder{
|
|
60
|
-
font-size:
|
|
91
|
+
font-size: 15px;
|
|
61
92
|
position: absolute;
|
|
62
93
|
/* background: #fff; */
|
|
63
94
|
bottom: 17px;
|
|
@@ -75,17 +106,18 @@
|
|
|
75
106
|
}
|
|
76
107
|
|
|
77
108
|
.field-wrapper .field-placeholder span{
|
|
78
|
-
background: #ffffff;
|
|
79
|
-
padding: 0px 8px;
|
|
109
|
+
// background: #ffffff;
|
|
110
|
+
// padding: 0px 8px;
|
|
80
111
|
}
|
|
81
112
|
|
|
82
113
|
.field-wrapper input:not([disabled]):focus~.field-placeholder,
|
|
83
114
|
.field-placeholder:target,
|
|
84
115
|
.field-wrapper.hasValue input:not([disabled])~.field-placeholder{
|
|
85
|
-
-webkit-transform: scale(.75) translateY(-
|
|
86
|
-
transform: scale(.75) translateY(-
|
|
87
|
-
color:
|
|
116
|
+
-webkit-transform: scale(.75) translateY(-50px) translateX(-30px);
|
|
117
|
+
transform: scale(.75) translateY(-50px) translateX(-30px);
|
|
118
|
+
color:var(--title-focus-color);
|
|
88
119
|
font-weight: bold;
|
|
120
|
+
font-size: 18px;
|
|
89
121
|
}
|
|
90
122
|
|
|
91
123
|
.field-wrapper-email{
|
|
@@ -120,23 +152,7 @@
|
|
|
120
152
|
font-weight: 400;
|
|
121
153
|
max-width: 100%
|
|
122
154
|
}
|
|
123
|
-
|
|
124
|
-
.info-wrapper{
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: column;
|
|
127
|
-
-webkit-box-align: center;
|
|
128
|
-
align-items: center;
|
|
129
|
-
margin-top: 20px;
|
|
130
|
-
// padding-bottom: 30px;
|
|
131
|
-
position: relative;
|
|
132
|
-
text-align: center;
|
|
133
|
-
color: rgb(98, 112, 139);
|
|
134
|
-
font-size: 13px;
|
|
135
|
-
|
|
136
|
-
img{
|
|
137
|
-
max-width: 35%;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
155
|
+
|
|
140
156
|
|
|
141
157
|
.field-wrapper-submit{
|
|
142
158
|
margin-top: 20px;
|
|
@@ -144,8 +160,8 @@
|
|
|
144
160
|
justify-content: center;
|
|
145
161
|
|
|
146
162
|
ion-button{
|
|
147
|
-
background-color:
|
|
148
|
-
color
|
|
163
|
+
background-color:var(--button-background-color);
|
|
164
|
+
color:var(--button-text-color);
|
|
149
165
|
border-radius: 4px;
|
|
150
166
|
font-size: 18px;
|
|
151
167
|
height: 46px;
|
|
@@ -204,6 +220,7 @@
|
|
|
204
220
|
|
|
205
221
|
.my-custom-menu {
|
|
206
222
|
--width: 300px;
|
|
223
|
+
--background: var(--modal-content-background);
|
|
207
224
|
margin-top: 57px;
|
|
208
225
|
|
|
209
226
|
ion-item{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</ion-toolbar>
|
|
10
10
|
</ion-header>
|
|
11
11
|
|
|
12
|
-
<ion-content
|
|
12
|
+
<ion-content>
|
|
13
13
|
|
|
14
14
|
<ion-grid class="ion-grid-custom-padding" [ngClass]="{'center-content': ticketCreationCompleted === true }">
|
|
15
15
|
<ion-row *ngIf="ticketCreationCompleted === false">
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
<ion-col size="12" style="text-align: center;">
|
|
142
142
|
|
|
143
143
|
<!-- <ion-icon *ngIf="showSpinnerCreateTicket === false" style="font-size: 1.9em;" slot="start" name="checkmark-outline"></ion-icon> -->
|
|
144
|
-
<ion-button
|
|
145
|
-
<ion-icon *ngIf="showSpinnerCreateTicket === false"
|
|
146
|
-
<ion-spinner *ngIf="showSpinnerCreateTicket === true"
|
|
144
|
+
<ion-button color="primary" class="submit-btn" type="submit" (click)="createTicket()" [disabled]="ticket_subject === undefined || ticket_message === undefined || ticket_subject?.length === 0 || ticket_message?.length === 0">
|
|
145
|
+
<ion-icon *ngIf="showSpinnerCreateTicket === false" slot="start" name="add-circle-outline"></ion-icon>
|
|
146
|
+
<ion-spinner *ngIf="showSpinnerCreateTicket === true" name="bubbles" duration="2" ></ion-spinner>
|
|
147
147
|
{{'CreateTicket' | translate}}
|
|
148
148
|
</ion-button>
|
|
149
149
|
</ion-col>
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
ion-toolbar{
|
|
2
|
+
--background: var(--modal-header-background);
|
|
3
|
+
&:not(.mobile){
|
|
4
|
+
// --background: var(--list-bkg-color);
|
|
5
|
+
border: none;
|
|
6
|
+
}
|
|
7
|
+
&.mobile{
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
9
|
+
}
|
|
10
|
+
ion-button,
|
|
11
|
+
ion-title{
|
|
12
|
+
--color: var(--modal-icon-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ion-content{
|
|
16
|
+
--background: var(--modal-content-background);
|
|
17
|
+
}
|
|
18
|
+
|
|
1
19
|
.requester-role-or-type {
|
|
2
20
|
font-size: 12px;
|
|
3
21
|
font-weight: 400;
|
|
@@ -23,7 +41,7 @@
|
|
|
23
41
|
|
|
24
42
|
.custom-create-ticket-label {
|
|
25
43
|
font-size: 14px;
|
|
26
|
-
color:
|
|
44
|
+
color: var(--label-color);
|
|
27
45
|
font-weight: 500;
|
|
28
46
|
}
|
|
29
47
|
|
|
@@ -50,3 +68,18 @@
|
|
|
50
68
|
align-items: center;
|
|
51
69
|
justify-content: center;
|
|
52
70
|
}
|
|
71
|
+
|
|
72
|
+
.submit-btn{
|
|
73
|
+
min-width: 153px;
|
|
74
|
+
background: var(--button-background-color);
|
|
75
|
+
color: var(--button-text-color);
|
|
76
|
+
|
|
77
|
+
ion-icon{
|
|
78
|
+
color: var(--button-text-color);
|
|
79
|
+
font-size: 1.9em;
|
|
80
|
+
}
|
|
81
|
+
ion-spinner{
|
|
82
|
+
color: var(--button-text-color);
|
|
83
|
+
margin: 0px 0.3em 0px -0.3em;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
+
ion-toolbar{
|
|
2
|
+
--background: var(--modal-header-background);
|
|
3
|
+
&:not(.mobile){
|
|
4
|
+
// --background: var(--list-bkg-color);
|
|
5
|
+
border: none;
|
|
6
|
+
}
|
|
7
|
+
&.mobile{
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
9
|
+
}
|
|
10
|
+
ion-button,
|
|
11
|
+
ion-title{
|
|
12
|
+
--color: var(--modal-icon-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
1
15
|
ion-content{
|
|
2
|
-
|
|
16
|
+
--background: var(--modal-content-background);
|
|
3
17
|
.json{
|
|
4
18
|
background: #354552;
|
|
5
19
|
color: #d6e5db;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<div class="messageTextArea" #messageTextArea>
|
|
26
26
|
|
|
27
|
-
<ion-item>
|
|
27
|
+
<ion-item color="none">
|
|
28
28
|
<ion-label color="primary" position="floating" floating> {{'AddACaption' | translate}}...</ion-label>
|
|
29
29
|
<!-- <ion-input clearInput></ion-input> -->
|
|
30
30
|
<ion-textarea #messageTextArea #imageCaptionTexarea
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
ion-toolbar{
|
|
2
|
+
--background: var(--modal-header-background);
|
|
3
|
+
&:not(.mobile){
|
|
4
|
+
// --background: var(--list-bkg-color);
|
|
5
|
+
border: none;
|
|
6
|
+
}
|
|
7
|
+
&.mobile{
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
9
|
+
}
|
|
10
|
+
ion-button,
|
|
11
|
+
ion-title{
|
|
12
|
+
--color: var(--modal-icon-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ion-content{
|
|
16
|
+
--background: var(--modal-content-background);
|
|
17
|
+
}
|
|
18
|
+
|
|
1
19
|
.center-cropped {
|
|
2
20
|
width: 50px;
|
|
3
21
|
height: 50px;
|
|
@@ -59,7 +77,7 @@ ion-fab-button{
|
|
|
59
77
|
}
|
|
60
78
|
|
|
61
79
|
.thumbnailsPreview {
|
|
62
|
-
background-color:
|
|
80
|
+
background-color: var(--preview-background);
|
|
63
81
|
padding: 20px;
|
|
64
82
|
width: 100%;
|
|
65
83
|
height: 100px;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
ion-toolbar{
|
|
2
|
+
--background: var(--modal-header-background);
|
|
3
|
+
&:not(.mobile){
|
|
4
|
+
// --background: var(--list-bkg-color);
|
|
5
|
+
border: none;
|
|
6
|
+
}
|
|
7
|
+
&.mobile{
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
9
|
+
}
|
|
10
|
+
ion-button,
|
|
11
|
+
ion-title{
|
|
12
|
+
--color: var(--modal-icon-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ion-content{
|
|
16
|
+
--background: var(--modal-content-background);
|
|
17
|
+
}
|
|
18
|
+
|
|
1
19
|
.container {
|
|
2
20
|
width: 100%;
|
|
3
21
|
height: 100%;
|