beeple-toolkit 1.0.34 → 1.0.36

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,19 +1,21 @@
1
1
  import type { TeamCardProps, TeamCardColor } from '../types';
2
2
  import './teamCard.css';
3
- declare var __VLS_19: {};
3
+ declare var __VLS_20: {};
4
4
  type __VLS_Slots = {} & {
5
- 'progress-bar-tooltip'?: (props: typeof __VLS_19) => any;
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": (value: string) => any;
11
12
  "menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
12
13
  "update:status": (status: "published" | "unpublished") => any;
13
14
  }, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
14
15
  onClick?: ((event: MouseEvent) => any) | undefined;
15
16
  "onAdd-collaborator"?: (() => any) | undefined;
16
17
  "onUpdate:needed"?: ((value: number) => any) | undefined;
18
+ "onUpdate:shift-time"?: ((value: string) => any) | undefined;
17
19
  "onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
18
20
  "onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
19
21
  }>, {
@@ -14,6 +14,8 @@ type __VLS_Props = {
14
14
  minNeeded?: number;
15
15
  maxNeeded?: number;
16
16
  saving?: boolean;
17
+ savingShiftTime?: boolean;
18
+ isEditableTitle?: boolean;
17
19
  translations?: TeamCardTranslations;
18
20
  };
19
21
  declare var __VLS_8: {};
@@ -23,9 +25,11 @@ type __VLS_Slots = {} & {
23
25
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
26
  "add-collaborator": () => any;
25
27
  "update:needed": (value: number) => any;
28
+ "update:shift-time": (value: string) => any;
26
29
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
30
  "onAdd-collaborator"?: (() => any) | undefined;
28
31
  "onUpdate:needed"?: ((value: number) => any) | undefined;
32
+ "onUpdate:shift-time"?: ((value: string) => 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,19 @@
1
+ import type { TeamCardTranslations } from '../types';
2
+ type __VLS_Props = {
3
+ isOpen: boolean;
4
+ modelValue: string;
5
+ triggerEl: HTMLElement | null;
6
+ loading?: boolean;
7
+ translations?: TeamCardTranslations;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ close: () => any;
11
+ confirm: (value: string) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onClose?: (() => any) | undefined;
14
+ onConfirm?: ((value: string) => any) | undefined;
15
+ }>, {
16
+ loading: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -3,6 +3,10 @@ type __VLS_Props = {
3
3
  summary: TeamCardSummary;
4
4
  translations?: TeamCardTranslations;
5
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>;
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>;
7
11
  declare const _default: typeof __VLS_export;
8
12
  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 {};
@@ -347,6 +347,14 @@ export interface TeamCardTranslations {
347
347
  increase?: string;
348
348
  cancel?: string;
349
349
  confirm?: string;
350
+ editTime?: string;
351
+ time?: string;
352
+ move?: string;
353
+ copy?: string;
354
+ edit?: string;
355
+ delete?: string;
356
+ publish?: string;
357
+ unpublish?: string;
350
358
  enrolments?: string;
351
359
  confirmed?: string;
352
360
  unconfirmed?: string;
@@ -379,6 +387,8 @@ export interface TeamCardProps {
379
387
  minNeeded?: number;
380
388
  maxNeeded?: number;
381
389
  saving?: boolean;
390
+ savingShiftTime?: boolean;
391
+ isEditableTitle?: boolean;
382
392
  translations?: TeamCardTranslations;
383
393
  }
384
394
  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.34",
3
+ "version": "1.0.36",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",