Skip to content

Commit

Permalink
Deploying to gh-pages from @ 28237cd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-donarise committed Sep 7, 2024
1 parent a1da19a commit fed94e5
Show file tree
Hide file tree
Showing 17 changed files with 7,869 additions and 7,816 deletions.
7,576 changes: 3,788 additions & 3,788 deletions node.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.d.ts.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

89 changes: 47 additions & 42 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,21 +610,28 @@ var $;
"use strict";
var $;
(function ($) {
class $mol_after_timeout extends $mol_object2 {
delay;
class $mol_after_tick extends $mol_object2 {
task;
id;
constructor(delay, task) {
static promise = null;
cancelled = false;
constructor(task) {
super();
this.delay = delay;
this.task = task;
this.id = setTimeout(task, delay);
if (!$mol_after_tick.promise)
$mol_after_tick.promise = Promise.resolve().then(() => {
$mol_after_tick.promise = null;
});
$mol_after_tick.promise.then(() => {
if (this.cancelled)
return;
task();
});
}
destructor() {
clearTimeout(this.id);
this.cancelled = true;
}
}
$.$mol_after_timeout = $mol_after_timeout;
$.$mol_after_tick = $mol_after_tick;
})($ || ($ = {}));

;
Expand Down Expand Up @@ -657,7 +664,7 @@ var $;
static plan() {
if (this.plan_task)
return;
this.plan_task = new $mol_after_timeout(0, () => {
this.plan_task = new $mol_after_tick(() => {
try {
this.sync();
}
Expand Down Expand Up @@ -931,6 +938,27 @@ var $;
$.$mol_key = $mol_key;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
class $mol_after_timeout extends $mol_object2 {
delay;
task;
id;
constructor(delay, task) {
super();
this.delay = delay;
this.task = task;
this.id = setTimeout(task, delay);
}
destructor() {
clearTimeout(this.id);
}
}
$.$mol_after_timeout = $mol_after_timeout;
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down Expand Up @@ -984,9 +1012,10 @@ var $;
return right_cache;
}
else {
left_cache = new WeakMap([[right, true]]);
left_cache = new WeakMap();
$.$mol_compare_deep_cache.set(left, left_cache);
}
left_cache.set(right, true);
let result;
try {
if (!left_proto)
Expand Down Expand Up @@ -2058,30 +2087,6 @@ var $;
$.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
class $mol_after_tick extends $mol_object2 {
task;
promise;
cancelled = false;
constructor(task) {
super();
this.task = task;
this.promise = Promise.resolve().then(() => {
if (this.cancelled)
return;
task();
});
}
destructor() {
this.cancelled = true;
}
}
$.$mol_after_tick = $mol_after_tick;
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down Expand Up @@ -3002,9 +3007,7 @@ var $;
const win = this.$.$mol_dom_context;
if (win.parent !== win.self && !win.document.hasFocus())
return;
new this.$.$mol_after_timeout(500, () => {
this.focused(true);
});
this.focused(true);
}
destructor() {
const node = $mol_wire_probe(() => this.dom_node());
Expand Down Expand Up @@ -3085,7 +3088,7 @@ var $;
"use strict";
var $;
(function ($) {
$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\tbackground: 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\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\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=\"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");
$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\tbackground: 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\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\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=\"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");
})($ || ($ = {}));

;
Expand Down Expand Up @@ -3503,14 +3506,14 @@ var $;
continue;
if (n === placeholder)
continue;
n.bring();
new this.$.$mol_after_frame(() => {
new this.$.$mol_after_tick(() => {
const b = this.dom_node();
const p = n.dom_node();
b.scroll({
left: p.offsetLeft + p.offsetWidth - b.offsetWidth,
behavior: 'smooth',
});
new this.$.$mol_after_timeout(1000, () => n.bring());
});
break;
}
Expand Down Expand Up @@ -16892,7 +16895,8 @@ var $;
setup() {
return [
...this.json().payload.fixel ? [this.Fixel()] : [],
this.multi_jsons() ? this.Intersection_on() : this.Nonformers(),
...this.multi_jsons() ? [this.Intersection_on()] : [],
this.Nonformers(),
...this.show_setup() ? this.sorting() : [],
];
}
Expand Down Expand Up @@ -17974,7 +17978,8 @@ var $;
setup() {
return [
...this.show_fixel() ? [this.Fixel()] : [],
this.multi_jsons() ? this.Intersection_on() : this.Nonformers(),
...this.multi_jsons() ? [this.Intersection_on()] : [],
this.Nonformers(),
...this.show_setup() ? [this.X_order(), this.Y_order(), this.Z_order()] : [],
];
}
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

89 changes: 47 additions & 42 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -610,21 +610,28 @@ var $;
"use strict";
var $;
(function ($) {
class $mol_after_timeout extends $mol_object2 {
delay;
class $mol_after_tick extends $mol_object2 {
task;
id;
constructor(delay, task) {
static promise = null;
cancelled = false;
constructor(task) {
super();
this.delay = delay;
this.task = task;
this.id = setTimeout(task, delay);
if (!$mol_after_tick.promise)
$mol_after_tick.promise = Promise.resolve().then(() => {
$mol_after_tick.promise = null;
});
$mol_after_tick.promise.then(() => {
if (this.cancelled)
return;
task();
});
}
destructor() {
clearTimeout(this.id);
this.cancelled = true;
}
}
$.$mol_after_timeout = $mol_after_timeout;
$.$mol_after_tick = $mol_after_tick;
})($ || ($ = {}));

;
Expand Down Expand Up @@ -657,7 +664,7 @@ var $;
static plan() {
if (this.plan_task)
return;
this.plan_task = new $mol_after_timeout(0, () => {
this.plan_task = new $mol_after_tick(() => {
try {
this.sync();
}
Expand Down Expand Up @@ -931,6 +938,27 @@ var $;
$.$mol_key = $mol_key;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
class $mol_after_timeout extends $mol_object2 {
delay;
task;
id;
constructor(delay, task) {
super();
this.delay = delay;
this.task = task;
this.id = setTimeout(task, delay);
}
destructor() {
clearTimeout(this.id);
}
}
$.$mol_after_timeout = $mol_after_timeout;
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down Expand Up @@ -984,9 +1012,10 @@ var $;
return right_cache;
}
else {
left_cache = new WeakMap([[right, true]]);
left_cache = new WeakMap();
$.$mol_compare_deep_cache.set(left, left_cache);
}
left_cache.set(right, true);
let result;
try {
if (!left_proto)
Expand Down Expand Up @@ -2058,30 +2087,6 @@ var $;
$.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
})($ || ($ = {}));

;
"use strict";
var $;
(function ($) {
class $mol_after_tick extends $mol_object2 {
task;
promise;
cancelled = false;
constructor(task) {
super();
this.task = task;
this.promise = Promise.resolve().then(() => {
if (this.cancelled)
return;
task();
});
}
destructor() {
this.cancelled = true;
}
}
$.$mol_after_tick = $mol_after_tick;
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down Expand Up @@ -3002,9 +3007,7 @@ var $;
const win = this.$.$mol_dom_context;
if (win.parent !== win.self && !win.document.hasFocus())
return;
new this.$.$mol_after_timeout(500, () => {
this.focused(true);
});
this.focused(true);
}
destructor() {
const node = $mol_wire_probe(() => this.dom_node());
Expand Down Expand Up @@ -3085,7 +3088,7 @@ var $;
"use strict";
var $;
(function ($) {
$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\tbackground: 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\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\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=\"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");
$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\tbackground: 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\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\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=\"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");
})($ || ($ = {}));

;
Expand Down Expand Up @@ -3503,14 +3506,14 @@ var $;
continue;
if (n === placeholder)
continue;
n.bring();
new this.$.$mol_after_frame(() => {
new this.$.$mol_after_tick(() => {
const b = this.dom_node();
const p = n.dom_node();
b.scroll({
left: p.offsetLeft + p.offsetWidth - b.offsetWidth,
behavior: 'smooth',
});
new this.$.$mol_after_timeout(1000, () => n.bring());
});
break;
}
Expand Down Expand Up @@ -16892,7 +16895,8 @@ var $;
setup() {
return [
...this.json().payload.fixel ? [this.Fixel()] : [],
this.multi_jsons() ? this.Intersection_on() : this.Nonformers(),
...this.multi_jsons() ? [this.Intersection_on()] : [],
this.Nonformers(),
...this.show_setup() ? this.sorting() : [],
];
}
Expand Down Expand Up @@ -17974,7 +17978,8 @@ var $;
setup() {
return [
...this.show_fixel() ? [this.Fixel()] : [],
this.multi_jsons() ? this.Intersection_on() : this.Nonformers(),
...this.multi_jsons() ? [this.Intersection_on()] : [],
this.Nonformers(),
...this.show_setup() ? [this.X_order(), this.Y_order(), this.Z_order()] : [],
];
}
Expand Down
Loading

0 comments on commit fed94e5

Please sign in to comment.