@useinsider/guido 3.13.1-beta.88c2f20 → 3.13.1-beta.88e4a0d

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.
@@ -41,9 +41,9 @@ ${s.map((o) => ` - ${o}`).join(`
41
41
  };
42
42
  v.validatedClasses = /* @__PURE__ */ new Set();
43
43
  v.validationErrors = /* @__PURE__ */ new Map();
44
- var i = v, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))(z || {}), P = class c extends i {
44
+ var i = v, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))(z || {}), P = class T extends i {
45
45
  constructor() {
46
- super(c.REQUIRED_METHODS, c);
46
+ super(T.REQUIRED_METHODS, T);
47
47
  }
48
48
  /**
49
49
  * Determines if the block should be available for use in the editor.
@@ -222,9 +222,9 @@ var i = v, z = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
222
222
  }
223
223
  };
224
224
  P.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
225
- var qe = P, Z = class T extends i {
225
+ var qe = P, Z = class c extends i {
226
226
  constructor() {
227
- super(T.REQUIRED_METHODS, T);
227
+ super(c.REQUIRED_METHODS, c);
228
228
  }
229
229
  /**
230
230
  * @deprecated - use {@link getPreviewInnerHtml} instead
@@ -339,12 +339,12 @@ var j = {
339
339
  height: "height"
340
340
  }, Je = {
341
341
  BLOCK_IMAGE: j
342
- }, U = "esd-block-button", w = "esd-block-text", K = "esd-block-image", J = "esd-structure", ee = "esd-block-video", te = "esd-block-social", re = "esd-block-banner", ae = "esd-block-timer", ne = "esd-block-menu", se = "esd-block-html", ie = "esd-block-spacer", le = "esd-container-frame", Ee = "esd-stripe", oe = "esd-amp-form", I = ((e) => (e.BUTTON = `.${U}`, e.TEXT = `.${w}`, e.IMAGE = `.${K}`, e.STRUCTURE = `.${J}`, e.VIDEO = `.${ee}`, e.SOCIAL = `.${te}`, e.BANNER = `.${re}`, e.TIMER = `.${ae}`, e.MENU = `.${ne}`, e.HTML = `.${se}`, e.SPACER = `.${ie}`, e.CONTAINER = `.${le}`, e.STRIPE = `.${Ee}`, e.FORM = `.${oe}`, e))(I || {}), de = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(de || {}), F = /* @__PURE__ */ ((e) => (e.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", e.APPLY_CONDITION = "applyCondition", e.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", e.BACKGROUND_COLOR = "backgroundColor", e.BACKGROUND_IMAGE = "generalImageContainer", e.TEXT_COLOR = "textColor", e.TEXT_STYLE = "textStyle", e.TEXT_SIZE = "textSize", e.TEXT_LINE_SPACING = "textLineSpacing", e.TEXT_ALIGN = "textAlign", e.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", e.HIDDEN_NODE = "hiddenNode", e.SMART_BLOCK = "smartBlock", e.SYNCHRONIZED_MODULE = "synchronizedModuleForm", e.FONT_FAMILY = "generalFontFamilyForm", e.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", e.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", e))(F || {}), H = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(H || {}), k = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.FONT_WEIGHT = "textBlockFontWeight", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(k || {}), p = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(p || {}), ue = /* @__PURE__ */ ((e) => (e.BACKGROUND_COLOR = "containerBackgroundColorForm", e.BORDER_FORM = "containerBorderForm", e.BORDER_RADIUS = "containerBorderRadiusForm", e.EXTERNAL_INDENTS = "containerExternalIndentsForm", e.IMAGE_CONTAINER = "containerImageContainerForm", e.MIME_TYPE = "containerMimeTypeForm", e.DISPLAY_CONDITIONS = "displayConditions", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(ue || {}), n = {
342
+ }, U = "esd-block-button", w = "esd-block-text", K = "esd-block-image", J = "esd-structure", ee = "esd-block-video", te = "esd-block-social", re = "esd-block-banner", ae = "esd-block-timer", ne = "esd-block-menu", se = "esd-block-html", ie = "esd-block-spacer", le = "esd-container-frame", Ee = "esd-stripe", oe = "esd-amp-form", I = ((e) => (e.BUTTON = `.${U}`, e.TEXT = `.${w}`, e.IMAGE = `.${K}`, e.STRUCTURE = `.${J}`, e.VIDEO = `.${ee}`, e.SOCIAL = `.${te}`, e.BANNER = `.${re}`, e.TIMER = `.${ae}`, e.MENU = `.${ne}`, e.HTML = `.${se}`, e.SPACER = `.${ie}`, e.CONTAINER = `.${le}`, e.STRIPE = `.${Ee}`, e.FORM = `.${oe}`, e))(I || {}), de = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(de || {}), F = /* @__PURE__ */ ((e) => (e.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", e.APPLY_CONDITION = "applyCondition", e.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", e.BACKGROUND_COLOR = "backgroundColor", e.BACKGROUND_IMAGE = "generalImageContainer", e.TEXT_COLOR = "textColor", e.TEXT_STYLE = "textStyle", e.TEXT_SIZE = "textSize", e.TEXT_LINE_SPACING = "textLineSpacing", e.TEXT_ALIGN = "textAlign", e.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", e.HIDDEN_NODE = "hiddenNode", e.SMART_BLOCK = "smartBlock", e.SYNCHRONIZED_MODULE = "synchronizedModuleForm", e.FONT_FAMILY = "generalFontFamilyForm", e.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", e.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", e))(F || {}), H = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.FONT_WEIGHT = "buttonFontWeight", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(H || {}), k = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.FONT_WEIGHT = "textBlockFontWeight", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(k || {}), p = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(p || {}), ue = /* @__PURE__ */ ((e) => (e.BACKGROUND_COLOR = "containerBackgroundColorForm", e.BORDER_FORM = "containerBorderForm", e.BORDER_RADIUS = "containerBorderRadiusForm", e.EXTERNAL_INDENTS = "containerExternalIndentsForm", e.IMAGE_CONTAINER = "containerImageContainerForm", e.MIME_TYPE = "containerMimeTypeForm", e.DISPLAY_CONDITIONS = "displayConditions", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(ue || {}), n = {
343
343
  BLOCK_BUTTON: H,
344
344
  BLOCK_TEXT: k,
345
345
  BLOCK_IMAGE: p,
346
346
  GENERAL: F
347
- }, Ie = /* @__PURE__ */ ((e) => (e.SAVE_AS_MODULE = "saveAsModule", e.IMPROVE_WITH_AI = "improveWithAI", e.MOVE = "move", e.COPY = "copy", e.REMOVE = "remove", e.CLEAR_CONTAINER = "clearContainer", e.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition", e))(Ie || {}), ce = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e.themeMode = "themeMode", e))(ce || {}), Te = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(Te || {}), be = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(be || {}), a = {
347
+ }, Ie = /* @__PURE__ */ ((e) => (e.SAVE_AS_MODULE = "saveAsModule", e.IMPROVE_WITH_AI = "improveWithAI", e.MOVE = "move", e.COPY = "copy", e.REMOVE = "remove", e.CLEAR_CONTAINER = "clearContainer", e.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition", e))(Ie || {}), Te = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e.themeMode = "themeMode", e))(Te || {}), ce = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(ce || {}), be = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(be || {}), a = {
348
348
  name: "name",
349
349
  disabled: "disabled"
350
350
  }, he = {
@@ -619,7 +619,7 @@ var j = {
619
619
  }
620
620
  };
621
621
  G.REQUIRED_METHODS = ["getId", "getTemplate"];
622
- var ct = G, Xe = class m extends i {
622
+ var Tt = G, Xe = class m extends i {
623
623
  constructor() {
624
624
  super(m.REQUIRED_METHODS, m);
625
625
  }
@@ -694,7 +694,7 @@ var V = class extends x {
694
694
  const t = e.querySelectorAll(I.IMAGE), r = e.asElement().hasClass(K) ? [e] : [];
695
695
  return t.length ? t : r;
696
696
  }
697
- }, Tt = class extends V {
697
+ }, ct = class extends V {
698
698
  getParentControlId() {
699
699
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
700
700
  }
@@ -1215,17 +1215,17 @@ export {
1215
1215
  It as ButtonTextStyleAndFontColorBuiltInControl,
1216
1216
  ue as ContainerControls,
1217
1217
  Ie as ContextActionType,
1218
- ct as Control,
1219
- ce as EditorStatePropertyType,
1218
+ Tt as Control,
1219
+ Te as EditorStatePropertyType,
1220
1220
  Ve as Extension,
1221
1221
  Nt as ExtensionBuilder,
1222
1222
  F as GeneralControls,
1223
1223
  Dt as IconsRegistry,
1224
1224
  p as ImageControls,
1225
- Tt as ImageMarginsBuiltInControl,
1225
+ ct as ImageMarginsBuiltInControl,
1226
1226
  bt as ImageSizeBuiltInControl,
1227
1227
  St as ModificationDescription,
1228
- Te as PreviewDeviceMode,
1228
+ ce as PreviewDeviceMode,
1229
1229
  ht as SettingsPanelRegistry,
1230
1230
  mt as SettingsPanelTab,
1231
1231
  be as SettingsTab,
@@ -1,4 +1,4 @@
1
- const o = { stripo: { version: "2.69.1" } }, s = {
1
+ const o = { stripo: { version: "2.72.1" } }, s = {
2
2
  guido: o
3
3
  };
4
4
  export {
@@ -262,11 +262,6 @@ export declare const TemplateSchema: v.ObjectSchema<{
262
262
  readonly selectedUnsubscribePages: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, readonly []>;
263
263
  /** Force recreate template in Stripo storage (use true when updating externally modified templates) */
264
264
  readonly forceRecreate: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
265
- /**
266
- * Consumer-persisted tracking-id high-water mark (SD-141414). Used as the id floor
267
- * during migration so a rolled-back document never re-mints retired tracking ids.
268
- */
269
- readonly trackIdCounter: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
270
265
  /** Migration-only inputs (legacy block configs) */
271
266
  readonly migration: v.OptionalSchema<v.ObjectSchema<{
272
267
  /**
@@ -390,8 +385,6 @@ export declare const FeaturesSchema: v.ObjectSchema<{
390
385
  readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
391
386
  /** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
392
387
  readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
393
- /** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
394
- readonly linkTrackingIds: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
395
388
  }, undefined>;
396
389
  /**
397
390
  * Default block types available in Stripo
@@ -673,11 +666,6 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
673
666
  readonly selectedUnsubscribePages: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, readonly []>;
674
667
  /** Force recreate template in Stripo storage (use true when updating externally modified templates) */
675
668
  readonly forceRecreate: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
676
- /**
677
- * Consumer-persisted tracking-id high-water mark (SD-141414). Used as the id floor
678
- * during migration so a rolled-back document never re-mints retired tracking ids.
679
- */
680
- readonly trackIdCounter: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
681
669
  /** Migration-only inputs (legacy block configs) */
682
670
  readonly migration: v.OptionalSchema<v.ObjectSchema<{
683
671
  /**
@@ -786,8 +774,6 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
786
774
  readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
787
775
  /** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
788
776
  readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
789
- /** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
790
- readonly linkTrackingIds: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
791
777
  }, undefined>, {}>;
792
778
  /** Block configuration */
793
779
  readonly blocks: v.OptionalSchema<v.ObjectSchema<{
@@ -6,6 +6,6 @@ export declare const useActionsApi: () => {
6
6
  activateCustomViewStyles: (isActive?: boolean) => void;
7
7
  getPreviewData: (options?: CompileEmailOptions) => Promise<CompiledEmailResult>;
8
8
  updateTimerInClonedTemplate: () => Promise<string | null>;
9
- updateHtmlAndCss: (html: string, css: string) => Promise<void>;
9
+ updateHtmlAndCss: (html: string, css: string) => void;
10
10
  editorSave: () => Promise<boolean>;
11
11
  };
@@ -40,7 +40,6 @@ export declare const useConfig: () => {
40
40
  customFieldAttributes: string[];
41
41
  selectedUnsubscribePages: number[];
42
42
  forceRecreate: boolean;
43
- trackIdCounter: number;
44
43
  migration: {
45
44
  recommendationConfigs: {
46
45
  [x: string]: {
@@ -98,7 +97,6 @@ export declare const useConfig: () => {
98
97
  liquidSyntax: boolean;
99
98
  autosave: boolean;
100
99
  allowlistEnabled: boolean;
101
- linkTrackingIds: boolean;
102
100
  };
103
101
  blocks: {
104
102
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -174,7 +172,6 @@ export declare const useConfig: () => {
174
172
  customFieldAttributes: string[];
175
173
  selectedUnsubscribePages: number[];
176
174
  forceRecreate: boolean;
177
- trackIdCounter: number;
178
175
  migration: {
179
176
  recommendationConfigs: {
180
177
  [x: string]: {
@@ -232,7 +229,6 @@ export declare const useConfig: () => {
232
229
  liquidSyntax: boolean;
233
230
  autosave: boolean;
234
231
  allowlistEnabled: boolean;
235
- linkTrackingIds: boolean;
236
232
  } | null>;
237
233
  blocks: import("vue").ComputedRef<{
238
234
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1,7 +1,2 @@
1
1
  import type { LegacyRecommendationConfig } from '@@/Types/config';
2
- export interface MigrateOptions {
3
- linkTrackingIds?: boolean;
4
- /** Consumer-persisted id high-water mark — ids are minted above it. */
5
- trackIdFloor?: number;
6
- }
7
- export declare const migrate: (html: string, recommendationConfigs?: Record<string, LegacyRecommendationConfig>, options?: MigrateOptions) => Promise<string>;
2
+ export declare const migrate: (html: string, recommendationConfigs?: Record<string, LegacyRecommendationConfig>) => Promise<string>;
@@ -1,7 +1,5 @@
1
1
  export { default as Guido } from './components/Guido.vue';
2
2
  export type { GuidoConfig, GuidoConfigInput, IdentityConfig, PartnerConfig, TemplateConfig, TemplateMigrationConfig, LegacyRecommendationConfig, EditorConfig, UIConfig, FeaturesConfig, BlocksConfig, CompilerConfig, DynamicContent, EmailHeader, DefaultBlockType, CustomBlockType, ValidationResult, ValidationError, } from './@types/config';
3
3
  export { validateConfig, parseConfig, parseConfigSafe, isValidConfig, getValidationErrors, MessageType, ProductType, } from './@types/config';
4
- export { assignTrackingIds, readTrackSeq, TRACK_ID_ATTRIBUTE, TRACK_SEQ_ATTRIBUTE, } from './utils/linkTrackingIds';
5
- export type { TrackingIdResult } from './utils/linkTrackingIds';
6
4
  export type { StripoEventType } from './@types/events';
7
5
  export type { PositionData, DynamicContentEvent, MergeTagClickEvent, MergeTag, BaseDynamicContent, DynamicContentNode, DynamicContentList, TooltipOptions, TextValueObject, L10n, } from './@types/generic';
@@ -45,7 +45,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
45
45
  customFieldAttributes: string[];
46
46
  selectedUnsubscribePages: number[];
47
47
  forceRecreate: boolean;
48
- trackIdCounter: number;
49
48
  migration: {
50
49
  recommendationConfigs: {
51
50
  [x: string]: {
@@ -103,7 +102,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
103
102
  liquidSyntax: boolean;
104
103
  autosave: boolean;
105
104
  allowlistEnabled: boolean;
106
- linkTrackingIds: boolean;
107
105
  };
108
106
  blocks: {
109
107
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -185,7 +183,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
185
183
  customFieldAttributes: string[];
186
184
  selectedUnsubscribePages: number[];
187
185
  forceRecreate: boolean;
188
- trackIdCounter: number;
189
186
  migration: {
190
187
  recommendationConfigs: {
191
188
  [x: string]: {
@@ -243,7 +240,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
243
240
  liquidSyntax: boolean;
244
241
  autosave: boolean;
245
242
  allowlistEnabled: boolean;
246
- linkTrackingIds: boolean;
247
243
  };
248
244
  blocks: {
249
245
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -325,7 +321,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
325
321
  customFieldAttributes: string[];
326
322
  selectedUnsubscribePages: number[];
327
323
  forceRecreate: boolean;
328
- trackIdCounter: number;
329
324
  migration: {
330
325
  recommendationConfigs: {
331
326
  [x: string]: {
@@ -383,7 +378,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
383
378
  liquidSyntax: boolean;
384
379
  autosave: boolean;
385
380
  allowlistEnabled: boolean;
386
- linkTrackingIds: boolean;
387
381
  };
388
382
  blocks: {
389
383
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -465,7 +459,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
465
459
  customFieldAttributes: string[];
466
460
  selectedUnsubscribePages: number[];
467
461
  forceRecreate: boolean;
468
- trackIdCounter: number;
469
462
  migration: {
470
463
  recommendationConfigs: {
471
464
  [x: string]: {
@@ -523,7 +516,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
523
516
  liquidSyntax: boolean;
524
517
  autosave: boolean;
525
518
  allowlistEnabled: boolean;
526
- linkTrackingIds: boolean;
527
519
  };
528
520
  blocks: {
529
521
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -605,7 +597,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
605
597
  customFieldAttributes: string[];
606
598
  selectedUnsubscribePages: number[];
607
599
  forceRecreate: boolean;
608
- trackIdCounter: number;
609
600
  migration: {
610
601
  recommendationConfigs: {
611
602
  [x: string]: {
@@ -663,7 +654,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
663
654
  liquidSyntax: boolean;
664
655
  autosave: boolean;
665
656
  allowlistEnabled: boolean;
666
- linkTrackingIds: boolean;
667
657
  };
668
658
  blocks: {
669
659
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -745,7 +735,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
745
735
  customFieldAttributes: string[];
746
736
  selectedUnsubscribePages: number[];
747
737
  forceRecreate: boolean;
748
- trackIdCounter: number;
749
738
  migration: {
750
739
  recommendationConfigs: {
751
740
  [x: string]: {
@@ -803,7 +792,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
803
792
  liquidSyntax: boolean;
804
793
  autosave: boolean;
805
794
  allowlistEnabled: boolean;
806
- linkTrackingIds: boolean;
807
795
  };
808
796
  blocks: {
809
797
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -885,7 +873,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
885
873
  customFieldAttributes: string[];
886
874
  selectedUnsubscribePages: number[];
887
875
  forceRecreate: boolean;
888
- trackIdCounter: number;
889
876
  migration: {
890
877
  recommendationConfigs: {
891
878
  [x: string]: {
@@ -943,7 +930,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
943
930
  liquidSyntax: boolean;
944
931
  autosave: boolean;
945
932
  allowlistEnabled: boolean;
946
- linkTrackingIds: boolean;
947
933
  };
948
934
  blocks: {
949
935
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1025,7 +1011,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1025
1011
  customFieldAttributes: string[];
1026
1012
  selectedUnsubscribePages: number[];
1027
1013
  forceRecreate: boolean;
1028
- trackIdCounter: number;
1029
1014
  migration: {
1030
1015
  recommendationConfigs: {
1031
1016
  [x: string]: {
@@ -1083,7 +1068,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1083
1068
  liquidSyntax: boolean;
1084
1069
  autosave: boolean;
1085
1070
  allowlistEnabled: boolean;
1086
- linkTrackingIds: boolean;
1087
1071
  };
1088
1072
  blocks: {
1089
1073
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1165,7 +1149,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1165
1149
  customFieldAttributes: string[];
1166
1150
  selectedUnsubscribePages: number[];
1167
1151
  forceRecreate: boolean;
1168
- trackIdCounter: number;
1169
1152
  migration: {
1170
1153
  recommendationConfigs: {
1171
1154
  [x: string]: {
@@ -1223,7 +1206,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1223
1206
  liquidSyntax: boolean;
1224
1207
  autosave: boolean;
1225
1208
  allowlistEnabled: boolean;
1226
- linkTrackingIds: boolean;
1227
1209
  };
1228
1210
  blocks: {
1229
1211
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1305,7 +1287,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1305
1287
  customFieldAttributes: string[];
1306
1288
  selectedUnsubscribePages: number[];
1307
1289
  forceRecreate: boolean;
1308
- trackIdCounter: number;
1309
1290
  migration: {
1310
1291
  recommendationConfigs: {
1311
1292
  [x: string]: {
@@ -1363,7 +1344,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1363
1344
  liquidSyntax: boolean;
1364
1345
  autosave: boolean;
1365
1346
  allowlistEnabled: boolean;
1366
- linkTrackingIds: boolean;
1367
1347
  };
1368
1348
  blocks: {
1369
1349
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1445,7 +1425,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1445
1425
  customFieldAttributes: string[];
1446
1426
  selectedUnsubscribePages: number[];
1447
1427
  forceRecreate: boolean;
1448
- trackIdCounter: number;
1449
1428
  migration: {
1450
1429
  recommendationConfigs: {
1451
1430
  [x: string]: {
@@ -1503,7 +1482,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1503
1482
  liquidSyntax: boolean;
1504
1483
  autosave: boolean;
1505
1484
  allowlistEnabled: boolean;
1506
- linkTrackingIds: boolean;
1507
1485
  };
1508
1486
  blocks: {
1509
1487
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1585,7 +1563,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1585
1563
  customFieldAttributes: string[];
1586
1564
  selectedUnsubscribePages: number[];
1587
1565
  forceRecreate: boolean;
1588
- trackIdCounter: number;
1589
1566
  migration: {
1590
1567
  recommendationConfigs: {
1591
1568
  [x: string]: {
@@ -1643,7 +1620,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1643
1620
  liquidSyntax: boolean;
1644
1621
  autosave: boolean;
1645
1622
  allowlistEnabled: boolean;
1646
- linkTrackingIds: boolean;
1647
1623
  };
1648
1624
  blocks: {
1649
1625
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1725,7 +1701,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1725
1701
  customFieldAttributes: string[];
1726
1702
  selectedUnsubscribePages: number[];
1727
1703
  forceRecreate: boolean;
1728
- trackIdCounter: number;
1729
1704
  migration: {
1730
1705
  recommendationConfigs: {
1731
1706
  [x: string]: {
@@ -1783,7 +1758,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1783
1758
  liquidSyntax: boolean;
1784
1759
  autosave: boolean;
1785
1760
  allowlistEnabled: boolean;
1786
- linkTrackingIds: boolean;
1787
1761
  };
1788
1762
  blocks: {
1789
1763
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -1865,7 +1839,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1865
1839
  customFieldAttributes: string[];
1866
1840
  selectedUnsubscribePages: number[];
1867
1841
  forceRecreate: boolean;
1868
- trackIdCounter: number;
1869
1842
  migration: {
1870
1843
  recommendationConfigs: {
1871
1844
  [x: string]: {
@@ -1923,7 +1896,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1923
1896
  liquidSyntax: boolean;
1924
1897
  autosave: boolean;
1925
1898
  allowlistEnabled: boolean;
1926
- linkTrackingIds: boolean;
1927
1899
  };
1928
1900
  blocks: {
1929
1901
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2005,7 +1977,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2005
1977
  customFieldAttributes: string[];
2006
1978
  selectedUnsubscribePages: number[];
2007
1979
  forceRecreate: boolean;
2008
- trackIdCounter: number;
2009
1980
  migration: {
2010
1981
  recommendationConfigs: {
2011
1982
  [x: string]: {
@@ -2063,7 +2034,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2063
2034
  liquidSyntax: boolean;
2064
2035
  autosave: boolean;
2065
2036
  allowlistEnabled: boolean;
2066
- linkTrackingIds: boolean;
2067
2037
  };
2068
2038
  blocks: {
2069
2039
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2145,7 +2115,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2145
2115
  customFieldAttributes: string[];
2146
2116
  selectedUnsubscribePages: number[];
2147
2117
  forceRecreate: boolean;
2148
- trackIdCounter: number;
2149
2118
  migration: {
2150
2119
  recommendationConfigs: {
2151
2120
  [x: string]: {
@@ -2203,7 +2172,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2203
2172
  liquidSyntax: boolean;
2204
2173
  autosave: boolean;
2205
2174
  allowlistEnabled: boolean;
2206
- linkTrackingIds: boolean;
2207
2175
  };
2208
2176
  blocks: {
2209
2177
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2285,7 +2253,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2285
2253
  customFieldAttributes: string[];
2286
2254
  selectedUnsubscribePages: number[];
2287
2255
  forceRecreate: boolean;
2288
- trackIdCounter: number;
2289
2256
  migration: {
2290
2257
  recommendationConfigs: {
2291
2258
  [x: string]: {
@@ -2343,7 +2310,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2343
2310
  liquidSyntax: boolean;
2344
2311
  autosave: boolean;
2345
2312
  allowlistEnabled: boolean;
2346
- linkTrackingIds: boolean;
2347
2313
  };
2348
2314
  blocks: {
2349
2315
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];
@@ -2427,7 +2393,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2427
2393
  customFieldAttributes: string[];
2428
2394
  selectedUnsubscribePages: number[];
2429
2395
  forceRecreate: boolean;
2430
- trackIdCounter: number;
2431
2396
  migration: {
2432
2397
  recommendationConfigs: {
2433
2398
  [x: string]: {
@@ -2485,7 +2450,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2485
2450
  liquidSyntax: boolean;
2486
2451
  autosave: boolean;
2487
2452
  allowlistEnabled: boolean;
2488
- linkTrackingIds: boolean;
2489
2453
  };
2490
2454
  blocks: {
2491
2455
  excludeDefaults: ("amp-accordion" | "amp-carousel" | "amp-form-controls" | "banner-block" | "button-block" | "html-block" | "image-block" | "menu-block" | "social-block" | "spacer-block" | "text-block" | "timer-block" | "video-block")[];