beeple-toolkit 1.0.39 → 1.0.41

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 { 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: "success" | "warning" | "danger" | "primary";
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
1
  import type { TeamCardProps, TeamCardColor } from '../types';
2
2
  import './teamCard.css';
3
- declare var __VLS_20: {};
3
+ declare var __VLS_21: {};
4
4
  type __VLS_Slots = {} & {
5
- 'progress-bar-tooltip'?: (props: typeof __VLS_20) => any;
5
+ 'progress-bar-tooltip'?: (props: typeof __VLS_21) => 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;
@@ -29,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {
29
29
  }>, {
30
30
  color: TeamCardColor;
31
31
  showUsers: boolean;
32
+ showUserColor: boolean;
32
33
  selected: boolean;
33
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,13 +1,16 @@
1
- import type { TeamCardSummaryItem, TeamCardUser, TeamCardTranslations } from '../types';
1
+ import type { TeamCardRights, TeamCardSummaryItem, TeamCardUser, TeamCardTranslations } from '../types';
2
2
  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;
9
10
  saving?: boolean;
10
11
  savingShiftTime?: boolean;
12
+ isMenuOpen?: boolean;
13
+ rights?: TeamCardRights;
11
14
  translations?: TeamCardTranslations;
12
15
  };
13
16
  declare var __VLS_11: {};
@@ -1,17 +1,20 @@
1
- import type { TeamCardLabel, TeamCardColor, TeamCardStatus, TeamCardTranslations } from '../types';
1
+ import type { TeamCardLabel, TeamCardColor, TeamCardRights, TeamCardStatus, TeamCardTranslations } from '../types';
2
2
  type MenuAction = 'move' | 'copy' | 'edit' | 'delete';
3
3
  type __VLS_Props = {
4
4
  labels?: TeamCardLabel[];
5
5
  status?: TeamCardStatus;
6
6
  color?: TeamCardColor;
7
+ rights?: TeamCardRights;
7
8
  translations?: TeamCardTranslations;
8
9
  };
9
10
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
11
  "menu-action": (action: MenuAction) => any;
11
12
  "update:status": (status: TeamCardStatus) => any;
13
+ "update:menu-open": (value: boolean) => any;
12
14
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
15
  "onMenu-action"?: ((action: MenuAction) => any) | undefined;
14
16
  "onUpdate:status"?: ((status: TeamCardStatus) => any) | undefined;
17
+ "onUpdate:menu-open"?: ((value: boolean) => any) | undefined;
15
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
19
  declare const _default: typeof __VLS_export;
17
20
  export default _default;
@@ -1,7 +1,8 @@
1
1
  import type { TeamCardSummaryItem, TeamCardTranslations } from '../types';
2
2
  type __VLS_Props = {
3
3
  teamSummary: TeamCardSummaryItem[];
4
- isEditOpen?: boolean;
4
+ isOverlayOpen?: boolean;
5
+ canUpdate?: boolean;
5
6
  translations?: TeamCardTranslations;
6
7
  };
7
8
  declare var __VLS_8: {};
@@ -1,9 +1,10 @@
1
- import type { TeamCardTranslations } from '../types';
1
+ import type { TeamCardRights, TeamCardTranslations } from '../types';
2
2
  type MenuAction = 'move' | 'copy' | 'edit' | 'delete';
3
3
  type __VLS_Props = {
4
4
  isOpen: boolean;
5
5
  anchorEl: HTMLElement | null;
6
6
  isPublished?: boolean;
7
+ rights?: TeamCardRights;
7
8
  translations?: TeamCardTranslations;
8
9
  };
9
10
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -199,6 +199,7 @@ export interface TooltipProps {
199
199
  position?: 'top-left' | 'top-middle' | 'top-right' | 'bottom-left' | 'bottom-middle' | 'bottom-right' | 'left-top' | 'left-middle' | 'left-bottom' | 'right-top' | 'right-middle' | 'right-bottom';
200
200
  delay?: number;
201
201
  maxWidth?: number;
202
+ tooltipClass?: string;
202
203
  }
203
204
  export interface ContextCardProps {
204
205
  title?: string;
@@ -208,8 +209,9 @@ export interface ContextCardProps {
208
209
  maxWidth?: number;
209
210
  isOpen?: boolean;
210
211
  }
212
+ export type StatusDotNamedColor = 'success' | 'warning' | 'danger' | 'primary';
211
213
  export interface StatusDotProps {
212
- color?: 'success' | 'warning' | 'danger' | 'primary';
214
+ color?: StatusDotNamedColor | (string & {});
213
215
  label?: string;
214
216
  variant?: 'label-left' | 'label-right' | 'dot-only';
215
217
  size?: 'small' | 'medium';
@@ -329,8 +331,7 @@ export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-schedul
329
331
  export interface TeamCardUser {
330
332
  fullName: string;
331
333
  photo?: string;
332
- statusColor?: string;
333
- statusLabel?: string;
334
+ color?: string;
334
335
  userStatus?: TeamCardUserStatus;
335
336
  }
336
337
  export interface TeamCardLabel {
@@ -373,6 +374,11 @@ export interface TeamCardTranslations {
373
374
  subproject?: string;
374
375
  function?: string;
375
376
  }
377
+ export interface TeamCardRights {
378
+ create?: boolean;
379
+ update?: boolean;
380
+ delete?: boolean;
381
+ }
376
382
  export interface TeamCardProps {
377
383
  color?: TeamCardColor;
378
384
  labels?: TeamCardLabel[];
@@ -380,12 +386,14 @@ export interface TeamCardProps {
380
386
  teamSummary?: TeamCardSummaryItem[];
381
387
  users?: TeamCardUser[];
382
388
  showUsers?: boolean;
389
+ showUserColor?: boolean;
383
390
  selected?: boolean;
384
391
  moreLabel?: string;
385
392
  minNeeded?: number;
386
393
  maxNeeded?: number;
387
394
  saving?: boolean;
388
395
  savingShiftTime?: boolean;
396
+ rights?: TeamCardRights;
389
397
  translations?: TeamCardTranslations;
390
398
  }
391
399
  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.39",
3
+ "version": "1.0.41",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",