@26lights/orcha 0.42.206 → 0.42.208
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/locales/en/translation.json +3 -3
- package/dist/orcha.cjs.js +36 -36
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +8474 -8471
- package/dist/orcha.umd.js +40 -40
- package/dist/src/components/AoActivityDetails.vue.d.ts +1 -1
- package/dist/src/components/AoSprintList.vue.d.ts +4 -4
- package/dist/src/helpers.d.ts +7 -1
- package/dist/src/main.d.ts +1 -0
- package/dist/src/types/index.d.ts +2 -1
- package/dist/src/views/AoFeed.vue.d.ts +2 -2
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { type ActivityFeed, type Milestone, type UpdateSubtaskFieldPayload, type
|
|
|
2
2
|
import type { HistoryEventTransaction } from '../types';
|
|
3
3
|
interface CreateSprintPayload {
|
|
4
4
|
projectId: Id;
|
|
5
|
-
|
|
5
|
+
label?: string;
|
|
6
6
|
startDate: string;
|
|
7
7
|
endDate: string;
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
10
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
updateSprint: (payload: {
|
|
12
12
|
id: Id;
|
|
13
|
-
|
|
13
|
+
label?: string;
|
|
14
14
|
startDate?: string;
|
|
15
15
|
endDate?: string;
|
|
16
16
|
color?: string;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
22
22
|
id: Id;
|
|
23
23
|
}) => void;
|
|
24
24
|
createSprint: (payload: {
|
|
25
|
-
|
|
25
|
+
label?: string;
|
|
26
26
|
startDate: string;
|
|
27
27
|
endDate: string;
|
|
28
28
|
color?: string;
|
|
@@ -37,14 +37,14 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
37
37
|
};
|
|
38
38
|
}>> & Readonly<{
|
|
39
39
|
onCreateSprint?: ((payload: {
|
|
40
|
-
|
|
40
|
+
label?: string;
|
|
41
41
|
startDate: string;
|
|
42
42
|
endDate: string;
|
|
43
43
|
color?: string;
|
|
44
44
|
}) => any) | undefined;
|
|
45
45
|
onUpdateSprint?: ((payload: {
|
|
46
46
|
id: Id;
|
|
47
|
-
|
|
47
|
+
label?: string;
|
|
48
48
|
startDate?: string;
|
|
49
49
|
endDate?: string;
|
|
50
50
|
color?: string;
|
package/dist/src/helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Activity, type ActivityStatus, type Id, type Milestone, type MilestoneStatus, type Ordered, type Phase, type User } from './types';
|
|
1
|
+
import { type Activity, type ActivityStatus, type Id, type Milestone, type MilestoneStatus, type Ordered, type Phase, type Sprint, type User } from './types';
|
|
2
2
|
import { type DraggableChangeEvent } from './types/utils';
|
|
3
3
|
/**
|
|
4
4
|
* Formats minutes into a human-readable time format
|
|
@@ -47,3 +47,9 @@ export declare function getMentionName(user: User): string;
|
|
|
47
47
|
* Extract unique mentioned user IDs from a Markdown/plain-text message.
|
|
48
48
|
*/
|
|
49
49
|
export declare function extractMentionedUserIds(message: string, users: User[]): Id[];
|
|
50
|
+
/**
|
|
51
|
+
* Generate a display name for a sprint.
|
|
52
|
+
* - number=1, label="Maintenance" => "Sprint 1: Maintenance"
|
|
53
|
+
* - number=1, label=null => "Sprint 1"
|
|
54
|
+
*/
|
|
55
|
+
export declare function sprintDisplayName(sprint: Sprint): string;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as AoTemplateDetails } from './views/AoTemplateDetails.vue';
|
|
|
4
4
|
export { default as AoFeed } from './views/AoFeed.vue';
|
|
5
5
|
export * from './router/routes';
|
|
6
6
|
export * from './types';
|
|
7
|
+
export { sprintDisplayName } from './helpers';
|
|
7
8
|
export { default as AoField } from './components/AoField.vue';
|
|
8
9
|
export { default as AoInputField } from './components/AoInputField.vue';
|
|
9
10
|
export { default as AoCheckboxField } from './components/AoCheckboxField.vue';
|
|
@@ -149,7 +149,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
149
149
|
startTimer: (payload: StartTimerPayload) => void;
|
|
150
150
|
createSprint: (payload: {
|
|
151
151
|
projectId: Id;
|
|
152
|
-
|
|
152
|
+
label?: string;
|
|
153
153
|
startDate: string;
|
|
154
154
|
endDate: string;
|
|
155
155
|
}) => void;
|
|
@@ -294,7 +294,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
294
294
|
onToast?: ((message: string, type: "error" | "success") => any) | undefined;
|
|
295
295
|
onCreateSprint?: ((payload: {
|
|
296
296
|
projectId: Id;
|
|
297
|
-
|
|
297
|
+
label?: string;
|
|
298
298
|
startDate: string;
|
|
299
299
|
endDate: string;
|
|
300
300
|
}) => any) | undefined;
|
|
@@ -79,7 +79,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
79
79
|
removeComment: (payload: RemoveCommentPayload) => void;
|
|
80
80
|
createSprint: (payload: {
|
|
81
81
|
projectId: Id;
|
|
82
|
-
|
|
82
|
+
label?: string;
|
|
83
83
|
startDate: string;
|
|
84
84
|
endDate: string;
|
|
85
85
|
}) => void;
|
|
@@ -163,7 +163,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
163
163
|
onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
|
|
164
164
|
onCreateSprint?: ((payload: {
|
|
165
165
|
projectId: Id;
|
|
166
|
-
|
|
166
|
+
label?: string;
|
|
167
167
|
startDate: string;
|
|
168
168
|
endDate: string;
|
|
169
169
|
}) => any) | undefined;
|