beeple-toolkit 1.0.40 → 1.0.42
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 +4479 -4180
- package/dist/beeple-toolkit.umd.js +1 -1
- package/dist/components/StatusDot/StatusDot.vue.d.ts +2 -2
- package/dist/components/TeamCard/TeamCard.vue.d.ts +14 -3
- package/dist/components/TeamCard/TeamCardBody.vue.d.ts +11 -0
- package/dist/components/UploadDocument/UploadDocument.vue.d.ts +24 -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 -3
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { StatusDotProps } from '../types';
|
|
1
|
+
import type { StatusDotProps, StatusDotNamedColor } from '../types';
|
|
2
2
|
import './statusDot.css';
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<StatusDotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatusDotProps> & Readonly<{}>, {
|
|
4
4
|
size: "small" | "medium";
|
|
5
|
-
color:
|
|
5
|
+
color: StatusDotNamedColor | (string & {});
|
|
6
6
|
variant: "label-left" | "label-right" | "dot-only";
|
|
7
7
|
isShadow: boolean;
|
|
8
8
|
}, {}, {}, {}, 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,11 +29,17 @@ 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
|
}>, {
|
|
30
40
|
color: TeamCardColor;
|
|
31
41
|
showUsers: boolean;
|
|
42
|
+
showUserColor: boolean;
|
|
32
43
|
selected: boolean;
|
|
33
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -3,6 +3,7 @@ type __VLS_Props = {
|
|
|
3
3
|
teamSummary?: TeamCardSummaryItem[];
|
|
4
4
|
users?: TeamCardUser[];
|
|
5
5
|
showUsers?: boolean;
|
|
6
|
+
showUserColor?: boolean;
|
|
6
7
|
moreLabel?: string;
|
|
7
8
|
minNeeded?: number;
|
|
8
9
|
maxNeeded?: number;
|
|
@@ -24,6 +25,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
24
25
|
startDatetime?: string;
|
|
25
26
|
endDatetime?: string;
|
|
26
27
|
}) => any;
|
|
28
|
+
"user-click": (payload: {
|
|
29
|
+
user: TeamCardUser;
|
|
30
|
+
index: number;
|
|
31
|
+
event: MouseEvent;
|
|
32
|
+
}) => any;
|
|
27
33
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
34
|
"onAdd-collaborator"?: (() => any) | undefined;
|
|
29
35
|
"onUpdate:needed"?: ((value: number) => any) | undefined;
|
|
@@ -32,6 +38,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
32
38
|
startDatetime?: string;
|
|
33
39
|
endDatetime?: string;
|
|
34
40
|
}) => any) | undefined;
|
|
41
|
+
"onUser-click"?: ((payload: {
|
|
42
|
+
user: TeamCardUser;
|
|
43
|
+
index: number;
|
|
44
|
+
event: MouseEvent;
|
|
45
|
+
}) => any) | undefined;
|
|
35
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
48
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
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, };
|
|
@@ -209,8 +209,9 @@ export interface ContextCardProps {
|
|
|
209
209
|
maxWidth?: number;
|
|
210
210
|
isOpen?: boolean;
|
|
211
211
|
}
|
|
212
|
+
export type StatusDotNamedColor = 'success' | 'warning' | 'danger' | 'primary';
|
|
212
213
|
export interface StatusDotProps {
|
|
213
|
-
color?:
|
|
214
|
+
color?: StatusDotNamedColor | (string & {});
|
|
214
215
|
label?: string;
|
|
215
216
|
variant?: 'label-left' | 'label-right' | 'dot-only';
|
|
216
217
|
size?: 'small' | 'medium';
|
|
@@ -305,6 +306,33 @@ export interface ProgressBarProps {
|
|
|
305
306
|
delay?: number;
|
|
306
307
|
isOpen?: boolean;
|
|
307
308
|
}
|
|
309
|
+
export interface UploadDocumentTranslations {
|
|
310
|
+
label?: string;
|
|
311
|
+
title?: string;
|
|
312
|
+
subtitle?: string;
|
|
313
|
+
selectFiles?: string;
|
|
314
|
+
urlLabel?: string;
|
|
315
|
+
uploadButton?: string;
|
|
316
|
+
urlPlaceholder?: string;
|
|
317
|
+
invalidUrl?: string;
|
|
318
|
+
cancel?: string;
|
|
319
|
+
remove?: string;
|
|
320
|
+
replaceFile?: string;
|
|
321
|
+
invalidFileType?: string;
|
|
322
|
+
uploadError?: string;
|
|
323
|
+
}
|
|
324
|
+
export interface UploadDocumentProps {
|
|
325
|
+
modelValue?: string;
|
|
326
|
+
accept?: string;
|
|
327
|
+
multiple?: boolean;
|
|
328
|
+
disabled?: boolean;
|
|
329
|
+
loading?: boolean;
|
|
330
|
+
uploading?: boolean;
|
|
331
|
+
uploaded?: boolean;
|
|
332
|
+
progress?: number;
|
|
333
|
+
error?: boolean;
|
|
334
|
+
translations?: UploadDocumentTranslations;
|
|
335
|
+
}
|
|
308
336
|
export interface ModalProps {
|
|
309
337
|
modelValue?: boolean;
|
|
310
338
|
size?: 'ultra-small' | 'small' | 'medium' | 'large';
|
|
@@ -330,8 +358,7 @@ export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-schedul
|
|
|
330
358
|
export interface TeamCardUser {
|
|
331
359
|
fullName: string;
|
|
332
360
|
photo?: string;
|
|
333
|
-
|
|
334
|
-
statusLabel?: string;
|
|
361
|
+
color?: string;
|
|
335
362
|
userStatus?: TeamCardUserStatus;
|
|
336
363
|
}
|
|
337
364
|
export interface TeamCardLabel {
|
|
@@ -386,6 +413,7 @@ export interface TeamCardProps {
|
|
|
386
413
|
teamSummary?: TeamCardSummaryItem[];
|
|
387
414
|
users?: TeamCardUser[];
|
|
388
415
|
showUsers?: boolean;
|
|
416
|
+
showUserColor?: boolean;
|
|
389
417
|
selected?: boolean;
|
|
390
418
|
moreLabel?: string;
|
|
391
419
|
minNeeded?: number;
|