monto-email-builder 1.4.5 → 1.4.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/HtmlEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6F,MAAM,OAAO,CAAC;AAmBlH,OAAO,EAaL,OAAO,EAIP,KAAK,EAKN,MAAM,eAAe,CAAC;AAWvB,OAAO,EAAE,QAAQ,EAAK,MAAM,SAAS,CAAC;AAWtC,OAAO,EASL,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACxC,MAAM,aAAa,CAAC;AAYrB,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,WAAW,CAAC;AACzD,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,kCAAkC,GACnC,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,sBAAsB,EAAE,CAAC;IAC9C,YAAY,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,IAAI,KAAK,sBAAsB,EAAE,CAAC;IACjG,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;IAC5D,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AA8DD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,QA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A,MAAM,mBAAmB,uFAevB,CAAC;AAGH,eAAe,mBAAmB,CAAC"}
@@ -24,6 +24,7 @@ export type HtmlEditorVariableValidationResult = {
24
24
  };
25
25
  export declare const HTML_EDITOR_VARIABLE_GROUPS: VariableGroup[];
26
26
  export declare const HTML_EDITOR_UNSUBSCRIBE_LINK_VARIABLE = "unsubscribe_link";
27
+ export declare function normalizeHtmlEditorBuiltinSyntax(source: string): string;
27
28
  export declare function parseHtmlEditorVariableToken(token: string | null | undefined): {
28
29
  attribute: string;
29
30
  type: HtmlEditorVariableType;
@@ -1 +1 @@
1
- {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../src/HtmlEditor/variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,0CAA0C,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEvD,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,sB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B,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB,EAAE,CA0ChF;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,aAAa,CAAC,sBAAsB,CAAC,EAC9C,OAAO,EAAE,aAAa,CAAC,sBAAsB,CAAC,GAC7C,sBAAsB,EAAE,CAuC1B;AAWD,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,aAAa,CAAC,sBAAsB,CAAC,GAC/C,MAAM,CAoCR;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,SAAK,GAAG,sBAAsB,GAAG,IAAI,CAY3H;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAKrE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAOxF"}
@@ -1,5 +1,5 @@
1
1
  import { createTheme as b, alpha as y, lighten as s, darken as h } from "@mui/material/styles";
2
- const v = {
2
+ const f = {
3
3
  newDocument: "New Blank Document",
4
4
  useBuiltInTemplates: "Use Built-in Templates",
5
5
  emailBuilder: "Monto Email Builder",
@@ -22,7 +22,7 @@ const v = {
22
22
  undoTooltip: "Undo (Ctrl/Cmd + Z)",
23
23
  redo: "Redo",
24
24
  redoTooltip: "Redo (Ctrl/Cmd + Shift + Z)"
25
- }, k = {
25
+ }, v = {
26
26
  welcomeEmail: "Marketing Template",
27
27
  oneTimePasscode: "One-time passcode (OTP)",
28
28
  resetPassword: "Reset password",
@@ -32,17 +32,17 @@ const v = {
32
32
  postMetrics: "Post metrics",
33
33
  respondToMessage: "Respond to inquiry",
34
34
  quickStart: "Quick Start"
35
- }, x = {
35
+ }, k = {
36
36
  styles: "Styles",
37
37
  inspect: "Inspect",
38
38
  clickBlockToInspect: "Click on a block to inspect.",
39
39
  blockNotFound: "Block with id {{id}} was not found. Click on a block to reset."
40
- }, S = {
40
+ }, x = {
41
41
  edit: "Edit",
42
42
  preview: "Preview",
43
43
  htmlOutput: "HTML output",
44
44
  jsonOutput: "JSON output"
45
- }, C = {
45
+ }, S = {
46
46
  title: "Image block",
47
47
  name: "Image",
48
48
  sourceUrl: "Source URL",
@@ -58,7 +58,7 @@ const v = {
58
58
  uploading: "Uploading...",
59
59
  uploadHandlerNotConfigured: "Please configure imageUploadHandler to enable local upload",
60
60
  placeholder: "Add an image"
61
- }, M = {
61
+ }, C = {
62
62
  title: "Video block",
63
63
  name: "Video",
64
64
  sourceUrl: "Video URL",
@@ -79,7 +79,7 @@ const v = {
79
79
  loop: "Loop",
80
80
  muted: "Muted",
81
81
  controls: "Show controls"
82
- }, T = {
82
+ }, M = {
83
83
  title: "Columns block",
84
84
  name: "Columns",
85
85
  layout: "Layout",
@@ -97,7 +97,7 @@ const v = {
97
97
  confirmChangeMessage: "Changing the column layout will delete data in some columns. This action cannot be undone. Are you sure you want to continue?",
98
98
  cancel: "Cancel",
99
99
  confirm: "Confirm"
100
- }, w = {
100
+ }, T = {
101
101
  global: "Global",
102
102
  backdropColor: "Backdrop color",
103
103
  canvasColor: "Canvas color",
@@ -106,7 +106,7 @@ const v = {
106
106
  pageWidth: "Page width",
107
107
  fontFamily: "Font family",
108
108
  textColor: "Text color"
109
- }, R = {
109
+ }, w = {
110
110
  title: "Text block",
111
111
  name: "Text",
112
112
  content: "Content",
@@ -173,7 +173,7 @@ const v = {
173
173
  customVariableNameInvalid: "Only letters, numbers, and underscores allowed, starting with a letter or underscore",
174
174
  customVariableNameDuplicate: "Variable name already exists"
175
175
  }
176
- }, L = {
176
+ }, R = {
177
177
  title: "Button block",
178
178
  name: "Button",
179
179
  text: "Text",
@@ -192,12 +192,12 @@ const v = {
192
192
  stylePill: "Pill",
193
193
  textColor: "Text color",
194
194
  buttonColor: "Button color"
195
- }, A = {
195
+ }, L = {
196
196
  title: "Heading block",
197
197
  name: "Heading",
198
198
  content: "Content",
199
199
  level: "Level"
200
- }, B = {
200
+ }, A = {
201
201
  title: "Avatar block",
202
202
  size: "Size",
203
203
  shape: "Shape",
@@ -206,19 +206,19 @@ const v = {
206
206
  shapeRounded: "Rounded",
207
207
  imageUrl: "Image URL",
208
208
  altText: "Alt text"
209
- }, O = {
209
+ }, B = {
210
210
  title: "Divider block",
211
211
  name: "Divider",
212
212
  color: "Color",
213
213
  height: "Height"
214
- }, F = {
214
+ }, O = {
215
215
  title: "Container block",
216
216
  name: "Container"
217
- }, E = {
217
+ }, F = {
218
218
  title: "Spacer block",
219
219
  name: "Spacer",
220
220
  height: "Height"
221
- }, N = {
221
+ }, E = {
222
222
  title: "HTML block",
223
223
  name: "HTML",
224
224
  content: "Content"
@@ -235,7 +235,7 @@ const v = {
235
235
  iconUrl: "Link URL",
236
236
  placeholder: "Click the right panel to add social media icons",
237
237
  addAnother: "Add another social link"
238
- }, V = {
238
+ }, N = {
239
239
  backgroundColor: "Background color",
240
240
  borderColor: "Border color",
241
241
  borderRadius: "Border radius",
@@ -259,7 +259,7 @@ const v = {
259
259
  both: "Both",
260
260
  default: "Default",
261
261
  formatGroup: "Style"
262
- }, P = {
262
+ }, V = {
263
263
  mode: {
264
264
  split: "Split view",
265
265
  code: "Code only",
@@ -293,27 +293,27 @@ const v = {
293
293
  empty: "No variables yet. Click Save in the code panel to scan, or insert one from the catalog above.",
294
294
  systemDefault: "System variables do not need defaults"
295
295
  }
296
- }, W = {
297
- common: v,
298
- samples: k,
299
- inspector: x,
300
- tabs: S,
301
- image: C,
302
- video: M,
303
- columns: T,
304
- emailLayout: w,
305
- text: R,
306
- button: L,
307
- heading: A,
308
- avatar: B,
309
- divider: O,
310
- container: F,
311
- spacer: E,
312
- html: N,
296
+ }, P = {
297
+ common: f,
298
+ samples: v,
299
+ inspector: k,
300
+ tabs: x,
301
+ image: S,
302
+ video: C,
303
+ columns: M,
304
+ emailLayout: T,
305
+ text: w,
306
+ button: R,
307
+ heading: L,
308
+ avatar: A,
309
+ divider: B,
310
+ container: O,
311
+ spacer: F,
312
+ html: E,
313
313
  socials: U,
314
- style: V,
315
- htmlEditor: P
316
- }, z = {
314
+ style: N,
315
+ htmlEditor: V
316
+ }, W = {
317
317
  newDocument: "新建空白文档",
318
318
  useBuiltInTemplates: "使用内置模板",
319
319
  emailBuilder: "Monto 邮件编辑器",
@@ -336,7 +336,7 @@ const v = {
336
336
  undoTooltip: "撤销 (Ctrl/Cmd + Z)",
337
337
  redo: "重做",
338
338
  redoTooltip: "重做 (Ctrl/Cmd + Shift + Z)"
339
- }, I = {
339
+ }, z = {
340
340
  welcomeEmail: "营销模板",
341
341
  oneTimePasscode: "一次性密码 (OTP)",
342
342
  resetPassword: "重置密码",
@@ -346,17 +346,17 @@ const v = {
346
346
  postMetrics: "指标报告",
347
347
  respondToMessage: "回复询问",
348
348
  quickStart: "快速开始"
349
- }, D = {
349
+ }, I = {
350
350
  styles: "样式",
351
351
  inspect: "检查",
352
352
  clickBlockToInspect: "点击一个块进行检查。",
353
353
  blockNotFound: "未找到 id 为 {{id}} 的块。点击一个块以重置。"
354
- }, _ = {
354
+ }, D = {
355
355
  edit: "编辑",
356
356
  preview: "预览",
357
357
  htmlOutput: "HTML 输出",
358
358
  jsonOutput: "JSON 输出"
359
- }, H = {
359
+ }, _ = {
360
360
  title: "图片块",
361
361
  name: "图片",
362
362
  sourceUrl: "图片地址",
@@ -372,7 +372,7 @@ const v = {
372
372
  uploading: "上传中...",
373
373
  uploadHandlerNotConfigured: "请配置 imageUploadHandler 以启用本地上传功能",
374
374
  placeholder: "添加图片"
375
- }, $ = {
375
+ }, H = {
376
376
  title: "视频块",
377
377
  name: "视频",
378
378
  sourceUrl: "视频地址",
@@ -393,7 +393,7 @@ const v = {
393
393
  loop: "循环播放",
394
394
  muted: "静音",
395
395
  controls: "显示控制条"
396
- }, K = {
396
+ }, $ = {
397
397
  title: "列块",
398
398
  name: "列容器",
399
399
  layout: "分栏",
@@ -411,7 +411,7 @@ const v = {
411
411
  confirmChangeMessage: "切换分栏布局将删除部分列中的数据,此操作不可撤销。确定要继续吗?",
412
412
  cancel: "取消",
413
413
  confirm: "确定"
414
- }, q = {
414
+ }, K = {
415
415
  global: "全局",
416
416
  backdropColor: "背景颜色",
417
417
  canvasColor: "画布颜色",
@@ -420,7 +420,7 @@ const v = {
420
420
  pageWidth: "页面宽度",
421
421
  fontFamily: "字体",
422
422
  textColor: "文字颜色"
423
- }, J = {
423
+ }, q = {
424
424
  title: "文本块",
425
425
  name: "文本",
426
426
  content: "内容",
@@ -487,7 +487,7 @@ const v = {
487
487
  customVariableNameInvalid: "变量名只能包含英文字母、数字和下划线,且以字母或下划线开头",
488
488
  customVariableNameDuplicate: "变量名已存在"
489
489
  }
490
- }, Y = {
490
+ }, J = {
491
491
  title: "按钮块",
492
492
  name: "按钮",
493
493
  text: "文本",
@@ -506,12 +506,12 @@ const v = {
506
506
  stylePill: "胶囊",
507
507
  textColor: "文字颜色",
508
508
  buttonColor: "按钮颜色"
509
- }, j = {
509
+ }, Y = {
510
510
  title: "标题块",
511
511
  name: "标题",
512
512
  content: "内容",
513
513
  level: "级别"
514
- }, G = {
514
+ }, j = {
515
515
  title: "头像块",
516
516
  size: "尺寸",
517
517
  shape: "形状",
@@ -520,23 +520,23 @@ const v = {
520
520
  shapeRounded: "圆角",
521
521
  imageUrl: "图片地址",
522
522
  altText: "替代文本"
523
- }, Z = {
523
+ }, G = {
524
524
  title: "分割线块",
525
525
  name: "分割线",
526
526
  color: "颜色",
527
527
  height: "高度"
528
- }, X = {
528
+ }, Z = {
529
529
  title: "容器块",
530
530
  name: "容器"
531
- }, Q = {
531
+ }, X = {
532
532
  title: "间距块",
533
533
  name: "间距",
534
534
  height: "高度"
535
- }, ee = {
535
+ }, Q = {
536
536
  title: "HTML块",
537
537
  name: "HTML",
538
538
  content: "内容"
539
- }, te = {
539
+ }, ee = {
540
540
  title: "社媒块",
541
541
  name: "社媒",
542
542
  selectPlatforms: "社媒选择",
@@ -549,7 +549,7 @@ const v = {
549
549
  iconUrl: "跳转链接",
550
550
  placeholder: "点击右侧面板添加社媒图标",
551
551
  addAnother: "新增社媒"
552
- }, oe = {
552
+ }, te = {
553
553
  backgroundColor: "背景颜色",
554
554
  borderColor: "边框颜色",
555
555
  borderRadius: "圆角",
@@ -573,7 +573,7 @@ const v = {
573
573
  both: "两者",
574
574
  default: "默认",
575
575
  formatGroup: "样式"
576
- }, ie = {
576
+ }, oe = {
577
577
  mode: {
578
578
  split: "左右栏",
579
579
  code: "仅代码",
@@ -607,44 +607,44 @@ const v = {
607
607
  empty: "暂无变量。点击左侧代码区的保存按钮扫描,或从上方变量目录插入。",
608
608
  systemDefault: "系统变量无需默认值"
609
609
  }
610
+ }, ie = {
611
+ common: W,
612
+ samples: z,
613
+ inspector: I,
614
+ tabs: D,
615
+ image: _,
616
+ video: H,
617
+ columns: $,
618
+ emailLayout: K,
619
+ text: q,
620
+ button: J,
621
+ heading: Y,
622
+ avatar: j,
623
+ divider: G,
624
+ container: Z,
625
+ spacer: X,
626
+ html: Q,
627
+ socials: ee,
628
+ style: te,
629
+ htmlEditor: oe
610
630
  }, ae = {
611
- common: z,
612
- samples: I,
613
- inspector: D,
614
- tabs: _,
615
- image: H,
616
- video: $,
617
- columns: K,
618
- emailLayout: q,
619
- text: J,
620
- button: Y,
621
- heading: j,
622
- avatar: G,
623
- divider: Z,
624
- container: X,
625
- spacer: Q,
626
- html: ee,
627
- socials: te,
628
- style: oe,
629
- htmlEditor: ie
630
- }, ne = {
631
- zh: ae,
632
- en: W
631
+ zh: ie,
632
+ en: P
633
633
  };
634
- function ge(o, t, n) {
635
- const r = n ?? re(), g = o.split(".");
636
- let l = ne[r];
634
+ function ge(o, t, r) {
635
+ const l = r ?? ne(), g = o.split(".");
636
+ let n = ae[l];
637
637
  for (const i of g)
638
- if (l && typeof l == "object" && i in l)
639
- l = l[i];
638
+ if (n && typeof n == "object" && i in n)
639
+ n = n[i];
640
640
  else
641
641
  return o;
642
- return typeof l != "string" ? o : t ? l.replace(/\{\{(\w+)\}\}/g, (i, a) => {
642
+ return typeof n != "string" ? o : t ? n.replace(/\{\{(\w+)\}\}/g, (i, a) => {
643
643
  var c;
644
644
  return ((c = t[a]) == null ? void 0 : c.toString()) ?? i;
645
- }) : l;
645
+ }) : n;
646
646
  }
647
- function re() {
647
+ function ne() {
648
648
  if (typeof window > "u")
649
649
  return "en";
650
650
  const o = localStorage.getItem("app-language");
@@ -653,85 +653,7 @@ function re() {
653
653
  function ye(o) {
654
654
  typeof window < "u" && localStorage.setItem("app-language", o);
655
655
  }
656
- const le = /^[A-Za-z_][A-Za-z0-9_]*$/, f = [
657
- {
658
- id: "contacts",
659
- items: [
660
- { name: "first_name", labelKey: "text.variables.firstName", kind: "user" },
661
- { name: "last_name", labelKey: "text.variables.lastName", kind: "user" },
662
- { name: "middle_name", labelKey: "text.variables.middleName", kind: "user" }
663
- ]
664
- },
665
- {
666
- id: "email",
667
- items: [
668
- { name: "email", labelKey: "text.variables.email", kind: "user" },
669
- { name: "alternative_email", labelKey: "text.variables.alternativeEmail", kind: "user" }
670
- ]
671
- },
672
- {
673
- id: "organization",
674
- items: [
675
- { name: "company", labelKey: "text.variables.company", kind: "user" },
676
- { name: "address_line_1", labelKey: "text.variables.addressLine1", kind: "user" },
677
- { name: "address_line_2", labelKey: "text.variables.addressLine2", kind: "user" },
678
- { name: "country", labelKey: "text.variables.country", kind: "user" },
679
- { name: "city", labelKey: "text.variables.city", kind: "user" },
680
- { name: "state", labelKey: "text.variables.state", kind: "user" },
681
- { name: "postal_code", labelKey: "text.variables.postalCode", kind: "user" },
682
- { name: "recipient_company", labelKey: "text.variables.recipientCompany", kind: "user" },
683
- { name: "recipient_address_line_1", labelKey: "text.variables.recipientAddressLine1", kind: "user" },
684
- { name: "recipient_address_line_2", labelKey: "text.variables.recipientAddressLine2", kind: "user" },
685
- { name: "recipient_country", labelKey: "text.variables.recipientCountry", kind: "user" },
686
- { name: "recipient_city", labelKey: "text.variables.recipientCity", kind: "user" },
687
- { name: "recipient_state", labelKey: "text.variables.recipientState", kind: "user" },
688
- { name: "recipient_postal_code", labelKey: "text.variables.recipientPostalCode", kind: "user" }
689
- ]
690
- },
691
- {
692
- id: "date",
693
- items: [
694
- { name: "birthday", labelKey: "text.variables.birthday", kind: "user" },
695
- { name: "send_date", labelKey: "text.variables.currentDate", kind: "builtin" },
696
- { name: "send_year", labelKey: "text.variables.currentYear", kind: "builtin" },
697
- { name: "send_month", labelKey: "text.variables.currentMonthName", kind: "builtin" },
698
- { name: "send_weekday", labelKey: "text.variables.currentWeekday", kind: "builtin" }
699
- ]
700
- },
701
- {
702
- id: "links",
703
- items: [{ name: "unsubscribe_link", labelKey: "text.variables.unsubscribeLink", kind: "builtin" }]
704
- }
705
- ];
706
- function he(o) {
707
- const t = o.baseGroups ?? f, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
708
- for (const i of t)
709
- for (const a of i.items)
710
- a.kind === "user" ? n.add(a.name) : r.add(a.name);
711
- const g = Array.isArray(o.contactAttributes) ? o.contactAttributes : [];
712
- for (const i of g) {
713
- const a = i == null ? void 0 : i.Enable;
714
- if (a === 0 || a === !1) continue;
715
- const c = typeof (i == null ? void 0 : i.AttrField) == "string" ? i.AttrField.trim() : "";
716
- c && n.add(c);
717
- }
718
- const l = Array.isArray(o.customVariables) ? o.customVariables : [];
719
- for (const i of l) {
720
- const a = typeof (i == null ? void 0 : i.name) == "string" ? i.name.trim() : "";
721
- a && le.test(a) && n.add(a);
722
- }
723
- return { allowedUser: n, allowedBuiltin: r };
724
- }
725
- function be(o) {
726
- const t = o.trim();
727
- return t ? f.some(
728
- (n) => n.items.some((r) => r.kind === "builtin" && r.name === t)
729
- ) : !1;
730
- }
731
- function fe(o, t = "user") {
732
- return t === "user";
733
- }
734
- const se = "#212443", u = "#1E40AF", p = "#1F8466", m = "#E81212", d = "#F6DC9F", de = "#6C0E7C", ce = "#CC996C", pe = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', ue = 'ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace', e = b({
656
+ const re = "#212443", u = "#1E40AF", p = "#1F8466", m = "#E81212", d = "#F6DC9F", le = "#6C0E7C", se = "#CC996C", de = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', ce = 'ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace', e = b({
735
657
  palette: {
736
658
  background: {
737
659
  default: "#f2f5f7"
@@ -742,18 +664,18 @@ const se = "#212443", u = "#1E40AF", p = "#1F8466", m = "#E81212", d = "#F6DC9F"
742
664
  }
743
665
  },
744
666
  typography: {
745
- fontFamily: pe
667
+ fontFamily: de
746
668
  }
747
- }), ve = b(e, {
669
+ }), he = b(e, {
748
670
  palette: {
749
671
  brand: {
750
- navy: se,
672
+ navy: re,
751
673
  blue: u,
752
674
  red: m,
753
675
  green: p,
754
676
  yellow: d,
755
- purple: de,
756
- brown: ce
677
+ purple: le,
678
+ brown: se
757
679
  },
758
680
  success: {
759
681
  main: p,
@@ -797,7 +719,7 @@ const se = "#212443", u = "#1E40AF", p = "#1F8466", m = "#E81212", d = "#F6DC9F"
797
719
  padding: 0;
798
720
  }
799
721
  pre {
800
- font-family: ${ue}
722
+ font-family: ${ce}
801
723
  white-space: pre-wrap;
802
724
  font-size: 12px;
803
725
  }
@@ -1244,24 +1166,95 @@ const se = "#212443", u = "#1E40AF", p = "#1F8466", m = "#E81212", d = "#F6DC9F"
1244
1166
  ...Array(20).fill("none")
1245
1167
  ]
1246
1168
  });
1247
- function ke(o) {
1248
- let t = o, n = 0;
1249
- for (; t && typeof t == "object" && "default" in t && n < 5; ) {
1250
- const r = t.default;
1251
- if (!r || r === t) break;
1252
- t = r, n += 1;
1169
+ function be(o) {
1170
+ let t = o, r = 0;
1171
+ for (; t && typeof t == "object" && "default" in t && r < 5; ) {
1172
+ const l = t.default;
1173
+ if (!l || l === t) break;
1174
+ t = l, r += 1;
1253
1175
  }
1254
1176
  return typeof t == "function" || typeof t == "string" || t && typeof t == "object" && "$$typeof" in t ? t : "span";
1255
1177
  }
1178
+ const pe = /^[A-Za-z_][A-Za-z0-9_]*$/, ue = [
1179
+ {
1180
+ id: "contacts",
1181
+ items: [
1182
+ { name: "first_name", labelKey: "text.variables.firstName", kind: "user" },
1183
+ { name: "last_name", labelKey: "text.variables.lastName", kind: "user" },
1184
+ { name: "middle_name", labelKey: "text.variables.middleName", kind: "user" }
1185
+ ]
1186
+ },
1187
+ {
1188
+ id: "email",
1189
+ items: [
1190
+ { name: "email", labelKey: "text.variables.email", kind: "user" },
1191
+ { name: "alternative_email", labelKey: "text.variables.alternativeEmail", kind: "user" }
1192
+ ]
1193
+ },
1194
+ {
1195
+ id: "organization",
1196
+ items: [
1197
+ { name: "company", labelKey: "text.variables.company", kind: "user" },
1198
+ { name: "address_line_1", labelKey: "text.variables.addressLine1", kind: "user" },
1199
+ { name: "address_line_2", labelKey: "text.variables.addressLine2", kind: "user" },
1200
+ { name: "country", labelKey: "text.variables.country", kind: "user" },
1201
+ { name: "city", labelKey: "text.variables.city", kind: "user" },
1202
+ { name: "state", labelKey: "text.variables.state", kind: "user" },
1203
+ { name: "postal_code", labelKey: "text.variables.postalCode", kind: "user" },
1204
+ { name: "recipient_company", labelKey: "text.variables.recipientCompany", kind: "user" },
1205
+ { name: "recipient_address_line_1", labelKey: "text.variables.recipientAddressLine1", kind: "user" },
1206
+ { name: "recipient_address_line_2", labelKey: "text.variables.recipientAddressLine2", kind: "user" },
1207
+ { name: "recipient_country", labelKey: "text.variables.recipientCountry", kind: "user" },
1208
+ { name: "recipient_city", labelKey: "text.variables.recipientCity", kind: "user" },
1209
+ { name: "recipient_state", labelKey: "text.variables.recipientState", kind: "user" },
1210
+ { name: "recipient_postal_code", labelKey: "text.variables.recipientPostalCode", kind: "user" }
1211
+ ]
1212
+ },
1213
+ {
1214
+ id: "date",
1215
+ items: [
1216
+ { name: "birthday", labelKey: "text.variables.birthday", kind: "user" },
1217
+ { name: "send_date", labelKey: "text.variables.currentDate", kind: "builtin" },
1218
+ { name: "send_year", labelKey: "text.variables.currentYear", kind: "builtin" },
1219
+ { name: "send_month", labelKey: "text.variables.currentMonthName", kind: "builtin" },
1220
+ { name: "send_weekday", labelKey: "text.variables.currentWeekday", kind: "builtin" }
1221
+ ]
1222
+ },
1223
+ {
1224
+ id: "links",
1225
+ items: [{ name: "unsubscribe_link", labelKey: "text.variables.unsubscribeLink", kind: "builtin" }]
1226
+ }
1227
+ ];
1228
+ function fe(o) {
1229
+ const t = o.baseGroups ?? ue, r = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set();
1230
+ for (const i of t)
1231
+ for (const a of i.items)
1232
+ a.kind === "user" ? r.add(a.name) : l.add(a.name);
1233
+ const g = Array.isArray(o.contactAttributes) ? o.contactAttributes : [];
1234
+ for (const i of g) {
1235
+ const a = i == null ? void 0 : i.Enable;
1236
+ if (a === 0 || a === !1) continue;
1237
+ const c = typeof (i == null ? void 0 : i.AttrField) == "string" ? i.AttrField.trim() : "";
1238
+ c && r.add(c);
1239
+ }
1240
+ const n = Array.isArray(o.customVariables) ? o.customVariables : [];
1241
+ for (const i of n) {
1242
+ const a = typeof (i == null ? void 0 : i.name) == "string" ? i.name.trim() : "";
1243
+ a && pe.test(a) && r.add(a);
1244
+ }
1245
+ return { allowedUser: r, allowedBuiltin: l };
1246
+ }
1247
+ function ve(o, t = "user") {
1248
+ return t === "user";
1249
+ }
1256
1250
  export {
1257
- f as B,
1258
- ve as T,
1259
- le as V,
1260
- fe as a,
1261
- he as b,
1262
- re as g,
1263
- be as i,
1264
- ke as r,
1251
+ ue as B,
1252
+ he as T,
1253
+ pe as V,
1254
+ ve as a,
1255
+ fe as b,
1256
+ ne as g,
1257
+ be as r,
1265
1258
  ye as s,
1266
1259
  ge as t
1267
1260
  };
@@ -1 +1 @@
1
- {"version":3,"file":"textDom.d.ts","sourceRoot":"","sources":["../../../../src/documents/blocks/Text/textDom.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAqChD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAQnD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAErD;AA+CD,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAW1F;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAM9F;AAED,gFAAgF;AAChF,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAqBpE;AAaD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,WAAW,GAAG,oBAAoB,EAAE,CAE/E;AAoeD,iDAAiD;AACjD,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,CAAC;AAgBF,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,KAAK,E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AgB,wBAAwB,IAAI,MAAM,CAKjD;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,WAAW,EACnB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,GAC1D;IAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAkEnE;AAED,iEAAiE;AACjE,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,EAAE,CASrG;AAED;;;GAGG;AACH,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,EAAE,CAanG;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAUnE;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAU1E;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAajF;AA2ED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB3F;AAKD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAkBjE;AAED,6BAA6B;AAC7B,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1D;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,WAAW,GAAG,MAAM,CAQjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"collectTemplateVariables.d.ts","sourceRoot":"","sources":["../../../src/documents/editor/collectTemplateVariables.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,oBAAoB;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAoBF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,4CAA4C,CAC1D,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,SAAS,GACnB,oBAAoB,CA+DtB;AAsDD;;;;;GAKG;AACH,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,SAAS,GACnB,yBAAyB,EAAE,CAyC7B;AAED;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACrD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,GAAG,SAAS,EACtE,WAAW,SAAS,GACnB,oBAAoB,CA+DtB"}
1
+ {"version":3,"file":"collectTemplateVariables.d.ts","sourceRoot":"","sources":["../../../src/documents/editor/collectTemplateVariables.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAgB,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,oBAAoB;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAqBF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,4CAA4C,CAC1D,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,SAAS,GACnB,oBAAoB,CA+DtB;AAsDD;;;;;GAKG;AACH,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,SAAS,GACnB,yBAAyB,EAAE,CAyC7B;AAED;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACrD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,GAAG,SAAS,EACtE,WAAW,SAAS,GACnB,oBAAoB,CA+DtB"}