@punica/editor 1.0.0 → 1.0.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/dist/index.js +2 -2
- package/package.json +1 -1
- package/types/{index.d.ts → index.d.ts} +12 -2
- package/dist/impl/commands.d.ts +0 -3
- package/dist/impl/dragDrop.d.ts +0 -31
- package/dist/impl/extensions.d.ts +0 -3
- package/dist/impl/index.d.ts +0 -7
- package/dist/impl/keyboardShortcuts.d.ts +0 -3
- package/dist/impl/layout.d.ts +0 -3
- package/dist/impl/statusbar.d.ts +0 -3
- package/dist/impl/timeServer.d.ts +0 -3
- package/dist/impl/view.d.ts +0 -3
- package/dist/index.d.ts +0 -2
- package/types/punica.d.ts +0 -3
- package/types/types.d.ts +0 -7
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference path="punica.d.ts" />
|
|
2
1
|
/// <reference path="punica.module.commands.d.ts" />
|
|
3
2
|
/// <reference path="punica.module.dragDrop.d.ts" />
|
|
4
3
|
/// <reference path="punica.module.extensions.d.ts" />
|
|
@@ -7,4 +6,15 @@
|
|
|
7
6
|
/// <reference path="punica.module.statusbar.d.ts" />
|
|
8
7
|
/// <reference path="punica.module.timeServer.d.ts" />
|
|
9
8
|
/// <reference path="punica.module.view.d.ts" />
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
declare module 'punica' {
|
|
11
|
+
export const version: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
interface Window {
|
|
16
|
+
punica: typeof punica;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export declare function initiliaze(): void;
|
package/dist/impl/commands.d.ts
DELETED
package/dist/impl/dragDrop.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { DragDrop } from 'punica';
|
|
2
|
-
import { BaseListener } from '@punica/common';
|
|
3
|
-
declare const calculateMutation: (point1: DragDrop.Point, point2: DragDrop.Point) => DragDrop.Point;
|
|
4
|
-
declare const isTouchDevice: () => boolean;
|
|
5
|
-
declare const eventType: () => DragDrop.Events;
|
|
6
|
-
declare const setEventPosition: (event: MouseEvent) => DragDrop.PositionDetail;
|
|
7
|
-
declare const getTranslate: (transform: string) => DragDrop.Point;
|
|
8
|
-
declare class ServiceDragDrop extends BaseListener<DragDrop.DragDropEvents> implements DragDrop.IServiceDragDrop {
|
|
9
|
-
#private;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @param event
|
|
13
|
-
*/
|
|
14
|
-
handleDragStart: (event: MouseEvent) => void;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @param event
|
|
18
|
-
*/
|
|
19
|
-
handleDragging: (event: MouseEvent) => void;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @param event
|
|
23
|
-
*/
|
|
24
|
-
handleDragStop: (event: MouseEvent) => void;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param element
|
|
28
|
-
*/
|
|
29
|
-
constructor(element: HTMLElement);
|
|
30
|
-
}
|
|
31
|
-
export { ServiceDragDrop, calculateMutation, isTouchDevice, eventType, setEventPosition, getTranslate };
|
package/dist/impl/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { default as View } from './view';
|
|
2
|
-
export { default as Extensions } from './extensions';
|
|
3
|
-
export { default as Commands } from './commands';
|
|
4
|
-
export { default as Layout } from './layout';
|
|
5
|
-
export { default as KeyboardShortcuts } from './keyboardShortcuts';
|
|
6
|
-
export { default as TimeServer } from './timeServer';
|
|
7
|
-
export { default as Statusbar } from './statusbar';
|
package/dist/impl/layout.d.ts
DELETED
package/dist/impl/statusbar.d.ts
DELETED
package/dist/impl/view.d.ts
DELETED
package/dist/index.d.ts
DELETED
package/types/punica.d.ts
DELETED