mam 1.11.697 → 1.11.699
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 +211 -35
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -11210,6 +11210,209 @@ var $;
|
|
|
11210
11210
|
$.$mol_style_prop = $mol_style_prop;
|
|
11211
11211
|
})($ || ($ = {}));
|
|
11212
11212
|
|
|
11213
|
+
;
|
|
11214
|
+
"use strict";
|
|
11215
|
+
|
|
11216
|
+
;
|
|
11217
|
+
"use strict";
|
|
11218
|
+
var $;
|
|
11219
|
+
(function ($) {
|
|
11220
|
+
class $mol_state_arg extends $mol_object {
|
|
11221
|
+
prefix;
|
|
11222
|
+
static prolog = '';
|
|
11223
|
+
static separator = ' ';
|
|
11224
|
+
static href(next) {
|
|
11225
|
+
return next || process.argv.slice(2).join(' ');
|
|
11226
|
+
}
|
|
11227
|
+
static href_normal() {
|
|
11228
|
+
return this.link({});
|
|
11229
|
+
}
|
|
11230
|
+
static dict(next) {
|
|
11231
|
+
if (next !== void 0)
|
|
11232
|
+
this.href(this.make_link(next));
|
|
11233
|
+
var href = this.href();
|
|
11234
|
+
var chunks = href.split(' ');
|
|
11235
|
+
var params = {};
|
|
11236
|
+
chunks.forEach(chunk => {
|
|
11237
|
+
if (!chunk)
|
|
11238
|
+
return;
|
|
11239
|
+
var vals = chunk.split('=').map(decodeURIComponent);
|
|
11240
|
+
params[vals.shift()] = vals.join('=');
|
|
11241
|
+
});
|
|
11242
|
+
return params;
|
|
11243
|
+
}
|
|
11244
|
+
static value(key, next) {
|
|
11245
|
+
if (next === void 0)
|
|
11246
|
+
return this.dict()[key] ?? null;
|
|
11247
|
+
this.href(this.link({ [key]: next }));
|
|
11248
|
+
return next;
|
|
11249
|
+
}
|
|
11250
|
+
static link(next) {
|
|
11251
|
+
const params = {};
|
|
11252
|
+
var prev = this.dict();
|
|
11253
|
+
for (var key in prev) {
|
|
11254
|
+
params[key] = prev[key];
|
|
11255
|
+
}
|
|
11256
|
+
for (var key in next) {
|
|
11257
|
+
params[key] = next[key];
|
|
11258
|
+
}
|
|
11259
|
+
return this.make_link(params);
|
|
11260
|
+
}
|
|
11261
|
+
static make_link(next) {
|
|
11262
|
+
const chunks = [];
|
|
11263
|
+
for (const key in next) {
|
|
11264
|
+
if (next[key] !== null) {
|
|
11265
|
+
chunks.push([key, next[key]].map(encodeURIComponent).join('='));
|
|
11266
|
+
}
|
|
11267
|
+
}
|
|
11268
|
+
return chunks.join(' ');
|
|
11269
|
+
}
|
|
11270
|
+
static go(next) {
|
|
11271
|
+
this.href(this.link(next));
|
|
11272
|
+
}
|
|
11273
|
+
static commit() { }
|
|
11274
|
+
constructor(prefix = '') {
|
|
11275
|
+
super();
|
|
11276
|
+
this.prefix = prefix;
|
|
11277
|
+
}
|
|
11278
|
+
value(key, next) {
|
|
11279
|
+
return this.constructor.value(this.prefix + key, next);
|
|
11280
|
+
}
|
|
11281
|
+
sub(postfix) {
|
|
11282
|
+
return new this.constructor(this.prefix + postfix + '.');
|
|
11283
|
+
}
|
|
11284
|
+
link(next) {
|
|
11285
|
+
const prefix = this.prefix;
|
|
11286
|
+
const dict = {};
|
|
11287
|
+
for (var key in next) {
|
|
11288
|
+
dict[prefix + key] = next[key];
|
|
11289
|
+
}
|
|
11290
|
+
return this.constructor.link(dict);
|
|
11291
|
+
}
|
|
11292
|
+
}
|
|
11293
|
+
__decorate([
|
|
11294
|
+
$mol_mem
|
|
11295
|
+
], $mol_state_arg, "href", null);
|
|
11296
|
+
__decorate([
|
|
11297
|
+
$mol_mem
|
|
11298
|
+
], $mol_state_arg, "href_normal", null);
|
|
11299
|
+
__decorate([
|
|
11300
|
+
$mol_mem
|
|
11301
|
+
], $mol_state_arg, "dict", null);
|
|
11302
|
+
__decorate([
|
|
11303
|
+
$mol_mem_key
|
|
11304
|
+
], $mol_state_arg, "value", null);
|
|
11305
|
+
__decorate([
|
|
11306
|
+
$mol_action
|
|
11307
|
+
], $mol_state_arg, "go", null);
|
|
11308
|
+
$.$mol_state_arg = $mol_state_arg;
|
|
11309
|
+
})($ || ($ = {}));
|
|
11310
|
+
|
|
11311
|
+
;
|
|
11312
|
+
"use strict";
|
|
11313
|
+
var $;
|
|
11314
|
+
(function ($) {
|
|
11315
|
+
$mol_test_mocks.push(context => {
|
|
11316
|
+
class $mol_state_arg_mock extends $mol_state_arg {
|
|
11317
|
+
static $ = context;
|
|
11318
|
+
static href(next) { return next || ''; }
|
|
11319
|
+
static go(next) {
|
|
11320
|
+
this.href(this.link(next));
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
__decorate([
|
|
11324
|
+
$mol_mem
|
|
11325
|
+
], $mol_state_arg_mock, "href", null);
|
|
11326
|
+
__decorate([
|
|
11327
|
+
$mol_action
|
|
11328
|
+
], $mol_state_arg_mock, "go", null);
|
|
11329
|
+
context.$mol_state_arg = $mol_state_arg_mock;
|
|
11330
|
+
});
|
|
11331
|
+
})($ || ($ = {}));
|
|
11332
|
+
|
|
11333
|
+
;
|
|
11334
|
+
"use strict";
|
|
11335
|
+
var $;
|
|
11336
|
+
(function ($) {
|
|
11337
|
+
class $mol_media extends $mol_object2 {
|
|
11338
|
+
static match(query, next) {
|
|
11339
|
+
if (next !== undefined)
|
|
11340
|
+
return next;
|
|
11341
|
+
const res = this.$.$mol_dom_context.matchMedia?.(query) ?? {};
|
|
11342
|
+
res.onchange = () => this.match(query, res.matches);
|
|
11343
|
+
return res.matches;
|
|
11344
|
+
}
|
|
11345
|
+
}
|
|
11346
|
+
__decorate([
|
|
11347
|
+
$mol_mem_key
|
|
11348
|
+
], $mol_media, "match", null);
|
|
11349
|
+
$.$mol_media = $mol_media;
|
|
11350
|
+
})($ || ($ = {}));
|
|
11351
|
+
|
|
11352
|
+
;
|
|
11353
|
+
"use strict";
|
|
11354
|
+
var $;
|
|
11355
|
+
(function ($) {
|
|
11356
|
+
$mol_test({
|
|
11357
|
+
'local get set delete'() {
|
|
11358
|
+
var key = '$mol_state_local_test:' + Math.random();
|
|
11359
|
+
$mol_assert_equal($mol_state_local.value(key), null);
|
|
11360
|
+
$mol_state_local.value(key, 123);
|
|
11361
|
+
$mol_assert_equal($mol_state_local.value(key), 123);
|
|
11362
|
+
$mol_state_local.value(key, null);
|
|
11363
|
+
$mol_assert_equal($mol_state_local.value(key), null);
|
|
11364
|
+
},
|
|
11365
|
+
});
|
|
11366
|
+
})($ || ($ = {}));
|
|
11367
|
+
|
|
11368
|
+
;
|
|
11369
|
+
"use strict";
|
|
11370
|
+
var $;
|
|
11371
|
+
(function ($) {
|
|
11372
|
+
$mol_test_mocks.push(context => {
|
|
11373
|
+
class $mol_state_local_mock extends $mol_state_local {
|
|
11374
|
+
static state = {};
|
|
11375
|
+
static value(key, next = this.state[key]) {
|
|
11376
|
+
return this.state[key] = (next || null);
|
|
11377
|
+
}
|
|
11378
|
+
}
|
|
11379
|
+
__decorate([
|
|
11380
|
+
$mol_mem_key
|
|
11381
|
+
], $mol_state_local_mock, "value", null);
|
|
11382
|
+
context.$mol_state_local = $mol_state_local_mock;
|
|
11383
|
+
});
|
|
11384
|
+
})($ || ($ = {}));
|
|
11385
|
+
|
|
11386
|
+
;
|
|
11387
|
+
"use strict";
|
|
11388
|
+
var $;
|
|
11389
|
+
(function ($) {
|
|
11390
|
+
function parse(theme) {
|
|
11391
|
+
if (theme === 'true')
|
|
11392
|
+
return true;
|
|
11393
|
+
if (theme === 'false')
|
|
11394
|
+
return false;
|
|
11395
|
+
return null;
|
|
11396
|
+
}
|
|
11397
|
+
function $mol_lights(next) {
|
|
11398
|
+
const arg = parse(this.$mol_state_arg.value('mol_lights'));
|
|
11399
|
+
const base = this.$mol_media.match('(prefers-color-scheme: light)');
|
|
11400
|
+
if (next === undefined) {
|
|
11401
|
+
return arg ?? this.$mol_state_local.value('$mol_lights') ?? base;
|
|
11402
|
+
}
|
|
11403
|
+
else {
|
|
11404
|
+
if (arg === null) {
|
|
11405
|
+
this.$mol_state_local.value('$mol_lights', next === base ? null : next);
|
|
11406
|
+
}
|
|
11407
|
+
else {
|
|
11408
|
+
this.$mol_state_arg.value('mol_lights', String(next));
|
|
11409
|
+
}
|
|
11410
|
+
return next;
|
|
11411
|
+
}
|
|
11412
|
+
}
|
|
11413
|
+
$.$mol_lights = $mol_lights;
|
|
11414
|
+
})($ || ($ = {}));
|
|
11415
|
+
|
|
11213
11416
|
;
|
|
11214
11417
|
"use strict";
|
|
11215
11418
|
var $;
|
|
@@ -11238,6 +11441,13 @@ var $;
|
|
|
11238
11441
|
$mol_style_attach("mol/theme/theme.css", ":root {\n\t--mol_theme_hue: 240deg;\n\t--mol_theme_hue_spread: 90deg;\n\tcolor-scheme: dark light;\n}\n\n:where([mol_theme]) {\n\tcolor: var(--mol_theme_text);\n\tfill: var(--mol_theme_text);\n\tbackground-color: var(--mol_theme_back);\n}\n\t\n:root, [mol_theme=\"$mol_theme_dark\"], :where([mol_theme=\"$mol_theme_dark\"]) [mol_theme] {\n\n\t--mol_theme_luma: -1;\n\t--mol_theme_image: invert(1) hue-rotate( 180deg );\n\t--mol_theme_spirit: hsl( 0deg, 0%, 0%, .75 );\n\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 20%, 10% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 50%, 20%, .25 );\n\t--mol_theme_field: hsl( var(--mol_theme_hue), 50%, 8%, .25 );\n\t--mol_theme_hover: hsl( var(--mol_theme_hue), 0%, 50%, .1 );\n\t\n\t--mol_theme_text: hsl( var(--mol_theme_hue), 0%, 80% );\n\t--mol_theme_shade: hsl( var(--mol_theme_hue), 0%, 60%, 1 );\n\t--mol_theme_line: hsl( var(--mol_theme_hue), 0%, 50%, .25 );\n\t--mol_theme_focus: hsl( calc( var(--mol_theme_hue) + 180deg ), 100%, 65% );\n\t\n\t--mol_theme_control: hsl( var(--mol_theme_hue), 60%, 65% );\n\t--mol_theme_current: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 60%, 65% );\n\t--mol_theme_special: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 60%, 65% );\n\n} @supports( color: oklch( 0% 0 0deg ) ) {\n:root, [mol_theme=\"$mol_theme_dark\"], :where([mol_theme=\"$mol_theme_dark\"]) [mol_theme] {\n\t\n\t--mol_theme_back: oklch( 20% .03 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 30% .05 var(--mol_theme_hue) / .25 );\n\t--mol_theme_field: oklch( 15% 0 var(--mol_theme_hue) / .25 );\n\t--mol_theme_hover: oklch( 70% 0 var(--mol_theme_hue) / .1 );\n\t\n\t--mol_theme_text: oklch( 80% 0 var(--mol_theme_hue) );\n\t--mol_theme_shade: oklch( 60% 0 var(--mol_theme_hue) );\n\t--mol_theme_line: oklch( 60% 0 var(--mol_theme_hue) / .25 );\n\t--mol_theme_focus: oklch( 80% .2 calc( var(--mol_theme_hue) + 180deg ) );\n\t\n\t--mol_theme_control: oklch( 70% .1 var(--mol_theme_hue) );\n\t--mol_theme_current: oklch( 70% .2 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) );\n\t--mol_theme_special: oklch( 70% .2 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) );\n\n} }\n\n[mol_theme=\"$mol_theme_light\"], :where([mol_theme=\"$mol_theme_light\"]) [mol_theme] {\n\t\n\t--mol_theme_luma: 1;\n\t--mol_theme_image: none;\n\t--mol_theme_spirit: hsl( 0deg, 0%, 100%, .75 );\n\t\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 20%, 92% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 50%, 100%, .5 );\n\t--mol_theme_field: hsl( var(--mol_theme_hue), 50%, 100%, .75 );\n\t--mol_theme_hover: hsl( var(--mol_theme_hue), 0%, 50%, .1 );\n\t\n\t--mol_theme_text: hsl( var(--mol_theme_hue), 0%, 0% );\n\t--mol_theme_shade: hsl( var(--mol_theme_hue), 0%, 40%, 1 );\n\t--mol_theme_line: hsl( var(--mol_theme_hue), 0%, 50%, .25 );\n\t--mol_theme_focus: hsl( calc( var(--mol_theme_hue) + 180deg ), 100%, 40% );\n\t\n\t--mol_theme_control: hsl( var(--mol_theme_hue), 80%, 30% );\n\t--mol_theme_current: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 80%, 30% );\n\t--mol_theme_special: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 80%, 30% );\n\n} @supports( color: oklch( 0% 0 0deg ) ) {\n[mol_theme=\"$mol_theme_light\"], :where([mol_theme=\"$mol_theme_light\"]) [mol_theme] {\n\t--mol_theme_back: oklch( 92% .01 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 99% .01 var(--mol_theme_hue) / .5 );\n\t--mol_theme_field: oklch( 100% 0 var(--mol_theme_hue) / .5 );\n\t--mol_theme_hover: oklch( 70% 0 var(--mol_theme_hue) / .1 );\n\t\n\t--mol_theme_text: oklch( 20% 0 var(--mol_theme_hue) );\n\t--mol_theme_shade: oklch( 60% 0 var(--mol_theme_hue) );\n\t--mol_theme_line: oklch( 50% 0 var(--mol_theme_hue) / .25 );\n\t--mol_theme_focus: oklch( 60% .2 calc( var(--mol_theme_hue) + 180deg ) );\n\t\n\t--mol_theme_control: oklch( 40% .15 var(--mol_theme_hue) );\n\t--mol_theme_current: oklch( 50% .2 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) );\n\t--mol_theme_special: oklch( 50% .2 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) );\n\n} }\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_base\"] {\n\t--mol_theme_back: oklch( 25% .075 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 35% .1 var(--mol_theme_hue) / .25 );\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_base\"] {\n\t--mol_theme_back: oklch( 85% .075 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 98% .03 var(--mol_theme_hue) / .25 );\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_current\"] {\n\t--mol_theme_back: oklch( 25% .05 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) );\n\t--mol_theme_card: oklch( 35% .1 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) / .25 );\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_current\"] {\n\t--mol_theme_back: oklch( 85% .05 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) );\n\t--mol_theme_card: oklch( 98% .03 calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ) / .25 );\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_special\"] {\n\t--mol_theme_back: oklch( 25% .05 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) );\n\t--mol_theme_card: oklch( 35% .1 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) / .25 );\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_special\"] {\n\t--mol_theme_back: oklch( 85% .05 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) );\n\t--mol_theme_card: oklch( 98% .03 calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ) / .25 );\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_accent\"] {\n\t--mol_theme_back: oklch( 35% .1 calc( var(--mol_theme_hue) + 180deg ) );\n\t--mol_theme_card: oklch( 45% .15 calc( var(--mol_theme_hue) + 180deg ) / .25 );\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_accent\"] {\n\t--mol_theme_back: oklch( 83% .1 calc( var(--mol_theme_hue) + 180deg ) );\n\t--mol_theme_card: oklch( 98% .03 calc( var(--mol_theme_hue) + 180deg ) / .25 );\n}\n\n");
|
|
11239
11442
|
})($ || ($ = {}));
|
|
11240
11443
|
|
|
11444
|
+
;
|
|
11445
|
+
"use strict";
|
|
11446
|
+
var $;
|
|
11447
|
+
(function ($) {
|
|
11448
|
+
$mol_style_attach('$mol_theme_lights', `:root { --mol_theme_back: oklch( ${$$.$mol_lights() ? 92 : 20}% .01 var(--mol_theme_hue) ) }`);
|
|
11449
|
+
})($ || ($ = {}));
|
|
11450
|
+
|
|
11241
11451
|
;
|
|
11242
11452
|
"use strict";
|
|
11243
11453
|
var $;
|
|
@@ -11769,7 +11979,7 @@ var $;
|
|
|
11769
11979
|
"use strict";
|
|
11770
11980
|
var $;
|
|
11771
11981
|
(function ($) {
|
|
11772
|
-
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\
|
|
11982
|
+
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\t/* background: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text); */\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n\toverscroll-behavior: contain; /** Disable navigation gestures **/\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"], [mol_view_error=\"$mol_promise_blocker\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .25;\n\t}\n\t20% {\n\t\topacity: .75;\n\t}\n\tto {\n\t\topacity: .25;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"$mol_promise_blocker\"]),\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps(20,end) infinite;\n}\n");
|
|
11773
11983
|
})($ || ($ = {}));
|
|
11774
11984
|
|
|
11775
11985
|
;
|
|
@@ -13414,40 +13624,6 @@ Clear
|
|
|
13414
13624
|
})($$ = $_1.$$ || ($_1.$$ = {}));
|
|
13415
13625
|
})($ || ($ = {}));
|
|
13416
13626
|
|
|
13417
|
-
;
|
|
13418
|
-
"use strict";
|
|
13419
|
-
var $;
|
|
13420
|
-
(function ($) {
|
|
13421
|
-
$mol_test({
|
|
13422
|
-
'local get set delete'() {
|
|
13423
|
-
var key = '$mol_state_local_test:' + Math.random();
|
|
13424
|
-
$mol_assert_equal($mol_state_local.value(key), null);
|
|
13425
|
-
$mol_state_local.value(key, 123);
|
|
13426
|
-
$mol_assert_equal($mol_state_local.value(key), 123);
|
|
13427
|
-
$mol_state_local.value(key, null);
|
|
13428
|
-
$mol_assert_equal($mol_state_local.value(key), null);
|
|
13429
|
-
},
|
|
13430
|
-
});
|
|
13431
|
-
})($ || ($ = {}));
|
|
13432
|
-
|
|
13433
|
-
;
|
|
13434
|
-
"use strict";
|
|
13435
|
-
var $;
|
|
13436
|
-
(function ($) {
|
|
13437
|
-
$mol_test_mocks.push(context => {
|
|
13438
|
-
class $mol_state_local_mock extends $mol_state_local {
|
|
13439
|
-
static state = {};
|
|
13440
|
-
static value(key, next = this.state[key]) {
|
|
13441
|
-
return this.state[key] = (next || null);
|
|
13442
|
-
}
|
|
13443
|
-
}
|
|
13444
|
-
__decorate([
|
|
13445
|
-
$mol_mem_key
|
|
13446
|
-
], $mol_state_local_mock, "value", null);
|
|
13447
|
-
context.$mol_state_local = $mol_state_local_mock;
|
|
13448
|
-
});
|
|
13449
|
-
})($ || ($ = {}));
|
|
13450
|
-
|
|
13451
13627
|
;
|
|
13452
13628
|
"use strict";
|
|
13453
13629
|
var $;
|