@26lights/orcha 0.42.171 → 0.42.173
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 +1 -0
- package/dist/orcha.cjs.js +25 -25
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +2691 -2671
- package/dist/orcha.umd.js +26 -26
- package/dist/src/components/AoBulkInsertModal.vue.d.ts +2 -3
- package/dist/src/components/AoProjectPhases.vue.d.ts +3 -1
- package/dist/src/types/index.d.ts +7 -3
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
17
17
|
};
|
|
18
18
|
open: {
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
|
-
|
|
20
|
+
required: true;
|
|
21
21
|
};
|
|
22
22
|
hint: {
|
|
23
23
|
type: import("vue").PropType<string>;
|
|
@@ -48,7 +48,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
48
48
|
};
|
|
49
49
|
open: {
|
|
50
50
|
type: import("vue").PropType<boolean>;
|
|
51
|
-
|
|
51
|
+
required: true;
|
|
52
52
|
};
|
|
53
53
|
hint: {
|
|
54
54
|
type: import("vue").PropType<string>;
|
|
@@ -62,7 +62,6 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
62
62
|
size: "sm" | "md";
|
|
63
63
|
isLoading: boolean;
|
|
64
64
|
placeholder: string;
|
|
65
|
-
open: boolean;
|
|
66
65
|
hint: string;
|
|
67
66
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
67
|
declare const _default: typeof __VLS_publicComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActivityStatus, type AddMilestonePayload, type AddPhasePayload, type Id, type Phase, type UpdateMilestonePayload, type UpdatePhasePayload, type User, type TimeTracking } from '../types';
|
|
1
|
+
import { type ActivityStatus, type AddMilestonePayload, type AddPhasePayload, type BulkAddMilestonePayload, type Id, type Phase, type UpdateMilestonePayload, type UpdatePhasePayload, type User, type TimeTracking } from '../types';
|
|
2
2
|
declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
phases: {
|
|
4
4
|
type: import("vue").PropType<Phase[]>;
|
|
@@ -26,6 +26,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
26
26
|
};
|
|
27
27
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
addMilestone: (payload: AddMilestonePayload) => void;
|
|
29
|
+
bulkAddMilestone: (payload: BulkAddMilestonePayload) => void;
|
|
29
30
|
updateMilestone: (payload: UpdateMilestonePayload) => void;
|
|
30
31
|
archiveMilestone: (payload: {
|
|
31
32
|
id: Id;
|
|
@@ -83,6 +84,7 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
83
84
|
onUnarchiveMilestone?: ((payload: {
|
|
84
85
|
id: Id;
|
|
85
86
|
}) => any) | undefined;
|
|
87
|
+
onBulkAddMilestone?: ((payload: BulkAddMilestonePayload) => any) | undefined;
|
|
86
88
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
89
|
declare const _default: typeof __VLS_publicComponent;
|
|
88
90
|
export default _default;
|
|
@@ -237,21 +237,25 @@ export interface AddPhasePayload {
|
|
|
237
237
|
projectId?: string;
|
|
238
238
|
deadline?: string;
|
|
239
239
|
}
|
|
240
|
-
export interface
|
|
240
|
+
export interface BulkMutationCallbacks {
|
|
241
|
+
onSuccess: () => void;
|
|
242
|
+
onError: () => void;
|
|
243
|
+
}
|
|
244
|
+
export interface BulkAddPhasePayload extends BulkMutationCallbacks {
|
|
241
245
|
projectId: Id;
|
|
242
246
|
phases: Array<{
|
|
243
247
|
name: string;
|
|
244
248
|
rank: string;
|
|
245
249
|
}>;
|
|
246
250
|
}
|
|
247
|
-
export interface BulkAddMilestonePayload {
|
|
251
|
+
export interface BulkAddMilestonePayload extends BulkMutationCallbacks {
|
|
248
252
|
phaseId: Id;
|
|
249
253
|
milestones: Array<{
|
|
250
254
|
name: string;
|
|
251
255
|
rank: string;
|
|
252
256
|
}>;
|
|
253
257
|
}
|
|
254
|
-
export interface BulkAddActivityPayload {
|
|
258
|
+
export interface BulkAddActivityPayload extends BulkMutationCallbacks {
|
|
255
259
|
projectId: Id;
|
|
256
260
|
phaseId: Id;
|
|
257
261
|
milestoneId: Id;
|