@fewangsit/wangsvue 1.5.199-alpha.13 → 1.5.199-alpha.14
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/components/detailsprint/DetailSprint.vue.d.ts +1 -3
- package/components/detailsprint/DialogPreparePbi.vue.d.ts +23 -0
- package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +2 -0
- package/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/utils/date.util.d.ts +6 -0
- package/wangsvue.es.js +11746 -11642
- package/wangsvue.system.js +99 -99
|
@@ -40,9 +40,7 @@ export type SprintDetail = Omit<Sprint, 'finishedAt'> & {
|
|
|
40
40
|
finishAt: number;
|
|
41
41
|
sprintInterval: number;
|
|
42
42
|
sprintIntervalUnit: string;
|
|
43
|
-
productBacklogItems:
|
|
44
|
-
canViewDetail?: boolean;
|
|
45
|
-
})[];
|
|
43
|
+
productBacklogItems: Pick<Pbi, '_id' | 'name' | 'status'>[];
|
|
46
44
|
};
|
|
47
45
|
|
|
48
46
|
export interface PbiOptions {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Pbi } from '../dialogdetailpbi/DialogDetailPbi.vue.d';
|
|
2
|
+
import { ClassComponent } from '../.././components/ts-helpers';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export interface DialogPreparePbiProps {
|
|
6
|
+
projectId: string;
|
|
7
|
+
selectedPbi: Pbi | undefined;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type DialogPreparePbiEmits = {
|
|
11
|
+
/**
|
|
12
|
+
* Emit on reloading the task table
|
|
13
|
+
*/
|
|
14
|
+
reloadTable: [];
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
declare class DialogPreparePbi extends ClassComponent<
|
|
18
|
+
DialogPreparePbiProps,
|
|
19
|
+
unknown,
|
|
20
|
+
DialogPreparePbiEmits
|
|
21
|
+
> {}
|
|
22
|
+
|
|
23
|
+
export default DialogPreparePbi;
|
package/components/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { default as DialogDetailPbi } from './dialogdetailpbi/DialogDetailPbi.vu
|
|
|
10
10
|
export { default as TaskDetailPbi } from './dialogdetailpbi/TaskDetailPbi.vue';
|
|
11
11
|
export { default as DetailMember } from './detailmember/DetailMember.vue';
|
|
12
12
|
export { default as DetailSprint } from './detailsprint/DetailSprint.vue';
|
|
13
|
+
export { default as DialogPreparePbi } from './detailsprint/DialogPreparePbi.vue';
|
|
13
14
|
export { default as DialogAdjustmentTask } from './dialogAdjustmentTask/DialogAdjustmentTask.vue';
|
|
14
15
|
export { default as TaskDetail } from './taskdetail/TaskDetail.vue';
|
|
15
16
|
export { default as TaskTable } from './tasktable/TaskTable.vue';
|
package/package.json
CHANGED
package/utils/date.util.d.ts
CHANGED
|
@@ -15,3 +15,9 @@ export declare const formatISODate: (date: string | Date) => string;
|
|
|
15
15
|
* @returns The formatted date string.
|
|
16
16
|
*/
|
|
17
17
|
export declare const formatDateReadable: (date: Date, maxSeconds?: number) => string;
|
|
18
|
+
export declare const getRemainingTime: (deadline: string) => {
|
|
19
|
+
seconds: number;
|
|
20
|
+
days: number;
|
|
21
|
+
hours: number;
|
|
22
|
+
minutes: number;
|
|
23
|
+
};
|