@social-mail/social-mail-client 1.2.82 → 1.2.84

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.
@@ -15301,7 +15301,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
15301
15301
  System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
15302
15302
  "use strict";
15303
15303
 
15304
- 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, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag;
15304
+ 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, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag, Product, ProductPrice, AppLicense, VirtualServer, DnsZone, DnsZoneRecordTypeArray, DnsZoneRecord, DnsSigningKey;
15305
15305
  return {
15306
15306
  setters: [function (_webAtomsDateTimeDistDateTime) {
15307
15307
  DateTime = _webAtomsDateTimeDistDateTime.default;
@@ -15672,6 +15672,85 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
15672
15672
  name: "",
15673
15673
  isSystemTag: false
15674
15674
  }));
15675
+ _export("Product", Product = new Model("Product", ["productID"], {
15676
+ name: ""
15677
+ }));
15678
+ _export("ProductPrice", ProductPrice = new Model("ProductPrice", ["priceID"], {
15679
+ quantity: 0,
15680
+ amount: 0,
15681
+ isActive: false,
15682
+ currency: ""
15683
+ }));
15684
+ _export("AppLicense", AppLicense = new Model("AppLicense", ["licenseID", "priceID"], {
15685
+ dateCreated: new DefaultFactory(() => new DateTime()),
15686
+ dateExpiry: new DefaultFactory(() => new DateTime()),
15687
+ dateUpdated: new DefaultFactory(() => new DateTime()),
15688
+ maxCores: 0,
15689
+ licenseCode: ""
15690
+ }));
15691
+ _export("VirtualServer", VirtualServer = new Model("VirtualServer", ["serverID"], {
15692
+ serverName: "",
15693
+ active: false,
15694
+ host: "",
15695
+ maxStorageGB: 0
15696
+ }));
15697
+ _export("DnsZone", DnsZone = new Model("DnsZone", ["zoneID"], {
15698
+ zone: "",
15699
+ dateCreated: new DefaultFactory(() => new DateTime()),
15700
+ dateUpdated: new DefaultFactory(() => new DateTime())
15701
+ }));
15702
+ _export("DnsZoneRecordTypeArray", DnsZoneRecordTypeArray = [{
15703
+ "label": "A",
15704
+ "value": "A"
15705
+ }, {
15706
+ "label": "AAAA",
15707
+ "value": "AAAA"
15708
+ }, {
15709
+ "label": "CNAME",
15710
+ "value": "CNAME"
15711
+ }, {
15712
+ "label": "MX",
15713
+ "value": "MX"
15714
+ }, {
15715
+ "label": "TXT",
15716
+ "value": "TXT"
15717
+ }, {
15718
+ "label": "PTR",
15719
+ "value": "PTR"
15720
+ }, {
15721
+ "label": "SRV",
15722
+ "value": "SRV"
15723
+ }, {
15724
+ "label": "CAA",
15725
+ "value": "CAA"
15726
+ }, {
15727
+ "label": "NS",
15728
+ "value": "NS"
15729
+ }, {
15730
+ "label": "SOA",
15731
+ "value": "SOA"
15732
+ }]);
15733
+ _export("DnsZoneRecord", DnsZoneRecord = new Model("DnsZoneRecord", ["recordID"], {
15734
+ disabled: false,
15735
+ name: "",
15736
+ type: "A",
15737
+ isAlias: false,
15738
+ value: "",
15739
+ ttl: 0,
15740
+ dateCreated: new DefaultFactory(() => new DateTime()),
15741
+ dateUpdated: new DefaultFactory(() => new DateTime()),
15742
+ hosted: false
15743
+ }));
15744
+ _export("DnsSigningKey", DnsSigningKey = new Model("DnsSigningKey", ["keyID"], {
15745
+ publicKey: "",
15746
+ digestAlgorithm: 0,
15747
+ signingAlgorithm: 0,
15748
+ digest: "",
15749
+ flags: 0,
15750
+ dateCreated: new DefaultFactory(() => new DateTime()),
15751
+ expiryDate: new DefaultFactory(() => new DateTime()),
15752
+ fileName: ""
15753
+ }));
15675
15754
  }
15676
15755
  };
15677
15756
  });
@@ -18392,7 +18471,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
18392
18471
  let now = DateTime.now;
18393
18472
  const minute = Math.floor(now.minute / 5);
18394
18473
  now = now.addMinutes(-minute);
18395
- const cacheVersion = now.msSinceEpoch.toString(36);
18474
+ const cacheVersion = email.dateUpdated ? DateTime.from(email.dateUpdated).msSinceEpoch.toString(36) : "-";
18396
18475
  email.engagements = yield this.entityService.query(EmailEngagement).where({
18397
18476
  emailID
18398
18477
  }, p => x => x.emailID === p.emailID).toArray({
@@ -28473,6 +28552,16 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
28473
28552
  & > * > .message {
28474
28553
  margin-bottom: 25px;
28475
28554
  }
28555
+ & .engagements {
28556
+ & > * {
28557
+ border: solid 1px lightgray;
28558
+ padding: 3px;
28559
+ padding-left: 7px;
28560
+ padding-right: 7px;
28561
+ border-radius: 10px;
28562
+ }
28563
+ margin-bottom: 5px;
28564
+ }
28476
28565
  `.installLocal();
28477
28566
  css = styled.css`
28478
28567
  background-color: var(--window-background);
@@ -28797,6 +28886,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
28797
28886
  emailID,
28798
28887
  count: 1
28799
28888
  });
28889
+ engagements.add(e);
28800
28890
  } else {
28801
28891
  e.count++;
28802
28892
  }