lexgui 8.1.2 → 8.2.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.
Files changed (65) hide show
  1. package/build/components/AlertDialog.d.ts +7 -7
  2. package/build/components/Avatar.d.ts +15 -0
  3. package/build/components/Counter.d.ts +9 -9
  4. package/build/components/Dialog.d.ts +20 -20
  5. package/build/components/Footer.d.ts +14 -14
  6. package/build/components/Menubar.d.ts +59 -59
  7. package/build/components/NodeTree.d.ts +26 -1
  8. package/build/components/Vector.d.ts +1 -0
  9. package/build/core/Area.d.ts +143 -143
  10. package/build/core/Event.d.ts +0 -20
  11. package/build/core/Namespace.js +1 -1
  12. package/build/core/Namespace.js.map +1 -1
  13. package/build/core/Panel.d.ts +538 -538
  14. package/build/extensions/AssetView.d.ts +137 -136
  15. package/build/extensions/AssetView.js +193 -155
  16. package/build/extensions/AssetView.js.map +1 -1
  17. package/build/extensions/Audio.js +163 -163
  18. package/build/extensions/Audio.js.map +1 -1
  19. package/build/extensions/CodeEditor.d.ts +358 -350
  20. package/build/extensions/CodeEditor.js +302 -270
  21. package/build/extensions/CodeEditor.js.map +1 -1
  22. package/build/extensions/DocMaker.d.ts +27 -27
  23. package/build/extensions/DocMaker.js +15 -11
  24. package/build/extensions/DocMaker.js.map +1 -1
  25. package/build/extensions/GraphEditor.js +2754 -2760
  26. package/build/extensions/GraphEditor.js.map +1 -1
  27. package/build/extensions/ImUi.js +227 -227
  28. package/build/extensions/Timeline.d.ts +668 -670
  29. package/build/extensions/Timeline.js +71 -79
  30. package/build/extensions/Timeline.js.map +1 -1
  31. package/build/extensions/VideoEditor.d.ts +38 -16
  32. package/build/extensions/VideoEditor.js +294 -180
  33. package/build/extensions/VideoEditor.js.map +1 -1
  34. package/build/extensions/index.d.ts +8 -8
  35. package/build/extensions/index.js +10 -10
  36. package/build/index.all.d.ts +2 -2
  37. package/build/index.css.d.ts +3 -4
  38. package/build/index.d.ts +57 -56
  39. package/build/lexgui.all.js +1877 -1520
  40. package/build/lexgui.all.js.map +1 -1
  41. package/build/lexgui.all.min.js +1 -1
  42. package/build/lexgui.all.module.js +1875 -1516
  43. package/build/lexgui.all.module.js.map +1 -1
  44. package/build/lexgui.all.module.min.js +1 -1
  45. package/build/lexgui.css +6123 -5556
  46. package/build/lexgui.js +997 -814
  47. package/build/lexgui.js.map +1 -1
  48. package/build/lexgui.min.css +2 -3
  49. package/build/lexgui.min.js +1 -1
  50. package/build/lexgui.module.js +995 -810
  51. package/build/lexgui.module.js.map +1 -1
  52. package/build/lexgui.module.min.js +1 -1
  53. package/changelog.md +65 -2
  54. package/demo.js +167 -65
  55. package/examples/all-components.html +40 -55
  56. package/examples/asset-view.html +27 -0
  57. package/examples/code-editor.html +12 -1
  58. package/examples/dialogs.html +13 -2
  59. package/examples/editor.html +9 -49
  60. package/examples/index.html +2 -2
  61. package/examples/side-bar.html +1 -1
  62. package/examples/timeline.html +2 -2
  63. package/examples/video-editor.html +1 -1
  64. package/examples/video-editor2.html +2 -2
  65. package/package.json +7 -4
@@ -1,7 +1,7 @@
1
- import { Dialog } from './Dialog';
2
- /**
3
- * @class AlertDialog
4
- */
5
- export declare class AlertDialog extends Dialog {
6
- constructor(title: string, message: string, callback: any, options?: any);
7
- }
1
+ import { Dialog } from './Dialog';
2
+ /**
3
+ * @class AlertDialog
4
+ */
5
+ export declare class AlertDialog extends Dialog {
6
+ constructor(title: string, message: string, callback: any, options?: any);
7
+ }
@@ -0,0 +1,15 @@
1
+ interface AvatarDesc {
2
+ className?: string;
3
+ imgSource?: string;
4
+ imgAlt?: string;
5
+ imgClass?: string;
6
+ fallback?: string;
7
+ fallbackClass?: string;
8
+ }
9
+ export declare class Avatar {
10
+ root: HTMLElement;
11
+ imageElement: HTMLImageElement | undefined;
12
+ fallbackElement: string | undefined;
13
+ constructor(desc: AvatarDesc);
14
+ }
15
+ export {};
@@ -1,9 +1,9 @@
1
- import { BaseComponent } from './BaseComponent';
2
- /**
3
- * @class Counter
4
- * @description Counter Component
5
- */
6
- export declare class Counter extends BaseComponent {
7
- count: number;
8
- constructor(name: string, value: number, callback: any, options?: any);
9
- }
1
+ import { BaseComponent } from './BaseComponent';
2
+ /**
3
+ * @class Counter
4
+ * @description Counter Component
5
+ */
6
+ export declare class Counter extends BaseComponent {
7
+ count: number;
8
+ constructor(name: string, value: number, callback: any, options?: any);
9
+ }
@@ -1,20 +1,20 @@
1
- import { Panel } from '../core/Panel';
2
- /**
3
- * @class Dialog
4
- */
5
- export declare class Dialog {
6
- static _last_id: number;
7
- id: string;
8
- root: HTMLDialogElement;
9
- panel: Panel;
10
- title: HTMLDivElement;
11
- size: any[];
12
- branchData: any;
13
- close: () => void;
14
- _oncreate: any;
15
- constructor(title?: string, callback?: any, options?: any);
16
- destroy(): void;
17
- refresh(): void;
18
- setPosition(x: number, y: number): void;
19
- setTitle(title: string): void;
20
- }
1
+ import { Panel } from '../core/Panel';
2
+ /**
3
+ * @class Dialog
4
+ */
5
+ export declare class Dialog {
6
+ static _last_id: number;
7
+ id: string;
8
+ root: HTMLDialogElement;
9
+ panel: Panel;
10
+ title: HTMLDivElement;
11
+ size: any[];
12
+ branchData: any;
13
+ close: () => void;
14
+ _oncreate: any;
15
+ constructor(title?: string, callback?: any, options?: any);
16
+ destroy(): void;
17
+ refresh(): void;
18
+ setPosition(x: number, y: number): void;
19
+ setTitle(title: string): void;
20
+ }
@@ -1,14 +1,14 @@
1
- /**
2
- * @class Footer
3
- */
4
- export declare class Footer {
5
- /**
6
- * @param {Object} options:
7
- * columns: Array with data per column { title, items: [ { title, link } ] }
8
- * credits: html string
9
- * socials: Array with data per item { title, link, icon }
10
- * className: Extra class to customize
11
- */
12
- root: any;
13
- constructor(options?: any);
14
- }
1
+ /**
2
+ * @class Footer
3
+ */
4
+ export declare class Footer {
5
+ /**
6
+ * @param {Object} options:
7
+ * columns: Array with data per column { title, items: [ { title, link } ] }
8
+ * credits: html string
9
+ * socials: Array with data per item { title, link, icon }
10
+ * className: Extra class to customize
11
+ */
12
+ root: any;
13
+ constructor(options?: any);
14
+ }
@@ -1,59 +1,59 @@
1
- /**
2
- * @class Menubar
3
- */
4
- export declare class Menubar {
5
- root: any;
6
- siblingArea: any;
7
- buttonContainer?: any;
8
- items: any[];
9
- buttons: Record<string, any>;
10
- icons: any;
11
- shorts: any;
12
- focused: boolean;
13
- _currentDropdown?: any;
14
- constructor(items: any[], options?: any);
15
- _resetMenubar(focus?: boolean): void;
16
- /**
17
- * @method createEntries
18
- */
19
- createEntries(): void;
20
- /**
21
- * @method getButton
22
- * @param {String} name
23
- */
24
- getButton(name: string): any;
25
- /**
26
- * @method getSubitems
27
- * @param {Object} item: parent item
28
- * @param {Array} tokens: split path strings
29
- */
30
- getSubitem(item: any, tokens: any[]): any;
31
- /**
32
- * @method getItem
33
- * @param {String} path
34
- */
35
- getItem(path: string): any;
36
- /**
37
- * @method setButtonIcon
38
- * @param {String} name
39
- * @param {String} icon
40
- * @param {Function} callback
41
- * @param {Object} options
42
- */
43
- setButtonIcon(name: string, icon: string, callback: any, options?: any): void;
44
- /**
45
- * @method setButtonImage
46
- * @param {String} name
47
- * @param {String} src
48
- * @param {Function} callback
49
- * @param {Object} options
50
- */
51
- setButtonImage(name: string, src: string, callback: any, options?: any): void;
52
- /**
53
- * @method addButton
54
- * @param {Array} buttons
55
- * @param {Object} options
56
- * float: center (Default), right
57
- */
58
- addButtons(buttons: any[], options?: any): void;
59
- }
1
+ /**
2
+ * @class Menubar
3
+ */
4
+ export declare class Menubar {
5
+ root: any;
6
+ siblingArea: any;
7
+ buttonContainer?: any;
8
+ items: any[];
9
+ buttons: Record<string, any>;
10
+ icons: any;
11
+ shorts: any;
12
+ focused: boolean;
13
+ _currentDropdown?: any;
14
+ constructor(items: any[], options?: any);
15
+ _resetMenubar(focus?: boolean): void;
16
+ /**
17
+ * @method createEntries
18
+ */
19
+ createEntries(): void;
20
+ /**
21
+ * @method getButton
22
+ * @param {String} name
23
+ */
24
+ getButton(name: string): any;
25
+ /**
26
+ * @method getSubitems
27
+ * @param {Object} item: parent item
28
+ * @param {Array} tokens: split path strings
29
+ */
30
+ getSubitem(item: any, tokens: any[]): any;
31
+ /**
32
+ * @method getItem
33
+ * @param {String} path
34
+ */
35
+ getItem(path: string): any;
36
+ /**
37
+ * @method setButtonIcon
38
+ * @param {String} name
39
+ * @param {String} icon
40
+ * @param {Function} callback
41
+ * @param {Object} options
42
+ */
43
+ setButtonIcon(name: string, icon: string, callback: any, options?: any): void;
44
+ /**
45
+ * @method setButtonImage
46
+ * @param {String} name
47
+ * @param {String} src
48
+ * @param {Function} callback
49
+ * @param {Object} options
50
+ */
51
+ setButtonImage(name: string, src: string, callback: any, options?: any): void;
52
+ /**
53
+ * @method addButton
54
+ * @param {Array} buttons
55
+ * @param {Object} options
56
+ * float: center (Default), right
57
+ */
58
+ addButtons(buttons: any[], options?: any): void;
59
+ }
@@ -1,19 +1,39 @@
1
1
  import { BaseComponent } from './BaseComponent';
2
+ export type NodeTreeAction = 'select' | 'dbl_click' | 'move' | 'delete' | 'rename' | 'visibility' | 'caret' | 'context_menu';
3
+ export interface NodeTreeEvent {
4
+ type: NodeTreeAction;
5
+ domEvent?: Event;
6
+ items?: any[];
7
+ result?: any[];
8
+ from?: any;
9
+ to?: any;
10
+ where?: any;
11
+ oldName?: string;
12
+ newName?: string;
13
+ search?: any[];
14
+ userInitiated: boolean;
15
+ }
16
+ /**
17
+ * Signature for cancelable events.
18
+ * `resolve()` MUST be called by the user to perform the UI action
19
+ */
20
+ export type NodeTreeEventCallback = (event: NodeTreeEvent, resolve?: (...args: any[]) => void) => boolean | void | Promise<void>;
2
21
  /**
3
22
  * @class NodeTree
4
23
  */
5
24
  export declare class NodeTree {
6
25
  domEl: any;
7
26
  data: any;
8
- onevent: any;
9
27
  options: any;
10
28
  selected: any[];
11
29
  _forceClose: boolean;
30
+ _callbacks: Record<string, NodeTreeEventCallback>;
12
31
  constructor(domEl: any, data: any, options?: any);
13
32
  _createItem(parent: any, node: any, level?: number, selectedId?: string): void;
14
33
  refresh(newData?: any, selectedId?: string): void;
15
34
  frefresh(id: string): void;
16
35
  select(id: string): void;
36
+ deleteNodes(nodes: any[]): any[];
17
37
  deleteNode(node: any): boolean;
18
38
  }
19
39
  /**
@@ -23,4 +43,9 @@ export declare class NodeTree {
23
43
  export declare class Tree extends BaseComponent {
24
44
  innerTree: NodeTree;
25
45
  constructor(name: string, data: any, options?: any);
46
+ /**
47
+ * @method on
48
+ * @description Stores an event callback for the desired action
49
+ */
50
+ on(eventName: string, callback: NodeTreeEventCallback): void;
26
51
  }
@@ -4,6 +4,7 @@ import { BaseComponent } from './BaseComponent';
4
4
  * @description Vector Component
5
5
  */
6
6
  export declare class Vector extends BaseComponent {
7
+ locked: boolean;
7
8
  setLimits: (newMin: number | null, newMax: number | null, newStep: number | null) => void;
8
9
  constructor(numComponents: number, name: string, value: number[], callback: any, options?: any);
9
10
  }
@@ -1,143 +1,143 @@
1
- import { Menubar } from '../components/Menubar';
2
- import { Tabs } from '../components/Tabs';
3
- import { Panel } from './Panel';
4
- export declare class AreaOverlayButtons {
5
- area: Area;
6
- options: any;
7
- buttons: any;
8
- constructor(area: Area, buttonsArray: any[], options?: {});
9
- _buildButtons(buttonsArray: any[], options?: any): void;
10
- }
11
- export declare class Area {
12
- /**
13
- * @constructor Area
14
- * @param {Object} options
15
- * id: Id of the element
16
- * className: Add class to the element
17
- * width: Width of the area element [fit space]
18
- * height: Height of the area element [fit space]
19
- * skipAppend: Create but not append to GUI root [false]
20
- * minWidth: Minimum width to be applied when resizing
21
- * minHeight: Minimum height to be applied when resizing
22
- * maxWidth: Maximum width to be applied when resizing
23
- * maxHeight: Maximum height to be applied when resizing
24
- * layout: Layout to automatically split the area
25
- */
26
- offset: number;
27
- root: any;
28
- size: any[];
29
- resize: boolean;
30
- sections: any[];
31
- panels: any[];
32
- minWidth: number;
33
- minHeight: number;
34
- maxWidth: number;
35
- maxHeight: Number;
36
- layout: any;
37
- type?: string;
38
- parentArea?: Area;
39
- splitBar?: any;
40
- splitExtended?: boolean;
41
- overlayButtons?: AreaOverlayButtons;
42
- onresize?: any;
43
- _autoVerticalResizeObserver?: ResizeObserver;
44
- _root: any;
45
- constructor(options?: any);
46
- /**
47
- * @method attach
48
- * @param {Element} content child to append to area (e.g. a Panel)
49
- */
50
- attach(content: any): void;
51
- /**
52
- * @method setLayout
53
- * @description Automatically split the area to generate the desired layout
54
- * @param {Array} layout
55
- */
56
- setLayout(layout: any): void;
57
- /**
58
- * @method split
59
- * @param {Object} options
60
- * type: Split mode (horizontal, vertical) ["horizontal"]
61
- * sizes: CSS Size of each new area (Array) ["50%", "50%"]
62
- * resize: Allow area manual resizing [true]
63
- * sizes: "Allow the area to be minimized [false]
64
- */
65
- split(options?: any): any[];
66
- /**
67
- * @method setLimitBox
68
- * Set min max for width and height
69
- */
70
- setLimitBox(minw?: number, minh?: number, maxw?: number, maxh?: number): void;
71
- /**
72
- * @method resize
73
- * Resize element
74
- */
75
- setSize(size: any[]): void;
76
- /**
77
- * @method extend
78
- * Hide 2nd area split
79
- */
80
- extend(): void;
81
- /**
82
- * @method reduce
83
- * Show 2nd area split
84
- */
85
- reduce(): void;
86
- /**
87
- * @method hide
88
- * Hide element
89
- */
90
- hide(): void;
91
- /**
92
- * @method show
93
- * Show element if it is hidden
94
- */
95
- show(): void;
96
- /**
97
- * @method toggle
98
- * Toggle element if it is hidden
99
- */
100
- toggle(force: boolean): void;
101
- /**
102
- * @method propagateEvent
103
- */
104
- propagateEvent(eventName: string): void;
105
- /**
106
- * @method addPanel
107
- * @param {Object} options
108
- * Options to create a Panel
109
- */
110
- addPanel(options: any): Panel;
111
- /**
112
- * @method addMenubar
113
- * @param {Array} items Items to fill the menubar
114
- * @param {Object} options:
115
- * float: Justify content (left, center, right) [left]
116
- * sticky: Fix menubar at the top [true]
117
- */
118
- addMenubar(items: any[], options?: any): Menubar;
119
- /**
120
- * @method addSidebar
121
- * @param {Function} callback Function to fill the sidebar
122
- * @param {Object} options: Sidebar options
123
- * width: Width of the sidebar [16rem]
124
- * side: Side to attach the sidebar (left|right) [left]
125
- */
126
- addSidebar(callback: any, options?: any): any;
127
- /**
128
- * @method addOverlayButtons
129
- * @param {Array} buttons Buttons info
130
- * @param {Object} options:
131
- * float: Where to put the buttons (h: horizontal, v: vertical, t: top, m: middle, b: bottom, l: left, c: center, r: right) [htc]
132
- */
133
- addOverlayButtons(buttons: any[], options?: any): any;
134
- /**
135
- * @method addTabs
136
- * @param {Object} options:
137
- * parentClass: Add extra class to tab buttons container
138
- */
139
- addTabs(options?: any): Tabs;
140
- _moveSplit(dt: number, forceAnimation?: boolean, forceWidth?: number): void;
141
- _disableSplitResize(): void;
142
- _update(newSize?: any[], propagate?: boolean): void;
143
- }
1
+ import { Menubar } from '../components/Menubar';
2
+ import { Tabs } from '../components/Tabs';
3
+ import { Panel } from './Panel';
4
+ export declare class AreaOverlayButtons {
5
+ area: Area;
6
+ options: any;
7
+ buttons: any;
8
+ constructor(area: Area, buttonsArray: any[], options?: {});
9
+ _buildButtons(buttonsArray: any[], options?: any): void;
10
+ }
11
+ export declare class Area {
12
+ /**
13
+ * @constructor Area
14
+ * @param {Object} options
15
+ * id: Id of the element
16
+ * className: Add class to the element
17
+ * width: Width of the area element [fit space]
18
+ * height: Height of the area element [fit space]
19
+ * skipAppend: Create but not append to GUI root [false]
20
+ * minWidth: Minimum width to be applied when resizing
21
+ * minHeight: Minimum height to be applied when resizing
22
+ * maxWidth: Maximum width to be applied when resizing
23
+ * maxHeight: Maximum height to be applied when resizing
24
+ * layout: Layout to automatically split the area
25
+ */
26
+ offset: number;
27
+ root: any;
28
+ size: any[];
29
+ resize: boolean;
30
+ sections: any[];
31
+ panels: any[];
32
+ minWidth: number;
33
+ minHeight: number;
34
+ maxWidth: number;
35
+ maxHeight: Number;
36
+ layout: any;
37
+ type?: string;
38
+ parentArea?: Area;
39
+ splitBar?: any;
40
+ splitExtended?: boolean;
41
+ overlayButtons?: AreaOverlayButtons;
42
+ onresize?: any;
43
+ _autoVerticalResizeObserver?: ResizeObserver;
44
+ _root: any;
45
+ constructor(options?: any);
46
+ /**
47
+ * @method attach
48
+ * @param {Element} content child to append to area (e.g. a Panel)
49
+ */
50
+ attach(content: any): void;
51
+ /**
52
+ * @method setLayout
53
+ * @description Automatically split the area to generate the desired layout
54
+ * @param {Array} layout
55
+ */
56
+ setLayout(layout: any): void;
57
+ /**
58
+ * @method split
59
+ * @param {Object} options
60
+ * type: Split mode (horizontal, vertical) ["horizontal"]
61
+ * sizes: CSS Size of each new area (Array) ["50%", "50%"]
62
+ * resize: Allow area manual resizing [true]
63
+ * sizes: "Allow the area to be minimized [false]
64
+ */
65
+ split(options?: any): any[];
66
+ /**
67
+ * @method setLimitBox
68
+ * Set min max for width and height
69
+ */
70
+ setLimitBox(minw?: number, minh?: number, maxw?: number, maxh?: number): void;
71
+ /**
72
+ * @method resize
73
+ * Resize element
74
+ */
75
+ setSize(size: any[]): void;
76
+ /**
77
+ * @method extend
78
+ * Hide 2nd area split
79
+ */
80
+ extend(): void;
81
+ /**
82
+ * @method reduce
83
+ * Show 2nd area split
84
+ */
85
+ reduce(): void;
86
+ /**
87
+ * @method hide
88
+ * Hide element
89
+ */
90
+ hide(): void;
91
+ /**
92
+ * @method show
93
+ * Show element if it is hidden
94
+ */
95
+ show(): void;
96
+ /**
97
+ * @method toggle
98
+ * Toggle element if it is hidden
99
+ */
100
+ toggle(force: boolean): void;
101
+ /**
102
+ * @method propagateEvent
103
+ */
104
+ propagateEvent(eventName: string): void;
105
+ /**
106
+ * @method addPanel
107
+ * @param {Object} options
108
+ * Options to create a Panel
109
+ */
110
+ addPanel(options: any): Panel;
111
+ /**
112
+ * @method addMenubar
113
+ * @param {Array} items Items to fill the menubar
114
+ * @param {Object} options:
115
+ * float: Justify content (left, center, right) [left]
116
+ * sticky: Fix menubar at the top [true]
117
+ */
118
+ addMenubar(items: any[], options?: any): Menubar;
119
+ /**
120
+ * @method addSidebar
121
+ * @param {Function} callback Function to fill the sidebar
122
+ * @param {Object} options: Sidebar options
123
+ * width: Width of the sidebar [16rem]
124
+ * side: Side to attach the sidebar (left|right) [left]
125
+ */
126
+ addSidebar(callback: any, options?: any): any;
127
+ /**
128
+ * @method addOverlayButtons
129
+ * @param {Array} buttons Buttons info
130
+ * @param {Object} options:
131
+ * float: Where to put the buttons (h: horizontal, v: vertical, t: top, m: middle, b: bottom, l: left, c: center, r: right) [htc]
132
+ */
133
+ addOverlayButtons(buttons: any[], options?: any): any;
134
+ /**
135
+ * @method addTabs
136
+ * @param {Object} options:
137
+ * parentClass: Add extra class to tab buttons container
138
+ */
139
+ addTabs(options?: any): Tabs;
140
+ _moveSplit(dt: number, forceAnimation?: boolean, forceWidth?: number): void;
141
+ _disableSplitResize(): void;
142
+ _update(newSize?: any[], propagate?: boolean): void;
143
+ }
@@ -1,26 +1,6 @@
1
- import { Panel } from './Panel';
2
1
  export declare class IEvent {
3
2
  name: any;
4
3
  value: any;
5
4
  domEvent: any;
6
5
  constructor(name: string | null | undefined, value: any, domEvent?: any);
7
6
  }
8
- export declare class TreeEvent {
9
- static NONE: number;
10
- static NODE_SELECTED: number;
11
- static NODE_DELETED: number;
12
- static NODE_DBLCLICKED: number;
13
- static NODE_CONTEXTMENU: number;
14
- static NODE_DRAGGED: number;
15
- static NODE_RENAMED: number;
16
- static NODE_VISIBILITY: number;
17
- static NODE_CARETCHANGED: number;
18
- type: number;
19
- node: any;
20
- value: any;
21
- event: any;
22
- multiple: boolean;
23
- panel: Panel | null;
24
- constructor(type: number, node: any, value: any, event: any);
25
- string(): "tree_event_none" | "tree_event_selected" | "tree_event_deleted" | "tree_event_dblclick" | "tree_event_contextmenu" | "tree_event_dragged" | "tree_event_renamed" | "tree_event_visibility" | "tree_event_caretchanged" | undefined;
26
- }
@@ -10,7 +10,7 @@ const g = globalThis;
10
10
  let LX = g.LX;
11
11
  if (!LX) {
12
12
  LX = {
13
- version: '8.1.2',
13
+ version: '8.2.1',
14
14
  ready: false,
15
15
  extensions: [], // Store extensions used
16
16
  extraCommandbarEntries: [], // User specific entries for command bar
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sources":["../../src/core/Namespace.ts"],"sourcesContent":["// Namespace.ts @jxarco\r\n\r\n/**\r\n * Main namespace\r\n * @namespace LX\r\n */\r\n\r\nconst g = globalThis as any;\r\n\r\n// Update global namespace if not present (Loading module)\r\n// Extension scripts rely on LX being globally available\r\nlet LX: any = g.LX;\r\n\r\nif ( !LX )\r\n{\r\n LX = {\r\n version: '8.1.2',\r\n ready: false,\r\n extensions: [], // Store extensions used\r\n extraCommandbarEntries: [], // User specific entries for command bar\r\n signals: {}, // Events and triggers\r\n activeDraggable: null, // Watch for the current active draggable\r\n\r\n spacingMode: 'default',\r\n layoutMode: 'app',\r\n\r\n MOUSE_LEFT_CLICK: 0,\r\n MOUSE_MIDDLE_CLICK: 1,\r\n MOUSE_RIGHT_CLICK: 2,\r\n\r\n MOUSE_DOUBLE_CLICK: 2,\r\n MOUSE_TRIPLE_CLICK: 3,\r\n\r\n CURVE_MOVEOUT_CLAMP: 0,\r\n CURVE_MOVEOUT_DELETE: 1,\r\n\r\n DRAGGABLE_Z_INDEX: 101\r\n };\r\n\r\n g.LX = LX;\r\n}\r\n\r\nexport { LX };\r\n"],"names":[],"mappings":";AAAA;AAEA;;;AAGG;AAEH,MAAM,CAAC,GAAG,UAAiB;AAE3B;AACA;AACA,IAAI,EAAE,GAAQ,CAAC,CAAC;AAEhB,IAAK,CAAC,EAAE,EACR;AACI,IAAA,EAAE,GAAG;AACD,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,EAAE;QACd,sBAAsB,EAAE,EAAE;QAC1B,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,IAAI;AAErB,QAAA,WAAW,EAAE,SAAS;AACtB,QAAA,UAAU,EAAE,KAAK;AAEjB,QAAA,gBAAgB,EAAE,CAAC;AACnB,QAAA,kBAAkB,EAAE,CAAC;AACrB,QAAA,iBAAiB,EAAE,CAAC;AAEpB,QAAA,kBAAkB,EAAE,CAAC;AACrB,QAAA,kBAAkB,EAAE,CAAC;AAErB,QAAA,mBAAmB,EAAE,CAAC;AACtB,QAAA,oBAAoB,EAAE,CAAC;AAEvB,QAAA,iBAAiB,EAAE;KACtB;AAED,IAAA,CAAC,CAAC,EAAE,GAAG,EAAE;AACb;;;;"}
1
+ {"version":3,"file":"Namespace.js","sources":["../../src/core/Namespace.ts"],"sourcesContent":["// Namespace.ts @jxarco\r\n\r\n/**\r\n * Main namespace\r\n * @namespace LX\r\n */\r\n\r\nconst g = globalThis as any;\r\n\r\n// Update global namespace if not present (Loading module)\r\n// Extension scripts rely on LX being globally available\r\nlet LX: any = g.LX;\r\n\r\nif ( !LX )\r\n{\r\n LX = {\r\n version: '8.2.1',\r\n ready: false,\r\n extensions: [], // Store extensions used\r\n extraCommandbarEntries: [], // User specific entries for command bar\r\n signals: {}, // Events and triggers\r\n activeDraggable: null, // Watch for the current active draggable\r\n\r\n spacingMode: 'default',\r\n layoutMode: 'app',\r\n\r\n MOUSE_LEFT_CLICK: 0,\r\n MOUSE_MIDDLE_CLICK: 1,\r\n MOUSE_RIGHT_CLICK: 2,\r\n\r\n MOUSE_DOUBLE_CLICK: 2,\r\n MOUSE_TRIPLE_CLICK: 3,\r\n\r\n CURVE_MOVEOUT_CLAMP: 0,\r\n CURVE_MOVEOUT_DELETE: 1,\r\n\r\n DRAGGABLE_Z_INDEX: 101\r\n };\r\n\r\n g.LX = LX;\r\n}\r\n\r\nexport { LX };\r\n"],"names":[],"mappings":";AAAA;AAEA;;;AAGG;AAEH,MAAM,CAAC,GAAG,UAAiB;AAE3B;AACA;AACA,IAAI,EAAE,GAAQ,CAAC,CAAC;AAEhB,IAAK,CAAC,EAAE,EACR;AACI,IAAA,EAAE,GAAG;AACD,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,EAAE;QACd,sBAAsB,EAAE,EAAE;QAC1B,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,IAAI;AAErB,QAAA,WAAW,EAAE,SAAS;AACtB,QAAA,UAAU,EAAE,KAAK;AAEjB,QAAA,gBAAgB,EAAE,CAAC;AACnB,QAAA,kBAAkB,EAAE,CAAC;AACrB,QAAA,iBAAiB,EAAE,CAAC;AAEpB,QAAA,kBAAkB,EAAE,CAAC;AACrB,QAAA,kBAAkB,EAAE,CAAC;AAErB,QAAA,mBAAmB,EAAE,CAAC;AACtB,QAAA,oBAAoB,EAAE,CAAC;AAEvB,QAAA,iBAAiB,EAAE;KACtB;AAED,IAAA,CAAC,CAAC,EAAE,GAAG,EAAE;AACb;;;;"}