mol_view_tree2_lib 1.0.18 → 1.0.20
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/node.test.js +7 -12
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +7 -12
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -518,6 +518,9 @@ var $;
|
|
|
518
518
|
sort() {
|
|
519
519
|
return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
|
|
520
520
|
}
|
|
521
|
+
indexOf(needle) {
|
|
522
|
+
return this.findIndex(item => item === needle);
|
|
523
|
+
}
|
|
521
524
|
[Symbol.toPrimitive]() {
|
|
522
525
|
return $mol_guid();
|
|
523
526
|
}
|
|
@@ -5552,20 +5555,11 @@ var $;
|
|
|
5552
5555
|
|
|
5553
5556
|
;
|
|
5554
5557
|
($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
|
|
5555
|
-
theme(){
|
|
5556
|
-
return "$mol_theme_accent";
|
|
5557
|
-
}
|
|
5558
5558
|
value(){
|
|
5559
5559
|
return null;
|
|
5560
5560
|
}
|
|
5561
|
-
|
|
5562
|
-
return
|
|
5563
|
-
}
|
|
5564
|
-
attr(){
|
|
5565
|
-
return {...(super.attr()), "mol_theme": (this.theme())};
|
|
5566
|
-
}
|
|
5567
|
-
style(){
|
|
5568
|
-
return {...(super.style()), "minHeight": "1em"};
|
|
5561
|
+
theme(){
|
|
5562
|
+
return "$mol_theme_accent";
|
|
5569
5563
|
}
|
|
5570
5564
|
sub(){
|
|
5571
5565
|
return [(this.value())];
|
|
@@ -5577,7 +5571,7 @@ var $;
|
|
|
5577
5571
|
"use strict";
|
|
5578
5572
|
var $;
|
|
5579
5573
|
(function ($) {
|
|
5580
|
-
$mol_style_attach("mol/speck/speck.view.css", "[mol_speck] {\n\tfont-size: .75rem;\n\tborder-radius: 1rem;\n\tmargin: -0.5rem -0.2rem;\n\talign-self: flex-start;\n\tmin-height: 1em;\n\tvertical-align: sub;\n\tpadding: 0 .2rem;\n\tposition: absolute;\n\tz-index: var(--mol_layer_speck);\n\ttext-align: center;\n\tline-height: .9;\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tuser-select: none;\n\tbox-shadow: 0 0 3px rgba(0,0,0,.5);\n}\n");
|
|
5574
|
+
$mol_style_attach("mol/speck/speck.view.css", "[mol_speck] {\n\tfont-size: .75rem;\n\tborder-radius: 1rem;\n\tmargin: -0.5rem -0.2rem;\n\talign-self: flex-start;\n\tmin-height: 1em;\n\tmin-width: .75rem;\n\tvertical-align: sub;\n\tpadding: 0 .2rem;\n\tposition: absolute;\n\tz-index: var(--mol_layer_speck);\n\ttext-align: center;\n\tline-height: .9;\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tuser-select: none;\n\tbox-shadow: 0 0 3px rgba(0,0,0,.5);\n}\n");
|
|
5581
5575
|
})($ || ($ = {}));
|
|
5582
5576
|
|
|
5583
5577
|
;
|
|
@@ -7168,6 +7162,7 @@ var $;
|
|
|
7168
7162
|
},
|
|
7169
7163
|
Body_content: {
|
|
7170
7164
|
padding: $mol_gap.block,
|
|
7165
|
+
minHeight: 0,
|
|
7171
7166
|
flex: {
|
|
7172
7167
|
direction: 'column',
|
|
7173
7168
|
shrink: 1,
|