@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.
@@ -40,9 +40,7 @@ export type SprintDetail = Omit<Sprint, 'finishedAt'> & {
40
40
  finishAt: number;
41
41
  sprintInterval: number;
42
42
  sprintIntervalUnit: string;
43
- productBacklogItems: (Pick<Pbi, '_id' | 'name' | 'status'> & {
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;
@@ -41,6 +41,8 @@ export type Pbi = {
41
41
  isMemberAssigned: boolean;
42
42
  platform: Platform;
43
43
  totalBug?: number;
44
+ hasTimerStart?: boolean;
45
+ canViewDetail?: boolean;
44
46
  };
45
47
 
46
48
  export type TaskStatus =
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue",
3
- "version": "1.5.199-alpha.13",
3
+ "version": "1.5.199-alpha.14",
4
4
  "author": "fewangsit",
5
5
  "description": "Wangsit VueJS Component Library",
6
6
  "module": "./wangsvue.es.js",
@@ -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
+ };