@beterdichtbij/component-library 0.63.2 → 0.64.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.
- package/dist/bd-component-lib.cjs.js +59 -59
- package/dist/bd-component-lib.es.js +3708 -3722
- package/dist/bd-component-lib.umd.js +59 -59
- package/dist/components/modals/BDMessageTemplateFormModal/BDMessageTemplateFormModal.vue.d.ts +14 -4
- package/dist/components/molecules/BDFileUploadPreview/BDFileUploadPreview.vue.d.ts +11 -0
- package/dist/components/organisms/BDMessageTemplateForm/BDMessageTemplateForm.vue.d.ts +15 -5
- package/dist/interfaces/BDFileUploadProps.d.ts +3 -3
- package/dist/locales/nl.json +1 -1
- package/dist/scss/_file-upload-preview.scss +54 -0
- package/dist/scss/_file-upload.scss +1 -67
- package/dist/scss/_form-multiple-checkbox.scss +4 -0
- package/dist/scss/_icons.scss +0 -19
- package/dist/scss/_modal.scss +3 -0
- package/dist/scss/active-filters.scss +2 -6
- package/dist/scss/component-library-styling.scss +1 -0
- package/dist/scss/forms/_form-check.scss +1 -0
- package/dist/scss/templates/_content-library-template.scss +7 -0
- package/package.json +1 -1
package/dist/components/modals/BDMessageTemplateFormModal/BDMessageTemplateFormModal.vue.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
2
7
|
$emit: (event: "close" | "action" | "show-attachment" | "on-submit" | "on-input" | "change-department", ...args: any[]) => void;
|
|
3
8
|
modelValue: Record<string, any>;
|
|
4
9
|
visible: boolean;
|
|
@@ -6,7 +11,6 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
6
11
|
editable: boolean;
|
|
7
12
|
serverErrors: unknown[];
|
|
8
13
|
contentLibraryExternalProviders: unknown[];
|
|
9
|
-
isOperator: boolean;
|
|
10
14
|
files?: unknown[] | undefined;
|
|
11
15
|
practitionerOptions?: unknown[] | undefined;
|
|
12
16
|
departmentOptions?: unknown[] | undefined;
|
|
@@ -18,11 +22,17 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
18
22
|
readonly editable?: boolean | undefined;
|
|
19
23
|
readonly serverErrors?: unknown[] | undefined;
|
|
20
24
|
readonly contentLibraryExternalProviders?: unknown[] | undefined;
|
|
21
|
-
readonly isOperator?: boolean | undefined;
|
|
22
25
|
readonly files?: unknown[] | undefined;
|
|
23
26
|
readonly practitionerOptions?: unknown[] | undefined;
|
|
24
27
|
readonly departmentOptions?: unknown[] | undefined;
|
|
25
28
|
readonly categoryOptions?: unknown[] | undefined;
|
|
26
29
|
};
|
|
27
30
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
28
|
-
|
|
31
|
+
type __VLS_TemplateResult = {
|
|
32
|
+
attrs: Partial<{}>;
|
|
33
|
+
slots: {
|
|
34
|
+
'extra-fields'?(_: {}): any;
|
|
35
|
+
};
|
|
36
|
+
refs: {};
|
|
37
|
+
rootEl: HTMLDivElement;
|
|
38
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AttachedFile } from '../../../interfaces/BDFileUploadProps';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
file: AttachedFile;
|
|
4
|
+
isPending: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
remove: (file: AttachedFile) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: ((file: AttachedFile) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "update:modelValue" | "action" | "show-attachment" | "on-input" | "change-department" | "change-text", ...args: any[]) => void;
|
|
3
8
|
modelValue: Record<string, any>;
|
|
4
9
|
validation: Record<string, any>;
|
|
5
10
|
practitionerOptions: unknown[];
|
|
6
11
|
departmentOptions: unknown[];
|
|
7
12
|
categoryOptions: unknown[];
|
|
8
13
|
contentLibraryExternalProviders: unknown[];
|
|
9
|
-
isOperator: boolean;
|
|
10
14
|
files?: unknown[] | undefined;
|
|
11
15
|
$props: {
|
|
12
16
|
readonly modelValue?: Record<string, any> | undefined;
|
|
@@ -15,8 +19,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
15
19
|
readonly departmentOptions?: unknown[] | undefined;
|
|
16
20
|
readonly categoryOptions?: unknown[] | undefined;
|
|
17
21
|
readonly contentLibraryExternalProviders?: unknown[] | undefined;
|
|
18
|
-
readonly isOperator?: boolean | undefined;
|
|
19
22
|
readonly files?: unknown[] | undefined;
|
|
20
23
|
};
|
|
21
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
22
|
-
|
|
25
|
+
type __VLS_TemplateResult = {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
'extra-fields'?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {};
|
|
31
|
+
rootEl: HTMLFormElement;
|
|
32
|
+
};
|
|
@@ -2,10 +2,10 @@ export interface AttachedFiles {
|
|
|
2
2
|
files: AttachedFile[];
|
|
3
3
|
}
|
|
4
4
|
export interface AttachedFile {
|
|
5
|
-
|
|
6
|
-
CorrelationId: string;
|
|
7
|
-
Naam: string;
|
|
5
|
+
name: string;
|
|
8
6
|
previewUrl?: string;
|
|
7
|
+
UUID?: string;
|
|
8
|
+
CorrelationId?: string;
|
|
9
9
|
}
|
|
10
10
|
export interface BDFileUploadProps {
|
|
11
11
|
modelValue: AttachedFiles;
|
package/dist/locales/nl.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"edit": "Wijzigen"
|
|
37
37
|
},
|
|
38
38
|
"contentLibraryOverview": {
|
|
39
|
-
"noResults": "Er zijn geen
|
|
39
|
+
"noResults": "Er zijn geen berichten gevonden voor deze zoekterm of filters; pas ze aan om opnieuw te zoeken."
|
|
40
40
|
},
|
|
41
41
|
"contentLibrarySplitButton": {
|
|
42
42
|
"messageTemplatesTitle": "Standaardberichten"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.bd-file-upload-preview {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
|
|
4
|
+
.preview-details {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.preview-image {
|
|
8
|
+
min-width: 150px;
|
|
9
|
+
height: 88px;
|
|
10
|
+
object-fit: contain;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mark-container {
|
|
14
|
+
display: block;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
width: 21px;
|
|
17
|
+
height: 21px;
|
|
18
|
+
margin: 0px auto;
|
|
19
|
+
|
|
20
|
+
&.success {
|
|
21
|
+
background-color: $green;
|
|
22
|
+
|
|
23
|
+
svg {
|
|
24
|
+
transform: translateY(-2px);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.pending {
|
|
29
|
+
background-color: $white;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.remove-button {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: -10px;
|
|
36
|
+
right: -10px;
|
|
37
|
+
margin: 0;
|
|
38
|
+
width: 21px;
|
|
39
|
+
height: 21px;
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
padding: 0px;
|
|
42
|
+
background-color: $primary;
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
46
|
+
|
|
47
|
+
.icon {
|
|
48
|
+
margin: revert;
|
|
49
|
+
transform: revert;
|
|
50
|
+
transition: revert;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
1
|
.bd-file-upload {
|
|
4
2
|
position: relative;
|
|
5
3
|
color: $color-darkblue;
|
|
@@ -20,74 +18,10 @@
|
|
|
20
18
|
color: $color-darkblue;
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
|
-
|
|
24
|
-
.dz-message {
|
|
25
|
-
margin-bottom: 1.25rem;
|
|
26
|
-
}
|
|
27
21
|
|
|
28
|
-
.
|
|
22
|
+
.preview-container {
|
|
29
23
|
position: relative;
|
|
30
24
|
display: inline-block;
|
|
31
25
|
text-align: center;
|
|
32
|
-
|
|
33
|
-
.file-preview {
|
|
34
|
-
display: inline-block;
|
|
35
|
-
|
|
36
|
-
.preview-details {
|
|
37
|
-
position: relative;
|
|
38
|
-
|
|
39
|
-
.preview-image {
|
|
40
|
-
min-width: 150px;
|
|
41
|
-
height: 88px;
|
|
42
|
-
object-fit: contain;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.dz-error {
|
|
48
|
-
.dz-error-message, .dz-error-mark {
|
|
49
|
-
display: block;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.success-mark {
|
|
54
|
-
display: block;
|
|
55
|
-
background-color: $green;
|
|
56
|
-
border-radius: 50%;
|
|
57
|
-
width:21px;
|
|
58
|
-
height:21px;
|
|
59
|
-
margin: 0px auto;
|
|
60
|
-
|
|
61
|
-
svg{
|
|
62
|
-
transform: translateY(-2px);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.dz-complete {
|
|
67
|
-
.dz-progress {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.remove-button {
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: -10px;
|
|
75
|
-
right: -10px;
|
|
76
|
-
margin: 0;
|
|
77
|
-
width: 21px;
|
|
78
|
-
height: 21px;
|
|
79
|
-
border-radius: 50%;
|
|
80
|
-
padding: 0px;
|
|
81
|
-
background-color: $primary;
|
|
82
|
-
display: flex;
|
|
83
|
-
justify-content: center;
|
|
84
|
-
align-items: center;
|
|
85
|
-
|
|
86
|
-
.icon {
|
|
87
|
-
margin: revert;
|
|
88
|
-
transform: revert;
|
|
89
|
-
transition: revert;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
26
|
}
|
|
93
27
|
}
|
package/dist/scss/_icons.scss
CHANGED
|
@@ -14,31 +14,12 @@
|
|
|
14
14
|
&.icon-remove {
|
|
15
15
|
width: 11px;
|
|
16
16
|
height: 11px;
|
|
17
|
-
|
|
18
|
-
.dz-remove &{
|
|
19
|
-
fill: $color-white;
|
|
20
|
-
}
|
|
21
17
|
}
|
|
22
18
|
|
|
23
19
|
&.icon-file{
|
|
24
20
|
fill: $color-darkblue;
|
|
25
|
-
.dz-details &{
|
|
26
|
-
height: 88px;
|
|
27
|
-
min-width: 150px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.dz-error &{
|
|
31
|
-
fill: $color-red;
|
|
32
|
-
}
|
|
33
21
|
}
|
|
34
22
|
|
|
35
|
-
&.icon-error{
|
|
36
|
-
.dz-error-mark & , .dz-error-message &, .bd-invalid-feedback &{
|
|
37
|
-
path {
|
|
38
|
-
fill: $color-red;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
23
|
&.icon-loading{
|
|
43
24
|
width:25px;
|
|
44
25
|
height:25px;
|
package/dist/scss/_modal.scss
CHANGED