@social-mail/social-mail-client 1.2.65 → 1.2.66
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 +299 -42
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +61 -5
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/model/model.d.ts +120 -2
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +90 -1
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/BlogService.d.ts.map +1 -1
- package/dist/public/channel/BlogService.js +2 -2
- package/dist/public/channel/BlogService.js.map +1 -1
- package/dist/public/channel/ChannelMessageList.d.ts.map +1 -1
- package/dist/public/channel/ChannelMessageList.js +3 -1
- package/dist/public/channel/ChannelMessageList.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +95 -4
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +2 -2
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +300 -43
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +62 -6
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/drawer/AppDrawer.js +1 -1
- package/dist/web/drawer/AppDrawer.js.map +1 -1
- package/dist/web/page/channels/detail/ChannelDetailPage.d.ts +2 -0
- package/dist/web/page/channels/detail/ChannelDetailPage.d.ts.map +1 -1
- package/dist/web/page/channels/detail/ChannelDetailPage.js +128 -2
- package/dist/web/page/channels/detail/ChannelDetailPage.js.map +1 -1
- package/dist/web/page/channels/services/ChannelService.d.ts +8 -0
- package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
- package/dist/web/page/channels/services/ChannelService.js +37 -1
- package/dist/web/page/channels/services/ChannelService.js.map +1 -1
- package/dist/web/page/mails/ConversationPage.d.ts.map +1 -1
- package/dist/web/page/mails/ConversationPage.js +6 -3
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/service/MailService.d.ts.map +1 -1
- package/dist/web/page/mails/service/MailService.js +5 -2
- package/dist/web/page/mails/service/MailService.js.map +1 -1
- package/package.json +1 -1
- package/src/model/model.ts +137 -5
- package/src/public/channel/BlogService.ts +4 -2
- package/src/public/channel/ChannelMessageList.tsx +4 -1
- package/src/web/drawer/AppDrawer.tsx +1 -1
- package/src/web/page/channels/detail/ChannelDetailPage.tsx +113 -1
- package/src/web/page/channels/services/ChannelService.ts +32 -1
- package/src/web/page/mails/ConversationPage.tsx +5 -0
- package/src/web/page/mails/service/MailService.ts +3 -2
|
@@ -9799,7 +9799,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
9799
9799
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
9800
9800
|
"use strict";
|
|
9801
9801
|
|
|
9802
|
-
var DateTime, Model, DefaultFactory, AppRole, AppFileContentDispositionArray, AppFile, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, CachedItem, Domain, HostedDomain, DomainUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, AppLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEmail, MailboxContactTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, UserStatusArray, User, UserPin, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag;
|
|
9802
|
+
var DateTime, Model, DefaultFactory, AppRole, AppFileContentDispositionArray, AppFile, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, CachedItem, Domain, HostedDomain, DomainUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, AppLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEmail, MailboxContactTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, UserStatusArray, User, UserPin, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag, Product, ProductPrice, AppLicense, VirtualServer, DnsZone, DnsZoneRecordTypeArray, DnsZoneRecord, DnsSigningKey;
|
|
9803
9803
|
return {
|
|
9804
9804
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
9805
9805
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -9926,6 +9926,9 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
9926
9926
|
}, {
|
|
9927
9927
|
"label": "draft",
|
|
9928
9928
|
"value": "draft"
|
|
9929
|
+
}, {
|
|
9930
|
+
"label": "published",
|
|
9931
|
+
"value": "published"
|
|
9929
9932
|
}, {
|
|
9930
9933
|
"label": "pending-approval",
|
|
9931
9934
|
"value": "pending-approval"
|
|
@@ -9996,6 +9999,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
9996
9999
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
9997
10000
|
isChannel: false,
|
|
9998
10001
|
isPrivateChannel: false,
|
|
10002
|
+
requireApproval: false,
|
|
9999
10003
|
subscriberCount: 0
|
|
10000
10004
|
}));
|
|
10001
10005
|
_export("MailboxEmail", MailboxEmail = new Model("MailboxEmail", ["mailboxID", "emailID"], {}));
|
|
@@ -10024,6 +10028,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
10024
10028
|
canContribute: false,
|
|
10025
10029
|
priority: 0,
|
|
10026
10030
|
blocked: false,
|
|
10031
|
+
mute: false,
|
|
10027
10032
|
status: "invited"
|
|
10028
10033
|
}));
|
|
10029
10034
|
_export("MailboxContactEmail", MailboxContactEmail = new Model("MailboxContactEmail", ["mailboxID", "emailAddressID", "emailID"], {
|
|
@@ -10066,6 +10071,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
10066
10071
|
intervalSeconds: 0,
|
|
10067
10072
|
active: false
|
|
10068
10073
|
}));
|
|
10074
|
+
_export("ChannelConfig", ChannelConfig = new Model("ChannelConfig", ["mailboxID"], {
|
|
10075
|
+
sendInviteOnEngagement: false,
|
|
10076
|
+
memberOnlyEngagement: false,
|
|
10077
|
+
notSafeForWork: false
|
|
10078
|
+
}));
|
|
10069
10079
|
_export("SubscriberActivity", SubscriberActivity = new Model("SubscriberActivity", ["activityID"], {
|
|
10070
10080
|
activity: "",
|
|
10071
10081
|
dateCreated: new DefaultFactory(() => new DateTime())
|
|
@@ -10154,6 +10164,85 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
10154
10164
|
name: "",
|
|
10155
10165
|
isSystemTag: false
|
|
10156
10166
|
}));
|
|
10167
|
+
_export("Product", Product = new Model("Product", ["productID"], {
|
|
10168
|
+
name: ""
|
|
10169
|
+
}));
|
|
10170
|
+
_export("ProductPrice", ProductPrice = new Model("ProductPrice", ["priceID"], {
|
|
10171
|
+
quantity: 0,
|
|
10172
|
+
amount: 0,
|
|
10173
|
+
isActive: false,
|
|
10174
|
+
currency: ""
|
|
10175
|
+
}));
|
|
10176
|
+
_export("AppLicense", AppLicense = new Model("AppLicense", ["licenseID", "priceID"], {
|
|
10177
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
10178
|
+
dateExpiry: new DefaultFactory(() => new DateTime()),
|
|
10179
|
+
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
10180
|
+
maxCores: 0,
|
|
10181
|
+
licenseCode: ""
|
|
10182
|
+
}));
|
|
10183
|
+
_export("VirtualServer", VirtualServer = new Model("VirtualServer", ["serverID"], {
|
|
10184
|
+
serverName: "",
|
|
10185
|
+
active: false,
|
|
10186
|
+
host: "",
|
|
10187
|
+
maxStorageGB: 0
|
|
10188
|
+
}));
|
|
10189
|
+
_export("DnsZone", DnsZone = new Model("DnsZone", ["zoneID"], {
|
|
10190
|
+
zone: "",
|
|
10191
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
10192
|
+
dateUpdated: new DefaultFactory(() => new DateTime())
|
|
10193
|
+
}));
|
|
10194
|
+
_export("DnsZoneRecordTypeArray", DnsZoneRecordTypeArray = [{
|
|
10195
|
+
"label": "A",
|
|
10196
|
+
"value": "A"
|
|
10197
|
+
}, {
|
|
10198
|
+
"label": "AAAA",
|
|
10199
|
+
"value": "AAAA"
|
|
10200
|
+
}, {
|
|
10201
|
+
"label": "CNAME",
|
|
10202
|
+
"value": "CNAME"
|
|
10203
|
+
}, {
|
|
10204
|
+
"label": "MX",
|
|
10205
|
+
"value": "MX"
|
|
10206
|
+
}, {
|
|
10207
|
+
"label": "TXT",
|
|
10208
|
+
"value": "TXT"
|
|
10209
|
+
}, {
|
|
10210
|
+
"label": "PTR",
|
|
10211
|
+
"value": "PTR"
|
|
10212
|
+
}, {
|
|
10213
|
+
"label": "SRV",
|
|
10214
|
+
"value": "SRV"
|
|
10215
|
+
}, {
|
|
10216
|
+
"label": "CAA",
|
|
10217
|
+
"value": "CAA"
|
|
10218
|
+
}, {
|
|
10219
|
+
"label": "NS",
|
|
10220
|
+
"value": "NS"
|
|
10221
|
+
}, {
|
|
10222
|
+
"label": "SOA",
|
|
10223
|
+
"value": "SOA"
|
|
10224
|
+
}]);
|
|
10225
|
+
_export("DnsZoneRecord", DnsZoneRecord = new Model("DnsZoneRecord", ["recordID"], {
|
|
10226
|
+
disabled: false,
|
|
10227
|
+
name: "",
|
|
10228
|
+
type: "A",
|
|
10229
|
+
isAlias: false,
|
|
10230
|
+
value: "",
|
|
10231
|
+
ttl: 0,
|
|
10232
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
10233
|
+
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
10234
|
+
hosted: false
|
|
10235
|
+
}));
|
|
10236
|
+
_export("DnsSigningKey", DnsSigningKey = new Model("DnsSigningKey", ["keyID"], {
|
|
10237
|
+
publicKey: "",
|
|
10238
|
+
digestAlgorithm: 0,
|
|
10239
|
+
signingAlgorithm: 0,
|
|
10240
|
+
digest: "",
|
|
10241
|
+
flags: 0,
|
|
10242
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
10243
|
+
expiryDate: new DefaultFactory(() => new DateTime()),
|
|
10244
|
+
fileName: ""
|
|
10245
|
+
}));
|
|
10157
10246
|
}
|
|
10158
10247
|
};
|
|
10159
10248
|
});
|
|
@@ -10477,13 +10566,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
10477
10566
|
}
|
|
10478
10567
|
getChannel(channelID, emailAddress) {
|
|
10479
10568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10480
|
-
let q = this.entityService.query(Mailbox, "channels", emailAddress);
|
|
10569
|
+
let q = this.entityService.query(Mailbox, "channels", emailAddress).where(x => x.datePublished !== null);
|
|
10481
10570
|
if (channelID) {
|
|
10482
10571
|
q = q.where({
|
|
10483
10572
|
channelID
|
|
10484
10573
|
}, p => x => x.mailboxID === p.channelID);
|
|
10485
10574
|
}
|
|
10486
|
-
const c = yield
|
|
10575
|
+
const c = yield q.include(x => x.emailAddress).orderByDescending(x => x.datePublished).firstOrDefault();
|
|
10487
10576
|
return c;
|
|
10488
10577
|
});
|
|
10489
10578
|
}
|
|
@@ -15005,12 +15094,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
15005
15094
|
init() {
|
|
15006
15095
|
var _a;
|
|
15007
15096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15008
|
-
|
|
15097
|
+
let {
|
|
15009
15098
|
channelID,
|
|
15010
15099
|
emailAddress
|
|
15011
15100
|
} = (_a = window.socialMail) !== null && _a !== void 0 ? _a : {};
|
|
15012
15101
|
this.element.setAttribute("data-blog-list", "blog-list");
|
|
15013
15102
|
this.channel = yield this.blogService.getChannel(emailAddress, channelID);
|
|
15103
|
+
channelID = this.channel.mailboxID;
|
|
15104
|
+
emailAddress = this.channel.emailAddress.emailAddress;
|
|
15014
15105
|
this.renderer = XNode.create("div", {
|
|
15015
15106
|
"data-layout": "flex-center"
|
|
15016
15107
|
}, XNode.create("span", {
|