@beterdichtbij/component-library 0.39.1 → 0.40.1

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.
@@ -1,5 +1,15 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
2
  declare const _sfc_main: import("vue").DefineComponent<{
3
+ src: {
4
+ type: __PropType<string>;
5
+ required: true;
6
+ default: string;
7
+ };
8
+ username: {
9
+ type: __PropType<string | null>;
10
+ required: true;
11
+ default: null;
12
+ };
3
13
  showFooter: {
4
14
  type: __PropType<boolean>;
5
15
  required: true;
@@ -15,17 +25,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
15
25
  required: true;
16
26
  default: string;
17
27
  };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
29
  src: {
19
30
  type: __PropType<string>;
20
31
  required: true;
21
32
  default: string;
22
33
  };
23
- alt: {
24
- type: __PropType<string | undefined>;
25
- required: false;
26
- default: string;
34
+ username: {
35
+ type: __PropType<string | null>;
36
+ required: true;
37
+ default: null;
27
38
  };
28
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
39
  showFooter: {
30
40
  type: __PropType<boolean>;
31
41
  required: true;
@@ -41,23 +51,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
41
51
  required: true;
42
52
  default: string;
43
53
  };
44
- src: {
45
- type: __PropType<string>;
46
- required: true;
47
- default: string;
48
- };
49
- alt: {
50
- type: __PropType<string | undefined>;
51
- required: false;
52
- default: string;
53
- };
54
54
  }>> & {
55
55
  onClick?: ((...args: any[]) => any) | undefined;
56
56
  }, {
57
57
  src: string;
58
+ username: string | null;
58
59
  size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
59
60
  showFooter: boolean;
60
61
  linkText: string;
61
- alt: string | undefined;
62
62
  }, {}>;
63
63
  export default _sfc_main;
@@ -10,10 +10,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
10
10
  required: false;
11
11
  default: undefined;
12
12
  };
13
- AltProfileImage: {
14
- type: __PropType<string>;
13
+ username: {
14
+ type: __PropType<string | null>;
15
15
  required: true;
16
- default: string;
16
+ default: null;
17
17
  };
18
18
  message: {
19
19
  type: __PropType<string>;
@@ -46,10 +46,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
46
46
  required: false;
47
47
  default: undefined;
48
48
  };
49
- AltProfileImage: {
50
- type: __PropType<string>;
49
+ username: {
50
+ type: __PropType<string | null>;
51
51
  required: true;
52
- default: string;
52
+ default: null;
53
53
  };
54
54
  message: {
55
55
  type: __PropType<string>;
@@ -77,7 +77,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
77
77
  }, {
78
78
  headerTitle: string;
79
79
  src: string | undefined;
80
- AltProfileImage: string;
80
+ username: string | null;
81
81
  message: string;
82
82
  isSender: boolean;
83
83
  files: import("../../../types/ApiAttachment").ApiAttachment[] | undefined;
@@ -6,7 +6,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
6
6
  default: string;
7
7
  };
8
8
  img: {
9
- type: __PropType<import("../../../interfaces/BDImage").ImageProps>;
9
+ type: __PropType<import("../../../interfaces/BDImageProps").BDImageProps>;
10
10
  required: true;
11
11
  default: undefined;
12
12
  };
@@ -27,7 +27,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
27
  default: string;
28
28
  };
29
29
  img: {
30
- type: __PropType<import("../../../interfaces/BDImage").ImageProps>;
30
+ type: __PropType<import("../../../interfaces/BDImageProps").BDImageProps>;
31
31
  required: true;
32
32
  default: undefined;
33
33
  };
@@ -43,7 +43,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
43
43
  };
44
44
  }>>, {
45
45
  name: string;
46
- img: import("../../../interfaces/BDImage").ImageProps;
46
+ img: import("../../../interfaces/BDImageProps").BDImageProps;
47
47
  details: string | string[];
48
48
  hideImage: boolean;
49
49
  }, {}>;
@@ -0,0 +1,2 @@
1
+ import { Ref } from "vue";
2
+ export default function usePopover(button: Ref<any>): void;
@@ -0,0 +1,3 @@
1
+ export default function useWindow(): {
2
+ OnWindowLoaded: (hook: any) => void;
3
+ };
package/dist/index.d.ts CHANGED
@@ -38,10 +38,12 @@ import BDPhoneNumberEditModal from "./components/organisms/BDPhoneNumberEditModa
38
38
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
39
39
  import BDSessionTimeOutModal from "./components/organisms/BDSessionTimeOutModal/BDSessionTimeOutModal.vue";
40
40
  import { useModal } from "./composables/useModal";
41
+ import usePopover from "./composables/usePopover";
41
42
  import { useServerErrors } from "./composables/useServerErrors";
42
43
  import { useSessionTimeOut } from "./composables/useSessionTimeOut";
43
44
  import { useToaster } from "./composables/useToaster";
44
45
  import { useValidation } from "./composables/useValidation";
46
+ import useWindow from "./composables/useWindow";
45
47
  import useZoom from "./composables/useZoom";
46
48
  import { vBdTooltip } from "./directives/BDTooltip";
47
49
  import { type ChangePasswordData } from './types/ChangePasswordData';
@@ -49,4 +51,4 @@ import { type ConfirmPhoneNumberUpdateData } from './types/ConfirmPhoneNumberUpd
49
51
  import { type StartPhoneNumberUpdateData } from './types/StartPhoneNumberUpdateData';
50
52
  import { type ValidationChangePasswordData } from './types/ValidationChangePasswordData';
51
53
  import { getDisplayDate } from "./utils/display-date";
52
- 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, BDImageAttachmentModal, BDPhoneNumberEditModal, BDSessionTimeOutModal, 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, ConfirmPhoneNumberUpdateData, StartPhoneNumberUpdateData, ValidationChangePasswordData, useModal, useServerErrors, useSessionTimeOut, useToaster, useValidation, useZoom, vBdTooltip, getDisplayDate, };
54
+ 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, BDImageAttachmentModal, BDPhoneNumberEditModal, BDSessionTimeOutModal, 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, ConfirmPhoneNumberUpdateData, StartPhoneNumberUpdateData, ValidationChangePasswordData, useModal, usePopover, useServerErrors, useSessionTimeOut, useToaster, useValidation, useWindow, useZoom, vBdTooltip, getDisplayDate, };
@@ -2,7 +2,7 @@ import { ApiAttachment } from '../types/ApiAttachment';
2
2
  export interface BDChatCloudProps {
3
3
  headerTitle: string;
4
4
  src?: string;
5
- AltProfileImage: string;
5
+ username: string | null;
6
6
  message: string;
7
7
  isSender: boolean;
8
8
  files?: ApiAttachment[];
@@ -0,0 +1,4 @@
1
+ export interface BDImageProps {
2
+ src: string;
3
+ alt?: string;
4
+ }
@@ -1,9 +1,7 @@
1
1
  import { bootstrapSizes } from '../types/BootstrapSizes';
2
- export interface ImageProps {
2
+ export interface BDProfileImageProps {
3
3
  src: string;
4
- alt?: string;
5
- }
6
- export interface BDProfileImageProps extends ImageProps {
4
+ username: string | null;
7
5
  showFooter: boolean;
8
6
  size?: bootstrapSizes;
9
7
  linkText: string;
@@ -1,7 +1,7 @@
1
- import { ImageProps } from "./BDImage";
1
+ import { BDImageProps } from "./BDImageProps";
2
2
  export interface BDUserProps {
3
3
  name: string;
4
- img: ImageProps;
4
+ img: BDImageProps;
5
5
  details: string[] | string;
6
6
  hideImage: boolean;
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.39.1",
4
+ "version": "0.40.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"