mol_view_tree2_lib 1.0.38 → 1.0.40

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/web.mjs CHANGED
@@ -4122,6 +4122,22 @@ var $;
4122
4122
  return pos - from;
4123
4123
  }
4124
4124
  $.$mol_charset_encode_to = $mol_charset_encode_to;
4125
+ function $mol_charset_encode_size(str) {
4126
+ let size = 0;
4127
+ for (let i = 0; i < str.length; i++) {
4128
+ let code = str.charCodeAt(i);
4129
+ if (code < 0x80)
4130
+ size += 1;
4131
+ else if (code < 0x800)
4132
+ size += 2;
4133
+ else if (code < 0xd800 || code >= 0xe000)
4134
+ size += 3;
4135
+ else
4136
+ size += 4;
4137
+ }
4138
+ return size;
4139
+ }
4140
+ $.$mol_charset_encode_size = $mol_charset_encode_size;
4125
4141
  })($ || ($ = {}));
4126
4142
 
4127
4143
  ;
package/web.test.js CHANGED
@@ -7183,6 +7183,7 @@ var $;
7183
7183
  Body_content: {
7184
7184
  padding: $mol_gap.block,
7185
7185
  minHeight: 0,
7186
+ minWidth: 0,
7186
7187
  flex: {
7187
7188
  direction: 'column',
7188
7189
  shrink: 1,