@26lights/orcha 0.9.11 → 0.9.13

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.
@@ -30,7 +30,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
30
  };
31
31
  userId: {
32
32
  type: import("vue").PropType<string>;
33
- required: true;
34
33
  };
35
34
  isTaskCheckable: {
36
35
  type: import("vue").PropType<(task: Subtask) => boolean>;
@@ -82,7 +81,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
82
81
  };
83
82
  userId: {
84
83
  type: import("vue").PropType<string>;
85
- required: true;
86
84
  };
87
85
  isTaskCheckable: {
88
86
  type: import("vue").PropType<(task: Subtask) => boolean>;
@@ -2,6 +2,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  title: {
3
3
  type: import("vue").PropType<string>;
4
4
  };
5
+ id: {
6
+ type: import("vue").PropType<string>;
7
+ };
5
8
  icon: {
6
9
  type: import("vue").PropType<"AccountBoxSharp" | "AccountCircle" | "AccountTreeOutlineRounded" | "AccountTreeRounded" | "Add" | "AddBoxOutlineRounded" | "ArchiveOutlineRounded" | "ArrowBackRounded" | "ArrowDropDownRounded" | "ArrowForwardRounded" | "AssignmentOutlineRounded" | "AttachFileRounded" | "CalendarTodayOutlineRounded" | "CancelRounded" | "ChatOutline" | "CheckBoxOutlineBlank" | "CheckBoxOutlineBlankSharp" | "CheckBoxOutlineRounded" | "CheckSmallRounded" | "ChecklistRounded" | "ChevronLeft" | "ChevronRight" | "CloseRounded" | "ContactsOutlineRounded" | "ContentCopyOutline" | "DeleteOutlineRounded" | "DragIndicator" | "EditDocumentRounded" | "EditOutline" | "ErrorOutlineRounded" | "FilterListRounded" | "FlagRounded" | "FlowsheetOutlineRounded" | "GifBox" | "GroupsOutline" | "HomeOutlineRounded" | "ImageRounded" | "Info" | "KeyboardArrowDown" | "KeyboardArrowUp" | "LogoutRounded" | "Menu" | "MoreHoriz" | "MoreTimeRounded" | "MoreVert" | "MountainFlagOutlineRounded" | "PersonAddOutlineRounded" | "PictureAsPdfRounded" | "RadioButtonChecked" | "RadioButtonCheckedOutline" | "RadioButtonUnchecked" | "RemoveRounded" | "SearchRounded" | "SelectCheckBox" | "SendRounded" | "Settings" | "SlideshowRounded" | "Target" | "TaskOutlineRounded" | "TextSnippetRounded" | "TimerOutline" | "ViewComfyAltRounded" | "ViewCompactAltRounded" | "ViewTimelineRounded" | "WarningOutlineRounded" | "WarningRounded" | "WaterfallChartRounded" | "Loading">;
7
10
  };
@@ -27,6 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
30
  title: {
28
31
  type: import("vue").PropType<string>;
29
32
  };
33
+ id: {
34
+ type: import("vue").PropType<string>;
35
+ };
30
36
  icon: {
31
37
  type: import("vue").PropType<"AccountBoxSharp" | "AccountCircle" | "AccountTreeOutlineRounded" | "AccountTreeRounded" | "Add" | "AddBoxOutlineRounded" | "ArchiveOutlineRounded" | "ArrowBackRounded" | "ArrowDropDownRounded" | "ArrowForwardRounded" | "AssignmentOutlineRounded" | "AttachFileRounded" | "CalendarTodayOutlineRounded" | "CancelRounded" | "ChatOutline" | "CheckBoxOutlineBlank" | "CheckBoxOutlineBlankSharp" | "CheckBoxOutlineRounded" | "CheckSmallRounded" | "ChecklistRounded" | "ChevronLeft" | "ChevronRight" | "CloseRounded" | "ContactsOutlineRounded" | "ContentCopyOutline" | "DeleteOutlineRounded" | "DragIndicator" | "EditDocumentRounded" | "EditOutline" | "ErrorOutlineRounded" | "FilterListRounded" | "FlagRounded" | "FlowsheetOutlineRounded" | "GifBox" | "GroupsOutline" | "HomeOutlineRounded" | "ImageRounded" | "Info" | "KeyboardArrowDown" | "KeyboardArrowUp" | "LogoutRounded" | "Menu" | "MoreHoriz" | "MoreTimeRounded" | "MoreVert" | "MountainFlagOutlineRounded" | "PersonAddOutlineRounded" | "PictureAsPdfRounded" | "RadioButtonChecked" | "RadioButtonCheckedOutline" | "RadioButtonUnchecked" | "RemoveRounded" | "SearchRounded" | "SelectCheckBox" | "SendRounded" | "Settings" | "SlideshowRounded" | "Target" | "TaskOutlineRounded" | "TextSnippetRounded" | "TimerOutline" | "ViewComfyAltRounded" | "ViewCompactAltRounded" | "ViewTimelineRounded" | "WarningOutlineRounded" | "WarningRounded" | "WaterfallChartRounded" | "Loading">;
32
38
  };
@@ -1,9 +1,12 @@
1
1
  import { type Phase } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- title: {
3
+ id: {
4
4
  type: import("vue").PropType<string>;
5
5
  required: true;
6
6
  };
7
+ title: {
8
+ type: import("vue").PropType<string>;
9
+ };
7
10
  activities: {
8
11
  type: import("vue").PropType<number>;
9
12
  required: true;
@@ -24,10 +27,13 @@ declare const _default: import("vue").DefineComponent<{
24
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
28
  updateTitle: (title: string) => void;
26
29
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- title: {
30
+ id: {
28
31
  type: import("vue").PropType<string>;
29
32
  required: true;
30
33
  };
34
+ title: {
35
+ type: import("vue").PropType<string>;
36
+ };
31
37
  activities: {
32
38
  type: import("vue").PropType<number>;
33
39
  required: true;
@@ -1,5 +1,5 @@
1
1
  import type { Ordered } from '../types';
2
2
  export default function <T extends Ordered>(items: T[], type: string, t: any): {
3
- name: any;
3
+ name: string;
4
4
  rank: string;
5
5
  };
@@ -1,6 +1,7 @@
1
1
  import { type HTMLElementTagNameType } from './utils';
2
2
  import { type IconNames } from './styles';
3
3
  export interface CardProps {
4
+ id?: string;
4
5
  title?: string;
5
6
  subtitle?: string;
6
7
  icon?: IconNames;
@@ -189,7 +189,7 @@ export interface AddItemPayload {
189
189
  export interface AddPhasePayload {
190
190
  name: string;
191
191
  rank: string;
192
- projectId: string;
192
+ projectId?: string;
193
193
  }
194
194
  export interface AddMilestonePayload {
195
195
  name: string;
@@ -270,7 +270,7 @@ export interface UpdateActivityPayload {
270
270
  statusId?: string;
271
271
  deadline?: string;
272
272
  typeId?: Id;
273
- assigneeId?: Id;
273
+ assigneeId?: Id | null;
274
274
  projectId?: Id;
275
275
  }
276
276
  export interface AddRulePayload {
@@ -1,4 +1,4 @@
1
- import { type Activity, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase } from '../types';
1
+ import { type Activity, type UpdateActivityPayload, type AddSubtaskPayload, type AddCommentPayload, type UpdateCommentPayload, type RemoveCommentPayload, type Subtask, type ActivityStatus, type Phase, type User } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  phaseId: {
4
4
  type: import("vue").PropType<string>;
@@ -33,6 +33,14 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: import("vue").PropType<Phase[]>;
34
34
  required: true;
35
35
  };
36
+ users: {
37
+ type: import("vue").PropType<User[]>;
38
+ required: true;
39
+ };
40
+ userId: {
41
+ type: import("vue").PropType<string>;
42
+ required: true;
43
+ };
36
44
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
45
  'update:activity': (payload: UpdateActivityPayload) => void;
38
46
  addSubtask: (payload: AddSubtaskPayload) => void;
@@ -73,6 +81,14 @@ declare const _default: import("vue").DefineComponent<{
73
81
  type: import("vue").PropType<Phase[]>;
74
82
  required: true;
75
83
  };
84
+ users: {
85
+ type: import("vue").PropType<User[]>;
86
+ required: true;
87
+ };
88
+ userId: {
89
+ type: import("vue").PropType<string>;
90
+ required: true;
91
+ };
76
92
  }>> & {
77
93
  onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
78
94
  onRemoveComment?: ((payload: RemoveCommentPayload) => 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.9.11",
7
+ "version": "0.9.13",
8
8
  "workspaces": [
9
9
  "packages/*"
10
10
  ],
@@ -1,17 +0,0 @@
1
- import { type MaybeRef } from 'vue';
2
- import { type User, type Id } from '../types';
3
- type InitUseProjectOverviewStorePayload = {
4
- users: MaybeRef<User[]>;
5
- userId: MaybeRef<Id>;
6
- };
7
- export default function useProjectOverviewStore(): {
8
- init: (initPayload: InitUseProjectOverviewStorePayload) => void;
9
- users: import("vue").Ref<{
10
- id: string;
11
- firstName?: string | undefined;
12
- lastName?: string | undefined;
13
- picture?: string | undefined;
14
- }[]>;
15
- userId: import("vue").Ref<string>;
16
- };
17
- export {};