beeple-toolkit 1.0.35 → 1.0.37
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 +3773 -3436
- package/dist/beeple-toolkit.umd.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +2 -2
- package/dist/components/TeamCard/TeamCard.vue.d.ts +12 -2
- package/dist/components/TeamCard/TeamCardBody.vue.d.ts +15 -11
- package/dist/components/TeamCard/TeamCardInlineSummary.vue.d.ts +25 -0
- package/dist/components/TeamCard/TeamCardShiftTimeEdit.vue.d.ts +29 -0
- package/dist/components/TeamCard/useInlineEditPopover.d.ts +22 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/types.d.ts +22 -15
- package/package.json +1 -1
- package/dist/components/TeamCard/TeamCardSummary.vue.d.ts +0 -8
|
@@ -6,13 +6,13 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
tooltip?: (props: typeof __VLS_8) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
9
|
+
needed: number;
|
|
9
10
|
confirmed: number;
|
|
11
|
+
unconfirmed: number;
|
|
10
12
|
size: ProgressBarSize;
|
|
11
13
|
color: "light" | "dark";
|
|
12
14
|
isOpen: boolean;
|
|
13
15
|
delay: number;
|
|
14
|
-
needed: number;
|
|
15
|
-
unconfirmed: number;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import type { TeamCardProps, TeamCardColor } from '../types';
|
|
2
2
|
import './teamCard.css';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_20: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
'progress-bar-tooltip'?: (props: typeof
|
|
5
|
+
'progress-bar-tooltip'?: (props: typeof __VLS_20) => 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;
|
|
9
9
|
"add-collaborator": () => any;
|
|
10
10
|
"update:needed": (value: number) => any;
|
|
11
|
+
"update:shift-time": (data: {
|
|
12
|
+
value: string;
|
|
13
|
+
startDatetime?: string;
|
|
14
|
+
endDatetime?: string;
|
|
15
|
+
}) => any;
|
|
11
16
|
"menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
|
|
12
17
|
"update:status": (status: "published" | "unpublished") => any;
|
|
13
18
|
}, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
|
|
14
19
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
20
|
"onAdd-collaborator"?: (() => any) | undefined;
|
|
16
21
|
"onUpdate:needed"?: ((value: number) => any) | undefined;
|
|
22
|
+
"onUpdate:shift-time"?: ((data: {
|
|
23
|
+
value: string;
|
|
24
|
+
startDatetime?: string;
|
|
25
|
+
endDatetime?: string;
|
|
26
|
+
}) => any) | undefined;
|
|
17
27
|
"onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
|
|
18
28
|
"onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
|
|
19
29
|
}>, {
|
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TeamCardSummaryItem, TeamCardUser, TeamCardTranslations } from '../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
needed: number;
|
|
5
|
-
confirmed?: number;
|
|
6
|
-
unconfirmed?: number;
|
|
7
|
-
size?: 'small' | 'medium';
|
|
8
|
-
};
|
|
9
|
-
shiftSummary?: string;
|
|
10
|
-
teamSummary?: TeamCardSummaryType;
|
|
3
|
+
teamSummary?: TeamCardSummaryItem[];
|
|
11
4
|
users?: TeamCardUser[];
|
|
12
5
|
showUsers?: boolean;
|
|
13
6
|
moreLabel?: string;
|
|
14
7
|
minNeeded?: number;
|
|
15
8
|
maxNeeded?: number;
|
|
16
9
|
saving?: boolean;
|
|
10
|
+
savingShiftTime?: boolean;
|
|
17
11
|
translations?: TeamCardTranslations;
|
|
18
12
|
};
|
|
19
|
-
declare var
|
|
13
|
+
declare var __VLS_11: {};
|
|
20
14
|
type __VLS_Slots = {} & {
|
|
21
|
-
'progress-bar-tooltip'?: (props: typeof
|
|
15
|
+
'progress-bar-tooltip'?: (props: typeof __VLS_11) => any;
|
|
22
16
|
};
|
|
23
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
18
|
"add-collaborator": () => any;
|
|
25
19
|
"update:needed": (value: number) => any;
|
|
20
|
+
"update:shift-time": (data: {
|
|
21
|
+
value: string;
|
|
22
|
+
startDatetime?: string;
|
|
23
|
+
endDatetime?: string;
|
|
24
|
+
}) => any;
|
|
26
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
26
|
"onAdd-collaborator"?: (() => any) | undefined;
|
|
28
27
|
"onUpdate:needed"?: ((value: number) => any) | undefined;
|
|
28
|
+
"onUpdate:shift-time"?: ((data: {
|
|
29
|
+
value: string;
|
|
30
|
+
startDatetime?: string;
|
|
31
|
+
endDatetime?: string;
|
|
32
|
+
}) => any) | undefined;
|
|
29
33
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
35
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TeamCardSummaryItem, TeamCardTranslations } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
teamSummary: TeamCardSummaryItem[];
|
|
4
|
+
isEditOpen?: boolean;
|
|
5
|
+
translations?: TeamCardTranslations;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
'progress-bar-tooltip'?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"progress-click": (el: HTMLElement | null) => any;
|
|
13
|
+
"edit-time-request": (el: HTMLElement | null) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onProgress-click"?: ((el: HTMLElement | null) => any) | undefined;
|
|
16
|
+
"onEdit-time-request"?: ((el: HTMLElement | null) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { TeamCardTranslations } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
modelValue: string;
|
|
5
|
+
triggerEl: HTMLElement | null;
|
|
6
|
+
startDatetime?: string;
|
|
7
|
+
endDatetime?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
translations?: TeamCardTranslations;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
confirm: (data: {
|
|
14
|
+
value: string;
|
|
15
|
+
startDatetime?: string;
|
|
16
|
+
endDatetime?: string;
|
|
17
|
+
}) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
onConfirm?: ((data: {
|
|
21
|
+
value: string;
|
|
22
|
+
startDatetime?: string;
|
|
23
|
+
endDatetime?: string;
|
|
24
|
+
}) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
loading: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
interface UseInlineEditPopoverOptions {
|
|
3
|
+
isOpen: () => boolean;
|
|
4
|
+
triggerEl: () => HTMLElement | null;
|
|
5
|
+
modelValue: () => unknown;
|
|
6
|
+
loading: () => boolean | undefined;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onOpen?: () => void;
|
|
9
|
+
onConfirmEnter?: () => void;
|
|
10
|
+
focusTargetRef?: Ref<{
|
|
11
|
+
$el: HTMLElement;
|
|
12
|
+
} | null>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useInlineEditPopover(opts: UseInlineEditPopoverOptions): {
|
|
15
|
+
dialogId: string;
|
|
16
|
+
labelId: string;
|
|
17
|
+
panelRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
18
|
+
panelStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
19
|
+
isConfirming: import("vue").ComputedRef<boolean>;
|
|
20
|
+
startConfirming: () => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -32,5 +32,5 @@ import '../styles/variables.css';
|
|
|
32
32
|
export { useToastStore } from '../stores/toast';
|
|
33
33
|
export type { Toast as ToastItem, ToastType, ToastOptions } from '../stores/toast';
|
|
34
34
|
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,
|
|
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
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, };
|
|
@@ -313,13 +313,18 @@ export interface ModalProps {
|
|
|
313
313
|
closeButtonTooltip?: string;
|
|
314
314
|
}
|
|
315
315
|
export type TeamCardColor = 'orange' | 'red' | 'olive-green' | 'leaf-green' | 'forest-green' | 'yellow' | 'teal' | 'turquoise' | 'blue' | 'lagoon' | 'violet' | 'old-rose' | 'petal-rose' | 'azalea-rose' | 'gray';
|
|
316
|
-
export interface
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
316
|
+
export interface TeamCardSummaryItemObject {
|
|
317
|
+
title?: string;
|
|
318
|
+
shiftStartAndEnd?: boolean;
|
|
319
|
+
teamSummary?: boolean;
|
|
320
|
+
startDatetime?: string;
|
|
321
|
+
endDatetime?: string;
|
|
322
|
+
needed?: number;
|
|
323
|
+
confirmed?: number;
|
|
324
|
+
unconfirmed?: number;
|
|
325
|
+
[key: string]: unknown;
|
|
322
326
|
}
|
|
327
|
+
export type TeamCardSummaryItem = string | TeamCardSummaryItemObject;
|
|
323
328
|
export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-scheduled' | 'backup' | 'rejected';
|
|
324
329
|
export interface TeamCardUser {
|
|
325
330
|
fullName: string;
|
|
@@ -342,11 +347,20 @@ export interface TeamCardTranslations {
|
|
|
342
347
|
notPublished?: string;
|
|
343
348
|
addCollaborator?: string;
|
|
344
349
|
clickProgressBar?: string;
|
|
350
|
+
teamActions?: string;
|
|
345
351
|
collaborators?: string;
|
|
346
352
|
decrease?: string;
|
|
347
353
|
increase?: string;
|
|
348
354
|
cancel?: string;
|
|
349
355
|
confirm?: string;
|
|
356
|
+
editTime?: string;
|
|
357
|
+
time?: string;
|
|
358
|
+
move?: string;
|
|
359
|
+
copy?: string;
|
|
360
|
+
edit?: string;
|
|
361
|
+
delete?: string;
|
|
362
|
+
publish?: string;
|
|
363
|
+
unpublish?: string;
|
|
350
364
|
enrolments?: string;
|
|
351
365
|
confirmed?: string;
|
|
352
366
|
unconfirmed?: string;
|
|
@@ -363,15 +377,7 @@ export interface TeamCardProps {
|
|
|
363
377
|
color?: TeamCardColor;
|
|
364
378
|
labels?: TeamCardLabel[];
|
|
365
379
|
status?: TeamCardStatus;
|
|
366
|
-
|
|
367
|
-
needed: number;
|
|
368
|
-
confirmed?: number;
|
|
369
|
-
unconfirmed?: number;
|
|
370
|
-
size?: 'small' | 'medium';
|
|
371
|
-
};
|
|
372
|
-
shiftSummary?: string;
|
|
373
|
-
teamName?: string;
|
|
374
|
-
teamSummary?: TeamCardSummary;
|
|
380
|
+
teamSummary?: TeamCardSummaryItem[];
|
|
375
381
|
users?: TeamCardUser[];
|
|
376
382
|
showUsers?: boolean;
|
|
377
383
|
selected?: boolean;
|
|
@@ -379,6 +385,7 @@ export interface TeamCardProps {
|
|
|
379
385
|
minNeeded?: number;
|
|
380
386
|
maxNeeded?: number;
|
|
381
387
|
saving?: boolean;
|
|
388
|
+
savingShiftTime?: boolean;
|
|
382
389
|
translations?: TeamCardTranslations;
|
|
383
390
|
}
|
|
384
391
|
export type { DatePickerLocale } from './DatePicker/locales';
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TeamCardSummary, TeamCardTranslations } from '../types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
summary: TeamCardSummary;
|
|
4
|
-
translations?: TeamCardTranslations;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|