123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- interface DraggableEventUIParam {
- helper: JQuery;
- position: { top: number; left: number; };
- offset: { top: number; left: number; };
- }
- interface DraggableEvent {
- (event: Event, ui: DraggableEventUIParam): void;
- }
- interface Draggable {
-
- disabled?: boolean;
- addClasses?: boolean;
- appendTo?: any;
- axis?: string;
- cancel?: string;
- connectToSortable?: string;
- containment?: any;
- cursor?: string;
- cursorAt?: any;
- delay?: number;
- distance?: number;
- grid?: number[];
- handle?: any;
- helper?: any;
- iframeFix?: any;
- opacity?: number;
- refreshPositions?: boolean;
- revert?: any;
- revertDuration?: number;
- scope?: string;
- scroll?: boolean;
- scrollSensitivity?: number;
- scrollSpeed?: number;
- snap?: any;
- snapMode?: string;
- snapTolerance?: number;
- stack?: string;
- zIndex?: number;
-
- create?: DraggableEvent;
- start?: DraggableEvent;
- drag?: DraggableEvent;
- stop?: DraggableEvent;
- }
- interface DroppableEventUIParam {
- draggable: JQuery;
- helper: JQuery;
- position: { top: number; left: number; };
- offset: { top: number; left: number; };
- }
- interface DroppableEvent {
- (event: Event, ui: DroppableEventUIParam): void;
- }
- interface Droppable {
-
- disabled?: boolean;
- accept?: any;
- activeClass?: string;
- greedy?: boolean;
- hoverClass?: string;
- scope?: string;
- tolerance?: string;
-
- create?: DroppableEvent;
- activate?: DroppableEvent;
- deactivate?: DroppableEvent;
- over?: DroppableEvent;
- out?: DroppableEvent;
- drop?: DroppableEvent;
- }
- interface ResizableEvent {
- (event: Event, ui: DroppableEventUIParam): void;
- }
- interface Resizable {
-
- alsoResize?: string;
- animate?: boolean;
- animateDuration?: number | string;
- animateEasing?: string;
- aspectRatio?: boolean | number;
- autoHide?: boolean;
- cancel?: string;
- classes?: Object;
- containment?: Element | string;
- delay?: number;
- disabled?: boolean;
- distance?: number;
- ghost?: boolean;
- grid?: Array<number>;
- handles?: string | Object;
- helper?: string;
- maxHeight?: number;
- maxWidth?: number;
- minHeight?: number;
- minWidth?: number;
-
- destroy?(): JQuery;
- disable?(): JQuery;
- enable?(): JQuery;
- instance?(): Object;
- option?(): any;
- option?(optionName: string): Object;
- option?(optionName: string, value: Object): JQuery;
- option?(options: Object): JQuery;
- widget?(): JQuery;
-
- create?: ResizableEvent;
- activate?: ResizableEvent;
- deactivate?: ResizableEvent;
- over?: ResizableEvent;
- out?: ResizableEvent;
- drop?: ResizableEvent;
- }
- interface Sortable {
-
- appendTo?: JQuery | Element | String;
- axis?: String;
- cancel?: String;
- classes?: Object;
- connectWith?: String;
- containment?: Element | string;
- cursor?: string;
- cursorAt?: string;
- delay?: number;
- disabled?: boolean;
- distance?: number;
- dropOnEmpty?: boolean;
- forceHelperSize?: boolean;
- forcePlaceholderSize?: boolean;
- grid?: Array<number>;
- handle?: string | Element;
- helper?: string;
- items?: String;
- opacity?: number;
- placeholder?: String;
- revert?: boolean | number;
- scroll?: boolean;
- scrollSensitivity?: number;
- scrollSpeed?: number;
- tolerance?: string;
- zIndex?: number;
-
- destroy?(): JQuery;
- disable?(): JQuery;
- enable?(): JQuery;
- instance?(): Object;
- option?(): any;
- option?(optionName: string): Object;
- option?(optionName: string, value: Object): JQuery;
- option?(options: Object): JQuery;
- widget?(): JQuery;
-
- create?: ResizableEvent;
- activate?: ResizableEvent;
- deactivate?: ResizableEvent;
- over?: ResizableEvent;
- out?: ResizableEvent;
- drop?: ResizableEvent;
- }
- interface Accordion {
-
- active?: Boolean | number;
- animate?: Boolean | Number | String | Object;
- classes?: Object;
- collapsible?: boolean;
- disabled?: boolean;
- event?: string;
- header?: String;
- heightStyle?: String;
- icons?: any;
-
- destroy?(): JQuery;
- disable?(): JQuery;
- enable?(): JQuery;
- instance?(): Object;
- option?(): any;
- option?(optionName: string): Object;
- option?(optionName: string, value: Object): JQuery;
- option?(options: Object): JQuery;
- refresh?(): JQuery;
- widget?(): JQuery;
-
- activate?: ResizableEvent;
- create?: ResizableEvent;
- }
- interface JQuery {
-
- draggable(options: Draggable): JQuery;
- draggable(optionLiteral: string, options: Draggable): JQuery;
- draggable(optionLiteral: string, optionName: string, optionValue: any): JQuery;
- draggable(optionLiteral: string, optionName: string): any;
-
- droppable(options: Droppable): JQuery;
- droppable(optionLiteral: string, options: Draggable): JQuery;
- droppable(optionLiteral: string, optionName: string, optionValue: any): JQuery;
- droppable(optionLiteral: string, optionName: string): any;
- droppable(methodName: string): any;
-
- resizable(options: Resizable): JQuery;
- resizable(optionLiteral: string, options: Resizable): JQuery;
- resizable(optionLiteral: string, optionName: string, optionValue: any): JQuery;
- resizable(optionLiteral: string, optionName: string): any;
-
- sortable(options: Sortable): JQuery;
- sortable(optionLiteral: string, options: Sortable): JQuery;
- sortable(optionLiteral: string, optionName: string, optionValue: any): JQuery;
- sortable(optionLiteral: string, optionName: string): any;
-
- accordion(options: Accordion): JQuery;
- accordion(optionLiteral: string, options: Accordion): JQuery;
- soraccordiontable(optionLiteral: string, optionName: string, optionValue: any): JQuery;
- accordion(optionLiteral: string, optionName: string): any;
- }
|