@beterdichtbij/component-library 0.60.1 → 0.61.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 (67) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +628 -112
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +7401 -10460
  5. package/dist/bd-component-lib.umd.js +629 -113
  6. package/dist/components/modals/BDAttachmentUploadModal/BDAttachmentUploadModal.vue.d.ts +2 -2
  7. package/dist/components/molecules/BDFileUpload/BDFileUpload.vue.d.ts +23 -0
  8. package/dist/index.d.ts +3 -2
  9. package/dist/interfaces/{BDDropzoneProps.d.ts → BDFileUploadProps.d.ts} +7 -3
  10. package/dist/locales/en.json +10 -10
  11. package/dist/locales/nl.json +98 -98
  12. package/dist/scss/_alert.scss +11 -11
  13. package/dist/scss/_article.scss +23 -23
  14. package/dist/scss/_assign-conversation-modal.scss +13 -13
  15. package/dist/scss/_attachments.scss +107 -107
  16. package/dist/scss/_badge.scss +18 -18
  17. package/dist/scss/_base.scss +1 -1
  18. package/dist/scss/_button.scss +74 -74
  19. package/dist/scss/_card.scss +56 -56
  20. package/dist/scss/_chatcloud.scss +93 -93
  21. package/dist/scss/_collapsable-card.scss +107 -107
  22. package/dist/scss/_content-library-card-message-template.scss +131 -131
  23. package/dist/scss/_content-library-card.scss +135 -135
  24. package/dist/scss/_content-library-modal.scss +46 -46
  25. package/dist/scss/_content-library-overview.scss +4 -4
  26. package/dist/scss/_content-library-split-button.scss +19 -19
  27. package/dist/scss/_conversation-to-text-modal.scss +32 -32
  28. package/dist/scss/_dropdown.scss +113 -113
  29. package/dist/scss/_extern.scss +1 -1
  30. package/dist/scss/{_dropzone.scss → _file-upload.scss} +92 -77
  31. package/dist/scss/_form-field.scss +12 -12
  32. package/dist/scss/_form-multiple-checkbox.scss +47 -47
  33. package/dist/scss/_forms.scss +2 -2
  34. package/dist/scss/_header.scss +170 -170
  35. package/dist/scss/_icon-luscii-logo.scss +31 -31
  36. package/dist/scss/_icons.scss +57 -57
  37. package/dist/scss/_image-attachment-modal.scss +91 -91
  38. package/dist/scss/_input-group.scss +2 -2
  39. package/dist/scss/_markdown-editor.scss +98 -98
  40. package/dist/scss/_message-template-form-modal.scss +42 -42
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +173 -173
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +40 -40
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill.scss +89 -89
  47. package/dist/scss/_profile-image.scss +34 -34
  48. package/dist/scss/_table-sort-header.scss +13 -13
  49. package/dist/scss/_table.scss +16 -16
  50. package/dist/scss/_templates.scss +323 -323
  51. package/dist/scss/_toast.scss +69 -69
  52. package/dist/scss/_user-information.scss +34 -34
  53. package/dist/scss/_video-call-toast.scss +100 -100
  54. package/dist/scss/_zoomslider.scss +77 -77
  55. package/dist/scss/base/variables.scss +210 -210
  56. package/dist/scss/component-library-styling.scss +46 -46
  57. package/dist/scss/extern/_bootstrap.scss +14 -19
  58. package/dist/scss/extern/_prime-vue.scss +551 -550
  59. package/dist/scss/forms/_form-check.scss +15 -15
  60. package/dist/scss/forms/_form-input.scss +9 -9
  61. package/dist/scss/mixins.scss +78 -78
  62. package/dist/scss/templates/_change-password-template.scss +8 -8
  63. package/dist/scss/templates/_content-library-template.scss +139 -139
  64. package/dist/scss/templates/_not-found-template.scss +5 -5
  65. package/dist/stores/SessionTimeOutStore.ts +46 -46
  66. package/package.json +127 -129
  67. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +0 -17
@@ -1,16 +1,16 @@
1
- .form-check.bd-form-checkbox{
2
- padding: 0;
3
-
4
- input {
5
- background-size: 16px 11px;
6
- background-repeat: no-repeat;
7
- background-position: 50%;
8
- float: unset;
9
- margin: 0 .5em 0 0;
10
-
11
- &.form-check-input.is-invalid{
12
- border-color: $gray-500;
13
- background-color: revert;
14
- }
15
- }
1
+ .form-check.bd-form-checkbox{
2
+ padding: 0;
3
+
4
+ input {
5
+ background-size: 16px 11px;
6
+ background-repeat: no-repeat;
7
+ background-position: 50%;
8
+ float: unset;
9
+ margin: 0 .5em 0 0;
10
+
11
+ &.form-check-input.is-invalid{
12
+ border-color: $gray-500;
13
+ background-color: revert;
14
+ }
15
+ }
16
16
  }
@@ -1,10 +1,10 @@
1
- .form-label {
2
- line-height: 1.5rem;
3
- padding: 0;
4
- font-weight: $font-bold;
5
- margin-bottom: 0.25rem;
6
- }
7
-
8
- .bd-invalid-feedback.is-invalid{
9
- display:block
1
+ .form-label {
2
+ line-height: 1.5rem;
3
+ padding: 0;
4
+ font-weight: $font-bold;
5
+ margin-bottom: 0.25rem;
6
+ }
7
+
8
+ .bd-invalid-feedback.is-invalid{
9
+ display:block
10
10
  }
@@ -1,78 +1,78 @@
1
- @mixin alert($color, $bg-color) {
2
- border-radius: 8px;
3
- padding: 15px;
4
- font-size: 16px;
5
- background-color: $bg-color;
6
- color: $color;
7
- border: 1px solid $color;
8
- svg {
9
- fill: $color;
10
- &.icon{
11
- margin-right:8px;
12
- }
13
- }
14
- }
15
-
16
- @mixin badge($color, $bg-color) {
17
- border-radius: 8px;
18
- padding: 5px 8px;
19
- font-weight: 500;
20
- font-style: normal;
21
- font-size: 0.75rem;
22
- line-height: 0.875rem;
23
- background-color: $bg-color;
24
- color: $color;
25
- svg {
26
- fill: $color;
27
- height: 12px;
28
- width: 12px;
29
- &.icon{
30
- margin-right:8px;
31
- }
32
- }
33
- }
34
-
35
- @mixin button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color) {
36
- color: $color;
37
- background-color: $bg-color;
38
- border:$border $solid $border-color;
39
-
40
- svg:not(.icon-microsoft-teams) {
41
- fill: $color;
42
- path{
43
- fill:$color
44
- }
45
- }
46
-
47
- &:hover, &:focus{
48
- color: $hover-color;
49
- background-color: $hover-bg-color;
50
- border:$border $solid $hover-border-color;
51
-
52
- svg {
53
- fill: $hover-color;
54
- path{
55
- fill:$hover-color;
56
- }
57
- }
58
- }
59
-
60
- &:active{
61
- color: $color;
62
- background-color: $bg-color;
63
- border:$border $solid $border-color;
64
-
65
- svg {
66
- fill: $color;
67
- path{
68
- fill:$color
69
- }
70
- }
71
- }
72
-
73
- &.disabled{
74
- opacity: 0.5;
75
- color: $color;
76
- background-color: $bg-color;
77
- }
78
- }
1
+ @mixin alert($color, $bg-color) {
2
+ border-radius: 8px;
3
+ padding: 15px;
4
+ font-size: 16px;
5
+ background-color: $bg-color;
6
+ color: $color;
7
+ border: 1px solid $color;
8
+ svg {
9
+ fill: $color;
10
+ &.icon{
11
+ margin-right:8px;
12
+ }
13
+ }
14
+ }
15
+
16
+ @mixin badge($color, $bg-color) {
17
+ border-radius: 8px;
18
+ padding: 5px 8px;
19
+ font-weight: 500;
20
+ font-style: normal;
21
+ font-size: 0.75rem;
22
+ line-height: 0.875rem;
23
+ background-color: $bg-color;
24
+ color: $color;
25
+ svg {
26
+ fill: $color;
27
+ height: 12px;
28
+ width: 12px;
29
+ &.icon{
30
+ margin-right:8px;
31
+ }
32
+ }
33
+ }
34
+
35
+ @mixin button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color) {
36
+ color: $color;
37
+ background-color: $bg-color;
38
+ border:$border $solid $border-color;
39
+
40
+ svg:not(.icon-microsoft-teams) {
41
+ fill: $color;
42
+ path{
43
+ fill:$color
44
+ }
45
+ }
46
+
47
+ &:hover, &:focus{
48
+ color: $hover-color;
49
+ background-color: $hover-bg-color;
50
+ border:$border $solid $hover-border-color;
51
+
52
+ svg {
53
+ fill: $hover-color;
54
+ path{
55
+ fill:$hover-color;
56
+ }
57
+ }
58
+ }
59
+
60
+ &:active{
61
+ color: $color;
62
+ background-color: $bg-color;
63
+ border:$border $solid $border-color;
64
+
65
+ svg {
66
+ fill: $color;
67
+ path{
68
+ fill:$color
69
+ }
70
+ }
71
+ }
72
+
73
+ &.disabled{
74
+ opacity: 0.5;
75
+ color: $color;
76
+ background-color: $bg-color;
77
+ }
78
+ }
@@ -1,9 +1,9 @@
1
- .change-password-template {
2
- .alert-danger {
3
- ul {
4
- list-style: none;
5
- margin: 0;
6
- padding: 0;
7
- }
8
- }
1
+ .change-password-template {
2
+ .alert-danger {
3
+ ul {
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+ }
9
9
  }
@@ -1,140 +1,140 @@
1
- .content-library-template {
2
- .content-library-header {
3
- margin-bottom: 15px;
4
- }
5
-
6
- .bd-form-checkbox {
7
- display: flex;
8
- margin-bottom: 8px;
9
- }
10
-
11
- .collapse-button {
12
- padding: 0;
13
-
14
- &-last {
15
- margin-bottom: 0;
16
- }
17
-
18
- svg {
19
- margin-right: 4px;
20
- }
21
-
22
- > .collapsed-show {
23
- display: none;
24
- }
25
-
26
- > .collapsed-hide {
27
- display: inline-block;
28
- }
29
-
30
- &.collapsed {
31
- > .collapsed-show {
32
- display: inline-block;
33
- }
34
-
35
- > .collapsed-hide {
36
- display: none;
37
- }
38
- }
39
- }
40
-
41
- .select-button-block {
42
- .v-select {
43
- &.vs--open {
44
- .vs__selected-options {
45
- span {
46
- top: 10%;
47
- }
48
- }
49
- }
50
-
51
- .vs__dropdown-toggle {
52
- height: 40px;
53
- background-color: white;
54
- border: 1px solid $color-border;
55
- }
56
-
57
- &.is-invalid {
58
- .vs__dropdown-toggle {
59
- border: 1px solid $color-red;
60
- }
61
- }
62
-
63
- .vs__selected-options {
64
- span {
65
- position: unset;
66
- color: $color-darkblue;
67
- }
68
- }
69
-
70
- .vs__dropdown-menu {
71
- margin-top: 0px;
72
- padding-left: 10px;
73
- }
74
-
75
- input::placeholder {
76
- color: #ABB0BE;
77
- }
78
-
79
- input {
80
- padding: 0px;
81
- }
82
-
83
- &.vs--single.vs--open .vs__selected {
84
- position: inherit;
85
- top: 0%;
86
- }
87
-
88
- .vs__selected-options {
89
- flex-wrap: unset;
90
- padding: 0px;
91
-
92
- span {
93
- line-height: 40px;
94
- font-size: 16px;
95
- white-space: nowrap;
96
-
97
- img {
98
- height: 18px;
99
- margin-right: 5px;
100
- }
101
-
102
- svg {
103
- margin-right: 5px;
104
- }
105
- }
106
- }
107
-
108
- .vs__dropdown-menu {
109
- padding: 0px;
110
-
111
- .vs__dropdown-option {
112
- padding: 0px 0px 0px 10px;
113
- line-height: 40px;
114
- font-size: 16px;
115
-
116
- img {
117
- height: 18px;
118
- margin-right: 5px;
119
- }
120
-
121
- svg {
122
- margin-right: 5px;
123
- }
124
- }
125
- }
126
- }
127
- }
128
-
129
- @media (max-width: 1199px) {
130
- .select-button-block {
131
- margin-bottom: 16px;
132
- }
133
- }
134
-
135
- @media (max-width: 850px) {
136
- .content-library-header__messages {
137
- margin-bottom: 16px;
138
- }
139
- }
1
+ .content-library-template {
2
+ .content-library-header {
3
+ margin-bottom: 15px;
4
+ }
5
+
6
+ .bd-form-checkbox {
7
+ display: flex;
8
+ margin-bottom: 8px;
9
+ }
10
+
11
+ .collapse-button {
12
+ padding: 0;
13
+
14
+ &-last {
15
+ margin-bottom: 0;
16
+ }
17
+
18
+ svg {
19
+ margin-right: 4px;
20
+ }
21
+
22
+ > .collapsed-show {
23
+ display: none;
24
+ }
25
+
26
+ > .collapsed-hide {
27
+ display: inline-block;
28
+ }
29
+
30
+ &.collapsed {
31
+ > .collapsed-show {
32
+ display: inline-block;
33
+ }
34
+
35
+ > .collapsed-hide {
36
+ display: none;
37
+ }
38
+ }
39
+ }
40
+
41
+ .select-button-block {
42
+ .v-select {
43
+ &.vs--open {
44
+ .vs__selected-options {
45
+ span {
46
+ top: 10%;
47
+ }
48
+ }
49
+ }
50
+
51
+ .vs__dropdown-toggle {
52
+ height: 40px;
53
+ background-color: white;
54
+ border: 1px solid $color-border;
55
+ }
56
+
57
+ &.is-invalid {
58
+ .vs__dropdown-toggle {
59
+ border: 1px solid $color-red;
60
+ }
61
+ }
62
+
63
+ .vs__selected-options {
64
+ span {
65
+ position: unset;
66
+ color: $color-darkblue;
67
+ }
68
+ }
69
+
70
+ .vs__dropdown-menu {
71
+ margin-top: 0px;
72
+ padding-left: 10px;
73
+ }
74
+
75
+ input::placeholder {
76
+ color: #ABB0BE;
77
+ }
78
+
79
+ input {
80
+ padding: 0px;
81
+ }
82
+
83
+ &.vs--single.vs--open .vs__selected {
84
+ position: inherit;
85
+ top: 0%;
86
+ }
87
+
88
+ .vs__selected-options {
89
+ flex-wrap: unset;
90
+ padding: 0px;
91
+
92
+ span {
93
+ line-height: 40px;
94
+ font-size: 16px;
95
+ white-space: nowrap;
96
+
97
+ img {
98
+ height: 18px;
99
+ margin-right: 5px;
100
+ }
101
+
102
+ svg {
103
+ margin-right: 5px;
104
+ }
105
+ }
106
+ }
107
+
108
+ .vs__dropdown-menu {
109
+ padding: 0px;
110
+
111
+ .vs__dropdown-option {
112
+ padding: 0px 0px 0px 10px;
113
+ line-height: 40px;
114
+ font-size: 16px;
115
+
116
+ img {
117
+ height: 18px;
118
+ margin-right: 5px;
119
+ }
120
+
121
+ svg {
122
+ margin-right: 5px;
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ @media (max-width: 1199px) {
130
+ .select-button-block {
131
+ margin-bottom: 16px;
132
+ }
133
+ }
134
+
135
+ @media (max-width: 850px) {
136
+ .content-library-header__messages {
137
+ margin-bottom: 16px;
138
+ }
139
+ }
140
140
  }
@@ -1,6 +1,6 @@
1
- .not-found-template {
2
- p {
3
- text-align: left;
4
- margin: 0;
5
- }
1
+ .not-found-template {
2
+ p {
3
+ text-align: left;
4
+ margin: 0;
5
+ }
6
6
  }
@@ -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
  })