@social-mail/social-mail-client 1.4.89 → 1.4.91

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 (29) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +29 -4
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/common/controls/collection-editor/CollectionEditorEx.js +3 -0
  6. package/dist/common/controls/collection-editor/CollectionEditorEx.js.map +1 -1
  7. package/dist/common/pages/mailboxes/MailboxEditorPage.d.ts.map +1 -1
  8. package/dist/common/pages/mailboxes/MailboxEditorPage.js +26 -4
  9. package/dist/common/pages/mailboxes/MailboxEditorPage.js.map +1 -1
  10. package/dist/site-editor-app/SiteEditorApp.pack.js +46 -7
  11. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  12. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  13. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  14. package/dist/site-editor-app/pages/store/products/ProductEditor.d.ts +3 -0
  15. package/dist/site-editor-app/pages/store/products/ProductEditor.d.ts.map +1 -1
  16. package/dist/site-editor-app/pages/store/products/ProductEditor.js +17 -3
  17. package/dist/site-editor-app/pages/store/products/ProductEditor.js.map +1 -1
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/dist/web/AppIndex.pack.js +26 -4
  20. package/dist/web/AppIndex.pack.js.map +1 -1
  21. package/dist/web/AppIndex.pack.min.js +1 -1
  22. package/dist/web/AppIndex.pack.min.js.map +1 -1
  23. package/dist/web/page/mails/MailboxContacts.d.ts.map +1 -1
  24. package/dist/web/page/mails/MailboxContacts.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/common/controls/collection-editor/CollectionEditorEx.tsx +3 -0
  27. package/src/common/pages/mailboxes/MailboxEditorPage.tsx +28 -0
  28. package/src/site-editor-app/pages/store/products/ProductEditor.tsx +15 -1
  29. package/src/web/page/mails/MailboxContacts.tsx +1 -4
@@ -26030,6 +26030,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
26030
26030
  itemRenderer: item => {
26031
26031
  var _a, _b;
26032
26032
  const node = this.itemRenderer(item);
26033
+ if (!node) {
26034
+ return XNode.create("div", null);
26035
+ }
26033
26036
  const na = (_a = node.attributes) !== null && _a !== void 0 ? _a : node.attributes = {};
26034
26037
  na["data-margin"] = "default";
26035
26038
  node.children.push(XNode.create("span", null, XNode.create(DeleteIconButton, {
@@ -26646,8 +26649,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26646
26649
  execute: function () {
26647
26650
  _export("default", MailboxEditorPage = class MailboxEditorPage extends PopupWindowPage {
26648
26651
  init() {
26649
- var _a, _b, _c, _d;
26650
- var _e, _f;
26652
+ var _a, _b, _c, _d, _e, _f, _g, _h;
26653
+ var _j, _k, _l, _m, _o, _p;
26651
26654
  return __awaiter(this, void 0, void 0, function* () {
26652
26655
  this.title = "Add Hosted Mailbox";
26653
26656
  this.model = (_b = (_a = this.parameters) === null || _a === void 0 ? void 0 : _a.model) !== null && _b !== void 0 ? _b : Mailbox.create({
@@ -26660,8 +26663,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26660
26663
  if (this.parameters.domainID) {
26661
26664
  this.model.domainID = this.parameters.domainID;
26662
26665
  }
26663
- (_c = (_e = this.model).isChannel) !== null && _c !== void 0 ? _c : _e.isChannel = false;
26664
- (_d = (_f = this.model).isPrivateChannel) !== null && _d !== void 0 ? _d : _f.isPrivateChannel = false;
26666
+ (_c = (_j = this.model).isChannel) !== null && _c !== void 0 ? _c : _j.isChannel = false;
26667
+ (_d = (_k = this.model).isPrivateChannel) !== null && _d !== void 0 ? _d : _k.isPrivateChannel = false;
26668
+ (_e = (_l = this.model).requiresCommentModeration) !== null && _e !== void 0 ? _e : _l.requiresCommentModeration = true;
26669
+ (_f = (_m = this.model).requiresMembershipApproval) !== null && _f !== void 0 ? _f : _m.requiresMembershipApproval = true;
26670
+ (_g = (_o = this.model).requiresPostModeration) !== null && _g !== void 0 ? _g : _o.requiresPostModeration = true;
26671
+ (_h = (_p = this.model).requiresSignup) !== null && _h !== void 0 ? _h : _p.requiresSignup = true;
26665
26672
  this.model.username = "";
26666
26673
  const domains = yield this.mailboxService.domains(true);
26667
26674
  this.model.name = SocialMailApp.user.displayName;
@@ -26696,6 +26703,24 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26696
26703
  }, XNode.create(Checkbox, {
26697
26704
  checked: Bind.twoWaysImmediate(() => this.model.isPrivateChannel),
26698
26705
  text: "Make this channel private, only users with invitation can subscribe"
26706
+ })), XNode.create(FormField, {
26707
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26708
+ label: "Approval"
26709
+ }, XNode.create(Checkbox, {
26710
+ checked: Bind.twoWaysImmediate(() => this.model.requiresMembershipApproval),
26711
+ text: "Membership requires approval"
26712
+ })), XNode.create(FormField, {
26713
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26714
+ label: "Moderation"
26715
+ }, XNode.create(Checkbox, {
26716
+ checked: Bind.twoWaysImmediate(() => this.model.requiresPostModeration),
26717
+ text: "New post goes in moderation queue"
26718
+ })), XNode.create(FormField, {
26719
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26720
+ label: "Moderation"
26721
+ }, XNode.create(Checkbox, {
26722
+ checked: Bind.twoWaysImmediate(() => this.model.requiresCommentModeration),
26723
+ text: "New comment goes in moderation queue"
26699
26724
  })), XNode.create(FormField, {
26700
26725
  "style-display": Bind.oneWay(() => this.model.isChannel),
26701
26726
  label: "Content Library"