@social-mail/social-mail-client 1.2.788 → 1.4.2
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/dist/admin/AdminAppIndex.pack.js +53 -25
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +4 -4
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/model/model.d.ts +7 -7
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +18 -9
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/BlogImageService.d.ts +2 -2
- package/dist/public/channel/BlogImageService.d.ts.map +1 -1
- package/dist/public/channel/BlogImageService.js +2 -6
- package/dist/public/channel/BlogImageService.js.map +1 -1
- package/dist/public/channel/BlogService.d.ts +1 -1
- package/dist/public/channel/BlogService.d.ts.map +1 -1
- package/dist/public/channel/BlogService.js +3 -3
- package/dist/public/channel/BlogService.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +60 -36
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +5 -5
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/PostSummary.d.ts +2 -2
- package/dist/public/channel/PostSummary.d.ts.map +1 -1
- package/dist/public/channel/UrlService.d.ts +2 -2
- package/dist/public/channel/UrlService.d.ts.map +1 -1
- package/dist/public/channel/controls/PostList.d.ts +2 -2
- package/dist/public/channel/controls/PostList.d.ts.map +1 -1
- package/dist/public/channel/controls/PostList.js +5 -5
- package/dist/public/channel/controls/PostList.js.map +1 -1
- package/dist/public/channel/controls/RecentPosts.d.ts +2 -2
- package/dist/public/channel/controls/RecentPosts.d.ts.map +1 -1
- package/dist/public/channel/controls/UpcomingEvents.d.ts +2 -2
- package/dist/public/preview/zip/DownloadZip.pack.js +45 -10
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +45 -10
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +2 -2
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +45 -10
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +2 -2
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +53 -25
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +4 -4
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +53 -25
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +4 -4
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
- package/dist/web/page/channels/services/ChannelService.js +3 -3
- package/dist/web/page/channels/services/ChannelService.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +5 -12
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts +4 -1
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js +21 -0
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/Query.d.ts +1 -0
- package/node_modules/@web-atoms/entity/dist/services/Query.d.ts.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/Query.js +6 -1
- package/node_modules/@web-atoms/entity/dist/services/Query.js.map +1 -1
- package/node_modules/@web-atoms/entity/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@web-atoms/entity/package.json +1 -1
- package/node_modules/@web-atoms/entity/src/services/BaseEntityService.ts +27 -1
- package/node_modules/@web-atoms/entity/src/services/Query.ts +7 -1
- package/package.json +2 -2
- package/src/model/model.ts +13 -11
- package/src/public/channel/BlogImageService.ts +3 -3
- package/src/public/channel/BlogService.ts +2 -2
- package/src/public/channel/PostSummary.tsx +2 -2
- package/src/public/channel/UrlService.ts +2 -2
- package/src/public/channel/controls/PostList.tsx +5 -5
- package/src/public/channel/controls/RecentPosts.tsx +2 -2
- package/src/public/channel/controls/UpcomingEvents.tsx +2 -2
- package/src/web/page/channels/services/ChannelService.ts +2 -2
- package/src/web/page/mails/service/ConversationService.tsx +4 -11
|
@@ -12747,6 +12747,7 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
|
|
|
12747
12747
|
name,
|
|
12748
12748
|
service,
|
|
12749
12749
|
queryFunction,
|
|
12750
|
+
entityKey,
|
|
12750
12751
|
args
|
|
12751
12752
|
} = this.context;
|
|
12752
12753
|
const busy = __addDisposableResource(env_1, service.createBusyIndicator(hideActivityIndicator), false);
|
|
@@ -12767,6 +12768,9 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
|
|
|
12767
12768
|
if (queryFunction) {
|
|
12768
12769
|
fm.append("function", queryFunction);
|
|
12769
12770
|
fm.append("args", JSON.stringify(args !== null && args !== void 0 ? args : "[]"));
|
|
12771
|
+
if (entityKey) {
|
|
12772
|
+
fm.append("entityKey", entityKey);
|
|
12773
|
+
}
|
|
12770
12774
|
}
|
|
12771
12775
|
if (expandable) {
|
|
12772
12776
|
fm.append("expandable", "1");
|
|
@@ -12787,7 +12791,8 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
|
|
|
12787
12791
|
trace,
|
|
12788
12792
|
expandable: expandable ? 1 : void 0,
|
|
12789
12793
|
function: queryFunction || void 0,
|
|
12790
|
-
args: queryFunction ? args : void 0
|
|
12794
|
+
args: queryFunction ? args : void 0,
|
|
12795
|
+
entityKey: entityKey !== null && entityKey !== void 0 ? entityKey : void 0
|
|
12791
12796
|
}).asJson();
|
|
12792
12797
|
result = service.resultConverter(result);
|
|
12793
12798
|
return result;
|
|
@@ -13296,6 +13301,27 @@ System.register(["tslib", "../models/Cloner", "../models/IEntityModel", "./merge
|
|
|
13296
13301
|
args
|
|
13297
13302
|
});
|
|
13298
13303
|
}
|
|
13304
|
+
queryEntity(m, entity, queryFunction, ...args) {
|
|
13305
|
+
let entityKey;
|
|
13306
|
+
const {
|
|
13307
|
+
$key
|
|
13308
|
+
} = entity;
|
|
13309
|
+
if (!$key) {
|
|
13310
|
+
throw new Error(`Entity does not contain public/private key`);
|
|
13311
|
+
}
|
|
13312
|
+
entityKey = $key;
|
|
13313
|
+
return new Query({
|
|
13314
|
+
service: this,
|
|
13315
|
+
name: m.name,
|
|
13316
|
+
queryProcessor: this.queryProcessor,
|
|
13317
|
+
queryFunction: queryFunction,
|
|
13318
|
+
entityKey,
|
|
13319
|
+
args
|
|
13320
|
+
});
|
|
13321
|
+
}
|
|
13322
|
+
as() {
|
|
13323
|
+
return this;
|
|
13324
|
+
}
|
|
13299
13325
|
delete(body) {
|
|
13300
13326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13301
13327
|
const env_2 = {
|
|
@@ -13727,7 +13753,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
13727
13753
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
13728
13754
|
"use strict";
|
|
13729
13755
|
|
|
13730
|
-
var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, WebHookEventTypeArray, WebHookHttpVerbArray, WebHook, WebHookEvent, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox,
|
|
13756
|
+
var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, WebHookEventTypeArray, WebHookHttpVerbArray, WebHook, WebHookEvent, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, ChannelEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, StoreConfig, StoreItemItemTypeArray, StoreItemItemUnitTypeArray, StoreItem, StoreCouponTypeArray, StoreCoupon, StoreJournalCoupon, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StorePaymentAttempt, StoreMediaFile, StoreInsight, StoreAccount, StoreAccountAddress, StoreAccountEmail, StoreAccountPhone, StorePaymentGatewayPaymentGatewayArray, StorePaymentGateway, StoreJournalJournalTypeArray, StoreJournalStatusArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSite, WebSiteHost, WebSiteVersion, WebSiteChannelDomain, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, ThreadParticipant, Tag, fixRelatedSchemas;
|
|
13731
13757
|
return {
|
|
13732
13758
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
13733
13759
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -15835,10 +15861,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15835
15861
|
"isInverse": true,
|
|
15836
15862
|
"relatedName": "EmailTag"
|
|
15837
15863
|
}, {
|
|
15838
|
-
"name": "
|
|
15864
|
+
"name": "channelEmails",
|
|
15839
15865
|
"isCollection": true,
|
|
15840
15866
|
"isInverse": true,
|
|
15841
|
-
"relatedName": "
|
|
15867
|
+
"relatedName": "ChannelEmail"
|
|
15842
15868
|
}, {
|
|
15843
15869
|
"name": "mailboxContactEvents",
|
|
15844
15870
|
"isCollection": true,
|
|
@@ -15860,9 +15886,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15860
15886
|
"isInverse": true,
|
|
15861
15887
|
"relatedName": "ThreadParticipant"
|
|
15862
15888
|
}],
|
|
15863
|
-
"queries": {
|
|
15864
|
-
"channelEmails": "external"
|
|
15865
|
-
},
|
|
15866
15889
|
"actions": {
|
|
15867
15890
|
"getBody": "external"
|
|
15868
15891
|
}
|
|
@@ -16147,6 +16170,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16147
16170
|
"isCollection": true,
|
|
16148
16171
|
"isInverse": true,
|
|
16149
16172
|
"relatedName": "EmailRecipient"
|
|
16173
|
+
}, {
|
|
16174
|
+
"name": "mailboxContactEmails",
|
|
16175
|
+
"isCollection": true,
|
|
16176
|
+
"isInverse": true,
|
|
16177
|
+
"relatedName": "MailboxContactEmail"
|
|
16150
16178
|
}, {
|
|
16151
16179
|
"name": "subscriberActivities",
|
|
16152
16180
|
"isCollection": true,
|
|
@@ -16433,7 +16461,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16433
16461
|
"name": "emails",
|
|
16434
16462
|
"isCollection": true,
|
|
16435
16463
|
"isInverse": true,
|
|
16436
|
-
"relatedName": "
|
|
16464
|
+
"relatedName": "ChannelEmail"
|
|
16437
16465
|
}, {
|
|
16438
16466
|
"name": "mailboxEvents",
|
|
16439
16467
|
"isCollection": true,
|
|
@@ -16493,7 +16521,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16493
16521
|
}
|
|
16494
16522
|
}));
|
|
16495
16523
|
modelEntitySchemas["Mailbox"] = Mailbox;
|
|
16496
|
-
_export("
|
|
16524
|
+
_export("ChannelEmail", ChannelEmail = new Model("ChannelEmail", ["mailboxID", "emailID"], {
|
|
16497
16525
|
engagementCount: 0,
|
|
16498
16526
|
isThread: false
|
|
16499
16527
|
}, {
|
|
@@ -16547,7 +16575,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16547
16575
|
"channelEmails": "external"
|
|
16548
16576
|
}
|
|
16549
16577
|
}));
|
|
16550
|
-
modelEntitySchemas["
|
|
16578
|
+
modelEntitySchemas["ChannelEmail"] = ChannelEmail;
|
|
16551
16579
|
_export("MailboxContactStatusArray", MailboxContactStatusArray = [{
|
|
16552
16580
|
"label": "invited",
|
|
16553
16581
|
"value": "invited"
|
|
@@ -16903,6 +16931,13 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16903
16931
|
"relatedKey": "mailboxID"
|
|
16904
16932
|
}],
|
|
16905
16933
|
"relatedName": "Mailbox"
|
|
16934
|
+
}, {
|
|
16935
|
+
"name": "emailAddress",
|
|
16936
|
+
"fkMap": [{
|
|
16937
|
+
"fk": "emailAddressID",
|
|
16938
|
+
"relatedKey": "emailAddressID"
|
|
16939
|
+
}],
|
|
16940
|
+
"relatedName": "EmailAddress"
|
|
16906
16941
|
}, {
|
|
16907
16942
|
"name": "email",
|
|
16908
16943
|
"fkMap": [{
|
|
@@ -30158,7 +30193,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "@social-mail/social-mail-cl
|
|
|
30158
30193
|
System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/date-time/dist/DateTime", "../../../../common/events/CommonEvents", "../../../../services/email/EmailContentDownloader", "./EngagementService", "../../../commands/MailAppEvents", "../../../../common/fileUrl", "../../../../common/cache/CacheTTL", "../../../../common/controls/Loader"], function (_export, _context) {
|
|
30159
30194
|
"use strict";
|
|
30160
30195
|
|
|
30161
|
-
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail,
|
|
30196
|
+
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, EmailContentDownloader, EngagementService, MailAppEvents, fileUrl, CacheTTL, Loader, cacheVersion, renderMailPromise, ConversationService;
|
|
30162
30197
|
return {
|
|
30163
30198
|
setters: [function (_tslib) {
|
|
30164
30199
|
__awaiter = _tslib.__awaiter;
|
|
@@ -30174,7 +30209,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30174
30209
|
Email = _modelModel.Email;
|
|
30175
30210
|
EmailRecipient = _modelModel.EmailRecipient;
|
|
30176
30211
|
MailboxContactEmail = _modelModel.MailboxContactEmail;
|
|
30177
|
-
MailboxEmail = _modelModel.MailboxEmail;
|
|
30178
30212
|
}, function (_commonSql) {
|
|
30179
30213
|
Sql = _commonSql.Sql;
|
|
30180
30214
|
}, function (_webAtomsEmailDomDistDomToString) {
|
|
@@ -30370,7 +30404,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30370
30404
|
});
|
|
30371
30405
|
}
|
|
30372
30406
|
draft(email, mailboxContacts, create = false, saveAttachments = true, cancelToken) {
|
|
30373
|
-
var _a, _b
|
|
30407
|
+
var _a, _b;
|
|
30374
30408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
30375
30409
|
if (email === null || email === void 0 ? void 0 : email.emailID) {
|
|
30376
30410
|
email.subject || (email.subject = "");
|
|
@@ -30379,14 +30413,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30379
30413
|
if (saveAttachments) {
|
|
30380
30414
|
cloner = cloner.include(x => x.attachments);
|
|
30381
30415
|
}
|
|
30382
|
-
cloner = cloner.include(x => x.
|
|
30416
|
+
cloner = cloner.include(x => x.recipients).include(x => x.threadContacts);
|
|
30383
30417
|
yield this.entityService.save(cloner.copy);
|
|
30384
30418
|
return email;
|
|
30385
30419
|
}
|
|
30386
30420
|
if (create && email) {
|
|
30387
30421
|
const recipients = (_a = email.recipients) !== null && _a !== void 0 ? _a : email.recipients = [];
|
|
30388
|
-
const
|
|
30389
|
-
const threads = (_c = email.threadContacts) !== null && _c !== void 0 ? _c : email.threadContacts = [];
|
|
30422
|
+
const threads = (_b = email.threadContacts) !== null && _b !== void 0 ? _b : email.threadContacts = [];
|
|
30390
30423
|
if (!email.senderID) {
|
|
30391
30424
|
throw new Error("SenderID is not set");
|
|
30392
30425
|
}
|
|
@@ -30395,11 +30428,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30395
30428
|
mailboxID,
|
|
30396
30429
|
emailAddressID
|
|
30397
30430
|
} of mailboxContacts) {
|
|
30398
|
-
if (!mailboxes.some(m => m.mailboxID === mailboxID)) {
|
|
30399
|
-
mailboxes.push(MailboxEmail.create({
|
|
30400
|
-
mailboxID
|
|
30401
|
-
}));
|
|
30402
|
-
}
|
|
30403
30431
|
if (!recipients.some(r => r.emailAddressID === emailAddressID)) {
|
|
30404
30432
|
recipients.push(EmailRecipient.create({
|
|
30405
30433
|
emailAddressID
|
|
@@ -30412,7 +30440,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30412
30440
|
}));
|
|
30413
30441
|
}
|
|
30414
30442
|
}
|
|
30415
|
-
yield this.entityService.save(email, c => c.include(x => x.
|
|
30443
|
+
yield this.entityService.save(email, c => c.include(x => x.recipients).include(x => x.threadContacts));
|
|
30416
30444
|
}
|
|
30417
30445
|
return email;
|
|
30418
30446
|
});
|
|
@@ -44467,7 +44495,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
44467
44495
|
System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "../../../../services/email/EmailContentDownloader", "../../mails/service/EngagementService"], function (_export, _context) {
|
|
44468
44496
|
"use strict";
|
|
44469
44497
|
|
|
44470
|
-
var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, Email, Mailbox, MailboxContact,
|
|
44498
|
+
var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, ChannelEmail, Email, Mailbox, MailboxContact, Sql, EmailContentDownloader, EngagementService, ChannelService;
|
|
44471
44499
|
return {
|
|
44472
44500
|
setters: [function (_tslib) {
|
|
44473
44501
|
__awaiter = _tslib.__awaiter;
|
|
@@ -44480,10 +44508,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
|
|
|
44480
44508
|
}, function (_servicesEntityService) {
|
|
44481
44509
|
EntityService = _servicesEntityService.default;
|
|
44482
44510
|
}, function (_modelModel) {
|
|
44511
|
+
ChannelEmail = _modelModel.ChannelEmail;
|
|
44483
44512
|
Email = _modelModel.Email;
|
|
44484
44513
|
Mailbox = _modelModel.Mailbox;
|
|
44485
44514
|
MailboxContact = _modelModel.MailboxContact;
|
|
44486
|
-
MailboxEmail = _modelModel.MailboxEmail;
|
|
44487
44515
|
}, function (_commonSql) {
|
|
44488
44516
|
Sql = _commonSql.Sql;
|
|
44489
44517
|
}, function (_servicesEmailEmailContentDownloader) {
|
|
@@ -44503,7 +44531,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
|
|
|
44503
44531
|
cancelToken
|
|
44504
44532
|
}) {
|
|
44505
44533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44506
|
-
let q = this.entityService.query(
|
|
44534
|
+
let q = this.entityService.query(ChannelEmail);
|
|
44507
44535
|
if (channelID) {
|
|
44508
44536
|
q = q.where({
|
|
44509
44537
|
channelID
|