@emailmaker/emailmaker 1.1.75 → 1.1.81
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 +42 -0
- package/{emailmaker-core.705f9cde.js → emailmaker-core.5550faa5.js} +6 -6
- package/emailmaker-esm.js +127 -127
- package/{emailmaker-po.705f9cde.js → emailmaker-po.5550faa5.js} +1 -1
- package/emailmaker.js +3 -3
- package/iframe/js/amp.BtGCOg7N.js +1 -0
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/package.json +1 -1
- package/static/core/{d6093d8d.js → 16751762.js} +7 -7
- package/static/core/1cb65d65.js +3280 -0
- package/static/core/{baee7d8b2.js → 20625a132.js} +2708 -2492
- package/static/core/{a5a25e092.js → 26d559d32.js} +95 -95
- package/static/core/{23d0be47.js → 395f82fa.js} +3 -3
- package/static/core/{8e559366.js → 438f4766.js} +4 -4
- package/static/core/{2dd8b882.js → 4d48fdcd.js} +84 -84
- package/static/core/{f5f707b8.js → 544a8fe8.js} +51 -51
- package/static/core/{3af12861.js → 5be7581f.js} +18947 -18428
- package/static/core/{dd6d3ae42.js → 60e2f0e02.js} +40 -40
- package/static/core/758a0c3c.js +1098 -0
- package/static/core/{e44c2cac.js → 8fe345a7.js} +15 -15
- package/static/core/{aaa151dc.js → adc7cd4e.js} +528 -523
- package/static/core/{4efbc972.js → d0a3e529.js} +2465 -2615
- package/static/core/{7093b78e.js → d239a2a0.js} +272 -248
- package/static/core/{fb14792c.js → d34d3cc0.js} +2710 -2637
- package/static/core/{7af547562.js → ed08ded22.js} +789 -780
- package/static/core/{2181dfc12.js → f6e0d3702.js} +2138 -2086
- package/iframe/js/amp.CcyAlXr8.js +0 -1
- package/static/core/1f9bc4c3.js +0 -925
- package/static/core/e430193d.js +0 -3189
- /package/iframe/{iframe-eblock.705f9cde.html → iframe-eblock.5550faa5.html} +0 -0
- /package/iframe/{iframe.705f9cde.html → iframe.5550faa5.html} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/8fe345a7.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
|
-
"static/core/
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
8
|
-
"static/core/
|
|
9
|
-
], function(_, I,
|
|
10
|
-
const h = _("./
|
|
5
|
+
"static/core/d34d3cc0.js",
|
|
6
|
+
"static/core/758a0c3c.js",
|
|
7
|
+
"static/core/ed08ded22.js",
|
|
8
|
+
"static/core/20625a132.js"
|
|
9
|
+
], function(_, I, z) {
|
|
10
|
+
const h = _("./d34d3cc0.js"), P = _("./758a0c3c.js"), S = _("./ed08ded22.js"), f = _("./20625a132.js");
|
|
11
11
|
var F;
|
|
12
12
|
(function(d) {
|
|
13
13
|
function e(a, i, n = (s, o) => s === o) {
|
|
@@ -133,10 +133,10 @@ __emailmaker__.define("static/core/e44c2cac.js", [
|
|
|
133
133
|
function O(d) {
|
|
134
134
|
return typeof d?.watchThumbnail == "function";
|
|
135
135
|
}
|
|
136
|
-
var T = 200,
|
|
136
|
+
var T = 200, N = class m {
|
|
137
137
|
pathMode = !1;
|
|
138
138
|
rootId = "";
|
|
139
|
-
trashPath = f.
|
|
139
|
+
trashPath = f.Yi;
|
|
140
140
|
useSoftDelete = !1;
|
|
141
141
|
api;
|
|
142
142
|
projectId;
|
|
@@ -148,13 +148,13 @@ __emailmaker__.define("static/core/e44c2cac.js", [
|
|
|
148
148
|
thumbWatchers = new Map();
|
|
149
149
|
resolveSystemFolderByPath;
|
|
150
150
|
constructor(e) {
|
|
151
|
-
this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? S.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.
|
|
152
|
-
id: f.
|
|
151
|
+
this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? S.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.Qi({ Trash: {
|
|
152
|
+
id: f.Yi,
|
|
153
153
|
folderId: this.rootId
|
|
154
154
|
} });
|
|
155
155
|
}
|
|
156
156
|
async getItems(e) {
|
|
157
|
-
const t = e.folderId === f.
|
|
157
|
+
const t = e.folderId === f.Yi;
|
|
158
158
|
if (e.itemType === "folder") return { items: await this.listFolders(e.folderId, t) };
|
|
159
159
|
const r = e.itemType === "all" && (e.page ?? 1) <= 1, [a, i] = await Promise.all([r ? this.listFolders(e.folderId, t, e.search) : [], this.listFiles(e, t)]);
|
|
160
160
|
return {
|
|
@@ -209,7 +209,7 @@ __emailmaker__.define("static/core/e44c2cac.js", [
|
|
|
209
209
|
throw s;
|
|
210
210
|
}
|
|
211
211
|
this.onIndexingStateChange?.(!!i.data.indexing);
|
|
212
|
-
const n = t ? f.
|
|
212
|
+
const n = t ? f.Yi : this.normalizeFolderId(e.folderId) ?? this.rootId;
|
|
213
213
|
return {
|
|
214
214
|
items: (i.data.data ?? []).map((s) => this.mapFile(s, n)),
|
|
215
215
|
pagination: this.mapPagination(i.data.page, r)
|
|
@@ -454,7 +454,7 @@ __emailmaker__.define("static/core/e44c2cac.js", [
|
|
|
454
454
|
success: !0,
|
|
455
455
|
detailed: []
|
|
456
456
|
};
|
|
457
|
-
const r = e.filter((s) => s.folderId === f.
|
|
457
|
+
const r = e.filter((s) => s.folderId === f.Yi), a = e.filter((s) => s.folderId !== f.Yi), i = [];
|
|
458
458
|
if (r.length > 0) {
|
|
459
459
|
const s = await this.api.trash.restoreCreate({
|
|
460
460
|
project_id: this.projectId,
|
|
@@ -660,7 +660,7 @@ __emailmaker__.define("static/core/e44c2cac.js", [
|
|
|
660
660
|
}), Object.defineProperty(I, "FileManagerRestApiProviderV2", {
|
|
661
661
|
enumerable: !0,
|
|
662
662
|
get: function() {
|
|
663
|
-
return
|
|
663
|
+
return N;
|
|
664
664
|
}
|
|
665
665
|
}), Object.defineProperty(I, "arrays", {
|
|
666
666
|
enumerable: !0,
|