@nocobase/plugin-gantt 1.0.0-alpha.1 → 1.0.0-alpha.10

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 (53) hide show
  1. package/dist/client/Gantt.Designer.d.ts +8 -0
  2. package/dist/client/Gantt.Settings.d.ts +8 -0
  3. package/dist/client/GanttActionInitializers.d.ts +8 -0
  4. package/dist/client/GanttBlockInitializer.d.ts +29 -1
  5. package/dist/client/GanttBlockProvider.d.ts +9 -0
  6. package/dist/client/components/calendar/calendar.d.ts +8 -0
  7. package/dist/client/components/calendar/style.d.ts +8 -0
  8. package/dist/client/components/calendar/top-part-of-calendar.d.ts +8 -0
  9. package/dist/client/components/gantt/Event.d.ts +8 -0
  10. package/dist/client/components/gantt/gantt.d.ts +8 -0
  11. package/dist/client/components/gantt/style.d.ts +8 -0
  12. package/dist/client/components/gantt/task-gantt-content.d.ts +9 -0
  13. package/dist/client/components/gantt/task-gantt.d.ts +8 -0
  14. package/dist/client/components/grid/grid-body.d.ts +8 -0
  15. package/dist/client/components/grid/grid.d.ts +8 -0
  16. package/dist/client/components/grid/style.d.ts +8 -0
  17. package/dist/client/components/other/arrow.d.ts +8 -0
  18. package/dist/client/components/other/horizontal-scroll.d.ts +8 -0
  19. package/dist/client/components/other/style.d.ts +8 -0
  20. package/dist/client/components/other/tooltip.d.ts +8 -0
  21. package/dist/client/components/other/vertical-scroll.d.ts +8 -0
  22. package/dist/client/components/task-item/bar/bar-date-handle.d.ts +8 -0
  23. package/dist/client/components/task-item/bar/bar-display.d.ts +8 -0
  24. package/dist/client/components/task-item/bar/bar-progress-handle.d.ts +8 -0
  25. package/dist/client/components/task-item/bar/bar-small.d.ts +8 -0
  26. package/dist/client/components/task-item/bar/bar.d.ts +8 -0
  27. package/dist/client/components/task-item/bar/style.d.ts +8 -0
  28. package/dist/client/components/task-item/milestone/milestone.d.ts +8 -0
  29. package/dist/client/components/task-item/milestone/style.d.ts +8 -0
  30. package/dist/client/components/task-item/project/project.d.ts +8 -0
  31. package/dist/client/components/task-item/project/style.d.ts +8 -0
  32. package/dist/client/components/task-item/style.d.ts +8 -0
  33. package/dist/client/components/task-item/task-item.d.ts +8 -0
  34. package/dist/client/context.d.ts +8 -0
  35. package/dist/client/createGanttBlockUISchema.d.ts +10 -1
  36. package/dist/client/helpers/bar-helper.d.ts +8 -0
  37. package/dist/client/helpers/date-helper.d.ts +8 -0
  38. package/dist/client/helpers/other-helper.d.ts +8 -0
  39. package/dist/client/index.d.ts +8 -0
  40. package/dist/client/index.js +27 -18
  41. package/dist/client/types/bar-task.d.ts +8 -0
  42. package/dist/client/types/date-setup.d.ts +8 -0
  43. package/dist/client/types/gantt-task-actions.d.ts +8 -0
  44. package/dist/client/types/public-types.d.ts +8 -0
  45. package/dist/client/utils.d.ts +8 -0
  46. package/dist/externalVersion.js +13 -4
  47. package/dist/index.d.ts +8 -0
  48. package/dist/index.js +9 -0
  49. package/dist/server/index.d.ts +8 -0
  50. package/dist/server/index.js +9 -0
  51. package/dist/server/plugin.d.ts +8 -0
  52. package/dist/server/plugin.js +9 -0
  53. package/package.json +2 -2
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const GanttDesigner: () => React.JSX.Element;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { SchemaSettings } from '@nocobase/client';
2
10
  /**
3
11
  * @deprecated
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { CompatibleSchemaInitializer } from '@nocobase/client';
2
10
  /**
3
11
  * @deprecated
@@ -1,2 +1,30 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
- export declare const GanttBlockInitializer: () => React.JSX.Element;
10
+ import { Collection, CollectionFieldOptions } from '@nocobase/client';
11
+ export declare const GanttBlockInitializer: ({ filterCollections, onlyCurrentDataSource, hideSearch, createBlockSchema, showAssociationFields, }: {
12
+ filterCollections: (options: {
13
+ collection?: Collection;
14
+ associationField?: CollectionFieldOptions;
15
+ }) => boolean;
16
+ onlyCurrentDataSource: boolean;
17
+ hideSearch?: boolean;
18
+ createBlockSchema?: (options: any) => any;
19
+ showAssociationFields?: boolean;
20
+ }) => React.JSX.Element;
21
+ export declare const useCreateGanttBlock: () => {
22
+ createGanttBlock: ({ item }: {
23
+ item: any;
24
+ }) => Promise<void>;
25
+ };
26
+ export declare function useCreateAssociationGanttBlock(): {
27
+ createAssociationGanttBlock: ({ item }: {
28
+ item: any;
29
+ }) => Promise<void>;
30
+ };
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const GanttBlockContext: React.Context<any>;
3
11
  export declare const GanttBlockProvider: (props: any) => React.JSX.Element;
@@ -8,4 +16,5 @@ export declare const useGanttBlockProps: () => {
8
16
  onExpanderClick: (task: any) => void;
9
17
  expandAndCollapseAll: (flag: any) => void;
10
18
  tasks: any;
19
+ loading: boolean;
11
20
  };
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { DateSetup } from '../../types/date-setup';
3
11
  import { ViewMode } from '../../types/public-types';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
10
  calendarheader: import("antd-style").SerializedStyles;
3
11
  nbGanttCalendar: import("antd-style").SerializedStyles;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  type TopPartOfCalendarProps = {
3
11
  value: string;
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const Event: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  export declare const DeleteEventContext: React.Context<{
3
11
  close: () => void;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
10
  ganttverticalcontainer: import("antd-style").SerializedStyles;
3
11
  horizontalcontainer: import("antd-style").SerializedStyles;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { EventOption } from '../../types/public-types';
3
11
  import { BarTask } from '../../types/bar-task';
@@ -21,5 +29,6 @@ export type TaskGanttContentProps = {
21
29
  setGanttEvent: (value: GanttEvent) => void;
22
30
  setFailedTask: (value: BarTask | null) => void;
23
31
  setSelectedTask: (taskId: string) => void;
32
+ loading?: boolean;
24
33
  } & EventOption;
25
34
  export declare const TaskGanttContent: React.FC<TaskGanttContentProps>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { CalendarProps } from '../calendar/calendar';
3
11
  import { GridProps } from '../grid/grid';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { Task } from '../../types/public-types';
3
11
  export type GridBodyProps = {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { GridBodyProps } from './grid-body';
3
11
  export type GridProps = GridBodyProps;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
10
  gridRow: import("antd-style").SerializedStyles;
3
11
  gridHeightRow: import("antd-style").SerializedStyles;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { BarTask } from '../../types/bar-task';
3
11
  type ArrowProps = {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React, { SyntheticEvent } from 'react';
2
10
  export declare const HorizontalScroll: React.FC<{
3
11
  scroll: number;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
10
  scrollWrapper: import("antd-style").SerializedStyles;
3
11
  tooltipDefaultContainer: import("antd-style").SerializedStyles;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { BarTask } from '../../types/bar-task';
3
11
  import { Task } from '../../types/public-types';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React, { SyntheticEvent } from 'react';
2
10
  export declare const VerticalScroll: React.FC<{
3
11
  scroll: number;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  type BarDateHandleProps = {
3
11
  x: number;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  type BarDisplayProps = {
3
11
  x: number;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  type BarProgressHandleProps = {
3
11
  progressPoint: string;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { TaskItemProps } from '../task-item';
3
11
  export declare const BarSmall: React.FC<TaskItemProps>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { TaskItemProps } from '../task-item';
3
11
  export declare const Bar: React.FC<TaskItemProps>;
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export declare const barWrapper: string;
2
10
  export declare const barBackground: string;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { TaskItemProps } from '../task-item';
3
11
  export declare const Milestone: React.FC<TaskItemProps>;
@@ -1,2 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export declare const milestoneWrapper: string;
2
10
  export declare const milestoneBackground: string;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { TaskItemProps } from '../task-item';
3
11
  export declare const Project: React.FC<TaskItemProps>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  export declare const projectWrapper: string;
2
10
  export declare const projectBackground: string;
3
11
  export declare const projectTop: string;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
10
  nbganttTaskitem: import("antd-style").SerializedStyles;
3
11
  }>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import React from 'react';
2
10
  import { BarTask } from '../../types/bar-task';
3
11
  import { GanttContentMoveAction } from '../../types/gantt-task-actions';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  /// <reference types="react" />
2
10
  export declare const CalendarContext: import("react").Context<any>;
3
11
  export declare const DeleteEventContext: import("react").Context<any>;
@@ -1,6 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { ISchema } from '@formily/react';
2
10
  export declare const createGanttBlockUISchema: (options: {
3
- collectionName: string;
4
11
  fieldNames: object;
5
12
  dataSource: string;
13
+ association?: string;
14
+ collectionName?: string;
6
15
  }) => ISchema;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { BarTask } from '../types/bar-task';
2
10
  import { BarMoveAction } from '../types/gantt-task-actions';
3
11
  import { Task } from '../types/public-types';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { Task, ViewMode } from '../types/public-types';
2
10
  declare const DateTimeFormat: {
3
11
  (locales?: string | string[], options?: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  /// <reference types="react" />
2
10
  import { BarTask } from '../types/bar-task';
3
11
  import { Task } from '../types/public-types';
@@ -1,3 +1,11 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
1
9
  import { Plugin } from '@nocobase/client';
2
10
  import { Gantt } from './components/gantt/gantt';
3
11
  export { Gantt };