@26lights/orcha 0.41.120 → 0.41.122
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.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +468 -459
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoCardFeed.vue.d.ts +9 -3
- package/dist/src/components/AoListKanban.vue.d.ts +4 -4
- package/dist/src/types/index.d.ts +7 -0
- package/dist/src/views/AoFeed.vue.d.ts +3 -3
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Subtask, type UpdateActivityPayload, type User } from '../types';
|
|
1
|
+
import { type StartTimerPayload, type Subtask, type UpdateActivityPayload, type User } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
id: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -11,6 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
11
11
|
projectName: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
};
|
|
14
|
+
projectId: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
14
17
|
projectColor: {
|
|
15
18
|
type: import("vue").PropType<string>;
|
|
16
19
|
};
|
|
@@ -59,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
62
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
63
|
removeAssignee: (assigneeId: string) => void;
|
|
61
64
|
updateActivity: (payload: UpdateActivityPayload) => void;
|
|
62
|
-
startTimer: (
|
|
65
|
+
startTimer: (payload: StartTimerPayload) => void;
|
|
63
66
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
67
|
id: {
|
|
65
68
|
type: import("vue").PropType<string>;
|
|
@@ -72,6 +75,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
75
|
projectName: {
|
|
73
76
|
type: import("vue").PropType<string>;
|
|
74
77
|
};
|
|
78
|
+
projectId: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
};
|
|
75
81
|
projectColor: {
|
|
76
82
|
type: import("vue").PropType<string>;
|
|
77
83
|
};
|
|
@@ -120,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
120
126
|
}>> & {
|
|
121
127
|
onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
|
|
122
128
|
onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
|
|
123
|
-
onStartTimer?: ((
|
|
129
|
+
onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
|
|
124
130
|
}, {}, {}>, {
|
|
125
131
|
secondary?(_: {}): any;
|
|
126
132
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type UpdateActivityPayload, User } from '../types';
|
|
1
|
+
import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type StartTimerPayload, type UpdateActivityPayload, User } from '../types';
|
|
2
2
|
declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
3
3
|
list: Activity[];
|
|
4
4
|
status: ActivityStatus;
|
|
@@ -44,7 +44,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
44
44
|
id: Id;
|
|
45
45
|
}];
|
|
46
46
|
updateActivity: [input: UpdateActivityPayload];
|
|
47
|
-
startTimer: [
|
|
47
|
+
startTimer: [payload: StartTimerPayload];
|
|
48
48
|
};
|
|
49
49
|
}, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
|
|
50
50
|
props: {
|
|
@@ -79,7 +79,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
79
79
|
id: Id;
|
|
80
80
|
}];
|
|
81
81
|
updateActivity: [input: UpdateActivityPayload];
|
|
82
|
-
startTimer: [
|
|
82
|
+
startTimer: [payload: StartTimerPayload];
|
|
83
83
|
};
|
|
84
84
|
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
85
85
|
[key: string]: any;
|
|
@@ -117,7 +117,7 @@ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
|
|
|
117
117
|
id: Id;
|
|
118
118
|
}];
|
|
119
119
|
updateActivity: [input: UpdateActivityPayload];
|
|
120
|
-
startTimer: [
|
|
120
|
+
startTimer: [payload: StartTimerPayload];
|
|
121
121
|
};
|
|
122
122
|
} | undefined;
|
|
123
123
|
};
|
|
@@ -273,6 +273,13 @@ export interface AddSubtaskPayload {
|
|
|
273
273
|
activityId: Id;
|
|
274
274
|
name: string;
|
|
275
275
|
}
|
|
276
|
+
export interface StartTimerPayload {
|
|
277
|
+
activityId: Id;
|
|
278
|
+
activityName: string;
|
|
279
|
+
project?: string;
|
|
280
|
+
projectId?: string;
|
|
281
|
+
activitySlug?: string;
|
|
282
|
+
}
|
|
276
283
|
export interface UpdateActivityPayload {
|
|
277
284
|
id: Id;
|
|
278
285
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Project, type RemoveCommentPayload, type RemoveFilePayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
|
|
1
|
+
import { type Activity, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Project, type RemoveCommentPayload, type RemoveFilePayload, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
filters: {
|
|
4
4
|
type: import("vue").PropType<FeedFilters>;
|
|
@@ -95,7 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
95
95
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
96
96
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
97
97
|
toast: (message: string, type: "success" | "error") => void;
|
|
98
|
-
startTimer: (
|
|
98
|
+
startTimer: (payload: StartTimerPayload) => void;
|
|
99
99
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
filters: {
|
|
101
101
|
type: import("vue").PropType<FeedFilters>;
|
|
@@ -165,7 +165,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
165
165
|
required: true;
|
|
166
166
|
};
|
|
167
167
|
}>> & {
|
|
168
|
-
onStartTimer?: ((
|
|
168
|
+
onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
|
|
169
169
|
onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
|
|
170
170
|
onArchiveActivity?: ((payload: {
|
|
171
171
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActivityStatus, type AddActivityPayload, type Phase, type UpdateActivityPayload, type UpdateMilestonePayload, type User } from '../types';
|
|
1
|
+
import { type ActivityStatus, type AddActivityPayload, type Phase, type StartTimerPayload, type UpdateActivityPayload, type UpdateMilestonePayload, type User } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
milestoneId: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
unarchiveActivity: (payload: {
|
|
38
38
|
id: string;
|
|
39
39
|
}) => void;
|
|
40
|
-
startTimer: (
|
|
40
|
+
startTimer: (payload: StartTimerPayload) => void;
|
|
41
41
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
milestoneId: {
|
|
43
43
|
type: import("vue").PropType<string>;
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
}>> & {
|
|
69
69
|
onClose?: ((e: Event) => any) | undefined;
|
|
70
70
|
onUpdateActivity?: ((args_0: UpdateActivityPayload) => any) | undefined;
|
|
71
|
-
onStartTimer?: ((
|
|
71
|
+
onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
|
|
72
72
|
onArchiveActivity?: ((payload: {
|
|
73
73
|
id: string;
|
|
74
74
|
}) => any) | undefined;
|