@antcde/component-library 0.1.25-rc.9 → 0.1.26-rc.1

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 (190) hide show
  1. package/README.md +2 -1
  2. package/dist/build/uno.js +40 -1
  3. package/dist/build/uno.safelist.d.ts +10 -0
  4. package/dist/build/uno.safelist.js +52 -0
  5. package/dist/build/uno.shortcuts.d.ts +27 -0
  6. package/dist/build/uno.shortcuts.js +209 -0
  7. package/dist/index.js +10695 -9459
  8. package/dist/test/vitest.js +3 -0
  9. package/dist/types/{src/components → components}/AntTourZone/_TourInfoCard.vue.d.ts +3 -2
  10. package/dist/types/components/AntTourZone/_TourRing.vue.d.ts +16 -0
  11. package/dist/types/{src/components → components}/AntTourZone/index.vue.d.ts +8 -16
  12. package/dist/types/components/BaseAntButton.vue.d.ts +9 -0
  13. package/dist/types/components/BaseAntCard.vue.d.ts +28 -0
  14. package/dist/types/components/BaseAntCreateCard.vue.d.ts +7 -0
  15. package/dist/types/{src/components → components}/BaseAntDatePicker.vue.d.ts +3 -2
  16. package/dist/types/components/BaseAntInput.types.d.ts +111 -0
  17. package/dist/types/components/BaseAntInput.vue.d.ts +44 -0
  18. package/dist/types/components/BaseAntLoading.vue.d.ts +3 -0
  19. package/dist/types/{src/components → components}/BaseAppCard/_BaseAppCardHint.vue.d.ts +2 -1
  20. package/dist/types/components/BaseAppCard/_BaseAppCardMedia.vue.d.ts +23 -0
  21. package/dist/types/components/BaseAppCard/_BaseAppCardTitle.vue.d.ts +6 -0
  22. package/dist/types/{src/components → components}/BaseAppCard/_BaseAppCardToolbar.vue.d.ts +3 -2
  23. package/dist/types/components/BaseAppCard/_BaseAppCardUpdate.vue.d.ts +9 -0
  24. package/dist/types/{src/components → components}/BaseAppCard/index.vue.d.ts +9 -13
  25. package/dist/types/components/BaseAppCardSkeleton.vue.d.ts +14 -0
  26. package/dist/types/{src/components → components}/BaseClickableIcon.vue.d.ts +2 -1
  27. package/dist/types/{src/components → components}/BaseConfirmDialog.vue.d.ts +7 -11
  28. package/dist/types/components/BaseDeleteDialog.vue.d.ts +43 -0
  29. package/dist/types/{src/components → components}/BaseDialog.vue.d.ts +7 -11
  30. package/dist/types/{src/components → components}/BaseLimitedButton.vue.d.ts +8 -12
  31. package/dist/types/{src/components → components}/BaseResizePanel.vue.d.ts +16 -19
  32. package/dist/types/{src/components → components}/BulkLabelsMenu.vue.d.ts +10 -14
  33. package/dist/types/{src/components → components}/DmsFilePicker/index.vue.d.ts +6 -7
  34. package/dist/types/{src/components → components}/FilePreviewContent/_PreviewDetails.vue.d.ts +3 -2
  35. package/dist/types/{src/components → components}/FilePreviewContent/_PreviewMeta.vue.d.ts +2 -1
  36. package/dist/types/{src/components → components}/FilePreviewContent/_PreviewUsages.vue.d.ts +2 -1
  37. package/dist/types/{src/components → components}/FilePreviewContent/index.vue.d.ts +11 -15
  38. package/dist/types/components/FilePreviewWindow/index.vue.d.ts +40 -0
  39. package/dist/types/components/FlowWindow/index.vue.d.ts +28 -0
  40. package/dist/types/components/FlowWindowContent/index.vue.d.ts +26 -0
  41. package/dist/types/components/GlobalLabelBadge.vue.d.ts +12 -0
  42. package/dist/types/{src/components → components}/RBAC/Permissions/PermissionCard.vue.d.ts +2 -1
  43. package/dist/types/components/RBAC/Permissions/PermissionsGroups.vue.d.ts +14 -0
  44. package/dist/types/{src/components → components}/RichTextEditor/_MentionPanel.vue.d.ts +3 -2
  45. package/dist/types/components/RichTextEditor/_Toolbar.vue.d.ts +7 -0
  46. package/dist/types/{src/components → components}/RichTextEditor/index.vue.d.ts +6 -6
  47. package/dist/types/{src/components → components}/StackedLabels/_LabelsMenuCard.vue.d.ts +3 -2
  48. package/dist/types/{src/components → components}/StackedLabels/index.vue.d.ts +3 -2
  49. package/dist/types/{src/components → components}/TasksFlow/components/_FlowBreadcrumb.vue.d.ts +2 -1
  50. package/dist/types/components/TasksFlow/components/_FlowEdgeConditionBooleanMode.vue.d.ts +10 -0
  51. package/dist/types/components/TasksFlow/components/_FlowEdgeConditionForm.vue.d.ts +27 -0
  52. package/dist/types/components/TasksFlow/components/_FlowEdgeConditionRow.vue.d.ts +13 -0
  53. package/dist/types/components/TasksFlow/components/_FlowEdgeConditionsDialog.vue.d.ts +14 -0
  54. package/dist/types/{src/components → components}/TasksFlow/components/_FlowEdgeDeleteDialog.vue.d.ts +4 -3
  55. package/dist/types/{src/components → components}/TasksFlow/components/_FlowEdgeLagMenu.vue.d.ts +5 -3
  56. package/dist/types/{src/components → components}/TasksFlow/components/_FlowLifecycleBar.vue.d.ts +3 -2
  57. package/dist/types/components/TasksFlow/components/_FlowSearch.vue.d.ts +6 -0
  58. package/dist/types/components/TasksFlow/components/_FlowStats.vue.d.ts +6 -0
  59. package/dist/types/{src/components → components}/TasksFlow/components/_FlowStructureTree.vue.d.ts +6 -6
  60. package/dist/types/{src/components → components}/TasksFlow/components/_FlowToolbar.vue.d.ts +3 -2
  61. package/dist/types/{src/components → components}/TasksFlow/components/_FlowTriggerMenu.vue.d.ts +2 -1
  62. package/dist/types/{src/components → components}/TasksFlow/components/_FlowVersionBar.vue.d.ts +2 -1
  63. package/dist/types/{src/components → components}/TasksFlow/components/_InsertTemplateDialog.vue.d.ts +7 -5
  64. package/dist/types/{src/components → components}/TasksFlow/components/_SubflowPanel.vue.d.ts +3 -2
  65. package/dist/types/{src/components → components}/TasksFlow/components/_VersionDiffView.vue.d.ts +5 -3
  66. package/dist/types/{src/components → components}/TasksFlow/components/_VersionPublishDialog.vue.d.ts +5 -3
  67. package/dist/types/components/TasksFlow/components/_dropzoneBackground.vue.d.ts +13 -0
  68. package/dist/types/components/TasksFlow/components/_flowEdge.vue.d.ts +7 -0
  69. package/dist/types/{src/components → components}/TasksFlow/components/_flowEditor.vue.d.ts +3 -2
  70. package/dist/types/components/TasksFlow/components/nodes/_DurationEditor.vue.d.ts +30 -0
  71. package/dist/types/{src/components → components}/TasksFlow/components/nodes/_NodeContextMenu.vue.d.ts +5 -3
  72. package/dist/types/components/TasksFlow/components/nodes/_NodeMeta.vue.d.ts +15 -0
  73. package/dist/types/components/TasksFlow/components/nodes/_UserPicker.vue.d.ts +29 -0
  74. package/dist/types/{src/components → components}/TasksFlow/components/nodes/_endpointNode.vue.d.ts +2 -1
  75. package/dist/types/components/TasksFlow/components/nodes/_swimlaneNode.vue.d.ts +7 -0
  76. package/dist/types/{src/components → components}/TasksFlow/components/nodes/_taskNode.vue.d.ts +2 -1
  77. package/dist/types/{src/components → components}/TasksFlow/components/nodes/_triggerNode.vue.d.ts +2 -1
  78. package/dist/types/components/TasksFlow/composables/__tests__/useTaskFlowDragDrop.spec.d.ts +1 -0
  79. package/dist/types/components/TasksFlow/composables/useEdgeConditionTables.d.ts +228 -0
  80. package/dist/types/components/TasksFlow/composables/useFlowEdgeConditionState.d.ts +21 -0
  81. package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlow.d.ts +3 -3
  82. package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlowEdgeConditions.d.ts +2 -2
  83. package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlowEdges.d.ts +3 -3
  84. package/dist/types/{src/components → components}/TasksFlow/index.vue.d.ts +3 -2
  85. package/dist/types/components/TasksFlow/utils/conditionOperators.d.ts +3 -0
  86. package/dist/types/{src/components → components}/UnifiedWindow/_WindowPresetMenu.vue.d.ts +2 -1
  87. package/dist/types/{src/components → components}/UnifiedWindow/_WindowTabs.vue.d.ts +2 -1
  88. package/dist/types/{src/components → components}/UnifiedWindow/index.vue.d.ts +12 -19
  89. package/dist/types/{src/components → components}/VersionPublishDialog.vue.d.ts +5 -3
  90. package/dist/types/components/_BaseAntInputField.vue.d.ts +33 -0
  91. package/dist/types/components/_BaseAntInputLabel.vue.d.ts +29 -0
  92. package/dist/types/components/form/AntActionMenu.vue.d.ts +30 -0
  93. package/dist/types/components/form/AntCheckboxCards.vue.d.ts +47 -0
  94. package/dist/types/components/form/AntDialogShell.vue.d.ts +66 -0
  95. package/dist/types/components/form/AntField.vue.d.ts +57 -0
  96. package/dist/types/components/form/AntFilterChips.types.d.ts +12 -0
  97. package/dist/types/components/form/AntFilterChips.vue.d.ts +31 -0
  98. package/dist/types/components/form/AntFilterSelect.types.d.ts +13 -0
  99. package/dist/types/components/form/AntFilterSelect.vue.d.ts +26 -0
  100. package/dist/types/components/form/AntHintBanner.vue.d.ts +36 -0
  101. package/dist/types/components/form/AntHintTip.vue.d.ts +24 -0
  102. package/dist/types/components/form/AntInput.vue.d.ts +98 -0
  103. package/dist/types/components/form/AntNumberField.vue.d.ts +32 -0
  104. package/dist/types/components/form/AntOptionPicker.types.d.ts +19 -0
  105. package/dist/types/components/form/AntOptionPicker.vue.d.ts +46 -0
  106. package/dist/types/components/form/AntPanelSection.vue.d.ts +34 -0
  107. package/dist/types/components/form/AntRadioCards.vue.d.ts +54 -0
  108. package/dist/types/components/form/AntSaveBar.vue.d.ts +70 -0
  109. package/dist/types/components/form/AntSearchField.vue.d.ts +32 -0
  110. package/dist/types/components/form/AntSectionCard.vue.d.ts +47 -0
  111. package/dist/types/components/form/AntSelect.vue.d.ts +79 -0
  112. package/dist/types/components/form/AntStatusPill.vue.d.ts +38 -0
  113. package/dist/types/components/form/AntToggle.vue.d.ts +30 -0
  114. package/dist/types/components/useResizePanel.d.ts +38 -0
  115. package/dist/types/index.d.ts +79 -0
  116. package/lib/PdfViewer/usePdfDocument.ts +49 -5
  117. package/lib/build/genSafelist.mjs +135 -0
  118. package/lib/build/qualifyIcon.ts +28 -0
  119. package/lib/build/uno.safelist.ts +52 -0
  120. package/lib/build/uno.shortcuts.ts +235 -0
  121. package/lib/build/uno.ts +41 -1
  122. package/lib/build/vuetify.ts +3 -1
  123. package/lib/test/mockVueRouter.ts +41 -1
  124. package/lib/test/vitest.ts +3 -0
  125. package/package.json +38 -35
  126. package/dist/types/src/components/AntTourZone/_TourRing.vue.d.ts +0 -15
  127. package/dist/types/src/components/BaseAntButton.vue.d.ts +0 -8
  128. package/dist/types/src/components/BaseAntCard.vue.d.ts +0 -30
  129. package/dist/types/src/components/BaseAntCreateCard.vue.d.ts +0 -6
  130. package/dist/types/src/components/BaseAntInput.vue.d.ts +0 -124
  131. package/dist/types/src/components/BaseAntLoading.vue.d.ts +0 -2
  132. package/dist/types/src/components/BaseAppCard/_BaseAppCardMedia.vue.d.ts +0 -27
  133. package/dist/types/src/components/BaseAppCard/_BaseAppCardTitle.vue.d.ts +0 -5
  134. package/dist/types/src/components/BaseAppCard/_BaseAppCardUpdate.vue.d.ts +0 -8
  135. package/dist/types/src/components/BaseAppCardSkeleton.vue.d.ts +0 -7
  136. package/dist/types/src/components/BaseDeleteDialog.vue.d.ts +0 -48
  137. package/dist/types/src/components/FlowWindowContent/index.vue.d.ts +0 -55
  138. package/dist/types/src/components/GlobalLabelBadge.vue.d.ts +0 -11
  139. package/dist/types/src/components/RichTextEditor/_Toolbar.vue.d.ts +0 -6
  140. package/dist/types/src/components/TasksFlow/components/_FlowEdgeConditionsDialog.vue.d.ts +0 -10
  141. package/dist/types/src/components/TasksFlow/components/_FlowSearch.vue.d.ts +0 -7
  142. package/dist/types/src/components/TasksFlow/components/_FlowStats.vue.d.ts +0 -5
  143. package/dist/types/src/components/TasksFlow/components/_dropzoneBackground.vue.d.ts +0 -17
  144. package/dist/types/src/components/TasksFlow/components/_flowEdge.vue.d.ts +0 -9
  145. package/dist/types/src/components/TasksFlow/components/nodes/_DurationEditor.vue.d.ts +0 -33
  146. package/dist/types/src/components/TasksFlow/components/nodes/_NodeMeta.vue.d.ts +0 -14
  147. package/dist/types/src/components/TasksFlow/components/nodes/_UserPicker.vue.d.ts +0 -32
  148. package/dist/types/src/components/TasksFlow/components/nodes/_swimlaneNode.vue.d.ts +0 -6
  149. package/dist/types/src/components/_BaseAntInputLabel.vue.d.ts +0 -27
  150. package/dist/types/src/index.d.ts +0 -39
  151. /package/dist/types/{src/components → components}/DmsFilePicker/composables/usePickerNavigation.d.ts +0 -0
  152. /package/dist/types/{src/components → components}/DmsFilePicker/composables/usePickerUpload.d.ts +0 -0
  153. /package/dist/types/{src/components → components}/DmsFilePicker/utils/fileFormatting.d.ts +0 -0
  154. /package/dist/types/{src/components → components}/FilePreviewContent/fileFormat.d.ts +0 -0
  155. /package/dist/types/{src/components → components}/FilePreviewContent/types.d.ts +0 -0
  156. /package/dist/types/{src/components → components}/FilePreviewContent/usePreviewDetails.d.ts +0 -0
  157. /package/dist/types/{src/components → components}/RichTextEditor/_useInlineEdit.d.ts +0 -0
  158. /package/dist/types/{src/components → components}/RichTextEditor/_useMentionPicker.d.ts +0 -0
  159. /package/dist/types/{src/components → components}/TasksFlow/components/nodes/useTaskNodeState.d.ts +0 -0
  160. /package/dist/types/{src/components → components}/TasksFlow/composables/_layoutEngine.d.ts +0 -0
  161. /package/dist/types/{src/components → components}/TasksFlow/composables/useAutoLayout.d.ts +0 -0
  162. /package/dist/types/{src/components → components}/TasksFlow/composables/useCriticalPath.d.ts +0 -0
  163. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowAutoLayout.d.ts +0 -0
  164. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowCache.d.ts +0 -0
  165. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowCrud.d.ts +0 -0
  166. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowDisplayElements.d.ts +0 -0
  167. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowEditor.d.ts +0 -0
  168. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowEndpoints.d.ts +0 -0
  169. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowFetch.d.ts +0 -0
  170. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowKeyboard.d.ts +0 -0
  171. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowLifecycle.d.ts +0 -0
  172. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowNotifications.d.ts +0 -0
  173. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowOperations.d.ts +0 -0
  174. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowRealtime.d.ts +0 -0
  175. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowSearch.d.ts +0 -0
  176. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowStructureTree.d.ts +0 -0
  177. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowSubflows.d.ts +0 -0
  178. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowToolbarDrag.d.ts +0 -0
  179. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowUsers.d.ts +0 -0
  180. /package/dist/types/{src/components → components}/TasksFlow/composables/useFlowViewport.d.ts +0 -0
  181. /package/dist/types/{src/components → components}/TasksFlow/composables/useSwimlaneLayout.d.ts +0 -0
  182. /package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlowDragDrop.d.ts +0 -0
  183. /package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlowMappers.d.ts +0 -0
  184. /package/dist/types/{src/components → components}/TasksFlow/composables/useTaskFlowTypes.d.ts +0 -0
  185. /package/dist/types/{src/components → components}/TasksFlow/composables/useTemplateVersioning.d.ts +0 -0
  186. /package/dist/types/{src/components → components}/TasksFlow/composables/useTemplateVersioningState.d.ts +0 -0
  187. /package/dist/types/{src/components → components}/TasksFlow/composables/useTriggerExecution.d.ts +0 -0
  188. /package/dist/types/{src/components → components}/UnifiedWindow/types.d.ts +0 -0
  189. /package/dist/types/{src/components → components}/UnifiedWindow/useNativeFullscreen.d.ts +0 -0
  190. /package/dist/types/{src/components → components}/UnifiedWindow/useWindowDrag.d.ts +0 -0
@@ -3,7 +3,7 @@ type __VLS_Props = {
3
3
  isDark: boolean;
4
4
  antConnect: AntConnect;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
7
7
  menuOpen: import('vue').Ref<boolean, boolean>;
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
9
  select: (id: string) => any;
@@ -14,4 +14,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
14
14
  onDragStart?: ((e: DragEvent, id: string, name: string) => any) | undefined;
15
15
  onDragEnd?: (() => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -2,7 +2,7 @@ type __VLS_Props = {
2
2
  isDark: boolean;
3
3
  };
4
4
  declare function openPublishDialog(): void;
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
6
6
  openPublishDialog: typeof openPublishDialog;
7
7
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
8
  updated: () => any;
@@ -11,4 +11,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
11
11
  onUpdated?: (() => any) | undefined;
12
12
  onPublished?: ((version: number) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -1,17 +1,19 @@
1
1
  type __VLS_Props = {
2
2
  isDark: boolean;
3
3
  };
4
- type __VLS_PublicProps = {
4
+ type __VLS_ModelProps = {
5
5
  modelValue: boolean;
6
6
  'targetNodeId'?: string | null;
7
- } & __VLS_Props;
8
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
10
  "update:modelValue": (value: boolean) => any;
10
11
  inserted: (taskId: string) => any;
11
- "update:targetNodeId": (value: string | null) => any;
12
+ "update:targetNodeId": (value: string | null | undefined) => any;
12
13
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
15
  onInserted?: ((taskId: string) => any) | undefined;
15
- "onUpdate:targetNodeId"?: ((value: string | null) => any) | undefined;
16
+ "onUpdate:targetNodeId"?: ((value: string | null | undefined) => any) | undefined;
16
17
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
17
19
  export default _default;
@@ -15,7 +15,7 @@ type __VLS_Props = {
15
15
  zIndex: number;
16
16
  };
17
17
  declare function updateFlowTask(task: Task): void;
18
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
18
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
19
19
  updateFlowTask: typeof updateFlowTask;
20
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  close: () => any;
@@ -29,5 +29,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
29
29
  onFocus?: (() => any) | undefined;
30
30
  onMove?: ((x: number, y: number) => any) | undefined;
31
31
  onOpenInMain?: ((id: string) => any) | undefined;
32
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: typeof __VLS_export;
33
34
  export default _default;
@@ -1,14 +1,16 @@
1
1
  type __VLS_Props = {
2
2
  isDark: boolean;
3
3
  };
4
- type __VLS_PublicProps = {
4
+ type __VLS_ModelProps = {
5
5
  modelValue: boolean;
6
- } & __VLS_Props;
7
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ };
7
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
9
  "update:modelValue": (value: boolean) => any;
9
10
  sync: () => any;
10
11
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
12
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
13
  onSync?: (() => any) | undefined;
13
14
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
14
16
  export default _default;
@@ -1,14 +1,16 @@
1
1
  type __VLS_Props = {
2
2
  isDark: boolean;
3
3
  };
4
- type __VLS_PublicProps = {
4
+ type __VLS_ModelProps = {
5
5
  modelValue: boolean;
6
- } & __VLS_Props;
7
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ };
7
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
9
  "update:modelValue": (value: boolean) => any;
9
10
  published: () => any;
10
11
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
12
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
13
  onPublished?: (() => any) | undefined;
13
14
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
14
16
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,7 @@
1
+ import { EdgeProps } from '@vue-flow/core';
2
+ type __VLS_Props = EdgeProps & {
3
+ isDark: boolean;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -5,9 +5,10 @@ type __VLS_Props = {
5
5
  isInSubflow?: boolean;
6
6
  flowInstanceId?: string;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
9
9
  createTaskAtViewportCenter: () => Promise<void>;
10
10
  createTriggerAtViewportCenter: (triggerId: string) => Promise<void>;
11
11
  fitViewAnimated: () => void;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ durationDays: number | null;
3
+ durationActiveDays: number[];
4
+ };
5
+ type __VLS_ModelProps = {
6
+ modelValue: boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare var __VLS_11: {
10
+ menuProps: any;
11
+ isDefaultWorkdays: (days: number[]) => boolean;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_11) => any;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (value: boolean) => any;
18
+ save: (days: number | null, activeDays: number[]) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ onSave?: ((days: number | null, activeDays: number[]) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -8,10 +8,11 @@ type __VLS_Props = {
8
8
  y: number;
9
9
  };
10
10
  };
11
- type __VLS_PublicProps = {
11
+ type __VLS_ModelProps = {
12
12
  modelValue: boolean;
13
- } & __VLS_Props;
14
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ };
14
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
16
  "update:modelValue": (value: boolean) => any;
16
17
  delete: () => any;
17
18
  openNotepad: () => any;
@@ -32,4 +33,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
32
33
  onInsertAfter?: (() => any) | undefined;
33
34
  onDuplicateBranch?: (() => any) | undefined;
34
35
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
35
37
  export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ nodeId: string;
3
+ nodeTitle: string;
4
+ hasChildren: boolean;
5
+ isTemplateFlow: boolean;
6
+ isLocked: boolean;
7
+ checksCount: number;
8
+ attachmentsCount: number;
9
+ childrenCount: number;
10
+ durationDays: number | null;
11
+ durationActiveDays: number[];
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ taskId: string;
3
+ isDark: boolean;
4
+ };
5
+ type __VLS_ModelProps = {
6
+ modelValue: boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare var __VLS_9: {
10
+ menuProps: any;
11
+ };
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_9) => any;
14
+ };
15
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:modelValue": (value: boolean) => any;
17
+ assigned: (userId: string | null) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
+ onAssigned?: ((userId: string | null) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -2,9 +2,10 @@ import { NodeProps } from '@vue-flow/core';
2
2
  type __VLS_Props = NodeProps & {
3
3
  isDark: boolean;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  updateNodeInternals: () => any;
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
8
  onUpdateNodeInternals?: (() => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
10
11
  export default _default;
@@ -0,0 +1,7 @@
1
+ import { NodeProps } from '@vue-flow/core';
2
+ type __VLS_Props = NodeProps & {
3
+ isDark?: boolean;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = NodeProps & {
3
3
  connectingSourceId: string | null;
4
4
  isDark: boolean;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  updateNodeInternals: () => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onUpdateNodeInternals?: (() => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -2,9 +2,10 @@ import { NodeProps } from '@vue-flow/core';
2
2
  type __VLS_Props = NodeProps & {
3
3
  isDark: boolean;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  updateNodeInternals: () => any;
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
8
  onUpdateNodeInternals?: (() => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
10
11
  export default _default;
@@ -0,0 +1,228 @@
1
+ import { TableList } from '@antcde/connect-ts';
2
+ export interface ScopedTable extends TableList {
3
+ scope: 'project' | 'license';
4
+ }
5
+ /**
6
+ * Tables (and their columns) a relation condition can be built against.
7
+ *
8
+ * A task inside a project sees BOTH project and license tables, because the
9
+ * project context includes its parent license scope. License-only tasks see
10
+ * license tables alone.
11
+ */
12
+ export declare function useEdgeConditionTables(): {
13
+ tables: import('vue').Ref<{
14
+ scope: "project" | "license";
15
+ id: string;
16
+ name: string;
17
+ history_enabled: boolean;
18
+ is_locked: boolean;
19
+ columns?: {
20
+ id: string;
21
+ name: string;
22
+ type: import('@antcde/connect-ts').ColumnType;
23
+ default_value: string | boolean | null;
24
+ options_value: string[];
25
+ order: number;
26
+ required: boolean;
27
+ is_unique: boolean;
28
+ is_indexed: boolean;
29
+ table: string;
30
+ relation: {
31
+ id: string;
32
+ project: string;
33
+ table: string;
34
+ column: /*elided*/ any | null;
35
+ related_project: string;
36
+ related_table: {
37
+ id: string;
38
+ name: string;
39
+ history_enabled: boolean;
40
+ is_locked: boolean;
41
+ lock: {
42
+ locked_at: string;
43
+ locked_by: {
44
+ id: string;
45
+ name: string;
46
+ profile_picture: string | null;
47
+ } | null;
48
+ } | null;
49
+ permissions: {
50
+ create: boolean;
51
+ read: boolean;
52
+ update: boolean;
53
+ delete: boolean;
54
+ configure: boolean;
55
+ };
56
+ project: string;
57
+ labels: {
58
+ id: string;
59
+ name: string;
60
+ color: string | null;
61
+ icon: string | null;
62
+ pivot: {
63
+ resource_type: string;
64
+ resource_id: string;
65
+ label_os_id: string;
66
+ created_at: string;
67
+ updated_at: string;
68
+ created_by: string;
69
+ };
70
+ }[];
71
+ limits?: import('@antcde/connect-ts').TableLimits | undefined;
72
+ } | null;
73
+ related_column: /*elided*/ any | null;
74
+ };
75
+ has_relation?: boolean | undefined;
76
+ column_relation?: {
77
+ id: string;
78
+ column_id: string;
79
+ display_label: string;
80
+ related_entity: import('@antcde/connect-ts').RelatedEntity;
81
+ related_table_id: string | null;
82
+ created_at: string;
83
+ updated_at: string;
84
+ } | null | undefined;
85
+ column_reference?: {
86
+ id: string;
87
+ target_type: import('@antcde/connect-ts/services/ColumnService').ReferenceTargetType;
88
+ target_table_id: string | null;
89
+ target_column_id: string | null;
90
+ display_column_id: string | null;
91
+ display_field: string | null;
92
+ is_object_reference: boolean;
93
+ is_system_entity: boolean;
94
+ } | null | undefined;
95
+ hint?: string | undefined;
96
+ field_name?: string | undefined;
97
+ }[] | undefined;
98
+ labels: {
99
+ id: string;
100
+ name: string;
101
+ color: string | null;
102
+ icon: string | null;
103
+ pivot: {
104
+ resource_type: string;
105
+ resource_id: string;
106
+ label_os_id: string;
107
+ created_at: string;
108
+ updated_at: string;
109
+ created_by: string;
110
+ };
111
+ }[];
112
+ }[], ScopedTable[] | {
113
+ scope: "project" | "license";
114
+ id: string;
115
+ name: string;
116
+ history_enabled: boolean;
117
+ is_locked: boolean;
118
+ columns?: {
119
+ id: string;
120
+ name: string;
121
+ type: import('@antcde/connect-ts').ColumnType;
122
+ default_value: string | boolean | null;
123
+ options_value: string[];
124
+ order: number;
125
+ required: boolean;
126
+ is_unique: boolean;
127
+ is_indexed: boolean;
128
+ table: string;
129
+ relation: {
130
+ id: string;
131
+ project: string;
132
+ table: string;
133
+ column: /*elided*/ any | null;
134
+ related_project: string;
135
+ related_table: {
136
+ id: string;
137
+ name: string;
138
+ history_enabled: boolean;
139
+ is_locked: boolean;
140
+ lock: {
141
+ locked_at: string;
142
+ locked_by: {
143
+ id: string;
144
+ name: string;
145
+ profile_picture: string | null;
146
+ } | null;
147
+ } | null;
148
+ permissions: {
149
+ create: boolean;
150
+ read: boolean;
151
+ update: boolean;
152
+ delete: boolean;
153
+ configure: boolean;
154
+ };
155
+ project: string;
156
+ labels: {
157
+ id: string;
158
+ name: string;
159
+ color: string | null;
160
+ icon: string | null;
161
+ pivot: {
162
+ resource_type: string;
163
+ resource_id: string;
164
+ label_os_id: string;
165
+ created_at: string;
166
+ updated_at: string;
167
+ created_by: string;
168
+ };
169
+ }[];
170
+ limits?: import('@antcde/connect-ts').TableLimits | undefined;
171
+ } | null;
172
+ related_column: /*elided*/ any | null;
173
+ };
174
+ has_relation?: boolean | undefined;
175
+ column_relation?: {
176
+ id: string;
177
+ column_id: string;
178
+ display_label: string;
179
+ related_entity: import('@antcde/connect-ts').RelatedEntity;
180
+ related_table_id: string | null;
181
+ created_at: string;
182
+ updated_at: string;
183
+ } | null | undefined;
184
+ column_reference?: {
185
+ id: string;
186
+ target_type: import('@antcde/connect-ts/services/ColumnService').ReferenceTargetType;
187
+ target_table_id: string | null;
188
+ target_column_id: string | null;
189
+ display_column_id: string | null;
190
+ display_field: string | null;
191
+ is_object_reference: boolean;
192
+ is_system_entity: boolean;
193
+ } | null | undefined;
194
+ hint?: string | undefined;
195
+ field_name?: string | undefined;
196
+ }[] | undefined;
197
+ labels: {
198
+ id: string;
199
+ name: string;
200
+ color: string | null;
201
+ icon: string | null;
202
+ pivot: {
203
+ resource_type: string;
204
+ resource_id: string;
205
+ label_os_id: string;
206
+ created_at: string;
207
+ updated_at: string;
208
+ created_by: string;
209
+ };
210
+ }[];
211
+ }[]>;
212
+ isLoadingTables: import('vue').Ref<boolean, boolean>;
213
+ projectId: import('vue').ComputedRef<string | null>;
214
+ licenseId: import('vue').ComputedRef<string | null>;
215
+ needsLoad: import('vue').ComputedRef<boolean>;
216
+ loadTables: () => Promise<void>;
217
+ tableOptions: import('vue').ComputedRef<{
218
+ value: string;
219
+ title: string;
220
+ scope: "project" | "license";
221
+ }[]>;
222
+ columnOptionsFor: (tableKey: string) => {
223
+ value: string;
224
+ title: string;
225
+ type: import('@antcde/connect-ts').ColumnType;
226
+ }[];
227
+ columnTypeFor: (tableKey: string, columnName: string) => import('@antcde/connect-ts').ColumnType | undefined;
228
+ };
@@ -0,0 +1,21 @@
1
+ import { TaskRelationCondition } from '@antcde/connect-ts';
2
+ import { ComputedRef } from 'vue';
3
+ import { TaskFlowNode } from './useTaskFlowTypes';
4
+ export type ConditionState = 'pass' | 'fail' | 'broken' | 'pending';
5
+ interface Options {
6
+ isConditional: ComputedRef<boolean>;
7
+ conditions: ComputedRef<TaskRelationCondition[]>;
8
+ sourceNode: ComputedRef<TaskFlowNode | undefined>;
9
+ targetNode: ComputedRef<TaskFlowNode | undefined>;
10
+ }
11
+ /**
12
+ * The pill an edge shows for its condition outcome, plus whether manual
13
+ * re-evaluation is worth offering. CONDITIONAL edges only — everything else
14
+ * reads as 'pending' and is never rendered.
15
+ */
16
+ export declare function useFlowEdgeConditionState({ isConditional, conditions, sourceNode, targetNode }: Options): {
17
+ conditionStateIcon: ComputedRef<"mdi-alert-circle-outline" | "mdi-check-circle" | "mdi-debug-step-over" | "mdi-clock-outline">;
18
+ conditionStateColor: ComputedRef<"warning" | "success" | undefined>;
19
+ canReevaluate: ComputedRef<boolean>;
20
+ };
21
+ export {};
@@ -315,13 +315,13 @@ export declare function useTaskFlow(antConnect: AntConnect, notepad: Notepad, ch
315
315
  criticalNodeIds: import('vue').ComputedRef<Set<string>>;
316
316
  criticalEdgeIds: import('vue').ComputedRef<Set<string>>;
317
317
  reevaluateRelation: (edgeId: string) => Promise<import('@antcde/connect-ts').TaskRelationReevaluateResponse | null>;
318
- createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
319
- updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
318
+ createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
319
+ updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
320
320
  deleteRelationCondition: (edgeId: string, conditionId: string) => Promise<void>;
321
321
  setRelationBooleanMode: (edgeId: string, mode: "AND" | "OR" | null) => Promise<void>;
322
322
  createEdge: (source: string, target: string, type: "BLOCKED_BY" | "NON_BLOCKING" | "CONDITIONAL", sourceHandle?: string, targetHandle?: string) => Promise<void>;
323
323
  deleteEdge: (edgeId: string) => Promise<void>;
324
- setEdgeRelationType: (edgeId: string, newType: "BLOCKED_BY" | "NON_BLOCKING" | "CONDITIONAL") => Promise<void>;
324
+ setEdgeRelationType: (edgeId: string, newType: "BLOCKED_BY" | "NON_BLOCKING" | "CONDITIONAL") => Promise<string | null>;
325
325
  updateEdgeLag: (edgeId: string, lagDays: number, lagActiveDays: number[]) => Promise<void>;
326
326
  addRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
327
327
  deleteRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
@@ -3,8 +3,8 @@ import { Ref } from 'vue';
3
3
  import { TaskFlowEdge } from './useTaskFlowTypes';
4
4
  export declare function useTaskFlowEdgeConditions(antConnect: AntConnect, flowEdges: Ref<TaskFlowEdge[]>): {
5
5
  reevaluateRelation: (edgeId: string) => Promise<import('@antcde/connect-ts').TaskRelationReevaluateResponse | null>;
6
- createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
7
- updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
6
+ createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
7
+ updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
8
8
  deleteRelationCondition: (edgeId: string, conditionId: string) => Promise<void>;
9
9
  setRelationBooleanMode: (edgeId: string, mode: "AND" | "OR" | null) => Promise<void>;
10
10
  };
@@ -4,13 +4,13 @@ import { TaskFlowEdge } from './useTaskFlowTypes';
4
4
  type RelationType = 'BLOCKED_BY' | 'NON_BLOCKING' | 'CONDITIONAL';
5
5
  export declare function useTaskFlowEdges(antConnect: AntConnect, flowEdges: Ref<TaskFlowEdge[]>): {
6
6
  reevaluateRelation: (edgeId: string) => Promise<import('@antcde/connect-ts').TaskRelationReevaluateResponse | null>;
7
- createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
8
- updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition | null>;
7
+ createRelationCondition: (edgeId: string, data: Parameters<AntConnect["tasks"]["createRelationCondition"]>[2]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
8
+ updateRelationCondition: (edgeId: string, conditionId: string, data: Parameters<AntConnect["tasks"]["updateRelationCondition"]>[3]) => Promise<import('@antcde/connect-ts').TaskRelationCondition>;
9
9
  deleteRelationCondition: (edgeId: string, conditionId: string) => Promise<void>;
10
10
  setRelationBooleanMode: (edgeId: string, mode: "AND" | "OR" | null) => Promise<void>;
11
11
  createEdge: (source: string, target: string, type: RelationType, sourceHandle?: string, targetHandle?: string) => Promise<void>;
12
12
  deleteEdge: (edgeId: string) => Promise<void>;
13
- setEdgeRelationType: (edgeId: string, newType: RelationType) => Promise<void>;
13
+ setEdgeRelationType: (edgeId: string, newType: RelationType) => Promise<string | null>;
14
14
  updateEdgeLag: (edgeId: string, lagDays: number, lagActiveDays: number[]) => Promise<void>;
15
15
  addRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
16
16
  deleteRelationQuery: (edgeId: string, queryId: string) => Promise<void>;
@@ -24,7 +24,7 @@ declare function handleTaskEvent(payload: {
24
24
  action: string;
25
25
  data?: Record<string, unknown>;
26
26
  }): void;
27
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
27
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
28
28
  reloadFlow: typeof reloadFlow;
29
29
  updateFlowTask: typeof updateFlowTask;
30
30
  refreshFromExternal: typeof refreshFromExternal;
@@ -45,5 +45,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
45
45
  onDeletedFlowId?: ((id: string) => any) | undefined;
46
46
  onLifecycleAction?: ((key: LifecycleAction) => any) | undefined;
47
47
  onVersionPublished?: ((version: number) => any) | undefined;
48
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
48
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
49
+ declare const _default: typeof __VLS_export;
49
50
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ColumnType, TaskRelationConditionOperator } from '@antcde/connect-ts';
2
+ export declare function operatorsForType(type: ColumnType | undefined): TaskRelationConditionOperator[];
3
+ export declare function valueInputTypeForColumn(type: ColumnType | undefined): 'number' | 'date' | 'email' | 'url' | 'text';