@26lights/orcha 0.42.44 → 0.42.45

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 (140) hide show
  1. package/dist/orcha.cjs.js +2 -229
  2. package/dist/orcha.css +1 -1
  3. package/dist/orcha.es.js +7379 -27319
  4. package/dist/orcha.umd.js +3 -230
  5. package/dist/src/components/AoActivityDetails.vue.d.ts +137 -50
  6. package/dist/src/components/AoActivityDetailsComments.vue.d.ts +47 -43
  7. package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +23 -25
  8. package/dist/src/components/AoActivityTasks.vue.d.ts +49 -25
  9. package/dist/src/components/AoAddTemplateModal.vue.d.ts +26 -20
  10. package/dist/src/components/AoAvatar.vue.d.ts +45 -37
  11. package/dist/src/components/AoBadge.vue.d.ts +10 -13
  12. package/dist/src/components/AoButton.vue.d.ts +82 -57
  13. package/dist/src/components/AoButtonCard.vue.d.ts +69 -54
  14. package/dist/src/components/AoButtonCheck.vue.d.ts +23 -21
  15. package/dist/src/components/AoCard.vue.d.ts +41 -44
  16. package/dist/src/components/AoCardFeed.vue.d.ts +126 -39
  17. package/dist/src/components/AoCardHoriz.vue.d.ts +60 -33
  18. package/dist/src/components/AoCardProjectItemMilestone.vue.d.ts +106 -39
  19. package/dist/src/components/AoCardProjectItemPhase.vue.d.ts +82 -42
  20. package/dist/src/components/AoCardTemplate.vue.d.ts +54 -23
  21. package/dist/src/components/AoCardTemplateItem.vue.d.ts +33 -16
  22. package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +17 -19
  23. package/dist/src/components/AoCardTemplateItemMilestone.vue.d.ts +11 -18
  24. package/dist/src/components/AoCardTemplateItemPhase.vue.d.ts +25 -20
  25. package/dist/src/components/AoCheckboxField.vue.d.ts +45 -42
  26. package/dist/src/components/AoColHeader.vue.d.ts +16 -13
  27. package/dist/src/components/AoColorPicker.vue.d.ts +16 -22
  28. package/dist/src/components/AoComment.vue.d.ts +51 -19
  29. package/dist/src/components/AoCondensedCardProjectItemPhase.vue.d.ts +82 -42
  30. package/dist/src/components/AoField.vue.d.ts +24 -33
  31. package/dist/src/components/AoIcon.vue.d.ts +21 -29
  32. package/dist/src/components/AoInputField.vue.d.ts +61 -50
  33. package/dist/src/components/AoListKanban.vue.d.ts +116 -23
  34. package/dist/src/components/AoModal.vue.d.ts +18 -28
  35. package/dist/src/components/AoMultiselect.vue.d.ts +15 -18
  36. package/dist/src/components/AoPageHeader.vue.d.ts +14 -15
  37. package/dist/src/components/AoProgress.vue.d.ts +23 -16
  38. package/dist/src/components/AoProjectPhase.vue.d.ts +66 -35
  39. package/dist/src/components/AoProjectPhases.vue.d.ts +68 -37
  40. package/dist/src/components/AoRuleLine.vue.d.ts +45 -31
  41. package/dist/src/components/AoSaveTemplateModal.vue.d.ts +14 -17
  42. package/dist/src/components/AoSearchField.vue.d.ts +32 -34
  43. package/dist/src/components/AoTabBar.vue.d.ts +6 -6
  44. package/dist/src/components/AoTag.vue.d.ts +50 -23
  45. package/dist/src/components/AoTemplateDetailsActivities.vue.d.ts +38 -21
  46. package/dist/src/components/AoTemplateDetailsMilestones.vue.d.ts +28 -19
  47. package/dist/src/components/AoTemplateRules.vue.d.ts +43 -18
  48. package/dist/src/components/AoTitle.vue.d.ts +51 -40
  49. package/dist/src/components/icons/AccountBoxSharp.vue.d.ts +1 -1
  50. package/dist/src/components/icons/AccountCircle.vue.d.ts +1 -1
  51. package/dist/src/components/icons/AccountTreeOutlineRounded.vue.d.ts +1 -1
  52. package/dist/src/components/icons/AccountTreeRounded.vue.d.ts +1 -1
  53. package/dist/src/components/icons/Add.vue.d.ts +1 -1
  54. package/dist/src/components/icons/AddBoxOutlineRounded.vue.d.ts +1 -1
  55. package/dist/src/components/icons/ArchiveOutlineRounded.vue.d.ts +1 -1
  56. package/dist/src/components/icons/ArrowBackRounded.vue.d.ts +1 -1
  57. package/dist/src/components/icons/ArrowDropDownRounded.vue.d.ts +1 -1
  58. package/dist/src/components/icons/ArrowForwardRounded.vue.d.ts +1 -1
  59. package/dist/src/components/icons/AssignmentOutlineRounded.vue.d.ts +1 -1
  60. package/dist/src/components/icons/AttachFileRounded.vue.d.ts +1 -1
  61. package/dist/src/components/icons/CalendarTodayOutlineRounded.vue.d.ts +1 -1
  62. package/dist/src/components/icons/CancelRounded.vue.d.ts +1 -1
  63. package/dist/src/components/icons/ChatOutline.vue.d.ts +1 -1
  64. package/dist/src/components/icons/CheckBoxOutlineBlank.vue.d.ts +1 -1
  65. package/dist/src/components/icons/CheckBoxOutlineBlankSharp.vue.d.ts +1 -1
  66. package/dist/src/components/icons/CheckBoxOutlineRounded.vue.d.ts +1 -1
  67. package/dist/src/components/icons/CheckSmallRounded.vue.d.ts +1 -1
  68. package/dist/src/components/icons/ChecklistRounded.vue.d.ts +1 -1
  69. package/dist/src/components/icons/ChevronLeft.vue.d.ts +1 -1
  70. package/dist/src/components/icons/ChevronRight.vue.d.ts +1 -1
  71. package/dist/src/components/icons/CloseRounded.vue.d.ts +1 -1
  72. package/dist/src/components/icons/ContactsOutlineRounded.vue.d.ts +1 -1
  73. package/dist/src/components/icons/ContentCopyOutline.vue.d.ts +1 -1
  74. package/dist/src/components/icons/DeleteOutlineRounded.vue.d.ts +1 -1
  75. package/dist/src/components/icons/DragIndicator.vue.d.ts +1 -1
  76. package/dist/src/components/icons/EditDocumentRounded.vue.d.ts +1 -1
  77. package/dist/src/components/icons/EditOutline.vue.d.ts +1 -1
  78. package/dist/src/components/icons/ErrorOutlineRounded.vue.d.ts +1 -1
  79. package/dist/src/components/icons/FilterListRounded.vue.d.ts +1 -1
  80. package/dist/src/components/icons/FlagRounded.vue.d.ts +1 -1
  81. package/dist/src/components/icons/FlowsheetOutlineRounded.vue.d.ts +1 -1
  82. package/dist/src/components/icons/GifBox.vue.d.ts +1 -1
  83. package/dist/src/components/icons/GroupsOutline.vue.d.ts +1 -1
  84. package/dist/src/components/icons/HomeOutlineRounded.vue.d.ts +1 -1
  85. package/dist/src/components/icons/ImageRounded.vue.d.ts +1 -1
  86. package/dist/src/components/icons/Info.vue.d.ts +1 -1
  87. package/dist/src/components/icons/KeyboardArrowDown.vue.d.ts +1 -1
  88. package/dist/src/components/icons/KeyboardArrowUp.vue.d.ts +1 -1
  89. package/dist/src/components/icons/Loading.vue.d.ts +1 -1
  90. package/dist/src/components/icons/Lock.vue.d.ts +1 -1
  91. package/dist/src/components/icons/LogoutRounded.vue.d.ts +1 -1
  92. package/dist/src/components/icons/Menu.vue.d.ts +1 -1
  93. package/dist/src/components/icons/MoreHoriz.vue.d.ts +1 -1
  94. package/dist/src/components/icons/MoreTimeRounded.vue.d.ts +1 -1
  95. package/dist/src/components/icons/MoreVert.vue.d.ts +1 -1
  96. package/dist/src/components/icons/MountainFlagOutlineRounded.vue.d.ts +1 -1
  97. package/dist/src/components/icons/PersonAddOutlineRounded.vue.d.ts +1 -1
  98. package/dist/src/components/icons/PictureAsPdfRounded.vue.d.ts +1 -1
  99. package/dist/src/components/icons/RadioButtonChecked.vue.d.ts +1 -1
  100. package/dist/src/components/icons/RadioButtonCheckedOutline.vue.d.ts +1 -1
  101. package/dist/src/components/icons/RadioButtonUnchecked.vue.d.ts +1 -1
  102. package/dist/src/components/icons/RemoveRounded.vue.d.ts +1 -1
  103. package/dist/src/components/icons/SearchRounded.vue.d.ts +1 -1
  104. package/dist/src/components/icons/SelectCheckBox.vue.d.ts +1 -1
  105. package/dist/src/components/icons/SendRounded.vue.d.ts +1 -1
  106. package/dist/src/components/icons/Settings.vue.d.ts +1 -1
  107. package/dist/src/components/icons/SlideshowRounded.vue.d.ts +1 -1
  108. package/dist/src/components/icons/Target.vue.d.ts +1 -1
  109. package/dist/src/components/icons/TaskOutlineRounded.vue.d.ts +1 -1
  110. package/dist/src/components/icons/TextSnippetRounded.vue.d.ts +1 -1
  111. package/dist/src/components/icons/TimerOutline.vue.d.ts +1 -1
  112. package/dist/src/components/icons/ViewComfyAltRounded.vue.d.ts +1 -1
  113. package/dist/src/components/icons/ViewCompactAltRounded.vue.d.ts +1 -1
  114. package/dist/src/components/icons/ViewTimelineRounded.vue.d.ts +1 -1
  115. package/dist/src/components/icons/WarningOutlineRounded.vue.d.ts +1 -1
  116. package/dist/src/components/icons/WarningRounded.vue.d.ts +1 -1
  117. package/dist/src/components/icons/WaterfallChartRounded.vue.d.ts +1 -1
  118. package/dist/src/composables/useDetachedOptions.d.ts +1 -2
  119. package/dist/src/composables/useGetDefaultRankAndName.d.ts +1 -2
  120. package/dist/src/composables/useIsEditing.d.ts +3 -4
  121. package/dist/src/composables/useSearchField.d.ts +1 -1
  122. package/dist/src/composables/useSelectAddedElement.d.ts +1 -2
  123. package/dist/src/helpers.d.ts +6 -13
  124. package/dist/src/i18n/i18next.d.ts +2 -3
  125. package/dist/src/main.d.ts +0 -1
  126. package/dist/src/router/routes.d.ts +1 -2
  127. package/dist/src/types/components.d.ts +2 -3
  128. package/dist/src/types/styles.d.ts +1 -1
  129. package/dist/src/types/utils.d.ts +1 -2
  130. package/dist/src/views/AoFeed.vue.d.ts +162 -72
  131. package/dist/src/views/AoMapping.vue.d.ts +118 -49
  132. package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +125 -43
  133. package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +71 -31
  134. package/dist/src/views/AoProjectOverviewProject.vue.d.ts +153 -79
  135. package/dist/src/views/AoTemplateDetails.vue.d.ts +61 -37
  136. package/dist/src/views/AoTemplates.vue.d.ts +10 -15
  137. package/dist/src/views/AoTemplatesList.vue.d.ts +12 -17
  138. package/package.json +1 -2
  139. package/dist/src/components/AoRichTextContent.vue.d.ts +0 -37
  140. package/dist/src/components/AoRichTextEditor.vue.d.ts +0 -45
@@ -1,58 +1,69 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- label: string;
3
- type?: string;
4
- modelValue?: string | number;
5
- modelModifiers: Record<string, boolean>;
6
- isDisabled: boolean;
7
- isReadonly: boolean;
8
- }>, {
9
- label: string;
10
- type: string;
11
- modelValue: string;
12
- modelModifiers: () => {};
13
- isDisabled: boolean;
14
- isReadonly: boolean;
15
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (...args: any[]) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
- label: string;
19
- type?: string;
20
- modelValue?: string | number;
21
- modelModifiers: Record<string, boolean>;
22
- isDisabled: boolean;
23
- isReadonly: boolean;
24
- }>, {
25
- label: string;
26
- type: string;
27
- modelValue: string;
28
- modelModifiers: () => {};
29
- isDisabled: boolean;
30
- isReadonly: boolean;
31
- }>>> & Readonly<{
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ default: string;
6
+ };
7
+ type: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ modelValue: {
12
+ type: import("vue").PropType<string | number>;
13
+ default: string;
14
+ };
15
+ isReadonly: {
16
+ type: import("vue").PropType<boolean>;
17
+ required: true;
18
+ default: boolean;
19
+ };
20
+ isDisabled: {
21
+ type: import("vue").PropType<boolean>;
22
+ required: true;
23
+ default: boolean;
24
+ };
25
+ modelModifiers: {
26
+ type: import("vue").PropType<Record<string, boolean>>;
27
+ required: true;
28
+ default: () => {};
29
+ };
30
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
+ label: {
32
+ type: import("vue").PropType<string>;
33
+ required: true;
34
+ default: string;
35
+ };
36
+ type: {
37
+ type: import("vue").PropType<string>;
38
+ default: string;
39
+ };
40
+ modelValue: {
41
+ type: import("vue").PropType<string | number>;
42
+ default: string;
43
+ };
44
+ isReadonly: {
45
+ type: import("vue").PropType<boolean>;
46
+ required: true;
47
+ default: boolean;
48
+ };
49
+ isDisabled: {
50
+ type: import("vue").PropType<boolean>;
51
+ required: true;
52
+ default: boolean;
53
+ };
54
+ modelModifiers: {
55
+ type: import("vue").PropType<Record<string, boolean>>;
56
+ required: true;
57
+ default: () => {};
58
+ };
59
+ }>> & {
32
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
- }>, {
61
+ }, {
34
62
  label: string;
35
63
  type: string;
36
64
  modelValue: string | number;
37
65
  isReadonly: boolean;
38
66
  isDisabled: boolean;
39
67
  modelModifiers: Record<string, boolean>;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
+ }, {}>;
41
69
  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
- };
51
- type __VLS_WithDefaults<P, D> = {
52
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
- default: D[K];
54
- }> : P[K];
55
- };
56
- type __VLS_Prettify<T> = {
57
- [K in keyof T]: T[K];
58
- } & {};
@@ -1,31 +1,124 @@
1
- import { Activity, ActivityFeedStatus, ActivityStatus, ChangeFeedActivitiesPayload, Id, StartTimerPayload, UpdateActivityPayload, User } from '../types';
2
-
3
- declare const _default: <T extends ActivityFeedStatus>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & {
1
+ import { type Activity, type ActivityFeedStatus, type ActivityStatus, type ChangeFeedActivitiesPayload, type Id, type StartTimerPayload, type UpdateActivityPayload, User } from '../types';
2
+ declare const _default: <T extends ActivityFeedStatus>(__VLS_props: {
3
+ list: Activity[];
4
+ status: ActivityStatus;
5
+ users: User[];
6
+ userId?: string | undefined;
7
+ title?: string | undefined;
8
+ footerLabel?: string | undefined;
9
+ isLoading?: boolean | undefined;
10
+ hasMore?: boolean | undefined;
11
+ noMoreLabel?: string | undefined;
12
+ isEditable: boolean | 'only-own';
13
+ tagType?: "project" | "milestone" | undefined;
14
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
15
+ props: {
5
16
  list: Activity[];
6
17
  status: ActivityStatus;
7
18
  users: User[];
8
- userId?: string;
9
- title?: string;
10
- footerLabel?: string;
11
- isLoading?: boolean;
12
- hasMore?: boolean;
13
- noMoreLabel?: string;
14
- isEditable: boolean | "only-own";
15
- tagType?: "project" | "milestone";
16
- }, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
17
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
+ userId?: string | undefined;
20
+ title?: string | undefined;
21
+ footerLabel?: string | undefined;
22
+ isLoading?: boolean | undefined;
23
+ hasMore?: boolean | undefined;
24
+ noMoreLabel?: string | undefined;
25
+ isEditable: boolean | 'only-own';
26
+ tagType?: "project" | "milestone" | undefined;
27
+ };
28
+ expose(exposed: {}): void;
18
29
  attrs: any;
19
- slots: ReturnType<() => {
30
+ slots: {
20
31
  header?(_: {}): any;
21
32
  footer?(_: {}): any;
22
- }>;
23
- emit: ((evt: "add", args_0: void) => void) & ((evt: "updateActivity", input: UpdateActivityPayload) => void) & ((evt: "startTimer", payload: StartTimerPayload) => void) & ((evt: "update:list", value: unknown[]) => void) & ((evt: "change:list", value: ChangeFeedActivitiesPayload) => void) & ((evt: "loadMore", args_0: void) => void) & ((evt: "selectActivity", activityId: string) => void) & ((evt: "archiveActivity", payload: {
24
- id: Id;
25
- }) => void) & ((evt: "unarchiveActivity", payload: {
26
- id: Id;
27
- }) => void);
28
- }>) => import('vue').VNode & {
29
- __ctx?: Awaited<typeof __VLS_setup>;
33
+ };
34
+ emit: {
35
+ add: [void];
36
+ 'update:list': [value: unknown[]];
37
+ 'change:list': [value: ChangeFeedActivitiesPayload];
38
+ loadMore: [void];
39
+ selectActivity: [activityId: Id];
40
+ archiveActivity: [payload: {
41
+ id: Id;
42
+ }];
43
+ unarchiveActivity: [payload: {
44
+ id: Id;
45
+ }];
46
+ updateActivity: [input: UpdateActivityPayload];
47
+ startTimer: [payload: StartTimerPayload];
48
+ };
49
+ }, "slots" | "attrs" | "emit"> | undefined, __VLS_setup?: {
50
+ props: {
51
+ list: Activity[];
52
+ status: ActivityStatus;
53
+ users: User[];
54
+ userId?: string | undefined;
55
+ title?: string | undefined;
56
+ footerLabel?: string | undefined;
57
+ isLoading?: boolean | undefined;
58
+ hasMore?: boolean | undefined;
59
+ noMoreLabel?: string | undefined;
60
+ isEditable: boolean | 'only-own';
61
+ tagType?: "project" | "milestone" | undefined;
62
+ };
63
+ expose(exposed: {}): void;
64
+ attrs: any;
65
+ slots: {
66
+ header?(_: {}): any;
67
+ footer?(_: {}): any;
68
+ };
69
+ emit: {
70
+ add: [void];
71
+ 'update:list': [value: unknown[]];
72
+ 'change:list': [value: ChangeFeedActivitiesPayload];
73
+ loadMore: [void];
74
+ selectActivity: [activityId: Id];
75
+ archiveActivity: [payload: {
76
+ id: Id;
77
+ }];
78
+ unarchiveActivity: [payload: {
79
+ id: Id;
80
+ }];
81
+ updateActivity: [input: UpdateActivityPayload];
82
+ startTimer: [payload: StartTimerPayload];
83
+ };
84
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
85
+ [key: string]: any;
86
+ }> & {
87
+ __ctx?: {
88
+ props: {
89
+ list: Activity[];
90
+ status: ActivityStatus;
91
+ users: User[];
92
+ userId?: string | undefined;
93
+ title?: string | undefined;
94
+ footerLabel?: string | undefined;
95
+ isLoading?: boolean | undefined;
96
+ hasMore?: boolean | undefined;
97
+ noMoreLabel?: string | undefined;
98
+ isEditable: boolean | 'only-own';
99
+ tagType?: "project" | "milestone" | undefined;
100
+ };
101
+ expose(exposed: {}): void;
102
+ attrs: any;
103
+ slots: {
104
+ header?(_: {}): any;
105
+ footer?(_: {}): any;
106
+ };
107
+ emit: {
108
+ add: [void];
109
+ 'update:list': [value: unknown[]];
110
+ 'change:list': [value: ChangeFeedActivitiesPayload];
111
+ loadMore: [void];
112
+ selectActivity: [activityId: Id];
113
+ archiveActivity: [payload: {
114
+ id: Id;
115
+ }];
116
+ unarchiveActivity: [payload: {
117
+ id: Id;
118
+ }];
119
+ updateActivity: [input: UpdateActivityPayload];
120
+ startTimer: [payload: StartTimerPayload];
121
+ };
122
+ } | undefined;
30
123
  };
31
124
  export default _default;
@@ -1,35 +1,25 @@
1
- type Props = {
2
- size?: 'sm' | 'md';
3
- };
4
- declare function __VLS_template(): {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ size: {
3
+ type: import("vue").PropType<"sm" | "md">;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ close: (args_0: void) => void;
8
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ size: {
10
+ type: import("vue").PropType<"sm" | "md">;
11
+ default: string;
12
+ };
13
+ }>> & {
14
+ onClose?: ((args_0?: void | undefined) => any) | undefined;
15
+ }, {
16
+ size: "sm" | "md";
17
+ }, {}>, {
5
18
  header?(_: {}): any;
6
19
  default?(_: {}): any;
7
20
  footer?(_: {}): any;
8
- };
9
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
- size: string;
11
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
12
- size: "sm" | "md";
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }>;
15
22
  export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
23
  type __VLS_WithTemplateSlots<T, S> = T & {
34
24
  new (): {
35
25
  $slots: S;
@@ -1,22 +1,19 @@
1
- declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
2
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
- detached?: boolean;
4
- appendTo?: string | HTMLElement;
5
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- detached?: boolean;
7
- appendTo?: string | HTMLElement;
8
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
- export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ detached: {
3
+ type: import("vue").PropType<boolean>;
18
4
  };
19
- };
5
+ appendTo: {
6
+ type: import("vue").PropType<string | HTMLElement>;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ detached: {
10
+ type: import("vue").PropType<boolean>;
11
+ };
12
+ appendTo: {
13
+ type: import("vue").PropType<string | HTMLElement>;
14
+ };
15
+ }>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
16
+ export default _default;
20
17
  type __VLS_WithTemplateSlots<T, S> = T & {
21
18
  new (): {
22
19
  $slots: S;
@@ -1,21 +1,20 @@
1
- declare function __VLS_template(): {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ canGoBack: {
3
+ type: import("vue").PropType<boolean>;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ goBack: (args_0: void) => void;
7
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ canGoBack: {
9
+ type: import("vue").PropType<boolean>;
10
+ };
11
+ }>> & {
12
+ onGoBack?: ((args_0?: void | undefined) => any) | undefined;
13
+ }, {}, {}>, {
2
14
  primary?(_: {}): any;
3
15
  secondary?(_: {}): any;
4
- };
5
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- canGoBack?: boolean;
7
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ }>;
9
17
  export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
18
  type __VLS_WithTemplateSlots<T, S> = T & {
20
19
  new (): {
21
20
  $slots: S;
@@ -1,18 +1,25 @@
1
- import { StatusValues } from '../types/styles';
2
-
3
- interface ProgressBarProps {
4
- percentages: number | number[];
5
- status?: StatusValues;
6
- color?: string;
7
- }
8
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ProgressBarProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ProgressBarProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
1
+ import { type StatusValues } from '../types/styles';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ percentages: {
4
+ type: import("vue").PropType<number | number[]>;
5
+ required: true;
6
+ };
7
+ status: {
8
+ type: import("vue").PropType<StatusValues>;
9
+ };
10
+ color: {
11
+ type: import("vue").PropType<string>;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ percentages: {
15
+ type: import("vue").PropType<number | number[]>;
16
16
  required: true;
17
17
  };
18
- };
18
+ status: {
19
+ type: import("vue").PropType<StatusValues>;
20
+ };
21
+ color: {
22
+ type: import("vue").PropType<string>;
23
+ };
24
+ }>>, {}, {}>;
25
+ export default _default;
@@ -1,54 +1,85 @@
1
- import { Phase, Id, AddMilestonePayload, UpdatePhasePayload, UpdateMilestonePayload, ActivityStatus, User, TimeTracking } from '../types';
2
-
3
- type Props = {
4
- phase: Phase;
5
- closedStatus: ActivityStatus;
6
- users: User[];
7
- isEditable?: boolean;
8
- readonly?: boolean;
9
- timeTrackingData?: Record<Id, TimeTracking>;
10
- estimationUnit?: string;
11
- };
12
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { type Phase, type AddMilestonePayload, type UpdatePhasePayload, type UpdateMilestonePayload, type ActivityStatus, type User, type TimeTracking } from '../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ phase: {
4
+ type: import("vue").PropType<Phase>;
5
+ required: true;
6
+ };
7
+ closedStatus: {
8
+ type: import("vue").PropType<ActivityStatus>;
9
+ required: true;
10
+ };
11
+ users: {
12
+ type: import("vue").PropType<User[]>;
13
+ required: true;
14
+ };
15
+ isEditable: {
16
+ type: import("vue").PropType<boolean>;
17
+ };
18
+ readonly: {
19
+ type: import("vue").PropType<boolean>;
20
+ };
21
+ timeTrackingData: {
22
+ type: import("vue").PropType<Record<string, TimeTracking>>;
23
+ };
24
+ estimationUnit: {
25
+ type: import("vue").PropType<string>;
26
+ };
27
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
28
  addMilestone: (payload: AddMilestonePayload) => void;
14
29
  updateMilestone: (payload: UpdateMilestonePayload) => void;
30
+ archiveMilestone: (payload: {
31
+ id: string;
32
+ }) => void;
33
+ unarchiveMilestone: (payload: {
34
+ id: string;
35
+ }) => void;
15
36
  updatePhase: (payload: UpdatePhasePayload) => void;
16
37
  archivePhase: (payload: {
17
- id: Id;
38
+ id: string;
18
39
  }) => void;
19
40
  unarchivePhase: (payload: {
20
- id: Id;
21
- }) => void;
22
- archiveMilestone: (payload: {
23
- id: Id;
24
- }) => void;
25
- unarchiveMilestone: (payload: {
26
- id: Id;
41
+ id: string;
27
42
  }) => void;
28
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
43
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ phase: {
45
+ type: import("vue").PropType<Phase>;
46
+ required: true;
47
+ };
48
+ closedStatus: {
49
+ type: import("vue").PropType<ActivityStatus>;
50
+ required: true;
51
+ };
52
+ users: {
53
+ type: import("vue").PropType<User[]>;
54
+ required: true;
55
+ };
56
+ isEditable: {
57
+ type: import("vue").PropType<boolean>;
58
+ };
59
+ readonly: {
60
+ type: import("vue").PropType<boolean>;
61
+ };
62
+ timeTrackingData: {
63
+ type: import("vue").PropType<Record<string, TimeTracking>>;
64
+ };
65
+ estimationUnit: {
66
+ type: import("vue").PropType<string>;
67
+ };
68
+ }>> & {
29
69
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
30
70
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
31
71
  onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
32
72
  onArchivePhase?: ((payload: {
33
- id: Id;
73
+ id: string;
34
74
  }) => any) | undefined;
35
75
  onUnarchivePhase?: ((payload: {
36
- id: Id;
76
+ id: string;
37
77
  }) => any) | undefined;
38
78
  onArchiveMilestone?: ((payload: {
39
- id: Id;
79
+ id: string;
40
80
  }) => any) | undefined;
41
81
  onUnarchiveMilestone?: ((payload: {
42
- id: Id;
82
+ id: string;
43
83
  }) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
84
+ }, {}, {}>;
45
85
  export default _default;
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: import('vue').PropType<T[K]>;
52
- required: true;
53
- };
54
- };