beeple-toolkit 1.0.41 → 1.0.43
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/beeple-toolkit.css +1 -1
- package/dist/beeple-toolkit.es.js +4455 -4149
- package/dist/beeple-toolkit.umd.js +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +1 -0
- package/dist/components/TeamCard/TeamCard.vue.d.ts +13 -3
- package/dist/components/TeamCard/TeamCardBody.vue.d.ts +10 -0
- package/dist/components/UploadDocument/UploadDocument.vue.d.ts +25 -0
- package/dist/components/UploadDocument/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/types.d.ts +31 -0
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ declare const __VLS_base: import("vue").DefineComponent<DatePickerProps, {}, {},
|
|
|
22
22
|
onChange?: ((value: DatePickerValue) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
locale: import("./locales").DatePickerLocale;
|
|
25
|
+
fullWidth: boolean;
|
|
25
26
|
placeholder: string;
|
|
26
27
|
variant: import("../types").DatePickerVariant;
|
|
27
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TeamCardProps, TeamCardColor } from '../types';
|
|
1
|
+
import type { TeamCardProps, TeamCardColor, TeamCardUser } from '../types';
|
|
2
2
|
import './teamCard.css';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_22: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
'progress-bar-tooltip'?: (props: typeof
|
|
5
|
+
'progress-bar-tooltip'?: (props: typeof __VLS_22) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
click: (event: MouseEvent) => any;
|
|
@@ -13,6 +13,11 @@ declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {
|
|
|
13
13
|
startDatetime?: string;
|
|
14
14
|
endDatetime?: string;
|
|
15
15
|
}) => any;
|
|
16
|
+
"user-click": (payload: {
|
|
17
|
+
user: TeamCardUser;
|
|
18
|
+
index: number;
|
|
19
|
+
event: MouseEvent;
|
|
20
|
+
}) => any;
|
|
16
21
|
"menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
|
|
17
22
|
"update:status": (status: "published" | "unpublished") => any;
|
|
18
23
|
}, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
|
|
@@ -24,6 +29,11 @@ declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {
|
|
|
24
29
|
startDatetime?: string;
|
|
25
30
|
endDatetime?: string;
|
|
26
31
|
}) => any) | undefined;
|
|
32
|
+
"onUser-click"?: ((payload: {
|
|
33
|
+
user: TeamCardUser;
|
|
34
|
+
index: number;
|
|
35
|
+
event: MouseEvent;
|
|
36
|
+
}) => any) | undefined;
|
|
27
37
|
"onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
|
|
28
38
|
"onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
|
|
29
39
|
}>, {
|
|
@@ -25,6 +25,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
25
25
|
startDatetime?: string;
|
|
26
26
|
endDatetime?: string;
|
|
27
27
|
}) => any;
|
|
28
|
+
"user-click": (payload: {
|
|
29
|
+
user: TeamCardUser;
|
|
30
|
+
index: number;
|
|
31
|
+
event: MouseEvent;
|
|
32
|
+
}) => any;
|
|
28
33
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
34
|
"onAdd-collaborator"?: (() => any) | undefined;
|
|
30
35
|
"onUpdate:needed"?: ((value: number) => any) | undefined;
|
|
@@ -33,6 +38,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
33
38
|
startDatetime?: string;
|
|
34
39
|
endDatetime?: string;
|
|
35
40
|
}) => any) | undefined;
|
|
41
|
+
"onUser-click"?: ((payload: {
|
|
42
|
+
user: TeamCardUser;
|
|
43
|
+
index: number;
|
|
44
|
+
event: MouseEvent;
|
|
45
|
+
}) => any) | undefined;
|
|
36
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
48
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { UploadDocumentProps } from '../types';
|
|
2
|
+
import './uploadDocument.css';
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<UploadDocumentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: string) => any;
|
|
5
|
+
cancel: () => any;
|
|
6
|
+
remove: () => any;
|
|
7
|
+
files: (files: File[]) => any;
|
|
8
|
+
"files-rejected": (files: File[]) => any;
|
|
9
|
+
"upload-url": (url: string) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<UploadDocumentProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
onCancel?: (() => any) | undefined;
|
|
13
|
+
onRemove?: (() => any) | undefined;
|
|
14
|
+
onFiles?: ((files: File[]) => any) | undefined;
|
|
15
|
+
"onFiles-rejected"?: ((files: File[]) => any) | undefined;
|
|
16
|
+
"onUpload-url"?: ((url: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
multiple: boolean;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
accept: string;
|
|
22
|
+
showUrl: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './UploadDocument.vue';
|
|
@@ -28,9 +28,10 @@ import Toast from './Toast/Toast.vue';
|
|
|
28
28
|
import ToastContainer from './Toast/ToastContainer.vue';
|
|
29
29
|
import TeamCard from './TeamCard/TeamCard.vue';
|
|
30
30
|
import Tooltip from './Tooltip/Tooltip.vue';
|
|
31
|
+
import UploadDocument from './UploadDocument/UploadDocument.vue';
|
|
31
32
|
import '../styles/variables.css';
|
|
32
33
|
export { useToastStore } from '../stores/toast';
|
|
33
34
|
export type { Toast as ToastItem, ToastType, ToastOptions } from '../stores/toast';
|
|
34
35
|
export type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize, ScrollbarDirection, } from './constants';
|
|
35
|
-
export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, ScrollbarProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TeamCardColor, TeamCardLabel, TeamCardProps, TeamCardSummaryItem, TeamCardSummaryItemObject, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, } from './types';
|
|
36
|
-
export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Scrollbar, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, TeamCard, Title, Toast, ToastContainer, Tooltip, };
|
|
36
|
+
export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, ScrollbarProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TeamCardColor, TeamCardLabel, TeamCardProps, TeamCardSummaryItem, TeamCardSummaryItemObject, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, UploadDocumentProps, UploadDocumentTranslations, } from './types';
|
|
37
|
+
export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Scrollbar, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, TeamCard, Title, Toast, ToastContainer, Tooltip, UploadDocument, };
|
|
@@ -49,6 +49,7 @@ export interface InputProps {
|
|
|
49
49
|
min?: number;
|
|
50
50
|
max?: number;
|
|
51
51
|
step?: number;
|
|
52
|
+
numberType?: 'integer' | 'decimal';
|
|
52
53
|
}
|
|
53
54
|
export interface SwitchProps {
|
|
54
55
|
id?: string;
|
|
@@ -248,6 +249,8 @@ export interface DatePickerProps {
|
|
|
248
249
|
locale?: DatePickerLocale;
|
|
249
250
|
translations?: DatePickerTranslations;
|
|
250
251
|
timezone?: string;
|
|
252
|
+
fullWidth?: boolean;
|
|
253
|
+
triggerSize?: ButtonSize;
|
|
251
254
|
}
|
|
252
255
|
export interface MenuProps {
|
|
253
256
|
items: DropDownOption[] | DropDownOption[][];
|
|
@@ -306,6 +309,34 @@ export interface ProgressBarProps {
|
|
|
306
309
|
delay?: number;
|
|
307
310
|
isOpen?: boolean;
|
|
308
311
|
}
|
|
312
|
+
export interface UploadDocumentTranslations {
|
|
313
|
+
title?: string;
|
|
314
|
+
subtitle?: string;
|
|
315
|
+
selectFiles?: string;
|
|
316
|
+
uploadButton?: string;
|
|
317
|
+
urlPlaceholder?: string;
|
|
318
|
+
invalidUrl?: string;
|
|
319
|
+
cancel?: string;
|
|
320
|
+
remove?: string;
|
|
321
|
+
replaceFile?: string;
|
|
322
|
+
invalidFileType?: string;
|
|
323
|
+
uploadError?: string;
|
|
324
|
+
}
|
|
325
|
+
export interface UploadDocumentProps {
|
|
326
|
+
label?: string;
|
|
327
|
+
urlLabel?: string;
|
|
328
|
+
modelValue?: string;
|
|
329
|
+
accept?: string;
|
|
330
|
+
multiple?: boolean;
|
|
331
|
+
disabled?: boolean;
|
|
332
|
+
loading?: boolean;
|
|
333
|
+
uploading?: boolean;
|
|
334
|
+
uploaded?: boolean;
|
|
335
|
+
progress?: number;
|
|
336
|
+
error?: boolean;
|
|
337
|
+
showUrl?: boolean;
|
|
338
|
+
translations?: UploadDocumentTranslations;
|
|
339
|
+
}
|
|
309
340
|
export interface ModalProps {
|
|
310
341
|
modelValue?: boolean;
|
|
311
342
|
size?: 'ultra-small' | 'small' | 'medium' | 'large';
|