@tachybase/plugin-block-gantt 0.23.8
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/.turbo/turbo-build.log +14 -0
- package/LICENSE +201 -0
- package/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/Gantt.Designer.d.ts +2 -0
- package/dist/client/Gantt.Settings.d.ts +2 -0
- package/dist/client/GanttActionInitializers.d.ts +2 -0
- package/dist/client/GanttBlockInitializer.d.ts +2 -0
- package/dist/client/GanttBlockProvider.d.ts +11 -0
- package/dist/client/components/calendar/calendar.d.ts +14 -0
- package/dist/client/components/calendar/style.d.ts +5 -0
- package/dist/client/components/calendar/top-part-of-calendar.d.ts +11 -0
- package/dist/client/components/gantt/Event.d.ts +2 -0
- package/dist/client/components/gantt/gantt.d.ts +5 -0
- package/dist/client/components/gantt/style.d.ts +6 -0
- package/dist/client/components/gantt/task-gantt-content.d.ts +25 -0
- package/dist/client/components/gantt/task-gantt.d.ts +14 -0
- package/dist/client/components/grid/grid-body.d.ts +13 -0
- package/dist/client/components/grid/grid.d.ts +4 -0
- package/dist/client/components/grid/style.d.ts +6 -0
- package/dist/client/components/other/arrow.d.ts +12 -0
- package/dist/client/components/other/horizontal-scroll.d.ts +8 -0
- package/dist/client/components/other/style.d.ts +8 -0
- package/dist/client/components/other/tooltip.d.ts +29 -0
- package/dist/client/components/other/vertical-scroll.d.ts +9 -0
- package/dist/client/components/task-item/bar/bar-date-handle.d.ts +11 -0
- package/dist/client/components/task-item/bar/bar-display.d.ts +21 -0
- package/dist/client/components/task-item/bar/bar-progress-handle.d.ts +7 -0
- package/dist/client/components/task-item/bar/bar-small.d.ts +3 -0
- package/dist/client/components/task-item/bar/bar.d.ts +3 -0
- package/dist/client/components/task-item/bar/style.d.ts +2 -0
- package/dist/client/components/task-item/milestone/milestone.d.ts +3 -0
- package/dist/client/components/task-item/milestone/style.d.ts +2 -0
- package/dist/client/components/task-item/project/project.d.ts +3 -0
- package/dist/client/components/task-item/project/style.d.ts +3 -0
- package/dist/client/components/task-item/style.d.ts +4 -0
- package/dist/client/components/task-item/task-item.d.ts +15 -0
- package/dist/client/context.d.ts +2 -0
- package/dist/client/createGanttBlockUISchema.d.ts +6 -0
- package/dist/client/helpers/bar-helper.d.ts +14 -0
- package/dist/client/helpers/date-helper.d.ts +16 -0
- package/dist/client/helpers/other-helper.d.ts +8 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client/index.js +244 -0
- package/dist/client/types/bar-task.d.ts +22 -0
- package/dist/client/types/date-setup.d.ts +5 -0
- package/dist/client/types/gantt-task-actions.d.ts +8 -0
- package/dist/client/types/public-types.d.ts +135 -0
- package/dist/client/utils.d.ts +5 -0
- package/dist/externalVersion.js +13 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/locale/en-US.json +6 -0
- package/dist/locale/es-ES.json +7 -0
- package/dist/locale/ko_KR.json +7 -0
- package/dist/locale/pt-BR.json +5 -0
- package/dist/locale/zh-CN.json +7 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +33 -0
- package/dist/server/plugin.d.ts +11 -0
- package/dist/server/plugin.js +45 -0
- package/package.json +31 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './plugin';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var server_exports = {};
|
|
29
|
+
__export(server_exports, {
|
|
30
|
+
default: () => import_plugin.default
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(server_exports);
|
|
33
|
+
var import_plugin = __toESM(require("./plugin"));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InstallOptions, Plugin } from '@tachybase/server';
|
|
2
|
+
export declare class PluginGanttServer extends Plugin {
|
|
3
|
+
afterAdd(): void;
|
|
4
|
+
beforeLoad(): void;
|
|
5
|
+
load(): Promise<void>;
|
|
6
|
+
install(options?: InstallOptions): Promise<void>;
|
|
7
|
+
afterEnable(): Promise<void>;
|
|
8
|
+
afterDisable(): Promise<void>;
|
|
9
|
+
remove(): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export default PluginGanttServer;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var plugin_exports = {};
|
|
19
|
+
__export(plugin_exports, {
|
|
20
|
+
PluginGanttServer: () => PluginGanttServer,
|
|
21
|
+
default: () => plugin_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(plugin_exports);
|
|
24
|
+
var import_server = require("@tachybase/server");
|
|
25
|
+
class PluginGanttServer extends import_server.Plugin {
|
|
26
|
+
afterAdd() {
|
|
27
|
+
}
|
|
28
|
+
beforeLoad() {
|
|
29
|
+
}
|
|
30
|
+
async load() {
|
|
31
|
+
}
|
|
32
|
+
async install(options) {
|
|
33
|
+
}
|
|
34
|
+
async afterEnable() {
|
|
35
|
+
}
|
|
36
|
+
async afterDisable() {
|
|
37
|
+
}
|
|
38
|
+
async remove() {
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
var plugin_default = PluginGanttServer;
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
PluginGanttServer
|
|
45
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tachybase/plugin-block-gantt",
|
|
3
|
+
"displayName": "Block: Gantt",
|
|
4
|
+
"version": "0.23.8",
|
|
5
|
+
"description": "Provides Gantt block.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"Blocks"
|
|
8
|
+
],
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"main": "dist/server/index.js",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@ant-design/icons": "^5.5.2",
|
|
13
|
+
"@ctrl/tinycolor": "^3.6.1",
|
|
14
|
+
"antd": "5.22.5",
|
|
15
|
+
"lodash": "4.17.21",
|
|
16
|
+
"react-i18next": "^15.2.0",
|
|
17
|
+
"@tachybase/schema": "0.23.8",
|
|
18
|
+
"@tachybase/components": "0.23.8"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@tachybase/client": "0.23.8",
|
|
22
|
+
"@tachybase/server": "0.23.8",
|
|
23
|
+
"@tachybase/test": "0.23.8",
|
|
24
|
+
"@tachybase/utils": "0.23.8"
|
|
25
|
+
},
|
|
26
|
+
"description.zh-CN": "提供甘特图卡片。",
|
|
27
|
+
"displayName.zh-CN": "卡片:甘特图",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tachybase-build --no-dts @tachybase/plugin-block-gantt"
|
|
30
|
+
}
|
|
31
|
+
}
|
package/server.d.ts
ADDED
package/server.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/server/index.js');
|