@beterdichtbij/component-library 0.41.3 → 0.42.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 (38) hide show
  1. package/dist/bd-component-lib.cjs.js +36 -36
  2. package/dist/bd-component-lib.es.js +5292 -5135
  3. package/dist/bd-component-lib.umd.js +35 -35
  4. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +1 -1
  5. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +2 -2
  6. package/dist/components/atoms/BDButton/BDButton.vue.d.ts +1 -1
  7. package/dist/components/atoms/BDCard/BDCard.vue.d.ts +2 -2
  8. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts +1 -1
  9. package/dist/components/atoms/BDForm/BDForm.vue.d.ts +2 -2
  10. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +4 -4
  11. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +6 -6
  12. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +4 -4
  13. package/dist/components/atoms/BDLink/BDLink.vue.d.ts +1 -1
  14. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +1 -1
  15. package/dist/components/atoms/BDToast/BDToast.vue.d.ts +2 -2
  16. package/dist/components/atoms/BDUserInformation/BDUserInformation.vue.d.ts +14 -0
  17. package/dist/components/atoms/BDUserInformation/BDUserInformation.vue.d.ts.map +1 -0
  18. package/dist/components/molecules/BDChatCloud/BDChatCloud.vue.d.ts +3 -3
  19. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts +1 -1
  20. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +3 -3
  21. package/dist/components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue.d.ts +1 -1
  22. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +5 -5
  23. package/dist/components/molecules/BDMobileMenu/BDMobileMenu.vue.d.ts +2 -2
  24. package/dist/components/molecules/BDTable/BDTable.vue.d.ts +3 -3
  25. package/dist/components/molecules/BDUser/BDUser.vue.d.ts +2 -2
  26. package/dist/components/molecules/BDVideoCallToast/BDVideoCallToast.vue.d.ts +65 -0
  27. package/dist/components/molecules/BDVideoCallToast/BDVideoCallToast.vue.d.ts.map +1 -0
  28. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +2 -2
  29. package/dist/components/organisms/BDModal/BDModal.vue.d.ts +3 -3
  30. package/dist/interfaces/BDVideoCallToastLocalization.d.ts +15 -0
  31. package/dist/scss/_button.scss +1 -0
  32. package/dist/scss/_user-information.scss +27 -0
  33. package/dist/scss/_video-call-toast.scss +101 -0
  34. package/dist/scss/component-library-styling.scss +2 -1
  35. package/dist/types/ButtonColorVariants.d.ts +1 -0
  36. package/dist/utils/array.d.ts +1 -0
  37. package/package.json +1 -1
  38. package/dist/index.d.ts +0 -54
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
22
  default: string;
23
23
  };
24
24
  }>>, {
25
- variant: import('../../../types/BootstrapVariants').bootstrapVariants | undefined;
26
25
  title: string | undefined;
26
+ variant: import('../../../types/BootstrapVariants').bootstrapVariants | undefined;
27
27
  }, {}>;
28
28
  export default _sfc_main;
@@ -52,9 +52,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
52
52
  }>> & {
53
53
  onClick?: ((...args: any[]) => any) | undefined;
54
54
  }, {
55
- text: string | undefined;
56
55
  title: string | undefined;
57
- hideFooter: boolean | undefined;
56
+ text: string | undefined;
58
57
  hideBody: boolean | undefined;
58
+ hideFooter: boolean | undefined;
59
59
  }, {}>;
60
60
  export default _sfc_main;
@@ -76,8 +76,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
76
76
  }>> & {
77
77
  onClick?: ((...args: any[]) => any) | undefined;
78
78
  }, {
79
- size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
80
79
  variant: import('../../../types/ButtonColorVariants').btnColorVariants | undefined;
80
+ size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
81
81
  blockElement: boolean | undefined;
82
82
  disabled: boolean | undefined;
83
83
  }, {}>;
@@ -82,13 +82,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
82
82
  default: string;
83
83
  };
84
84
  }>>, {
85
- class: string | undefined;
86
85
  title: string | undefined;
86
+ id: number | undefined;
87
+ class: string | undefined;
87
88
  noHeader: boolean | undefined;
88
89
  noBody: boolean | undefined;
89
90
  headerClass: string | undefined;
90
91
  bodyClass: string | undefined;
91
- id: number | undefined;
92
92
  headerVariant: string | undefined;
93
93
  }, {}>;
94
94
  export default _sfc_main;
@@ -42,8 +42,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  default: boolean;
43
43
  };
44
44
  }>>, {
45
- disabled: boolean;
46
45
  title: string;
46
+ disabled: boolean;
47
47
  showOn: import('../../../types/BootstrapSizes').bootstrapSizes;
48
48
  visible: boolean;
49
49
  }, {}>;
@@ -1,5 +1,5 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset")[], "submit" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
- onSubmit?: ((...args: any[]) => any) | undefined;
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit")[], "reset" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
3
2
  onReset?: ((...args: any[]) => any) | undefined;
3
+ onSubmit?: ((...args: any[]) => any) | undefined;
4
4
  }, {}, {}>;
5
5
  export default _sfc_main;
@@ -20,7 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
20
20
  required: true;
21
21
  default: undefined;
22
22
  };
23
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "input")[], "update:modelValue" | "change" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  modelValue: {
25
25
  type: __PropType<string | boolean | string[]>;
26
26
  required: true;
@@ -42,13 +42,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  default: undefined;
43
43
  };
44
44
  }>> & {
45
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
45
  onChange?: ((...args: any[]) => any) | undefined;
47
46
  onInput?: ((...args: any[]) => any) | undefined;
47
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
48
  }, {
49
- modelValue: string | boolean | string[];
50
- state: import("../../../types/ValidationState").ValidationStateType;
51
49
  value: string | boolean;
50
+ modelValue: string | boolean | string[];
52
51
  uncheckedValue: string | boolean;
52
+ state: import("../../../types/ValidationState").ValidationStateType;
53
53
  }, {}>;
54
54
  export default _sfc_main;
@@ -90,7 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
90
90
  required: true;
91
91
  default: undefined;
92
92
  };
93
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue" | "blur" | "enter")[], "click" | "update:modelValue" | "blur" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
93
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "blur" | "update:modelValue" | "enter")[], "click" | "blur" | "update:modelValue" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
94
94
  modelValue: {
95
95
  type: __PropType<string | undefined>;
96
96
  required: false;
@@ -182,28 +182,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
182
182
  default: undefined;
183
183
  };
184
184
  }>> & {
185
+ onBlur?: ((...args: any[]) => any) | undefined;
185
186
  onClick?: ((...args: any[]) => any) | undefined;
186
187
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
187
- onBlur?: ((...args: any[]) => any) | undefined;
188
188
  onEnter?: ((...args: any[]) => any) | undefined;
189
189
  }, {
190
+ label: string | undefined;
191
+ mask: string;
190
192
  type: string;
191
193
  size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
192
194
  disabled: boolean | null | undefined;
195
+ autofocus: boolean | null | undefined;
193
196
  modelValue: string | undefined;
197
+ state: boolean | null | undefined;
194
198
  formGroupClass: string | undefined;
195
- label: string | undefined;
196
199
  labelClass: string | undefined;
197
200
  formFieldClass: string | undefined;
198
201
  inputClass: string | undefined;
199
202
  placeholder: string | undefined;
200
- state: boolean | null | undefined;
201
203
  readonly: boolean | null | undefined;
202
- autofocus: boolean | null | undefined;
203
204
  tabindex: number | null | undefined;
204
205
  invalidFeedbackClass: string | undefined;
205
206
  invalidFeedbackText: string | undefined;
206
207
  delayTimeMs: number | undefined;
207
- mask: string;
208
208
  }, {}>;
209
209
  export default _sfc_main;
@@ -29,7 +29,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
29
  required: false;
30
30
  default: null;
31
31
  };
32
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "input")[], "update:modelValue" | "change" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
33
  size: {
34
34
  type: __PropType<import('../../../types/BootstrapSizes').bootstrapSizes | undefined>;
35
35
  required: false;
@@ -60,14 +60,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
60
60
  default: null;
61
61
  };
62
62
  }>> & {
63
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
64
63
  onChange?: ((...args: any[]) => any) | undefined;
65
64
  onInput?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
66
  }, {
67
67
  size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
68
- modelValue: string | number;
69
- state: import("../../../types/ValidationState").ValidationStateType | undefined;
70
68
  autofocus: boolean | undefined;
71
69
  options: import("../../../types/BDOption").BDOption[] | import("../../../types/BDOptionGroup").BDOptionGroup[] | undefined;
70
+ modelValue: string | number;
71
+ state: import("../../../types/ValidationState").ValidationStateType | undefined;
72
72
  }, {}>;
73
73
  export default _sfc_main;
@@ -42,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  default: string;
43
43
  };
44
44
  }>>, {
45
+ text: string | undefined;
45
46
  to: string | object;
46
47
  target: string | undefined;
47
- text: string | undefined;
48
48
  rel: string | undefined;
49
49
  }, {}>;
50
50
  export default _sfc_main;
@@ -44,9 +44,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
44
44
  }>> & {
45
45
  onClick?: ((...args: any[]) => any) | undefined;
46
46
  }, {
47
+ size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
47
48
  src: string;
48
49
  username: string | null;
49
- size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
50
50
  linkText: string | null;
51
51
  }, {}>;
52
52
  export default _sfc_main;
@@ -40,8 +40,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
40
40
  default: string;
41
41
  };
42
42
  }>>, {
43
- variant: import('../../../types/ToastVariants').toastVariants | undefined;
44
- text: string | undefined;
45
43
  title: string | undefined;
44
+ text: string | undefined;
45
+ variant: import('../../../types/ToastVariants').toastVariants | undefined;
46
46
  }, {}>;
47
47
  export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ const name: string;
4
+ namespace props {
5
+ namespace value {
6
+ const type: ObjectConstructor;
7
+ }
8
+ namespace showProfilePicture {
9
+ const type_1: BooleanConstructor;
10
+ export { type_1 as type };
11
+ }
12
+ }
13
+ function render(): any;
14
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDUserInformation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDUserInformation/BDUserInformation.vue"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS;;;;;;;;;;;CA8Cd,CAAC;AAKF,eAAe,SAAS,CAAA"}
@@ -75,12 +75,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
75
75
  "onShow-attachment"?: ((...args: any[]) => any) | undefined;
76
76
  onAction?: ((...args: any[]) => any) | undefined;
77
77
  }, {
78
- headerTitle: string;
78
+ message: string;
79
79
  src: string | undefined;
80
80
  username: string | null;
81
- message: string;
82
- isSender: boolean;
83
81
  files: import("../../../types/ApiAttachment").ApiAttachment[] | undefined;
82
+ headerTitle: string;
83
+ isSender: boolean;
84
84
  pills: Object[] | undefined;
85
85
  }, {}>;
86
86
  export default _sfc_main;
@@ -44,9 +44,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
44
44
  }>> & {
45
45
  onClick?: ((...args: any[]) => any) | undefined;
46
46
  }, {
47
+ text: string | undefined;
47
48
  to: string | object;
48
49
  target: string | undefined;
49
- text: string | undefined;
50
50
  rel: string | undefined;
51
51
  }, {}>;
52
52
  export default _sfc_main;
@@ -37,7 +37,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
37
37
  default: string;
38
38
  };
39
39
  tag: {
40
- type: __PropType<"form" | "div" | undefined>;
40
+ type: __PropType<"div" | "form" | undefined>;
41
41
  required: false;
42
42
  default: string;
43
43
  };
@@ -83,7 +83,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
83
83
  default: string;
84
84
  };
85
85
  tag: {
86
- type: __PropType<"form" | "div" | undefined>;
86
+ type: __PropType<"div" | "form" | undefined>;
87
87
  required: false;
88
88
  default: string;
89
89
  };
@@ -102,7 +102,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
102
102
  fileSizeExceededMessage: string | undefined;
103
103
  acceptedFiles: string;
104
104
  url: string;
105
- tag: "form" | "div" | undefined;
105
+ tag: "div" | "form" | undefined;
106
106
  token: string;
107
107
  }, {}>;
108
108
  export default _sfc_main;
@@ -21,7 +21,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  required: true;
22
22
  default: boolean;
23
23
  };
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "show")[], "delete" | "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "delete")[], "show" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  fastDownload: {
26
26
  type: __PropType<boolean>;
27
27
  required: true;
@@ -34,7 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
34
34
  type: __PropType<string>;
35
35
  required: true;
36
36
  };
37
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("action" | "update:modelValue" | "upload")[], "action" | "update:modelValue" | "upload", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "action" | "upload")[], "update:modelValue" | "action" | "upload", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
38
  placeholder: {
39
39
  type: __PropType<string | undefined>;
40
40
  required: false;
@@ -70,15 +70,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
70
70
  required: true;
71
71
  };
72
72
  }>> & {
73
- onAction?: ((...args: any[]) => any) | undefined;
74
73
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
74
+ onAction?: ((...args: any[]) => any) | undefined;
75
75
  onUpload?: ((...args: any[]) => any) | undefined;
76
76
  }, {
77
- files: import("../../../types/ApiAttachment").ApiAttachment[] | undefined;
78
- pills: Object[] | undefined;
79
77
  variant: import('../../../types/tiptapVariants').TiptapVariants;
80
- placeholder: string | undefined;
81
78
  state: boolean | null | undefined;
79
+ placeholder: string | undefined;
80
+ files: import("../../../types/ApiAttachment").ApiAttachment[] | undefined;
81
+ pills: Object[] | undefined;
82
82
  errorText: string | undefined;
83
83
  }, {}>;
84
84
  export default _sfc_main;
@@ -10,7 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
10
10
  type: __PropType<BDLinkProps[]>;
11
11
  required: true;
12
12
  };
13
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("signout" | "hide")[], "signout" | "hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "signout")[], "hide" | "signout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  active: {
15
15
  type: __PropType<boolean | undefined>;
16
16
  required: false;
@@ -21,8 +21,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  required: true;
22
22
  };
23
23
  }>> & {
24
- onSignout?: ((...args: any[]) => any) | undefined;
25
24
  onHide?: ((...args: any[]) => any) | undefined;
25
+ onSignout?: ((...args: any[]) => any) | undefined;
26
26
  }, {
27
27
  active: boolean | undefined;
28
28
  }, {}>;
@@ -1,25 +1,25 @@
1
1
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ sortDesc?: any;
2
3
  fields?: any;
3
4
  items?: any;
4
5
  sortBy?: any;
5
- sortDesc?: any;
6
6
  tbodyTrClass?: any;
7
7
  emptyText?: any;
8
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("row-click" | "sort-changed")[], "row-click" | "sort-changed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
9
+ sortDesc?: any;
9
10
  fields?: any;
10
11
  items?: any;
11
12
  sortBy?: any;
12
- sortDesc?: any;
13
13
  tbodyTrClass?: any;
14
14
  emptyText?: any;
15
15
  }>>> & {
16
16
  "onRow-click"?: ((...args: any[]) => any) | undefined;
17
17
  "onSort-changed"?: ((...args: any[]) => any) | undefined;
18
18
  }, {
19
+ readonly sortDesc?: any;
19
20
  readonly fields?: any;
20
21
  readonly items?: any;
21
22
  readonly sortBy?: any;
22
- readonly sortDesc?: any;
23
23
  readonly tbodyTrClass?: any;
24
24
  readonly emptyText?: any;
25
25
  }, {}>;
@@ -42,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  default: boolean;
43
43
  };
44
44
  }>>, {
45
- name: string;
46
- img: import("../../../interfaces/BDImageProps").BDImageProps;
47
45
  details: string | string[];
46
+ img: import("../../../interfaces/BDImageProps").BDImageProps;
47
+ name: string;
48
48
  hideImage: boolean;
49
49
  }, {}>;
50
50
  export default _sfc_main;
@@ -0,0 +1,65 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import BDVideoCallToastLocalization from '../../../interfaces/BDVideoCallToastLocalization';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ id: {
5
+ type: __PropType<string | null | undefined>;
6
+ required: false;
7
+ };
8
+ contactInfoReceiver: {
9
+ type: __PropType<any>;
10
+ required: false;
11
+ };
12
+ isSender: {
13
+ type: __PropType<boolean | undefined>;
14
+ required: false;
15
+ };
16
+ firstNameSender: {
17
+ type: __PropType<string | undefined>;
18
+ required: false;
19
+ };
20
+ canceled: {
21
+ type: __PropType<boolean | undefined>;
22
+ required: false;
23
+ };
24
+ disabled: {
25
+ type: __PropType<boolean | undefined>;
26
+ required: false;
27
+ };
28
+ localization: {
29
+ type: __PropType<BDVideoCallToastLocalization>;
30
+ required: true;
31
+ };
32
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reject-video-call" | "accept-video-call")[], "reject-video-call" | "accept-video-call", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ id: {
34
+ type: __PropType<string | null | undefined>;
35
+ required: false;
36
+ };
37
+ contactInfoReceiver: {
38
+ type: __PropType<any>;
39
+ required: false;
40
+ };
41
+ isSender: {
42
+ type: __PropType<boolean | undefined>;
43
+ required: false;
44
+ };
45
+ firstNameSender: {
46
+ type: __PropType<string | undefined>;
47
+ required: false;
48
+ };
49
+ canceled: {
50
+ type: __PropType<boolean | undefined>;
51
+ required: false;
52
+ };
53
+ disabled: {
54
+ type: __PropType<boolean | undefined>;
55
+ required: false;
56
+ };
57
+ localization: {
58
+ type: __PropType<BDVideoCallToastLocalization>;
59
+ required: true;
60
+ };
61
+ }>> & {
62
+ "onReject-video-call"?: ((...args: any[]) => any) | undefined;
63
+ "onAccept-video-call"?: ((...args: any[]) => any) | undefined;
64
+ }, {}, {}>;
65
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDVideoCallToast.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/BDVideoCallToast/BDVideoCallToast.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uHAAuH,CAAC;AAC9I,cAAc,uHAAuH,CAAC;AACtI,eAAe,SAAS,CAAC"}
@@ -90,9 +90,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
90
90
  default: undefined;
91
91
  };
92
92
  }>>, {
93
- size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
94
- variant: import('../../../types/BootstrapVariants').bootstrapVariants | undefined;
95
93
  text: string | undefined;
94
+ variant: import('../../../types/BootstrapVariants').bootstrapVariants | undefined;
95
+ size: import('../../../types/BootstrapSizes').bootstrapSizes | undefined;
96
96
  right: boolean | undefined;
97
97
  noFlip: boolean | undefined;
98
98
  toggleTag: string;
@@ -50,7 +50,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
50
50
  required: true;
51
51
  default: string;
52
52
  };
53
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "cancel")[], "submit" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "submit")[], "cancel" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
54
  title: {
55
55
  type: __PropType<string | undefined>;
56
56
  required: false;
@@ -105,14 +105,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
105
105
  onSubmit?: ((...args: any[]) => any) | undefined;
106
106
  onCancel?: ((...args: any[]) => any) | undefined;
107
107
  }, {
108
- size: string;
109
108
  title: string | undefined;
109
+ size: string;
110
+ hideFooter: boolean;
110
111
  titleImage: string | undefined;
111
112
  submitButtonTitle: string | undefined;
112
113
  closeButtonTitle: string | undefined;
113
114
  hideFooterCancelButton: boolean;
114
115
  hideFooterSubmitButton: boolean;
115
- hideFooter: boolean;
116
116
  hideCloseButton: boolean;
117
117
  disableSubmitButton: boolean;
118
118
  }, {}>;
@@ -0,0 +1,15 @@
1
+ export default interface BDVideoCallToastLocalization {
2
+ incomingVideoCall: string;
3
+ rejectVideoCall: string;
4
+ acceptVideoCall: string;
5
+ videoCallRejected: string;
6
+ videoCallAccepted: string;
7
+ videoCallCanceled: string;
8
+ notifyCallerWhenCanceled: string;
9
+ notifyCallerWhenRejected: string;
10
+ notifyReceiverWhenRejected: {
11
+ start: string;
12
+ end: string;
13
+ };
14
+ openNewTabWhenAccepted: string;
15
+ }
@@ -13,6 +13,7 @@ $btn-variants:
13
13
  "secondary" $font-color-primary $white $font-color-primary $gray-7 $gray 1px solid $gray,
14
14
  "danger" $white $red-text $white $red-dark none,
15
15
  "colleague" $white $green-text $white $green-dark none,
16
+ "success" $white $green $white $green-text none,
16
17
  "outline-primary" $font-color-primary $white $white $font-color-primary $gray-primary 1px solid $gray-primary,
17
18
  "outline-primary-dark" $font-color-primary transparent $white $font-color-primary $gray-primary 1px solid $gray-primary,
18
19
  "outline-tertiary" $black $white $black $gray-7 $gray-primary 1px solid $gray-primary,
@@ -0,0 +1,27 @@
1
+ .bd-user-information {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 16px;
5
+
6
+ &__profile-picture {
7
+ width: 48px;
8
+ height: 48px;
9
+ border: 1px solid rgba($color-black, 0.1);
10
+ border-radius: 50%;
11
+ object-fit: cover;
12
+ object-position: center;
13
+ }
14
+
15
+ &__header {
16
+ display: flex;
17
+ gap: 8px;
18
+ }
19
+
20
+ .bd-conversation-card & {
21
+ flex: 1;
22
+ }
23
+
24
+ .bd-conversation-card-patient & {
25
+ flex: none;
26
+ }
27
+ }
@@ -0,0 +1,101 @@
1
+ .bd-video-call-toast {
2
+ position: fixed;
3
+ top: 8px;
4
+ right: 8px;
5
+ z-index: 1005;
6
+ padding: 20px;
7
+ background-color: $color-darkblue;
8
+ color: $color-white;
9
+ min-height: 108px;
10
+ border-radius: 8px;
11
+ border: none;
12
+ box-shadow: 0 16px 24px -5px rgba($color-black, 0.25);
13
+
14
+ .toast-body {
15
+ padding: 20px;
16
+
17
+ &__title {
18
+ margin-bottom: 12px;
19
+ color: rgba($color-white, 0.8);
20
+ }
21
+
22
+ &__main {
23
+ .bd-user-information {
24
+ h4 {
25
+ color: $color-white;
26
+ }
27
+
28
+ small {
29
+ color: rgba($color-white, 0.8);
30
+ }
31
+ }
32
+
33
+ .actions {
34
+ display: flex;
35
+ gap: 12px;
36
+ margin-top: 12px;
37
+
38
+ button {
39
+ flex: 1;
40
+
41
+ svg {
42
+ margin: 0 10px 0 0;
43
+ }
44
+ }
45
+ }
46
+
47
+ &.is-handled {
48
+ display: flex;
49
+ align-items: center;
50
+ gap: 16px;
51
+
52
+ .icon-wrapper {
53
+ display: flex;
54
+ justify-content: center;
55
+ align-items: center;
56
+ flex-shrink: 0;
57
+ width: 48px;
58
+ height: 48px;
59
+ background-color: $color-stroke-gray;
60
+ border-radius: 50%;
61
+
62
+ svg {
63
+ width: 24px;
64
+ height: 24px;
65
+ transform: rotate(135deg);
66
+ left: 1px;
67
+ }
68
+ }
69
+
70
+ p {
71
+ margin-bottom: 0;
72
+
73
+ &.title {
74
+ font-weight: $font-medium;
75
+ }
76
+
77
+ &:last-of-type {
78
+ color: rgba($color-white, 0.8);
79
+ margin-top: 4px;
80
+ }
81
+ }
82
+
83
+ &--success {
84
+ .icon-wrapper {
85
+ background-color: $green;
86
+
87
+ svg {
88
+ transform: scaleX(-1);
89
+ }
90
+ }
91
+ }
92
+
93
+ &--canceled {
94
+ .icon-wrapper {
95
+ background-color: $color-red;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }