@cakemail-org/ui-components-v2 2.1.3 → 2.1.4

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/cjs/index.js CHANGED
@@ -17144,28 +17144,22 @@ var SummaryEnhancedFormModel = /** @class */ (function (_super) {
17144
17144
  __extends(SummaryEnhancedFormModel, _super);
17145
17145
  function SummaryEnhancedFormModel(_a) {
17146
17146
  var id = _a.id, list_id = _a.list_id, enabled = _a.enabled, name = _a.name, description = _a.description, tags = _a.tags, post_redirect_url = _a.post_redirect_url, double_opt_in = _a.double_opt_in, double_opt_in_redirect_url = _a.double_opt_in_redirect_url, submission_url = _a.submission_url, async_processing = _a.async_processing, branding = _a.branding, created_on = _a.created_on, updated_on = _a.updated_on, published_on = _a.published_on, edited_by = _a.edited_by, thumbnail_url = _a.thumbnail_url, recaptcha = _a.recaptcha, published_url = _a.published_url;
17147
- var _this = _super.call(this, { id: id || "", name: name || "", list_id: list_id || 0, double_opt_in: double_opt_in || true }) || this;
17148
- _this.enabled = enabled || true;
17149
- _this.description = description || "";
17150
- _this.tags = tags || [];
17151
- _this.post_redirect_url = post_redirect_url || "";
17152
- _this.double_opt_in_redirect_url = double_opt_in_redirect_url || "";
17153
- _this.submission_url = submission_url || "";
17154
- _this.async_processing = async_processing || false;
17155
- _this.branding = branding || "";
17156
- _this.created_on = created_on || 0;
17157
- _this.updated_on = updated_on || 0;
17158
- _this.published_on = published_on || 0;
17159
- _this.edited_by = edited_by || {
17160
- id: 0,
17161
- email: ""
17162
- };
17163
- _this.thumbnail_url = thumbnail_url || "";
17164
- _this.recaptcha = recaptcha || {
17165
- secret: "",
17166
- domain: ""
17167
- };
17168
- _this.published_url = published_url || "";
17147
+ var _this = _super.call(this, { id: id, name: name, list_id: list_id, double_opt_in: double_opt_in }) || this;
17148
+ _this.enabled = enabled;
17149
+ _this.description = description;
17150
+ _this.tags = tags;
17151
+ _this.post_redirect_url = post_redirect_url;
17152
+ _this.double_opt_in_redirect_url = double_opt_in_redirect_url;
17153
+ _this.submission_url = submission_url;
17154
+ _this.async_processing = async_processing;
17155
+ _this.branding = branding;
17156
+ _this.created_on = created_on;
17157
+ _this.updated_on = updated_on;
17158
+ _this.published_on = published_on;
17159
+ _this.edited_by = edited_by;
17160
+ _this.thumbnail_url = thumbnail_url;
17161
+ _this.recaptcha = recaptcha;
17162
+ _this.published_url = published_url;
17169
17163
  return _this;
17170
17164
  }
17171
17165
  SummaryEnhancedFormModel.prototype.enable = function () {
@@ -54,7 +54,7 @@ export declare class SummaryEnhancedFormModel extends CommonFormModel {
54
54
  readonly edited_by: TEnhancedFormEditedBy;
55
55
  readonly thumbnail_url: string;
56
56
  readonly published_url: string;
57
- constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, published_url }: Partial<TSummaryEnhancedFormModel>);
57
+ constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, published_url }: TSummaryEnhancedFormModel);
58
58
  enable(): Promise<EnhancedFormModel>;
59
59
  disable(): Promise<EnhancedFormModel>;
60
60
  publish(): Promise<EnhancedFormModel>;
package/dist/esm/index.js CHANGED
@@ -17124,28 +17124,22 @@ var SummaryEnhancedFormModel = /** @class */ (function (_super) {
17124
17124
  __extends(SummaryEnhancedFormModel, _super);
17125
17125
  function SummaryEnhancedFormModel(_a) {
17126
17126
  var id = _a.id, list_id = _a.list_id, enabled = _a.enabled, name = _a.name, description = _a.description, tags = _a.tags, post_redirect_url = _a.post_redirect_url, double_opt_in = _a.double_opt_in, double_opt_in_redirect_url = _a.double_opt_in_redirect_url, submission_url = _a.submission_url, async_processing = _a.async_processing, branding = _a.branding, created_on = _a.created_on, updated_on = _a.updated_on, published_on = _a.published_on, edited_by = _a.edited_by, thumbnail_url = _a.thumbnail_url, recaptcha = _a.recaptcha, published_url = _a.published_url;
17127
- var _this = _super.call(this, { id: id || "", name: name || "", list_id: list_id || 0, double_opt_in: double_opt_in || true }) || this;
17128
- _this.enabled = enabled || true;
17129
- _this.description = description || "";
17130
- _this.tags = tags || [];
17131
- _this.post_redirect_url = post_redirect_url || "";
17132
- _this.double_opt_in_redirect_url = double_opt_in_redirect_url || "";
17133
- _this.submission_url = submission_url || "";
17134
- _this.async_processing = async_processing || false;
17135
- _this.branding = branding || "";
17136
- _this.created_on = created_on || 0;
17137
- _this.updated_on = updated_on || 0;
17138
- _this.published_on = published_on || 0;
17139
- _this.edited_by = edited_by || {
17140
- id: 0,
17141
- email: ""
17142
- };
17143
- _this.thumbnail_url = thumbnail_url || "";
17144
- _this.recaptcha = recaptcha || {
17145
- secret: "",
17146
- domain: ""
17147
- };
17148
- _this.published_url = published_url || "";
17127
+ var _this = _super.call(this, { id: id, name: name, list_id: list_id, double_opt_in: double_opt_in }) || this;
17128
+ _this.enabled = enabled;
17129
+ _this.description = description;
17130
+ _this.tags = tags;
17131
+ _this.post_redirect_url = post_redirect_url;
17132
+ _this.double_opt_in_redirect_url = double_opt_in_redirect_url;
17133
+ _this.submission_url = submission_url;
17134
+ _this.async_processing = async_processing;
17135
+ _this.branding = branding;
17136
+ _this.created_on = created_on;
17137
+ _this.updated_on = updated_on;
17138
+ _this.published_on = published_on;
17139
+ _this.edited_by = edited_by;
17140
+ _this.thumbnail_url = thumbnail_url;
17141
+ _this.recaptcha = recaptcha;
17142
+ _this.published_url = published_url;
17149
17143
  return _this;
17150
17144
  }
17151
17145
  SummaryEnhancedFormModel.prototype.enable = function () {
@@ -54,7 +54,7 @@ export declare class SummaryEnhancedFormModel extends CommonFormModel {
54
54
  readonly edited_by: TEnhancedFormEditedBy;
55
55
  readonly thumbnail_url: string;
56
56
  readonly published_url: string;
57
- constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, published_url }: Partial<TSummaryEnhancedFormModel>);
57
+ constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, published_url }: TSummaryEnhancedFormModel);
58
58
  enable(): Promise<EnhancedFormModel>;
59
59
  disable(): Promise<EnhancedFormModel>;
60
60
  publish(): Promise<EnhancedFormModel>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",