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

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 +288 -225
  70. package/dist/stores/SessionTimeOutStore.ts +46 -46
  71. package/package.json +133 -133
@@ -1,226 +1,289 @@
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
+ .bd-btn {
127
+ border-radius: 50%;
128
+ width: 56px;
129
+ height: 56px;
130
+
131
+ &.blur-button {
132
+ &.off {
133
+ border: 2px solid $gray-500;
134
+ background: $gray-200;
135
+
136
+ .icon-participant {
137
+ path {
138
+ fill: $gray-700;
139
+ }
140
+ }
141
+
142
+ .icon-blur {
143
+ circle {
144
+ fill: $gray-700;
145
+ }
146
+ }
147
+ }
148
+
149
+ .icon {
150
+ position: absolute;
151
+ width: auto;
152
+ height: auto;
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ .share-button {
159
+ background: none;
160
+ color: $primary;
161
+ border: 2px solid $primary;
162
+
163
+ path {
164
+ fill: $primary;
165
+ }
166
+
167
+ &.btn-danger {
168
+ color: $danger;
169
+ border: 2px solid $danger;
170
+
171
+ path {
172
+ fill: $danger;
173
+ }
174
+ }
175
+ }
176
+
177
+ .permissions-denied__video {
178
+ display: flex;
179
+ align-items: center;
180
+ flex-direction: column;
181
+ }
182
+ }
183
+
184
+ .settings {
185
+ border: 1px solid $gray;
186
+ padding: 20px;
187
+ border-radius: 8px;
188
+ margin-top: 20px;
189
+
190
+ p {
191
+ color: hsla(221, 13%, 48%, 1);
192
+
193
+ &:last-of-type {
194
+ margin-bottom: 0;
195
+ }
196
+ }
197
+
198
+ &__status {
199
+ border-bottom: 2px solid $gray;
200
+ padding-bottom: 20px;
201
+
202
+ &-text {
203
+ margin-bottom: 8px;
204
+ }
205
+
206
+ &-detail {
207
+ margin-bottom: 16px;
208
+ font-size: $small-text;
209
+ line-height: 21px;
210
+ }
211
+ }
212
+
213
+ &__signal {
214
+ display: flex;
215
+ align-items: center;
216
+ padding: 20px 0;
217
+ gap: 12px;
218
+ border-bottom: 1px solid $gray;
219
+
220
+ &.weak {
221
+ .indicator li:nth-child(1) {
222
+ background-color: $danger;
223
+ }
224
+ }
225
+
226
+ &.steady {
227
+ .indicator li:nth-child(1),
228
+ .indicator li:nth-child(2) {
229
+ background-color: $warning;
230
+ }
231
+ }
232
+
233
+ &.strong {
234
+ .indicator li {
235
+ background-color: $success;
236
+ }
237
+ }
238
+
239
+ .indicator {
240
+ list-style: none;
241
+ display: flex;
242
+ align-items: flex-end;
243
+ margin: 0;
244
+ padding: 0;
245
+ gap: 2px;
246
+
247
+ li {
248
+ width: 6px;
249
+ border-radius: 1.6px;
250
+ background-color: $gray;
251
+
252
+ &:nth-child(1) {
253
+ height: 7px;
254
+ }
255
+
256
+ &:nth-child(2) {
257
+ height: 13px;
258
+ }
259
+
260
+ &:nth-child(3) {
261
+ height: 20px;
262
+ }
263
+ }
264
+ }
265
+
266
+ p {
267
+ margin-bottom: 0;
268
+ line-height: 20px;
269
+ }
270
+ }
271
+
272
+ &__help {
273
+ padding-top: 20px;
274
+
275
+ p {
276
+ font-size: $small-text;
277
+ line-height: 21px;
278
+
279
+ &:last-of-type {
280
+ margin-bottom: 0;
281
+ }
282
+
283
+ b {
284
+ font-weight: 600;
285
+ }
286
+ }
287
+ }
288
+ }
226
289
  }
@@ -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
  })