@adzen/doohbot 1.0.4 → 1.0.6
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/fesm2022/adzen-doohbot.mjs +3326 -3618
- package/fesm2022/adzen-doohbot.mjs.map +1 -1
- package/index.d.ts +246 -416
- package/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/lib/app/chat/components/chat-header/chat-header.component.scss +1 -1
- package/src/lib/app/chat/components/{message-list/message-list.component.scss → chat-message-container/chat-message-container.component.scss} +12 -13
- package/src/lib/app/chat/components/chat-window/chat-window.component.scss +116 -113
- package/src/lib/app/login/login-form.component.scss +171 -164
- package/src/lib/shared/chips/chips.component.scss +1 -0
- /package/src/lib/app/chat/components/{message-input/message-input.component.scss → chat-input/chat-input.component.scss} +0 -0
|
@@ -1,213 +1,220 @@
|
|
|
1
|
-
.login-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
gap: 20px;
|
|
6
|
-
height: 100%;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
margin: 0 auto; // Center horizontally
|
|
10
|
-
box-sizing: border-box; // Include padding/border in width/height
|
|
11
|
-
max-width: 400px; // Set a maximum width
|
|
12
|
-
width: 100%; // Full width up to max-width
|
|
13
|
-
animation: fadeIn 0.3s ease-in-out;
|
|
14
|
-
|
|
15
|
-
.login-title {
|
|
16
|
-
text-align: center;
|
|
17
|
-
margin: 0 0 10px 0;
|
|
18
|
-
font-size: 1.5em;
|
|
19
|
-
color: var(--text-color);
|
|
20
|
-
font-family: var(--font-family);
|
|
21
|
-
font-weight: 600;
|
|
1
|
+
.login-wrapper {
|
|
2
|
+
.logo-image {
|
|
3
|
+
width: 4rem;
|
|
4
|
+
margin-bottom: 0.1rem;
|
|
22
5
|
}
|
|
23
6
|
|
|
24
|
-
.login-
|
|
7
|
+
.login-form-container {
|
|
8
|
+
padding: 30px;
|
|
25
9
|
display: flex;
|
|
26
10
|
flex-direction: column;
|
|
27
|
-
gap:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
11
|
+
gap: 20px;
|
|
12
|
+
height: 100%;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
margin: 0 auto; // Center horizontally
|
|
16
|
+
box-sizing: border-box; // Include padding/border in width/height
|
|
17
|
+
max-width: 400px; // Set a maximum width
|
|
18
|
+
width: 100%; // Full width up to max-width
|
|
19
|
+
animation: fadeIn 0.3s ease-in-out;
|
|
20
|
+
|
|
21
|
+
.login-title {
|
|
22
|
+
text-align: center;
|
|
23
|
+
margin: 0 0 10px 0;
|
|
24
|
+
font-size: 1.5em;
|
|
36
25
|
color: var(--text-color);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
&:focus {
|
|
41
|
-
outline: none;
|
|
42
|
-
background-color: var(--background-color);
|
|
43
|
-
border-color: var(--primary-color);
|
|
44
|
-
}
|
|
26
|
+
font-family: var(--font-family);
|
|
27
|
+
font-weight: 600;
|
|
45
28
|
}
|
|
46
29
|
|
|
47
|
-
.
|
|
48
|
-
position: relative;
|
|
30
|
+
.login-fields {
|
|
49
31
|
display: flex;
|
|
50
|
-
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 15px;
|
|
34
|
+
width: 100%;
|
|
51
35
|
|
|
52
36
|
.login-input {
|
|
53
|
-
|
|
54
|
-
|
|
37
|
+
padding: 10px 12px;
|
|
38
|
+
border-radius: 12px !important;
|
|
39
|
+
border: 1px solid var(--border-color);
|
|
40
|
+
font-size: 0.9em;
|
|
41
|
+
background: var(--background-color);
|
|
42
|
+
color: var(--text-color);
|
|
43
|
+
width: 100%; // Full width
|
|
55
44
|
box-sizing: border-box; // Ensure padding doesn’t increase total width
|
|
45
|
+
|
|
46
|
+
&:focus {
|
|
47
|
+
outline: none;
|
|
48
|
+
background-color: var(--background-color);
|
|
49
|
+
border-color: var(--primary-color);
|
|
50
|
+
}
|
|
56
51
|
}
|
|
57
52
|
|
|
58
|
-
.password-
|
|
59
|
-
position:
|
|
60
|
-
right: 8px;
|
|
61
|
-
background: transparent;
|
|
62
|
-
border: none;
|
|
63
|
-
cursor: pointer;
|
|
53
|
+
.password-wrapper {
|
|
54
|
+
position: relative;
|
|
64
55
|
display: flex;
|
|
65
56
|
align-items: center;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
padding: 4px;
|
|
68
|
-
color: var(--text-color);
|
|
69
|
-
opacity: 0.6;
|
|
70
|
-
transition: opacity 0.2s;
|
|
71
|
-
|
|
72
|
-
&:hover {
|
|
73
|
-
opacity: 1;
|
|
74
|
-
}
|
|
75
57
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
58
|
+
.login-input {
|
|
59
|
+
width: 100%;
|
|
60
|
+
padding-right: 40px; // Space for toggle icon
|
|
61
|
+
box-sizing: border-box; // Ensure padding doesn’t increase total width
|
|
80
62
|
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
63
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
64
|
+
.password-toggle-btn {
|
|
65
|
+
position: absolute;
|
|
66
|
+
right: 8px;
|
|
67
|
+
background: transparent;
|
|
68
|
+
border: none;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
padding: 4px;
|
|
74
|
+
color: var(--text-color);
|
|
75
|
+
opacity: 0.6;
|
|
76
|
+
transition: opacity 0.2s;
|
|
77
|
+
|
|
78
|
+
&:hover {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
89
81
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
mat-icon {
|
|
83
|
+
font-size: 20px;
|
|
84
|
+
width: 20px;
|
|
85
|
+
height: 20px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
96
88
|
}
|
|
97
89
|
|
|
98
|
-
.remember-me-
|
|
99
|
-
appearance: none;
|
|
100
|
-
-webkit-appearance: none;
|
|
101
|
-
width: 14px;
|
|
102
|
-
height: 14px;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
margin: 0;
|
|
105
|
-
background-color: var(--background-color);
|
|
106
|
-
border: 1px solid var(--secondary-text-color);
|
|
107
|
-
border-radius: 4px;
|
|
90
|
+
.remember-me-container {
|
|
108
91
|
display: flex;
|
|
109
92
|
align-items: center;
|
|
110
|
-
|
|
111
|
-
|
|
93
|
+
margin-top: -5px;
|
|
94
|
+
user-select: none;
|
|
95
|
+
|
|
96
|
+
.remember-me-label {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 8px;
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
padding: 4px 0;
|
|
102
|
+
}
|
|
112
103
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
104
|
+
.remember-me-checkbox {
|
|
105
|
+
appearance: none;
|
|
106
|
+
-webkit-appearance: none;
|
|
107
|
+
width: 14px;
|
|
108
|
+
height: 14px;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
margin: 0;
|
|
111
|
+
background-color: var(--background-color);
|
|
112
|
+
border: 1px solid var(--secondary-text-color);
|
|
113
|
+
border-radius: 4px;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
transition: all 0.2s;
|
|
118
|
+
|
|
119
|
+
&:checked {
|
|
120
|
+
background-color: var(--primary-color);
|
|
121
|
+
border-color: var(--primary-color);
|
|
122
|
+
|
|
123
|
+
&::after {
|
|
124
|
+
content: '✓';
|
|
125
|
+
font-size: 12px;
|
|
126
|
+
color: var(--white);
|
|
127
|
+
font-weight: bold;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
116
130
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
font-size: 12px;
|
|
120
|
-
color: var(--white);
|
|
121
|
-
font-weight: bold;
|
|
131
|
+
&:hover {
|
|
132
|
+
border-color: var(--primary-color);
|
|
122
133
|
}
|
|
123
134
|
}
|
|
124
135
|
|
|
125
|
-
|
|
126
|
-
|
|
136
|
+
.remember-me-text {
|
|
137
|
+
font-size: 0.8em;
|
|
138
|
+
color: var(--text-color);
|
|
139
|
+
font-family: var(--font-family);
|
|
140
|
+
font-weight: 300;
|
|
127
141
|
}
|
|
128
142
|
}
|
|
143
|
+
}
|
|
129
144
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
145
|
+
.login-actions {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
gap: 10px;
|
|
149
|
+
margin-top: 10px;
|
|
136
150
|
}
|
|
137
|
-
}
|
|
138
151
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
152
|
+
.input-group {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
gap: 6px; // space between label and input
|
|
156
|
+
text-align: left;
|
|
157
|
+
width: 100%;
|
|
158
|
+
}
|
|
145
159
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
160
|
+
.input-label {
|
|
161
|
+
font-size: 0.85em;
|
|
162
|
+
color: var(--text-color);
|
|
163
|
+
font-family: var(--font-family);
|
|
164
|
+
font-weight: 500;
|
|
165
|
+
margin-left: 2px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.error-text {
|
|
169
|
+
font-size: 0.6em;
|
|
170
|
+
color: var(--red);
|
|
171
|
+
margin-top: 2px;
|
|
172
|
+
margin-left: 2px;
|
|
173
|
+
font-family: var(--font-family);
|
|
174
|
+
}
|
|
152
175
|
}
|
|
153
176
|
|
|
154
|
-
.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
177
|
+
.auth-btn {
|
|
178
|
+
padding: 8px 18px;
|
|
179
|
+
border-radius: 20px;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
font-size: 0.9em;
|
|
158
182
|
font-weight: 500;
|
|
159
|
-
|
|
160
|
-
}
|
|
183
|
+
transition: all 0.2s ease;
|
|
161
184
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
margin-left: 2px;
|
|
167
|
-
font-family: var(--font-family);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
185
|
+
&.primary {
|
|
186
|
+
background: var(--primary-color);
|
|
187
|
+
color: var(--white);
|
|
188
|
+
border: 1px solid var(--primary-color);
|
|
170
189
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
cursor: pointer;
|
|
175
|
-
font-size: 0.9em;
|
|
176
|
-
font-weight: 500;
|
|
177
|
-
transition: all 0.2s ease;
|
|
178
|
-
|
|
179
|
-
&.primary {
|
|
180
|
-
background: var(--primary-color);
|
|
181
|
-
color: var(--white);
|
|
182
|
-
border: 1px solid var(--primary-color);
|
|
183
|
-
|
|
184
|
-
&:hover {
|
|
185
|
-
opacity: 0.9;
|
|
186
|
-
}
|
|
190
|
+
&:hover {
|
|
191
|
+
opacity: 0.9;
|
|
192
|
+
}
|
|
187
193
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
194
|
+
&:disabled {
|
|
195
|
+
opacity: 0.5;
|
|
196
|
+
cursor: not-allowed;
|
|
197
|
+
}
|
|
191
198
|
}
|
|
192
|
-
}
|
|
193
199
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
&.secondary {
|
|
201
|
+
background: transparent;
|
|
202
|
+
color: var(--text-color);
|
|
203
|
+
border: 1px solid var(--primary-color);
|
|
198
204
|
|
|
199
|
-
|
|
200
|
-
|
|
205
|
+
&:hover {
|
|
206
|
+
opacity: 0.9;
|
|
207
|
+
}
|
|
201
208
|
}
|
|
202
209
|
}
|
|
203
|
-
}
|
|
204
210
|
|
|
205
|
-
@keyframes fadeIn {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
211
|
+
@keyframes fadeIn {
|
|
212
|
+
from {
|
|
213
|
+
opacity: 0;
|
|
214
|
+
}
|
|
209
215
|
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
to {
|
|
217
|
+
opacity: 1;
|
|
218
|
+
}
|
|
212
219
|
}
|
|
213
220
|
}
|