@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,58 @@
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
- }>> & {
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<{
60
32
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
- }, {
33
+ }>, {
62
34
  label: string;
63
35
  type: string;
64
36
  modelValue: string | number;
65
37
  isReadonly: boolean;
66
38
  isDisabled: boolean;
67
39
  modelModifiers: Record<string, boolean>;
68
- }, {}>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
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
+ };
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,124 +1,31 @@
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: {
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 & {
16
5
  list: Activity[];
17
6
  status: ActivityStatus;
18
7
  users: User[];
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;
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;
29
18
  attrs: any;
30
- slots: {
19
+ slots: ReturnType<() => {
31
20
  header?(_: {}): any;
32
21
  footer?(_: {}): any;
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;
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>;
123
30
  };
124
31
  export default _default;
@@ -1,25 +1,35 @@
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
- }, {}>, {
1
+ type Props = {
2
+ size?: 'sm' | 'md';
3
+ };
4
+ declare function __VLS_template(): {
18
5
  header?(_: {}): any;
19
6
  default?(_: {}): any;
20
7
  footer?(_: {}): any;
21
- }>;
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>>;
22
15
  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
+ } & {};
23
33
  type __VLS_WithTemplateSlots<T, S> = T & {
24
34
  new (): {
25
35
  $slots: S;
@@ -1,19 +1,22 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- detached: {
3
- type: import("vue").PropType<boolean>;
4
- };
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>>>;
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>>;
16
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;
18
+ };
19
+ };
17
20
  type __VLS_WithTemplateSlots<T, S> = T & {
18
21
  new (): {
19
22
  $slots: S;
@@ -1,20 +1,21 @@
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
- }, {}, {}>, {
1
+ declare function __VLS_template(): {
14
2
  primary?(_: {}): any;
15
3
  secondary?(_: {}): any;
16
- }>;
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>>;
17
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]>;
16
+ required: true;
17
+ };
18
+ };
18
19
  type __VLS_WithTemplateSlots<T, S> = T & {
19
20
  new (): {
20
21
  $slots: S;
@@ -1,25 +1,18 @@
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[]>;
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]>;
16
16
  required: true;
17
17
  };
18
- status: {
19
- type: import("vue").PropType<StatusValues>;
20
- };
21
- color: {
22
- type: import("vue").PropType<string>;
23
- };
24
- }>>, {}, {}>;
25
- export default _default;
18
+ };
@@ -1,85 +1,54 @@
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, {
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, {
28
13
  addMilestone: (payload: AddMilestonePayload) => void;
29
14
  updateMilestone: (payload: UpdateMilestonePayload) => void;
30
- archiveMilestone: (payload: {
31
- id: string;
32
- }) => void;
33
- unarchiveMilestone: (payload: {
34
- id: string;
35
- }) => void;
36
15
  updatePhase: (payload: UpdatePhasePayload) => void;
37
16
  archivePhase: (payload: {
38
- id: string;
17
+ id: Id;
39
18
  }) => void;
40
19
  unarchivePhase: (payload: {
41
- id: string;
20
+ id: Id;
42
21
  }) => void;
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
- }>> & {
22
+ archiveMilestone: (payload: {
23
+ id: Id;
24
+ }) => void;
25
+ unarchiveMilestone: (payload: {
26
+ id: Id;
27
+ }) => void;
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
69
29
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
70
30
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
71
31
  onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
72
32
  onArchivePhase?: ((payload: {
73
- id: string;
33
+ id: Id;
74
34
  }) => any) | undefined;
75
35
  onUnarchivePhase?: ((payload: {
76
- id: string;
36
+ id: Id;
77
37
  }) => any) | undefined;
78
38
  onArchiveMilestone?: ((payload: {
79
- id: string;
39
+ id: Id;
80
40
  }) => any) | undefined;
81
41
  onUnarchiveMilestone?: ((payload: {
82
- id: string;
42
+ id: Id;
83
43
  }) => any) | undefined;
84
- }, {}, {}>;
44
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
85
45
  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
+ };