@nocobase/plugin-gantt 1.2.13-alpha → 1.3.0-alpha.20240710084543

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 (58) hide show
  1. package/package.json +2 -2
  2. package/dist/client/Gantt.Designer.d.ts +0 -10
  3. package/dist/client/Gantt.Settings.d.ts +0 -15
  4. package/dist/client/GanttActionInitializers.d.ts +0 -15
  5. package/dist/client/GanttBlockInitializer.d.ts +0 -30
  6. package/dist/client/GanttBlockProvider.d.ts +0 -20
  7. package/dist/client/components/calendar/calendar.d.ts +0 -22
  8. package/dist/client/components/calendar/style.d.ts +0 -13
  9. package/dist/client/components/calendar/top-part-of-calendar.d.ts +0 -19
  10. package/dist/client/components/gantt/Event.d.ts +0 -10
  11. package/dist/client/components/gantt/gantt.d.ts +0 -13
  12. package/dist/client/components/gantt/style.d.ts +0 -14
  13. package/dist/client/components/gantt/task-gantt-content.d.ts +0 -34
  14. package/dist/client/components/gantt/task-gantt.d.ts +0 -22
  15. package/dist/client/components/grid/grid-body.d.ts +0 -21
  16. package/dist/client/components/grid/grid.d.ts +0 -12
  17. package/dist/client/components/grid/style.d.ts +0 -14
  18. package/dist/client/components/other/arrow.d.ts +0 -20
  19. package/dist/client/components/other/horizontal-scroll.d.ts +0 -16
  20. package/dist/client/components/other/style.d.ts +0 -16
  21. package/dist/client/components/other/tooltip.d.ts +0 -37
  22. package/dist/client/components/other/vertical-scroll.d.ts +0 -17
  23. package/dist/client/components/task-item/bar/bar-date-handle.d.ts +0 -19
  24. package/dist/client/components/task-item/bar/bar-display.d.ts +0 -29
  25. package/dist/client/components/task-item/bar/bar-progress-handle.d.ts +0 -15
  26. package/dist/client/components/task-item/bar/bar-small.d.ts +0 -11
  27. package/dist/client/components/task-item/bar/bar.d.ts +0 -11
  28. package/dist/client/components/task-item/bar/style.d.ts +0 -10
  29. package/dist/client/components/task-item/milestone/milestone.d.ts +0 -11
  30. package/dist/client/components/task-item/milestone/style.d.ts +0 -10
  31. package/dist/client/components/task-item/project/project.d.ts +0 -11
  32. package/dist/client/components/task-item/project/style.d.ts +0 -11
  33. package/dist/client/components/task-item/style.d.ts +0 -12
  34. package/dist/client/components/task-item/task-item.d.ts +0 -23
  35. package/dist/client/context.d.ts +0 -11
  36. package/dist/client/createGanttBlockUISchema.d.ts +0 -15
  37. package/dist/client/helpers/bar-helper.d.ts +0 -22
  38. package/dist/client/helpers/date-helper.d.ts +0 -27
  39. package/dist/client/helpers/other-helper.d.ts +0 -17
  40. package/dist/client/index.d.ts +0 -15
  41. package/dist/client/index.js +0 -256
  42. package/dist/client/types/bar-task.d.ts +0 -30
  43. package/dist/client/types/date-setup.d.ts +0 -13
  44. package/dist/client/types/gantt-task-actions.d.ts +0 -16
  45. package/dist/client/types/public-types.d.ts +0 -144
  46. package/dist/client/utils.d.ts +0 -13
  47. package/dist/externalVersion.js +0 -25
  48. package/dist/index.d.ts +0 -10
  49. package/dist/index.js +0 -48
  50. package/dist/locale/en-US.json +0 -6
  51. package/dist/locale/es-ES.json +0 -7
  52. package/dist/locale/ko_KR.json +0 -7
  53. package/dist/locale/pt-BR.json +0 -5
  54. package/dist/locale/zh-CN.json +0 -7
  55. package/dist/server/index.d.ts +0 -9
  56. package/dist/server/index.js +0 -42
  57. package/dist/server/plugin.d.ts +0 -19
  58. package/dist/server/plugin.js +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-gantt",
3
- "version": "1.2.13-alpha",
3
+ "version": "1.3.0-alpha.20240710084543",
4
4
  "displayName": "Block: Gantt",
5
5
  "displayName.zh-CN": "区块:甘特图",
6
6
  "description": "Provides Gantt block.",
@@ -17,7 +17,7 @@
17
17
  "@nocobase/server": "1.x",
18
18
  "@nocobase/test": "1.x"
19
19
  },
20
- "gitHead": "b6a1c2ee330b47c2581ea2ce15ee46210e6220f2",
20
+ "gitHead": "07a8b596fc64a9779a194cb9b0dc2ca7570ed9d4",
21
21
  "keywords": [
22
22
  "Blocks"
23
23
  ]
@@ -1,10 +0,0 @@
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
- */
9
- import React from 'react';
10
- export declare const GanttDesigner: () => React.JSX.Element;
@@ -1,15 +0,0 @@
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
- */
9
- import { SchemaSettings } from '@nocobase/client';
10
- /**
11
- * @deprecated
12
- * 用于兼容旧版 schema
13
- */
14
- export declare const oldGanttSettings: SchemaSettings<{}>;
15
- export declare const ganttSettings: SchemaSettings<{}>;
@@ -1,15 +0,0 @@
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
- */
9
- import { CompatibleSchemaInitializer } from '@nocobase/client';
10
- /**
11
- * @deprecated
12
- * use `ganttActionInitializers` instead
13
- */
14
- export declare const GanttActionInitializers_deprecated: CompatibleSchemaInitializer;
15
- export declare const ganttActionInitializers: CompatibleSchemaInitializer;
@@ -1,30 +0,0 @@
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
- */
9
- import React from 'react';
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,20 +0,0 @@
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
- */
9
- import React from 'react';
10
- export declare const GanttBlockContext: React.Context<any>;
11
- export declare const GanttBlockProvider: (props: any) => React.JSX.Element;
12
- export declare const useGanttBlockContext: () => any;
13
- export declare const useGanttBlockProps: () => {
14
- fieldNames: any;
15
- timeRange: any;
16
- onExpanderClick: (task: any) => void;
17
- expandAndCollapseAll: (flag: any) => void;
18
- tasks: any;
19
- loading: boolean;
20
- };
@@ -1,22 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { DateSetup } from '../../types/date-setup';
11
- import { ViewMode } from '../../types/public-types';
12
- export type CalendarProps = {
13
- dateSetup: DateSetup;
14
- locale: string;
15
- viewMode: ViewMode;
16
- rtl: boolean;
17
- headerHeight: number;
18
- columnWidth: number;
19
- fontFamily: string;
20
- fontSize: string;
21
- };
22
- export declare const Calendar: React.FC<CalendarProps>;
@@ -1,13 +0,0 @@
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
- */
9
- declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
10
- calendarheader: import("antd-style").SerializedStyles;
11
- nbGanttCalendar: import("antd-style").SerializedStyles;
12
- }>;
13
- export default useStyles;
@@ -1,19 +0,0 @@
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
- */
9
- import React from 'react';
10
- type TopPartOfCalendarProps = {
11
- value: string;
12
- x1Line: number;
13
- y1Line: number;
14
- y2Line: number;
15
- xText: number;
16
- yText: number;
17
- };
18
- export declare const TopPartOfCalendar: React.FC<TopPartOfCalendarProps>;
19
- export {};
@@ -1,10 +0,0 @@
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
- */
9
- import React from 'react';
10
- export declare const Event: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
@@ -1,13 +0,0 @@
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
- */
9
- import React from 'react';
10
- export declare const DeleteEventContext: React.Context<{
11
- close: () => void;
12
- }>;
13
- export declare const Gantt: any;
@@ -1,14 +0,0 @@
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
- */
9
- declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
10
- ganttverticalcontainer: import("antd-style").SerializedStyles;
11
- horizontalcontainer: import("antd-style").SerializedStyles;
12
- wrapper: import("antd-style").SerializedStyles;
13
- }>;
14
- export default useStyles;
@@ -1,34 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { EventOption } from '../../types/public-types';
11
- import { BarTask } from '../../types/bar-task';
12
- import { GanttEvent } from '../../types/gantt-task-actions';
13
- export type TaskGanttContentProps = {
14
- tasks: BarTask[];
15
- dates: Date[];
16
- ganttEvent: GanttEvent;
17
- selectedTask: BarTask | undefined;
18
- rowHeight: number;
19
- columnWidth: number;
20
- timeStep: number;
21
- svg?: React.RefObject<SVGSVGElement>;
22
- svgWidth: number;
23
- taskHeight: number;
24
- arrowColor: string;
25
- arrowIndent: number;
26
- fontSize: string;
27
- fontFamily: string;
28
- rtl: boolean;
29
- setGanttEvent: (value: GanttEvent) => void;
30
- setFailedTask: (value: BarTask | null) => void;
31
- setSelectedTask: (taskId: string) => void;
32
- loading?: boolean;
33
- } & EventOption;
34
- export declare const TaskGanttContent: React.FC<TaskGanttContentProps>;
@@ -1,22 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { CalendarProps } from '../calendar/calendar';
11
- import { GridProps } from '../grid/grid';
12
- import { TaskGanttContentProps } from './task-gantt-content';
13
- export type TaskGanttProps = {
14
- gridProps: GridProps;
15
- calendarProps: CalendarProps;
16
- barProps: TaskGanttContentProps;
17
- ganttHeight: number;
18
- scrollY: number;
19
- scrollX: number;
20
- ref: any;
21
- };
22
- export declare const TaskGantt: React.FC<TaskGanttProps>;
@@ -1,21 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { Task } from '../../types/public-types';
11
- export type GridBodyProps = {
12
- tasks: Task[];
13
- dates: Date[];
14
- svgWidth: number;
15
- rowHeight: number;
16
- columnWidth: number;
17
- todayColor: string;
18
- rtl: boolean;
19
- selectedRowKeys: any[];
20
- };
21
- export declare const GridBody: React.FC<GridBodyProps>;
@@ -1,12 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { GridBodyProps } from './grid-body';
11
- export type GridProps = GridBodyProps;
12
- export declare const Grid: React.FC<GridProps>;
@@ -1,14 +0,0 @@
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
- */
9
- declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
10
- gridRow: import("antd-style").SerializedStyles;
11
- gridHeightRow: import("antd-style").SerializedStyles;
12
- nbGridbody: import("antd-style").SerializedStyles;
13
- }>;
14
- export default useStyles;
@@ -1,20 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { BarTask } from '../../types/bar-task';
11
- type ArrowProps = {
12
- taskFrom: BarTask;
13
- taskTo: BarTask;
14
- rowHeight: number;
15
- taskHeight: number;
16
- arrowIndent: number;
17
- rtl: boolean;
18
- };
19
- export declare const Arrow: React.FC<ArrowProps>;
20
- export {};
@@ -1,16 +0,0 @@
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
- */
9
- import React, { SyntheticEvent } from 'react';
10
- export declare const HorizontalScroll: React.FC<{
11
- scroll: number;
12
- svgWidth: number;
13
- taskListWidth: number;
14
- rtl: boolean;
15
- onScroll: (event: SyntheticEvent<HTMLDivElement>) => void;
16
- }>;
@@ -1,16 +0,0 @@
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
- */
9
- declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
10
- scrollWrapper: import("antd-style").SerializedStyles;
11
- tooltipDefaultContainer: import("antd-style").SerializedStyles;
12
- tooltipDetailsContainer: import("antd-style").SerializedStyles;
13
- tooltipDetailsContainerHidden: import("antd-style").SerializedStyles;
14
- nbGridOther: import("antd-style").SerializedStyles;
15
- }>;
16
- export default useStyles;
@@ -1,37 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { BarTask } from '../../types/bar-task';
11
- import { Task } from '../../types/public-types';
12
- export type TooltipProps = {
13
- task: BarTask;
14
- arrowIndent: number;
15
- rtl: boolean;
16
- svgContainerHeight: number;
17
- svgContainerWidth: number;
18
- svgWidth: number;
19
- headerHeight: number;
20
- taskListWidth: number;
21
- scrollX: number;
22
- scrollY: number;
23
- rowHeight: number;
24
- fontSize: string;
25
- fontFamily: string;
26
- TooltipContent: React.FC<{
27
- task: Task;
28
- fontSize: string;
29
- fontFamily: string;
30
- }>;
31
- };
32
- export declare const Tooltip: React.FC<TooltipProps>;
33
- export declare const StandardTooltipContent: React.FC<{
34
- task: Task;
35
- fontSize: string;
36
- fontFamily: string;
37
- }>;
@@ -1,17 +0,0 @@
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
- */
9
- import React, { SyntheticEvent } from 'react';
10
- export declare const VerticalScroll: React.FC<{
11
- scroll: number;
12
- ganttHeight: number;
13
- ganttFullHeight: number;
14
- headerHeight: number;
15
- rtl: boolean;
16
- onScroll: (event: SyntheticEvent<HTMLDivElement>) => void;
17
- }>;
@@ -1,19 +0,0 @@
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
- */
9
- import React from 'react';
10
- type BarDateHandleProps = {
11
- x: number;
12
- y: number;
13
- width: number;
14
- height: number;
15
- barCornerRadius: number;
16
- onMouseDown: (event: React.MouseEvent<SVGRectElement, MouseEvent>) => void;
17
- };
18
- export declare const BarDateHandle: React.FC<BarDateHandleProps>;
19
- export {};
@@ -1,29 +0,0 @@
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
- */
9
- import React from 'react';
10
- type BarDisplayProps = {
11
- x: number;
12
- y: number;
13
- color?: string;
14
- width: number;
15
- height: number;
16
- isSelected: boolean;
17
- progressX: number;
18
- progressWidth: number;
19
- barCornerRadius: number;
20
- styles: {
21
- backgroundColor: string;
22
- backgroundSelectedColor: string;
23
- progressColor: string;
24
- progressSelectedColor: string;
25
- };
26
- onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
27
- };
28
- export declare const BarDisplay: React.FC<BarDisplayProps>;
29
- export {};
@@ -1,15 +0,0 @@
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
- */
9
- import React from 'react';
10
- type BarProgressHandleProps = {
11
- progressPoint: string;
12
- onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
13
- };
14
- export declare const BarProgressHandle: React.FC<BarProgressHandleProps>;
15
- export {};
@@ -1,11 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { TaskItemProps } from '../task-item';
11
- export declare const BarSmall: React.FC<TaskItemProps>;
@@ -1,11 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { TaskItemProps } from '../task-item';
11
- export declare const Bar: React.FC<TaskItemProps>;
@@ -1,10 +0,0 @@
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
- */
9
- export declare const barWrapper: string;
10
- export declare const barBackground: string;
@@ -1,11 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { TaskItemProps } from '../task-item';
11
- export declare const Milestone: React.FC<TaskItemProps>;
@@ -1,10 +0,0 @@
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
- */
9
- export declare const milestoneWrapper: string;
10
- export declare const milestoneBackground: string;
@@ -1,11 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { TaskItemProps } from '../task-item';
11
- export declare const Project: React.FC<TaskItemProps>;
@@ -1,11 +0,0 @@
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
- */
9
- export declare const projectWrapper: string;
10
- export declare const projectBackground: string;
11
- export declare const projectTop: string;
@@ -1,12 +0,0 @@
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
- */
9
- declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
10
- nbganttTaskitem: import("antd-style").SerializedStyles;
11
- }>;
12
- export default useStyles;
@@ -1,23 +0,0 @@
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
- */
9
- import React from 'react';
10
- import { BarTask } from '../../types/bar-task';
11
- import { GanttContentMoveAction } from '../../types/gantt-task-actions';
12
- export type TaskItemProps = {
13
- task: BarTask;
14
- arrowIndent: number;
15
- taskHeight: number;
16
- isProgressChangeable: boolean;
17
- isDateChangeable: boolean;
18
- isDelete: boolean;
19
- isSelected: boolean;
20
- rtl: boolean;
21
- onEventStart: (action: GanttContentMoveAction, selectedTask: BarTask, event?: React.MouseEvent | React.KeyboardEvent) => any;
22
- };
23
- export declare const TaskItem: React.FC<TaskItemProps>;
@@ -1,11 +0,0 @@
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
- */
9
- /// <reference types="react" />
10
- export declare const CalendarContext: import("react").Context<any>;
11
- export declare const DeleteEventContext: import("react").Context<any>;