@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,92 +1,67 @@
1
- import { type ButtonColorValues, type ButtonVariantValues, type IconPositionValues, type SizeValues, type CornerRadiusValues } from '../types/styles';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- footer: {
4
- type: import("vue").PropType<boolean>;
5
- default: () => false;
6
- };
7
- label: {
8
- type: import("vue").PropType<string | null>;
9
- default: () => "";
10
- };
11
- color: {
12
- type: import("vue").PropType<ButtonColorValues>;
13
- };
14
- type: {
15
- type: import("vue").PropType<"button" | "submit" | "reset">;
16
- default: () => "button";
17
- };
18
- size: {
19
- type: import("vue").PropType<SizeValues>;
20
- default: () => "md";
21
- };
22
- variant: {
23
- type: import("vue").PropType<ButtonVariantValues>;
24
- default: () => "solid";
25
- };
26
- iconName: {
27
- 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">;
28
- };
29
- iconPosition: {
30
- type: import("vue").PropType<IconPositionValues>;
31
- };
32
- isLoading: {
33
- type: import("vue").PropType<boolean>;
34
- default: () => false;
35
- };
36
- corners: {
37
- type: import("vue").PropType<CornerRadiusValues>;
38
- default: () => "rounded";
39
- };
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
- footer: {
42
- type: import("vue").PropType<boolean>;
43
- default: () => false;
44
- };
45
- label: {
46
- type: import("vue").PropType<string | null>;
47
- default: () => "";
48
- };
49
- color: {
50
- type: import("vue").PropType<ButtonColorValues>;
51
- };
52
- type: {
53
- type: import("vue").PropType<"button" | "submit" | "reset">;
54
- default: () => "button";
55
- };
56
- size: {
57
- type: import("vue").PropType<SizeValues>;
58
- default: () => "md";
59
- };
60
- variant: {
61
- type: import("vue").PropType<ButtonVariantValues>;
62
- default: () => "solid";
63
- };
64
- iconName: {
65
- 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">;
66
- };
67
- iconPosition: {
68
- type: import("vue").PropType<IconPositionValues>;
69
- };
70
- isLoading: {
71
- type: import("vue").PropType<boolean>;
72
- default: () => false;
73
- };
74
- corners: {
75
- type: import("vue").PropType<CornerRadiusValues>;
76
- default: () => "rounded";
77
- };
78
- }>>, {
1
+ import { ButtonHTMLAttributes } from 'vue';
2
+ import { ButtonColorValues, ButtonVariantValues, IconNames, IconPositionValues, SizeValues, CornerRadiusValues } from '../types/styles';
3
+
4
+ type ButtonProps = {
5
+ label?: string | null;
6
+ variant?: ButtonVariantValues;
7
+ iconName?: IconNames;
8
+ iconPosition?: IconPositionValues;
9
+ type?: ButtonHTMLAttributes['type'];
10
+ color?: ButtonColorValues;
11
+ footer?: boolean;
12
+ size?: SizeValues;
13
+ isLoading?: boolean;
14
+ corners?: CornerRadiusValues;
15
+ };
16
+ declare function __VLS_template(): {
17
+ default?(_: {}): any;
18
+ };
19
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
20
+ label: () => "";
21
+ variant: () => "solid";
22
+ iconPositions: () => "end";
23
+ type: () => "button";
24
+ footer: () => false;
25
+ size: () => "md";
26
+ isLoading: () => false;
27
+ corners: () => "rounded";
28
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
29
+ label: () => "";
30
+ variant: () => "solid";
31
+ iconPositions: () => "end";
32
+ type: () => "button";
33
+ footer: () => false;
34
+ size: () => "md";
35
+ isLoading: () => false;
36
+ corners: () => "rounded";
37
+ }>>> & Readonly<{}>, {
79
38
  footer: boolean;
80
39
  label: string | null;
81
- type: "button" | "submit" | "reset";
40
+ type: "reset" | "submit" | "button";
82
41
  size: SizeValues;
83
42
  variant: ButtonVariantValues;
84
43
  isLoading: boolean;
85
44
  corners: CornerRadiusValues;
86
- }, {}>, {
87
- default?(_: {}): any;
88
- }>;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
89
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
+ };
57
+ type __VLS_WithDefaults<P, D> = {
58
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
+ default: D[K];
60
+ }> : P[K];
61
+ };
62
+ type __VLS_Prettify<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
90
65
  type __VLS_WithTemplateSlots<T, S> = T & {
91
66
  new (): {
92
67
  $slots: S;
@@ -1,77 +1,62 @@
1
- import { type ColorValues, type IconPositionValues, type SizeValues, type CornerRadiusValues } from '../types/styles';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- label: {
4
- type: import("vue").PropType<string | null>;
5
- default: () => "";
6
- };
7
- color: {
8
- type: import("vue").PropType<ColorValues>;
9
- default: () => "black";
10
- };
11
- type: {
12
- type: import("vue").PropType<"button" | "submit" | "reset">;
13
- default: () => "button";
14
- };
15
- size: {
16
- type: import("vue").PropType<SizeValues>;
17
- default: () => "md";
18
- };
19
- iconName: {
20
- 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">;
21
- };
22
- iconPosition: {
23
- type: import("vue").PropType<IconPositionValues>;
24
- };
25
- isLoading: {
26
- type: import("vue").PropType<boolean>;
27
- default: () => false;
28
- };
29
- corners: {
30
- type: import("vue").PropType<CornerRadiusValues>;
31
- default: () => "rounded";
32
- };
33
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
- label: {
35
- type: import("vue").PropType<string | null>;
36
- default: () => "";
37
- };
38
- color: {
39
- type: import("vue").PropType<ColorValues>;
40
- default: () => "black";
41
- };
42
- type: {
43
- type: import("vue").PropType<"button" | "submit" | "reset">;
44
- default: () => "button";
45
- };
46
- size: {
47
- type: import("vue").PropType<SizeValues>;
48
- default: () => "md";
49
- };
50
- iconName: {
51
- 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">;
52
- };
53
- iconPosition: {
54
- type: import("vue").PropType<IconPositionValues>;
55
- };
56
- isLoading: {
57
- type: import("vue").PropType<boolean>;
58
- default: () => false;
59
- };
60
- corners: {
61
- type: import("vue").PropType<CornerRadiusValues>;
62
- default: () => "rounded";
63
- };
64
- }>>, {
1
+ import { ButtonHTMLAttributes } from 'vue';
2
+ import { ColorValues, IconNames, IconPositionValues, SizeValues, CornerRadiusValues } from '../types/styles';
3
+
4
+ type ButtonProps = {
5
+ label?: string | null;
6
+ iconName?: IconNames;
7
+ iconPosition?: IconPositionValues;
8
+ type?: ButtonHTMLAttributes['type'];
9
+ color?: ColorValues;
10
+ size?: SizeValues;
11
+ isLoading?: boolean;
12
+ corners?: CornerRadiusValues;
13
+ };
14
+ declare function __VLS_template(): {
15
+ default?(_: {}): any;
16
+ };
17
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
18
+ label: () => "";
19
+ iconPositions: () => "start";
20
+ type: () => "button";
21
+ color: () => "black";
22
+ size: () => "md";
23
+ isLoading: () => false;
24
+ corners: () => "rounded";
25
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
26
+ label: () => "";
27
+ iconPositions: () => "start";
28
+ type: () => "button";
29
+ color: () => "black";
30
+ size: () => "md";
31
+ isLoading: () => false;
32
+ corners: () => "rounded";
33
+ }>>> & Readonly<{}>, {
65
34
  label: string | null;
66
- color: ColorValues;
67
- type: "button" | "submit" | "reset";
35
+ type: "reset" | "submit" | "button";
68
36
  size: SizeValues;
37
+ color: ColorValues;
69
38
  isLoading: boolean;
70
39
  corners: CornerRadiusValues;
71
- }, {}>, {
72
- default?(_: {}): any;
73
- }>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
74
42
  export default _default;
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ type __VLS_TypePropsToRuntimeProps<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: import('vue').PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
75
60
  type __VLS_WithTemplateSlots<T, S> = T & {
76
61
  new (): {
77
62
  $slots: S;
@@ -1,25 +1,23 @@
1
- import { type ButtonColorValues } from '../types/styles';
2
- declare const _default: import("vue").DefineComponent<{
3
- modelValue: {
4
- type: import("vue").PropType<boolean>;
5
- required: true;
6
- };
7
- color: {
8
- type: import("vue").PropType<ButtonColorValues>;
9
- required: true;
10
- };
11
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- 'update:modelValue': (modelValue: boolean) => void;
13
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
- modelValue: {
15
- type: import("vue").PropType<boolean>;
16
- required: true;
17
- };
18
- color: {
19
- type: import("vue").PropType<ButtonColorValues>;
20
- required: true;
21
- };
22
- }>> & {
1
+ import { ButtonColorValues } from '../types/styles';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: boolean;
5
+ color: ButtonColorValues;
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: boolean) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ modelValue: boolean;
10
+ color: ButtonColorValues;
11
+ }>>> & Readonly<{
23
12
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
24
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
14
  export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -1,48 +1,51 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- color: {
3
- type: import("vue").PropType<string>;
4
- };
5
- isClickable: {
6
- type: import("vue").PropType<boolean>;
7
- };
8
- tagName: {
9
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
10
- default: string;
11
- };
12
- isSelected: {
13
- type: import("vue").PropType<boolean>;
14
- };
15
- withLeftBorder: {
16
- type: import("vue").PropType<boolean>;
17
- default: boolean;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- color: {
21
- type: import("vue").PropType<string>;
22
- };
23
- isClickable: {
24
- type: import("vue").PropType<boolean>;
25
- };
26
- tagName: {
27
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
28
- default: string;
29
- };
30
- isSelected: {
31
- type: import("vue").PropType<boolean>;
32
- };
33
- withLeftBorder: {
34
- type: import("vue").PropType<boolean>;
35
- default: boolean;
36
- };
37
- }>>, {
38
- tagName: keyof HTMLElementTagNameMap;
39
- withLeftBorder: boolean;
40
- }, {}>, {
1
+ import { HTMLElementTagNameType } from '../types/utils';
2
+
3
+ declare function __VLS_template(): {
41
4
  header?(_: {}): any;
42
5
  default?(_: {}): any;
43
6
  footer?(_: {}): any;
44
- }>;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ isClickable?: boolean;
10
+ tagName?: HTMLElementTagNameType;
11
+ isSelected?: boolean;
12
+ color?: string;
13
+ withLeftBorder?: boolean;
14
+ }>, {
15
+ tagName: string;
16
+ withLeftBorder: boolean;
17
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ isClickable?: boolean;
19
+ tagName?: HTMLElementTagNameType;
20
+ isSelected?: boolean;
21
+ color?: string;
22
+ withLeftBorder?: boolean;
23
+ }>, {
24
+ tagName: string;
25
+ withLeftBorder: boolean;
26
+ }>>> & Readonly<{}>, {
27
+ tagName: HTMLElementTagNameType;
28
+ withLeftBorder: boolean;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
31
  export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
46
49
  type __VLS_WithTemplateSlots<T, S> = T & {
47
50
  new (): {
48
51
  $slots: S;
@@ -1,136 +1,49 @@
1
- import { type StartTimerPayload, type Subtask, type UpdateActivityPayload, type User } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- id: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- name: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- projectName: {
12
- type: import("vue").PropType<string>;
13
- };
14
- projectId: {
15
- type: import("vue").PropType<string>;
16
- };
17
- projectColor: {
18
- type: import("vue").PropType<string>;
19
- };
20
- phaseName: {
21
- type: import("vue").PropType<string>;
22
- };
23
- milestoneName: {
24
- type: import("vue").PropType<string>;
25
- };
26
- milestoneColor: {
27
- type: import("vue").PropType<string>;
28
- };
29
- deadline: {
30
- type: import("vue").PropType<string>;
31
- };
32
- important: {
33
- type: import("vue").PropType<boolean>;
34
- };
35
- assignee: {
36
- type: import("vue").PropType<User>;
37
- };
38
- slug: {
39
- type: import("vue").PropType<string>;
40
- };
41
- comments: {
42
- type: import("vue").PropType<number>;
43
- };
44
- attachments: {
45
- type: import("vue").PropType<number>;
46
- };
47
- tasks: {
48
- type: import("vue").PropType<Subtask[]>;
49
- };
50
- isEditable: {
51
- type: import("vue").PropType<boolean>;
52
- };
53
- isPrivate: {
54
- type: import("vue").PropType<boolean>;
55
- };
56
- isClosed: {
57
- type: import("vue").PropType<boolean>;
58
- };
59
- tagType: {
60
- type: import("vue").PropType<"project" | "milestone">;
61
- };
62
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { Id, StartTimerPayload, Subtask, UpdateActivityPayload, User } from '../types';
2
+
3
+ interface Props {
4
+ id: Id;
5
+ name: string;
6
+ projectName?: string;
7
+ projectId?: string;
8
+ projectColor?: string;
9
+ phaseName?: string;
10
+ milestoneName?: string;
11
+ milestoneColor?: string;
12
+ deadline?: string;
13
+ important?: boolean;
14
+ assignee?: User;
15
+ slug?: string;
16
+ comments?: number;
17
+ attachments?: number;
18
+ tasks?: Subtask[];
19
+ isEditable?: boolean;
20
+ isPrivate?: boolean;
21
+ isClosed?: boolean;
22
+ tagType?: "project" | "milestone";
23
+ }
24
+ declare function __VLS_template(): {
25
+ secondary?(_: {}): any;
26
+ };
27
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
28
  removeAssignee: (assigneeId: string) => void;
64
29
  updateActivity: (payload: UpdateActivityPayload) => void;
65
30
  startTimer: (payload: StartTimerPayload) => void;
66
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
67
- id: {
68
- type: import("vue").PropType<string>;
69
- required: true;
70
- };
71
- name: {
72
- type: import("vue").PropType<string>;
73
- required: true;
74
- };
75
- projectName: {
76
- type: import("vue").PropType<string>;
77
- };
78
- projectId: {
79
- type: import("vue").PropType<string>;
80
- };
81
- projectColor: {
82
- type: import("vue").PropType<string>;
83
- };
84
- phaseName: {
85
- type: import("vue").PropType<string>;
86
- };
87
- milestoneName: {
88
- type: import("vue").PropType<string>;
89
- };
90
- milestoneColor: {
91
- type: import("vue").PropType<string>;
92
- };
93
- deadline: {
94
- type: import("vue").PropType<string>;
95
- };
96
- important: {
97
- type: import("vue").PropType<boolean>;
98
- };
99
- assignee: {
100
- type: import("vue").PropType<User>;
101
- };
102
- slug: {
103
- type: import("vue").PropType<string>;
104
- };
105
- comments: {
106
- type: import("vue").PropType<number>;
107
- };
108
- attachments: {
109
- type: import("vue").PropType<number>;
110
- };
111
- tasks: {
112
- type: import("vue").PropType<Subtask[]>;
113
- };
114
- isEditable: {
115
- type: import("vue").PropType<boolean>;
116
- };
117
- isPrivate: {
118
- type: import("vue").PropType<boolean>;
119
- };
120
- isClosed: {
121
- type: import("vue").PropType<boolean>;
122
- };
123
- tagType: {
124
- type: import("vue").PropType<"project" | "milestone">;
125
- };
126
- }>> & {
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
127
32
  onRemoveAssignee?: ((assigneeId: string) => any) | undefined;
128
33
  onUpdateActivity?: ((payload: UpdateActivityPayload) => any) | undefined;
129
34
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
130
- }, {}, {}>, {
131
- secondary?(_: {}): any;
132
- }>;
35
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
133
37
  export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
134
47
  type __VLS_WithTemplateSlots<T, S> = T & {
135
48
  new (): {
136
49
  $slots: S;