x4js 2.2.7 → 2.2.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.
- package/package.json +1 -1
- package/src/components/base.scss +1 -1
- package/src/components/boxes/boxes.module.scss +1 -1
- package/src/components/boxes/boxes.ts +1 -1
- package/src/components/breadcrumb/breadcrumb.ts +1 -1
- package/src/components/btngroup/btngroup.module.scss +1 -1
- package/src/components/btngroup/btngroup.ts +1 -1
- package/src/components/button/button.module.scss +1 -1
- package/src/components/button/button.ts +1 -1
- package/src/components/calendar/calendar.module.scss +1 -1
- package/src/components/calendar/calendar.ts +1 -1
- package/src/components/checkbox/checkbox.module.scss +1 -1
- package/src/components/colorinput/colorinput.module.scss +1 -1
- package/src/components/colorinput/colorinput.ts +1 -1
- package/src/components/colorpicker/colorpicker.module.scss +1 -1
- package/src/components/colorpicker/colorpicker.ts +1 -1
- package/src/components/combobox/combobox.module.scss +1 -1
- package/src/components/combobox/combobox.ts +1 -1
- package/src/components/dialog/dialog.module.scss +1 -1
- package/src/components/dialog/dialog.ts +1 -1
- package/src/components/filedrop/filedrop.module.scss +1 -1
- package/src/components/filedrop/filedrop.ts +1 -1
- package/src/components/form/form.module.scss +1 -1
- package/src/components/form/form.ts +1 -1
- package/src/components/gridview/gridview.module.scss +1 -1
- package/src/components/gridview/gridview.ts +1 -1
- package/src/components/icon/icon.module.scss +1 -1
- package/src/components/icon/icon.ts +4 -1
- package/src/components/image/image.module.scss +1 -1
- package/src/components/image/image.ts +1 -1
- package/src/components/input/input.module.scss +1 -1
- package/src/components/input/input.ts +1 -1
- package/src/components/keyboard/keyboard.module.scss +1 -1
- package/src/components/keyboard/keyboard.ts +1 -1
- package/src/components/label/label.module.scss +1 -1
- package/src/components/label/label.ts +1 -1
- package/src/components/link/link.ts +1 -1
- package/src/components/listbox/listbox.module.scss +1 -1
- package/src/components/listbox/listbox.ts +1 -1
- package/src/components/menu/menu.module.scss +1 -1
- package/src/components/menu/menu.ts +1 -1
- package/src/components/messages/messages.module.scss +1 -1
- package/src/components/monaco/monaco.module.scss +22 -0
- package/src/components/monaco/monaco.ts +95 -9
- package/src/components/normalize.scss +1 -1
- package/src/components/notification/notification.module.scss +1 -1
- package/src/components/notification/notification.ts +1 -1
- package/src/components/panel/panel.module.scss +1 -1
- package/src/components/panel/panel.ts +1 -1
- package/src/components/popup/popup.module.scss +1 -1
- package/src/components/popup/popup.ts +1 -1
- package/src/components/progress/progress.module.scss +1 -1
- package/src/components/progress/progress.ts +1 -1
- package/src/components/propgrid/propgrid.ts +1 -1
- package/src/components/radio/radio.module.scss +1 -1
- package/src/components/radio/radio.ts +1 -1
- package/src/components/rating/rating.ts +1 -1
- package/src/components/shared.scss +1 -1
- package/src/components/sizers/sizer.module.scss +9 -5
- package/src/components/sizers/sizer.ts +20 -14
- package/src/components/slider/slider.module.scss +1 -1
- package/src/components/slider/slider.ts +1 -1
- package/src/components/spreadsheet/spreadsheet.module.scss +1 -1
- package/src/components/spreadsheet/spreadsheet.ts +1 -1
- package/src/components/switch/switch.module.scss +1 -1
- package/src/components/switch/switch.ts +1 -1
- package/src/components/tabs/tabs.ts +1 -1
- package/src/components/textarea/textarea.module.scss +1 -1
- package/src/components/textarea/textarea.ts +1 -1
- package/src/components/textedit/textedit.module.scss +1 -1
- package/src/components/textedit/textedit.ts +1 -1
- package/src/components/themes.scss +1 -1
- package/src/components/tickline/tickline.module.scss +1 -1
- package/src/components/tooltips/tooltips.scss +1 -1
- package/src/components/tooltips/tooltips.ts +1 -1
- package/src/components/treeview/treeview.module.scss +6 -2
- package/src/components/treeview/treeview.ts +1 -1
- package/src/components/viewport/viewport.module.scss +1 -1
- package/src/components/viewport/viewport.ts +1 -1
- package/src/core/component.ts +1 -1
- package/src/core/core_application.ts +2 -1
- package/src/core/core_colors.ts +1 -1
- package/src/core/core_data.ts +1 -1
- package/src/core/core_dom.ts +1 -1
- package/src/core/core_dragdrop.ts +1 -1
- package/src/core/core_element.ts +1 -1
- package/src/core/core_events.ts +1 -1
- package/src/core/core_i18n.ts +1 -1
- package/src/core/core_router.ts +1 -1
- package/src/core/core_styles.ts +1 -1
- package/src/core/core_svg.ts +1 -1
- package/src/core/core_tools.ts +1 -1
- package/src/x4.scss +1 -1
- package/src/x4.ts +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file popup.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file progress.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file progress.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file propgrid.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file radio.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file radio.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file rating.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file shared.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file sizer.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -26,8 +26,10 @@
|
|
|
26
26
|
cursor: ns-resize;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
&.vsize,
|
|
30
|
-
&.
|
|
29
|
+
&.vsize-next,
|
|
30
|
+
&.vsize-prev,
|
|
31
|
+
&.hsize-next,
|
|
32
|
+
&.hsize-prev {
|
|
31
33
|
position: relative;
|
|
32
34
|
align-self: stretch;
|
|
33
35
|
min-width: 4px;
|
|
@@ -38,11 +40,13 @@
|
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
&.hsize
|
|
43
|
+
&.hsize-next,
|
|
44
|
+
&.hsize-prev {
|
|
42
45
|
cursor: ew-resize;
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
&.vsize
|
|
48
|
+
&.vsize-next,
|
|
49
|
+
&.vsize-prev {
|
|
46
50
|
cursor: ns-resize;
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file sizer.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -33,7 +33,8 @@ interface CSizerEvent extends ComponentEvents {
|
|
|
33
33
|
stop: ComponentEvent;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
type SizerType = "left" | "top" | "right" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right"
|
|
36
|
+
type SizerType = "left" | "top" | "right" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right"
|
|
37
|
+
| "hsize-prev" | "hsize-next" | "vsize-prev" | "vsize-next";
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
40
|
*
|
|
@@ -57,8 +58,13 @@ export class CSizer extends Component<ComponentProps,CSizerEvent> {
|
|
|
57
58
|
this.setCapture( e.pointerId );
|
|
58
59
|
|
|
59
60
|
let targ = target;
|
|
60
|
-
if( !targ
|
|
61
|
-
|
|
61
|
+
if( !targ ) {
|
|
62
|
+
if( type=='hsize-next' || type=='vsize-next' ) {
|
|
63
|
+
targ = this.nextElement( );
|
|
64
|
+
}
|
|
65
|
+
else if( type=='hsize-prev' || type=='vsize-prev' ) {
|
|
66
|
+
targ = this.prevElement( );
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
|
|
64
70
|
this._ref = targ ?? componentFromDOM( this.dom.parentElement );
|
|
@@ -66,14 +72,14 @@ export class CSizer extends Component<ComponentProps,CSizerEvent> {
|
|
|
66
72
|
this._delta = {x:0,y:0};
|
|
67
73
|
const rc = this._ref.getBoundingRect();
|
|
68
74
|
|
|
69
|
-
if( this._type=="hsize" || this._type.includes("left") ) {
|
|
75
|
+
if( this._type=="hsize-next" || this._type.includes("left") ) {
|
|
70
76
|
this._delta.x = e.pageX-rc.left;
|
|
71
77
|
}
|
|
72
78
|
else {
|
|
73
79
|
this._delta.x = e.pageX-(rc.left+rc.width);
|
|
74
80
|
}
|
|
75
81
|
|
|
76
|
-
if( this._type=="vsize" || this._type.includes("top") ) {
|
|
82
|
+
if( this._type=="vsize-next" || this._type.includes("top") ) {
|
|
77
83
|
this._delta.y = e.pageY-rc.top;
|
|
78
84
|
}
|
|
79
85
|
else {
|
|
@@ -110,11 +116,11 @@ export class CSizer extends Component<ComponentProps,CSizerEvent> {
|
|
|
110
116
|
nr.height = (rc.top+rc.height)-pt.y;
|
|
111
117
|
horz = false;
|
|
112
118
|
}
|
|
113
|
-
else if( this._type=="vsize" ) {
|
|
119
|
+
else if( this._type=="vsize-next" ) {
|
|
114
120
|
nr.height = (rc.top+rc.height)-pt.y;
|
|
115
121
|
horz = false;
|
|
116
122
|
}
|
|
117
|
-
else if( this._type.includes("bottom") ) {
|
|
123
|
+
else if( this._type.includes("bottom") || this._type=='vsize-prev' ) {
|
|
118
124
|
//nr.top = rc.top;
|
|
119
125
|
nr.height = (pt.y-rc.top);
|
|
120
126
|
horz = false;
|
|
@@ -123,10 +129,10 @@ export class CSizer extends Component<ComponentProps,CSizerEvent> {
|
|
|
123
129
|
nr.left = pt.x;
|
|
124
130
|
nr.width = ((rc.left+rc.width)-pt.x);
|
|
125
131
|
}
|
|
126
|
-
else if( this._type=="hsize" ) {
|
|
132
|
+
else if( this._type=="hsize-next" ) {
|
|
127
133
|
nr.width = ((rc.left+rc.width)-pt.x);
|
|
128
134
|
}
|
|
129
|
-
else if( this._type.includes("right") ) {
|
|
135
|
+
else if( this._type.includes("right") || this._type=='hsize-prev' ) {
|
|
130
136
|
nr.width = (pt.x-rc.left);
|
|
131
137
|
}
|
|
132
138
|
|
|
@@ -143,14 +149,14 @@ export class CSizer extends Component<ComponentProps,CSizerEvent> {
|
|
|
143
149
|
|
|
144
150
|
@class_ns( "x4" )
|
|
145
151
|
export class HSizer extends CSizer {
|
|
146
|
-
constructor( ) {
|
|
147
|
-
super( "hsize" );
|
|
152
|
+
constructor( next = true ) {
|
|
153
|
+
super( next ? "hsize-next" : "hsize-prev" );
|
|
148
154
|
}
|
|
149
155
|
}
|
|
150
156
|
|
|
151
157
|
@class_ns( "x4" )
|
|
152
158
|
export class VSizer extends CSizer {
|
|
153
|
-
constructor( ) {
|
|
154
|
-
super( "vsize" );
|
|
159
|
+
constructor( next = true ) {
|
|
160
|
+
super( next ? "vsize-next" : "vsize-prev" );
|
|
155
161
|
}
|
|
156
162
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file slider.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file slider.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file spreadsheet.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file spreadsheet.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file switch.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file switch.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file tabs.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file textarea.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file textarea.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file textedit.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file textedit.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file themes.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file tickline.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file tooltips.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file tooltips.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file treeview.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
@extend %vbox;
|
|
38
38
|
|
|
39
39
|
overflow-y: auto;
|
|
40
|
-
|
|
40
|
+
align-self: stretch;
|
|
41
41
|
margin: 5px;
|
|
42
42
|
|
|
43
43
|
outline: none;
|
|
@@ -67,6 +67,10 @@
|
|
|
67
67
|
color: inherit;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
>.x4icon.empty {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
70
74
|
.x4icon {
|
|
71
75
|
width: 16px;
|
|
72
76
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file treeview.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file viewport.module.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file viewport.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/component.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file component.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_application.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -127,6 +127,7 @@ export class Application<E extends ApplicationEvents = ApplicationEvents> extend
|
|
|
127
127
|
|
|
128
128
|
setMainView( view: Component ) {
|
|
129
129
|
this.mainview = view;
|
|
130
|
+
this.mount( );
|
|
130
131
|
this._setupKeyboard( );
|
|
131
132
|
}
|
|
132
133
|
|
package/src/core/core_colors.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_colors.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_data.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_data.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_dom.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_dom.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_dragdrop.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_element.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_element.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_events.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_events.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_i18n.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_i18n.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_router.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_router.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_styles.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_styles.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_svg.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_svg.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/core/core_tools.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file core_tools.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/x4.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file x4.scss
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
package/src/x4.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file x4.ts
|
|
9
9
|
* @author Etienne Cochard
|
|
10
10
|
*
|
|
11
|
-
* @copyright (c)
|
|
11
|
+
* @copyright (c) 2026 R-libre ingenierie
|
|
12
12
|
*
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|