@beterdichtbij/component-library 0.72.7 → 0.73.0-beta.1

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.
Files changed (71) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +57 -57
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +279 -194
  5. package/dist/bd-component-lib.umd.js +67 -67
  6. package/dist/components/icons/IconBlur.vue.d.ts +2 -0
  7. package/dist/components/icons/IconParticipant.vue.d.ts +2 -0
  8. package/dist/locales/en.json +85 -79
  9. package/dist/locales/nl.json +186 -180
  10. package/dist/scss/_active-filters.scss +65 -65
  11. package/dist/scss/_alert.scss +5 -16
  12. package/dist/scss/_article.scss +20 -31
  13. package/dist/scss/_assign-conversation-modal.scss +13 -13
  14. package/dist/scss/_attachments.scss +107 -107
  15. package/dist/scss/_badge.scss +18 -18
  16. package/dist/scss/_button.scss +80 -80
  17. package/dist/scss/_card.scss +56 -67
  18. package/dist/scss/_chatcloud.scss +98 -104
  19. package/dist/scss/_collapsable-card.scss +107 -103
  20. package/dist/scss/_content-library-card-message-template.scss +136 -136
  21. package/dist/scss/_content-library-card.scss +158 -158
  22. package/dist/scss/_content-library-modal.scss +8 -8
  23. package/dist/scss/_content-library-overview.scss +4 -4
  24. package/dist/scss/_content-library-split-button.scss +23 -23
  25. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  26. package/dist/scss/_dropdown.scss +113 -113
  27. package/dist/scss/_extern.scss +1 -1
  28. package/dist/scss/_file-upload-preview.scss +53 -53
  29. package/dist/scss/_file-upload.scss +26 -26
  30. package/dist/scss/_filter-card.scss +64 -64
  31. package/dist/scss/_form-field.scss +12 -12
  32. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  33. package/dist/scss/_forms.scss +3 -3
  34. package/dist/scss/_header.scss +170 -170
  35. package/dist/scss/_icon-luscii-logo.scss +31 -31
  36. package/dist/scss/_icons.scss +38 -38
  37. package/dist/scss/_image-attachment-modal.scss +91 -91
  38. package/dist/scss/_input-group.scss +2 -2
  39. package/dist/scss/_loader.scss +59 -59
  40. package/dist/scss/_markdown-editor.scss +114 -127
  41. package/dist/scss/_message-template-form-modal.scss +47 -32
  42. package/dist/scss/_mixins.scss +78 -78
  43. package/dist/scss/_mobile-menu.scss +91 -91
  44. package/dist/scss/_modal.scss +182 -182
  45. package/dist/scss/_notification-button.scss +29 -29
  46. package/dist/scss/_pagination.scss +56 -56
  47. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  48. package/dist/scss/_pill-container.scss +26 -26
  49. package/dist/scss/_pill.scss +63 -63
  50. package/dist/scss/_profile-image.scss +34 -34
  51. package/dist/scss/_table-sort-header.scss +13 -13
  52. package/dist/scss/_table.scss +16 -16
  53. package/dist/scss/_templates.scss +318 -264
  54. package/dist/scss/_toast.scss +69 -69
  55. package/dist/scss/_user-information.scss +34 -34
  56. package/dist/scss/_user.scss +21 -21
  57. package/dist/scss/_video-call-toast.scss +100 -100
  58. package/dist/scss/_zoomslider.scss +77 -77
  59. package/dist/scss/base/variables.scss +210 -210
  60. package/dist/scss/extern/_bootstrap.scss +14 -14
  61. package/dist/scss/extern/_prime-vue.scss +551 -551
  62. package/dist/scss/forms/_form-check.scss +16 -16
  63. package/dist/scss/forms/_form-input.scss +9 -9
  64. package/dist/scss/forms/_form-select.scss +4 -4
  65. package/dist/scss/main.scss +52 -52
  66. package/dist/scss/templates/_change-password-template.scss +8 -8
  67. package/dist/scss/templates/_content-library-template.scss +135 -135
  68. package/dist/scss/templates/_not-found-template.scss +9 -35
  69. package/dist/scss/templates/_video-call-template.scss +292 -225
  70. package/dist/stores/SessionTimeOutStore.ts +46 -46
  71. package/package.json +133 -133
@@ -1,226 +1,293 @@
1
- .video-call-template {
2
- $small-text: .8rem;
3
-
4
- .bd-conversation-card {
5
- margin-bottom: 20px;
6
- }
7
-
8
- .incoming,
9
- .outgoing {
10
- .card {
11
- padding: 20px;
12
- row-gap: 20px;
13
- }
14
-
15
- &__video {
16
- display: block;
17
- }
18
-
19
- &__screenshare {
20
- display: none;
21
- }
22
-
23
- &__video,
24
- &__screenshare {
25
- justify-content: center;
26
- align-items: center;
27
- width: 100%;
28
- border-radius: 4px;
29
- background-color: $color-bg;
30
- overflow: hidden;
31
- font-size: 0;
32
-
33
- div {
34
- width: 100%;
35
- height: 100%;
36
- display: flex;
37
- align-items: center;
38
- justify-content: center;
39
-
40
- video {
41
- width: 100%;
42
- object-fit: contain !important;
43
- }
44
- }
45
- }
46
-
47
- &__available-cameras-count {
48
- font-size: $small-text;
49
- margin: 0;
50
- }
51
- }
52
-
53
- .incoming {
54
- &--loading,
55
- &--declined,
56
- &--hangup {
57
- .card {
58
- justify-content: center;
59
- align-items: center;
60
- }
61
- }
62
-
63
- .card {
64
- height: 680px;
65
-
66
- @include media-breakpoint-down(sm) {
67
- height: unset;
68
- }
69
-
70
- button {
71
- width: fit-content;
72
- }
73
-
74
- .permissions-denied__audio,
75
- .permissions-denied__video {
76
- display: flex;
77
- gap: 16px;
78
- align-items: baseline;
79
- justify-content: center;
80
- }
81
- }
82
-
83
- &__video,
84
- &__screenshare {
85
- height: 580px;
86
-
87
- @include media-breakpoint-down(sm) {
88
- height: 200px;
89
- }
90
- }
91
-
92
- &__settings {
93
- display: flex;
94
- justify-content: center;
95
- align-items: center;
96
- gap: 8px;
97
- }
98
- }
99
-
100
- .side {
101
- display: flex;
102
- flex-direction: column;
103
- height: 100%;
104
- gap: 20px;
105
- }
106
-
107
- .outgoing {
108
- margin-bottom: 20px;
109
-
110
- &__video {
111
- height: 200px;
112
- }
113
-
114
- .permissions-denied__video {
115
- display: flex;
116
- align-items: center;
117
- flex-direction: column;
118
- }
119
- }
120
-
121
- .settings {
122
- border: 1px solid $gray;
123
- padding: 20px;
124
- border-radius: 8px;
125
- margin-top: 20px;
126
-
127
- p {
128
- color: hsla(221, 13%, 48%, 1);
129
-
130
- &:last-of-type {
131
- margin-bottom: 0;
132
- }
133
- }
134
-
135
- &__status {
136
- border-bottom: 2px solid $gray;
137
- padding-bottom: 20px;
138
-
139
- &-text {
140
- margin-bottom: 8px;
141
- }
142
-
143
- &-detail {
144
- margin-bottom: 16px;
145
- font-size: $small-text;
146
- line-height: 21px;
147
- }
148
- }
149
-
150
- &__signal {
151
- display: flex;
152
- align-items: center;
153
- padding: 20px 0;
154
- gap: 12px;
155
- border-bottom: 1px solid $gray;
156
-
157
- &.weak {
158
- .indicator li:nth-child(1) {
159
- background-color: $danger;
160
- }
161
- }
162
-
163
- &.steady {
164
- .indicator li:nth-child(1),
165
- .indicator li:nth-child(2) {
166
- background-color: $warning;
167
- }
168
- }
169
-
170
- &.strong {
171
- .indicator li {
172
- background-color: $success;
173
- }
174
- }
175
-
176
- .indicator {
177
- list-style: none;
178
- display: flex;
179
- align-items: flex-end;
180
- margin: 0;
181
- padding: 0;
182
- gap: 2px;
183
-
184
- li {
185
- width: 6px;
186
- border-radius: 1.6px;
187
- background-color: $gray;
188
-
189
- &:nth-child(1) {
190
- height: 7px;
191
- }
192
-
193
- &:nth-child(2) {
194
- height: 13px;
195
- }
196
-
197
- &:nth-child(3) {
198
- height: 20px;
199
- }
200
- }
201
- }
202
-
203
- p {
204
- margin-bottom: 0;
205
- line-height: 20px;
206
- }
207
- }
208
-
209
- &__help {
210
- padding-top: 20px;
211
-
212
- p {
213
- font-size: $small-text;
214
- line-height: 21px;
215
-
216
- &:last-of-type {
217
- margin-bottom: 0;
218
- }
219
-
220
- b {
221
- font-weight: 600;
222
- }
223
- }
224
- }
225
- }
1
+ .video-call-template {
2
+ $small-text: .8rem;
3
+
4
+ .bd-conversation-card {
5
+ margin-bottom: 20px;
6
+ }
7
+
8
+ .bd-btn {
9
+ display: flex;
10
+ gap: 8px;
11
+ justify-content: center;
12
+ align-items: center;
13
+ }
14
+
15
+ .incoming,
16
+ .outgoing {
17
+ .card {
18
+ padding: 20px;
19
+ row-gap: 20px;
20
+ }
21
+
22
+ &__video {
23
+ display: block;
24
+ }
25
+
26
+ &__screenshare {
27
+ display: none;
28
+ }
29
+
30
+ &__video,
31
+ &__screenshare {
32
+ justify-content: center;
33
+ align-items: center;
34
+ width: 100%;
35
+ border-radius: 4px;
36
+ background-color: $color-bg;
37
+ overflow: hidden;
38
+ font-size: 0;
39
+
40
+ div {
41
+ width: 100%;
42
+ height: 100%;
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+
47
+ video {
48
+ width: 100%;
49
+ object-fit: contain !important;
50
+ }
51
+ }
52
+ }
53
+
54
+ &__available-cameras-count {
55
+ font-size: $small-text;
56
+ margin: 0;
57
+ }
58
+ }
59
+
60
+ .incoming {
61
+ &--loading,
62
+ &--declined,
63
+ &--hangup {
64
+ .card {
65
+ justify-content: center;
66
+ align-items: center;
67
+ }
68
+ }
69
+
70
+ .card {
71
+ height: 680px;
72
+
73
+ @include media-breakpoint-down(sm) {
74
+ height: unset;
75
+ }
76
+
77
+ button {
78
+ width: fit-content;
79
+ }
80
+
81
+ .permissions-denied__audio,
82
+ .permissions-denied__video {
83
+ display: flex;
84
+ gap: 16px;
85
+ align-items: baseline;
86
+ justify-content: center;
87
+ }
88
+ }
89
+
90
+ &__video,
91
+ &__screenshare {
92
+ height: 580px;
93
+
94
+ @include media-breakpoint-down(sm) {
95
+ height: 200px;
96
+ }
97
+ }
98
+
99
+ &__settings {
100
+ display: flex;
101
+ justify-content: center;
102
+ align-items: center;
103
+ gap: 8px;
104
+ }
105
+ }
106
+
107
+ .side {
108
+ display: flex;
109
+ flex-direction: column;
110
+ height: 100%;
111
+ gap: 20px;
112
+ }
113
+
114
+ .outgoing {
115
+ margin-bottom: 20px;
116
+
117
+ &__video {
118
+ height: 200px;
119
+ }
120
+
121
+ &__controls {
122
+ display: flex;
123
+ gap: 10px;
124
+ justify-content: center;
125
+
126
+ .icon {
127
+ margin: 0;
128
+ }
129
+
130
+ .bd-btn {
131
+ border-radius: 50%;
132
+ width: 56px;
133
+ height: 56px;
134
+
135
+ &.blur-button {
136
+ &.off {
137
+ border: 2px solid $gray-500;
138
+ background: $gray-200;
139
+
140
+ .icon-participant {
141
+ path {
142
+ fill: $gray-700;
143
+ }
144
+ }
145
+
146
+ .icon-blur {
147
+ circle {
148
+ fill: $gray-700;
149
+ }
150
+ }
151
+ }
152
+
153
+ .icon {
154
+ position: absolute;
155
+ width: auto;
156
+ height: auto;
157
+ }
158
+ }
159
+ }
160
+ }
161
+
162
+ .share-button {
163
+ background: none;
164
+ color: $primary;
165
+ border: 2px solid $primary;
166
+
167
+ path {
168
+ fill: $primary;
169
+ }
170
+
171
+ &.btn-danger {
172
+ color: $danger;
173
+ border: 2px solid $danger;
174
+
175
+ path {
176
+ fill: $danger;
177
+ }
178
+ }
179
+ }
180
+
181
+ .permissions-denied__video {
182
+ display: flex;
183
+ align-items: center;
184
+ flex-direction: column;
185
+ }
186
+ }
187
+
188
+ .settings {
189
+ border: 1px solid $gray;
190
+ padding: 20px;
191
+ border-radius: 8px;
192
+ margin-top: 20px;
193
+
194
+ p {
195
+ color: hsla(221, 13%, 48%, 1);
196
+
197
+ &:last-of-type {
198
+ margin-bottom: 0;
199
+ }
200
+ }
201
+
202
+ &__status {
203
+ border-bottom: 2px solid $gray;
204
+ padding-bottom: 20px;
205
+
206
+ &-text {
207
+ margin-bottom: 8px;
208
+ }
209
+
210
+ &-detail {
211
+ margin-bottom: 16px;
212
+ font-size: $small-text;
213
+ line-height: 21px;
214
+ }
215
+ }
216
+
217
+ &__signal {
218
+ display: flex;
219
+ align-items: center;
220
+ padding: 20px 0;
221
+ gap: 12px;
222
+ border-bottom: 1px solid $gray;
223
+
224
+ &.weak {
225
+ .indicator li:nth-child(1) {
226
+ background-color: $danger;
227
+ }
228
+ }
229
+
230
+ &.steady {
231
+ .indicator li:nth-child(1),
232
+ .indicator li:nth-child(2) {
233
+ background-color: $warning;
234
+ }
235
+ }
236
+
237
+ &.strong {
238
+ .indicator li {
239
+ background-color: $success;
240
+ }
241
+ }
242
+
243
+ .indicator {
244
+ list-style: none;
245
+ display: flex;
246
+ align-items: flex-end;
247
+ margin: 0;
248
+ padding: 0;
249
+ gap: 2px;
250
+
251
+ li {
252
+ width: 6px;
253
+ border-radius: 1.6px;
254
+ background-color: $gray;
255
+
256
+ &:nth-child(1) {
257
+ height: 7px;
258
+ }
259
+
260
+ &:nth-child(2) {
261
+ height: 13px;
262
+ }
263
+
264
+ &:nth-child(3) {
265
+ height: 20px;
266
+ }
267
+ }
268
+ }
269
+
270
+ p {
271
+ margin-bottom: 0;
272
+ line-height: 20px;
273
+ }
274
+ }
275
+
276
+ &__help {
277
+ padding-top: 20px;
278
+
279
+ p {
280
+ font-size: $small-text;
281
+ line-height: 21px;
282
+
283
+ &:last-of-type {
284
+ margin-bottom: 0;
285
+ }
286
+
287
+ b {
288
+ font-weight: 600;
289
+ }
290
+ }
291
+ }
292
+ }
226
293
  }
@@ -1,47 +1,47 @@
1
- import { defineStore } from 'pinia';
2
- import dayjs from 'dayjs';
3
- import { ref } from 'vue';
4
-
5
- export const useSessionTimeOutStore = defineStore('SessionTimeOutStore', () => {
6
- const threshold = ref(null)
7
- const warningThreshold = ref(null);
8
- const time: any = ref(dayjs());
9
- const taskId = ref(null);
10
-
11
- const SetDefaultSessionTimeOutValues = (ServerDefaultValues : any) => {
12
- threshold.value = ServerDefaultValues.TimeOutSessionInMinutes;
13
- warningThreshold.value = ServerDefaultValues.TimeOutSessionShowWarning;
14
- SetNewTime();
15
- }
16
-
17
- const SetNewTime = () => {
18
- time.value = dayjs();
19
- }
20
-
21
- const SetTaskId = (id : any) => {
22
- taskId.value = id;
23
- }
24
-
25
- const ClearSessionTimeOut = () => {
26
- if (taskId.value) {
27
- clearInterval(taskId.value);
28
- }
29
- threshold.value = null
30
- warningThreshold.value = null;
31
- time.value = null;
32
- taskId.value = null;
33
- }
34
-
35
- const GetTime = () => time.value;
36
-
37
- return {
38
- SetDefaultSessionTimeOutValues,
39
- SetTaskId,
40
- ClearSessionTimeOut,
41
- threshold,
42
- warningThreshold,
43
- taskId,
44
- GetTime,
45
- SetNewTime
46
- }
1
+ import { defineStore } from 'pinia';
2
+ import dayjs from 'dayjs';
3
+ import { ref } from 'vue';
4
+
5
+ export const useSessionTimeOutStore = defineStore('SessionTimeOutStore', () => {
6
+ const threshold = ref(null)
7
+ const warningThreshold = ref(null);
8
+ const time: any = ref(dayjs());
9
+ const taskId = ref(null);
10
+
11
+ const SetDefaultSessionTimeOutValues = (ServerDefaultValues : any) => {
12
+ threshold.value = ServerDefaultValues.TimeOutSessionInMinutes;
13
+ warningThreshold.value = ServerDefaultValues.TimeOutSessionShowWarning;
14
+ SetNewTime();
15
+ }
16
+
17
+ const SetNewTime = () => {
18
+ time.value = dayjs();
19
+ }
20
+
21
+ const SetTaskId = (id : any) => {
22
+ taskId.value = id;
23
+ }
24
+
25
+ const ClearSessionTimeOut = () => {
26
+ if (taskId.value) {
27
+ clearInterval(taskId.value);
28
+ }
29
+ threshold.value = null
30
+ warningThreshold.value = null;
31
+ time.value = null;
32
+ taskId.value = null;
33
+ }
34
+
35
+ const GetTime = () => time.value;
36
+
37
+ return {
38
+ SetDefaultSessionTimeOutValues,
39
+ SetTaskId,
40
+ ClearSessionTimeOut,
41
+ threshold,
42
+ warningThreshold,
43
+ taskId,
44
+ GetTime,
45
+ SetNewTime
46
+ }
47
47
  })