@nocobase/plugin-gantt 2.1.0-beta.9 → 2.2.0-beta.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.
- package/client-v2.d.ts +2 -0
- package/client-v2.js +3 -0
- package/dist/client/GanttBlockProvider.d.ts +1 -0
- package/dist/client/components/gantt/task-gantt-content.d.ts +1 -0
- package/dist/client/helpers/other-helper.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-v2/416.b7bb09162520e448.js +10 -0
- package/dist/client-v2/617.de3dc437887f3f07.js +10 -0
- package/dist/client-v2/793.936fecf766e91381.js +10 -0
- package/dist/client-v2/872.e640aca77c79d895.js +10 -0
- package/dist/client-v2/index.d.ts +10 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/client-v2/locale.d.ts +86 -0
- package/dist/client-v2/models/GanttBlockModel.d.ts +99 -0
- package/dist/client-v2/models/GanttBlockModel.helpers.d.ts +31 -0
- package/dist/client-v2/models/GanttBlockModel.settings.d.ts +9 -0
- package/dist/client-v2/models/actions/GanttActionModels.d.ts +33 -0
- package/dist/client-v2/models/actions/GanttPopupModels.d.ts +26 -0
- package/dist/client-v2/models/components/GanttBlock.d.ts +13 -0
- package/dist/client-v2/models/components/GanttBlock.helpers.d.ts +30 -0
- package/dist/client-v2/models/components/GanttBlock.styles.d.ts +23 -0
- package/dist/client-v2/models/components/GanttBlock.tree.d.ts +49 -0
- package/dist/client-v2/models/components/getLabelFormatValue.d.ts +11 -0
- package/dist/client-v2/models/index.d.ts +11 -0
- package/dist/client-v2/plugin.d.ts +13 -0
- package/dist/client-v2/shared/components/calendar/calendar.d.ts +22 -0
- package/dist/client-v2/shared/components/calendar/style.d.ts +14 -0
- package/dist/client-v2/shared/components/calendar/top-part-of-calendar.d.ts +19 -0
- package/dist/client-v2/shared/components/gantt/style.d.ts +14 -0
- package/dist/client-v2/shared/components/gantt/task-gantt-content.d.ts +35 -0
- package/dist/client-v2/shared/components/gantt/task-gantt.d.ts +24 -0
- package/dist/client-v2/shared/components/grid/grid-body.d.ts +21 -0
- package/dist/client-v2/shared/components/grid/grid.d.ts +12 -0
- package/dist/client-v2/shared/components/grid/style.d.ts +15 -0
- package/dist/client-v2/shared/components/other/arrow.d.ts +20 -0
- package/dist/client-v2/shared/components/other/horizontal-scroll.d.ts +16 -0
- package/dist/client-v2/shared/components/other/style.d.ts +16 -0
- package/dist/client-v2/shared/components/other/tooltip.d.ts +53 -0
- package/dist/client-v2/shared/components/other/vertical-scroll.d.ts +17 -0
- package/dist/client-v2/shared/components/task-item/bar/bar-date-handle.d.ts +19 -0
- package/dist/client-v2/shared/components/task-item/bar/bar-display.d.ts +29 -0
- package/dist/client-v2/shared/components/task-item/bar/bar-progress-handle.d.ts +15 -0
- package/dist/client-v2/shared/components/task-item/bar/bar-small.d.ts +11 -0
- package/dist/client-v2/shared/components/task-item/bar/bar.d.ts +11 -0
- package/dist/client-v2/shared/components/task-item/bar/style.d.ts +10 -0
- package/dist/client-v2/shared/components/task-item/milestone/milestone.d.ts +11 -0
- package/dist/client-v2/shared/components/task-item/milestone/style.d.ts +10 -0
- package/dist/client-v2/shared/components/task-item/project/project.d.ts +11 -0
- package/dist/client-v2/shared/components/task-item/project/style.d.ts +11 -0
- package/dist/client-v2/shared/components/task-item/style.d.ts +12 -0
- package/dist/client-v2/shared/components/task-item/task-item.d.ts +23 -0
- package/dist/client-v2/shared/helpers/bar-helper.d.ts +22 -0
- package/dist/client-v2/shared/helpers/date-helper.d.ts +27 -0
- package/dist/client-v2/shared/helpers/other-helper.d.ts +17 -0
- package/dist/client-v2/shared/types/bar-task.d.ts +30 -0
- package/dist/client-v2/shared/types/date-setup.d.ts +13 -0
- package/dist/client-v2/shared/types/gantt-task-actions.d.ts +16 -0
- package/dist/client-v2/shared/types/public-types.d.ts +145 -0
- package/dist/externalVersion.js +8 -7
- package/dist/locale/de-DE.json +4 -1
- package/dist/locale/en-US.json +31 -2
- package/dist/locale/es-ES.json +4 -1
- package/dist/locale/fr-FR.json +4 -1
- package/dist/locale/hu-HU.json +4 -1
- package/dist/locale/id-ID.json +4 -1
- package/dist/locale/it-IT.json +4 -1
- package/dist/locale/ja-JP.json +4 -1
- package/dist/locale/ko-KR.json +4 -1
- package/dist/locale/nl-NL.json +4 -1
- package/dist/locale/pt-BR.json +4 -1
- package/dist/locale/ru-RU.json +4 -1
- package/dist/locale/tr-TR.json +4 -1
- package/dist/locale/uk-UA.json +4 -1
- package/dist/locale/vi-VN.json +4 -1
- package/dist/locale/zh-CN.json +31 -2
- package/dist/locale/zh-TW.json +6 -1
- package/package.json +3 -2
package/client-v2.d.ts
ADDED
package/client-v2.js
ADDED
|
@@ -13,6 +13,7 @@ export declare const useGanttBlockContext: () => any;
|
|
|
13
13
|
export declare const useGanttBlockProps: () => {
|
|
14
14
|
fieldNames: any;
|
|
15
15
|
timeRange: any;
|
|
16
|
+
enableDragToReschedule: any;
|
|
16
17
|
onExpanderClick: (task: any) => void;
|
|
17
18
|
expandAndCollapseAll: (flag: any) => void;
|
|
18
19
|
tasks: any;
|
|
@@ -30,5 +30,6 @@ export type TaskGanttContentProps = {
|
|
|
30
30
|
setFailedTask: (value: BarTask | null) => void;
|
|
31
31
|
setSelectedTask: (taskId: string) => void;
|
|
32
32
|
loading?: boolean;
|
|
33
|
+
enableDragToReschedule?: boolean;
|
|
33
34
|
} & EventOption;
|
|
34
35
|
export declare const TaskGanttContent: React.FC<TaskGanttContentProps>;
|
|
@@ -13,5 +13,5 @@ export declare function isKeyboardEvent(event: React.MouseEvent | React.Keyboard
|
|
|
13
13
|
export declare function isMouseEvent(event: React.MouseEvent | React.KeyboardEvent | React.FocusEvent): event is React.MouseEvent;
|
|
14
14
|
export declare function isBarTask(task: Task | BarTask): task is BarTask;
|
|
15
15
|
export declare function removeHiddenTasks(tasks: Task[]): Task[];
|
|
16
|
-
export declare const sortTasks: (taskA: Task, taskB: Task) =>
|
|
16
|
+
export declare const sortTasks: (taskA: Task, taskB: Task) => 1 | 0 | -1;
|
|
17
17
|
export declare const getYmd: (date: Date) => string | 0;
|