@beterdichtbij/component-library 0.33.0 → 0.35.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.
@@ -0,0 +1,74 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ imgSrc: {
4
+ type: __PropType<string | undefined>;
5
+ required: false;
6
+ default: string;
7
+ };
8
+ uri: {
9
+ type: __PropType<string | undefined>;
10
+ required: false;
11
+ default: string;
12
+ };
13
+ uriDisplayName: {
14
+ type: __PropType<string | undefined>;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ title: {
19
+ type: __PropType<string | undefined>;
20
+ required: false;
21
+ default: string;
22
+ };
23
+ subtitle: {
24
+ type: __PropType<string | undefined>;
25
+ required: false;
26
+ default: string;
27
+ };
28
+ showClose: {
29
+ type: __PropType<boolean | undefined>;
30
+ required: false;
31
+ default: boolean;
32
+ };
33
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ imgSrc: {
35
+ type: __PropType<string | undefined>;
36
+ required: false;
37
+ default: string;
38
+ };
39
+ uri: {
40
+ type: __PropType<string | undefined>;
41
+ required: false;
42
+ default: string;
43
+ };
44
+ uriDisplayName: {
45
+ type: __PropType<string | undefined>;
46
+ required: false;
47
+ default: string;
48
+ };
49
+ title: {
50
+ type: __PropType<string | undefined>;
51
+ required: false;
52
+ default: string;
53
+ };
54
+ subtitle: {
55
+ type: __PropType<string | undefined>;
56
+ required: false;
57
+ default: string;
58
+ };
59
+ showClose: {
60
+ type: __PropType<boolean | undefined>;
61
+ required: false;
62
+ default: boolean;
63
+ };
64
+ }>> & {
65
+ onClose?: ((...args: any[]) => any) | undefined;
66
+ }, {
67
+ title: string | undefined;
68
+ imgSrc: string | undefined;
69
+ uri: string | undefined;
70
+ uriDisplayName: string | undefined;
71
+ subtitle: string | undefined;
72
+ showClose: boolean | undefined;
73
+ }, {}>;
74
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDPill.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDPill/BDPill.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,+FAA+F,CAAC;AACtH,cAAc,+FAA+F,CAAC;AAC9G,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconComment.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconComment.vue"],"names":[],"mappings":";AAqBA,wBAA4E"}
@@ -11,6 +11,7 @@ import IconCaretLeft from "./IconCaretLeft.vue";
11
11
  import IconCaretRight from "./IconCaretRight.vue";
12
12
  import IconCheck from "./IconCheck.vue";
13
13
  import IconClose from "./IconClose.vue";
14
+ import IconComment from "./IconComment.vue";
14
15
  import IconDownloadImage from "./IconDownloadImage.vue";
15
16
  import IconEdit from "./IconEdit.vue";
16
17
  import IconError from "./IconError.vue";
@@ -32,4 +33,4 @@ import IconSortNone from "./IconSortNone.vue";
32
33
  import IconTriangleExclamation from "./IconTriangleExclamation.vue";
33
34
  import IconUnderline from "./IconUnderline.vue";
34
35
  import IconContactPerson from "./IconContactPerson.vue";
35
- export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, IconContactPerson };
36
+ export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconComment, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, IconContactPerson };
@@ -25,6 +25,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
25
25
  required: false;
26
26
  default: undefined;
27
27
  };
28
+ pills: {
29
+ type: __PropType<Object[] | undefined>;
30
+ required: false;
31
+ default: undefined;
32
+ };
28
33
  modelValue: {
29
34
  type: __PropType<string>;
30
35
  required: true;
@@ -55,6 +60,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
60
  required: false;
56
61
  default: undefined;
57
62
  };
63
+ pills: {
64
+ type: __PropType<Object[] | undefined>;
65
+ required: false;
66
+ default: undefined;
67
+ };
58
68
  modelValue: {
59
69
  type: __PropType<string>;
60
70
  required: true;
@@ -65,6 +75,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
65
75
  onUpload?: ((...args: any[]) => any) | undefined;
66
76
  }, {
67
77
  files: import("../../../types/ApiAttachment").ApiAttachment[] | undefined;
78
+ pills: Object[] | undefined;
68
79
  variant: import('../../../types/tiptapVariants').TiptapVariants;
69
80
  placeholder: string | undefined;
70
81
  state: boolean | null | undefined;
@@ -5,6 +5,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
5
5
  required: false;
6
6
  default: string;
7
7
  };
8
+ titleImage: {
9
+ type: __PropType<string | undefined>;
10
+ required: false;
11
+ default: string;
12
+ };
8
13
  submitButtonTitle: {
9
14
  type: __PropType<string | undefined>;
10
15
  required: false;
@@ -41,6 +46,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
41
46
  required: false;
42
47
  default: string;
43
48
  };
49
+ titleImage: {
50
+ type: __PropType<string | undefined>;
51
+ required: false;
52
+ default: string;
53
+ };
44
54
  submitButtonTitle: {
45
55
  type: __PropType<string | undefined>;
46
56
  required: false;
@@ -76,6 +86,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
76
86
  onCancel?: ((...args: any[]) => any) | undefined;
77
87
  }, {
78
88
  title: string | undefined;
89
+ titleImage: string | undefined;
79
90
  submitButtonTitle: string | undefined;
80
91
  closeButtonTitle: string | undefined;
81
92
  hideFooterCancelButton: boolean;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import BDCol from "./layout/BDCol.vue";
2
2
  import BDContainer from "./layout/BDContainer.vue";
3
3
  import BDRow from "./layout/BDRow.vue";
4
- import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconContactPerson } from "./components/atoms/icons/index";
4
+ import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconComment, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconContactPerson } from "./components/atoms/icons/index";
5
5
  import BDButton from "./components/atoms/BDButton/BDButton.vue";
6
6
  import BDLogo from "./components/atoms/BDLogo/BDLogo.vue";
7
7
  import BDLink from "./components/atoms/BDLink/BDLink.vue";
@@ -20,6 +20,7 @@ import BDFormSelect from "./components/atoms/BDFormSelect/BDFormSelect.vue";
20
20
  import BDFormCheckbox from "./components/atoms/BDFormCheckbox/BDFormCheckbox.vue";
21
21
  import BDArticle from "./components/atoms/BDArticle/BDArticle.vue";
22
22
  import BDToast from "./components/atoms/BDToast/BDToast.vue";
23
+ import BDPill from "./components/atoms/BDPill/BDPill.vue";
23
24
  import BDDropdownItem from "./components/molecules/BDDropdownItem/BDDropdownItem.vue";
24
25
  import BDDropzone from "./components/molecules/BDDropzone/BDDropzone.vue";
25
26
  import BDMarkdownEditor from "./components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue";
@@ -41,4 +42,4 @@ import { vBdTooltip } from "./directives/BDTooltip";
41
42
  import { type ChangePasswordData } from './types/ChangePasswordData';
42
43
  import { type ValidationChangePasswordData } from './types/ValidationChangePasswordData';
43
44
  import { getDisplayDate } from "./utils/display-date";
44
- export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDChangePasswordTemplate, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, BDTable, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, IconContactPerson, ChangePasswordData, ValidationChangePasswordData, useModal, useServerErrors, useToaster, useValidation, vBdTooltip, getDisplayDate, };
45
+ export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDChangePasswordTemplate, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, BDTable, BDPill, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconComment, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconService, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, IconContactPerson, ChangePasswordData, ValidationChangePasswordData, useModal, useServerErrors, useToaster, useValidation, vBdTooltip, getDisplayDate, };
@@ -7,4 +7,5 @@ export interface BDMarkdownEditorProps extends ModelValueString {
7
7
  state?: boolean | null;
8
8
  variant: TiptapVariants;
9
9
  files?: ApiAttachment[];
10
+ pills?: Object[];
10
11
  }
@@ -1,5 +1,6 @@
1
1
  export interface BDModalProps {
2
2
  title?: string;
3
+ titleImage?: string;
3
4
  submitButtonTitle?: string;
4
5
  closeButtonTitle?: string;
5
6
  hideFooterCancelButton: boolean;
@@ -0,0 +1,8 @@
1
+ export interface BDPillProps {
2
+ imgSrc?: string;
3
+ uri?: string;
4
+ uriDisplayName?: string;
5
+ title?: string;
6
+ subtitle?: string;
7
+ showClose?: boolean;
8
+ }
@@ -133,6 +133,11 @@
133
133
  margin-top: 20px;
134
134
  line-height:normal;
135
135
  }
136
+
137
+ .title-image {
138
+ height: 31px;
139
+ margin-right: 10px;
140
+ }
136
141
  }
137
142
  }
138
143
  }
@@ -0,0 +1,89 @@
1
+ .pills-list {
2
+ &__wrapper {
3
+ margin-bottom: 20px;
4
+
5
+ .bd-chat-cloud-card__footer &{
6
+ margin-bottom: 0px;
7
+ }
8
+
9
+ }
10
+
11
+ &__ul {
12
+ display: flex;
13
+ justify-content: flex-start;
14
+ flex-flow: wrap;
15
+ list-style: none;
16
+ gap: 8px;
17
+ padding: 5px 0px;
18
+
19
+ .bd-chat-cloud-card__footer &{
20
+ padding: 0px;
21
+ }
22
+ }
23
+
24
+ &__li {
25
+ max-width: 300px;
26
+ overflow: auto;
27
+ margin: 5px 5px 0px 0px;
28
+ }
29
+ }
30
+
31
+ .bd-pill {
32
+ display: flex;
33
+ height: 72px;
34
+ width: auto;
35
+ background: #f0f7ff;
36
+ border-radius: 8px;
37
+ border: 1px solid #d9ecff;
38
+ overflow: hidden;
39
+ position: relative;
40
+
41
+ &__logo {
42
+ height: inherit;
43
+ padding: 16px;
44
+ margin: 0px;
45
+ border-right: 1px solid #d9ecff;
46
+ }
47
+
48
+ &__description {
49
+ padding: 8px 16px;
50
+ display: flex;
51
+ flex-direction: column;
52
+ overflow: hidden;
53
+ }
54
+
55
+ &__link {
56
+ font-size: 12px;
57
+ line-height: 14px;
58
+ text-decoration: none;
59
+ svg.icon {
60
+ fill: $blue;
61
+ display: inline-block;
62
+ position: relative;
63
+ }
64
+ &:hover {
65
+ text-decoration: underline;
66
+ }
67
+
68
+ }
69
+
70
+ &__title {
71
+ font-size: 18px;
72
+ line-height: 23px;
73
+ font-weight: 700;
74
+ overflow: hidden;
75
+ white-space: nowrap;
76
+ text-overflow: ellipsis;
77
+ }
78
+
79
+ &__subtitle {
80
+ font-size: 13px;
81
+ line-height: 15px;
82
+ font-weight: 400;
83
+
84
+ color: hsla(221, 13%, 48%, 1);
85
+ overflow: hidden;
86
+ white-space: nowrap;
87
+ text-overflow: ellipsis;
88
+ }
89
+ }
@@ -25,4 +25,5 @@
25
25
  @import "chatcloud";
26
26
  @import "table";
27
27
  @import "table-sort-header";
28
- @import "templates";
28
+ @import "templates";
29
+ @import "pill";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.33.0",
4
+ "version": "0.35.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"