x4js 2.2.7 → 2.2.9
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 +19 -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 +9 -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 +22 -2
- 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/header/header.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 +36 -2
- 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/messages/messages.ts +22 -5
- package/src/components/monaco/monaco.module.scss +22 -0
- package/src/components/monaco/monaco.ts +95 -9
- package/src/components/monaco/readme.md +2 -1
- 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/progrid.module.scss +2 -2
- 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/select/select.module.scss +26 -3
- 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 +2 -2
- 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 +5 -3
- package/src/components/viewport/viewport.module.scss +1 -1
- package/src/components/viewport/viewport.ts +1 -1
- package/src/core/component.ts +9 -7
- 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
package/package.json
CHANGED
package/src/components/base.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file base.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.
|
|
@@ -24,6 +24,19 @@
|
|
|
24
24
|
@extend %flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.x4fit-h {
|
|
28
|
+
width: stretch;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.x4fit-v {
|
|
32
|
+
height: stretch;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.x4fit {
|
|
36
|
+
height: stretch;
|
|
37
|
+
width: stretch;
|
|
38
|
+
}
|
|
39
|
+
|
|
27
40
|
.fit {
|
|
28
41
|
@extend %fit;
|
|
29
42
|
}
|
|
@@ -86,4 +99,9 @@
|
|
|
86
99
|
animation-iteration-count: infinite;
|
|
87
100
|
animation-timing-function: linear;
|
|
88
101
|
animation-direction: reverse;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
option:checked {
|
|
105
|
+
background-color: var( --accent-background );
|
|
106
|
+
color: var( --accent-color );
|
|
89
107
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file boxes.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 boxes.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 breadcrumb.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 btngroup.model.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 btngroup.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.
|
|
@@ -140,6 +140,14 @@ export class BtnGroup extends Box<BtnGroupProps,BtnGroupEvents> {
|
|
|
140
140
|
|
|
141
141
|
b.addClass( def.join(" ") );
|
|
142
142
|
}
|
|
143
|
+
else if( b instanceof Button ) {
|
|
144
|
+
const btn = b as Button;
|
|
145
|
+
if( !btn.props.click && btn.props.id ) {
|
|
146
|
+
btn.on( "click", ( ) => {
|
|
147
|
+
this.fire( "btnclick", { button: btn.props.id} );
|
|
148
|
+
} );
|
|
149
|
+
}
|
|
150
|
+
}
|
|
143
151
|
|
|
144
152
|
childs.push( b );
|
|
145
153
|
});
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file button.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 button.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 calendar.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 calendar.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 checkbox.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 colorinput.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 colorinput.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 colorpicker.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 colorpicker.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 combobox.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 combobox.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 dialog.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 dialog.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.
|
|
@@ -20,7 +20,7 @@ import { BtnGroup, BtnGroupItem } from "../btngroup/btngroup"
|
|
|
20
20
|
import { HBox } from '../boxes/boxes';
|
|
21
21
|
import { Label } from '../label/label';
|
|
22
22
|
import { CoreEvent, EventCallback } from '../../core/core_events';
|
|
23
|
-
import { class_ns, getFocusableElements, IComponentInterface, isString, ITabHandler } from '../../core/core_tools';
|
|
23
|
+
import { asap, class_ns, getFocusableElements, IComponentInterface, isString, ITabHandler } from '../../core/core_tools';
|
|
24
24
|
import { ComponentEvent } from '../../core/component';
|
|
25
25
|
import { Button } from '../button/button';
|
|
26
26
|
|
|
@@ -228,6 +228,26 @@ export class Dialog<P extends DialogProps = DialogProps, E extends DialogEvents
|
|
|
228
228
|
getBtnBar( ) {
|
|
229
229
|
return this.query<BtnGroup>("#btnbar");
|
|
230
230
|
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* ! cannot stop close action
|
|
234
|
+
*/
|
|
235
|
+
|
|
236
|
+
async showAsync( ) : Promise<string> {
|
|
237
|
+
|
|
238
|
+
return new Promise( (resolve ) => {
|
|
239
|
+
|
|
240
|
+
this.on( "btnclick", ( ev ) => {
|
|
241
|
+
asap( ( ) => {
|
|
242
|
+
this.close( );
|
|
243
|
+
resolve( ev.button );
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
this.show();
|
|
248
|
+
} );
|
|
249
|
+
}
|
|
250
|
+
|
|
231
251
|
}
|
|
232
252
|
|
|
233
253
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file filedrop.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 filedrop.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 form.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 form.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 gridview.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 gridview.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 icon.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 icon.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.
|
|
@@ -142,6 +142,9 @@ export class Icon extends Component<IconProps> {
|
|
|
142
142
|
if( iconId.startsWith("data:image/svg+xml,<svg") ) {
|
|
143
143
|
this.dom.insertAdjacentHTML('beforeend', iconId.substring(19) );
|
|
144
144
|
}
|
|
145
|
+
else if( iconId.startsWith("<svg") ) { // raw
|
|
146
|
+
this.dom.insertAdjacentHTML('beforeend', iconId );
|
|
147
|
+
}
|
|
145
148
|
else if( iconId.endsWith(".svg") ) {
|
|
146
149
|
svgLoader.load( iconId ).then( svg => {
|
|
147
150
|
this.clearContent( );
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file image.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 image.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 input.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 input.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 keyboard.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 keyboard.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 label.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 label.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 link.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 listbox.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.
|
|
@@ -62,17 +62,25 @@
|
|
|
62
62
|
position: relative;
|
|
63
63
|
|
|
64
64
|
&> .x4viewport {
|
|
65
|
+
overflow: hidden;
|
|
65
66
|
display: table;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
.x4item {
|
|
69
70
|
@extend %flex;
|
|
70
71
|
|
|
72
|
+
|
|
71
73
|
padding: 4px;
|
|
72
74
|
background-color: transparent;
|
|
73
75
|
color: var( --text-primary );
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
// multicolumns
|
|
78
|
+
&:has( >.x4hbox ) {
|
|
79
|
+
padding: 4px 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.x4label,
|
|
83
|
+
.x4simpletext {
|
|
76
84
|
color: inherit;
|
|
77
85
|
padding: 2px 6px;
|
|
78
86
|
|
|
@@ -108,6 +116,7 @@
|
|
|
108
116
|
//background-color: var( --color-80 );
|
|
109
117
|
//color: var(--color-0);
|
|
110
118
|
//}
|
|
119
|
+
|
|
111
120
|
}
|
|
112
121
|
}
|
|
113
122
|
|
|
@@ -130,6 +139,31 @@
|
|
|
130
139
|
.x4icon {
|
|
131
140
|
height: 1.5em;
|
|
132
141
|
width: 1.5em;
|
|
142
|
+
|
|
143
|
+
.fa-primary, .fa-secondary {
|
|
144
|
+
fill: var( --accent-background );
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&.icon-danger {
|
|
149
|
+
.x4icon {
|
|
150
|
+
.fa-secondary {
|
|
151
|
+
fill: var( --disabled-color-dark);
|
|
152
|
+
opacity: 0.7;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.fa-primary {
|
|
156
|
+
fill: var( --alert-background );
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.icon-success {
|
|
162
|
+
.x4icon {
|
|
163
|
+
.fa-primary {
|
|
164
|
+
fill: var( --success-background );
|
|
165
|
+
}
|
|
166
|
+
}
|
|
133
167
|
}
|
|
134
168
|
|
|
135
169
|
&:hover{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @file listbox.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 menu.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 menu.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 messages.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.
|