@26lights/orcha 0.42.39 → 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 +27212 -7413
  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 +6 -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,87 +1,56 @@
1
- import { type ActivityStatus, type AddMilestonePayload, type AddPhasePayload, type Phase, type UpdateMilestonePayload, type UpdatePhasePayload, type User, type TimeTracking } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- phases: {
4
- type: import("vue").PropType<Phase[]>;
5
- required: true;
6
- };
7
- closedStatus: {
8
- type: import("vue").PropType<ActivityStatus>;
9
- required: true;
10
- };
11
- isEditable: {
12
- type: import("vue").PropType<boolean>;
13
- };
14
- users: {
15
- type: import("vue").PropType<User[]>;
16
- required: true;
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 { ActivityStatus, AddMilestonePayload, AddPhasePayload, Id, Phase, UpdateMilestonePayload, UpdatePhasePayload, User, TimeTracking } from '../types';
2
+
3
+ type Props = {
4
+ phases: Phase[];
5
+ closedStatus: ActivityStatus;
6
+ isEditable?: boolean;
7
+ users: User[];
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
- addPhase: (payload: AddPhasePayload) => void;
37
15
  updatePhase: (payload: UpdatePhasePayload) => void;
16
+ addPhase: (payload: AddPhasePayload) => void;
38
17
  archivePhase: (payload: {
39
- id: string;
18
+ id: Id;
40
19
  }) => void;
41
20
  unarchivePhase: (payload: {
42
- id: string;
21
+ id: Id;
43
22
  }) => void;
44
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
- phases: {
46
- type: import("vue").PropType<Phase[]>;
47
- required: true;
48
- };
49
- closedStatus: {
50
- type: import("vue").PropType<ActivityStatus>;
51
- required: true;
52
- };
53
- isEditable: {
54
- type: import("vue").PropType<boolean>;
55
- };
56
- users: {
57
- type: import("vue").PropType<User[]>;
58
- required: true;
59
- };
60
- readonly: {
61
- type: import("vue").PropType<boolean>;
62
- };
63
- timeTrackingData: {
64
- type: import("vue").PropType<Record<string, TimeTracking>>;
65
- };
66
- estimationUnit: {
67
- type: import("vue").PropType<string>;
68
- };
69
- }>> & {
23
+ archiveMilestone: (payload: {
24
+ id: Id;
25
+ }) => void;
26
+ unarchiveMilestone: (payload: {
27
+ id: Id;
28
+ }) => void;
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
70
30
  onAddMilestone?: ((payload: AddMilestonePayload) => any) | undefined;
71
31
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
72
32
  onUpdatePhase?: ((payload: UpdatePhasePayload) => any) | undefined;
33
+ onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
73
34
  onArchivePhase?: ((payload: {
74
- id: string;
35
+ id: Id;
75
36
  }) => any) | undefined;
76
37
  onUnarchivePhase?: ((payload: {
77
- id: string;
38
+ id: Id;
78
39
  }) => any) | undefined;
79
40
  onArchiveMilestone?: ((payload: {
80
- id: string;
41
+ id: Id;
81
42
  }) => any) | undefined;
82
43
  onUnarchiveMilestone?: ((payload: {
83
- id: string;
44
+ id: Id;
84
45
  }) => any) | undefined;
85
- onAddPhase?: ((payload: AddPhasePayload) => any) | undefined;
86
- }, {}, {}>;
46
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
87
47
  export default _default;
48
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
+ type __VLS_TypePropsToRuntimeProps<T> = {
50
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
51
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
+ } : {
53
+ type: import('vue').PropType<T[K]>;
54
+ required: true;
55
+ };
56
+ };
@@ -0,0 +1,40 @@
1
+ type Props = {
2
+ modelValue?: string;
3
+ readonly?: boolean;
4
+ placeholder?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ modelValue: string;
8
+ readonly: boolean;
9
+ placeholder: string;
10
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string) => void;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ modelValue: string;
14
+ readonly: boolean;
15
+ placeholder: string;
16
+ }>>> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
+ }>, {
19
+ placeholder: string;
20
+ modelValue: string;
21
+ readonly: boolean;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
@@ -1,47 +1,33 @@
1
- import { type Activity, type Milestone, type Phase, type Rule, type UpdateRulePayload } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- tagName: {
4
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
5
- default: string;
6
- };
7
- templateActivities: {
8
- type: import("vue").PropType<Activity[]>;
9
- };
10
- templateMilestones: {
11
- type: import("vue").PropType<Milestone[]>;
12
- };
13
- rule: {
14
- type: import("vue").PropType<Rule>;
15
- required: true;
16
- };
17
- templatePhases: {
18
- type: import("vue").PropType<Phase[]>;
19
- };
20
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- 'update:rule': (payload: UpdateRulePayload) => void;
22
- close: (args_0: void) => void;
23
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
- tagName: {
25
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
26
- default: string;
27
- };
28
- templateActivities: {
29
- type: import("vue").PropType<Activity[]>;
30
- };
31
- templateMilestones: {
32
- type: import("vue").PropType<Milestone[]>;
33
- };
34
- rule: {
35
- type: import("vue").PropType<Rule>;
1
+ import { Activity, Milestone, Phase, Rule } from '../types';
2
+ import { HTMLElementTagNameType } from '../types/utils';
3
+
4
+ interface Props {
5
+ rule: Rule;
6
+ templatePhases?: Phase[];
7
+ templateMilestones?: Milestone[];
8
+ templateActivities?: Activity[];
9
+ tagName?: HTMLElementTagNameType;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ tagName: string;
13
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
14
+ tagName: HTMLElementTagNameType;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
36
23
  required: true;
37
24
  };
38
- templatePhases: {
39
- type: import("vue").PropType<Phase[]>;
40
- };
41
- }>> & {
42
- onClose?: ((args_0?: void | undefined) => any) | undefined;
43
- "onUpdate:rule"?: ((payload: UpdateRulePayload) => any) | undefined;
44
- }, {
45
- tagName: keyof HTMLElementTagNameMap;
46
- }, {}>;
47
- export default _default;
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -1,17 +1,20 @@
1
- import { type Phase } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- phases: {
4
- type: import("vue").PropType<Phase[]>;
5
- required: true;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { Phase } from '../types';
2
+
3
+ type Props = {
4
+ phases: Phase[];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
7
  save: (templateName: string, phaseIds: string[]) => void;
9
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- phases: {
11
- type: import("vue").PropType<Phase[]>;
12
- required: true;
13
- };
14
- }>> & {
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
15
9
  onSave?: ((templateName: string, phaseIds: string[]) => any) | undefined;
16
- }, {}, {}>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
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
+ };
@@ -1,37 +1,39 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- placeholder: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- modelValue: {
7
- type: import("vue").PropType<string>;
8
- required: true;
9
- };
10
- delay: {
11
- type: import("vue").PropType<number>;
12
- default: number;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- 'update:modelValue': (value: string, e?: Event | undefined) => void;
1
+ type Props = {
2
+ modelValue: string;
3
+ delay?: number;
4
+ placeholder?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ delay: number;
8
+ placeholder: string;
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
10
  clear: (e: Event) => void;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- placeholder: {
19
- type: import("vue").PropType<string>;
20
- default: string;
21
- };
22
- modelValue: {
23
- type: import("vue").PropType<string>;
24
- required: true;
25
- };
26
- delay: {
27
- type: import("vue").PropType<number>;
28
- default: number;
29
- };
30
- }>> & {
31
- "onUpdate:modelValue"?: ((value: string, e?: Event | undefined) => any) | undefined;
11
+ "update:modelValue": (value: string, e?: Event | undefined) => void;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ delay: number;
14
+ placeholder: string;
15
+ }>>> & Readonly<{
32
16
  onClear?: ((e: Event) => any) | undefined;
33
- }, {
17
+ "onUpdate:modelValue"?: ((value: string, e?: Event | undefined) => any) | undefined;
18
+ }>, {
34
19
  placeholder: string;
35
20
  delay: number;
36
- }, {}>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
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
+ } & {};
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: {
3
3
  type: (StringConstructor | NumberConstructor)[];
4
4
  required: true;
@@ -16,9 +16,9 @@ declare const _default: import("vue").DefineComponent<{
16
16
  default: undefined;
17
17
  validator: (value: string) => boolean;
18
18
  };
19
- }, unknown, unknown, {}, {
19
+ }>, {}, {}, {}, {
20
20
  selectTab(value: string | number): void;
21
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
22
  modelValue: {
23
23
  type: (StringConstructor | NumberConstructor)[];
24
24
  required: true;
@@ -36,9 +36,9 @@ declare const _default: import("vue").DefineComponent<{
36
36
  default: undefined;
37
37
  validator: (value: string) => boolean;
38
38
  };
39
- }>> & {
39
+ }>> & Readonly<{
40
40
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
- }, {
41
+ }>, {
42
42
  variant: string;
43
- }, {}>;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
44
44
  export default _default;
@@ -1,55 +1,28 @@
1
- import { type ColorValues, type TagVariant } from '../types/styles';
2
- declare const _default: import("vue").DefineComponent<{
3
- label: {
4
- type: import("vue").PropType<string | number>;
5
- required: true;
6
- };
7
- color: {
8
- type: import("vue").PropType<ColorValues>;
9
- };
10
- rawColor: {
11
- type: import("vue").PropType<string>;
12
- };
13
- clickable: {
14
- type: import("vue").PropType<boolean>;
15
- };
16
- closable: {
17
- type: import("vue").PropType<boolean>;
18
- };
19
- variant: {
20
- type: import("vue").PropType<TagVariant>;
21
- };
22
- iconName: {
23
- 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">;
24
- };
25
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { ColorValues, IconNames, TagVariant } from '../types/styles';
2
+
3
+ interface TagProps {
4
+ label: string | number;
5
+ color?: ColorValues;
6
+ rawColor?: string;
7
+ clickable?: boolean;
8
+ closable?: boolean;
9
+ variant?: TagVariant;
10
+ iconName?: IconNames;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TagProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
13
  click: (event: Event) => void;
27
14
  close: (event: Event) => void;
28
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- label: {
30
- type: import("vue").PropType<string | number>;
31
- required: true;
32
- };
33
- color: {
34
- type: import("vue").PropType<ColorValues>;
35
- };
36
- rawColor: {
37
- type: import("vue").PropType<string>;
38
- };
39
- clickable: {
40
- type: import("vue").PropType<boolean>;
41
- };
42
- closable: {
43
- type: import("vue").PropType<boolean>;
44
- };
45
- variant: {
46
- type: import("vue").PropType<TagVariant>;
47
- };
48
- iconName: {
49
- 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">;
50
- };
51
- }>> & {
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TagProps>>> & Readonly<{
52
16
  onClick?: ((event: Event) => any) | undefined;
53
17
  onClose?: ((event: Event) => any) | undefined;
54
- }, {}, {}>;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
55
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,46 +1,29 @@
1
- import { type Milestone, type AddActivityPayload } from '../types';
2
- import { type UpdateActivityPayload, type RemoveActivityPayload } from '../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- templateId: {
5
- type: import("vue").PropType<string>;
6
- required: true;
7
- };
8
- phaseId: {
9
- type: import("vue").PropType<string>;
10
- required: true;
11
- };
12
- milestone: {
13
- type: import("vue").PropType<Milestone>;
14
- required: true;
15
- };
16
- activityId: {
17
- type: import("vue").PropType<string>;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- addActivity: (payload: Pick<AddActivityPayload, "milestoneId">) => void;
1
+ import { Milestone, AddActivityPayload, UpdateActivityPayload, RemoveActivityPayload } from '../types';
2
+
3
+ interface Props {
4
+ templateId: string;
5
+ phaseId: string;
6
+ milestone: Milestone;
7
+ activityId?: string;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
10
  updateActivity: (payload: UpdateActivityPayload) => void;
22
11
  updateMilestone: (payload: UpdateActivityPayload) => void;
12
+ addActivity: (payload: Pick<AddActivityPayload, "milestoneId">) => void;
23
13
  removeActivity: (payload: RemoveActivityPayload) => void;
24
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- templateId: {
26
- type: import("vue").PropType<string>;
27
- required: true;
28
- };
29
- phaseId: {
30
- type: import("vue").PropType<string>;
31
- required: true;
32
- };
33
- milestone: {
34
- type: import("vue").PropType<Milestone>;
35
- required: true;
36
- };
37
- activityId: {
38
- type: import("vue").PropType<string>;
39
- };
40
- }>> & {
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
41
15
  onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
42
16
  onUpdateMilestone?: ((payload: UpdateActivityPayload) => any) | undefined;
43
17
  onAddActivity?: ((payload: Pick<AddActivityPayload, "milestoneId">) => any) | undefined;
44
18
  onRemoveActivity?: ((payload: RemoveActivityPayload) => any) | undefined;
45
- }, {}, {}>;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
20
  export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -1,41 +1,32 @@
1
- import { type Phase, type UpdateMilestonePayload, type RemoveMilestonePayload } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- templateId: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- milestoneId: {
8
- type: import("vue").PropType<string>;
9
- };
10
- phase: {
11
- type: import("vue").PropType<Phase>;
12
- required: true;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { Phase, UpdateMilestonePayload, RemoveMilestonePayload } from '../types';
2
+
3
+ interface Props {
4
+ templateId: string;
5
+ milestoneId?: string;
6
+ phase: Phase;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
9
  addMilestone: (payload: {
16
10
  phaseId: string;
17
11
  }) => void;
18
12
  updateMilestone: (payload: UpdateMilestonePayload) => void;
19
13
  updatePhase: (payload: UpdateItemPhasePayload) => void;
20
14
  removeMilestone: (payload: RemoveMilestonePayload) => void;
21
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
- templateId: {
23
- type: import("vue").PropType<string>;
24
- required: true;
25
- };
26
- milestoneId: {
27
- type: import("vue").PropType<string>;
28
- };
29
- phase: {
30
- type: import("vue").PropType<Phase>;
31
- required: true;
32
- };
33
- }>> & {
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
34
16
  onAddMilestone?: ((payload: {
35
17
  phaseId: string;
36
18
  }) => any) | undefined;
37
19
  onUpdateMilestone?: ((payload: UpdateMilestonePayload) => any) | undefined;
38
20
  onUpdatePhase?: ((payload: UpdateItemPhasePayload) => any) | undefined;
39
21
  onRemoveMilestone?: ((payload: RemoveMilestonePayload) => any) | undefined;
40
- }, {}, {}>;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
23
  export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };