@26lights/orcha 0.41.112 → 0.41.113
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 +1530 -1525
- package/dist/orcha.umd.js +2 -2
- package/dist/src/views/AoFeed.vue.d.ts +21 -0
- package/package.json +2 -2
|
@@ -1,4 +1,13 @@
|
|
|
1
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';
|
|
2
|
+
interface ActiveTimer {
|
|
3
|
+
id: string;
|
|
4
|
+
activityId: string;
|
|
5
|
+
activitySlug?: string;
|
|
6
|
+
projectId?: string;
|
|
7
|
+
startedAt: Date | string;
|
|
8
|
+
elapsedBeforeStartMs: number;
|
|
9
|
+
status: 'running' | 'paused';
|
|
10
|
+
}
|
|
2
11
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
12
|
filters: {
|
|
4
13
|
type: import("vue").PropType<FeedFilters>;
|
|
@@ -50,6 +59,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
59
|
projects: {
|
|
51
60
|
type: import("vue").PropType<Project[]>;
|
|
52
61
|
};
|
|
62
|
+
activeTimer: {
|
|
63
|
+
type: import("vue").PropType<ActiveTimer | null>;
|
|
64
|
+
};
|
|
53
65
|
selectedActivity: {
|
|
54
66
|
type: import("vue").PropType<Activity>;
|
|
55
67
|
};
|
|
@@ -94,6 +106,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
106
|
addComment: (payload: AddCommentPayload) => void;
|
|
95
107
|
updateComment: (payload: UpdateCommentPayload) => void;
|
|
96
108
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
109
|
+
startTimer: (activity: Activity) => void;
|
|
110
|
+
pauseTimer: (activity: Activity) => void;
|
|
111
|
+
stopTimer: (activity: Activity) => void;
|
|
97
112
|
toast: (message: string, type: "success" | "error") => void;
|
|
98
113
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
114
|
filters: {
|
|
@@ -146,6 +161,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
161
|
projects: {
|
|
147
162
|
type: import("vue").PropType<Project[]>;
|
|
148
163
|
};
|
|
164
|
+
activeTimer: {
|
|
165
|
+
type: import("vue").PropType<ActiveTimer | null>;
|
|
166
|
+
};
|
|
149
167
|
selectedActivity: {
|
|
150
168
|
type: import("vue").PropType<Activity>;
|
|
151
169
|
};
|
|
@@ -184,6 +202,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
184
202
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
185
203
|
onToast?: ((message: string, type: "success" | "error") => any) | undefined;
|
|
186
204
|
onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
|
|
205
|
+
onStartTimer?: ((activity: Activity) => any) | undefined;
|
|
206
|
+
onPauseTimer?: ((activity: Activity) => any) | undefined;
|
|
207
|
+
onStopTimer?: ((activity: Activity) => any) | undefined;
|
|
187
208
|
"onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
|
|
188
209
|
"onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
|
|
189
210
|
"onUpdate:searchText"?: ((value: string) => any) | undefined;
|
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.
|
|
7
|
+
"version": "0.41.113",
|
|
8
8
|
"workspaces": [
|
|
9
9
|
"packages/*"
|
|
10
10
|
],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"vuedraggable": "~4.1.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@26lights/orcha": "^0.41.
|
|
31
|
+
"@26lights/orcha": "^0.41.113",
|
|
32
32
|
"@floating-ui/dom": "^1.5.3",
|
|
33
33
|
"@vueform/multiselect": "^2.6.6",
|
|
34
34
|
"@vueuse/core": "^10.8.0",
|