@beterdichtbij/component-library 0.73.0-beta.0 → 0.73.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 (69) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +55 -55
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +11 -11
  5. package/dist/bd-component-lib.umd.js +56 -56
  6. package/dist/locales/en.json +85 -85
  7. package/dist/locales/nl.json +186 -186
  8. package/dist/scss/_active-filters.scss +65 -65
  9. package/dist/scss/_alert.scss +16 -5
  10. package/dist/scss/_article.scss +31 -20
  11. package/dist/scss/_assign-conversation-modal.scss +13 -13
  12. package/dist/scss/_attachments.scss +107 -107
  13. package/dist/scss/_badge.scss +18 -18
  14. package/dist/scss/_button.scss +80 -80
  15. package/dist/scss/_card.scss +67 -56
  16. package/dist/scss/_chatcloud.scss +104 -98
  17. package/dist/scss/_collapsable-card.scss +103 -107
  18. package/dist/scss/_content-library-card-message-template.scss +136 -136
  19. package/dist/scss/_content-library-card.scss +158 -158
  20. package/dist/scss/_content-library-modal.scss +8 -8
  21. package/dist/scss/_content-library-overview.scss +4 -4
  22. package/dist/scss/_content-library-split-button.scss +23 -23
  23. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  24. package/dist/scss/_dropdown.scss +113 -113
  25. package/dist/scss/_extern.scss +1 -1
  26. package/dist/scss/_file-upload-preview.scss +53 -53
  27. package/dist/scss/_file-upload.scss +26 -26
  28. package/dist/scss/_filter-card.scss +64 -64
  29. package/dist/scss/_form-field.scss +12 -12
  30. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  31. package/dist/scss/_forms.scss +3 -3
  32. package/dist/scss/_header.scss +170 -170
  33. package/dist/scss/_icon-luscii-logo.scss +31 -31
  34. package/dist/scss/_icons.scss +38 -38
  35. package/dist/scss/_image-attachment-modal.scss +91 -91
  36. package/dist/scss/_input-group.scss +2 -2
  37. package/dist/scss/_loader.scss +59 -59
  38. package/dist/scss/_markdown-editor.scss +127 -114
  39. package/dist/scss/_message-template-form-modal.scss +32 -47
  40. package/dist/scss/_mixins.scss +78 -78
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +182 -182
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +56 -56
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill-container.scss +26 -26
  47. package/dist/scss/_pill.scss +63 -63
  48. package/dist/scss/_profile-image.scss +34 -34
  49. package/dist/scss/_table-sort-header.scss +13 -13
  50. package/dist/scss/_table.scss +16 -16
  51. package/dist/scss/_templates.scss +264 -318
  52. package/dist/scss/_toast.scss +69 -69
  53. package/dist/scss/_user-information.scss +34 -34
  54. package/dist/scss/_user.scss +21 -21
  55. package/dist/scss/_video-call-toast.scss +100 -100
  56. package/dist/scss/_zoomslider.scss +77 -77
  57. package/dist/scss/base/variables.scss +210 -210
  58. package/dist/scss/extern/_bootstrap.scss +14 -14
  59. package/dist/scss/extern/_prime-vue.scss +551 -551
  60. package/dist/scss/forms/_form-check.scss +16 -16
  61. package/dist/scss/forms/_form-input.scss +9 -9
  62. package/dist/scss/forms/_form-select.scss +4 -4
  63. package/dist/scss/main.scss +52 -52
  64. package/dist/scss/templates/_change-password-template.scss +8 -8
  65. package/dist/scss/templates/_content-library-template.scss +135 -135
  66. package/dist/scss/templates/_not-found-template.scss +35 -9
  67. package/dist/scss/templates/_video-call-template.scss +292 -288
  68. package/dist/stores/SessionTimeOutStore.ts +46 -46
  69. package/package.json +133 -133
@@ -1,289 +1,293 @@
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
- }
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
+ }
289
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
  })