@beterdichtbij/component-library 0.26.1 → 0.27.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.
- package/dist/bd-component-lib.cjs.js +27 -27
- package/dist/bd-component-lib.es.js +5162 -5133
- package/dist/bd-component-lib.umd.js +31 -31
- package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +3 -3
- package/dist/components/atoms/icons/IconArrowDown.vue.d.ts.map +1 -1
- package/dist/composables/useServerErrors.d.ts +8 -0
- package/dist/constants/string.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/interfaces/BDFormCheckboxProps.d.ts +1 -1
- package/dist/utils/array.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
|
-
type: __PropType<string | boolean>;
|
|
4
|
+
type: __PropType<string | boolean | string[]>;
|
|
5
5
|
required: true;
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
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<{
|
|
24
24
|
modelValue: {
|
|
25
|
-
type: __PropType<string | boolean>;
|
|
25
|
+
type: __PropType<string | boolean | string[]>;
|
|
26
26
|
required: true;
|
|
27
27
|
default: undefined;
|
|
28
28
|
};
|
|
@@ -46,7 +46,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
46
46
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
modelValue: string | boolean;
|
|
49
|
+
modelValue: string | boolean | string[];
|
|
50
50
|
state: import("../../../types/ValidationState").ValidationStateType;
|
|
51
51
|
value: string | boolean;
|
|
52
52
|
uncheckedValue: string | boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconArrowDown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconArrowDown.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"IconArrowDown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconArrowDown.vue"],"names":[],"mappings":";AA4BA,wBAA4E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function useServerErrors(toasterLocalization: any): {
|
|
2
|
+
serverErrors: import("vue").Ref<string[] | null>;
|
|
3
|
+
errorMessages: import("vue").Ref<string[] | null>;
|
|
4
|
+
errorMessageText: import("vue").Ref<string>;
|
|
5
|
+
MapErrors: (obj: any) => void;
|
|
6
|
+
MapServerErrors: (errors: any, serverVar?: string | string[]) => void;
|
|
7
|
+
ResetServerErrors: () => void;
|
|
8
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
|
|
|
33
33
|
import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
|
|
34
34
|
import BDModal from "./components/organisms/BDModal/BDModal.vue";
|
|
35
35
|
import { useModal } from "./composables/useModal";
|
|
36
|
+
import { useServerErrors } from "./composables/useServerErrors";
|
|
36
37
|
import { useToaster } from "./composables/useToaster";
|
|
37
38
|
import { vBdTooltip } from "./directives/BDTooltip";
|
|
38
|
-
export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, 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, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, useModal, useToaster, vBdTooltip, };
|
|
39
|
+
export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, 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, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, useModal, useServerErrors, useToaster, vBdTooltip, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ValidationStateType } from '../types/ValidationState';
|
|
2
2
|
export interface bdFormCheckboxProps {
|
|
3
|
-
modelValue: boolean | string;
|
|
3
|
+
modelValue: boolean | string | string[];
|
|
4
4
|
value: boolean | string;
|
|
5
5
|
uncheckedValue: boolean | string;
|
|
6
6
|
state: ValidationStateType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IsFilledArray: (subject: any) => boolean;
|