beeple-toolkit 1.0.38 → 1.0.40

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
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;
@@ -1,4 +1,4 @@
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[];
@@ -8,6 +8,8 @@ type __VLS_Props = {
8
8
  maxNeeded?: number;
9
9
  saving?: boolean;
10
10
  savingShiftTime?: boolean;
11
+ isMenuOpen?: boolean;
12
+ rights?: TeamCardRights;
11
13
  translations?: TeamCardTranslations;
12
14
  };
13
15
  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;
@@ -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[];
@@ -386,6 +392,7 @@ export interface TeamCardProps {
386
392
  maxNeeded?: number;
387
393
  saving?: boolean;
388
394
  savingShiftTime?: boolean;
395
+ rights?: TeamCardRights;
389
396
  translations?: TeamCardTranslations;
390
397
  }
391
398
  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.38",
3
+ "version": "1.0.40",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",