beeple-toolkit 1.0.36 → 1.0.38

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.
@@ -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;
@@ -8,14 +8,22 @@ declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {
8
8
  click: (event: MouseEvent) => any;
9
9
  "add-collaborator": () => any;
10
10
  "update:needed": (value: number) => any;
11
- "update:shift-time": (value: string) => any;
11
+ "update:shift-time": (data: {
12
+ value: string;
13
+ startDatetime?: string;
14
+ endDatetime?: string;
15
+ }) => any;
12
16
  "menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
13
17
  "update:status": (status: "published" | "unpublished") => any;
14
18
  }, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
15
19
  onClick?: ((event: MouseEvent) => any) | undefined;
16
20
  "onAdd-collaborator"?: (() => any) | undefined;
17
21
  "onUpdate:needed"?: ((value: number) => any) | undefined;
18
- "onUpdate:shift-time"?: ((value: string) => any) | undefined;
22
+ "onUpdate:shift-time"?: ((data: {
23
+ value: string;
24
+ startDatetime?: string;
25
+ endDatetime?: string;
26
+ }) => any) | undefined;
19
27
  "onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
20
28
  "onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
21
29
  }>, {
@@ -1,13 +1,6 @@
1
- import type { TeamCardSummary as TeamCardSummaryType, TeamCardUser, TeamCardTranslations } from '../types';
1
+ import type { TeamCardSummaryItem, TeamCardUser, TeamCardTranslations } from '../types';
2
2
  type __VLS_Props = {
3
- progressBar?: {
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;
@@ -15,21 +8,28 @@ type __VLS_Props = {
15
8
  maxNeeded?: number;
16
9
  saving?: boolean;
17
10
  savingShiftTime?: boolean;
18
- isEditableTitle?: boolean;
19
11
  translations?: TeamCardTranslations;
20
12
  };
21
- declare var __VLS_8: {};
13
+ declare var __VLS_11: {};
22
14
  type __VLS_Slots = {} & {
23
- 'progress-bar-tooltip'?: (props: typeof __VLS_8) => any;
15
+ 'progress-bar-tooltip'?: (props: typeof __VLS_11) => any;
24
16
  };
25
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
18
  "add-collaborator": () => any;
27
19
  "update:needed": (value: number) => any;
28
- "update:shift-time": (value: string) => any;
20
+ "update:shift-time": (data: {
21
+ value: string;
22
+ startDatetime?: string;
23
+ endDatetime?: string;
24
+ }) => any;
29
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
26
  "onAdd-collaborator"?: (() => any) | undefined;
31
27
  "onUpdate:needed"?: ((value: number) => any) | undefined;
32
- "onUpdate:shift-time"?: ((value: string) => any) | undefined;
28
+ "onUpdate:shift-time"?: ((data: {
29
+ value: string;
30
+ startDatetime?: string;
31
+ endDatetime?: string;
32
+ }) => any) | undefined;
33
33
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
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
+ };
@@ -3,15 +3,25 @@ type __VLS_Props = {
3
3
  isOpen: boolean;
4
4
  modelValue: string;
5
5
  triggerEl: HTMLElement | null;
6
+ startDatetime?: string;
7
+ endDatetime?: string;
6
8
  loading?: boolean;
7
9
  translations?: TeamCardTranslations;
8
10
  };
9
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
12
  close: () => any;
11
- confirm: (value: string) => any;
13
+ confirm: (data: {
14
+ value: string;
15
+ startDatetime?: string;
16
+ endDatetime?: string;
17
+ }) => any;
12
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
19
  onClose?: (() => any) | undefined;
14
- onConfirm?: ((value: string) => any) | undefined;
20
+ onConfirm?: ((data: {
21
+ value: string;
22
+ startDatetime?: string;
23
+ endDatetime?: string;
24
+ }) => any) | undefined;
15
25
  }>, {
16
26
  loading: boolean;
17
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -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, TeamCardSummary, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, } from './types';
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 TeamCardSummary {
317
- shiftTime?: string;
318
- project?: string;
319
- team?: string;
320
- subproject?: string;
321
- function?: string;
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,6 +347,7 @@ 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;
@@ -371,15 +377,7 @@ export interface TeamCardProps {
371
377
  color?: TeamCardColor;
372
378
  labels?: TeamCardLabel[];
373
379
  status?: TeamCardStatus;
374
- progressBar?: {
375
- needed: number;
376
- confirmed?: number;
377
- unconfirmed?: number;
378
- size?: 'small' | 'medium';
379
- };
380
- shiftSummary?: string;
381
- teamName?: string;
382
- teamSummary?: TeamCardSummary;
380
+ teamSummary?: TeamCardSummaryItem[];
383
381
  users?: TeamCardUser[];
384
382
  showUsers?: boolean;
385
383
  selected?: boolean;
@@ -388,7 +386,6 @@ export interface TeamCardProps {
388
386
  maxNeeded?: number;
389
387
  saving?: boolean;
390
388
  savingShiftTime?: boolean;
391
- isEditableTitle?: boolean;
392
389
  translations?: TeamCardTranslations;
393
390
  }
394
391
  export type { DatePickerLocale } from './DatePicker/locales';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",
@@ -1,12 +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, {
7
- "request-edit-time": (el: HTMLElement | null) => any;
8
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onRequest-edit-time"?: ((el: HTMLElement | null) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;