Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3edd628 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Dec 14, 2024
1 parent 1d8c5a2 commit b3f6c3c
Show file tree
Hide file tree
Showing 17 changed files with 225 additions and 200 deletions.
86 changes: 43 additions & 43 deletions node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7885,42 +7885,42 @@ declare namespace $ {

declare namespace $ {

type $mol_view__sub_mol_text_code_row_1 = $mol_type_enforce<
type $mol_view__sub_mol_text_code_line_1 = $mol_type_enforce<
readonly(any)[]
,
ReturnType< $mol_view['sub'] >
>
type $mol_text_code_token__type_mol_text_code_row_2 = $mol_type_enforce<
ReturnType< $mol_text_code_row['token_type'] >
type $mol_text_code_token__type_mol_text_code_line_2 = $mol_type_enforce<
ReturnType< $mol_text_code_line['token_type'] >
,
ReturnType< $mol_text_code_token['type'] >
>
type $mol_text_code_token__haystack_mol_text_code_row_3 = $mol_type_enforce<
ReturnType< $mol_text_code_row['token_text'] >
type $mol_text_code_token__haystack_mol_text_code_line_3 = $mol_type_enforce<
ReturnType< $mol_text_code_line['token_text'] >
,
ReturnType< $mol_text_code_token['haystack'] >
>
type $mol_text_code_token__needle_mol_text_code_row_4 = $mol_type_enforce<
ReturnType< $mol_text_code_row['highlight'] >
type $mol_text_code_token__needle_mol_text_code_line_4 = $mol_type_enforce<
ReturnType< $mol_text_code_line['highlight'] >
,
ReturnType< $mol_text_code_token['needle'] >
>
type $mol_text_code_token_link__haystack_mol_text_code_row_5 = $mol_type_enforce<
ReturnType< $mol_text_code_row['token_text'] >
type $mol_text_code_token_link__haystack_mol_text_code_line_5 = $mol_type_enforce<
ReturnType< $mol_text_code_line['token_text'] >
,
ReturnType< $mol_text_code_token_link['haystack'] >
>
type $mol_text_code_token_link__needle_mol_text_code_row_6 = $mol_type_enforce<
ReturnType< $mol_text_code_row['highlight'] >
type $mol_text_code_token_link__needle_mol_text_code_line_6 = $mol_type_enforce<
ReturnType< $mol_text_code_line['highlight'] >
,
ReturnType< $mol_text_code_token_link['needle'] >
>
type $mol_text_code_token_link__uri_mol_text_code_row_7 = $mol_type_enforce<
ReturnType< $mol_text_code_row['token_uri'] >
type $mol_text_code_token_link__uri_mol_text_code_line_7 = $mol_type_enforce<
ReturnType< $mol_text_code_line['token_uri'] >
,
ReturnType< $mol_text_code_token_link['uri'] >
>
export class $mol_text_code_row extends $mol_paragraph {
export class $mol_text_code_line extends $mol_paragraph {
numb( ): number
token_type( id: any): string
token_text( id: any): string
Expand All @@ -7939,9 +7939,9 @@ declare namespace $ {

}

//# sourceMappingURL=row.view.tree.d.ts.map
//# sourceMappingURL=line.view.tree.d.ts.map
declare namespace $.$$ {
class $mol_text_code_row extends $.$mol_text_code_row {
class $mol_text_code_line extends $.$mol_text_code_line {
maximal_width(): number;
syntax(): $mol_syntax2<{
'code-indent': RegExp;
Expand Down Expand Up @@ -8054,35 +8054,35 @@ declare namespace $.$$ {

declare namespace $ {

type $mol_text_code_row__numb_showed_mol_text_code_1 = $mol_type_enforce<
type $mol_text_code_line__numb_showed_mol_text_code_1 = $mol_type_enforce<
ReturnType< $mol_text_code['sidebar_showed'] >
,
ReturnType< $mol_text_code_row['numb_showed'] >
ReturnType< $mol_text_code_line['numb_showed'] >
>
type $mol_text_code_row__numb_mol_text_code_2 = $mol_type_enforce<
type $mol_text_code_line__numb_mol_text_code_2 = $mol_type_enforce<
ReturnType< $mol_text_code['row_numb'] >
,
ReturnType< $mol_text_code_row['numb'] >
ReturnType< $mol_text_code_line['numb'] >
>
type $mol_text_code_row__text_mol_text_code_3 = $mol_type_enforce<
type $mol_text_code_line__text_mol_text_code_3 = $mol_type_enforce<
ReturnType< $mol_text_code['row_text'] >
,
ReturnType< $mol_text_code_row['text'] >
ReturnType< $mol_text_code_line['text'] >
>
type $mol_text_code_row__syntax_mol_text_code_4 = $mol_type_enforce<
type $mol_text_code_line__syntax_mol_text_code_4 = $mol_type_enforce<
ReturnType< $mol_text_code['syntax'] >
,
ReturnType< $mol_text_code_row['syntax'] >
ReturnType< $mol_text_code_line['syntax'] >
>
type $mol_text_code_row__uri_resolve_mol_text_code_5 = $mol_type_enforce<
type $mol_text_code_line__uri_resolve_mol_text_code_5 = $mol_type_enforce<
ReturnType< $mol_text_code['uri_resolve'] >
,
ReturnType< $mol_text_code_row['uri_resolve'] >
ReturnType< $mol_text_code_line['uri_resolve'] >
>
type $mol_text_code_row__highlight_mol_text_code_6 = $mol_type_enforce<
type $mol_text_code_line__highlight_mol_text_code_6 = $mol_type_enforce<
ReturnType< $mol_text_code['highlight'] >
,
ReturnType< $mol_text_code_row['highlight'] >
ReturnType< $mol_text_code_line['highlight'] >
>
type $mol_list__render_visible_only_mol_text_code_7 = $mol_type_enforce<
ReturnType< $mol_text_code['render_visible_only'] >
Expand Down Expand Up @@ -8112,7 +8112,7 @@ declare namespace $ {
syntax( ): any
uri_resolve( id: any): string
highlight( ): string
Row( id: any): $mol_text_code_row
Row( id: any): $mol_text_code_line
rows( ): readonly(any)[]
Rows( ): $mol_list
text_export( ): string
Expand All @@ -8134,7 +8134,7 @@ declare namespace $.$$ {
class $mol_text_code extends $.$mol_text_code {
render_visible_only(): boolean;
text_lines(): readonly string[];
rows(): $.$mol_text_code_row[];
rows(): $.$mol_text_code_line[];
row_text(index: number): string;
row_numb(index: number): number;
find_pos(offset: number): any;
Expand Down Expand Up @@ -8948,30 +8948,30 @@ declare namespace $ {
,
ReturnType< $mol_text_span['sub'] >
>
type $mol_text_code_row__numb_showed_mol_text_40 = $mol_type_enforce<
type $mol_text_code_line__numb_showed_mol_text_40 = $mol_type_enforce<
boolean
,
ReturnType< $mol_text_code_row['numb_showed'] >
ReturnType< $mol_text_code_line['numb_showed'] >
>
type $mol_text_code_row__highlight_mol_text_41 = $mol_type_enforce<
type $mol_text_code_line__highlight_mol_text_41 = $mol_type_enforce<
ReturnType< $mol_text['highlight'] >
,
ReturnType< $mol_text_code_row['highlight'] >
ReturnType< $mol_text_code_line['highlight'] >
>
type $mol_text_code_row__text_mol_text_42 = $mol_type_enforce<
type $mol_text_code_line__text_mol_text_42 = $mol_type_enforce<
ReturnType< $mol_text['line_text'] >
,
ReturnType< $mol_text_code_row['text'] >
ReturnType< $mol_text_code_line['text'] >
>
type $mol_text_code_row__uri_resolve_mol_text_43 = $mol_type_enforce<
type $mol_text_code_line__uri_resolve_mol_text_43 = $mol_type_enforce<
ReturnType< $mol_text['uri_resolve'] >
,
ReturnType< $mol_text_code_row['uri_resolve'] >
ReturnType< $mol_text_code_line['uri_resolve'] >
>
type $mol_text_code_row__syntax_mol_text_44 = $mol_type_enforce<
type $mol_text_code_line__syntax_mol_text_44 = $mol_type_enforce<
ReturnType< $mol_text['code_syntax'] >
,
ReturnType< $mol_text_code_row['syntax'] >
ReturnType< $mol_text_code_line['syntax'] >
>
type $mol_link_iconed__uri_mol_text_45 = $mol_type_enforce<
ReturnType< $mol_text['link_uri'] >
Expand Down Expand Up @@ -9064,7 +9064,7 @@ declare namespace $ {
Grid_cell( id: any): $mol_text
String( id: any): $mol_dimmer
Span( id: any): $mol_text_span
Code_line( id: any): $mol_text_code_row
Code_line( id: any): $mol_text_code_line
Link( id: any): $mol_link_iconed
Link_http( id: any): $mol_link_iconed
Embed( id: any): $mol_embed_any
Expand Down Expand Up @@ -9169,7 +9169,7 @@ declare namespace $.$$ {
'code-punctuation': RegExp;
}>;
block_text(index: number): string;
block_content(index: number): ($.$mol_dimmer | $.$mol_text_code_row | $.$mol_link_iconed | $.$mol_embed_any | $mol_text_span)[];
block_content(index: number): ($.$mol_dimmer | $.$mol_text_code_line | $.$mol_link_iconed | $.$mol_embed_any | $mol_text_span)[];
line_tokens(path: readonly number[]): Readonly<{
name: string;
found: string;
Expand All @@ -9182,7 +9182,7 @@ declare namespace $.$$ {
};
line_type(path: readonly number[]): string;
line_text(path: readonly number[]): string;
line_content(path: readonly number[]): ($.$mol_dimmer | $.$mol_text_code_row | $.$mol_link_iconed | $.$mol_embed_any | $mol_text_span)[];
line_content(path: readonly number[]): ($.$mol_dimmer | $.$mol_text_code_line | $.$mol_link_iconed | $.$mol_embed_any | $mol_text_span)[];
link_uri(path: readonly number[]): string;
link_host(path: readonly number[]): string;
auto_scroll(): void;
Expand Down
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.

45 changes: 25 additions & 20 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -16142,7 +16142,7 @@ var $;
})($ || ($ = {}));

;
($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
($.$mol_text_code_line) = class $mol_text_code_line extends ($.$mol_paragraph) {
numb(){
return 0;
}
Expand Down Expand Up @@ -16196,9 +16196,9 @@ var $;
return null;
}
};
($mol_mem(($.$mol_text_code_row.prototype), "Numb"));
($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
($mol_mem_key(($.$mol_text_code_row.prototype), "Token_link"));
($mol_mem(($.$mol_text_code_line.prototype), "Numb"));
($mol_mem_key(($.$mol_text_code_line.prototype), "Token"));
($mol_mem_key(($.$mol_text_code_line.prototype), "Token_link"));


;
Expand Down Expand Up @@ -16311,7 +16311,7 @@ var $;
(function ($) {
var $$;
(function ($$) {
class $mol_text_code_row extends $.$mol_text_code_row {
class $mol_text_code_line extends $.$mol_text_code_line {
maximal_width() {
return this.text().length * this.letter_width();
}
Expand Down Expand Up @@ -16393,29 +16393,29 @@ var $;
}
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "tokens", null);
], $mol_text_code_line.prototype, "tokens", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "row_content", null);
], $mol_text_code_line.prototype, "row_content", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "token_type", null);
], $mol_text_code_line.prototype, "token_type", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "token_content", null);
], $mol_text_code_line.prototype, "token_content", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "token_text", null);
], $mol_text_code_line.prototype, "token_text", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "token_uri", null);
], $mol_text_code_line.prototype, "token_uri", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "find_pos", null);
], $mol_text_code_line.prototype, "find_pos", null);
__decorate([
$mol_mem_key
], $mol_text_code_row.prototype, "find_token_pos", null);
$$.$mol_text_code_row = $mol_text_code_row;
], $mol_text_code_line.prototype, "find_token_pos", null);
$$.$mol_text_code_line = $mol_text_code_line;
})($$ = $.$$ || ($.$$ = {}));
})($ || ($ = {}));

Expand All @@ -16426,11 +16426,11 @@ var $;
var $$;
(function ($$) {
const { rem } = $mol_style_unit;
$mol_style_define($mol_text_code_row, {
$mol_style_define($mol_text_code_line, {
display: 'block',
position: 'relative',
font: {
family: 'inherit',
family: 'monospace',
},
Numb: {
textAlign: 'right',
Expand Down Expand Up @@ -16588,7 +16588,7 @@ var $;
return "";
}
Row(id){
const obj = new this.$.$mol_text_code_row();
const obj = new this.$.$mol_text_code_line();
(obj.numb_showed) = () => ((this.sidebar_showed()));
(obj.numb) = () => ((this.row_numb(id)));
(obj.text) = () => ((this.row_text(id)));
Expand Down Expand Up @@ -16740,14 +16740,19 @@ var $;
Rows: {
padding: $mol_gap.text,
},
Row: {
font: {
family: 'inherit',
},
},
Copy: {
alignSelf: 'flex-start',
justifySelf: 'flex-start',
},
'@': {
'mol_text_code_sidebar_showed': {
true: {
$mol_text_code_row: {
$mol_text_code_line: {
margin: {
left: rem(1.75),
},
Expand Down Expand Up @@ -18130,7 +18135,7 @@ var $;
return obj;
}
Code_line(id){
const obj = new this.$.$mol_text_code_row();
const obj = new this.$.$mol_text_code_line();
(obj.numb_showed) = () => (false);
(obj.highlight) = () => ((this.highlight()));
(obj.text) = () => ((this.line_text(id)));
Expand Down Expand Up @@ -18547,7 +18552,7 @@ var $;
"use strict";
var $;
(function ($) {
$mol_style_attach("mol/text/text/text.view.css", "[mol_text] {\n\tline-height: 1.5em;\n\tbox-sizing: border-box;\n\tborder-radius: var(--mol_gap_round);\n\twhite-space: pre-line;\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex: 0 0 auto;\n\ttab-size: 4;\n}\n\n[mol_text_paragraph] {\n\tpadding: var(--mol_gap_text);\n\toverflow: auto;\n\toverflow-x: overlay;\n\tmax-width: 100%;\n\tdisplay: block;\n\tmax-width: 60rem;\n}\n\n[mol_text_spoiler_label_paragraph] {\n\tpadding: 0;\n}\n\n[mol_text_span] {\n\tdisplay: inline;\n}\n\n[mol_text_string] {\n\tdisplay: inline;\n\tflex: 0 1 auto;\n\twhite-space: normal;\n}\n\n[mol_text_quote] {\n\tmargin: var(--mol_gap_block);\n\tpadding: var(--mol_gap_block);\n\tbackground: var(--mol_theme_card);\n\tbox-shadow: 0 0 0 1px var(--mol_theme_back);\n}\n\n[mol_text_header] {\n\tdisplay: block;\n\ttext-shadow: 0 0;\n\tfont-weight: normal;\n}\n\n* + [mol_text_header] {\n\tmargin-top: 0.75rem;\n}\n\nh1[mol_text_header] {\n\tfont-size: 1.5rem;\n}\n\nh2[mol_text_header] {\n\tfont-size: 1.5rem;\n\tfont-style: italic;\n}\n\nh3[mol_text_header] {\n\tfont-size: 1.25rem;\n}\n\nh4[mol_text_header] {\n\tfont-size: 1.25em;\n\tfont-style: italic;\n}\n\nh5[mol_text_header] {\n\tfont-size: 1rem;\n}\n\nh6[mol_text_header] {\n\tfont-size: 1rem;\n\tfont-style: italic;\n}\n\n[mol_text_header_link] {\n\tcolor: inherit;\n}\n\n[mol_text_table_cell] {\n\twidth: auto;\n\tdisplay: table-cell;\n\tvertical-align: baseline;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n[mol_text_grid_cell] {\n\twidth: auto;\n\tdisplay: table-cell;\n\tvertical-align: top;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n[mol_text_cut] {\n\tborder: none;\n\twidth: 100%;\n\tbox-shadow: 0 0 0 1px var(--mol_theme_line);\n}\n\n[mol_text_link_http],\n[mol_text_link] {\n\tpadding: 0;\n\tdisplay: inline;\n\twhite-space: nowrap;\n}\n\n[mol_text_link_icon] + [mol_text_embed] {\n\tmargin-left: -1.5rem;\n}\n\n[mol_text_embed_youtube] {\n\tdisplay: inline;\n}\n\n[mol_text_embed_youtube_image],\n[mol_text_embed_youtube_frame],\n[mol_text_embed_object] {\n\tobject-fit: contain;\n\tobject-position: center;\n\tdisplay: inline;\n\twidth: 100vw;\n\tmax-height: calc( 100vh - 6rem );\n\tvertical-align: top;\n}\n[mol_text_embed_object_fallback] {\n\tpadding: 0;\n}\n[mol_text_embed_image] {\n\tobject-fit: contain;\n\tobject-position: center;\n\tdisplay: inline;\n\t/* max-height: calc( 100vh - 6rem ); */\n\tvertical-align: top;\n}\n\n[mol_text_pre] {\n\twhite-space: pre;\n\toverflow-x: auto;\n\toverflow-x: overlay;\n\ttab-size: 2;\n}\n\n[mol_text_code_line] {\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n}\n\n[mol_text_type=\"strong\"] {\n\ttext-shadow: 0 0;\n\tfilter: contrast(1.5);\n}\n\n[mol_text_type=\"emphasis\"] {\n\tfont-style: italic;\n}\n\n[mol_text_type=\"insert\"] {\n\tcolor: var(--mol_theme_special);\n}\n\n[mol_text_type=\"delete\"] {\n\tcolor: var(--mol_theme_shade);\n}\n\n[mol_text_type=\"remark\"] {\n\tcolor: var(--mol_theme_shade);\n}\n\n[mol_text_type=\"quote\"] {\n\tfont-style: italic;\n}\n");
$mol_style_attach("mol/text/text/text.view.css", "[mol_text] {\n\tline-height: 1.5em;\n\tbox-sizing: border-box;\n\tborder-radius: var(--mol_gap_round);\n\twhite-space: pre-line;\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex: 0 0 auto;\n\ttab-size: 4;\n}\n\n[mol_text_paragraph] {\n\tpadding: var(--mol_gap_text);\n\toverflow: auto;\n\toverflow-x: overlay;\n\tmax-width: 100%;\n\tdisplay: block;\n\tmax-width: 60rem;\n}\n\n[mol_text_spoiler_label_paragraph] {\n\tpadding: 0;\n}\n\n[mol_text_span] {\n\tdisplay: inline;\n}\n\n[mol_text_string] {\n\tdisplay: inline;\n\tflex: 0 1 auto;\n\twhite-space: normal;\n}\n\n[mol_text_quote] {\n\tmargin: var(--mol_gap_block);\n\tpadding: var(--mol_gap_block);\n\tbackground: var(--mol_theme_card);\n\tbox-shadow: 0 0 0 1px var(--mol_theme_back);\n}\n\n[mol_text_header] {\n\tdisplay: block;\n\ttext-shadow: 0 0;\n\tfont-weight: normal;\n}\n\n* + [mol_text_header] {\n\tmargin-top: 0.75rem;\n}\n\nh1[mol_text_header] {\n\tfont-size: 1.5rem;\n}\n\nh2[mol_text_header] {\n\tfont-size: 1.5rem;\n\tfont-style: italic;\n}\n\nh3[mol_text_header] {\n\tfont-size: 1.25rem;\n}\n\nh4[mol_text_header] {\n\tfont-size: 1.25em;\n\tfont-style: italic;\n}\n\nh5[mol_text_header] {\n\tfont-size: 1rem;\n}\n\nh6[mol_text_header] {\n\tfont-size: 1rem;\n\tfont-style: italic;\n}\n\n[mol_text_header_link] {\n\tcolor: inherit;\n}\n\n[mol_text_table_cell] {\n\twidth: auto;\n\tdisplay: table-cell;\n\tvertical-align: baseline;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n[mol_text_grid_cell] {\n\twidth: auto;\n\tdisplay: table-cell;\n\tvertical-align: top;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n[mol_text_cut] {\n\tborder: none;\n\twidth: 100%;\n\tbox-shadow: 0 0 0 1px var(--mol_theme_line);\n}\n\n[mol_text_link_http],\n[mol_text_link] {\n\tpadding: 0;\n\tdisplay: inline;\n\twhite-space: nowrap;\n}\n\n[mol_text_link_icon] + [mol_text_embed] {\n\tmargin-left: -1.5rem;\n}\n\n[mol_text_embed_youtube] {\n\tdisplay: inline;\n}\n\n[mol_text_embed_youtube_image],\n[mol_text_embed_youtube_frame],\n[mol_text_embed_object] {\n\tobject-fit: contain;\n\tobject-position: center;\n\tdisplay: inline;\n\twidth: 100vw;\n\tmax-height: calc( 100vh - 6rem );\n\tvertical-align: top;\n}\n[mol_text_embed_object_fallback] {\n\tpadding: 0;\n}\n[mol_text_embed_image] {\n\tobject-fit: contain;\n\tobject-position: center;\n\tdisplay: inline;\n\t/* max-height: calc( 100vh - 6rem ); */\n\tvertical-align: top;\n}\n\n[mol_text_pre] {\n\twhite-space: pre;\n\toverflow-x: auto;\n\toverflow-x: overlay;\n\ttab-size: 2;\n}\n\n[mol_text_code_line] {\n\tdisplay: inline-block;\n}\n\n[mol_text_type=\"strong\"] {\n\ttext-shadow: 0 0;\n\tfilter: contrast(1.5);\n}\n\n[mol_text_type=\"emphasis\"] {\n\tfont-style: italic;\n}\n\n[mol_text_type=\"insert\"] {\n\tcolor: var(--mol_theme_special);\n}\n\n[mol_text_type=\"delete\"] {\n\tcolor: var(--mol_theme_shade);\n}\n\n[mol_text_type=\"remark\"] {\n\tcolor: var(--mol_theme_shade);\n}\n\n[mol_text_type=\"quote\"] {\n\tfont-style: italic;\n}\n");
})($ || ($ = {}));

;
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b3f6c3c

Please sign in to comment.