@beterdichtbij/component-library 0.61.0 → 0.62.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 +107 -53
- package/dist/bd-component-lib.css +1 -1
- package/dist/bd-component-lib.es.js +6409 -6160
- package/dist/bd-component-lib.umd.js +86 -32
- package/dist/components/atoms/BDActiveFilters/BDActiveFilters.vue.d.ts +12 -0
- package/dist/components/modals/BDMessageTemplateFormModal/BDMessageTemplateFormModal.vue.d.ts +3 -1
- package/dist/components/molecules/BDFilterCard/BDFilterCard.vue.d.ts +28 -0
- package/dist/components/molecules/BDFormMultipleCheckbox/BDFormMultipleCheckbox.vue.d.ts +1 -1
- package/dist/components/organisms/BDMessageTemplateForm/BDMessageTemplateForm.vue.d.ts +3 -1
- package/dist/locales/nl.json +10 -0
- package/dist/scss/_content-library-modal.scss +0 -30
- package/dist/scss/_filter-card.scss +58 -0
- package/dist/scss/active-filters.scss +60 -0
- package/dist/scss/component-library-styling.scss +2 -0
- package/dist/scss/templates/_content-library-template.scss +0 -35
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
filters: any;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: string[];
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: string[]) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
package/dist/components/modals/BDMessageTemplateFormModal/BDMessageTemplateFormModal.vue.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
$emit: (event: "close" | "action" | "show-attachment" | "on-submit" | "on-input", ...args: any[]) => void;
|
|
2
|
+
$emit: (event: "close" | "action" | "show-attachment" | "on-submit" | "on-input" | "change-department", ...args: any[]) => void;
|
|
3
3
|
modelValue: Record<string, any>;
|
|
4
4
|
visible: boolean;
|
|
5
5
|
editable: boolean;
|
|
6
6
|
serverErrors: unknown[];
|
|
7
7
|
validation: Record<string, any>;
|
|
8
8
|
contentLibraryExternalProviders: unknown[];
|
|
9
|
+
isOperator: boolean;
|
|
9
10
|
files?: unknown[] | undefined;
|
|
10
11
|
practitionerOptions?: unknown[] | undefined;
|
|
11
12
|
departmentOptions?: unknown[] | undefined;
|
|
@@ -17,6 +18,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
17
18
|
readonly serverErrors?: unknown[] | undefined;
|
|
18
19
|
readonly validation?: Record<string, any> | undefined;
|
|
19
20
|
readonly contentLibraryExternalProviders?: unknown[] | undefined;
|
|
21
|
+
readonly isOperator?: boolean | undefined;
|
|
20
22
|
readonly files?: unknown[] | undefined;
|
|
21
23
|
readonly practitionerOptions?: unknown[] | undefined;
|
|
22
24
|
readonly departmentOptions?: unknown[] | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
enableEditCategory: boolean;
|
|
3
|
+
filters: any;
|
|
4
|
+
searchForm: any;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
'filter-extra'?(_: {
|
|
10
|
+
filter: any;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
check: (...args: any[]) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
$emit: (event: "update:modelValue" | "on-input", ...args: any[]) => void;
|
|
2
|
+
$emit: (event: "update:modelValue" | "on-input" | "change-department", ...args: any[]) => void;
|
|
3
3
|
modelValue: unknown[];
|
|
4
4
|
state: boolean;
|
|
5
5
|
options: unknown[];
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
$emit: (event: "action" | "show-attachment" | "on-input", ...args: any[]) => void;
|
|
2
|
+
$emit: (event: "update:modelValue" | "action" | "show-attachment" | "on-input" | "change-department", ...args: any[]) => void;
|
|
3
3
|
modelValue: Record<string, any>;
|
|
4
4
|
validation: Record<string, any>;
|
|
5
5
|
practitionerOptions: unknown[];
|
|
6
6
|
departmentOptions: unknown[];
|
|
7
7
|
categoryOptions: unknown[];
|
|
8
8
|
contentLibraryExternalProviders: unknown[];
|
|
9
|
+
isOperator: boolean;
|
|
9
10
|
files?: unknown[] | undefined;
|
|
10
11
|
$props: {
|
|
11
12
|
readonly modelValue?: Record<string, any> | undefined;
|
|
@@ -14,6 +15,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
14
15
|
readonly departmentOptions?: unknown[] | undefined;
|
|
15
16
|
readonly categoryOptions?: unknown[] | undefined;
|
|
16
17
|
readonly contentLibraryExternalProviders?: unknown[] | undefined;
|
|
18
|
+
readonly isOperator?: boolean | undefined;
|
|
17
19
|
readonly files?: unknown[] | undefined;
|
|
18
20
|
};
|
|
19
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFormElement>;
|
package/dist/locales/nl.json
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"activeFilters": {
|
|
3
|
+
"title": "Actieve filters",
|
|
4
|
+
"clearAll": "Wis alle filters"
|
|
5
|
+
},
|
|
2
6
|
"assignConversationModal": {
|
|
3
7
|
"title": "Gesprek overdragen",
|
|
4
8
|
"submitButton": "Gesprek overdragen",
|
|
@@ -59,6 +63,10 @@
|
|
|
59
63
|
"download": "Download afbeelding",
|
|
60
64
|
"loading": "Afbeelding aan het laden"
|
|
61
65
|
},
|
|
66
|
+
"filterCard": {
|
|
67
|
+
"more": "Meer",
|
|
68
|
+
"less": "Minder"
|
|
69
|
+
},
|
|
62
70
|
"messageTemplateFormModal": {
|
|
63
71
|
"createTitle": "Standaardbericht toevoegen",
|
|
64
72
|
"editTitle": "Standaardbericht wijzigen",
|
|
@@ -68,8 +76,10 @@
|
|
|
68
76
|
"replyTemplatePlaceHolder": "Schrijf hier jouw bericht naar de patiënt",
|
|
69
77
|
"sharedWithLabel": "Delen met",
|
|
70
78
|
"owner": "Eigenaar",
|
|
79
|
+
"ownerPlaceholder": "Selecteer eigenaar",
|
|
71
80
|
"tooltipOwner": "Als het bericht met meerdere instanties (teams) gedeeld wordt, kunje alleen zelf eigenaar worden",
|
|
72
81
|
"categoryLabel": "Categorie",
|
|
82
|
+
"categoryPlaceholderDropdown": "Selecteer categorie of maak een nieuwe aan",
|
|
73
83
|
"validation": "Dit veld is verplicht."
|
|
74
84
|
},
|
|
75
85
|
"notFoundTemplate": {
|
|
@@ -7,36 +7,6 @@
|
|
|
7
7
|
text-align: center;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.collapse-button {
|
|
11
|
-
padding: 0 12px;
|
|
12
|
-
|
|
13
|
-
&-last {
|
|
14
|
-
margin-bottom: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
svg {
|
|
18
|
-
margin-right: 4px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
> .collapsed-show {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
> .collapsed-hide {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.collapsed {
|
|
30
|
-
> .collapsed-show {
|
|
31
|
-
display: inline-block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
> .collapsed-hide {
|
|
35
|
-
display: none;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
10
|
.content-library-header__messages {
|
|
41
11
|
display: flex;
|
|
42
12
|
align-items: center;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.bd-filter-card {
|
|
2
|
+
.card-body {
|
|
3
|
+
padding: 16px;
|
|
4
|
+
|
|
5
|
+
.bd-input-group {
|
|
6
|
+
font-size: 15px;
|
|
7
|
+
margin-bottom: 8px;
|
|
8
|
+
|
|
9
|
+
&:last-of-type {
|
|
10
|
+
margin-bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
label, button {
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.form-label {
|
|
18
|
+
margin-bottom: 8px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bd-form-checkbox {
|
|
22
|
+
display: flex;
|
|
23
|
+
margin-bottom: 2px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.collapse-button {
|
|
27
|
+
padding: 0;
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
|
|
30
|
+
&-last {
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
svg {
|
|
35
|
+
margin-right: 4px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
> .collapsed-show {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
> .collapsed-hide {
|
|
43
|
+
display: inline-block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.collapsed {
|
|
47
|
+
> .collapsed-show {
|
|
48
|
+
display: inline-block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
> .collapsed-hide {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.bd-active-filters {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
|
|
6
|
+
header {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
* {
|
|
12
|
+
padding-top: 4px;
|
|
13
|
+
padding-bottom: 4px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
span {
|
|
17
|
+
font-size: 15px;
|
|
18
|
+
font-weight: 700;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
button {
|
|
22
|
+
font-size: 14px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.filter {
|
|
27
|
+
display: flex;
|
|
28
|
+
|
|
29
|
+
label {
|
|
30
|
+
width: 90px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.options {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
flex: 1;
|
|
36
|
+
|
|
37
|
+
.p-chip {
|
|
38
|
+
background: #fff;
|
|
39
|
+
color: #4D5875;
|
|
40
|
+
border: 1px solid black;
|
|
41
|
+
border-radius: 18px;
|
|
42
|
+
gap: 6px;
|
|
43
|
+
padding: 2px 10px;
|
|
44
|
+
margin: 0 6px 6px 0;
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
|
|
47
|
+
.p-chip-label {
|
|
48
|
+
max-width: 169px;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
svg path {
|
|
55
|
+
fill: #4D5875;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import "mixins";
|
|
4
4
|
@import "base";
|
|
5
5
|
|
|
6
|
+
@import "active-filters";
|
|
6
7
|
@import "alert";
|
|
7
8
|
@import "article";
|
|
8
9
|
@import "assign-conversation-modal";
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
@import "conversation-to-text-modal";
|
|
21
22
|
@import "dropdown";
|
|
22
23
|
@import "extern";
|
|
24
|
+
@import "filter-card";
|
|
23
25
|
@import "file-upload";
|
|
24
26
|
@import "form-field";
|
|
25
27
|
@import "form-multiple-checkbox";
|
|
@@ -3,41 +3,6 @@
|
|
|
3
3
|
margin-bottom: 15px;
|
|
4
4
|
}
|
|
5
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
6
|
.select-button-block {
|
|
42
7
|
.v-select {
|
|
43
8
|
&.vs--open {
|