beeple-toolkit 1.0.41 → 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.
@@ -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 __VLS_21: {};
3
+ declare var __VLS_22: {};
4
4
  type __VLS_Slots = {} & {
5
- 'progress-bar-tooltip'?: (props: typeof __VLS_21) => any;
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,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, };
@@ -306,6 +306,33 @@ export interface ProgressBarProps {
306
306
  delay?: number;
307
307
  isOpen?: boolean;
308
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
+ }
309
336
  export interface ModalProps {
310
337
  modelValue?: boolean;
311
338
  size?: 'ultra-small' | 'small' | 'medium' | 'large';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",