@useinsider/guido 2.0.0-beta.9b144a9 → 2.0.0-beta.ac3cd4d

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 (26) hide show
  1. package/dist/@types/config/schemas.js +52 -36
  2. package/dist/components/organisms/header/RightSlot.vue2.js +10 -10
  3. package/dist/composables/useConfig.js +29 -27
  4. package/dist/composables/useSave.js +13 -11
  5. package/dist/composables/useStripo.js +51 -50
  6. package/dist/extensions/Blocks/CouponBlock/constants.js +4 -0
  7. package/dist/extensions/Blocks/CouponBlock/controls/index.js +29 -0
  8. package/dist/extensions/Blocks/CouponBlock/extension.js +5 -4
  9. package/dist/extensions/Blocks/CouponBlock/settingsPanel.js +20 -14
  10. package/dist/extensions/Blocks/CouponBlock/template.js +22 -11
  11. package/dist/extensions/Blocks/Unsubscribe/extension.js +9 -9
  12. package/dist/extensions/Blocks/controlFactories.js +122 -111
  13. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +57 -52
  14. package/dist/src/@types/config/index.d.ts +2 -2
  15. package/dist/src/@types/config/schemas.d.ts +30 -0
  16. package/dist/src/@types/config/types.d.ts +7 -1
  17. package/dist/src/composables/useConfig.d.ts +8 -0
  18. package/dist/src/extensions/Blocks/CouponBlock/constants.d.ts +14 -0
  19. package/dist/src/extensions/Blocks/CouponBlock/controls/index.d.ts +108 -0
  20. package/dist/src/extensions/Blocks/CouponBlock/template.d.ts +1 -1
  21. package/dist/src/extensions/Blocks/controlFactories.d.ts +30 -7
  22. package/dist/src/stores/config.d.ts +163 -1
  23. package/dist/static/styles/components/button.css.js +1 -1
  24. package/dist/static/styles/components/narrow-panel.css.js +0 -10
  25. package/dist/stores/config.js +7 -0
  26. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { GuidoConfig, GuidoConfigInput, IdentityConfig, PartnerConfig, TemplateConfig, EditorConfig, UIConfig, FeaturesConfig, BlocksConfig, CompilerConfig } from '@@/Types/config';
1
+ import type { GuidoConfig, GuidoConfigInput, IdentityConfig, PartnerConfig, TemplateConfig, EditorConfig, UIConfig, FeaturesConfig, BlocksConfig, CompilerConfig, CallbacksConfig } from '@@/Types/config';
2
2
  interface ConfigStoreState {
3
3
  /** Whether the config has been initialized */
4
4
  initialized: boolean;
@@ -57,6 +57,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
57
57
  testMessage: boolean;
58
58
  displayConditions: boolean;
59
59
  unsubscribe: boolean;
60
+ modulesDisabled: boolean;
60
61
  };
61
62
  blocks: {
62
63
  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")[];
@@ -94,6 +95,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
94
95
  })[];
95
96
  ignoreDefaultRules: boolean;
96
97
  };
98
+ callbacks: {
99
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
100
+ };
97
101
  } | null;
98
102
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => IdentityConfig | null;
99
103
  /**
@@ -147,6 +151,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
147
151
  testMessage: boolean;
148
152
  displayConditions: boolean;
149
153
  unsubscribe: boolean;
154
+ modulesDisabled: boolean;
150
155
  };
151
156
  blocks: {
152
157
  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")[];
@@ -184,6 +189,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
184
189
  })[];
185
190
  ignoreDefaultRules: boolean;
186
191
  };
192
+ callbacks: {
193
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
194
+ };
187
195
  } | null;
188
196
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => PartnerConfig | null;
189
197
  /**
@@ -237,6 +245,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
237
245
  testMessage: boolean;
238
246
  displayConditions: boolean;
239
247
  unsubscribe: boolean;
248
+ modulesDisabled: boolean;
240
249
  };
241
250
  blocks: {
242
251
  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")[];
@@ -274,6 +283,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
274
283
  })[];
275
284
  ignoreDefaultRules: boolean;
276
285
  };
286
+ callbacks: {
287
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
288
+ };
277
289
  } | null;
278
290
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => TemplateConfig | null;
279
291
  /**
@@ -327,6 +339,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
327
339
  testMessage: boolean;
328
340
  displayConditions: boolean;
329
341
  unsubscribe: boolean;
342
+ modulesDisabled: boolean;
330
343
  };
331
344
  blocks: {
332
345
  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")[];
@@ -364,6 +377,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
364
377
  })[];
365
378
  ignoreDefaultRules: boolean;
366
379
  };
380
+ callbacks: {
381
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
382
+ };
367
383
  } | null;
368
384
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => EditorConfig | null;
369
385
  /**
@@ -417,6 +433,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
417
433
  testMessage: boolean;
418
434
  displayConditions: boolean;
419
435
  unsubscribe: boolean;
436
+ modulesDisabled: boolean;
420
437
  };
421
438
  blocks: {
422
439
  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")[];
@@ -454,6 +471,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
454
471
  })[];
455
472
  ignoreDefaultRules: boolean;
456
473
  };
474
+ callbacks: {
475
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
476
+ };
457
477
  } | null;
458
478
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => UIConfig | null;
459
479
  /**
@@ -507,6 +527,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
507
527
  testMessage: boolean;
508
528
  displayConditions: boolean;
509
529
  unsubscribe: boolean;
530
+ modulesDisabled: boolean;
510
531
  };
511
532
  blocks: {
512
533
  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")[];
@@ -544,6 +565,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
544
565
  })[];
545
566
  ignoreDefaultRules: boolean;
546
567
  };
568
+ callbacks: {
569
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
570
+ };
547
571
  } | null;
548
572
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => FeaturesConfig | null;
549
573
  /**
@@ -597,6 +621,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
597
621
  testMessage: boolean;
598
622
  displayConditions: boolean;
599
623
  unsubscribe: boolean;
624
+ modulesDisabled: boolean;
600
625
  };
601
626
  blocks: {
602
627
  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")[];
@@ -634,6 +659,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
634
659
  })[];
635
660
  ignoreDefaultRules: boolean;
636
661
  };
662
+ callbacks: {
663
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
664
+ };
637
665
  } | null;
638
666
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => BlocksConfig | null;
639
667
  /**
@@ -687,6 +715,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
687
715
  testMessage: boolean;
688
716
  displayConditions: boolean;
689
717
  unsubscribe: boolean;
718
+ modulesDisabled: boolean;
690
719
  };
691
720
  blocks: {
692
721
  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")[];
@@ -724,8 +753,105 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
724
753
  })[];
725
754
  ignoreDefaultRules: boolean;
726
755
  };
756
+ callbacks: {
757
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
758
+ };
727
759
  } | null;
728
760
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => CompilerConfig | null;
761
+ /**
762
+ * Get the callbacks configuration
763
+ */
764
+ callbacks: (state: {
765
+ initialized: boolean;
766
+ config: {
767
+ identity: {
768
+ templateId: string;
769
+ userId: string;
770
+ variationId?: string | undefined;
771
+ };
772
+ partner: {
773
+ name: string;
774
+ productType: 60 | 49 | 97;
775
+ messageType: 1 | 2;
776
+ username: string;
777
+ };
778
+ template: {
779
+ html: string;
780
+ css: string;
781
+ preselectedDynamicContent: {
782
+ text: string;
783
+ value: string;
784
+ fallback?: string | undefined;
785
+ format?: {
786
+ key: string;
787
+ value: string;
788
+ } | undefined;
789
+ }[];
790
+ selectedUnsubscribePages: number[];
791
+ };
792
+ editor: {
793
+ locale: string;
794
+ translationsPath: string;
795
+ migrationDate: number;
796
+ emailHeader: {
797
+ senderName: string;
798
+ subject: string;
799
+ };
800
+ };
801
+ ui: {
802
+ showHeader: boolean;
803
+ backButtonLabel?: string | undefined;
804
+ };
805
+ features: {
806
+ dynamicContent: boolean;
807
+ saveAsTemplate: boolean;
808
+ versionHistory: boolean;
809
+ testMessage: boolean;
810
+ displayConditions: boolean;
811
+ unsubscribe: boolean;
812
+ modulesDisabled: boolean;
813
+ };
814
+ blocks: {
815
+ 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")[];
816
+ includeCustoms: ("dynamic-content" | "checkbox-block" | "radio-button-block" | "recommendation-block" | "unsubscribe-block" | "coupon-block" | "items-block")[];
817
+ };
818
+ compiler: {
819
+ customRules: ({
820
+ type: "replace";
821
+ search: string;
822
+ replacement: string;
823
+ replaceAll?: boolean | undefined;
824
+ id: string;
825
+ description?: string | undefined;
826
+ priority: number;
827
+ } | {
828
+ type: "regex";
829
+ pattern: string;
830
+ replacement: string;
831
+ flags?: string | undefined;
832
+ id: string;
833
+ description?: string | undefined;
834
+ priority: number;
835
+ } | {
836
+ type: "remove";
837
+ targets: string[];
838
+ id: string;
839
+ description?: string | undefined;
840
+ priority: number;
841
+ } | {
842
+ type: "custom";
843
+ processor: (html: string) => string;
844
+ id: string;
845
+ description?: string | undefined;
846
+ priority: number;
847
+ })[];
848
+ ignoreDefaultRules: boolean;
849
+ };
850
+ callbacks: {
851
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
852
+ };
853
+ } | null;
854
+ } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => CallbacksConfig | null;
729
855
  /**
730
856
  * Get the template ID
731
857
  */
@@ -777,6 +903,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
777
903
  testMessage: boolean;
778
904
  displayConditions: boolean;
779
905
  unsubscribe: boolean;
906
+ modulesDisabled: boolean;
780
907
  };
781
908
  blocks: {
782
909
  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")[];
@@ -814,6 +941,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
814
941
  })[];
815
942
  ignoreDefaultRules: boolean;
816
943
  };
944
+ callbacks: {
945
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
946
+ };
817
947
  } | null;
818
948
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => string;
819
949
  /**
@@ -867,6 +997,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
867
997
  testMessage: boolean;
868
998
  displayConditions: boolean;
869
999
  unsubscribe: boolean;
1000
+ modulesDisabled: boolean;
870
1001
  };
871
1002
  blocks: {
872
1003
  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")[];
@@ -904,6 +1035,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
904
1035
  })[];
905
1036
  ignoreDefaultRules: boolean;
906
1037
  };
1038
+ callbacks: {
1039
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1040
+ };
907
1041
  } | null;
908
1042
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => string;
909
1043
  /**
@@ -957,6 +1091,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
957
1091
  testMessage: boolean;
958
1092
  displayConditions: boolean;
959
1093
  unsubscribe: boolean;
1094
+ modulesDisabled: boolean;
960
1095
  };
961
1096
  blocks: {
962
1097
  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")[];
@@ -994,6 +1129,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
994
1129
  })[];
995
1130
  ignoreDefaultRules: boolean;
996
1131
  };
1132
+ callbacks: {
1133
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1134
+ };
997
1135
  } | null;
998
1136
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => string;
999
1137
  /**
@@ -1047,6 +1185,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1047
1185
  testMessage: boolean;
1048
1186
  displayConditions: boolean;
1049
1187
  unsubscribe: boolean;
1188
+ modulesDisabled: boolean;
1050
1189
  };
1051
1190
  blocks: {
1052
1191
  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")[];
@@ -1084,6 +1223,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1084
1223
  })[];
1085
1224
  ignoreDefaultRules: boolean;
1086
1225
  };
1226
+ callbacks: {
1227
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1228
+ };
1087
1229
  } | null;
1088
1230
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => string;
1089
1231
  /**
@@ -1137,6 +1279,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1137
1279
  testMessage: boolean;
1138
1280
  displayConditions: boolean;
1139
1281
  unsubscribe: boolean;
1282
+ modulesDisabled: boolean;
1140
1283
  };
1141
1284
  blocks: {
1142
1285
  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")[];
@@ -1174,6 +1317,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1174
1317
  })[];
1175
1318
  ignoreDefaultRules: boolean;
1176
1319
  };
1320
+ callbacks: {
1321
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1322
+ };
1177
1323
  } | null;
1178
1324
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => number;
1179
1325
  /**
@@ -1227,6 +1373,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1227
1373
  testMessage: boolean;
1228
1374
  displayConditions: boolean;
1229
1375
  unsubscribe: boolean;
1376
+ modulesDisabled: boolean;
1230
1377
  };
1231
1378
  blocks: {
1232
1379
  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")[];
@@ -1264,6 +1411,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1264
1411
  })[];
1265
1412
  ignoreDefaultRules: boolean;
1266
1413
  };
1414
+ callbacks: {
1415
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1416
+ };
1267
1417
  } | null;
1268
1418
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => number;
1269
1419
  /**
@@ -1317,6 +1467,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1317
1467
  testMessage: boolean;
1318
1468
  displayConditions: boolean;
1319
1469
  unsubscribe: boolean;
1470
+ modulesDisabled: boolean;
1320
1471
  };
1321
1472
  blocks: {
1322
1473
  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")[];
@@ -1354,6 +1505,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1354
1505
  })[];
1355
1506
  ignoreDefaultRules: boolean;
1356
1507
  };
1508
+ callbacks: {
1509
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1510
+ };
1357
1511
  } | null;
1358
1512
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => string;
1359
1513
  /**
@@ -1407,6 +1561,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1407
1561
  testMessage: boolean;
1408
1562
  displayConditions: boolean;
1409
1563
  unsubscribe: boolean;
1564
+ modulesDisabled: boolean;
1410
1565
  };
1411
1566
  blocks: {
1412
1567
  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")[];
@@ -1444,6 +1599,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1444
1599
  })[];
1445
1600
  ignoreDefaultRules: boolean;
1446
1601
  };
1602
+ callbacks: {
1603
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1604
+ };
1447
1605
  } | null;
1448
1606
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => boolean;
1449
1607
  /**
@@ -1497,6 +1655,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1497
1655
  testMessage: boolean;
1498
1656
  displayConditions: boolean;
1499
1657
  unsubscribe: boolean;
1658
+ modulesDisabled: boolean;
1500
1659
  };
1501
1660
  blocks: {
1502
1661
  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")[];
@@ -1534,6 +1693,9 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1534
1693
  })[];
1535
1694
  ignoreDefaultRules: boolean;
1536
1695
  };
1696
+ callbacks: {
1697
+ externalValidation?: import("@@/Types/config").ExternalValidationHandler | undefined;
1698
+ };
1537
1699
  } | null;
1538
1700
  } & import("pinia").PiniaCustomStateProperties<ConfigStoreState>) => (feature: keyof FeaturesConfig) => boolean;
1539
1701
  }, {
@@ -48,7 +48,7 @@ const o = `.control-shadow-wrapper:has(.button) {
48
48
  }
49
49
 
50
50
  .e2e-text-insert-controls .control-shadow-wrapper:not(:last-of-type) {
51
- margin-right: 16px;
51
+ margin-right: 6px;
52
52
  }
53
53
 
54
54
  .flat-white > .button {
@@ -32,16 +32,6 @@ ue-stripe-thumb:hover:not(.disabled),
32
32
  padding: 0 16px 16px;
33
33
  grid-row-gap: 16px;
34
34
  }
35
-
36
- /* TODO: will be removed after we find another way to hide stripo custom modules */
37
- #moduleTab_tab1,
38
- button[aria-label="Default Modules"],
39
- button[aria-controls="moduleTab_tab1_content"],
40
- #moduleTab_tab2,
41
- button[aria-label="Pre-Built AMP"],
42
- button[aria-controls="moduleTab_tab2_content"] {
43
- display: none !important;
44
- }
45
35
  `;
46
36
  export {
47
37
  o as default
@@ -64,6 +64,13 @@ const s = o("guido-config", {
64
64
  var e;
65
65
  return ((e = i.config) == null ? void 0 : e.compiler) ?? null;
66
66
  },
67
+ /**
68
+ * Get the callbacks configuration
69
+ */
70
+ callbacks: (i) => {
71
+ var e;
72
+ return ((e = i.config) == null ? void 0 : e.callbacks) ?? null;
73
+ },
67
74
  /**
68
75
  * Get the template ID
69
76
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "2.0.0-beta.9b144a9",
3
+ "version": "2.0.0-beta.ac3cd4d",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",