domma-cms 1.71.0 → 1.72.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/CHANGELOG.md +16 -0
- package/admin/js/lib/sidebar-frequent.js +1 -1
- package/admin/js/templates/docs/usage-tools.html +1 -1
- package/docs/DommaFeatures.md +47 -12
- package/package.json +1 -1
- package/plugins/_lib/admin/mail/body-menu.js +1 -1
- package/plugins/_lib/admin/mail/cms-host.js +1 -1
- package/plugins/_lib/admin/mail/compose-window.js +76 -3
- package/plugins/_lib/admin/mail/contacts.js +1 -1
- package/plugins/_lib/admin/mail/diagnostics-section.js +1 -1
- package/plugins/_lib/admin/mail/drag-drop.js +1 -1
- package/plugins/_lib/admin/mail/folder-tree.js +1 -1
- package/plugins/_lib/admin/mail/font-controls.js +1 -1
- package/plugins/_lib/admin/mail/fonts.js +1 -1
- package/plugins/_lib/admin/mail/host-context.js +1 -1
- package/plugins/_lib/admin/mail/identity.js +1 -1
- package/plugins/_lib/admin/mail/image-senders-section.js +1 -1
- package/plugins/_lib/admin/mail/keyboard.js +1 -1
- package/plugins/_lib/admin/mail/mail.html +1 -1
- package/plugins/_lib/admin/mail/message-actions.js +1 -1
- package/plugins/_lib/admin/mail/oauth-panel.js +1 -1
- package/plugins/_lib/admin/mail/panes.js +1 -1
- package/plugins/_lib/admin/mail/reader-kit.js +1 -1
- package/plugins/_lib/admin/mail/reader-runtime.js +11 -2
- package/plugins/_lib/admin/mail/reader-view.js +1 -1
- package/plugins/_lib/admin/mail/resizable.js +1 -1
- package/plugins/_lib/admin/mail/restore-spam.js +1 -1
- package/plugins/_lib/admin/mail/rules.js +1 -1
- package/plugins/_lib/admin/mail/scheduling.js +1 -1
- package/plugins/_lib/admin/mail/section-kit.js +1 -1
- package/plugins/_lib/admin/mail/security-note.js +1 -1
- package/plugins/_lib/admin/mail/settings-section.js +1 -1
- package/plugins/_lib/admin/mail/templates.js +1 -1
- package/plugins/_lib/admin/mail/threads.js +1 -1
- package/plugins/_lib/admin/mail/vacation.js +1 -1
- package/plugins/_lib/admin/mail/when-closed.js +1 -1
- package/plugins/_lib/admin/ui/dates.js +1 -1
- package/plugins/_lib/admin/ui/resizable.js +1 -1
- package/plugins/_lib/admin/ui/rich-field.js +291 -0
- package/plugins/_lib/domma-mail.lock.json +83 -80
- package/plugins/_lib/mail/accountFileStore.js +1 -1
- package/plugins/_lib/mail/accountRepository.js +1 -1
- package/plugins/_lib/mail/accountRoutes.js +1 -1
- package/plugins/_lib/mail/bodyTokenProvider.js +1 -1
- package/plugins/_lib/mail/bodyTokens.js +1 -1
- package/plugins/_lib/mail/compose.js +1 -1
- package/plugins/_lib/mail/defaults.js +1 -1
- package/plugins/_lib/mail/envelope.js +1 -1
- package/plugins/_lib/mail/folderActions.js +1 -1
- package/plugins/_lib/mail/folderRuntime.js +1 -1
- package/plugins/_lib/mail/folders.js +1 -1
- package/plugins/_lib/mail/imapPoolRuntime.js +1 -1
- package/plugins/_lib/mail/mbox.js +1 -1
- package/plugins/_lib/mail/message-action.js +1 -1
- package/plugins/_lib/mail/messageSecurity.js +1 -1
- package/plugins/_lib/mail/messageSecurityProvider.js +1 -1
- package/plugins/_lib/mail/networkAddresses.js +1 -1
- package/plugins/_lib/mail/networkPolicy.js +1 -1
- package/plugins/_lib/mail/oauthAccounts.js +1 -1
- package/plugins/_lib/mail/oauthRouteRuntime.js +1 -1
- package/plugins/_lib/mail/oauthRuntime.js +1 -1
- package/plugins/_lib/mail/pollSchedule.js +1 -1
- package/plugins/_lib/mail/poller.js +1 -1
- package/plugins/_lib/mail/pollerRuntime.js +1 -1
- package/plugins/_lib/mail/priority.js +1 -1
- package/plugins/_lib/mail/publicMailbox.js +1 -1
- package/plugins/_lib/mail/readRuntime.js +1 -1
- package/plugins/_lib/mail/render.js +1 -1
- package/plugins/_lib/mail/ruleRunner.js +1 -1
- package/plugins/_lib/mail/schedulerRuntime.js +1 -1
- package/plugins/_lib/mail/secretProvider.js +1 -1
- package/plugins/_lib/mail/secretbox.js +1 -1
- package/plugins/_lib/mail/senderAuth.js +1 -1
- package/plugins/_lib/mail/sieve.js +1 -1
- package/plugins/_lib/mail/smtpService.js +1 -1
- package/plugins/_lib/mail/snoozeRuntime.js +1 -1
- package/plugins/_lib/mail/store.js +1 -1
- package/plugins/_lib/mail/subscriptions.js +1 -1
- package/plugins/_lib/mail/syncPlan.js +1 -1
- package/plugins/_lib/mail/syncRuntime.js +1 -1
- package/plugins/_lib/mail/syncSelection.js +1 -1
- package/plugins/_lib/mail/unreadBadge.js +1 -1
- package/plugins/_lib/mail/unsubscribe.js +1 -1
- package/plugins/_lib/mail/vacationRuntime.js +1 -1
- package/plugins/_lib/mail/write.js +1 -1
- package/plugins/_lib/public/rich-text.mjs +104 -0
- package/plugins/_lib/rich-text.js +153 -0
- package/server/services/sidebarFrequent.js +1 -1
- package/server/services/wpImport/redirects.js +7 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/reader-runtime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
const {createMailHost} = await import(new URL(`./host-context.js?v=${MAIL_MODULE_VERSION}`, import.meta.url).href);
|
|
@@ -117,6 +117,10 @@ function formatSize(bytes) {
|
|
|
117
117
|
* - `folderItems(folder, view)` -> Domma menu items, added to a folder's
|
|
118
118
|
* menu (right-click, ⋮, Shift+F10);
|
|
119
119
|
* - `mailboxItems(account, view)` -> the same, on a mailbox row's menu.
|
|
120
|
+
* - `compose(context)` -> `{fields?(), identityChanged?(identity),
|
|
121
|
+
* recipientsChanged?(recipients), close?()}`, an edition's part of every
|
|
122
|
+
* compose window: it may draw into `context.slot` (shown with
|
|
123
|
+
* `context.show()`), and `fields()` is added to what Save and Send post.
|
|
120
124
|
* Optional, checked and feature-detected: an edition that passes it to an
|
|
121
125
|
* older reader just does not get the entries. Item actions run on the next
|
|
122
126
|
* task, so one picked with Enter cannot hand its own Enter to a dialog.
|
|
@@ -504,7 +508,10 @@ return {
|
|
|
504
508
|
*/
|
|
505
509
|
const composeHandles = new Set();
|
|
506
510
|
function openCompose(options) {
|
|
507
|
-
|
|
511
|
+
// `extensions.compose`: an edition's part of every compose window
|
|
512
|
+
// (Email Pro's branding picker). See compose-window.js.
|
|
513
|
+
const handle = openComposeWindow({...options, host: mailHost,
|
|
514
|
+
composeExtension: typeof extensions.compose === 'function' ? extensions.compose : null});
|
|
508
515
|
if (handle) {
|
|
509
516
|
composeHandles.add(handle);
|
|
510
517
|
handle.onClosed?.(() => composeHandles.delete(handle));
|
|
@@ -733,6 +740,7 @@ return {
|
|
|
733
740
|
this.onUnmount = teardown;
|
|
734
741
|
this.refreshContacts = () => here() ? refreshContacts() : Promise.resolve();
|
|
735
742
|
this.compose = draft => here() && features.send ? startNewMessage(draft) : Promise.resolve();
|
|
743
|
+
this.openSettings = target => {if (here()) openSettings(target);};
|
|
736
744
|
lifetime.add(teardown);
|
|
737
745
|
|
|
738
746
|
/**
|
|
@@ -6763,6 +6771,7 @@ return {
|
|
|
6763
6771
|
this.onUnmount = teardown;
|
|
6764
6772
|
this.refreshContacts = () => here() ? refreshContacts() : Promise.resolve();
|
|
6765
6773
|
this.compose = draft => here() && features.send ? startNewMessage(draft) : Promise.resolve();
|
|
6774
|
+
this.openSettings = target => {if (here()) openSettings(target);};
|
|
6766
6775
|
}
|
|
6767
6776
|
};
|
|
6768
6777
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/reader-view.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Existing CMS entry point for the shared mail view. */
|
|
4
4
|
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/resizable.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The mail reader's resizable slideovers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/restore-spam.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Undo restores both junk status and the original folder, following each UID remap. */
|
|
4
4
|
export async function restoreSpam({api, base, account, from, destination, uids, spam}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/scheduling.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/section-kit.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/security-note.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* What the reader says about a signed or encrypted (S/MIME) message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/settings-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Browser preferences for the shared mail reader. */
|
|
4
4
|
export const READ_DELAY_KEY = 'domma-mail.mark-read-seconds';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/templates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/threads.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Grouping messages into conversations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/vacation.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The automatic reply, and everything that must stop it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/mail/when-closed.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Run code when a Domma modal or slideover actually closes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/ui/dates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Dates as a plugin shows them to a person: dd/mm/yyyy, and dd/mm/yyyy HH:mm
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
// Source: @domma-mail/core 0.31.0, packages/core/src/admin/ui/rich-field.js.
|
|
2
|
+
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
|
+
/**
|
|
4
|
+
* A Description field as a rich text editor, and a description shown in the admin.
|
|
5
|
+
*
|
|
6
|
+
* ## One line to adopt
|
|
7
|
+
*
|
|
8
|
+
* `richDescription(textarea)` puts Domma's rich editor in the textarea's place
|
|
9
|
+
* and keeps the textarea (hidden) as the field: its `.value` is the editor's
|
|
10
|
+
* HTML, reading it or setting it works as before, and it fires `input` and
|
|
11
|
+
* `change` as the editor changes. So a view that reads `$('#x').val()`, a
|
|
12
|
+
* `data-model` binding and a draft keeper all carry on unchanged.
|
|
13
|
+
*
|
|
14
|
+
* What is stored is described in `/public/js/rich-text.mjs`: text typed before
|
|
15
|
+
* the field was rich is shown in the editor as paragraphs and is only rewritten
|
|
16
|
+
* as HTML once somebody edits it. An editor left empty gives `''`. The server
|
|
17
|
+
* cleans whatever arrives (`server/services/richText.js`); nothing here is the
|
|
18
|
+
* safety.
|
|
19
|
+
*
|
|
20
|
+
* Without Domma's editor the textarea is simply left as it is.
|
|
21
|
+
*
|
|
22
|
+
* ## In a dense screen
|
|
23
|
+
*
|
|
24
|
+
* `richDescription(textarea, {compact: true})` is the same field at the height
|
|
25
|
+
* of a line or two: its toolbar shows only while the editor has the focus and
|
|
26
|
+
* the word count is left out. For a caption inside a row of other inputs. The
|
|
27
|
+
* toolbar opens UNDER the text, so the line being clicked does not move away
|
|
28
|
+
* from the pointer between the press and the release.
|
|
29
|
+
*
|
|
30
|
+
* @module admin/js/lib/rich-field
|
|
31
|
+
*/
|
|
32
|
+
import {isRichText, plainToRichHtml, richTextToPlain, richTextSummary, richTextLine, escapeHtml} from '../../public/rich-text.mjs';
|
|
33
|
+
|
|
34
|
+
export {isRichText, richTextToPlain, richTextSummary, richTextLine};
|
|
35
|
+
|
|
36
|
+
/** The CMS field, using the editor and sanitizer supplied by its host. */
|
|
37
|
+
export function createRichFields(services = globalThis) {
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/** Formatting a description can have. No images, embeds or code blocks. */
|
|
41
|
+
const TOOLBAR = [['bold', 'italic', 'underline'], ['ul', 'ol'], ['link'], ['undo', 'redo']];
|
|
42
|
+
|
|
43
|
+
/** What the admin will draw from a rich description (the server allows the same). */
|
|
44
|
+
const SHOWN = {
|
|
45
|
+
ALLOWED_TAGS: ['p', 'br', 'strong', 'b', 'em', 'i', 'u', 's', 'ul', 'ol', 'li', 'a', 'h2', 'h3', 'h4', 'blockquote', 'code'],
|
|
46
|
+
ALLOWED_ATTR: ['href', 'target', 'rel'],
|
|
47
|
+
ALLOW_DATA_ATTR: false
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** Tokens only, so both follow every theme. Added to the page once. */
|
|
51
|
+
const CSS_ID = 'rich-description-css';
|
|
52
|
+
const STYLES = `
|
|
53
|
+
.rich-description{display:none}
|
|
54
|
+
.rich-description-editor .dm-editor-body,.rich-description-editor .dm-editor-content{min-height:var(--rich-description-min,6rem)}
|
|
55
|
+
.rich-description-editor .dm-editor-content{padding:.6rem .75rem}
|
|
56
|
+
.rich-description-compact .dm-editor-toolbar,.rich-description-compact .dm-editor-footer{display:none}
|
|
57
|
+
.rich-description-compact:focus-within .dm-editor-toolbar{display:flex}
|
|
58
|
+
.rich-description-compact .dm-editor-content{padding:.4rem .6rem;font-size:var(--dm-font-size-sm)}
|
|
59
|
+
.rich-description-compact .dm-editor-content>:first-child{margin-top:0}
|
|
60
|
+
.rich-description-compact .dm-editor-content>:last-child{margin-bottom:0}
|
|
61
|
+
.rich-description-compact .dm-editor-toolbar{order:2;border-bottom:0;border-top:1px solid var(--dm-border);padding:.25rem .4rem;gap:.25rem}
|
|
62
|
+
.rich-description-compact .dm-editor-toolbar-btn{width:26px;height:26px}
|
|
63
|
+
.rich-text>:first-child{margin-top:0}
|
|
64
|
+
.rich-text>:last-child{margin-bottom:0}
|
|
65
|
+
.rich-text p,.rich-text ul,.rich-text ol,.rich-text blockquote{margin:0 0 .5em}
|
|
66
|
+
.rich-text ul,.rich-text ol{padding-left:1.25em}
|
|
67
|
+
`;
|
|
68
|
+
function styles() {
|
|
69
|
+
if (document.getElementById(CSS_ID)) return;
|
|
70
|
+
const style = document.createElement('style');
|
|
71
|
+
style.id = CSS_ID;
|
|
72
|
+
style.textContent = STYLES;
|
|
73
|
+
document.head.appendChild(style);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const NATIVE = Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype, 'value');
|
|
77
|
+
|
|
78
|
+
/** The editor's markup for a stored value. */
|
|
79
|
+
const toEditor = value => (isRichText(value) ? value : plainToRichHtml(value));
|
|
80
|
+
|
|
81
|
+
const BLOCKS = /^(P|UL|OL|H[1-6]|BLOCKQUOTE|DIV)$/;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The editor's markup with every line inside a block element. Typed into an
|
|
85
|
+
* empty editor, the browser leaves the first line bare and makes the next ones
|
|
86
|
+
* divs ("first<div>second</div>"); stored like that, the value would not start
|
|
87
|
+
* with a block element and so would be taken for plain text and shown with its
|
|
88
|
+
* tags. Bare runs become paragraphs and divs become paragraphs.
|
|
89
|
+
*
|
|
90
|
+
* @param {string} html - as the editor gives it
|
|
91
|
+
* @returns {string}
|
|
92
|
+
*/
|
|
93
|
+
function asBlocks(html) {
|
|
94
|
+
const doc = new DOMParser().parseFromString(`<body>${html ?? ''}</body>`, 'text/html');
|
|
95
|
+
const out = doc.createElement('div');
|
|
96
|
+
let run = null;
|
|
97
|
+
for (const node of [...doc.body.childNodes]) {
|
|
98
|
+
if (node.nodeType === 1 && BLOCKS.test(node.tagName)) {
|
|
99
|
+
run = null;
|
|
100
|
+
if (node.tagName === 'DIV') {
|
|
101
|
+
const p = doc.createElement('p');
|
|
102
|
+
p.append(...node.childNodes);
|
|
103
|
+
out.append(p);
|
|
104
|
+
} else out.append(node);
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
// White space between blocks is not a line of its own.
|
|
108
|
+
if (!run && node.nodeType === 3 && !node.textContent.trim()) continue;
|
|
109
|
+
if (!run) { run = doc.createElement('p'); out.append(run); }
|
|
110
|
+
run.append(node);
|
|
111
|
+
}
|
|
112
|
+
return out.innerHTML;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Does this markup say anything? An empty list item reads as its bullet alone. */
|
|
116
|
+
const saysSomething = html => Boolean(richTextToPlain(toEditor(html)).replace(/^- ?$/gm, '').trim());
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Turn a Description textarea into a rich text editor.
|
|
120
|
+
*
|
|
121
|
+
* @param {HTMLTextAreaElement|string|object} target - the textarea, a selector, or a Domma collection
|
|
122
|
+
* @param {{minHeight?: number, placeholder?: string, compact?: boolean}} [options] - `compact`: a line or
|
|
123
|
+
* two tall (minHeight 40 unless given), the toolbar shown only while the editor has the focus
|
|
124
|
+
* @returns {{rich: boolean, get: () => string, getText: () => string, set: (value: string) => void,
|
|
125
|
+
* focus: () => void, destroy: () => void}}
|
|
126
|
+
*/
|
|
127
|
+
function richDescription(target, {compact = false, minHeight = compact ? 40 : 88, placeholder} = {}) {
|
|
128
|
+
const area = typeof target === 'string' ? document.querySelector(target) : (target?.get?.(0) ?? target);
|
|
129
|
+
const plain = {
|
|
130
|
+
rich: false,
|
|
131
|
+
get: () => area?.value ?? '',
|
|
132
|
+
getText: () => richTextToPlain(area?.value ?? ''),
|
|
133
|
+
set: value => { if (area) area.value = value ?? ''; },
|
|
134
|
+
focus: () => area?.focus(),
|
|
135
|
+
destroy: () => {}
|
|
136
|
+
};
|
|
137
|
+
if (!(area instanceof HTMLTextAreaElement) || area._richDescription || typeof services.E?.editor !== 'function') {
|
|
138
|
+
return area?._richDescription ?? plain;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
const host = document.createElement('div');
|
|
142
|
+
host.className = 'rich-description';
|
|
143
|
+
area.after(host);
|
|
144
|
+
let editor;
|
|
145
|
+
/** True while the editor is being filled, so that is not taken for typing. */
|
|
146
|
+
let filling = false;
|
|
147
|
+
/** What the editor was last filled with or said: never refill it with its own words. */
|
|
148
|
+
let shown = null;
|
|
149
|
+
|
|
150
|
+
const store = (value) => {
|
|
151
|
+
if (NATIVE.get.call(area) === value) return;
|
|
152
|
+
NATIVE.set.call(area, value);
|
|
153
|
+
area.dispatchEvent(new Event('input', {bubbles: true}));
|
|
154
|
+
area.dispatchEvent(new Event('change', {bubbles: true}));
|
|
155
|
+
};
|
|
156
|
+
const fill = (value) => {
|
|
157
|
+
const html = toEditor(value);
|
|
158
|
+
if (html === shown) return;
|
|
159
|
+
filling = true;
|
|
160
|
+
try { editor.setValue(html); } finally { filling = false; }
|
|
161
|
+
shown = html;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
try {
|
|
165
|
+
editor = services.E.editor(host, {
|
|
166
|
+
mode: 'rich', minHeight, imagePaste: false, toolbar: TOOLBAR,
|
|
167
|
+
placeholder: placeholder ?? area.getAttribute('placeholder') ?? '',
|
|
168
|
+
onChange: (html) => {
|
|
169
|
+
if (filling) return;
|
|
170
|
+
const raw = typeof html === 'string' ? html : editor.getValue();
|
|
171
|
+
const value = saysSomething(raw) ? asBlocks(raw) : '';
|
|
172
|
+
// Remembered as it is stored (as blocks): a bound field hands the stored
|
|
173
|
+
// value straight back, and that must not refill the editor mid-typing.
|
|
174
|
+
shown = value || raw;
|
|
175
|
+
store(value);
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
} catch {
|
|
179
|
+
host.remove();
|
|
180
|
+
return plain;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Domma builds the editor beside the element it was given, not inside it.
|
|
184
|
+
const frame = host.nextElementSibling?.querySelector('[contenteditable]') ? host.nextElementSibling : host;
|
|
185
|
+
styles();
|
|
186
|
+
frame.classList.add('rich-description-editor');
|
|
187
|
+
if (compact) frame.classList.add('rich-description-compact');
|
|
188
|
+
frame.style.minHeight = '';
|
|
189
|
+
frame.style.setProperty('--rich-description-min', `${minHeight}px`);
|
|
190
|
+
// The label names the editor now; the textarea's length limit was for
|
|
191
|
+
// plain text and would count markup (the server keeps its own).
|
|
192
|
+
const editable = frame.querySelector('[contenteditable]');
|
|
193
|
+
// Inside a <label>, a click on the text would be passed to the label's first
|
|
194
|
+
// control - a help button, usually - and take the focus out of the editor.
|
|
195
|
+
frame.addEventListener('click', (e) => {
|
|
196
|
+
if (frame.closest('label') && !e.target.closest('button, a, input, select, textarea')) e.preventDefault();
|
|
197
|
+
});
|
|
198
|
+
const label = area.id ? document.querySelector(`label[for="${CSS.escape(area.id)}"]`) : area.closest('label');
|
|
199
|
+
const named = area.getAttribute('aria-label') || label?.childNodes[0]?.textContent?.trim() || 'Description';
|
|
200
|
+
editable?.setAttribute('aria-label', named);
|
|
201
|
+
area.removeAttribute('maxlength');
|
|
202
|
+
area.hidden = true;
|
|
203
|
+
|
|
204
|
+
fill(NATIVE.get.call(area));
|
|
205
|
+
Object.defineProperty(area, 'value', {
|
|
206
|
+
configurable: true,
|
|
207
|
+
get: () => NATIVE.get.call(area),
|
|
208
|
+
set: (value) => {
|
|
209
|
+
NATIVE.set.call(area, value ?? '');
|
|
210
|
+
fill(NATIVE.get.call(area));
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
const handle = {
|
|
215
|
+
rich: true,
|
|
216
|
+
get: () => NATIVE.get.call(area),
|
|
217
|
+
getText: () => richTextToPlain(NATIVE.get.call(area)),
|
|
218
|
+
set: (value) => { area.value = value ?? ''; },
|
|
219
|
+
focus: () => editable?.focus(),
|
|
220
|
+
destroy: () => {
|
|
221
|
+
delete area.value;
|
|
222
|
+
delete area._richDescription;
|
|
223
|
+
try { editor.destroy?.(); } catch { /* gone with the view */ }
|
|
224
|
+
if (frame !== host) frame.remove();
|
|
225
|
+
host.remove();
|
|
226
|
+
area.hidden = false;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
area._richDescription = handle;
|
|
230
|
+
return handle;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Show a stored description in an element: formatted when it is rich, as the
|
|
235
|
+
* text it is (line breaks kept) when it is plain.
|
|
236
|
+
*
|
|
237
|
+
* @param {Element|object} target - an element or a Domma collection
|
|
238
|
+
* @param {*} value - as stored
|
|
239
|
+
* @returns {void}
|
|
240
|
+
*/
|
|
241
|
+
function showRichText(target, value) {
|
|
242
|
+
const el = target?.get?.(0) ?? target;
|
|
243
|
+
if (!el) return;
|
|
244
|
+
const text = typeof value === 'string' ? value : '';
|
|
245
|
+
if (!isRichText(text) || !services.DOMPurify) {
|
|
246
|
+
el.textContent = richTextToPlain(text);
|
|
247
|
+
el.style.whiteSpace = 'pre-line';
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
el.style.whiteSpace = '';
|
|
251
|
+
styles();
|
|
252
|
+
const doc = new DOMParser().parseFromString(services.DOMPurify.sanitize(text, SHOWN), 'text/html');
|
|
253
|
+
for (const link of doc.body.querySelectorAll('a')) link.setAttribute('rel', 'noopener noreferrer');
|
|
254
|
+
el.classList.add('rich-text');
|
|
255
|
+
el.replaceChildren(...doc.body.childNodes);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* A description as HTML for the inside of a line of text (a `<p>`, a caption):
|
|
260
|
+
* inline formatting only, a paragraph or list item becoming a line break. The
|
|
261
|
+
* admin's copy of the server's `renderRichTextPhrasing`, for a preview that
|
|
262
|
+
* draws what the public page will be given. Through DOMPurify; without it,
|
|
263
|
+
* the words alone, escaped.
|
|
264
|
+
*
|
|
265
|
+
* @param {*} value - as stored
|
|
266
|
+
* @param {{links?: boolean, legacyHtml?: boolean}} [options] - as the server's
|
|
267
|
+
* @returns {string}
|
|
268
|
+
*/
|
|
269
|
+
function richTextInlineHtml(value, {links = true, legacyHtml = false} = {}) {
|
|
270
|
+
const text = typeof value === 'string' ? value.trim() : '';
|
|
271
|
+
if (!text) return '';
|
|
272
|
+
const rich = isRichText(text);
|
|
273
|
+
if (!services.DOMPurify || (!rich && !legacyHtml)) return escapeHtml(richTextLine(text));
|
|
274
|
+
const flat = text.replace(/<li(\s[^<>]*)?>/gi, '- ').replace(/<\/(p|h[1-6]|blockquote|li|ul|ol|div)>/gi, '<br>');
|
|
275
|
+
const html = services.DOMPurify.sanitize(flat, {
|
|
276
|
+
ALLOWED_TAGS: ['strong', 'b', 'em', 'i', 'u', 's', 'code', 'br', ...(links ? ['a'] : [])],
|
|
277
|
+
ALLOWED_ATTR: links ? ['href', 'target', 'rel'] : [],
|
|
278
|
+
ALLOW_DATA_ATTR: false
|
|
279
|
+
});
|
|
280
|
+
return html.replace(/(\s*<br\s*\/?>\s*){2,}/g, '<br>').replace(/^(\s|<br\s*\/?>)+|(\s|<br\s*\/?>)+$/g, '');
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
return {asBlocks, richDescription, showRichText, richTextInlineHtml};
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
let defaults;
|
|
287
|
+
const fields = () => defaults ??= createRichFields(globalThis);
|
|
288
|
+
export const asBlocks = (...args) => fields().asBlocks(...args);
|
|
289
|
+
export const richDescription = (...args) => fields().richDescription(...args);
|
|
290
|
+
export const showRichText = (...args) => fields().showRichText(...args);
|
|
291
|
+
export const richTextInlineHtml = (...args) => fields().richTextInlineHtml(...args);
|
|
@@ -1,86 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.31.0",
|
|
5
5
|
"files": {
|
|
6
|
-
"plugins/_lib/mail/defaults.js": "
|
|
7
|
-
"plugins/_lib/mail/priority.js": "
|
|
8
|
-
"plugins/_lib/mail/envelope.js": "
|
|
9
|
-
"plugins/_lib/mail/pollSchedule.js": "
|
|
10
|
-
"plugins/_lib/mail/syncPlan.js": "
|
|
11
|
-
"plugins/_lib/admin/mail/threads.js": "
|
|
12
|
-
"plugins/_lib/admin/mail/vacation.js": "
|
|
13
|
-
"plugins/_lib/mail/secretProvider.js": "
|
|
14
|
-
"plugins/_lib/mail/secretbox.js": "
|
|
15
|
-
"plugins/_lib/mail/bodyTokenProvider.js": "
|
|
16
|
-
"plugins/_lib/mail/bodyTokens.js": "
|
|
17
|
-
"plugins/_lib/mail/accountFileStore.js": "
|
|
18
|
-
"plugins/_lib/mail/accountRepository.js": "
|
|
19
|
-
"plugins/_lib/mail/accountRoutes.js": "
|
|
20
|
-
"plugins/_lib/mail/networkAddresses.js": "
|
|
21
|
-
"plugins/_lib/mail/networkPolicy.js": "
|
|
22
|
-
"plugins/_lib/mail/imapPoolRuntime.js": "
|
|
23
|
-
"plugins/_lib/mail/publicMailbox.js": "
|
|
24
|
-
"plugins/_lib/mail/render.js": "
|
|
25
|
-
"plugins/_lib/mail/unsubscribe.js": "
|
|
26
|
-
"plugins/_lib/mail/unreadBadge.js": "
|
|
27
|
-
"plugins/_lib/mail/message-action.js": "
|
|
28
|
-
"plugins/_lib/admin/mail/identity.js": "
|
|
29
|
-
"plugins/_lib/mail/messageSecurityProvider.js": "
|
|
30
|
-
"plugins/_lib/mail/messageSecurity.js": "
|
|
31
|
-
"plugins/_lib/mail/smtpService.js": "
|
|
32
|
-
"plugins/_lib/mail/subscriptions.js": "
|
|
33
|
-
"plugins/_lib/mail/senderAuth.js": "
|
|
34
|
-
"plugins/_lib/mail/readRuntime.js": "
|
|
35
|
-
"plugins/_lib/admin/mail/image-senders-section.js": "
|
|
36
|
-
"plugins/_lib/admin/mail/mail.html": "
|
|
37
|
-
"plugins/_lib/admin/mail/section-kit.js": "
|
|
38
|
-
"plugins/_lib/admin/mail/when-closed.js": "
|
|
39
|
-
"plugins/_lib/admin/mail/oauth-panel.js": "
|
|
40
|
-
"plugins/_lib/admin/mail/rules.js": "
|
|
41
|
-
"plugins/_lib/admin/mail/reader-kit.js": "
|
|
42
|
-
"plugins/_lib/admin/mail/panes.js": "
|
|
43
|
-
"plugins/_lib/admin/mail/contacts.js": "
|
|
44
|
-
"plugins/_lib/admin/mail/message-actions.js": "
|
|
45
|
-
"plugins/_lib/admin/mail/resizable.js": "
|
|
46
|
-
"plugins/_lib/admin/mail/settings-section.js": "
|
|
47
|
-
"plugins/_lib/admin/mail/compose-window.js": "
|
|
48
|
-
"plugins/_lib/admin/mail/folder-tree.js": "
|
|
49
|
-
"plugins/_lib/admin/mail/body-menu.js": "
|
|
50
|
-
"plugins/_lib/admin/mail/diagnostics-section.js": "
|
|
51
|
-
"plugins/_lib/admin/mail/drag-drop.js": "
|
|
52
|
-
"plugins/_lib/admin/mail/scheduling.js": "
|
|
53
|
-
"plugins/_lib/admin/mail/font-controls.js": "
|
|
54
|
-
"plugins/_lib/admin/mail/fonts.js": "
|
|
55
|
-
"plugins/_lib/admin/mail/keyboard.js": "
|
|
56
|
-
"plugins/_lib/admin/mail/mail.css": "
|
|
57
|
-
"plugins/_lib/admin/mail/reader-view.js": "
|
|
58
|
-
"plugins/_lib/admin/mail/templates.js": "
|
|
59
|
-
"plugins/_lib/admin/mail/security-note.js": "
|
|
60
|
-
"plugins/_lib/admin/ui/dates.js": "
|
|
61
|
-
"plugins/_lib/mail/compose.js": "
|
|
62
|
-
"plugins/_lib/admin/mail/reader-runtime.js": "
|
|
63
|
-
"plugins/_lib/admin/mail/host-context.js": "
|
|
64
|
-
"plugins/_lib/admin/mail/cms-host.js": "
|
|
65
|
-
"plugins/_lib/admin/ui/resizable.js": "
|
|
66
|
-
"plugins/_lib/mail/store.js": "
|
|
67
|
-
"plugins/_lib/mail/syncSelection.js": "
|
|
68
|
-
"plugins/_lib/mail/pollerRuntime.js": "
|
|
69
|
-
"plugins/_lib/mail/poller.js": "
|
|
70
|
-
"plugins/_lib/mail/syncRuntime.js": "
|
|
71
|
-
"plugins/_lib/mail/write.js": "
|
|
72
|
-
"plugins/_lib/admin/mail/restore-spam.js": "
|
|
73
|
-
"plugins/_lib/mail/folders.js": "
|
|
74
|
-
"plugins/_lib/mail/folderActions.js": "
|
|
75
|
-
"plugins/_lib/mail/folderRuntime.js": "
|
|
76
|
-
"plugins/_lib/mail/ruleRunner.js": "
|
|
77
|
-
"plugins/_lib/mail/schedulerRuntime.js": "
|
|
78
|
-
"plugins/_lib/mail/snoozeRuntime.js": "
|
|
79
|
-
"plugins/_lib/mail/vacationRuntime.js": "
|
|
80
|
-
"plugins/_lib/mail/mbox.js": "
|
|
81
|
-
"plugins/_lib/mail/sieve.js": "
|
|
82
|
-
"plugins/_lib/mail/oauthRuntime.js": "
|
|
83
|
-
"plugins/_lib/mail/oauthRouteRuntime.js": "
|
|
84
|
-
"plugins/_lib/mail/oauthAccounts.js": "
|
|
6
|
+
"plugins/_lib/mail/defaults.js": "0c3206de32ad888e4bff5f13178e132a70bf848b979f813ec837329ff3663aa2",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "026e397229600839d7dbfbbed6e1ca980f8f8496ece17a3eab02fb972c848758",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "2e659d61f2801568882d10e60b051266b7843e09b789c35c8b87a76eb0231d67",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "f2f17f4cacdd628338e366a2d2e398893145f29a745a0fe94bd6bedefe260f28",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "d5cc84739f74b1c7372247852c8f29a2c9aff8ab89977c0a3118815457f8f678",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "a7381c997e2268be01934255f2793fafa04a37980356a1abec95f370649905d3",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "c6d0aee624c2cecfefd2d32f508f6be38badbf1d077413b3edfd03352aac3c11",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "8bc411c3e7d36c7d2454296b0aeb429c54f83a8b8735e91307dfed97ad177192",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "ea9b893495af89ea586738c157bbf75a1b7d81018260b28d22eb48b985c2f16c",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "641bad99281bb487454150bc554e690ea54e42bc3b26e3843fcd0090954c9a52",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "2623e35f2dfcae96a5e3d423e68a633339634d6f0caae91d17b05896802611b3",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "411753fa109a22d3d4ddc33ed249f71d3c14308da4f03aa0c6810453ceffbcc8",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "6cab4b49f27febe64c18989f4ea2b85eade7851885ac830d0a840151b14cc1c6",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "b393c4127704974e7e71396d8390a9cc5f20ea8218f5d8fc98f65b3742c14d20",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "4bea0210fee7ef2c3dcc27bb37e4b8474ea74cb6801978131811b82790cd66e6",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "ab48c448168f00d6ff800bccbff40b84874b7df4da095696d26406c3b1827cf4",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "6251d456d5a46c4891b7862a2616d2f879e79c8f9a63bceedb77881a35a405e5",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "71a0a07d86b297af875eaa83983513da0747ba5b84af026f104d2ca1d228003d",
|
|
24
|
+
"plugins/_lib/mail/render.js": "a1bc162c88bcdfd13be1fe4303e8f71d5d22927eccd859643160cccecaf54635",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "e6023ad58cd6ac060d1699981360107f55184a68c616593ae1272b1bda096613",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "1a81b92cd27b849fb95ca917d2b570ff8115549bb318c913bf791f3f161dfb3b",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "3f029e47ef1adeafb3c1b59ec16eac6a1bad149bf94ecd328ace7892914ca431",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "2357d6b405698b9acaa3cae5eaeb37d6b613d3c6b3c8f1c01c9b96c2a032d8d1",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "604bd619f23e5b0da20af8b0f913f07aaec2abfd945a1d0429d2d252a41a6c09",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "e1e9f07ebdc955c41f543c982e479336e749708c7cdff33eea7d1e5624e6b744",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "f446f088d6041a8c078b43d917b7dbdc9ed6d4519cfd2fbe8273361c85618e87",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "c10f604468c1b9d0ffac91199bb49cf304f61a78b273f666de850ef30ad88fda",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "dfe2801a5af30f23b7e6b7dcf8df58cecb0474aa048622dc3d53e146d9ce192d",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "5a17bf2da7f0f2feb800cdf2b9dc6b3ecbf990e3b66aa159844ef94b69ee9f8d",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "72a5e822d416e497328ebbe9a6b3d04cbced1a1054c89a491ff2499c9ffea11c",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "5f659826a5409b367d94eb66f3fb64cb8b5c5a74fafa4a45e70572e159a275ee",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "dedffef31799ee86c9059e8f74567f1b26b5b1301e772dffd89a8dd378db3d1f",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "5378c3b025494fe777ef18639baa7732e4f0f9ddc7af2812bfb09f70359eb402",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "af61fb89905dc4f06ce6f2a37b923a7c8c288f1f580f6471620be50cdd0b7319",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "a7a2c58fa45d0055ca4400a7303650fcd1e2a283b31956c85670c2e1e232d142",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "5ac7e2baf02fac59b4a78b48df89f708621b30877fd811c53ad6b12b74571aa6",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "49bf704ee5bec1126d1c99c62f0e88f5fb840f768e62af3e83ff1958a4fe8997",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "d71952dc0f903025d3b96bb82769d8ddc6cff3f17590bb64ce0e4dbb3cc51e48",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "95bc597e4d68da8dd7426f8c56b5cfdf3a905f9d3e3125398c5f1c544fc8fffa",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "242b3fac130e5c4d358d27a8652390f323ea715dbd4bc7d1b781e272f330b5b0",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "74dce368d18d6326ec37a6e7006ace108c76a9bfe25ccf6842b2bac8ba8c65f6",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "0a564245eb1bd2c8f18a46761b7d7a2acb4103420168c9a9690da1cdca654eff",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "2c10a90c5c19dcc432f9bdfe9755f63ac3cf1f3013822cd31b0abc17b77ae855",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "70477c740e4fdfad17b633ca90346ad7a8d6f6088178bf2a02ad588ed3c00a01",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "faae4b9a1109f3d691911f6a8c57c35da6049fefae0a6c60c79d8c34b3fa59ec",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "afcf932644792aa43ffc968d965f0e464b7789d40111283fdbbcca0cdbb067fc",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "8a1de7aadf84f8557e7169667bc8b906aee210c20e3a27227020aeb44331f25e",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "c1a3813ce079d9a7b2c7b3f0fe6799349ec8aaef9e943612bb2b8b84e4ca4a94",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "4792ada5f30a02a4e1ad1d9392b74e1c90381991a691543ebf458b91a70875b4",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "22eb81def38de5fcd5a5da1f40b633e7a2b925edb179ba7854977337d3c39ccf",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "b24dc09d2a6ad4383b3a7640e834dace4cb4112937b401e4addcb2e4bb95a5ae",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "ba97dc201e816e7cee0db1f9939bd6016917f4049ba508715e5bfb9881dd17c3",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "718c4b5318ebac7b663fb279b30a8056a317b95a7ab8a60e1a37d69a01315e1b",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "ce459755376e0f60d6cc4b68f6cdeb1c10d64d50b797d48be9ed0f7691616f26",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "1854f3af20225685e3c502758fba6c3a619e7aa9ac73c2e4e6bdd4caf741a9cd",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "dc0fed581c10537d508c3d67b902ad561c9d94bb5a79af1860ed7fee9e94bdde",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "91fa711f9d1e11972356fb2d937d825a927dad428583e26563337c6a00b93883",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "149513edd2e6fda217ae612dc5f24cb1ffb1c268bf42a040f8a79fe562fa2723",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "1e0e68d07070e78624c7333e59e58dc6b3545c6fe2d3033c1daa106c08c096cb",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "49c7681a028b0a705524fadf3354f7373579e6ccfad6edf8d77f181ab3e43b85",
|
|
66
|
+
"plugins/_lib/mail/store.js": "6d1c5de452d2aaa9cdd8a818842fd0c50d8c2fbdcef7299bfc30ae0222145135",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "a395a6d8e90caa5eba97d4d45282744abf8d63ed5e1aaaab8d396ff0e756ac8d",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "edee90cd295bfbab58d7988230e9e8697dc38470b5729a2424325a3919c932e3",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "192ca8cd4cccd113ae4f3d8d788e445974043f0ed57ecd85e16e4ac4d3af6f22",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "bbf9eee20a9bed628e12fb5a6d2849ed415c60ebe264e3f562f35942acea98bf",
|
|
71
|
+
"plugins/_lib/mail/write.js": "d35ef6174a8205b358ec380cb73f654c772ac011ebaf6fc6bc76fbea19d7fa3e",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "118a548ff03ba2c0fa88db134cf41da0e296f930b37fd3314a703da1eb31783f",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "5ddc9c3c4b789613083f00e476d684f05ab5ca94440495b718d05a43a41dbc50",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "597909ab8488aad221fe975adb93d6faebfcf4bbc2f6ad64d38ef32a990b1f5d",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "904911da6d04160c5509582ff6d4f5b00700fd7ed5944c020b7bce423c08b35e",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "97c58743d09567c4f630a7a0ef2cdd15781cc5a4ac31c01a789e1b64f1ccdf77",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "bce59f5fddf070be693827035b1a36944e51b25427af125dfec3db57fc65d0ee",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "80afee5e8e9847b933c03bd32bd5e3178ddede04db4f4b7d09d1b5d3adfb67a5",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "cc55719beac8520fa59c8fd49d74574cb5521620658d21d93d50ec3ea23e0e0b",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "793400e1d64b422b414d45a22c321e90b5030a7e7828b453104e246f7fe7ddb0",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "2af20b405f2544611d6112c24bee0c4088583e3822f0a6c3cbbcd8c4abeff27c",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "2c2818fb040bd82ccafcdf1d5b482ee37cf9a44f88313d0eceb41977981dff46",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "67d1d71bec7f138d24bb9648ca9466c5bcc0534299e816bc693ff3c52758b2b1",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "48e0d8cb7be2e9772a559f2276a95e03c4d7c34e107bf0795d682c827841c9ce",
|
|
85
|
+
"plugins/_lib/public/rich-text.mjs": "1710390dd04912d1fb8884af83e73d59934e348e86080052fcca3ce6f0cc11f7",
|
|
86
|
+
"plugins/_lib/rich-text.js": "5c707a9d9ed5f2e36504eeb22cda7784bd4f87b127b18a9fc71c742dba9af1da",
|
|
87
|
+
"plugins/_lib/admin/ui/rich-field.js": "6a31c0fc33c6c03a5a30948c70c40a2e30d6ede31e61c83923034b62bd6dbfc3"
|
|
85
88
|
}
|
|
86
89
|
}
|