litegui.ts 1.0.5 → 1.0.8

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.
@@ -1,7 +1,9 @@
1
- import { Tabs } from "../../tabs";
1
+ import type { Tabs } from "../../tabs";
2
+ import type { Core } from "../../core";
2
3
  declare global {
3
4
  interface Window {
4
5
  tabs?: Tabs;
6
+ LiteGUI?: Core;
5
7
  }
6
8
  }
7
9
  export interface LiteGUIObject {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/@types/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,CAAC,MAAM,CACd;IACI,UAAU,MAAM;QAEZ,IAAI,CAAC,EAAE,IAAI,CAAC;KACf;CACJ;AAED,MAAM,WAAW,aAAa;IAE1B,IAAI,EAAE,WAAW,CAAC;CACrB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/@types/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,CAAC,MAAM,CACd;IACI,UAAU,MAAM;QAEZ,IAAI,CAAC,EAAE,IAAI,CAAC;QAClB,OAAO,CAAC,EAAE,IAAI,CAAC;KACZ;CACJ;AAED,MAAM,WAAW,aAAa;IAE1B,IAAI,EAAE,WAAW,CAAC;CACrB"}
package/dist/core.d.ts CHANGED
@@ -73,6 +73,11 @@ export declare class Core {
73
73
  panels: Record<string, Panel>;
74
74
  /** Registry of open windows (popped out) */
75
75
  windows: Window[];
76
+ /**
77
+ * Returns the instance itself. This is useful for when the instance is exported as the module
78
+ * and we want to allow named imports (e.g. import { LiteGUI } from "litegui.ts").
79
+ */
80
+ get LiteGUI(): Core;
76
81
  Area: typeof Area;
77
82
  Split: typeof Split;
78
83
  Menubar: typeof Menubar;
@@ -434,5 +439,6 @@ export declare class Core {
434
439
  */
435
440
  createDropArea: typeof CreateDropArea;
436
441
  }
437
- export declare const LiteGUI: Core;
442
+ declare const CoreInstance: Core;
443
+ export { CoreInstance as LiteGUI };
438
444
  //# sourceMappingURL=core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OACA,EACC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAC/D,WAAW,EAAE,UAAU,EACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OACA,EACC,aAAa,EACb,MAAM,kBAAkB,CAAC;AAC1B,OACA,EACC,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAC7C,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,WAAW,EAC7E,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EACpE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,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ector';
3
+ export * from './core';
3
4
  export * from './area';
4
5
  export * from './console';
5
- export * from './core';
6
6
  export * from './dialog';
7
7
  export * from './dragger';
8
8
  export * from './inspector/inspector';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
package/dist/litegui.d.ts CHANGED
@@ -1,439 +1,18 @@
1
- import { Area, Split } from "./area";
2
- import { Dialog } from "./dialog";
3
- import { Menubar } from "./menubar";
4
- import { Panel } from "./panel";
5
- import { Tabs } from "./tabs";
6
- import { Button, SearchBox, ContextMenu, Checkbox, ListBox, List, Slider, ComplexList, LineEditor } from "./widgets";
7
- import { Console } from "./console";
8
- import { Tree } from "./widgets/tree";
9
- import { Inspector } from "./inspector";
10
- import { Dragger } from "./dragger";
11
- import { Table } from "./table";
12
- import { LiteGUIObject } from "./@types/globals";
13
- import { BlurElement, FocusElement, SizeToCSS, Trigger, Bind, Unbind, RemoveClass, GetById, IsCursorOverElement, GetRect, ToClipboard, AddCSS, RequireCSS, Request, RequestText, RequestJSON, RequestBinary, RequireScript, RequireScriptSerial, CreateElement, CreateListItem, CreateButton, GetParents, NewWindow, DownloadURL, DownloadFile, GetUrlVars, GetUrlVar, Draggable, CloneObject, SafeName, HTMLEncode, HTMLDecode, GetElementWindow, CreateDropArea, RemoveElement, ShowMessage, ChoiceDialog, PromptDialog, ConfirmDialog, AlertDialog, PopupDialog } from "./utilities";
14
- /**
15
- * Common HTML unicode symbols for UI icons.
16
- */
17
- export declare enum SpecialCode {
18
- /** Close icon (X) */
19
- close = "&#10005;",
20
- /** Hamburger menu icon */
21
- navicon = "&#9776;",
22
- /** Refresh arrow icon */
23
- refresh = "&#8634;",
24
- /** Gear/Settings icon */
25
- gear = "&#9881;",
26
- /** Open folder icon */
27
- openFolder = "&#128194;",
28
- /** Download icon */
29
- download = "&#11123;",
30
- /** Checkmark tick icon */
31
- tick = "&#10003;",
32
- /** Trash bin icon */
33
- trash = "&#128465;"
34
- }
35
- /**
36
- * Options to configure the LiteGUI Core initialization.
37
- */
38
- export interface CoreOptions {
39
- /** Width of the window/container */
40
- width?: number;
41
- /** Height of the window/container */
42
- height?: number;
43
- /** ID of the container element */
44
- container?: string;
45
- /** Whether to wrap the content in a root div */
46
- wrapped?: boolean;
47
- /** Whether to create a menubar automatically */
48
- menubar?: boolean;
49
- /** Callback function to be executed after initialization */
50
- callback?: () => void;
51
- }
52
- /**
53
- * Core namespace of LiteGUI library, it holds some useful functions
54
- *
55
- * @class LiteGUI
56
- */
57
- export declare class Core {
58
- /** Root element of the LiteGUI instance */
59
- root?: HTMLElement;
60
- /** Main content container */
61
- content?: HTMLElement;
62
- /** Parent container element */
63
- container?: HTMLElement;
64
- /** Reference to the main menu element */
65
- mainMenu?: HTMLElement;
66
- /** Reference to the Menubar widget */
67
- menubar?: Menubar;
68
- /** Reference to the Tabs widget */
69
- tabs?: Tabs;
70
- /** Background element for modal dialogs (overlays the screen) */
71
- modalBackground?: HTMLElement;
72
- /** Registry of active panels */
73
- panels: Record<string, Panel>;
74
- /** Registry of open windows (popped out) */
75
- windows: Window[];
76
- Area: typeof Area;
77
- Split: typeof Split;
78
- Menubar: typeof Menubar;
79
- Dialog: typeof Dialog;
80
- Panel: typeof Panel;
81
- Button: typeof Button;
82
- SearchBox: typeof SearchBox;
83
- ContextMenu: typeof ContextMenu;
84
- Checkbox: typeof Checkbox;
85
- ListBox: typeof ListBox;
86
- List: typeof List;
87
- Slider: typeof Slider;
88
- LineEditor: typeof LineEditor;
89
- ComplexList: typeof ComplexList;
90
- Tabs: typeof Tabs;
91
- Tree: typeof Tree;
92
- Console: typeof Console;
93
- Inspector: typeof Inspector;
94
- Dragger: typeof Dragger;
95
- Table: typeof Table;
96
- SpecialCode: typeof SpecialCode;
97
- /**
98
- * Initializes the LiteGUI library.
99
- * @param {CoreOptions} [options] Configuration options.
100
- */
101
- init(options?: CoreOptions): void;
102
- /**
103
- * Triggers a simple event in an object (similar to jQuery.trigger)
104
- * @param {unknown} element could be an HTMLEntity or a regular object
105
- * @param {string} eventName the type of the event
106
- * @param {unknown} params it will be stored in e.detail
107
- */
108
- trigger: typeof Trigger;
109
- /**
110
- * Binds an event in an object (similar to jQuery.bind)
111
- * If the element is not an HTML entity a new one is created, attached to the object (as non-enumerable, called __events) and used
112
- * @param {string | Object | Object[] | NodeListOf<HTMLElement>} element could be an HTMLEntity, a regular object, a query string or a regular Array of entities
113
- * @param {String} event the string defining the event
114
- * @param {EventListenerOrEventListenerObject} callback where to call
115
- */
116
- bind: typeof Bind;
117
- /**
118
- * Unbinds an event in an object (similar to jQuery.unbind)
119
- * @param {Object} element could be an HTMLEntity or a regular object
120
- * @param {String} event the string defining the event
121
- * @param {EventListenerOrEventListenerObject} callback where to call
122
- */
123
- unbind: typeof Unbind;
124
- /**
125
- * Removes a class
126
- * @param {HTMLElement} elem
127
- * @param {String} selector
128
- * @param {String} className
129
- */
130
- removeClass: typeof RemoveClass;
131
- /**
132
- * Appends litegui widget to the global interface
133
- * @param {LiteGUIObject | HTMLElement} element
134
- */
135
- add(element: LiteGUIObject | HTMLElement): void;
136
- /**
137
- * Remove from the interface, it is is an HTML element it is removed from its parent, if it is a widget the same.
138
- * @param {string | LiteGUIObject | HTMLElement | HTMLElement[] | NodeListOf<HTMLElement>} element it also supports HTMLentity, selector string or Array of elements
139
- */
140
- remove: typeof RemoveElement;
141
- /**
142
- * Wrapper of document.getElementById
143
- * @param {String} id
144
- * return {HTMLEntity}
145
- *
146
- */
147
- getById: typeof GetById;
148
- /**
149
- * Creates and attaches the main application menubar.
150
- */
151
- createMenubar(): void;
152
- /**
153
- * Sets the size of the main window.
154
- * @param {number} [w] Width in pixels.
155
- * @param {number} [h] Height in pixels.
156
- */
157
- setWindowSize(w?: number, h?: number): void;
158
- /**
159
- * Maximizes the window to fill the container.
160
- */
161
- maximizeWindow(): void;
162
- /**
163
- * Change cursor style of the root element.
164
- * @param {string} name CSS cursor property value.
165
- */
166
- setCursor(name: string): void;
167
- /**
168
- * Test if the cursor is inside an element
169
- * @param {MouseEvent} event
170
- * @param {HTMLElement} element
171
- *
172
- */
173
- isCursorOverElement: typeof IsCursorOverElement;
174
- /**
175
- * Returns the bounding client rect of an element.
176
- * @param {HTMLElement} element The element to measure.
177
- * @returns {DOMRect} The bounding rectangle.
178
- */
179
- getRect: typeof GetRect;
180
- /**
181
- * Copy a string to the clipboard (it needs to be invoqued from a click event)
182
- * @param {String | Record<string, unknown>} data
183
- */
184
- toClipboard: typeof ToClipboard;
185
- /**
186
- * Insert some CSS code to the website
187
- * @param {String|CSSStyleDeclaration} code it could be a string with CSS rules, or an object with the style syntax.
188
- *
189
- */
190
- addCSS: typeof AddCSS;
191
- /**
192
- * Requires a new CSS
193
- * @param {String} url string with url or an array with several urls
194
- * @param {Function} onComplete
195
- *
196
- */
197
- requireCSS: typeof RequireCSS;
198
- /**
199
- * Request file from url (it could be a binary, text, etc.). If you want a simplied version use
200
- * @param {RequestOptions} request object with all the parameters like data (for sending forms), dataType, success, error
201
- */
202
- request: typeof Request;
203
- /**
204
- * Request file from url
205
- * @param {String} url
206
- * @param {(data: string, xhr: XMLHttpRequest) => void} onComplete
207
- * @param {(err: string | ProgressEvent<EventTarget>) => void} onError
208
- *
209
- */
210
- requestText: typeof RequestText;
211
- /**
212
- * Request file from url
213
- * @param {String} url
214
- * @param {(data: object, xhr: XMLHttpRequest) => void} onComplete
215
- * @param {(err: string | ProgressEvent<EventTarget>) => void} onError
216
- *
217
- */
218
- requestJSON: typeof RequestJSON;
219
- /**
220
- * Request binary file from url
221
- * @param {String} url
222
- * @param {(data: ArrayBuffer | unknown, xhr: XMLHttpRequest) => void} onComplete
223
- * @param {(err: string | ProgressEvent<EventTarget>) => void} onError
224
- *
225
- */
226
- requestBinary: typeof RequestBinary;
227
- /**
228
- * Request script and inserts it in the DOM
229
- * @param {String|Array} url the url of the script or an array containing several urls
230
- * @param {(scripts: Array<CoreScriptElement>) => void} onComplete
231
- * @param {(err: string | Event, src: string, num: number) => void} onError
232
- * @param {(src: string, num: number) => void} onProgress (if several files are required, onProgress is called after every file is added to the DOM)
233
- *
234
- */
235
- requireScript: typeof RequireScript;
236
- /**
237
- * Loads scripts sequentially from a list of URLs.
238
- * @param {string | string[]} url Single URL or array of URLs to load.
239
- * @param {(loadedScripts: GlobalEventHandlers[]) => void} onComplete Callback when all scripts are loaded.
240
- * @param {(url: string, remaining: number) => void} onProgress Callback for progress updates.
241
- */
242
- requireScriptSerial: typeof RequireScriptSerial;
243
- /**
244
- * Creates a new div element with specified ID and code.
245
- * @param {string} id
246
- * @param {string} code Inner HTML content.
247
- * @returns {HTMLElement} The created div.
248
- */
249
- newDiv(id: string, code: string): import("./utilities").EmptyLiteGUIObject;
250
- /**
251
- * Creates an HTML element
252
- * @param {String} tag
253
- * @param {String} classID string containing id and classes, example: "myid .someclass .anotherclass"
254
- * @param {String} content
255
- * @param {string | CSSStyleDeclaration} [style]
256
- * @param {EventListenerOrEventListenerObject[]} [events]
257
- */
258
- createElement: typeof CreateElement;
259
- /**
260
- * Useful to create elements from a text like '<div><span class="title"></span></div>' and an object like { ".title":"mytitle" }
261
- * @param {String} code
262
- * @param {Record<string, string>} values it will use innerText in the elements that matches that selector
263
- * @param {CSSStyleDeclaration} style
264
- * @return {HTMLElement}
265
- *
266
- */
267
- createListItem: typeof CreateListItem;
268
- /**
269
- * Creates a button element
270
- * @param {String} classID ID or class
271
- * @param {String} content
272
- * @param {(ev: PointerEvent) => void} callback when the button is pressed
273
- * @param {CSSStyleDeclaration|String} style
274
- *
275
- */
276
- createButton: typeof CreateButton;
277
- /**
278
- * Retrieves all parent elements of the given element up to the document root.
279
- * @param {HTMLElement} element The starting element.
280
- * @returns {HTMLElement[]} Array of parent elements.
281
- */
282
- getParents: typeof GetParents;
283
- /**
284
- * Opens a new window with copied styles and optional scripts.
285
- * @param {string} title syntax title for the new window.
286
- * @param {number} width Width of the window.
287
- * @param {number} height Height of the window.
288
- * @param {{ scripts?: boolean, content?: string }} [options] Configuration object.
289
- * @param {boolean} [options.scripts] Whether to copy scripts to the new window.
290
- * @param {string} [options.content] HTML content to inject into the new window.
291
- * @returns {Window} The newly created window object.
292
- */
293
- newWindow: typeof NewWindow;
294
- /**
295
- * Shows or hides the modal background overlay.
296
- * @param {boolean} value True to show, false to hide.
297
- */
298
- showModalBackground(value: boolean): void;
299
- /**
300
- * Shows a generic message dialog.
301
- * @param {string} content The message content.
302
- * @param {DialogOptions} [options] Configuration options.
303
- * @returns {Dialog} The created Dialog instance.
304
- */
305
- showMessage: typeof ShowMessage;
306
- /**
307
- * Shows a dialog with a message
308
- * @param {String} content
309
- * @param {DialogOptions} [options]
310
- * @returns {Dialog}
311
- */
312
- popup: typeof PopupDialog;
313
- /**
314
- * Shows an alert dialog with a message
315
- * @param {String} content
316
- * @param {MessageOptions} [options]
317
- * @returns {Dialog}
318
- */
319
- alert: typeof AlertDialog;
320
- /**
321
- * Shows a confirm dialog with a message
322
- * @param {String} content
323
- * @param {(value: boolean) => void} callback
324
- * @param {MessageOptions} [options]
325
- * @returns {Dialog}
326
- */
327
- confirm: typeof ConfirmDialog;
328
- /**
329
- * Shows a prompt dialog with a message
330
- * @param {String} content
331
- * @param {(value?: string) => void} callback
332
- * @param {MessageOptions} [options]
333
- * @returns {Dialog}
334
- */
335
- prompt: typeof PromptDialog;
336
- /**
337
- * Shows a choice dialog with a message
338
- * @param {String} content
339
- * @param {Array<string|ContentHolder>} choices
340
- * @param {(value: string | ContentHolder) => void} callback
341
- * @param {MessageOptions} [options]
342
- * @returns {Dialog}
343
- */
344
- choice: typeof ChoiceDialog;
345
- /**
346
- * Triggers a download of the resource at the specified URL.
347
- * @param {string} url The URL of the resource to download.
348
- * @param {string} filename The name to save the file as.
349
- */
350
- downloadURL: typeof DownloadURL;
351
- /**
352
- * Triggers a download of a File or Blob object.
353
- * @param {string} filename The name to save the file as.
354
- * @param {File | Blob} data The file data.
355
- * @param {string} dataType MIME type of the data if not specified in the Blob.
356
- */
357
- downloadFile: typeof DownloadFile;
358
- /**
359
- * Returns the URL vars ( ?foo=faa&foo2=etc )
360
- *
361
- */
362
- getUrlVars: typeof GetUrlVars;
363
- /**
364
- * Retrieves a specific query parameter from the URL.
365
- * @param {string} name The name of the parameter.
366
- * @returns {string} The value of the parameter.
367
- */
368
- getUrlVar: typeof GetUrlVar;
369
- /**
370
- * Focuses an element.
371
- * @param {HTMLElement | Window} element The element to focus.
372
- */
373
- focus: typeof FocusElement;
374
- /**
375
- * Blurs an element.
376
- * @param {HTMLElement | Window} element The element to blur.
377
- */
378
- blur: typeof BlurElement;
379
- /**
380
- * Makes one element draggable
381
- * @param {HTMLElement} container the element that will be dragged
382
- * @param {HTMLElement} dragger the area to start the dragging
383
- * @param {(container: HTMLElement, e: MouseEvent) => void} onStart Callback when the dragging starts.
384
- * @param {(container: HTMLElement, e: MouseEvent) => void} onFinish Callback when the dragging finishes.
385
- * @param {(container: HTMLElement, e: MouseEvent) => boolean} onIsDraggable Callback to determine if the element is currently draggable.
386
- */
387
- draggable: typeof Draggable;
388
- /**
389
- * Clones object content
390
- * @param {Object} source
391
- * @param {Object} target
392
- *
393
- */
394
- cloneObject: typeof CloneObject;
395
- /**
396
- * Removing spaces and dots from a string.
397
- * @param {string} str The input string.
398
- * @returns {string} The sanitized string.
399
- */
400
- safeName: typeof SafeName;
401
- /**
402
- * Encodes an HTML string by replacing special characters with unicode.
403
- * @param {string} htmlCode The HTML string to encode.
404
- * @returns {string} The encoded string (text content).
405
- */
406
- htmlEncode: typeof HTMLEncode;
407
- /**
408
- * Decodes a unicode string back to HTML.
409
- * @param {string} unicodeCharacter The string to decode.
410
- * @returns {string} The decoded HTML string.
411
- */
412
- htmlDecode: typeof HTMLDecode;
413
- /**
414
- * Convert sizes in any format to a valid CSS format (number to string, negative number to calc( 100% - number px )
415
- * @param {string|Number} value
416
- * @return {string|undefined} valid css size string
417
- *
418
- */
419
- sizeToCSS: typeof SizeToCSS;
420
- /**
421
- * Returns the window where this element is attached (used in multi window applications)
422
- * @param {HTMLElement} element
423
- * @return {Window} the window element
424
- *
425
- */
426
- getElementWindow: typeof GetElementWindow;
427
- /**
428
- * Helper, makes drag and drop easier by enabling drag and drop in a given element
429
- * @param {HTMLElement} element the element where users could drop items
430
- * @param {(evt: DragEvent) => boolean} onDrop function to call when the user drops the item
431
- * @param {(evt: DragEvent, element: HTMLElement) => void} onEnter [optional] function to call when the user drags something inside
432
- * @param {(evt: DragEvent, element: HTMLElement) => void} onExit [optional] function to call when the user drags something outside
433
- *
434
- */
435
- createDropArea: typeof CreateDropArea;
436
- }
437
- export declare const LiteGUI: Core;
1
+ export * from './@types/globals';
2
+ export * from './@types/Inspector';
3
+ export * from './core';
4
+ export * from './area';
5
+ export * from './console';
6
+ export * from './dialog';
7
+ export * from './dragger';
8
+ export * from './inspector/inspector';
9
+ export * from './inspector';
10
+ export * from './menubar';
11
+ export * from './panel';
12
+ export * from './table';
13
+ export * from './tabs';
14
+ export * from './utilities';
15
+ export * from './widgets/tree';
16
+ export * from './widgets';
438
17
  export as namespace LiteGUI;
439
18
  //# sourceMappingURL=litegui.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"litegui.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OACA,EACC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAC/D,WAAW,EAAE,UAAU,EACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OACA,EACC,aAAa,EACb,MAAM,kBAAkB,CAAC;AAC1B,OACA,EACC,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAC7C,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,mBAAmB,EAAE,O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