@26lights/orcha 0.42.38 → 0.42.40

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.
Files changed (139) hide show
  1. package/dist/orcha.cjs.js +229 -2
  2. package/dist/orcha.css +1 -1
  3. package/dist/orcha.es.js +27170 -7354
  4. package/dist/orcha.umd.js +230 -3
  5. package/dist/src/components/AoActivityDetails.vue.d.ts +50 -137
  6. package/dist/src/components/AoActivityDetailsComments.vue.d.ts +43 -47
  7. package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +25 -23
  8. package/dist/src/components/AoActivityTasks.vue.d.ts +25 -49
  9. package/dist/src/components/AoAddTemplateModal.vue.d.ts +20 -26
  10. package/dist/src/components/AoAvatar.vue.d.ts +37 -45
  11. package/dist/src/components/AoBadge.vue.d.ts +13 -10
  12. package/dist/src/components/AoButton.vue.d.ts +57 -82
  13. package/dist/src/components/AoButtonCard.vue.d.ts +54 -69
  14. package/dist/src/components/AoButtonCheck.vue.d.ts +21 -23
  15. package/dist/src/components/AoCard.vue.d.ts +44 -41
  16. package/dist/src/components/AoCardFeed.vue.d.ts +39 -126
  17. package/dist/src/components/AoCardHoriz.vue.d.ts +33 -60
  18. package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +39 -106
  19. package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +42 -82
  20. package/dist/src/components/AoCardTemplate.vue.d.ts +23 -54
  21. package/dist/src/components/AoCardTemplateItem.vue.d.ts +16 -33
  22. package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +19 -17
  23. package/dist/src/components/AoCardTemplateItemMilestone.vue.d.ts +18 -11
  24. package/dist/src/components/AoCardTemplateItemPhase.vue.d.ts +20 -25
  25. package/dist/src/components/AoCheckboxField.vue.d.ts +42 -45
  26. package/dist/src/components/AoColHeader.vue.d.ts +13 -16
  27. package/dist/src/components/AoColorPicker.vue.d.ts +22 -16
  28. package/dist/src/components/AoComment.vue.d.ts +19 -51
  29. package/dist/src/components/AoCondensedCardProjectItemPhase.vue.d.ts +42 -82
  30. package/dist/src/components/AoField.vue.d.ts +33 -24
  31. package/dist/src/components/AoIcon.vue.d.ts +29 -21
  32. package/dist/src/components/AoInputField.vue.d.ts +50 -61
  33. package/dist/src/components/AoListKanban.vue.d.ts +23 -116
  34. package/dist/src/components/AoModal.vue.d.ts +28 -18
  35. package/dist/src/components/AoMultiselect.vue.d.ts +18 -15
  36. package/dist/src/components/AoPageHeader.vue.d.ts +15 -14
  37. package/dist/src/components/AoProgress.vue.d.ts +16 -23
  38. package/dist/src/components/AoProjectPhase.vue.d.ts +35 -66
  39. package/dist/src/components/AoProjectPhases.vue.d.ts +37 -68
  40. package/dist/src/components/AoRichTextEditor.vue.d.ts +40 -0
  41. package/dist/src/components/AoRuleLine.vue.d.ts +31 -45
  42. package/dist/src/components/AoSaveTemplateModal.vue.d.ts +17 -14
  43. package/dist/src/components/AoSearchField.vue.d.ts +34 -32
  44. package/dist/src/components/AoTabBar.vue.d.ts +8 -6
  45. package/dist/src/components/AoTag.vue.d.ts +23 -50
  46. package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +21 -38
  47. package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +19 -28
  48. package/dist/src/components/AoTemplateRules.vue.d.ts +18 -43
  49. package/dist/src/components/AoTitle.vue.d.ts +40 -51
  50. package/dist/src/components/icons/AccountBoxSharp.vue.d.ts +1 -1
  51. package/dist/src/components/icons/AccountCircle.vue.d.ts +1 -1
  52. package/dist/src/components/icons/AccountTreeOutlineRounded.vue.d.ts +1 -1
  53. package/dist/src/components/icons/AccountTreeRounded.vue.d.ts +1 -1
  54. package/dist/src/components/icons/Add.vue.d.ts +1 -1
  55. package/dist/src/components/icons/AddBoxOutlineRounded.vue.d.ts +1 -1
  56. package/dist/src/components/icons/ArchiveOutlineRounded.vue.d.ts +1 -1
  57. package/dist/src/components/icons/ArrowBackRounded.vue.d.ts +1 -1
  58. package/dist/src/components/icons/ArrowDropDownRounded.vue.d.ts +1 -1
  59. package/dist/src/components/icons/ArrowForwardRounded.vue.d.ts +1 -1
  60. package/dist/src/components/icons/AssignmentOutlineRounded.vue.d.ts +1 -1
  61. package/dist/src/components/icons/AttachFileRounded.vue.d.ts +1 -1
  62. package/dist/src/components/icons/CalendarTodayOutlineRounded.vue.d.ts +1 -1
  63. package/dist/src/components/icons/CancelRounded.vue.d.ts +1 -1
  64. package/dist/src/components/icons/ChatOutline.vue.d.ts +1 -1
  65. package/dist/src/components/icons/CheckBoxOutlineBlank.vue.d.ts +1 -1
  66. package/dist/src/components/icons/CheckBoxOutlineBlankSharp.vue.d.ts +1 -1
  67. package/dist/src/components/icons/CheckBoxOutlineRounded.vue.d.ts +1 -1
  68. package/dist/src/components/icons/CheckSmallRounded.vue.d.ts +1 -1
  69. package/dist/src/components/icons/ChecklistRounded.vue.d.ts +1 -1
  70. package/dist/src/components/icons/ChevronLeft.vue.d.ts +1 -1
  71. package/dist/src/components/icons/ChevronRight.vue.d.ts +1 -1
  72. package/dist/src/components/icons/CloseRounded.vue.d.ts +1 -1
  73. package/dist/src/components/icons/ContactsOutlineRounded.vue.d.ts +1 -1
  74. package/dist/src/components/icons/ContentCopyOutline.vue.d.ts +1 -1
  75. package/dist/src/components/icons/DeleteOutlineRounded.vue.d.ts +1 -1
  76. package/dist/src/components/icons/DragIndicator.vue.d.ts +1 -1
  77. package/dist/src/components/icons/EditDocumentRounded.vue.d.ts +1 -1
  78. package/dist/src/components/icons/EditOutline.vue.d.ts +1 -1
  79. package/dist/src/components/icons/ErrorOutlineRounded.vue.d.ts +1 -1
  80. package/dist/src/components/icons/FilterListRounded.vue.d.ts +1 -1
  81. package/dist/src/components/icons/FlagRounded.vue.d.ts +1 -1
  82. package/dist/src/components/icons/FlowsheetOutlineRounded.vue.d.ts +1 -1
  83. package/dist/src/components/icons/GifBox.vue.d.ts +1 -1
  84. package/dist/src/components/icons/GroupsOutline.vue.d.ts +1 -1
  85. package/dist/src/components/icons/HomeOutlineRounded.vue.d.ts +1 -1
  86. package/dist/src/components/icons/ImageRounded.vue.d.ts +1 -1
  87. package/dist/src/components/icons/Info.vue.d.ts +1 -1
  88. package/dist/src/components/icons/KeyboardArrowDown.vue.d.ts +1 -1
  89. package/dist/src/components/icons/KeyboardArrowUp.vue.d.ts +1 -1
  90. package/dist/src/components/icons/Loading.vue.d.ts +1 -1
  91. package/dist/src/components/icons/Lock.vue.d.ts +1 -1
  92. package/dist/src/components/icons/LogoutRounded.vue.d.ts +1 -1
  93. package/dist/src/components/icons/Menu.vue.d.ts +1 -1
  94. package/dist/src/components/icons/MoreHoriz.vue.d.ts +1 -1
  95. package/dist/src/components/icons/MoreTimeRounded.vue.d.ts +1 -1
  96. package/dist/src/components/icons/MoreVert.vue.d.ts +1 -1
  97. package/dist/src/components/icons/MountainFlagOutlineRounded.vue.d.ts +1 -1
  98. package/dist/src/components/icons/PersonAddOutlineRounded.vue.d.ts +1 -1
  99. package/dist/src/components/icons/PictureAsPdfRounded.vue.d.ts +1 -1
  100. package/dist/src/components/icons/RadioButtonChecked.vue.d.ts +1 -1
  101. package/dist/src/components/icons/RadioButtonCheckedOutline.vue.d.ts +1 -1
  102. package/dist/src/components/icons/RadioButtonUnchecked.vue.d.ts +1 -1
  103. package/dist/src/components/icons/RemoveRounded.vue.d.ts +1 -1
  104. package/dist/src/components/icons/SearchRounded.vue.d.ts +1 -1
  105. package/dist/src/components/icons/SelectCheckBox.vue.d.ts +1 -1
  106. package/dist/src/components/icons/SendRounded.vue.d.ts +1 -1
  107. package/dist/src/components/icons/Settings.vue.d.ts +1 -1
  108. package/dist/src/components/icons/SlideshowRounded.vue.d.ts +1 -1
  109. package/dist/src/components/icons/Target.vue.d.ts +1 -1
  110. package/dist/src/components/icons/TaskOutlineRounded.vue.d.ts +1 -1
  111. package/dist/src/components/icons/TextSnippetRounded.vue.d.ts +1 -1
  112. package/dist/src/components/icons/TimerOutline.vue.d.ts +1 -1
  113. package/dist/src/components/icons/ViewComfyAltRounded.vue.d.ts +1 -1
  114. package/dist/src/components/icons/ViewCompactAltRounded.vue.d.ts +1 -1
  115. package/dist/src/components/icons/ViewTimelineRounded.vue.d.ts +1 -1
  116. package/dist/src/components/icons/WarningOutlineRounded.vue.d.ts +1 -1
  117. package/dist/src/components/icons/WarningRounded.vue.d.ts +1 -1
  118. package/dist/src/components/icons/WaterfallChartRounded.vue.d.ts +1 -1
  119. package/dist/src/composables/useDetachedOptions.d.ts +2 -1
  120. package/dist/src/composables/useGetDefaultRankAndName.d.ts +2 -1
  121. package/dist/src/composables/useIsEditing.d.ts +4 -3
  122. package/dist/src/composables/useSearchField.d.ts +1 -1
  123. package/dist/src/composables/useSelectAddedElement.d.ts +2 -1
  124. package/dist/src/helpers.d.ts +13 -6
  125. package/dist/src/i18n/i18next.d.ts +3 -2
  126. package/dist/src/main.d.ts +1 -0
  127. package/dist/src/router/routes.d.ts +2 -1
  128. package/dist/src/types/components.d.ts +3 -2
  129. package/dist/src/types/styles.d.ts +1 -1
  130. package/dist/src/types/utils.d.ts +2 -1
  131. package/dist/src/views/AoFeed.vue.d.ts +72 -162
  132. package/dist/src/views/AoMapping.vue.d.ts +49 -118
  133. package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +43 -125
  134. package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +31 -71
  135. package/dist/src/views/AoProjectOverviewProject.vue.d.ts +79 -153
  136. package/dist/src/views/AoTemplateDetails.vue.d.ts +37 -61
  137. package/dist/src/views/AoTemplates.vue.d.ts +15 -10
  138. package/dist/src/views/AoTemplatesList.vue.d.ts +17 -12
  139. package/package.json +2 -1
@@ -1,69 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- title: {
3
- type: import("vue").PropType<string>;
4
- };
5
- id: {
6
- type: import("vue").PropType<string>;
7
- };
8
- icon: {
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" | "Lock" | "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">;
10
- };
11
- tagName: {
12
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
13
- default: string;
14
- };
15
- isEditing: {
16
- type: import("vue").PropType<boolean>;
17
- };
18
- subtitle: {
19
- type: import("vue").PropType<string>;
20
- };
21
- isActive: {
22
- type: import("vue").PropType<boolean>;
23
- };
24
- isDraggable: {
25
- type: import("vue").PropType<boolean>;
26
- };
27
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- "update:title": (value: string) => void;
29
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
- title: {
31
- type: import("vue").PropType<string>;
32
- };
33
- id: {
34
- type: import("vue").PropType<string>;
35
- };
36
- icon: {
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" | "Lock" | "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">;
38
- };
39
- tagName: {
40
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
41
- default: string;
42
- };
43
- isEditing: {
44
- type: import("vue").PropType<boolean>;
45
- };
46
- subtitle: {
47
- type: import("vue").PropType<string>;
48
- };
49
- isActive: {
50
- type: import("vue").PropType<boolean>;
51
- };
52
- isDraggable: {
53
- type: import("vue").PropType<boolean>;
54
- };
55
- }>> & {
56
- "onUpdate:title"?: ((value: string) => any) | undefined;
57
- }, {
58
- tagName: keyof HTMLElementTagNameMap;
59
- }, {}>, {
1
+ import { CardProps } from '../types/components';
2
+
3
+ declare function __VLS_template(): {
60
4
  subtitle?(_: {}): any;
61
5
  header?(_: {}): any;
62
6
  default?(_: {}): any;
63
7
  footer?(_: {}): any;
64
8
  secondary?(_: {}): any;
65
- }>;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CardProps>, {
11
+ tagName: string;
12
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:title": (value: string) => void;
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CardProps>, {
15
+ tagName: string;
16
+ }>>> & Readonly<{
17
+ "onUpdate:title"?: ((value: string) => any) | undefined;
18
+ }>, {
19
+ tagName: import('../types/utils').HTMLElementTagNameType;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
66
22
  export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
+ default: D[K];
35
+ }> : P[K];
36
+ };
37
+ type __VLS_Prettify<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
67
40
  type __VLS_WithTemplateSlots<T, S> = T & {
68
41
  new (): {
69
42
  $slots: S;
@@ -1,120 +1,53 @@
1
- import { type Activity, ActivityStatus, UpdateMilestonePayload, type User, type TimeTracking } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- id: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- name: {
8
- type: import("vue").PropType<string>;
9
- };
10
- color: {
11
- type: import("vue").PropType<string>;
12
- };
13
- phaseColor: {
14
- type: import("vue").PropType<string>;
15
- };
16
- activities: {
17
- type: import("vue").PropType<Activity[]>;
18
- };
19
- closedStatus: {
20
- type: import("vue").PropType<ActivityStatus>;
21
- required: true;
22
- };
23
- isEditable: {
24
- type: import("vue").PropType<boolean>;
25
- };
26
- deadline: {
27
- type: import("vue").PropType<string>;
28
- };
29
- active: {
30
- type: import("vue").PropType<boolean>;
31
- };
32
- isSelected: {
33
- type: import("vue").PropType<boolean>;
34
- };
35
- assignee: {
36
- type: import("vue").PropType<User>;
37
- };
38
- important: {
39
- type: import("vue").PropType<boolean>;
40
- };
41
- readonly: {
42
- type: import("vue").PropType<boolean>;
43
- };
44
- timeTrackingData: {
45
- type: import("vue").PropType<Record<string, TimeTracking>>;
46
- };
47
- estimationUnit: {
48
- type: import("vue").PropType<string>;
49
- };
50
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { Activity, ActivityStatus, Id, UpdateMilestonePayload, User, TimeTracking } from '../types';
2
+
3
+ interface Props {
4
+ id: string;
5
+ name?: string;
6
+ color?: string;
7
+ phaseColor?: string;
8
+ activities?: Activity[];
9
+ closedStatus: ActivityStatus;
10
+ isEditable?: boolean;
11
+ deadline?: string;
12
+ active?: boolean;
13
+ isSelected?: boolean;
14
+ assignee?: User;
15
+ important?: boolean;
16
+ readonly?: boolean;
17
+ timeTrackingData?: Record<Id, TimeTracking>;
18
+ estimationUnit?: string;
19
+ }
20
+ declare function __VLS_template(): {
21
+ secondary?(_: {}): any;
22
+ };
23
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
24
  updateMilestone: (payload: UpdateMilestonePayload) => void;
52
25
  archiveMilestone: (payload: {
53
- id: string;
26
+ id: Id;
54
27
  }) => void;
55
28
  unarchiveMilestone: (payload: {
56
- id: string;
29
+ id: Id;
57
30
  }) => void;
58
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
- id: {
60
- type: import("vue").PropType<string>;
61
- required: true;
62
- };
63
- name: {
64
- type: import("vue").PropType<string>;
65
- };
66
- color: {
67
- type: import("vue").PropType<string>;
68
- };
69
- phaseColor: {
70
- type: import("vue").PropType<string>;
71
- };
72
- activities: {
73
- type: import("vue").PropType<Activity[]>;
74
- };
75
- closedStatus: {
76
- type: import("vue").PropType<ActivityStatus>;
77
- required: true;
78
- };
79
- isEditable: {
80
- type: import("vue").PropType<boolean>;
81
- };
82
- deadline: {
83
- type: import("vue").PropType<string>;
84
- };
85
- active: {
86
- type: import("vue").PropType<boolean>;
87
- };
88
- isSelected: {
89
- type: import("vue").PropType<boolean>;
90
- };
91
- assignee: {
92
- type: import("vue").PropType<User>;
93
- };
94
- important: {
95
- type: import("vue").PropType<boolean>;
96
- };
97
- readonly: {
98
- type: import("vue").PropType<boolean>;
99
- };
100
- timeTrackingData: {
101
- type: import("vue").PropType<Record<string, TimeTracking>>;
102
- };
103
- estimationUnit: {
104
- type: import("vue").PropType<string>;
105
- };
106
- }>> & {
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
107
32
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
108
33
  onArchiveMilestone?: ((payload: {
109
- id: string;
34
+ id: Id;
110
35
  }) => any) | undefined;
111
36
  onUnarchiveMilestone?: ((payload: {
112
- id: string;
37
+ id: Id;
113
38
  }) => any) | undefined;
114
- }, {}, {}>, {
115
- secondary?(_: {}): any;
116
- }>;
39
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
117
41
  export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
118
51
  type __VLS_WithTemplateSlots<T, S> = T & {
119
52
  new (): {
120
53
  $slots: S;
@@ -1,98 +1,58 @@
1
- import { type Milestone, type TimeTracking } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- id: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- projectName: {
8
- type: import("vue").PropType<string>;
9
- };
10
- name: {
11
- type: import("vue").PropType<string>;
12
- };
13
- milestones: {
14
- type: import("vue").PropType<Milestone[]>;
15
- };
16
- isEditable: {
17
- type: import("vue").PropType<boolean>;
18
- };
19
- deadline: {
20
- type: import("vue").PropType<string>;
21
- };
22
- active: {
23
- type: import("vue").PropType<boolean>;
24
- };
25
- color: {
26
- type: import("vue").PropType<string>;
27
- };
28
- timeTrackingData: {
29
- type: import("vue").PropType<Record<string, TimeTracking>>;
30
- };
31
- estimationUnit: {
32
- type: import("vue").PropType<string>;
33
- };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
- 'update:title': (v: string) => void;
36
- 'update:deadline': (v: string) => void;
1
+ import { Id, Milestone, TimeTracking } from '../types';
2
+
3
+ interface Props {
4
+ id: string;
5
+ projectName?: string;
6
+ name?: string;
7
+ milestones?: Milestone[];
8
+ isEditable?: boolean;
9
+ deadline?: string;
10
+ active?: boolean;
11
+ color?: string;
12
+ timeTrackingData?: Record<string, TimeTracking>;
13
+ estimationUnit?: string;
14
+ }
15
+ declare function __VLS_template(): {
16
+ secondary?(_: {}): any;
17
+ };
18
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:title": (v: string) => void;
20
+ updatePhase: (payload: {
21
+ id: Id;
22
+ color?: string;
23
+ }) => void;
24
+ "update:deadline": (v: string) => void;
37
25
  archivePhase: (payload: {
38
- id: string;
26
+ id: Id;
39
27
  }) => void;
40
28
  unarchivePhase: (payload: {
41
- id: string;
42
- }) => void;
43
- updatePhase: (payload: {
44
- id: string;
45
- color?: string | undefined;
29
+ id: Id;
46
30
  }) => void;
47
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
- id: {
49
- type: import("vue").PropType<string>;
50
- required: true;
51
- };
52
- projectName: {
53
- type: import("vue").PropType<string>;
54
- };
55
- name: {
56
- type: import("vue").PropType<string>;
57
- };
58
- milestones: {
59
- type: import("vue").PropType<Milestone[]>;
60
- };
61
- isEditable: {
62
- type: import("vue").PropType<boolean>;
63
- };
64
- deadline: {
65
- type: import("vue").PropType<string>;
66
- };
67
- active: {
68
- type: import("vue").PropType<boolean>;
69
- };
70
- color: {
71
- type: import("vue").PropType<string>;
72
- };
73
- timeTrackingData: {
74
- type: import("vue").PropType<Record<string, TimeTracking>>;
75
- };
76
- estimationUnit: {
77
- type: import("vue").PropType<string>;
78
- };
79
- }>> & {
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
80
32
  "onUpdate:title"?: ((v: string) => any) | undefined;
81
33
  onUpdatePhase?: ((payload: {
82
- id: string;
83
- color?: string | undefined;
34
+ id: Id;
35
+ color?: string;
84
36
  }) => any) | undefined;
85
37
  "onUpdate:deadline"?: ((v: string) => any) | undefined;
86
38
  onArchivePhase?: ((payload: {
87
- id: string;
39
+ id: Id;
88
40
  }) => any) | undefined;
89
41
  onUnarchivePhase?: ((payload: {
90
- id: string;
42
+ id: Id;
91
43
  }) => any) | undefined;
92
- }, {}, {}>, {
93
- secondary?(_: {}): any;
94
- }>;
44
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
95
46
  export default _default;
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToRuntimeProps<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
96
56
  type __VLS_WithTemplateSlots<T, S> = T & {
97
57
  new (): {
98
58
  $slots: S;
@@ -1,59 +1,28 @@
1
- import { type Phase } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- id: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- title: {
8
- type: import("vue").PropType<string>;
9
- };
10
- activities: {
11
- type: import("vue").PropType<number>;
12
- required: true;
13
- };
14
- milestones: {
15
- type: import("vue").PropType<number>;
16
- required: true;
17
- };
18
- phases: {
19
- type: import("vue").PropType<Phase[]>;
20
- };
21
- updatedAt: {
22
- type: import("vue").PropType<string>;
23
- };
24
- updatedBy: {
25
- type: import("vue").PropType<string>;
26
- };
27
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { Phase } from '../types';
2
+
3
+ interface Props {
4
+ id: string;
5
+ title?: string;
6
+ activities: number;
7
+ milestones: number;
8
+ phases?: Phase[];
9
+ updatedAt?: string;
10
+ updatedBy?: string;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
13
  updateTitle: (title: string) => void;
29
14
  deleteItem: (id: string, name?: string | undefined) => void;
30
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
- id: {
32
- type: import("vue").PropType<string>;
33
- required: true;
34
- };
35
- title: {
36
- type: import("vue").PropType<string>;
37
- };
38
- activities: {
39
- type: import("vue").PropType<number>;
40
- required: true;
41
- };
42
- milestones: {
43
- type: import("vue").PropType<number>;
44
- required: true;
45
- };
46
- phases: {
47
- type: import("vue").PropType<Phase[]>;
48
- };
49
- updatedAt: {
50
- type: import("vue").PropType<string>;
51
- };
52
- updatedBy: {
53
- type: import("vue").PropType<string>;
54
- };
55
- }>> & {
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
56
16
  onUpdateTitle?: ((title: string) => any) | undefined;
57
17
  onDeleteItem?: ((id: string, name?: string | undefined) => any) | undefined;
58
- }, {}, {}>;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
19
  export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
@@ -1,34 +1,17 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- milestones: {
3
- type: import("vue").PropType<number>;
4
- };
5
- activities: {
6
- type: import("vue").PropType<number>;
7
- };
8
- tasks: {
9
- type: import("vue").PropType<number>;
10
- };
11
- rules: {
12
- type: import("vue").PropType<number>;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- 'update:title': (payload: string) => void;
16
- remove: (args_0: void) => void;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- milestones: {
19
- type: import("vue").PropType<number>;
20
- };
21
- activities: {
22
- type: import("vue").PropType<number>;
23
- };
24
- tasks: {
25
- type: import("vue").PropType<number>;
26
- };
27
- rules: {
28
- type: import("vue").PropType<number>;
29
- };
30
- }>> & {
31
- "onUpdate:title"?: ((payload: string) => any) | undefined;
32
- onRemove?: ((args_0?: void | undefined) => any) | undefined;
33
- }, {}, {}>;
1
+ interface Props {
2
+ milestones?: number;
3
+ activities?: number;
4
+ tasks?: number;
5
+ rules?: number;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
8
  export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -1,22 +1,24 @@
1
- import { type Subtask } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- name: {
4
- type: import("vue").PropType<string>;
5
- };
6
- tasks: {
7
- type: import("vue").PropType<Subtask[]>;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- name: {
11
- type: import("vue").PropType<string>;
12
- };
13
- tasks: {
14
- type: import("vue").PropType<Subtask[]>;
15
- };
16
- }>>, {}, {}>, {
1
+ import { Subtask } from '../types';
2
+
3
+ interface Props {
4
+ name?: string;
5
+ tasks?: Subtask[];
6
+ }
7
+ declare function __VLS_template(): {
17
8
  default?(_: {}): any;
18
- }>;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
12
  export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
20
22
  type __VLS_WithTemplateSlots<T, S> = T & {
21
23
  new (): {
22
24
  $slots: S;
@@ -1,16 +1,23 @@
1
- import { type Activity } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- activities: {
4
- type: import("vue").PropType<Activity[]>;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- activities: {
8
- type: import("vue").PropType<Activity[]>;
9
- };
10
- }>>, {}, {}>, {
1
+ import { Activity } from '../types';
2
+
3
+ interface Props {
4
+ activities?: Activity[];
5
+ }
6
+ declare function __VLS_template(): {
11
7
  default?(_: {}): any;
12
- }>;
8
+ };
9
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
11
  export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
14
21
  type __VLS_WithTemplateSlots<T, S> = T & {
15
22
  new (): {
16
23
  $slots: S;