Skip to content

Commit 4037b62

Browse files
Merge pull request #4296 from IgorA100/patch-4
Chore: Update gridstack to v11.1.2
2 parents de6a754 + b5a199e commit 4037b62

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+803
-605
lines changed

web/skins/classic/assets/gridstack/dist/dd-base-impl.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* dd-base-impl.ts 10.1.2
3-
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
2+
* dd-base-impl.ts 11.1.2
3+
* Copyright (c) 2021-2024 Alain Dumesny - see GridStack root license
44
*/
55
export type EventCallback = (event: Event) => boolean | void;
66
export declare abstract class DDBaseImplement {

web/skins/classic/assets/gridstack/dist/dd-base-impl.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/skins/classic/assets/gridstack/dist/dd-base-impl.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
11
/**
2-
* dd-draggable.ts 10.1.2
3-
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license
2+
* dd-draggable.ts 11.1.2
3+
* Copyright (c) 2021-2024 Alain Dumesny - see GridStack root license
44
*/
55
import { DDBaseImplement, HTMLElementExtendOpt } from './dd-base-impl';
6-
import { DDUIData } from './types';
7-
export interface DDDraggableOpt {
8-
appendTo?: string | HTMLElement;
9-
handle?: string;
10-
helper?: 'clone' | HTMLElement | ((event: Event) => HTMLElement);
11-
cancel?: string;
12-
start?: (event: Event, ui: DDUIData) => void;
13-
stop?: (event: Event) => void;
14-
drag?: (event: Event, ui: DDUIData) => void;
15-
}
6+
import { GridItemHTMLElement, DDDragOpt } from './types';
167
type DDDragEvent = 'drag' | 'dragstart' | 'dragstop';
17-
export declare class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt<DDDraggableOpt> {
18-
el: HTMLElement;
19-
option: DDDraggableOpt;
8+
export declare class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt<DDDragOpt> {
9+
el: GridItemHTMLElement;
10+
option: DDDragOpt;
2011
helper: HTMLElement;
21-
constructor(el: HTMLElement, option?: DDDraggableOpt);
12+
constructor(el: GridItemHTMLElement, option?: DDDragOpt);
2213
on(event: DDDragEvent, callback: (event: DragEvent) => void): void;
2314
off(event: DDDragEvent): void;
2415
enable(): void;
2516
disable(forDestroy?: boolean): void;
2617
destroy(): void;
27-
updateOption(opts: DDDraggableOpt): DDDraggable;
18+
updateOption(opts: DDDragOpt): DDDraggable;
2819
}
2920
export {};

0 commit comments

Comments
 (0)