@beterdichtbij/component-library 0.36.5 → 0.38.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.
@@ -1,28 +1,6 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
- import { type ChangePasswordData } from '../../../types/ChangePasswordData';
3
- import { type ValidationChangePasswordData } from '../../../types/ValidationChangePasswordData';
4
2
  declare const _sfc_main: import("vue").DefineComponent<{
5
- data: {
6
- type: __PropType<ChangePasswordData>;
7
- required: true;
8
- };
9
- validation: {
10
- type: __PropType<ValidationChangePasswordData>;
11
- required: true;
12
- };
13
- serverErrors: {
14
- type: __PropType<string[] | null>;
15
- required: true;
16
- };
17
- errorMessages: {
18
- type: __PropType<string[] | null>;
19
- required: true;
20
- };
21
- errorMessageText: {
22
- type: __PropType<string>;
23
- required: true;
24
- };
25
- title: {
3
+ templateTitle: {
26
4
  type: __PropType<string>;
27
5
  required: true;
28
6
  };
@@ -50,28 +28,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
50
28
  type: __PropType<string>;
51
29
  required: true;
52
30
  };
53
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset")[], "submit" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
- data: {
55
- type: __PropType<ChangePasswordData>;
31
+ successText: {
32
+ type: __PropType<string>;
56
33
  required: true;
57
34
  };
58
- validation: {
59
- type: __PropType<ValidationChangePasswordData>;
35
+ failureText: {
36
+ type: __PropType<string>;
60
37
  required: true;
61
38
  };
62
- serverErrors: {
63
- type: __PropType<string[] | null>;
39
+ requiredText: {
40
+ type: __PropType<string>;
64
41
  required: true;
65
42
  };
66
- errorMessages: {
67
- type: __PropType<string[] | null>;
43
+ incompatibleText: {
44
+ type: __PropType<string>;
68
45
  required: true;
69
46
  };
70
- errorMessageText: {
47
+ minimalRequirementsText: {
71
48
  type: __PropType<string>;
72
49
  required: true;
73
50
  };
74
- title: {
51
+ submitPassword: {
52
+ type: __PropType<Function>;
53
+ required: true;
54
+ };
55
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
+ templateTitle: {
75
57
  type: __PropType<string>;
76
58
  required: true;
77
59
  };
@@ -99,8 +81,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
99
81
  type: __PropType<string>;
100
82
  required: true;
101
83
  };
102
- }>> & {
103
- onSubmit?: ((...args: any[]) => any) | undefined;
104
- onReset?: ((...args: any[]) => any) | undefined;
105
- }, {}, {}>;
84
+ successText: {
85
+ type: __PropType<string>;
86
+ required: true;
87
+ };
88
+ failureText: {
89
+ type: __PropType<string>;
90
+ required: true;
91
+ };
92
+ requiredText: {
93
+ type: __PropType<string>;
94
+ required: true;
95
+ };
96
+ incompatibleText: {
97
+ type: __PropType<string>;
98
+ required: true;
99
+ };
100
+ minimalRequirementsText: {
101
+ type: __PropType<string>;
102
+ required: true;
103
+ };
104
+ submitPassword: {
105
+ type: __PropType<Function>;
106
+ required: true;
107
+ };
108
+ }>>, {}, {}>;
106
109
  export default _sfc_main;
@@ -0,0 +1,45 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ submitButtonTitle?: any;
3
+ modalTitle?: any;
4
+ phoneNumberLabel?: any;
5
+ phoneNumberUnchangedText?: any;
6
+ confirmationCodeLabel?: any;
7
+ confirmationCodeRequiredText?: any;
8
+ confirmationCodeSentText?: any;
9
+ editSuccessText?: any;
10
+ editCanceledText?: any;
11
+ sendConfirmationCodeText?: any;
12
+ startPhoneNumberUpdate?: any;
13
+ confirmPhoneNumberUpdate?: any;
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("startPhoneNumberUpdate" | "confirmPhoneNumberUpdate" | "setPhoneNumber")[], "startPhoneNumberUpdate" | "confirmPhoneNumberUpdate" | "setPhoneNumber", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
15
+ submitButtonTitle?: any;
16
+ modalTitle?: any;
17
+ phoneNumberLabel?: any;
18
+ phoneNumberUnchangedText?: any;
19
+ confirmationCodeLabel?: any;
20
+ confirmationCodeRequiredText?: any;
21
+ confirmationCodeSentText?: any;
22
+ editSuccessText?: any;
23
+ editCanceledText?: any;
24
+ sendConfirmationCodeText?: any;
25
+ startPhoneNumberUpdate?: any;
26
+ confirmPhoneNumberUpdate?: any;
27
+ }>>> & {
28
+ onStartPhoneNumberUpdate?: ((...args: any[]) => any) | undefined;
29
+ onConfirmPhoneNumberUpdate?: ((...args: any[]) => any) | undefined;
30
+ onSetPhoneNumber?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ readonly submitButtonTitle?: any;
33
+ readonly modalTitle?: any;
34
+ readonly phoneNumberLabel?: any;
35
+ readonly phoneNumberUnchangedText?: any;
36
+ readonly confirmationCodeLabel?: any;
37
+ readonly confirmationCodeRequiredText?: any;
38
+ readonly confirmationCodeSentText?: any;
39
+ readonly editSuccessText?: any;
40
+ readonly editCanceledText?: any;
41
+ readonly sendConfirmationCodeText?: any;
42
+ readonly startPhoneNumberUpdate?: any;
43
+ readonly confirmPhoneNumberUpdate?: any;
44
+ }, {}>;
45
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDPhoneNumberEditModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/BDPhoneNumberEditModal/BDPhoneNumberEditModal.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mIAAmI,CAAC;AAC1J,cAAc,mIAAmI,CAAC;AAClJ,eAAe,SAAS,CAAC"}
package/dist/index.d.ts CHANGED
@@ -34,6 +34,7 @@ import BDChangePasswordTemplate from "./components/organisms/BDChangePasswordTem
34
34
  import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
35
35
  import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
36
36
  import BDImageAttachmentModal from "./components/organisms/BDImageAttachmentModal/BDImageAttachmentModal.vue";
37
+ import BDPhoneNumberEditModal from "./components/organisms/BDPhoneNumberEditModal/BDPhoneNumberEditModal.vue";
37
38
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
38
39
  import { useModal } from "./composables/useModal";
39
40
  import { useServerErrors } from "./composables/useServerErrors";
@@ -42,6 +43,8 @@ import { useValidation } from "./composables/useValidation";
42
43
  import useZoom from "./composables/useZoom";
43
44
  import { vBdTooltip } from "./directives/BDTooltip";
44
45
  import { type ChangePasswordData } from './types/ChangePasswordData';
46
+ import { type ConfirmPhoneNumberUpdateData } from './types/ConfirmPhoneNumberUpdateData';
47
+ import { type StartPhoneNumberUpdateData } from './types/StartPhoneNumberUpdateData';
45
48
  import { type ValidationChangePasswordData } from './types/ValidationChangePasswordData';
46
49
  import { getDisplayDate } from "./utils/display-date";
47
- 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, 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, useZoom, vBdTooltip, getDisplayDate, };
50
+ 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, 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, useToaster, useValidation, useZoom, vBdTooltip, getDisplayDate, };
@@ -0,0 +1,9 @@
1
+ .change-password-template {
2
+ .alert-danger {
3
+ ul {
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,13 @@
1
+ #phone-number-edit-modal {
2
+ #form-input-telefoonnummer {
3
+ flex: 1;
4
+ }
5
+
6
+ .alert-danger {
7
+ ul {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+ }
13
+ }
@@ -27,3 +27,4 @@
27
27
  @import "table-sort-header";
28
28
  @import "templates";
29
29
  @import "pill";
30
+ @import "phone-number-edit-modal";
@@ -0,0 +1,4 @@
1
+ export interface ConfirmPhoneNumberUpdateData {
2
+ requestIdentifier: string;
3
+ token: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface StartPhoneNumberUpdateData {
2
+ newPhonenumber: string;
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.36.5",
4
+ "version": "0.38.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"