@tiavision/sinter-mail 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +137 -2
- package/docs/mail.md +267 -0
- package/docs/proposals/progressive-rendering.md +180 -0
- package/docs/proposals/sinter-mail.md +520 -0
- package/llms.txt +20 -0
- package/package.json +65 -4
- package/sinter/autolink.ts +98 -0
- package/sinter/components/internal/mail-a.html +5 -0
- package/sinter/components/internal/mail-abbr.html +5 -0
- package/sinter/components/internal/mail-address.html +5 -0
- package/sinter/components/internal/mail-article.html +5 -0
- package/sinter/components/internal/mail-aside.html +5 -0
- package/sinter/components/internal/mail-b.html +5 -0
- package/sinter/components/internal/mail-bdi.html +5 -0
- package/sinter/components/internal/mail-bdo.html +5 -0
- package/sinter/components/internal/mail-blockquote.html +5 -0
- package/sinter/components/internal/mail-br.html +5 -0
- package/sinter/components/internal/mail-center.html +5 -0
- package/sinter/components/internal/mail-cite.html +5 -0
- package/sinter/components/internal/mail-code.html +5 -0
- package/sinter/components/internal/mail-dd.html +5 -0
- package/sinter/components/internal/mail-del.html +5 -0
- package/sinter/components/internal/mail-details.html +5 -0
- package/sinter/components/internal/mail-dfn.html +5 -0
- package/sinter/components/internal/mail-div.html +5 -0
- package/sinter/components/internal/mail-dl.html +5 -0
- package/sinter/components/internal/mail-dt.html +5 -0
- package/sinter/components/internal/mail-em.html +5 -0
- package/sinter/components/internal/mail-figcaption.html +5 -0
- package/sinter/components/internal/mail-figure.html +5 -0
- package/sinter/components/internal/mail-font.html +5 -0
- package/sinter/components/internal/mail-footer.html +5 -0
- package/sinter/components/internal/mail-h1.html +5 -0
- package/sinter/components/internal/mail-h2.html +5 -0
- package/sinter/components/internal/mail-h3.html +5 -0
- package/sinter/components/internal/mail-h4.html +5 -0
- package/sinter/components/internal/mail-h5.html +5 -0
- package/sinter/components/internal/mail-h6.html +5 -0
- package/sinter/components/internal/mail-header.html +5 -0
- package/sinter/components/internal/mail-hr.html +5 -0
- package/sinter/components/internal/mail-i.html +5 -0
- package/sinter/components/internal/mail-img.html +5 -0
- package/sinter/components/internal/mail-ins.html +5 -0
- package/sinter/components/internal/mail-kbd.html +5 -0
- package/sinter/components/internal/mail-li.html +5 -0
- package/sinter/components/internal/mail-main.html +5 -0
- package/sinter/components/internal/mail-mark.html +5 -0
- package/sinter/components/internal/mail-nav.html +5 -0
- package/sinter/components/internal/mail-node.html +5 -0
- package/sinter/components/internal/mail-ol.html +5 -0
- package/sinter/components/internal/mail-orphan.html +5 -0
- package/sinter/components/internal/mail-p.html +5 -0
- package/sinter/components/internal/mail-pre.html +5 -0
- package/sinter/components/internal/mail-q.html +5 -0
- package/sinter/components/internal/mail-s.html +5 -0
- package/sinter/components/internal/mail-samp.html +5 -0
- package/sinter/components/internal/mail-section.html +5 -0
- package/sinter/components/internal/mail-small.html +5 -0
- package/sinter/components/internal/mail-span.html +5 -0
- package/sinter/components/internal/mail-steps.html +5 -0
- package/sinter/components/internal/mail-steps.ts +46 -0
- package/sinter/components/internal/mail-strike.html +5 -0
- package/sinter/components/internal/mail-strong.html +5 -0
- package/sinter/components/internal/mail-sub.html +5 -0
- package/sinter/components/internal/mail-summary.html +5 -0
- package/sinter/components/internal/mail-sup.html +5 -0
- package/sinter/components/internal/mail-table.html +5 -0
- package/sinter/components/internal/mail-time.html +5 -0
- package/sinter/components/internal/mail-tt.html +5 -0
- package/sinter/components/internal/mail-u.html +5 -0
- package/sinter/components/internal/mail-ul.html +5 -0
- package/sinter/components/internal/mail-var.html +5 -0
- package/sinter/components/internal/mail-wbr.html +5 -0
- package/sinter/components/mail-body.html +21 -0
- package/sinter/css/hints.ts +259 -0
- package/sinter/css/index.ts +270 -0
- package/sinter/css/media.ts +251 -0
- package/sinter/css/parse.ts +124 -0
- package/sinter/css/selectors.ts +530 -0
- package/sinter/css/tokenize.ts +279 -0
- package/sinter/css/values.ts +647 -0
- package/sinter/engine.ts +6 -0
- package/sinter/index.ts +5 -0
- package/sinter/parse.ts +355 -0
- package/sinter/parser/entities.ts +22 -0
- package/sinter/parser/index.ts +54 -0
- package/sinter/parser/tokenizer.ts +275 -0
- package/sinter/parser/tree.ts +1265 -0
- package/sinter/plain.ts +125 -0
- package/sinter/raw.ts +28 -0
- package/sinter/sinter.helpers.ts +11 -0
- package/sinter/sinter.types.ts +135 -0
- package/sinter/tags.ts +169 -0
- package/sinter/tree.ts +168 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<hr>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><hr data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<i>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><i data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></i></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
An image: its root is the `image` slot. A blocked image has no src, and its box keeps width, height and alt. `srcset: null` keeps it out of the app's resizing service.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><slot name="image" data-sn-prop="{ node }"><img data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, src: node.attrs.src, alt: node.attrs.alt, width: node.attrs.width, height: node.attrs.height, srcset: null }" data-sn-style="{ 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"></slot></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<ins>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><ins data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, cite: node.attrs.cite, datetime: node.attrs.datetime }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></ins></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<kbd>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><kbd data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></kbd></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<li>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><li data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, value: node.attrs.value }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear, 'list-style-type': node.style['list-style-type'], 'list-style-position': node.style['list-style-position'] }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></li></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<main>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><main data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></main></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<mark>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><mark data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></mark></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<nav>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><nav data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></nav></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
One element, by its tag: the only place elements are dispatched. A table's parts render inside mail-table; one outside a table (which parse.ts never writes) renders its content, through mail-orphan.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><sn-component use="{ a: 'mail-a', abbr: 'mail-abbr', address: 'mail-address', article: 'mail-article', aside: 'mail-aside', b: 'mail-b', bdi: 'mail-bdi', bdo: 'mail-bdo', blockquote: 'mail-blockquote', br: 'mail-br', caption: 'mail-orphan', center: 'mail-center', cite: 'mail-cite', code: 'mail-code', col: 'mail-orphan', colgroup: 'mail-orphan', dd: 'mail-dd', del: 'mail-del', details: 'mail-details', dfn: 'mail-dfn', div: 'mail-div', dl: 'mail-dl', dt: 'mail-dt', em: 'mail-em', figcaption: 'mail-figcaption', figure: 'mail-figure', font: 'mail-font', footer: 'mail-footer', h1: 'mail-h1', h2: 'mail-h2', h3: 'mail-h3', h4: 'mail-h4', h5: 'mail-h5', h6: 'mail-h6', header: 'mail-header', hr: 'mail-hr', i: 'mail-i', img: 'mail-img', ins: 'mail-ins', kbd: 'mail-kbd', li: 'mail-li', main: 'mail-main', mark: 'mail-mark', nav: 'mail-nav', ol: 'mail-ol', p: 'mail-p', pre: 'mail-pre', q: 'mail-q', s: 'mail-s', samp: 'mail-samp', section: 'mail-section', small: 'mail-small', span: 'mail-span', strike: 'mail-strike', strong: 'mail-strong', sub: 'mail-sub', summary: 'mail-summary', sup: 'mail-sup', table: 'mail-table', tbody: 'mail-orphan', td: 'mail-orphan', tfoot: 'mail-orphan', th: 'mail-orphan', thead: 'mail-orphan', time: 'mail-time', tr: 'mail-orphan', tt: 'mail-tt', u: 'mail-u', ul: 'mail-ul', var: 'mail-var', wbr: 'mail-wbr' }[node.tag]" data-sn-prop="{ node }"></sn-component></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<ol>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><ol data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, start: node.attrs.start, reversed: node.attrs.reversed, type: node.attrs.type }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear, 'list-style-type': node.style['list-style-type'], 'list-style-position': node.style['list-style-position'] }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></ol></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
A table's part outside a table, which parse.ts never writes: its content in a <span>, as the browser drops the tag and keeps what it holds.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><span><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></span></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<p>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><p data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></p></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<pre>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><pre data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></pre></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<q>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><q data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, cite: node.attrs.cite }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></q></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<s>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><s data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></s></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<samp>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><samp data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></samp></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<section>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><section data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></section></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<small>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><small data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></small></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<span>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><span data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></span></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
The steps of a progressive render (mail.progressive): after the browser has painted the body's first part, a `step` event per task with the body up to the next part, then the body itself (mail-steps.ts). <mail-body> renders it only for a numbered body, so a static page does not ship its script. Its root is a hidden element at the end of the email.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ body: Body }" data-sn-emits="{ step: Body }"><i hidden></i></template>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// The steps of a progressive render: <mail-body> renders the body's first part (`body.first`, from
|
|
2
|
+
// mail.progressive) in the task that receives the body; once the browser has painted it, this emits a `step` per
|
|
3
|
+
// task with the body further along (`upTo`: only the elements that step cuts are copies), then the body itself. The
|
|
4
|
+
// rows are keyed by the nodes' numbers, so each step renders the copied path and its new rows. A step's size follows
|
|
5
|
+
// the time the one before took, so that each fits in a frame whatever the device; between steps, input and paint go
|
|
6
|
+
// first.
|
|
7
|
+
import { upTo } from '../../tree.js';
|
|
8
|
+
import { MailStepsComponent } from './mail-steps.html';
|
|
9
|
+
|
|
10
|
+
/** script per step, ms: with style, layout and paint, a step fits in a frame (16 ms at 60 Hz) */
|
|
11
|
+
const BUDGET = 12;
|
|
12
|
+
/** nodes in the first step, before one has been timed */
|
|
13
|
+
const FIRST = 400;
|
|
14
|
+
|
|
15
|
+
/** a task after this one, without the 4 ms that nested timers wait: input and paint come first when they are due */
|
|
16
|
+
const next = (f: () => void) => { const c = new MessageChannel(); c.port1.onmessage = () => f(); c.port2.postMessage(0); };
|
|
17
|
+
|
|
18
|
+
export class MailSteps extends MailStepsComponent {
|
|
19
|
+
#of: unknown = undefined;
|
|
20
|
+
connected() { this.#start(); }
|
|
21
|
+
propsChanged() { this.#start(); }
|
|
22
|
+
#start() {
|
|
23
|
+
const b = this.props.body;
|
|
24
|
+
if (b === this.#of) return;
|
|
25
|
+
this.#of = b;
|
|
26
|
+
// in this render (the event writes <mail-body>'s state before the browser paints): the first part
|
|
27
|
+
this.emit('step', b.first ?? upTo(b, b.head!));
|
|
28
|
+
const last = b.children.at(-1), total = last ? (last.type === 'element' ? last.z! : last.n!) + 1 : 0;
|
|
29
|
+
if (b.head! >= total) return void this.emit('step', b);
|
|
30
|
+
// each step renders up to `upto`; the next one's size follows how long this one took, towards BUDGET
|
|
31
|
+
const step = (upto: number, size: number) => {
|
|
32
|
+
if (this.props.body !== b || !this.root.isConnected) return;
|
|
33
|
+
const t0 = performance.now();
|
|
34
|
+
this.emit('step', upto >= total ? b : upTo(b, upto));
|
|
35
|
+
if (upto >= total) return;
|
|
36
|
+
// the render runs in a microtask the event's state write queued: this one runs after it
|
|
37
|
+
queueMicrotask(() => {
|
|
38
|
+
const ms = performance.now() - t0;
|
|
39
|
+
const n = Math.max(100, Math.min(size * 4, Math.round(size * BUDGET / Math.max(ms, 0.5))));
|
|
40
|
+
next(() => step(upto + n, n));
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
// the first step after the first part has painted: requestAnimationFrame runs before a paint, the task it posts after
|
|
44
|
+
requestAnimationFrame(() => setTimeout(() => step(b.head! + FIRST, FIRST)));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<strike>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><strike data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></strike></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<strong>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><strong data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></strong></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<sub>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><sub data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></sub></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<summary>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><summary data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></summary></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<sup>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><sup data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></sup></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
A table and its whole structure: a component's tag inside a <table> would be moved out of it by the HTML parser, so caption, colgroup, col, the sections, rows and cells are literal here, chosen by their tag. Cell content goes through mail-node.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><table data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear, 'border-collapse': node.style['border-collapse'], 'border-spacing': node.style['border-spacing'], 'table-layout': node.style['table-layout'], 'caption-side': node.style['caption-side'] }"><template data-sn-for="(s, si) in node.children" data-sn-key="s.n ?? si"><template data-sn-if="s.type === 'element' && s.tag === 'caption'"><caption data-sn-attr="{ dir: s.attrs.dir, lang: s.attrs.lang, title: s.attrs.title, id: s.attrs.id ? 'mail-' + s.attrs.id : null }" data-sn-style="{ color: s.style.color, 'font-family': s.style['font-family'], 'font-size': s.style['font-size'], 'font-style': s.style['font-style'], 'font-weight': s.style['font-weight'], 'font-variant': s.style['font-variant'], 'line-height': s.style['line-height'], 'letter-spacing': s.style['letter-spacing'], 'word-spacing': s.style['word-spacing'], 'text-align': s.style['text-align'], 'text-decoration': s.style['text-decoration'], 'text-transform': s.style['text-transform'], 'text-indent': s.style['text-indent'], 'white-space': s.style['white-space'], 'word-break': s.style['word-break'], 'overflow-wrap': s.style['overflow-wrap'], 'background-color': s.style['background-color'], display: s.style.display, 'vertical-align': s.style['vertical-align'], width: s.style.width, height: s.style.height, 'min-width': s.style['min-width'], 'max-width': s.style['max-width'], 'min-height': s.style['min-height'], 'max-height': s.style['max-height'], 'margin-top': s.style['margin-top'], 'margin-right': s.style['margin-right'], 'margin-bottom': s.style['margin-bottom'], 'margin-left': s.style['margin-left'], 'padding-top': s.style['padding-top'], 'padding-right': s.style['padding-right'], 'padding-bottom': s.style['padding-bottom'], 'padding-left': s.style['padding-left'], 'border-top-width': s.style['border-top-width'], 'border-right-width': s.style['border-right-width'], 'border-bottom-width': s.style['border-bottom-width'], 'border-left-width': s.style['border-left-width'], 'border-top-style': s.style['border-top-style'], 'border-right-style': s.style['border-right-style'], 'border-bottom-style': s.style['border-bottom-style'], 'border-left-style': s.style['border-left-style'], 'border-top-color': s.style['border-top-color'], 'border-right-color': s.style['border-right-color'], 'border-bottom-color': s.style['border-bottom-color'], 'border-left-color': s.style['border-left-color'], 'border-top-left-radius': s.style['border-top-left-radius'], 'border-top-right-radius': s.style['border-top-right-radius'], 'border-bottom-right-radius': s.style['border-bottom-right-radius'], 'border-bottom-left-radius': s.style['border-bottom-left-radius'], overflow: s.style.overflow, opacity: s.style.opacity, 'box-sizing': s.style['box-sizing'], float: s.style.float, clear: s.style.clear, 'border-collapse': s.style['border-collapse'], 'border-spacing': s.style['border-spacing'], 'table-layout': s.style['table-layout'], 'caption-side': s.style['caption-side'] }"><template data-sn-for="(n, ni) in s.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></caption></template><template data-sn-else><template data-sn-if="s.type === 'element' && s.tag === 'colgroup'"><colgroup data-sn-attr="{ dir: s.attrs.dir, lang: s.attrs.lang, title: s.attrs.title, id: s.attrs.id ? 'mail-' + s.attrs.id : null, span: s.attrs.span }" data-sn-style="{ width: s.style.width, 'background-color': s.style['background-color'] }"><template data-sn-for="(k, ki) in s.children" data-sn-key="k.n ?? ki"><template data-sn-if="k.type === 'element'"><col data-sn-attr="{ dir: k.attrs.dir, lang: k.attrs.lang, title: k.attrs.title, id: k.attrs.id ? 'mail-' + k.attrs.id : null, span: k.attrs.span }" data-sn-style="{ width: k.style.width, 'background-color': k.style['background-color'], 'border-left-width': k.style['border-left-width'], 'border-right-width': k.style['border-right-width'], 'border-left-style': k.style['border-left-style'], 'border-right-style': k.style['border-right-style'], 'border-left-color': k.style['border-left-color'], 'border-right-color': k.style['border-right-color'] }"></template></template></colgroup></template><template data-sn-else><template data-sn-if="s.type === 'element' && s.tag === 'thead'"><thead data-sn-attr="{ dir: s.attrs.dir, lang: s.attrs.lang, title: s.attrs.title, id: s.attrs.id ? 'mail-' + s.attrs.id : null }" data-sn-style="{ color: s.style.color, 'font-family': s.style['font-family'], 'font-size': s.style['font-size'], 'font-style': s.style['font-style'], 'font-weight': s.style['font-weight'], 'font-variant': s.style['font-variant'], 'line-height': s.style['line-height'], 'letter-spacing': s.style['letter-spacing'], 'word-spacing': s.style['word-spacing'], 'text-align': s.style['text-align'], 'text-decoration': s.style['text-decoration'], 'text-transform': s.style['text-transform'], 'text-indent': s.style['text-indent'], 'white-space': s.style['white-space'], 'word-break': s.style['word-break'], 'overflow-wrap': s.style['overflow-wrap'], 'background-color': s.style['background-color'], display: s.style.display, 'vertical-align': s.style['vertical-align'], width: s.style.width, height: s.style.height, 'min-width': s.style['min-width'], 'max-width': s.style['max-width'], 'min-height': s.style['min-height'], 'max-height': s.style['max-height'], 'margin-top': s.style['margin-top'], 'margin-right': s.style['margin-right'], 'margin-bottom': s.style['margin-bottom'], 'margin-left': s.style['margin-left'], 'padding-top': s.style['padding-top'], 'padding-right': s.style['padding-right'], 'padding-bottom': s.style['padding-bottom'], 'padding-left': s.style['padding-left'], 'border-top-width': s.style['border-top-width'], 'border-right-width': s.style['border-right-width'], 'border-bottom-width': s.style['border-bottom-width'], 'border-left-width': s.style['border-left-width'], 'border-top-style': s.style['border-top-style'], 'border-right-style': s.style['border-right-style'], 'border-bottom-style': s.style['border-bottom-style'], 'border-left-style': s.style['border-left-style'], 'border-top-color': s.style['border-top-color'], 'border-right-color': s.style['border-right-color'], 'border-bottom-color': s.style['border-bottom-color'], 'border-left-color': s.style['border-left-color'], 'border-top-left-radius': s.style['border-top-left-radius'], 'border-top-right-radius': s.style['border-top-right-radius'], 'border-bottom-right-radius': s.style['border-bottom-right-radius'], 'border-bottom-left-radius': s.style['border-bottom-left-radius'], overflow: s.style.overflow, opacity: s.style.opacity, 'box-sizing': s.style['box-sizing'], float: s.style.float, clear: s.style.clear }"><template data-sn-for="(r, ri) in s.children" data-sn-key="r.n ?? ri"><template data-sn-if="r.type === 'element'"><tr data-sn-attr="{ dir: r.attrs.dir, lang: r.attrs.lang, title: r.attrs.title, id: r.attrs.id ? 'mail-' + r.attrs.id : null }" data-sn-style="{ color: r.style.color, 'font-family': r.style['font-family'], 'font-size': r.style['font-size'], 'font-style': r.style['font-style'], 'font-weight': r.style['font-weight'], 'font-variant': r.style['font-variant'], 'line-height': r.style['line-height'], 'letter-spacing': r.style['letter-spacing'], 'word-spacing': r.style['word-spacing'], 'text-align': r.style['text-align'], 'text-decoration': r.style['text-decoration'], 'text-transform': r.style['text-transform'], 'text-indent': r.style['text-indent'], 'white-space': r.style['white-space'], 'word-break': r.style['word-break'], 'overflow-wrap': r.style['overflow-wrap'], 'background-color': r.style['background-color'], display: r.style.display, 'vertical-align': r.style['vertical-align'], width: r.style.width, height: r.style.height, 'min-width': r.style['min-width'], 'max-width': r.style['max-width'], 'min-height': r.style['min-height'], 'max-height': r.style['max-height'], 'margin-top': r.style['margin-top'], 'margin-right': r.style['margin-right'], 'margin-bottom': r.style['margin-bottom'], 'margin-left': r.style['margin-left'], 'padding-top': r.style['padding-top'], 'padding-right': r.style['padding-right'], 'padding-bottom': r.style['padding-bottom'], 'padding-left': r.style['padding-left'], 'border-top-width': r.style['border-top-width'], 'border-right-width': r.style['border-right-width'], 'border-bottom-width': r.style['border-bottom-width'], 'border-left-width': r.style['border-left-width'], 'border-top-style': r.style['border-top-style'], 'border-right-style': r.style['border-right-style'], 'border-bottom-style': r.style['border-bottom-style'], 'border-left-style': r.style['border-left-style'], 'border-top-color': r.style['border-top-color'], 'border-right-color': r.style['border-right-color'], 'border-bottom-color': r.style['border-bottom-color'], 'border-left-color': r.style['border-left-color'], 'border-top-left-radius': r.style['border-top-left-radius'], 'border-top-right-radius': r.style['border-top-right-radius'], 'border-bottom-right-radius': r.style['border-bottom-right-radius'], 'border-bottom-left-radius': r.style['border-bottom-left-radius'], overflow: r.style.overflow, opacity: r.style.opacity, 'box-sizing': r.style['box-sizing'], float: r.style.float, clear: r.style.clear }"><template data-sn-for="(d, di) in r.children" data-sn-key="d.n ?? di"><template data-sn-if="d.type === 'element' && d.tag === 'th'"><th data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, scope: d.attrs.scope, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></th></template><template data-sn-else><template data-sn-if="d.type === 'element'"><td data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></td></template></template></template></tr></template></template></thead></template><template data-sn-else><template data-sn-if="s.type === 'element' && s.tag === 'tfoot'"><tfoot data-sn-attr="{ dir: s.attrs.dir, lang: s.attrs.lang, title: s.attrs.title, id: s.attrs.id ? 'mail-' + s.attrs.id : null }" data-sn-style="{ color: s.style.color, 'font-family': s.style['font-family'], 'font-size': s.style['font-size'], 'font-style': s.style['font-style'], 'font-weight': s.style['font-weight'], 'font-variant': s.style['font-variant'], 'line-height': s.style['line-height'], 'letter-spacing': s.style['letter-spacing'], 'word-spacing': s.style['word-spacing'], 'text-align': s.style['text-align'], 'text-decoration': s.style['text-decoration'], 'text-transform': s.style['text-transform'], 'text-indent': s.style['text-indent'], 'white-space': s.style['white-space'], 'word-break': s.style['word-break'], 'overflow-wrap': s.style['overflow-wrap'], 'background-color': s.style['background-color'], display: s.style.display, 'vertical-align': s.style['vertical-align'], width: s.style.width, height: s.style.height, 'min-width': s.style['min-width'], 'max-width': s.style['max-width'], 'min-height': s.style['min-height'], 'max-height': s.style['max-height'], 'margin-top': s.style['margin-top'], 'margin-right': s.style['margin-right'], 'margin-bottom': s.style['margin-bottom'], 'margin-left': s.style['margin-left'], 'padding-top': s.style['padding-top'], 'padding-right': s.style['padding-right'], 'padding-bottom': s.style['padding-bottom'], 'padding-left': s.style['padding-left'], 'border-top-width': s.style['border-top-width'], 'border-right-width': s.style['border-right-width'], 'border-bottom-width': s.style['border-bottom-width'], 'border-left-width': s.style['border-left-width'], 'border-top-style': s.style['border-top-style'], 'border-right-style': s.style['border-right-style'], 'border-bottom-style': s.style['border-bottom-style'], 'border-left-style': s.style['border-left-style'], 'border-top-color': s.style['border-top-color'], 'border-right-color': s.style['border-right-color'], 'border-bottom-color': s.style['border-bottom-color'], 'border-left-color': s.style['border-left-color'], 'border-top-left-radius': s.style['border-top-left-radius'], 'border-top-right-radius': s.style['border-top-right-radius'], 'border-bottom-right-radius': s.style['border-bottom-right-radius'], 'border-bottom-left-radius': s.style['border-bottom-left-radius'], overflow: s.style.overflow, opacity: s.style.opacity, 'box-sizing': s.style['box-sizing'], float: s.style.float, clear: s.style.clear }"><template data-sn-for="(r, ri) in s.children" data-sn-key="r.n ?? ri"><template data-sn-if="r.type === 'element'"><tr data-sn-attr="{ dir: r.attrs.dir, lang: r.attrs.lang, title: r.attrs.title, id: r.attrs.id ? 'mail-' + r.attrs.id : null }" data-sn-style="{ color: r.style.color, 'font-family': r.style['font-family'], 'font-size': r.style['font-size'], 'font-style': r.style['font-style'], 'font-weight': r.style['font-weight'], 'font-variant': r.style['font-variant'], 'line-height': r.style['line-height'], 'letter-spacing': r.style['letter-spacing'], 'word-spacing': r.style['word-spacing'], 'text-align': r.style['text-align'], 'text-decoration': r.style['text-decoration'], 'text-transform': r.style['text-transform'], 'text-indent': r.style['text-indent'], 'white-space': r.style['white-space'], 'word-break': r.style['word-break'], 'overflow-wrap': r.style['overflow-wrap'], 'background-color': r.style['background-color'], display: r.style.display, 'vertical-align': r.style['vertical-align'], width: r.style.width, height: r.style.height, 'min-width': r.style['min-width'], 'max-width': r.style['max-width'], 'min-height': r.style['min-height'], 'max-height': r.style['max-height'], 'margin-top': r.style['margin-top'], 'margin-right': r.style['margin-right'], 'margin-bottom': r.style['margin-bottom'], 'margin-left': r.style['margin-left'], 'padding-top': r.style['padding-top'], 'padding-right': r.style['padding-right'], 'padding-bottom': r.style['padding-bottom'], 'padding-left': r.style['padding-left'], 'border-top-width': r.style['border-top-width'], 'border-right-width': r.style['border-right-width'], 'border-bottom-width': r.style['border-bottom-width'], 'border-left-width': r.style['border-left-width'], 'border-top-style': r.style['border-top-style'], 'border-right-style': r.style['border-right-style'], 'border-bottom-style': r.style['border-bottom-style'], 'border-left-style': r.style['border-left-style'], 'border-top-color': r.style['border-top-color'], 'border-right-color': r.style['border-right-color'], 'border-bottom-color': r.style['border-bottom-color'], 'border-left-color': r.style['border-left-color'], 'border-top-left-radius': r.style['border-top-left-radius'], 'border-top-right-radius': r.style['border-top-right-radius'], 'border-bottom-right-radius': r.style['border-bottom-right-radius'], 'border-bottom-left-radius': r.style['border-bottom-left-radius'], overflow: r.style.overflow, opacity: r.style.opacity, 'box-sizing': r.style['box-sizing'], float: r.style.float, clear: r.style.clear }"><template data-sn-for="(d, di) in r.children" data-sn-key="d.n ?? di"><template data-sn-if="d.type === 'element' && d.tag === 'th'"><th data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, scope: d.attrs.scope, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></th></template><template data-sn-else><template data-sn-if="d.type === 'element'"><td data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></td></template></template></template></tr></template></template></tfoot></template><template data-sn-else><template data-sn-if="s.type === 'element'"><tbody data-sn-attr="{ dir: s.attrs.dir, lang: s.attrs.lang, title: s.attrs.title, id: s.attrs.id ? 'mail-' + s.attrs.id : null }" data-sn-style="{ color: s.style.color, 'font-family': s.style['font-family'], 'font-size': s.style['font-size'], 'font-style': s.style['font-style'], 'font-weight': s.style['font-weight'], 'font-variant': s.style['font-variant'], 'line-height': s.style['line-height'], 'letter-spacing': s.style['letter-spacing'], 'word-spacing': s.style['word-spacing'], 'text-align': s.style['text-align'], 'text-decoration': s.style['text-decoration'], 'text-transform': s.style['text-transform'], 'text-indent': s.style['text-indent'], 'white-space': s.style['white-space'], 'word-break': s.style['word-break'], 'overflow-wrap': s.style['overflow-wrap'], 'background-color': s.style['background-color'], display: s.style.display, 'vertical-align': s.style['vertical-align'], width: s.style.width, height: s.style.height, 'min-width': s.style['min-width'], 'max-width': s.style['max-width'], 'min-height': s.style['min-height'], 'max-height': s.style['max-height'], 'margin-top': s.style['margin-top'], 'margin-right': s.style['margin-right'], 'margin-bottom': s.style['margin-bottom'], 'margin-left': s.style['margin-left'], 'padding-top': s.style['padding-top'], 'padding-right': s.style['padding-right'], 'padding-bottom': s.style['padding-bottom'], 'padding-left': s.style['padding-left'], 'border-top-width': s.style['border-top-width'], 'border-right-width': s.style['border-right-width'], 'border-bottom-width': s.style['border-bottom-width'], 'border-left-width': s.style['border-left-width'], 'border-top-style': s.style['border-top-style'], 'border-right-style': s.style['border-right-style'], 'border-bottom-style': s.style['border-bottom-style'], 'border-left-style': s.style['border-left-style'], 'border-top-color': s.style['border-top-color'], 'border-right-color': s.style['border-right-color'], 'border-bottom-color': s.style['border-bottom-color'], 'border-left-color': s.style['border-left-color'], 'border-top-left-radius': s.style['border-top-left-radius'], 'border-top-right-radius': s.style['border-top-right-radius'], 'border-bottom-right-radius': s.style['border-bottom-right-radius'], 'border-bottom-left-radius': s.style['border-bottom-left-radius'], overflow: s.style.overflow, opacity: s.style.opacity, 'box-sizing': s.style['box-sizing'], float: s.style.float, clear: s.style.clear }"><template data-sn-for="(r, ri) in s.children" data-sn-key="r.n ?? ri"><template data-sn-if="r.type === 'element'"><tr data-sn-attr="{ dir: r.attrs.dir, lang: r.attrs.lang, title: r.attrs.title, id: r.attrs.id ? 'mail-' + r.attrs.id : null }" data-sn-style="{ color: r.style.color, 'font-family': r.style['font-family'], 'font-size': r.style['font-size'], 'font-style': r.style['font-style'], 'font-weight': r.style['font-weight'], 'font-variant': r.style['font-variant'], 'line-height': r.style['line-height'], 'letter-spacing': r.style['letter-spacing'], 'word-spacing': r.style['word-spacing'], 'text-align': r.style['text-align'], 'text-decoration': r.style['text-decoration'], 'text-transform': r.style['text-transform'], 'text-indent': r.style['text-indent'], 'white-space': r.style['white-space'], 'word-break': r.style['word-break'], 'overflow-wrap': r.style['overflow-wrap'], 'background-color': r.style['background-color'], display: r.style.display, 'vertical-align': r.style['vertical-align'], width: r.style.width, height: r.style.height, 'min-width': r.style['min-width'], 'max-width': r.style['max-width'], 'min-height': r.style['min-height'], 'max-height': r.style['max-height'], 'margin-top': r.style['margin-top'], 'margin-right': r.style['margin-right'], 'margin-bottom': r.style['margin-bottom'], 'margin-left': r.style['margin-left'], 'padding-top': r.style['padding-top'], 'padding-right': r.style['padding-right'], 'padding-bottom': r.style['padding-bottom'], 'padding-left': r.style['padding-left'], 'border-top-width': r.style['border-top-width'], 'border-right-width': r.style['border-right-width'], 'border-bottom-width': r.style['border-bottom-width'], 'border-left-width': r.style['border-left-width'], 'border-top-style': r.style['border-top-style'], 'border-right-style': r.style['border-right-style'], 'border-bottom-style': r.style['border-bottom-style'], 'border-left-style': r.style['border-left-style'], 'border-top-color': r.style['border-top-color'], 'border-right-color': r.style['border-right-color'], 'border-bottom-color': r.style['border-bottom-color'], 'border-left-color': r.style['border-left-color'], 'border-top-left-radius': r.style['border-top-left-radius'], 'border-top-right-radius': r.style['border-top-right-radius'], 'border-bottom-right-radius': r.style['border-bottom-right-radius'], 'border-bottom-left-radius': r.style['border-bottom-left-radius'], overflow: r.style.overflow, opacity: r.style.opacity, 'box-sizing': r.style['box-sizing'], float: r.style.float, clear: r.style.clear }"><template data-sn-for="(d, di) in r.children" data-sn-key="d.n ?? di"><template data-sn-if="d.type === 'element' && d.tag === 'th'"><th data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, scope: d.attrs.scope, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></th></template><template data-sn-else><template data-sn-if="d.type === 'element'"><td data-sn-attr="{ dir: d.attrs.dir, lang: d.attrs.lang, title: d.attrs.title, id: d.attrs.id ? 'mail-' + d.attrs.id : null, colspan: d.attrs.colspan, rowspan: d.attrs.rowspan, headers: d.attrs.headers, abbr: d.attrs.abbr }" data-sn-style="{ color: d.style.color, 'font-family': d.style['font-family'], 'font-size': d.style['font-size'], 'font-style': d.style['font-style'], 'font-weight': d.style['font-weight'], 'font-variant': d.style['font-variant'], 'line-height': d.style['line-height'], 'letter-spacing': d.style['letter-spacing'], 'word-spacing': d.style['word-spacing'], 'text-align': d.style['text-align'], 'text-decoration': d.style['text-decoration'], 'text-transform': d.style['text-transform'], 'text-indent': d.style['text-indent'], 'white-space': d.style['white-space'], 'word-break': d.style['word-break'], 'overflow-wrap': d.style['overflow-wrap'], 'background-color': d.style['background-color'], display: d.style.display, 'vertical-align': d.style['vertical-align'], width: d.style.width, height: d.style.height, 'min-width': d.style['min-width'], 'max-width': d.style['max-width'], 'min-height': d.style['min-height'], 'max-height': d.style['max-height'], 'margin-top': d.style['margin-top'], 'margin-right': d.style['margin-right'], 'margin-bottom': d.style['margin-bottom'], 'margin-left': d.style['margin-left'], 'padding-top': d.style['padding-top'], 'padding-right': d.style['padding-right'], 'padding-bottom': d.style['padding-bottom'], 'padding-left': d.style['padding-left'], 'border-top-width': d.style['border-top-width'], 'border-right-width': d.style['border-right-width'], 'border-bottom-width': d.style['border-bottom-width'], 'border-left-width': d.style['border-left-width'], 'border-top-style': d.style['border-top-style'], 'border-right-style': d.style['border-right-style'], 'border-bottom-style': d.style['border-bottom-style'], 'border-left-style': d.style['border-left-style'], 'border-top-color': d.style['border-top-color'], 'border-right-color': d.style['border-right-color'], 'border-bottom-color': d.style['border-bottom-color'], 'border-left-color': d.style['border-left-color'], 'border-top-left-radius': d.style['border-top-left-radius'], 'border-top-right-radius': d.style['border-top-right-radius'], 'border-bottom-right-radius': d.style['border-bottom-right-radius'], 'border-bottom-left-radius': d.style['border-bottom-left-radius'], overflow: d.style.overflow, opacity: d.style.opacity, 'box-sizing': d.style['box-sizing'], float: d.style.float, clear: d.style.clear }"><template data-sn-for="(n, ni) in d.children" data-sn-key="n.n ?? ni"><template data-sn-if="n.type === 'text'"><template data-sn-text="n.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: n }"></mail-node></template></template></td></template></template></template></tr></template></template></tbody></template></template></template></template></template></template></table></template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Generated by scripts/build-components.mjs from sinter/tags.ts: do not edit.
|
|
3
|
+
<time>.
|
|
4
|
+
-->
|
|
5
|
+
<template data-sn-component="{ node: Element }"><time data-sn-attr="{ dir: node.attrs.dir, lang: node.attrs.lang, title: node.attrs.title, id: node.attrs.id ? 'mail-' + node.attrs.id : null, datetime: node.attrs.datetime }" data-sn-style="{ color: node.style.color, 'font-family': node.style['font-family'], 'font-size': node.style['font-size'], 'font-style': node.style['font-style'], 'font-weight': node.style['font-weight'], 'font-variant': node.style['font-variant'], 'line-height': node.style['line-height'], 'letter-spacing': node.style['letter-spacing'], 'word-spacing': node.style['word-spacing'], 'text-align': node.style['text-align'], 'text-decoration': node.style['text-decoration'], 'text-transform': node.style['text-transform'], 'text-indent': node.style['text-indent'], 'white-space': node.style['white-space'], 'word-break': node.style['word-break'], 'overflow-wrap': node.style['overflow-wrap'], 'background-color': node.style['background-color'], display: node.style.display, 'vertical-align': node.style['vertical-align'], width: node.style.width, height: node.style.height, 'min-width': node.style['min-width'], 'max-width': node.style['max-width'], 'min-height': node.style['min-height'], 'max-height': node.style['max-height'], 'margin-top': node.style['margin-top'], 'margin-right': node.style['margin-right'], 'margin-bottom': node.style['margin-bottom'], 'margin-left': node.style['margin-left'], 'padding-top': node.style['padding-top'], 'padding-right': node.style['padding-right'], 'padding-bottom': node.style['padding-bottom'], 'padding-left': node.style['padding-left'], 'border-top-width': node.style['border-top-width'], 'border-right-width': node.style['border-right-width'], 'border-bottom-width': node.style['border-bottom-width'], 'border-left-width': node.style['border-left-width'], 'border-top-style': node.style['border-top-style'], 'border-right-style': node.style['border-right-style'], 'border-bottom-style': node.style['border-bottom-style'], 'border-left-style': node.style['border-left-style'], 'border-top-color': node.style['border-top-color'], 'border-right-color': node.style['border-right-color'], 'border-bottom-color': node.style['border-bottom-color'], 'border-left-color': node.style['border-left-color'], 'border-top-left-radius': node.style['border-top-left-radius'], 'border-top-right-radius': node.style['border-top-right-radius'], 'border-bottom-right-radius': node.style['border-bottom-right-radius'], 'border-bottom-left-radius': node.style['border-bottom-left-radius'], overflow: node.style.overflow, opacity: node.style.opacity, 'box-sizing': node.style['box-sizing'], float: node.style.float, clear: node.style.clear }"><template data-sn-for="(c, ci) in node.children" data-sn-key="c.n ?? ci"><template data-sn-if="c.type === 'text'"><template data-sn-text="c.value"></template></template><template data-sn-else><mail-node data-sn-prop="{ node: c }"></mail-node></template></template></time></template>
|