@beterdichtbij/component-library 0.37.0 → 0.39.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;
@@ -35,6 +35,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
35
  required: true;
36
36
  default: boolean;
37
37
  };
38
+ hideCloseButton: {
39
+ type: __PropType<boolean>;
40
+ required: true;
41
+ default: boolean;
42
+ };
38
43
  disableSubmitButton: {
39
44
  type: __PropType<boolean>;
40
45
  required: true;
@@ -81,6 +86,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
81
86
  required: true;
82
87
  default: boolean;
83
88
  };
89
+ hideCloseButton: {
90
+ type: __PropType<boolean>;
91
+ required: true;
92
+ default: boolean;
93
+ };
84
94
  disableSubmitButton: {
85
95
  type: __PropType<boolean>;
86
96
  required: true;
@@ -103,6 +113,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
103
113
  hideFooterCancelButton: boolean;
104
114
  hideFooterSubmitButton: boolean;
105
115
  hideFooter: boolean;
116
+ hideCloseButton: boolean;
106
117
  disableSubmitButton: boolean;
107
118
  }, {}>;
108
119
  export default _sfc_main;
@@ -0,0 +1,44 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ expiredTitle?: any;
3
+ expiredMessage?: any;
4
+ expiredButtonText?: any;
5
+ almostExpiredTitle?: any;
6
+ almostExpiredMessage?: any;
7
+ almostExpiredButtonText?: any;
8
+ almostExpiredCancelButtonText?: any;
9
+ threshold?: any;
10
+ warningThreshold?: any;
11
+ getTime?: any;
12
+ setTaskId?: any;
13
+ setNewTime?: any;
14
+ logout?: any;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
16
+ expiredTitle?: any;
17
+ expiredMessage?: any;
18
+ expiredButtonText?: any;
19
+ almostExpiredTitle?: any;
20
+ almostExpiredMessage?: any;
21
+ almostExpiredButtonText?: any;
22
+ almostExpiredCancelButtonText?: any;
23
+ threshold?: any;
24
+ warningThreshold?: any;
25
+ getTime?: any;
26
+ setTaskId?: any;
27
+ setNewTime?: any;
28
+ logout?: any;
29
+ }>>>, {
30
+ readonly expiredTitle?: any;
31
+ readonly expiredMessage?: any;
32
+ readonly expiredButtonText?: any;
33
+ readonly almostExpiredTitle?: any;
34
+ readonly almostExpiredMessage?: any;
35
+ readonly almostExpiredButtonText?: any;
36
+ readonly almostExpiredCancelButtonText?: any;
37
+ readonly threshold?: any;
38
+ readonly warningThreshold?: any;
39
+ readonly getTime?: any;
40
+ readonly setTaskId?: any;
41
+ readonly setNewTime?: any;
42
+ readonly logout?: any;
43
+ }, {}>;
44
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDSessionTimeOutModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/BDSessionTimeOutModal/BDSessionTimeOutModal.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iIAAiI,CAAC;AACxJ,cAAc,iIAAiI,CAAC;AAChJ,eAAe,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const useSessionTimeOut: (threshold: number | null, warningThreshold: number | null, getTime: Function, setTaskId: Function, setNewTime: Function, logout: Function) => {
2
+ IsExpired: import("vue").ComputedRef<boolean>;
3
+ Minutes: import("vue").ComputedRef<number>;
4
+ Seconds: import("vue").ComputedRef<number>;
5
+ OnLogOut: () => void;
6
+ OnSubmit: () => void;
7
+ };
package/dist/index.d.ts CHANGED
@@ -36,8 +36,10 @@ import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
36
36
  import BDImageAttachmentModal from "./components/organisms/BDImageAttachmentModal/BDImageAttachmentModal.vue";
37
37
  import BDPhoneNumberEditModal from "./components/organisms/BDPhoneNumberEditModal/BDPhoneNumberEditModal.vue";
38
38
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
39
+ import BDSessionTimeOutModal from "./components/organisms/BDSessionTimeOutModal/BDSessionTimeOutModal.vue";
39
40
  import { useModal } from "./composables/useModal";
40
41
  import { useServerErrors } from "./composables/useServerErrors";
42
+ import { useSessionTimeOut } from "./composables/useSessionTimeOut";
41
43
  import { useToaster } from "./composables/useToaster";
42
44
  import { useValidation } from "./composables/useValidation";
43
45
  import useZoom from "./composables/useZoom";
@@ -47,4 +49,4 @@ import { type ConfirmPhoneNumberUpdateData } from './types/ConfirmPhoneNumberUpd
47
49
  import { type StartPhoneNumberUpdateData } from './types/StartPhoneNumberUpdateData';
48
50
  import { type ValidationChangePasswordData } from './types/ValidationChangePasswordData';
49
51
  import { getDisplayDate } from "./utils/display-date";
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, };
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, };
@@ -6,6 +6,7 @@ export interface BDModalProps {
6
6
  hideFooterCancelButton: boolean;
7
7
  hideFooterSubmitButton: boolean;
8
8
  hideFooter: boolean;
9
+ hideCloseButton: boolean;
9
10
  disableSubmitButton: boolean;
10
11
  size: string;
11
12
  }
@@ -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
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.37.0",
4
+ "version": "0.39.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -70,6 +70,7 @@
70
70
  "dayjs": "^1.11.13",
71
71
  "dropzone": "5.9.3",
72
72
  "maska": "2.1.11",
73
+ "pinia": "2.1",
73
74
  "uid": "2.0.2"
74
75
  },
75
76
  "devDependencies": {