@social-mail/social-mail-client 1.2.636 → 1.2.638

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.
Files changed (56) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +169 -3
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +3 -3
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/model/model.d.ts +29 -2
  6. package/dist/model/model.d.ts.map +1 -1
  7. package/dist/model/model.js +141 -3
  8. package/dist/model/model.js.map +1 -1
  9. package/dist/public/channel/ChannelCalendarView.d.ts +25 -0
  10. package/dist/public/channel/ChannelCalendarView.d.ts.map +1 -0
  11. package/dist/public/channel/ChannelCalendarView.js +134 -0
  12. package/dist/public/channel/ChannelCalendarView.js.map +1 -0
  13. package/dist/public/channel/ChannelView.d.ts +2 -24
  14. package/dist/public/channel/ChannelView.d.ts.map +1 -1
  15. package/dist/public/channel/ChannelView.js +11 -4
  16. package/dist/public/channel/ChannelView.js.map +1 -1
  17. package/dist/public/channel/ChannelView.pack.js +797 -10
  18. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  19. package/dist/public/channel/ChannelView.pack.min.js +120 -4
  20. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  21. package/dist/public/channel/UrlService.d.ts +2 -1
  22. package/dist/public/channel/UrlService.d.ts.map +1 -1
  23. package/dist/public/channel/UrlService.js +8 -2
  24. package/dist/public/channel/UrlService.js.map +1 -1
  25. package/dist/public/preview/zip/DownloadZip.pack.js +141 -3
  26. package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
  27. package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
  28. package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
  29. package/dist/public/store/Store.pack.js +141 -3
  30. package/dist/public/store/Store.pack.js.map +1 -1
  31. package/dist/public/store/Store.pack.min.js +1 -1
  32. package/dist/public/store/Store.pack.min.js.map +1 -1
  33. package/dist/public/store/cart/ShoppingCart.pack.js +141 -3
  34. package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
  35. package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
  36. package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/dist/web/AppIndex.pack.js +169 -3
  39. package/dist/web/AppIndex.pack.js.map +1 -1
  40. package/dist/web/AppIndex.pack.min.js +3 -3
  41. package/dist/web/AppIndex.pack.min.js.map +1 -1
  42. package/node_modules/@web-atoms/web-controls/dist/basic/Calendar.d.ts.map +1 -1
  43. package/node_modules/@web-atoms/web-controls/dist/basic/Calendar.js +2 -0
  44. package/node_modules/@web-atoms/web-controls/dist/basic/Calendar.js.map +1 -1
  45. package/node_modules/@web-atoms/web-controls/dist/basic/Select.d.ts.map +1 -1
  46. package/node_modules/@web-atoms/web-controls/dist/basic/Select.js +26 -0
  47. package/node_modules/@web-atoms/web-controls/dist/basic/Select.js.map +1 -1
  48. package/node_modules/@web-atoms/web-controls/dist/tsconfig.tsbuildinfo +1 -1
  49. package/node_modules/@web-atoms/web-controls/package.json +1 -1
  50. package/node_modules/@web-atoms/web-controls/src/basic/Calendar.tsx +2 -0
  51. package/node_modules/@web-atoms/web-controls/src/basic/Select.tsx +25 -0
  52. package/package.json +4 -17
  53. package/src/model/model.ts +43 -11
  54. package/src/public/channel/ChannelCalendarView.tsx +146 -0
  55. package/src/public/channel/ChannelView.tsx +12 -3
  56. package/src/public/channel/UrlService.ts +7 -3
@@ -13347,7 +13347,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
13347
13347
  System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
13348
13348
  "use strict";
13349
13349
 
13350
- var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, 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, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, Store, StoreUser, StoreConfig, StoreItemItemTypeArray, StoreItem, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StoreMediaFile, StoreInsight, StoreLedger, StoreJournalJournalTypeArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, WebSiteChannel, WebSiteStore, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, Tag, fixRelatedSchemas;
13350
+ var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, 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, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, Store, StoreUser, StoreConfig, StoreItemItemTypeArray, StoreItem, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StoreMediaFile, StoreInsight, StoreLedger, StoreJournalJournalTypeArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, WebSiteChannel, WebSiteStore, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, Tag, fixRelatedSchemas;
13351
13351
  return {
13352
13352
  setters: [function (_webAtomsDateTimeDistDateTime) {
13353
13353
  DateTime = _webAtomsDateTimeDistDateTime.default;
@@ -14376,6 +14376,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
14376
14376
  "isCollection": true,
14377
14377
  "isInverse": true,
14378
14378
  "relatedName": "Contact"
14379
+ }, {
14380
+ "name": "billedOrders",
14381
+ "isCollection": true,
14382
+ "isInverse": true,
14383
+ "relatedName": "StoreJournal"
14384
+ }, {
14385
+ "name": "shippedOrders",
14386
+ "isCollection": true,
14387
+ "isInverse": true,
14388
+ "relatedName": "StoreJournal"
14379
14389
  }]
14380
14390
  }));
14381
14391
  modelEntitySchemas["ContactAddress"] = ContactAddress;
@@ -15292,6 +15302,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
15292
15302
  "isCollection": true,
15293
15303
  "isInverse": true,
15294
15304
  "relatedName": "MailboxContact"
15305
+ }, {
15306
+ "name": "mailboxContactEvents",
15307
+ "isCollection": true,
15308
+ "isInverse": true,
15309
+ "relatedName": "MailboxContactEvent"
15295
15310
  }, {
15296
15311
  "name": "threadContacts",
15297
15312
  "isCollection": true,
@@ -15838,6 +15853,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
15838
15853
  "isCollection": true,
15839
15854
  "isInverse": true,
15840
15855
  "relatedName": "MailboxContact"
15856
+ }, {
15857
+ "name": "mailboxEvents",
15858
+ "isCollection": true,
15859
+ "isInverse": true,
15860
+ "relatedName": "MailboxContactEvent"
15841
15861
  }, {
15842
15862
  "name": "folders",
15843
15863
  "isCollection": true,
@@ -15893,7 +15913,8 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
15893
15913
  }));
15894
15914
  modelEntitySchemas["Mailbox"] = Mailbox;
15895
15915
  _export("MailboxEmail", MailboxEmail = new Model("MailboxEmail", ["mailboxID", "emailID"], {
15896
- engagementCount: 0
15916
+ engagementCount: 0,
15917
+ isThread: false
15897
15918
  }, {
15898
15919
  "name": "mailbox_emails",
15899
15920
  "keys": [{
@@ -15920,6 +15941,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
15920
15941
  "type": "DateTime",
15921
15942
  "dataType": "DateTime",
15922
15943
  "default": ["datePublished", "new DefaultFactory(() => new DateTime())"]
15944
+ }, {
15945
+ "name": "isThread",
15946
+ "type": "boolean",
15947
+ "dataType": "Boolean",
15948
+ "default": ["isThread", "false"]
15923
15949
  }],
15924
15950
  "relations": [{
15925
15951
  "name": "mailbox",
@@ -16101,6 +16127,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
16101
16127
  "relatedKey": "emailID"
16102
16128
  }],
16103
16129
  "relatedName": "Email"
16130
+ }, {
16131
+ "name": "contactEvents",
16132
+ "isCollection": true,
16133
+ "isInverse": true,
16134
+ "relatedName": "MailboxContactEvent"
16104
16135
  }, {
16105
16136
  "name": "contactEmails",
16106
16137
  "isCollection": true,
@@ -16114,6 +16145,90 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
16114
16145
  }]
16115
16146
  }));
16116
16147
  modelEntitySchemas["MailboxContact"] = MailboxContact;
16148
+ _export("MailboxContactEvent", MailboxContactEvent = new Model("MailboxContactEvent", ["eventID"], {
16149
+ emailAddressID: 0,
16150
+ startDate: new DefaultFactory(() => new DateTime()),
16151
+ endDate: new DefaultFactory(() => new DateTime())
16152
+ }, {
16153
+ "name": "mailbox_contact_events",
16154
+ "keys": [{
16155
+ "name": "eventID",
16156
+ "type": "number",
16157
+ "generated": "identity",
16158
+ "dataType": "BigInt"
16159
+ }],
16160
+ "properties": [{
16161
+ "name": "mailboxID",
16162
+ "type": "number",
16163
+ "dataType": "BigInt"
16164
+ }, {
16165
+ "name": "emailAddressID",
16166
+ "type": "number",
16167
+ "dataType": "BigInt",
16168
+ "default": ["emailAddressID", "0"]
16169
+ }, {
16170
+ "name": "emailID",
16171
+ "type": "number",
16172
+ "dataType": "BigInt"
16173
+ }, {
16174
+ "name": "startDate",
16175
+ "type": "DateTime",
16176
+ "dataType": "DateTime",
16177
+ "default": ["startDate", "new DefaultFactory(() => new DateTime())"]
16178
+ }, {
16179
+ "name": "endDate",
16180
+ "type": "DateTime",
16181
+ "dataType": "DateTime",
16182
+ "default": ["endDate", "new DefaultFactory(() => new DateTime())"]
16183
+ }, {
16184
+ "name": "title",
16185
+ "type": "string",
16186
+ "dataType": "Char",
16187
+ "length": 200,
16188
+ "default": ["title", "\"\""]
16189
+ }, {
16190
+ "name": "description",
16191
+ "type": "string",
16192
+ "dataType": "Char",
16193
+ "length": 400,
16194
+ "default": ["description", "\"\""]
16195
+ }, {
16196
+ "name": "location",
16197
+ "type": "string",
16198
+ "dataType": "Char",
16199
+ "length": 400,
16200
+ "default": ["location", "\"\""]
16201
+ }],
16202
+ "relations": [{
16203
+ "name": "mailbox",
16204
+ "fkMap": [{
16205
+ "fk": "mailboxID",
16206
+ "relatedKey": "mailboxID"
16207
+ }],
16208
+ "relatedName": "Mailbox"
16209
+ }, {
16210
+ "name": "email",
16211
+ "fkMap": [{
16212
+ "fk": "emailID",
16213
+ "relatedKey": "emailID"
16214
+ }],
16215
+ "relatedName": "Email"
16216
+ }, {
16217
+ "name": "mailboxContact",
16218
+ "fkMap": [{
16219
+ "fk": "mailboxID",
16220
+ "relatedKey": "mailboxID"
16221
+ }, {
16222
+ "fk": "emailAddressID",
16223
+ "relatedKey": "emailAddressID"
16224
+ }],
16225
+ "relatedName": "MailboxContact"
16226
+ }],
16227
+ "queries": {
16228
+ "calendarMonth": "external"
16229
+ }
16230
+ }));
16231
+ modelEntitySchemas["MailboxContactEvent"] = MailboxContactEvent;
16117
16232
  _export("MailboxFolder", MailboxFolder = new Model("MailboxFolder", ["mailboxID", "tagID"], {
16118
16233
  count: 0,
16119
16234
  isSystem: false
@@ -17667,6 +17782,14 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
17667
17782
  "name": "buyerID",
17668
17783
  "type": "number",
17669
17784
  "dataType": "BigInt"
17785
+ }, {
17786
+ "name": "buyerBillingAddressID",
17787
+ "type": "number",
17788
+ "dataType": "BigInt"
17789
+ }, {
17790
+ "name": "buyerShippingAddressID",
17791
+ "type": "number",
17792
+ "dataType": "BigInt"
17670
17793
  }, {
17671
17794
  "name": "total",
17672
17795
  "type": "number",
@@ -17722,6 +17845,20 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
17722
17845
  "relatedKey": "contactID"
17723
17846
  }],
17724
17847
  "relatedName": "Contact"
17848
+ }, {
17849
+ "name": "buyerBillingAddress",
17850
+ "fkMap": [{
17851
+ "fk": "buyerBillingAddressID",
17852
+ "relatedKey": "addressID"
17853
+ }],
17854
+ "relatedName": "ContactAddress"
17855
+ }, {
17856
+ "name": "buyerShippingAddress",
17857
+ "fkMap": [{
17858
+ "fk": "buyerShippingAddressID",
17859
+ "relatedKey": "addressID"
17860
+ }],
17861
+ "relatedName": "ContactAddress"
17725
17862
  }, {
17726
17863
  "name": "reference",
17727
17864
  "fkMap": [{
@@ -19029,7 +19166,8 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
19029
19166
  },
19030
19167
  "actions": {
19031
19168
  "resendCode": "external",
19032
- "verifyCode": "external"
19169
+ "verifyCode": "external",
19170
+ "login": "external"
19033
19171
  }
19034
19172
  }));
19035
19173
  modelEntitySchemas["VerificationToken"] = VerificationToken;
@@ -34587,7 +34725,33 @@ System.register(["tslib", "@web-atoms/core/dist/web/controls/AtomControl", "@web
34587
34725
  element["valuePath"] = value;
34588
34726
  });
34589
34727
  valueSetter = AtomControl.registerProperty("data-items", "value", (ctrl, element, value) => {
34728
+ var _a;
34590
34729
  element["initialValue"] = value;
34730
+ element["value"] = value;
34731
+ const select = element;
34732
+ let length = select.options.length;
34733
+ if (!length) {
34734
+ setTimeout(refreshItems, 1, element);
34735
+ return;
34736
+ }
34737
+ const items = element["items"];
34738
+ if (!items) {
34739
+ setTimeout(refreshItems, 1, element);
34740
+ return;
34741
+ }
34742
+ const vp = (_a = element["valuePath"]) !== null && _a !== void 0 ? _a : item => {
34743
+ var _a;
34744
+ return (_a = item === null || item === void 0 ? void 0 : item.value) !== null && _a !== void 0 ? _a : item;
34745
+ };
34746
+ let index = 0;
34747
+ for (const item of items) {
34748
+ const v = vp(item);
34749
+ if (v == value) {
34750
+ select.selectedIndex = index;
34751
+ return;
34752
+ }
34753
+ index++;
34754
+ }
34591
34755
  setTimeout(refreshItems, 1, element);
34592
34756
  });
34593
34757
  refreshItems = (element, items) => {
@@ -35014,6 +35178,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
35014
35178
  __decorate([BindableProperty, __metadata("design:type", Number)], Calendar.prototype, "month", void 0);
35015
35179
  __decorate([BindableProperty, __metadata("design:type", Number)], Calendar.prototype, "yearStart", void 0);
35016
35180
  __decorate([BindableProperty, __metadata("design:type", Number)], Calendar.prototype, "yearEnd", void 0);
35181
+ __decorate([BindableProperty, __metadata("design:type", Function)], Calendar.prototype, "enableFunc", void 0);
35182
+ __decorate([BindableProperty, __metadata("design:type", Function)], Calendar.prototype, "dateRenderer", void 0);
35017
35183
  __decorate([WatchProperty, __metadata("design:type", Object), __metadata("design:paramtypes", [])], Calendar.prototype, "dates", null);
35018
35184
  __decorate([WatchProperty, __metadata("design:type", Object), __metadata("design:paramtypes", [])], Calendar.prototype, "years", null);
35019
35185
  }