@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,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,4 +1,5 @@
1
- import { type Ref, type MaybeRef } from 'vue';
1
+ import { Ref, MaybeRef } from 'vue';
2
+
2
3
  interface useDetachedOptionsParams {
3
4
  multiselect: Ref<any>;
4
5
  appendTo?: MaybeRef<string> | MaybeRef<HTMLElement> | MaybeRef<string | HTMLElement>;
@@ -1,4 +1,5 @@
1
- import type { Ordered } from '../types';
1
+ import { Ordered } from '../types';
2
+
2
3
  export default function <T extends Ordered>(items: T[], type: string, t: any): {
3
4
  name: string;
4
5
  rank: string;
@@ -1,8 +1,9 @@
1
- import { type Ref } from 'vue';
1
+ import { Ref } from 'vue';
2
+
2
3
  export default function useIsEditing(target: Ref<HTMLElement | null>): {
3
- isEditing: Ref<boolean>;
4
+ isEditing: Ref<boolean, boolean>;
4
5
  setIsEditing: (v: boolean) => void;
5
6
  toggleIsEditing: () => void;
6
- onUpdate: (cb?: ((v: string, e?: any) => void) | undefined) => (e: Event) => Promise<void>;
7
+ onUpdate: (cb?: (v: string, e?: event) => void) => (e: Event) => Promise<void>;
7
8
  onDiscard: (cb?: () => void) => () => Promise<void>;
8
9
  };
@@ -1,4 +1,4 @@
1
1
  export default function useSearchField(): {
2
- searchText: import("vue").Ref<string>;
2
+ searchText: import('vue').Ref<string, string>;
3
3
  clearSearchText: () => void;
4
4
  };
@@ -1,2 +1,3 @@
1
- import type { Entity } from '../types';
1
+ import { Entity } from '../types';
2
+
2
3
  export default function useSelectAddedElement(elements: Entity[] | undefined, oldElements: Entity[] | undefined): Promise<void>;
@@ -1,6 +1,7 @@
1
- import { type Activity, type ActivityStatus, type Milestone, type MilestoneStatus, type Ordered, type Phase, type User, type Id } from './types';
2
- import { type DraggableChangeEvent } from './types/utils';
3
- import { type Ref } from 'vue';
1
+ import { Activity, ActivityStatus, Milestone, MilestoneStatus, Ordered, Phase, User, Id } from './types';
2
+ import { DraggableChangeEvent } from './types/utils';
3
+ import { Ref } from 'vue';
4
+
4
5
  /**
5
6
  * Formats minutes into a human-readable time format
6
7
  * @param minutes - Time in minutes
@@ -29,16 +30,22 @@ export declare function milestoneWithStatus(milestone: Milestone, closedStatus:
29
30
  export declare const getUserName: (user: User | undefined | null) => string;
30
31
  export declare function lightenColor(color: string, alpha?: number): string;
31
32
  export declare function useMentions(textareaRef: Ref<HTMLTextAreaElement | null | undefined>, messageModel: Ref<string>, allUsers: Ref<User[]>): {
32
- showMentionList: Ref<boolean>;
33
+ showMentionList: Ref<boolean, boolean>;
33
34
  mentionListPosition: Ref<{
34
35
  top: number;
35
36
  left: number;
37
+ }, {
38
+ top: number;
39
+ left: number;
40
+ } | {
41
+ top: number;
42
+ left: number;
36
43
  }>;
37
- filteredUsers: import("vue").ComputedRef<{
44
+ filteredUsers: import('vue').ComputedRef<{
38
45
  id: string;
39
46
  name: string;
40
47
  }[]>;
41
- mentionQuery: Ref<string>;
48
+ mentionQuery: Ref<string, string>;
42
49
  handleInput: (event: Event) => void;
43
50
  handleKeydown: (event: KeyboardEvent) => void;
44
51
  selectUserMention: (name: string) => void;
@@ -1,3 +1,4 @@
1
- import { type App } from 'vue';
2
- export declare const useI18n: Promise<import("i18next").TFunction<"translation", undefined>>;
1
+ import { App } from 'vue';
2
+
3
+ export declare const useI18n: Promise<import('i18next').TFunction<"translation", undefined>>;
3
4
  export default function (app: App): App<any>;
@@ -1,3 +1,4 @@
1
+
1
2
  export { default as AoTemplates } from './views/AoTemplates.vue';
2
3
  export { default as AoTemplatesList } from './views/AoTemplatesList.vue';
3
4
  export { default as AoTemplateDetails } from './views/AoTemplateDetails.vue';
@@ -1,4 +1,5 @@
1
- import { type RouteRecordRaw } from 'vue-router';
1
+ import { RouteRecordRaw } from 'vue-router';
2
+
2
3
  export declare const templateRouteNames: {
3
4
  TEMPLATES: string;
4
5
  TEMPLATE_DETAILS: string;
@@ -1,5 +1,6 @@
1
- import { type HTMLElementTagNameType } from './utils';
2
- import { type IconNames } from './styles';
1
+ import { HTMLElementTagNameType } from './utils';
2
+ import { IconNames } from './styles';
3
+
3
4
  export interface CardProps {
4
5
  id?: string;
5
6
  title?: string;
@@ -1,4 +1,4 @@
1
- import * as icons from '../components/icons';
1
+ import * as icons from '@/components/icons';
2
2
  export declare const buttonVariants: {
3
3
  readonly SOLID: "solid";
4
4
  readonly GHOST: "ghost";
@@ -1,4 +1,5 @@
1
- import { Id, MultiselectOptionTagProps } from '../types/index';
1
+ import { Id, MultiselectOptionTagProps } from './index';
2
+
2
3
  export type HTMLElementTagNameType = keyof HTMLElementTagNameMap;
3
4
  export interface DraggableChangeEvent<T> {
4
5
  added?: {
@@ -1,87 +1,50 @@
1
- import type { TimeTracking } from '../types';
2
- import { type Activity, type ActivityStatus, type ActivityType, type AddActivityFeedPayload, type AddCommentPayload, type AddFilesPayload, type AddSubtaskPayload, type ChangeFeedActivitiesPayload, type FeedFilters, type Project, type RemoveCommentPayload, type RemoveFilePayload, type StartTimerPayload, type Subtask, type UpdateActivityPayload, type UpdateCommentPayload, type UpdateSubtaskFieldPayload, type User } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- filters: {
5
- type: import("vue").PropType<FeedFilters>;
6
- required: true;
7
- };
8
- activities: {
9
- type: import("vue").PropType<Activity[]>;
10
- required: true;
11
- };
12
- project: {
13
- type: import("vue").PropType<Project>;
14
- };
15
- isEditable: {
16
- type: import("vue").PropType<boolean | "only-own">;
17
- required: true;
18
- };
19
- users: {
20
- type: import("vue").PropType<User[]>;
21
- required: true;
22
- };
23
- userId: {
24
- type: import("vue").PropType<string>;
25
- required: true;
26
- };
27
- showsArchivedActivities: {
28
- type: import("vue").PropType<boolean>;
29
- required: true;
30
- };
31
- showsOnlyImportant: {
32
- type: import("vue").PropType<boolean>;
33
- required: true;
34
- };
35
- activityTypes: {
36
- type: import("vue").PropType<ActivityType[]>;
37
- };
38
- isTaskCheckable: {
39
- type: import("vue").PropType<(task: Subtask) => boolean>;
40
- default: undefined;
41
- };
42
- statuses: {
43
- type: import("vue").PropType<ActivityStatus[]>;
44
- required: true;
45
- };
46
- attachmentEnabled: {
47
- type: import("vue").PropType<boolean>;
48
- required: true;
49
- default: boolean;
50
- };
51
- projects: {
52
- type: import("vue").PropType<Project[]>;
53
- };
54
- timeTrackingData: {
55
- type: import("vue").PropType<Record<string, TimeTracking>>;
56
- };
57
- selectedActivity: {
58
- type: import("vue").PropType<Activity>;
59
- };
60
- initialActivityId: {
61
- type: import("vue").PropType<string>;
62
- };
63
- initialActivitySlug: {
64
- type: import("vue").PropType<string>;
65
- };
66
- searchText: {
67
- type: import("vue").PropType<string>;
68
- default: string;
69
- };
70
- showsOnlyNonAssigned: {
71
- type: import("vue").PropType<boolean>;
72
- required: true;
73
- };
74
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { TimeTracking, Activity, ActivityStatus, ActivityType, AddActivityFeedPayload, AddCommentPayload, AddFilesPayload, AddSubtaskPayload, ChangeFeedActivitiesPayload, FeedFilters, Id, Project, RemoveCommentPayload, RemoveFilePayload, StartTimerPayload, Subtask, UpdateActivityPayload, UpdateCommentPayload, UpdateSubtaskFieldPayload, User } from '../types';
2
+
3
+ interface Props {
4
+ activities: Activity[];
5
+ statuses: ActivityStatus[];
6
+ project?: Project;
7
+ projects?: Project[];
8
+ filters: FeedFilters;
9
+ activityTypes?: ActivityType[];
10
+ users: User[];
11
+ userId: Id;
12
+ initialActivityId?: Id;
13
+ initialActivitySlug?: Id;
14
+ searchText?: string;
15
+ showsArchivedActivities: boolean;
16
+ showsOnlyImportant: boolean;
17
+ showsOnlyNonAssigned: boolean;
18
+ selectedActivity?: Activity;
19
+ isTaskCheckable?: (task: Subtask) => boolean;
20
+ isEditable: boolean | 'only-own';
21
+ attachmentEnabled: boolean;
22
+ timeTrackingData?: Record<Id, TimeTracking>;
23
+ }
24
+ declare function __VLS_template(): Readonly<{
25
+ activityDetailsBody(props: {
26
+ activity: Activity;
27
+ }): any;
28
+ }> & {
29
+ activityDetailsBody(props: {
30
+ activity: Activity;
31
+ }): any;
32
+ };
33
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
34
+ searchText: string;
35
+ isTaskCheckable: undefined;
36
+ attachmentEnabled: boolean;
37
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
38
  "change:activities": (payload: ChangeFeedActivitiesPayload) => void;
76
39
  addActivity: (payload: AddActivityFeedPayload) => void;
77
40
  "update:filters": (value: FeedFilters) => void;
78
41
  selectActivity: (activityId: string | null, activitySlug: string | null) => void;
79
42
  "update:activity": (payload: UpdateActivityPayload) => void;
80
43
  archiveActivity: (payload: {
81
- id: string;
44
+ id: Id;
82
45
  }) => void;
83
46
  unarchiveActivity: (payload: {
84
- id: string;
47
+ id: Id;
85
48
  }) => void;
86
49
  "update:searchText": (value: string) => void;
87
50
  "clear:searchText": (event: Event) => void;
@@ -91,107 +54,40 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
91
54
  addSubtask: (payload: AddSubtaskPayload) => void;
92
55
  updateSubtask: (payload: UpdateSubtaskFieldPayload) => void;
93
56
  deleteSubtask: (payload: {
94
- id: string;
57
+ id: Id;
95
58
  }) => void;
96
59
  addFiles: (payload: AddFilesPayload) => void;
97
60
  removeFile: (payload: RemoveFilePayload) => void;
98
61
  addComment: (payload: AddCommentPayload) => void;
99
62
  updateComment: (payload: UpdateCommentPayload) => void;
100
63
  removeComment: (payload: RemoveCommentPayload) => void;
101
- toast: (message: string, type: "success" | "error") => void;
64
+ toast: (message: string, type: "error" | "success") => void;
102
65
  startTimer: (payload: StartTimerPayload) => void;
103
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
104
- filters: {
105
- type: import("vue").PropType<FeedFilters>;
106
- required: true;
107
- };
108
- activities: {
109
- type: import("vue").PropType<Activity[]>;
110
- required: true;
111
- };
112
- project: {
113
- type: import("vue").PropType<Project>;
114
- };
115
- isEditable: {
116
- type: import("vue").PropType<boolean | "only-own">;
117
- required: true;
118
- };
119
- users: {
120
- type: import("vue").PropType<User[]>;
121
- required: true;
122
- };
123
- userId: {
124
- type: import("vue").PropType<string>;
125
- required: true;
126
- };
127
- showsArchivedActivities: {
128
- type: import("vue").PropType<boolean>;
129
- required: true;
130
- };
131
- showsOnlyImportant: {
132
- type: import("vue").PropType<boolean>;
133
- required: true;
134
- };
135
- activityTypes: {
136
- type: import("vue").PropType<ActivityType[]>;
137
- };
138
- isTaskCheckable: {
139
- type: import("vue").PropType<(task: Subtask) => boolean>;
140
- default: undefined;
141
- };
142
- statuses: {
143
- type: import("vue").PropType<ActivityStatus[]>;
144
- required: true;
145
- };
146
- attachmentEnabled: {
147
- type: import("vue").PropType<boolean>;
148
- required: true;
149
- default: boolean;
150
- };
151
- projects: {
152
- type: import("vue").PropType<Project[]>;
153
- };
154
- timeTrackingData: {
155
- type: import("vue").PropType<Record<string, TimeTracking>>;
156
- };
157
- selectedActivity: {
158
- type: import("vue").PropType<Activity>;
159
- };
160
- initialActivityId: {
161
- type: import("vue").PropType<string>;
162
- };
163
- initialActivitySlug: {
164
- type: import("vue").PropType<string>;
165
- };
166
- searchText: {
167
- type: import("vue").PropType<string>;
168
- default: string;
169
- };
170
- showsOnlyNonAssigned: {
171
- type: import("vue").PropType<boolean>;
172
- required: true;
173
- };
174
- }>> & {
66
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
67
+ searchText: string;
68
+ isTaskCheckable: undefined;
69
+ attachmentEnabled: boolean;
70
+ }>>> & Readonly<{
175
71
  onStartTimer?: ((payload: StartTimerPayload) => any) | undefined;
176
72
  onSelectActivity?: ((activityId: string | null, activitySlug: string | null) => any) | undefined;
177
73
  onArchiveActivity?: ((payload: {
178
- id: string;
74
+ id: Id;
179
75
  }) => any) | undefined;
180
76
  onUnarchiveActivity?: ((payload: {
181
- id: string;
77
+ id: Id;
182
78
  }) => any) | undefined;
183
- onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
184
- onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
185
79
  onDeleteSubtask?: ((payload: {
186
- id: string;
80
+ id: Id;
187
81
  }) => any) | undefined;
188
82
  onRemoveFile?: ((payload: RemoveFilePayload) => any) | undefined;
83
+ onUpdateComment?: ((payload: UpdateCommentPayload) => any) | undefined;
84
+ onRemoveComment?: ((payload: RemoveCommentPayload) => any) | undefined;
189
85
  "onUpdate:activity"?: ((payload: UpdateActivityPayload) => any) | undefined;
190
86
  onAddSubtask?: ((payload: AddSubtaskPayload) => any) | undefined;
191
87
  onUpdateSubtask?: ((payload: UpdateSubtaskFieldPayload) => any) | undefined;
192
88
  onAddFiles?: ((payload: AddFilesPayload) => any) | undefined;
193
89
  onAddComment?: ((payload: AddCommentPayload) => any) | undefined;
194
- onToast?: ((message: string, type: "success" | "error") => any) | undefined;
90
+ onToast?: ((message: string, type: "error" | "success") => any) | undefined;
195
91
  onAddActivity?: ((payload: AddActivityFeedPayload) => any) | undefined;
196
92
  "onChange:activities"?: ((payload: ChangeFeedActivitiesPayload) => any) | undefined;
197
93
  "onUpdate:filters"?: ((value: FeedFilters) => any) | undefined;
@@ -200,16 +96,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
200
96
  "onUpdate:showsArchivedActivities"?: ((value: boolean) => any) | undefined;
201
97
  "onUpdate:showsOnlyImportant"?: ((value: boolean) => any) | undefined;
202
98
  "onUpdate:showsOnlyNonAssigned"?: ((value: boolean) => any) | undefined;
203
- }, {
99
+ }>, {
204
100
  isTaskCheckable: (task: Subtask) => boolean;
205
101
  attachmentEnabled: boolean;
206
102
  searchText: string;
207
- }, {}>, {
208
- activityDetailsBody(props: {
209
- activity: Activity;
210
- }): any;
211
- }>;
103
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
104
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
212
105
  export default _default;
106
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
107
+ type __VLS_TypePropsToRuntimeProps<T> = {
108
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
109
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
110
+ } : {
111
+ type: import('vue').PropType<T[K]>;
112
+ required: true;
113
+ };
114
+ };
115
+ type __VLS_WithDefaults<P, D> = {
116
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
117
+ default: D[K];
118
+ }> : P[K];
119
+ };
120
+ type __VLS_Prettify<T> = {
121
+ [K in keyof T]: T[K];
122
+ } & {};
213
123
  type __VLS_WithTemplateSlots<T, S> = T & {
214
124
  new (): {
215
125
  $slots: S;