@wimi/ui 0.4.24 → 0.4.25
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/dist/{en-bLek08y4.mjs → en-D9DHODOf.mjs} +1 -1
- package/dist/index-BGk5-UUo.mjs +57 -0
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/{ja-BdqYRpYp.mjs → ja-B0LpQE9K.mjs} +1 -1
- package/dist/{ko-kQ39nXvJ.mjs → ko-DcD2lr1H.mjs} +1 -1
- package/dist/{ru-CdiwRvQZ.mjs → ru-DRGM1ctn.mjs} +1 -1
- package/dist/typings/components/grid-layout/src/index.vue.d.ts +1 -1
- package/dist/typings/components/index.d.ts +0 -1
- package/dist/{zh-cn-CyRPu9HN.mjs → zh-cn-B-qtB6TY.mjs} +1 -1
- package/dist/{zh-tw-BzIsXdBw.mjs → zh-tw-B9yzvb_V.mjs} +1 -1
- package/package.json +1 -2
- package/dist/index-DUiIo7Ak.mjs +0 -57
- package/dist/typings/components/gantt/demo/basic.vue.d.ts +0 -2
- package/dist/typings/components/gantt/index.d.ts +0 -2
- package/dist/typings/components/gantt/src/event-utils.d.ts +0 -22
- package/dist/typings/components/gantt/src/gantt-config.d.ts +0 -13
- package/dist/typings/components/gantt/src/types.d.ts +0 -2
- package/dist/typings/components/gantt/src/use-gantt.d.ts +0 -14
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Gantt } from '@visactor/vtable-gantt';
|
|
2
|
-
export type EventMap = Record<string, string>;
|
|
3
|
-
export type EventHandlers = Record<string, (e: any) => void>;
|
|
4
|
-
/**
|
|
5
|
-
* 创建事件处理器
|
|
6
|
-
* @param eventMap 事件映射对象
|
|
7
|
-
* @param emit Vue emit函数
|
|
8
|
-
* @returns 事件处理器对象
|
|
9
|
-
*/
|
|
10
|
-
export declare const createEventHandlers: (eventMap: EventMap, emit: (event: string, ...args: any[]) => void) => EventHandlers;
|
|
11
|
-
/**
|
|
12
|
-
* 设置事件监听器
|
|
13
|
-
* @param ganttApi 甘特图API实例
|
|
14
|
-
* @param handlers 事件处理器对象
|
|
15
|
-
*/
|
|
16
|
-
export declare const setupEventListeners: (ganttApi: Gantt, handlers: EventHandlers) => void;
|
|
17
|
-
/**
|
|
18
|
-
* 清理事件监听器
|
|
19
|
-
* @param ganttApi 甘特图API实例
|
|
20
|
-
* @param handlers 事件处理器对象
|
|
21
|
-
*/
|
|
22
|
-
export declare const cleanupEventListeners: (ganttApi: Gantt, handlers: EventHandlers) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type GanttConstructorOptions } from '@visactor/vtable-gantt';
|
|
2
|
-
export declare const defaultGanttOptions: GanttConstructorOptions;
|
|
3
|
-
export declare const GANTT_EVENT_MAP: {
|
|
4
|
-
readonly change_date_range: "change-date-range";
|
|
5
|
-
readonly click_task_bar: "click-task-bar";
|
|
6
|
-
readonly create_task_schedule: "create-task-schedule";
|
|
7
|
-
readonly create_dependency_link: "create-dependency-link";
|
|
8
|
-
readonly click_dependency_link_point: "click-dependency-link-point";
|
|
9
|
-
readonly contextmenu_dependency_link: "contextmenu-dependency-link";
|
|
10
|
-
readonly click_marklink_create: "click-marklink-create";
|
|
11
|
-
readonly click_markline_content: "click-markline-content";
|
|
12
|
-
};
|
|
13
|
-
export declare const GANTT_COMPONENT_EVENTS: ("change-date-range" | "click-task-bar" | "create-task-schedule" | "create-dependency-link" | "click-dependency-link-point" | "contextmenu-dependency-link" | "click-marklink-create" | "click-markline-content")[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Gantt, type GanttConstructorOptions } from '@visactor/vtable-gantt';
|
|
2
|
-
import { type Reactive } from 'vue';
|
|
3
|
-
export declare const useGantt: (options: GanttConstructorOptions | Reactive<GanttConstructorOptions>) => readonly [import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change-date-range" | "click-task-bar" | "create-task-schedule" | "create-dependency-link" | "click-dependency-link-point" | "contextmenu-dependency-link" | "click-marklink-create" | "click-markline-content")[], "change-date-range" | "click-task-bar" | "create-task-schedule" | "create-dependency-link" | "click-dependency-link-point" | "contextmenu-dependency-link" | "click-marklink-create" | "click-markline-content", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
-
"onChange-date-range"?: (...args: any[]) => any;
|
|
7
|
-
"onClick-task-bar"?: (...args: any[]) => any;
|
|
8
|
-
"onCreate-task-schedule"?: (...args: any[]) => any;
|
|
9
|
-
"onCreate-dependency-link"?: (...args: any[]) => any;
|
|
10
|
-
"onClick-dependency-link-point"?: (...args: any[]) => any;
|
|
11
|
-
"onContextmenu-dependency-link"?: (...args: any[]) => any;
|
|
12
|
-
"onClick-marklink-create"?: (...args: any[]) => any;
|
|
13
|
-
"onClick-markline-content"?: (...args: any[]) => any;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").Ref<Gantt, Gantt>];
|