@bobfrankston/rmfmail 1.2.295 → 1.2.297
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/.commitmsg +29 -15
- package/client/android-bootstrap.bundle.js +69 -11
- package/client/android-bootstrap.bundle.js.map +3 -3
- package/client/app.bundle.js +30 -0
- package/client/app.bundle.js.map +3 -3
- package/client/app.js +27 -1
- package/client/app.js.map +1 -1
- package/client/app.ts +25 -1
- package/client/index.html +5 -0
- package/client/styles/components.css +22 -5
- package/npmchanges.md +53 -0
- package/package.json +8 -8
- package/packages/mailx-imap/index.d.ts +1 -0
- package/packages/mailx-imap/index.d.ts.map +1 -1
- package/packages/mailx-imap/index.js +75 -11
- package/packages/mailx-imap/index.js.map +1 -1
- package/packages/mailx-imap/index.ts +76 -12
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-settings/package.json +1 -1
- package/packages/mailx-store/package.json +1 -1
- package/packages/mailx-store-web/android-bootstrap.d.ts.map +1 -1
- package/packages/mailx-store-web/android-bootstrap.js +6 -2
- package/packages/mailx-store-web/android-bootstrap.js.map +1 -1
- package/packages/mailx-store-web/android-bootstrap.ts +8 -2
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-types/index.d.ts +1 -0
- package/packages/mailx-types/index.d.ts.map +1 -1
- package/packages/mailx-types/index.js +1 -0
- package/packages/mailx-types/index.js.map +1 -1
- package/packages/mailx-types/index.ts +1 -0
- package/packages/mailx-types/log-changes.d.ts +29 -0
- package/packages/mailx-types/log-changes.d.ts.map +1 -0
- package/packages/mailx-types/log-changes.js +42 -0
- package/packages/mailx-types/log-changes.js.map +1 -0
- package/packages/mailx-types/log-changes.ts +44 -0
- package/packages/mailx-types/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-52364 → node_modules.npmglobalize-stash-77248}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -1387,6 +1387,15 @@ var init_trust = __esm({
|
|
|
1387
1387
|
}
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
1390
|
+
// packages/mailx-types/log-changes.js
|
|
1391
|
+
var RESTATE_AFTER_MS;
|
|
1392
|
+
var init_log_changes = __esm({
|
|
1393
|
+
"packages/mailx-types/log-changes.js"() {
|
|
1394
|
+
"use strict";
|
|
1395
|
+
RESTATE_AFTER_MS = 60 * 60 * 1e3;
|
|
1396
|
+
}
|
|
1397
|
+
});
|
|
1398
|
+
|
|
1390
1399
|
// packages/mailx-types/contacts-config.js
|
|
1391
1400
|
var init_contacts_config = __esm({
|
|
1392
1401
|
"packages/mailx-types/contacts-config.js"() {
|
|
@@ -1489,6 +1498,7 @@ var init_mailx_types = __esm({
|
|
|
1489
1498
|
"use strict";
|
|
1490
1499
|
init_contact_rules();
|
|
1491
1500
|
init_trust();
|
|
1501
|
+
init_log_changes();
|
|
1492
1502
|
init_contacts_config();
|
|
1493
1503
|
init_groups();
|
|
1494
1504
|
init_reminder_state();
|
|
@@ -13472,6 +13482,23 @@ function syncFilterFlaggedButton() {
|
|
|
13472
13482
|
btn.classList.toggle("active", !!optFlagged?.checked);
|
|
13473
13483
|
btn.setAttribute("aria-pressed", optFlagged?.checked ? "true" : "false");
|
|
13474
13484
|
}
|
|
13485
|
+
function syncFilterChip() {
|
|
13486
|
+
const chip = document.getElementById("ml-filter-chip");
|
|
13487
|
+
if (!chip) return;
|
|
13488
|
+
const flagged = !!document.getElementById("opt-flagged")?.checked;
|
|
13489
|
+
const priority = !!document.getElementById("opt-priority-only")?.checked;
|
|
13490
|
+
const names = [flagged ? "flagged (\u2605) messages" : "", priority ? "priority senders" : ""].filter(Boolean);
|
|
13491
|
+
if (!names.length) {
|
|
13492
|
+
chip.hidden = true;
|
|
13493
|
+
return;
|
|
13494
|
+
}
|
|
13495
|
+
chip.hidden = false;
|
|
13496
|
+
chip.textContent = "Showing " + names.join(" and ") + " only \u2014 click to show everything";
|
|
13497
|
+
chip.title = "Clear the list filter";
|
|
13498
|
+
}
|
|
13499
|
+
document.getElementById("ml-filter-chip")?.addEventListener("click", () => {
|
|
13500
|
+
document.dispatchEvent(new CustomEvent("mailx-clear-list-filters"));
|
|
13501
|
+
});
|
|
13475
13502
|
function applyFlaggedFilter(on) {
|
|
13476
13503
|
try {
|
|
13477
13504
|
logClientEvent("applyFlaggedFilter", { on, caller: new Error().stack?.split("\n").slice(2, 5).join(" | ") });
|
|
@@ -13483,6 +13510,7 @@ function applyFlaggedFilter(on) {
|
|
|
13483
13510
|
else body?.classList.remove("flagged-only");
|
|
13484
13511
|
localStorage.setItem("mailx-flagged", String(on));
|
|
13485
13512
|
syncFilterFlaggedButton();
|
|
13513
|
+
syncFilterChip();
|
|
13486
13514
|
reloadCurrentFolder();
|
|
13487
13515
|
}
|
|
13488
13516
|
optFlagged?.addEventListener("change", () => {
|
|
@@ -13492,6 +13520,7 @@ document.getElementById("btn-filter-flagged")?.addEventListener("click", () => {
|
|
|
13492
13520
|
applyFlaggedFilter(!optFlagged?.checked);
|
|
13493
13521
|
});
|
|
13494
13522
|
syncFilterFlaggedButton();
|
|
13523
|
+
syncFilterChip();
|
|
13495
13524
|
var optPriorityOnly = document.getElementById("opt-priority-only");
|
|
13496
13525
|
if (optPriorityOnly) {
|
|
13497
13526
|
optPriorityOnly.checked = localStorage.getItem("mailx-priority-only") === "true";
|
|
@@ -13502,6 +13531,7 @@ if (optPriorityOnly) {
|
|
|
13502
13531
|
if (optPriorityOnly.checked) body?.classList.add("priority-only");
|
|
13503
13532
|
else body?.classList.remove("priority-only");
|
|
13504
13533
|
localStorage.setItem("mailx-priority-only", String(optPriorityOnly.checked));
|
|
13534
|
+
syncFilterChip();
|
|
13505
13535
|
});
|
|
13506
13536
|
}
|
|
13507
13537
|
document.addEventListener("mailx-clear-list-filters", () => {
|