@emailmaker/emailmaker 1.1.72 → 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 +418 -0
- package/README.md +37 -1
- package/{emailmaker-core.bd3c8144.js → emailmaker-core.5550faa5.js} +6 -6
- package/emailmaker-esm.js +127 -127
- package/{emailmaker-po.bd3c8144.js → emailmaker-po.5550faa5.js} +1 -1
- package/emailmaker.d.ts +4 -0
- 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 +30 -9
- package/static/core/{ab6da7f5.js → 16751762.js} +7 -7
- package/static/core/1cb65d65.js +3280 -0
- package/static/core/{ec8d567d2.js → 20625a132.js} +2736 -2475
- package/static/core/{a5a25e092.js → 26d559d32.js} +95 -95
- package/static/core/{ce8ca64c.js → 395f82fa.js} +3 -3
- package/static/core/{dda6d713.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/{893bd50e.js → 5be7581f.js} +21336 -18551
- package/static/core/{dd6d3ae42.js → 60e2f0e02.js} +40 -40
- package/static/core/758a0c3c.js +1098 -0
- package/static/core/{dd625043.js → 8fe345a7.js} +15 -15
- package/static/core/adc7cd4e.js +2134 -0
- package/static/core/{fab6e3c1.js → d0a3e529.js} +2465 -2615
- package/static/core/{34b3c6f9.js → d239a2a0.js} +278 -254
- package/static/core/{5da8610f.js → d34d3cc0.js} +3447 -3122
- package/static/core/{98529d8d2.js → ed08ded22.js} +1315 -1242
- package/static/core/{2181dfc12.js → f6e0d3702.js} +2138 -2086
- package/static/umd-runtime/ui-kit.js +1171 -1103
- package/ui-kit/index.js +1541 -1469
- package/favicon-b.ico +0 -0
- package/favicon.ico +0 -0
- package/fonts/SegoeUI-Bold.woff2 +0 -0
- package/fonts/SegoeUI-Semibold.woff2 +0 -0
- package/fonts/SegoeUI.woff2 +0 -0
- package/iframe/js/amp.D4LpeCG3.js +0 -1
- package/js/amplitude.min.js +0 -10859
- package/js/sourcebuster.min.js +0 -672
- package/manifest.json +0 -17
- package/npm-publish.manifest.json +0 -65
- package/static/core/84e7cbac.js +0 -925
- package/static/core/8815169a.js +0 -3189
- package/static/core/e84eccff.js +0 -2122
- package/static/media/image-editor/images/samples/large_sample.jpg +0 -0
- package/static/media/image-editor/images/samples/sample1.jpg +0 -0
- package/static/media/image-editor/images/samples/sample1_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample2.jpg +0 -0
- package/static/media/image-editor/images/samples/sample2_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample3.jpg +0 -0
- package/static/media/image-editor/images/samples/sample3_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample4.json +0 -871
- package/static/media/image-editor/images/samples/sample4_preview.jpg +0 -0
- package/test-font.otf +0 -0
- package/test-font.ttf +0 -0
- package/test-font.woff2 +0 -0
- package/tsconfig.json +0 -14
- package/two_step_headless_plugin.html +0 -558
- /package/iframe/{iframe-eblock.bd3c8144.html → iframe-eblock.5550faa5.html} +0 -0
- /package/iframe/{iframe.bd3c8144.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/dd625043.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/dd625043.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/dd625043.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/dd625043.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/dd625043.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,
|