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

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.
@@ -26646,8 +26646,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26646
26646
  execute: function () {
26647
26647
  _export("default", MailboxEditorPage = class MailboxEditorPage extends PopupWindowPage {
26648
26648
  init() {
26649
- var _a, _b, _c, _d;
26650
- var _e, _f;
26649
+ var _a, _b, _c, _d, _e, _f, _g, _h;
26650
+ var _j, _k, _l, _m, _o, _p;
26651
26651
  return __awaiter(this, void 0, void 0, function* () {
26652
26652
  this.title = "Add Hosted Mailbox";
26653
26653
  this.model = (_b = (_a = this.parameters) === null || _a === void 0 ? void 0 : _a.model) !== null && _b !== void 0 ? _b : Mailbox.create({
@@ -26660,8 +26660,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26660
26660
  if (this.parameters.domainID) {
26661
26661
  this.model.domainID = this.parameters.domainID;
26662
26662
  }
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;
26663
+ (_c = (_j = this.model).isChannel) !== null && _c !== void 0 ? _c : _j.isChannel = false;
26664
+ (_d = (_k = this.model).isPrivateChannel) !== null && _d !== void 0 ? _d : _k.isPrivateChannel = false;
26665
+ (_e = (_l = this.model).requiresCommentModeration) !== null && _e !== void 0 ? _e : _l.requiresCommentModeration = true;
26666
+ (_f = (_m = this.model).requiresMembershipApproval) !== null && _f !== void 0 ? _f : _m.requiresMembershipApproval = true;
26667
+ (_g = (_o = this.model).requiresPostModeration) !== null && _g !== void 0 ? _g : _o.requiresPostModeration = true;
26668
+ (_h = (_p = this.model).requiresSignup) !== null && _h !== void 0 ? _h : _p.requiresSignup = true;
26665
26669
  this.model.username = "";
26666
26670
  const domains = yield this.mailboxService.domains(true);
26667
26671
  this.model.name = SocialMailApp.user.displayName;
@@ -26696,6 +26700,24 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
26696
26700
  }, XNode.create(Checkbox, {
26697
26701
  checked: Bind.twoWaysImmediate(() => this.model.isPrivateChannel),
26698
26702
  text: "Make this channel private, only users with invitation can subscribe"
26703
+ })), XNode.create(FormField, {
26704
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26705
+ label: "Approval"
26706
+ }, XNode.create(Checkbox, {
26707
+ checked: Bind.twoWaysImmediate(() => this.model.requiresMembershipApproval),
26708
+ text: "Membership requires approval"
26709
+ })), XNode.create(FormField, {
26710
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26711
+ label: "Moderation"
26712
+ }, XNode.create(Checkbox, {
26713
+ checked: Bind.twoWaysImmediate(() => this.model.requiresPostModeration),
26714
+ text: "New post goes in moderation queue"
26715
+ })), XNode.create(FormField, {
26716
+ "style-display": Bind.oneWay(() => this.model.isChannel),
26717
+ label: "Moderation"
26718
+ }, XNode.create(Checkbox, {
26719
+ checked: Bind.twoWaysImmediate(() => this.model.requiresCommentModeration),
26720
+ text: "New comment goes in moderation queue"
26699
26721
  })), XNode.create(FormField, {
26700
26722
  "style-display": Bind.oneWay(() => this.model.isChannel),
26701
26723
  label: "Content Library"