@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.
- package/package.json +2 -2
- package/dist/client/Gantt.Designer.d.ts +0 -10
- package/dist/client/Gantt.Settings.d.ts +0 -15
- package/dist/client/GanttActionInitializers.d.ts +0 -15
- package/dist/client/GanttBlockInitializer.d.ts +0 -30
- package/dist/client/GanttBlockProvider.d.ts +0 -20
- package/dist/client/components/calendar/calendar.d.ts +0 -22
- package/dist/client/components/calendar/style.d.ts +0 -13
- package/dist/client/components/calendar/top-part-of-calendar.d.ts +0 -19
- package/dist/client/components/gantt/Event.d.ts +0 -10
- package/dist/client/components/gantt/gantt.d.ts +0 -13
- package/dist/client/components/gantt/style.d.ts +0 -14
- package/dist/client/components/gantt/task-gantt-content.d.ts +0 -34
- package/dist/client/components/gantt/task-gantt.d.ts +0 -22
- package/dist/client/components/grid/grid-body.d.ts +0 -21
- package/dist/client/components/grid/grid.d.ts +0 -12
- package/dist/client/components/grid/style.d.ts +0 -14
- package/dist/client/components/other/arrow.d.ts +0 -20
- package/dist/client/components/other/horizontal-scroll.d.ts +0 -16
- package/dist/client/components/other/style.d.ts +0 -16
- package/dist/client/components/other/tooltip.d.ts +0 -37
- package/dist/client/components/other/vertical-scroll.d.ts +0 -17
- package/dist/client/components/task-item/bar/bar-date-handle.d.ts +0 -19
- package/dist/client/components/task-item/bar/bar-display.d.ts +0 -29
- package/dist/client/components/task-item/bar/bar-progress-handle.d.ts +0 -15
- package/dist/client/components/task-item/bar/bar-small.d.ts +0 -11
- package/dist/client/components/task-item/bar/bar.d.ts +0 -11
- package/dist/client/components/task-item/bar/style.d.ts +0 -10
- package/dist/client/components/task-item/milestone/milestone.d.ts +0 -11
- package/dist/client/components/task-item/milestone/style.d.ts +0 -10
- package/dist/client/components/task-item/project/project.d.ts +0 -11
- package/dist/client/components/task-item/project/style.d.ts +0 -11
- package/dist/client/components/task-item/style.d.ts +0 -12
- package/dist/client/components/task-item/task-item.d.ts +0 -23
- package/dist/client/context.d.ts +0 -11
- package/dist/client/createGanttBlockUISchema.d.ts +0 -15
- package/dist/client/helpers/bar-helper.d.ts +0 -22
- package/dist/client/helpers/date-helper.d.ts +0 -27
- package/dist/client/helpers/other-helper.d.ts +0 -17
- package/dist/client/index.d.ts +0 -15
- package/dist/client/index.js +0 -256
- package/dist/client/types/bar-task.d.ts +0 -30
- package/dist/client/types/date-setup.d.ts +0 -13
- package/dist/client/types/gantt-task-actions.d.ts +0 -16
- package/dist/client/types/public-types.d.ts +0 -144
- package/dist/client/utils.d.ts +0 -13
- package/dist/externalVersion.js +0 -25
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/en-US.json +0 -6
- package/dist/locale/es-ES.json +0 -7
- package/dist/locale/ko_KR.json +0 -7
- package/dist/locale/pt-BR.json +0 -5
- package/dist/locale/zh-CN.json +0 -7
- package/dist/server/index.d.ts +0 -9
- package/dist/server/index.js +0 -42
- package/dist/server/plugin.d.ts +0 -19
- package/dist/server/plugin.js +0 -54
|
@@ -1,144 +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 enum ViewMode {
|
|
11
|
-
Hour = "hour",
|
|
12
|
-
QuarterDay = "quarterDay",
|
|
13
|
-
HalfDay = "halfDay",
|
|
14
|
-
Day = "day",
|
|
15
|
-
/** ISO-8601 week */
|
|
16
|
-
Week = "week",
|
|
17
|
-
Month = "month",
|
|
18
|
-
QuarterYear = "quarterYear",
|
|
19
|
-
Year = "year"
|
|
20
|
-
}
|
|
21
|
-
export type TaskType = 'task' | 'milestone' | 'project';
|
|
22
|
-
export interface Task {
|
|
23
|
-
id: string;
|
|
24
|
-
type: TaskType;
|
|
25
|
-
name: string;
|
|
26
|
-
start: Date;
|
|
27
|
-
end: Date;
|
|
28
|
-
/**
|
|
29
|
-
* From 0 to 100
|
|
30
|
-
*/
|
|
31
|
-
progress: number;
|
|
32
|
-
styles?: {
|
|
33
|
-
backgroundColor?: string;
|
|
34
|
-
backgroundSelectedColor?: string;
|
|
35
|
-
progressColor?: string;
|
|
36
|
-
progressSelectedColor?: string;
|
|
37
|
-
};
|
|
38
|
-
isDisabled?: boolean;
|
|
39
|
-
project?: string;
|
|
40
|
-
dependencies?: string[];
|
|
41
|
-
hideChildren?: boolean;
|
|
42
|
-
displayOrder?: number;
|
|
43
|
-
}
|
|
44
|
-
export interface EventOption {
|
|
45
|
-
/**
|
|
46
|
-
* Time step value for date changes.
|
|
47
|
-
*/
|
|
48
|
-
timeStep?: number;
|
|
49
|
-
/**
|
|
50
|
-
* Invokes on bar select on unselect.
|
|
51
|
-
*/
|
|
52
|
-
onSelect?: (task: Task, isSelected: boolean) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Invokes on bar double click.
|
|
55
|
-
*/
|
|
56
|
-
onDoubleClick?: (task: Task) => void;
|
|
57
|
-
/**
|
|
58
|
-
* Invokes on bar click.
|
|
59
|
-
*/
|
|
60
|
-
onClick?: (task: Task) => void;
|
|
61
|
-
/**
|
|
62
|
-
* Invokes on end and start time change. Chart undoes operation if method return false or error.
|
|
63
|
-
*/
|
|
64
|
-
onDateChange?: (task: Task, children: Task[]) => void | boolean | Promise<void> | Promise<boolean>;
|
|
65
|
-
/**
|
|
66
|
-
* Invokes on progress change. Chart undoes operation if method return false or error.
|
|
67
|
-
*/
|
|
68
|
-
onProgressChange?: (task: Task, children: Task[]) => void | boolean | Promise<void> | Promise<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Invokes on delete selected task. Chart undoes operation if method return false or error.
|
|
71
|
-
*/
|
|
72
|
-
onDelete?: (task: Task) => void | boolean | Promise<void> | Promise<boolean>;
|
|
73
|
-
/**
|
|
74
|
-
* Invokes on expander on task list
|
|
75
|
-
*/
|
|
76
|
-
onExpanderClick?: (task: Task) => void;
|
|
77
|
-
}
|
|
78
|
-
export interface DisplayOption {
|
|
79
|
-
viewMode?: ViewMode;
|
|
80
|
-
viewDate?: Date;
|
|
81
|
-
preStepsCount?: number;
|
|
82
|
-
/**
|
|
83
|
-
* Specifies the month name language. Able formats: ISO 639-2, Java Locale
|
|
84
|
-
*/
|
|
85
|
-
locale?: string;
|
|
86
|
-
rtl?: boolean;
|
|
87
|
-
}
|
|
88
|
-
export interface StylingOption {
|
|
89
|
-
headerHeight?: number;
|
|
90
|
-
columnWidth?: number;
|
|
91
|
-
listCellWidth?: string;
|
|
92
|
-
rowHeight?: number;
|
|
93
|
-
ganttHeight?: number;
|
|
94
|
-
barCornerRadius?: number;
|
|
95
|
-
handleWidth?: number;
|
|
96
|
-
fontFamily?: string;
|
|
97
|
-
fontSize?: string;
|
|
98
|
-
/**
|
|
99
|
-
* How many of row width can be taken by task.
|
|
100
|
-
* From 0 to 100
|
|
101
|
-
*/
|
|
102
|
-
barFill?: number;
|
|
103
|
-
barProgressColor?: string;
|
|
104
|
-
barProgressSelectedColor?: string;
|
|
105
|
-
barBackgroundColor?: string;
|
|
106
|
-
barBackgroundSelectedColor?: string;
|
|
107
|
-
projectProgressColor?: string;
|
|
108
|
-
projectProgressSelectedColor?: string;
|
|
109
|
-
projectBackgroundColor?: string;
|
|
110
|
-
projectBackgroundSelectedColor?: string;
|
|
111
|
-
milestoneBackgroundColor?: string;
|
|
112
|
-
milestoneBackgroundSelectedColor?: string;
|
|
113
|
-
arrowColor?: string;
|
|
114
|
-
arrowIndent?: number;
|
|
115
|
-
todayColor?: string;
|
|
116
|
-
TooltipContent?: React.FC<{
|
|
117
|
-
task: Task;
|
|
118
|
-
fontSize: string;
|
|
119
|
-
fontFamily: string;
|
|
120
|
-
}>;
|
|
121
|
-
TaskListHeader?: React.FC<{
|
|
122
|
-
headerHeight: number;
|
|
123
|
-
rowWidth: string;
|
|
124
|
-
fontFamily: string;
|
|
125
|
-
fontSize: string;
|
|
126
|
-
}>;
|
|
127
|
-
TaskListTable?: React.FC<{
|
|
128
|
-
rowHeight: number;
|
|
129
|
-
rowWidth: string;
|
|
130
|
-
fontFamily: string;
|
|
131
|
-
fontSize: string;
|
|
132
|
-
locale: string;
|
|
133
|
-
tasks: Task[];
|
|
134
|
-
selectedTaskId: string;
|
|
135
|
-
/**
|
|
136
|
-
* Sets selected task by id
|
|
137
|
-
*/
|
|
138
|
-
setSelectedTask: (taskId: string) => void;
|
|
139
|
-
onExpanderClick: (task: Task) => void;
|
|
140
|
-
}>;
|
|
141
|
-
}
|
|
142
|
-
export interface GanttProps extends EventOption, DisplayOption, StylingOption {
|
|
143
|
-
tasks: Task[];
|
|
144
|
-
}
|
package/dist/client/utils.d.ts
DELETED
|
@@ -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
|
-
export declare const useGanttTranslation: () => import("react-i18next").UseTranslationResponse<"gantt", undefined>;
|
|
10
|
-
export declare const useOptions: (type?: string) => {
|
|
11
|
-
value: any;
|
|
12
|
-
label: any;
|
|
13
|
-
}[];
|
package/dist/externalVersion.js
DELETED
|
@@ -1,25 +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
|
-
|
|
10
|
-
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.2.13-alpha",
|
|
12
|
-
"react": "18.2.0",
|
|
13
|
-
"@formily/react": "2.3.0",
|
|
14
|
-
"@ant-design/icons": "5.2.6",
|
|
15
|
-
"@formily/antd-v5": "1.1.9",
|
|
16
|
-
"react-i18next": "11.18.6",
|
|
17
|
-
"lodash": "4.17.21",
|
|
18
|
-
"@formily/shared": "2.3.0",
|
|
19
|
-
"@nocobase/server": "1.2.13-alpha",
|
|
20
|
-
"@nocobase/test": "1.2.13-alpha",
|
|
21
|
-
"@emotion/css": "11.11.2",
|
|
22
|
-
"antd-style": "3.4.5",
|
|
23
|
-
"antd": "5.12.8",
|
|
24
|
-
"@nocobase/utils": "1.2.13-alpha"
|
|
25
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -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 * from './server';
|
|
10
|
-
export { default } from './server';
|
package/dist/index.js
DELETED
|
@@ -1,48 +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
|
-
|
|
10
|
-
var __create = Object.create;
|
|
11
|
-
var __defProp = Object.defineProperty;
|
|
12
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
-
var __export = (target, all) => {
|
|
17
|
-
for (var name in all)
|
|
18
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
-
};
|
|
20
|
-
var __copyProps = (to, from, except, desc) => {
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
-
for (let key of __getOwnPropNames(from))
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
-
}
|
|
26
|
-
return to;
|
|
27
|
-
};
|
|
28
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
-
mod
|
|
36
|
-
));
|
|
37
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
38
|
-
var src_exports = {};
|
|
39
|
-
__export(src_exports, {
|
|
40
|
-
default: () => import_server.default
|
|
41
|
-
});
|
|
42
|
-
module.exports = __toCommonJS(src_exports);
|
|
43
|
-
__reExport(src_exports, require("./server"), module.exports);
|
|
44
|
-
var import_server = __toESM(require("./server"));
|
|
45
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
-
0 && (module.exports = {
|
|
47
|
-
...require("./server")
|
|
48
|
-
});
|
package/dist/locale/en-US.json
DELETED
package/dist/locale/es-ES.json
DELETED
package/dist/locale/ko_KR.json
DELETED
package/dist/locale/pt-BR.json
DELETED
package/dist/locale/zh-CN.json
DELETED
package/dist/server/index.d.ts
DELETED
|
@@ -1,9 +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 { default } from './plugin';
|
package/dist/server/index.js
DELETED
|
@@ -1,42 +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
|
-
|
|
10
|
-
var __create = Object.create;
|
|
11
|
-
var __defProp = Object.defineProperty;
|
|
12
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
-
var __export = (target, all) => {
|
|
17
|
-
for (var name in all)
|
|
18
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
-
};
|
|
20
|
-
var __copyProps = (to, from, except, desc) => {
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
-
for (let key of __getOwnPropNames(from))
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
-
}
|
|
26
|
-
return to;
|
|
27
|
-
};
|
|
28
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
29
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
-
mod
|
|
35
|
-
));
|
|
36
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
|
-
var server_exports = {};
|
|
38
|
-
__export(server_exports, {
|
|
39
|
-
default: () => import_plugin.default
|
|
40
|
-
});
|
|
41
|
-
module.exports = __toCommonJS(server_exports);
|
|
42
|
-
var import_plugin = __toESM(require("./plugin"));
|
package/dist/server/plugin.d.ts
DELETED
|
@@ -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 { InstallOptions, Plugin } from '@nocobase/server';
|
|
10
|
-
export declare class PluginGanttServer extends Plugin {
|
|
11
|
-
afterAdd(): void;
|
|
12
|
-
beforeLoad(): void;
|
|
13
|
-
load(): Promise<void>;
|
|
14
|
-
install(options?: InstallOptions): Promise<void>;
|
|
15
|
-
afterEnable(): Promise<void>;
|
|
16
|
-
afterDisable(): Promise<void>;
|
|
17
|
-
remove(): Promise<void>;
|
|
18
|
-
}
|
|
19
|
-
export default PluginGanttServer;
|
package/dist/server/plugin.js
DELETED
|
@@ -1,54 +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
|
-
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
-
var plugin_exports = {};
|
|
28
|
-
__export(plugin_exports, {
|
|
29
|
-
PluginGanttServer: () => PluginGanttServer,
|
|
30
|
-
default: () => plugin_default
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(plugin_exports);
|
|
33
|
-
var import_server = require("@nocobase/server");
|
|
34
|
-
class PluginGanttServer extends import_server.Plugin {
|
|
35
|
-
afterAdd() {
|
|
36
|
-
}
|
|
37
|
-
beforeLoad() {
|
|
38
|
-
}
|
|
39
|
-
async load() {
|
|
40
|
-
}
|
|
41
|
-
async install(options) {
|
|
42
|
-
}
|
|
43
|
-
async afterEnable() {
|
|
44
|
-
}
|
|
45
|
-
async afterDisable() {
|
|
46
|
-
}
|
|
47
|
-
async remove() {
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
var plugin_default = PluginGanttServer;
|
|
51
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
-
0 && (module.exports = {
|
|
53
|
-
PluginGanttServer
|
|
54
|
-
});
|