@bobfrankston/rmfmail 1.1.250 → 1.2.1
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/client/android-bootstrap.bundle.js +12 -3
- package/client/android-bootstrap.bundle.js.map +1 -1
- package/client/app.bundle.js +12 -11
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +11 -13
- package/client/app.js.map +1 -1
- package/client/app.ts +10 -12
- package/client/compose/compose.bundle.js +12 -3
- package/client/compose/compose.bundle.js.map +1 -1
- package/docs/architecture-review.md +182 -0
- package/docs/clean-architecture.md +161 -0
- package/package.json +1 -1
- package/packages/mailx-api/index.d.ts.map +1 -1
- package/packages/mailx-api/index.js +8 -5
- package/packages/mailx-api/index.js.map +1 -1
- package/packages/mailx-api/index.ts +8 -5
- package/packages/mailx-service/db-worker.js +5 -1
- package/packages/mailx-service/db-worker.js.map +1 -1
- package/packages/mailx-service/db-worker.ts +5 -1
- package/packages/mailx-service/index.d.ts +18 -1
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +67 -7
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +76 -7
- package/packages/mailx-store/db.d.ts +7 -1
- package/packages/mailx-store/db.d.ts.map +1 -1
- package/packages/mailx-store/db.js +26 -1
- package/packages/mailx-store/db.js.map +1 -1
- package/packages/mailx-store/db.ts +27 -1
- package/test/phase0-readworker.mjs +185 -0
package/client/app.bundle.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
-
var __esm = (fn, res) => function __init() {
|
|
4
|
-
|
|
3
|
+
var __esm = (fn, res, err) => function __init() {
|
|
4
|
+
if (err) throw err[0];
|
|
5
|
+
try {
|
|
6
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
7
|
+
} catch (e) {
|
|
8
|
+
throw err = [e], e;
|
|
9
|
+
}
|
|
5
10
|
};
|
|
6
11
|
var __export = (target, all) => {
|
|
7
12
|
for (var name in all)
|
|
@@ -8722,10 +8727,6 @@ function doSearch(immediate = false) {
|
|
|
8722
8727
|
serverSearchTimer = null;
|
|
8723
8728
|
}
|
|
8724
8729
|
cancelServerSearch();
|
|
8725
|
-
if (localScope === "current" && !serverOn && !immediate) {
|
|
8726
|
-
setLiveFilter(query);
|
|
8727
|
-
return;
|
|
8728
|
-
}
|
|
8729
8730
|
const localScopeEff = localScope === "current" ? "current" : "all";
|
|
8730
8731
|
loadSearchResults(query, localScopeEff, currentAccountId3, currentFolderId2, includeTrash);
|
|
8731
8732
|
setTitle(`${APP_NAME} - Search: ${query}`);
|
|
@@ -11182,7 +11183,7 @@ versionPromise.then((d) => {
|
|
|
11182
11183
|
}).catch(() => {
|
|
11183
11184
|
});
|
|
11184
11185
|
if (isApp) {
|
|
11185
|
-
let
|
|
11186
|
+
let sendGeometry2 = function() {
|
|
11186
11187
|
if (!ipcApi?.saveWindowGeometry) return;
|
|
11187
11188
|
ipcApi.saveWindowGeometry({
|
|
11188
11189
|
x: window.screenX,
|
|
@@ -11192,12 +11193,12 @@ if (isApp) {
|
|
|
11192
11193
|
}).catch(() => {
|
|
11193
11194
|
});
|
|
11194
11195
|
};
|
|
11195
|
-
|
|
11196
|
+
sendGeometry = sendGeometry2;
|
|
11196
11197
|
const ipcApi = window.mailxapi;
|
|
11197
|
-
window.addEventListener("beforeunload",
|
|
11198
|
-
setInterval(
|
|
11198
|
+
window.addEventListener("beforeunload", sendGeometry2);
|
|
11199
|
+
setInterval(sendGeometry2, 6e4);
|
|
11199
11200
|
}
|
|
11200
|
-
var
|
|
11201
|
+
var sendGeometry;
|
|
11201
11202
|
function saveBootSnapshot() {
|
|
11202
11203
|
try {
|
|
11203
11204
|
const folderTree2 = document.getElementById("folder-tree");
|