@26lights/orcha 0.41.149 → 0.41.151

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.
@@ -44,6 +44,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  timeTrackingData: {
45
45
  type: import("vue").PropType<Record<string, TimeTracking>>;
46
46
  };
47
+ estimationUnit: {
48
+ type: import("vue").PropType<string>;
49
+ };
47
50
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
51
  updateMilestone: (payload: UpdateMilestonePayload) => void;
49
52
  archiveMilestone: (payload: {
@@ -97,6 +100,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
97
100
  timeTrackingData: {
98
101
  type: import("vue").PropType<Record<string, TimeTracking>>;
99
102
  };
103
+ estimationUnit: {
104
+ type: import("vue").PropType<string>;
105
+ };
100
106
  }>> & {
101
107
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
102
108
  onArchiveMilestone?: ((payload: {
@@ -28,6 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  timeTrackingData: {
29
29
  type: import("vue").PropType<Record<string, TimeTracking>>;
30
30
  };
31
+ estimationUnit: {
32
+ type: import("vue").PropType<string>;
33
+ };
31
34
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
35
  'update:title': (v: string) => void;
33
36
  'update:deadline': (v: string) => void;
@@ -70,6 +73,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
73
  timeTrackingData: {
71
74
  type: import("vue").PropType<Record<string, TimeTracking>>;
72
75
  };
76
+ estimationUnit: {
77
+ type: import("vue").PropType<string>;
78
+ };
73
79
  }>> & {
74
80
  "onUpdate:title"?: ((v: string) => any) | undefined;
75
81
  onUpdatePhase?: ((payload: {
@@ -28,6 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  timeTrackingData: {
29
29
  type: import("vue").PropType<Record<string, TimeTracking>>;
30
30
  };
31
+ estimationUnit: {
32
+ type: import("vue").PropType<string>;
33
+ };
31
34
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
35
  'update:title': (v: string) => void;
33
36
  'update:deadline': (v: string) => void;
@@ -70,6 +73,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
73
  timeTrackingData: {
71
74
  type: import("vue").PropType<Record<string, TimeTracking>>;
72
75
  };
76
+ estimationUnit: {
77
+ type: import("vue").PropType<string>;
78
+ };
73
79
  }>> & {
74
80
  "onUpdate:title"?: ((v: string) => any) | undefined;
75
81
  onUpdatePhase?: ((payload: {
@@ -21,6 +21,9 @@ declare const _default: import("vue").DefineComponent<{
21
21
  timeTrackingData: {
22
22
  type: import("vue").PropType<Record<string, TimeTracking>>;
23
23
  };
24
+ estimationUnit: {
25
+ type: import("vue").PropType<string>;
26
+ };
24
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
28
  addMilestone: (payload: AddMilestonePayload) => void;
26
29
  updateMilestone: (payload: UpdateMilestonePayload) => void;
@@ -59,6 +62,9 @@ declare const _default: import("vue").DefineComponent<{
59
62
  timeTrackingData: {
60
63
  type: import("vue").PropType<Record<string, TimeTracking>>;
61
64
  };
65
+ estimationUnit: {
66
+ type: import("vue").PropType<string>;
67
+ };
62
68
  }>> & {
63
69
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
64
70
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
@@ -21,6 +21,9 @@ declare const _default: import("vue").DefineComponent<{
21
21
  timeTrackingData: {
22
22
  type: import("vue").PropType<Record<string, TimeTracking>>;
23
23
  };
24
+ estimationUnit: {
25
+ type: import("vue").PropType<string>;
26
+ };
24
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
28
  addMilestone: (payload: AddMilestonePayload) => void;
26
29
  updateMilestone: (payload: UpdateMilestonePayload) => void;
@@ -60,6 +63,9 @@ declare const _default: import("vue").DefineComponent<{
60
63
  timeTrackingData: {
61
64
  type: import("vue").PropType<Record<string, TimeTracking>>;
62
65
  };
66
+ estimationUnit: {
67
+ type: import("vue").PropType<string>;
68
+ };
63
69
  }>> & {
64
70
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
65
71
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
@@ -370,7 +370,12 @@ export type Project = {
370
370
  name?: string;
371
371
  phases?: Phase[];
372
372
  architectureImage?: Image;
373
+ estimationUnit: EstimationUnit;
373
374
  };
375
+ export declare enum EstimationUnit {
376
+ HOURS = "hours",
377
+ DAYS = "days"
378
+ }
374
379
  export type Image = {
375
380
  url: string;
376
381
  name: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "license": "CC-BY-NC-ND-4.0",
6
6
  "author": "26lights <dev@26lights.com> (https://www.26lights.com)",
7
- "version": "0.41.149",
7
+ "version": "0.41.151",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],
@@ -1,33 +0,0 @@
1
- import { type Activity, type ActivityStatus, type Milestone, type MilestoneStatus, type Ordered, type Phase, type User, type Id } from './types';
2
- import { type DraggableChangeEvent } from './types/utils';
3
- import { type Ref } from 'vue';
4
- export declare function sumPhaseActivitiesAmount(milestones: Milestone[]): number;
5
- export declare function sumTemplateMilestonesAmount(phases: Phase[]): number;
6
- export declare function sumTemplateActivitiesAmount(phases: Phase[]): number;
7
- export declare function getInitialLetters(name: string): string;
8
- export declare function computeNewRank<T extends Ordered>(event: DraggableChangeEvent<T>, list: T[]): string | undefined;
9
- export declare function generateRank<T extends Ordered>(items: T[], index: number): string;
10
- export declare function formatDate(value: string | null | undefined, pattern?: string): string;
11
- export declare function isActivityClosed(activity: Activity, closedStatus: ActivityStatus): boolean;
12
- export declare function isFullyDone(milestone: Milestone, closedStatus: ActivityStatus): boolean;
13
- export declare function milestoneWithStatus(milestone: Milestone, closedStatus: ActivityStatus): Milestone & {
14
- status: MilestoneStatus;
15
- };
16
- export declare const getUserName: (user: User | undefined | null) => string;
17
- export declare function lightenColor(color: string, alpha?: number): string;
18
- export declare function useMentions(textareaRef: Ref<HTMLTextAreaElement | null | undefined>, messageModel: Ref<string>, allUsers: Ref<User[]>): {
19
- showMentionList: Ref<boolean>;
20
- mentionListPosition: Ref<{
21
- top: number;
22
- left: number;
23
- }>;
24
- filteredUsers: import("vue").ComputedRef<{
25
- id: string;
26
- name: string;
27
- }[]>;
28
- mentionQuery: Ref<string>;
29
- handleInput: (event: Event) => void;
30
- handleKeydown: (event: KeyboardEvent) => void;
31
- selectUserMention: (name: string) => void;
32
- getMentionedUserIds: (message: string) => Id[];
33
- };