lexgui 0.6.5 → 0.6.6
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/build/components/docmaker.js +417 -0
- package/build/lexgui-docs.css +410 -0
- package/build/lexgui.css +11 -0
- package/build/lexgui.js +8 -10
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +8 -10
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +9 -1
- package/package.json +1 -1
package/build/lexgui.module.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
const LX = {
|
|
10
|
-
version: "0.6.
|
|
10
|
+
version: "0.6.6",
|
|
11
11
|
ready: false,
|
|
12
12
|
components: [], // Specific pre-build components
|
|
13
13
|
signals: {}, // Events and triggers
|
|
@@ -1144,6 +1144,7 @@ class DropdownMenu {
|
|
|
1144
1144
|
{
|
|
1145
1145
|
const checkbox = new LX.Checkbox( pKey + "_entryChecked", item.checked, (v) => {
|
|
1146
1146
|
const f = item[ 'callback' ];
|
|
1147
|
+
item.checked = v;
|
|
1147
1148
|
if( f )
|
|
1148
1149
|
{
|
|
1149
1150
|
f.call( this, key, v, menuItem );
|
|
@@ -14519,20 +14520,17 @@ class Sidebar {
|
|
|
14519
14520
|
return;
|
|
14520
14521
|
}
|
|
14521
14522
|
|
|
14523
|
+
const f = options.callback;
|
|
14524
|
+
if( f ) f.call( this, key, item.value, e );
|
|
14525
|
+
|
|
14522
14526
|
if( isCollapsable )
|
|
14523
14527
|
{
|
|
14524
14528
|
itemDom.querySelector( ".collapser" ).click();
|
|
14525
14529
|
}
|
|
14526
|
-
else
|
|
14530
|
+
else if( item.checkbox )
|
|
14527
14531
|
{
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
if( item.checkbox )
|
|
14532
|
-
{
|
|
14533
|
-
item.value = !item.value;
|
|
14534
|
-
item.checkbox.set( item.value, true );
|
|
14535
|
-
}
|
|
14532
|
+
item.value = !item.value;
|
|
14533
|
+
item.checkbox.set( item.value, true );
|
|
14536
14534
|
}
|
|
14537
14535
|
|
|
14538
14536
|
// Manage selected
|