@useinsider/guido 2.0.0-beta.cf2fe38 → 2.0.0-beta.dd0d492

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,9 +1,8 @@
1
1
  import { ExtensionBuilder as o } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
2
  import { CouponBlock as t } from "./block.js";
3
- import { TextAlignControl as n, TextColorControl as r, TextSizeControl as l, TextStyleControl as d, TextFontFamilyControl as e, TextBackgroundControl as i, TextPaddingsControl as C, TextLineSpacingControl as a } from "./controls/index.js";
4
- import { CouponIconsRegistry as s } from "./iconsRegistry.js";
5
- import { CouponBlockSettings as m } from "./settingsPanel.js";
6
- const u = new o().addBlock(t).withSettingsPanelRegistry(m).addControl(n).addControl(r).addControl(l).addControl(d).addControl(e).addControl(i).addControl(C).addControl(a).withIconsRegistry(s).build();
3
+ import { CouponIconsRegistry as i } from "./iconsRegistry.js";
4
+ import { CouponBlockSettings as n } from "./settingsPanel.js";
5
+ const p = new o().addBlock(t).withSettingsPanelRegistry(n).withIconsRegistry(i).build();
7
6
  export {
8
- u as default
7
+ p as default
9
8
  };
@@ -1,30 +1,24 @@
1
- import { SettingsPanelRegistry as n, SettingsPanelTab as o, SettingsTab as t } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { COUPON_BLOCK_ID as E } from "./block.js";
3
- import { CouponControlId as T } from "./constants.js";
4
- class i extends n {
1
+ import { SettingsPanelRegistry as T, SettingsPanelTab as o, SettingsTab as O, TextControls as t } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
+ import { COUPON_BLOCK_ID as N } from "./block.js";
3
+ class _ extends T {
5
4
  registerBlockControls(e) {
6
- e[E] = [
5
+ e[N] = [
7
6
  new o(
8
- t.SETTINGS,
7
+ O.SETTINGS,
9
8
  [
10
- T.TEXT_STYLE,
11
- T.TEXT_ALIGN,
12
- T.TEXT_PADDINGS
13
- ]
14
- ),
15
- new o(
16
- t.STYLES,
17
- [
18
- T.TEXT_BACKGROUND,
19
- T.TEXT_FONT_FAMILY,
20
- T.TEXT_LINE_SPACING,
21
- T.TEXT_SIZE,
22
- T.TEXT_COLOR
9
+ t.FONT_FAMILY,
10
+ t.FONT_SIZE,
11
+ t.FORMAT,
12
+ t.FONT_COLOR,
13
+ t.TEXT_BLOCK_BACKGROUND_COLOR,
14
+ t.ALIGN,
15
+ t.LINE_HEIGHT,
16
+ t.INTERNAL_INDENTS
23
17
  ]
24
18
  )
25
19
  ];
26
20
  }
27
21
  }
28
22
  export {
29
- i as CouponBlockSettings
23
+ _ as CouponBlockSettings
30
24
  };
@@ -1,29 +1,18 @@
1
- import { BlockType as o } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { COUPON_BLOCK_ID as e } from "./block.js";
3
- const t = `
4
- <${o.BLOCK_TEXT}
5
- class="coupon-block ins-coupon-code coupon-block-v2 es-p10"
6
- align="center"
7
- esd-extension-block-id="${e}">
8
- <p
9
- path="1"
10
- contenteditable="false"
11
- style="font-size: 16px; color: #333333;">
12
- <strong path="1,0">{@COUPON_CODE}</strong>
13
- </p>
14
- </${o.BLOCK_TEXT}>
15
- `, l = `
16
- <td
17
- class="coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block"
18
- esd-extension-block-id="${e}"
1
+ const o = `
2
+ <td class="coupon-block ins-coupon-code esd-block-text coupon-block-v2">
3
+ <p class="ins-title" contenteditable="false">{@COUPON_CODE}</p>
4
+ </td>`, e = `
5
+ <td
6
+ class="coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block"
7
+ esd-extension-block-id="coupon-block"
19
8
  >
20
9
  <p class="ins-title" contenteditable="false">{@COUPON_CODE}</p>
21
10
  </td>
22
11
  `;
23
- function s() {
24
- return t;
12
+ function t() {
13
+ return o;
25
14
  }
26
15
  export {
27
- l as default,
28
- s as getDefaultTemplate
16
+ e as default,
17
+ t as getDefaultTemplate
29
18
  };
@@ -1,234 +1,223 @@
1
- import { TextAlignBuiltInControl as o, TextColorBuiltInControl as l, TextSizeBuiltInControl as s, TextStyleBuiltInControl as u, TextFontFamilyBuiltInControl as i, ButtonBackgroundColorBuiltInControl as c, TextPaddingsBuiltInControl as d, ImageSizeBuiltInControl as a, ImageMarginsBuiltInControl as g, ButtonAlignBuiltInControl as x, ButtonBorderBuiltInControl as C, ButtonBorderRadiusBuiltInControl as B, ButtonColorBuiltInControl as T, ButtonFontFamilyBuiltInControl as I, ButtonMarginsBuiltInControl as f, ButtonPaddingsBuiltInControl as m, ButtonTextBuiltInControl as y, ButtonTextSizeBuiltInControl as A, ButtonTextStyleAndFontColorBuiltInControl as S, ButtonFitToContainerBuiltInControl as N, TextLineSpacingBuiltInControl as b } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- function $(r, t, n) {
3
- return class extends o {
1
+ import { TextAlignBuiltInControl as r, TextColorBuiltInControl as l, TextSizeBuiltInControl as s, TextStyleBuiltInControl as c, TextFontFamilyBuiltInControl as u, ButtonBackgroundColorBuiltInControl as i, TextPaddingsBuiltInControl as d, ImageSizeBuiltInControl as a, ImageMarginsBuiltInControl as g, ButtonAlignBuiltInControl as x, ButtonBorderBuiltInControl as C, ButtonBorderRadiusBuiltInControl as B, ButtonColorBuiltInControl as I, ButtonFontFamilyBuiltInControl as m, ButtonMarginsBuiltInControl as T, ButtonPaddingsBuiltInControl as S, ButtonTextBuiltInControl as y, ButtonTextSizeBuiltInControl as A, ButtonTextStyleAndFontColorBuiltInControl as k, ButtonFitToContainerBuiltInControl as f } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
+ function q(e, t, n) {
3
+ return class extends r {
4
4
  getId() {
5
- return r;
5
+ return e;
6
6
  }
7
- getTargetNodes(e) {
8
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
7
+ getTargetNodes(o) {
8
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
9
9
  }
10
10
  };
11
11
  }
12
- function k(r, t, n) {
12
+ function N(e, t, n = ".ins-recommendation-product-container") {
13
13
  return class extends l {
14
14
  getId() {
15
- return r;
15
+ return e;
16
16
  }
17
- getTargetNodes(e) {
18
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
17
+ getTargetNodes(o) {
18
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
19
19
  }
20
20
  };
21
21
  }
22
- function p(r, t, n) {
22
+ function $(e, t, n = ".ins-recommendation-product-container") {
23
23
  return class extends s {
24
24
  getId() {
25
- return r;
25
+ return e;
26
26
  }
27
- getTargetNodes(e) {
28
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
27
+ getTargetNodes(o) {
28
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
29
29
  }
30
30
  };
31
31
  }
32
- function F(r, t, n) {
33
- return class extends u {
32
+ function p(e, t, n = ".ins-recommendation-product-container") {
33
+ return class extends c {
34
34
  getId() {
35
- return r;
35
+ return e;
36
36
  }
37
- getTargetNodes(e) {
38
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
37
+ getTargetNodes(o) {
38
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
39
39
  }
40
40
  };
41
41
  }
42
- function z(r, t, n) {
43
- return class extends i {
42
+ function F(e, t, n = ".ins-recommendation-product-container") {
43
+ return class extends u {
44
44
  getId() {
45
- return r;
45
+ return e;
46
46
  }
47
- getTargetNodes(e) {
48
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
47
+ getTargetNodes(o) {
48
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
49
49
  }
50
50
  };
51
51
  }
52
- function M(r, t, n) {
53
- return class extends c {
52
+ function z(e, t, n = ".ins-recommendation-product-container") {
53
+ return class extends i {
54
54
  getId() {
55
- return r;
55
+ return e;
56
56
  }
57
- getTargetNodes(e) {
58
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
57
+ getTargetNodes(o) {
58
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
59
59
  }
60
60
  };
61
61
  }
62
- function P(r, t, n) {
62
+ function M(e, t, n = ".ins-recommendation-product-container") {
63
63
  return class extends d {
64
64
  getId() {
65
- return r;
66
- }
67
- getTargetNodes(e) {
68
- return !t || !n ? [e] : e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
69
- }
70
- };
71
- }
72
- function L(r, t, n) {
73
- return class extends b {
74
- getId() {
75
- return r;
65
+ return e;
76
66
  }
77
- getTargetNodes(e) {
78
- return [e];
67
+ getTargetNodes(o) {
68
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
79
69
  }
80
70
  };
81
71
  }
82
- function R(r, t, n = ".ins-recommendation-product-container") {
72
+ function P(e, t, n = ".ins-recommendation-product-container") {
83
73
  return class extends x {
84
74
  getId() {
85
- return r;
75
+ return e;
86
76
  }
87
- getTargetNodes(e) {
88
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
77
+ getTargetNodes(o) {
78
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
89
79
  }
90
80
  };
91
81
  }
92
- function h(r, t, n = ".ins-recommendation-product-container") {
93
- return class extends T {
82
+ function R(e, t, n = ".ins-recommendation-product-container") {
83
+ return class extends I {
94
84
  getId() {
95
- return r;
85
+ return e;
96
86
  }
97
- getTargetNodes(e) {
98
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
87
+ getTargetNodes(o) {
88
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
99
89
  }
100
90
  };
101
91
  }
102
- function j(r, t, n = ".ins-recommendation-product-container") {
92
+ function h(e, t, n = ".ins-recommendation-product-container") {
103
93
  return class extends C {
104
94
  getId() {
105
- return r;
95
+ return e;
106
96
  }
107
- getTargetNodes(e) {
108
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
97
+ getTargetNodes(o) {
98
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
109
99
  }
110
100
  };
111
101
  }
112
- function v(r, t, n = ".ins-recommendation-product-container") {
102
+ function j(e, t, n = ".ins-recommendation-product-container") {
113
103
  return class extends B {
114
104
  getId() {
115
- return r;
105
+ return e;
116
106
  }
117
- getTargetNodes(e) {
118
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
107
+ getTargetNodes(o) {
108
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
119
109
  }
120
110
  };
121
111
  }
122
- function w(r, t, n = ".ins-recommendation-product-container") {
123
- return class extends I {
112
+ function v(e, t, n = ".ins-recommendation-product-container") {
113
+ return class extends m {
124
114
  getId() {
125
- return r;
115
+ return e;
126
116
  }
127
- getTargetNodes(e) {
128
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
117
+ getTargetNodes(o) {
118
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
129
119
  }
130
120
  };
131
121
  }
132
- function D(r, t, n = ".ins-recommendation-product-container") {
133
- return class extends f {
122
+ function w(e, t, n = ".ins-recommendation-product-container") {
123
+ return class extends T {
134
124
  getId() {
135
- return r;
125
+ return e;
136
126
  }
137
- getTargetNodes(e) {
138
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
127
+ getTargetNodes(o) {
128
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
139
129
  }
140
130
  };
141
131
  }
142
- function E(r, t, n = ".ins-recommendation-product-container") {
143
- return class extends m {
132
+ function D(e, t, n = ".ins-recommendation-product-container") {
133
+ return class extends S {
144
134
  getId() {
145
- return r;
135
+ return e;
146
136
  }
147
- getTargetNodes(e) {
148
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
137
+ getTargetNodes(o) {
138
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
149
139
  }
150
140
  };
151
141
  }
152
- function G(r, t, n = ".ins-recommendation-product-container") {
142
+ function E(e, t, n = ".ins-recommendation-product-container") {
153
143
  return class extends y {
154
144
  getId() {
155
- return r;
145
+ return e;
156
146
  }
157
- getTargetNodes(e) {
158
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
147
+ getTargetNodes(o) {
148
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
159
149
  }
160
150
  };
161
151
  }
162
- function H(r, t, n = ".ins-recommendation-product-container") {
152
+ function G(e, t, n = ".ins-recommendation-product-container") {
163
153
  return class extends A {
164
154
  getId() {
165
- return r;
155
+ return e;
166
156
  }
167
- getTargetNodes(e) {
168
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
157
+ getTargetNodes(o) {
158
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
169
159
  }
170
160
  };
171
161
  }
172
- function J(r, t, n) {
173
- return class extends S {
162
+ function H(e, t, n) {
163
+ return class extends k {
174
164
  getId() {
175
- return r;
165
+ return e;
176
166
  }
177
- getTargetNodes(e) {
178
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
167
+ getTargetNodes(o) {
168
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
179
169
  }
180
170
  };
181
171
  }
182
- function K(r, t, n) {
183
- return class extends N {
172
+ function J(e, t, n) {
173
+ return class extends f {
184
174
  getId() {
185
- return r;
175
+ return e;
186
176
  }
187
- getTargetNodes(e) {
188
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
177
+ getTargetNodes(o) {
178
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
189
179
  }
190
180
  };
191
181
  }
192
- function O(r, t, n) {
182
+ function K(e, t, n) {
193
183
  return class extends a {
194
184
  getId() {
195
- return r;
185
+ return e;
196
186
  }
197
- getTargetNodes(e) {
198
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
187
+ getTargetNodes(o) {
188
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
199
189
  }
200
190
  };
201
191
  }
202
- function Q(r, t, n) {
192
+ function L(e, t, n) {
203
193
  return class extends g {
204
194
  getId() {
205
- return r;
195
+ return e;
206
196
  }
207
- getTargetNodes(e) {
208
- return e.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
197
+ getTargetNodes(o) {
198
+ return o.closest(n).querySelectorAll(`[esd-extension-block-id="${t}"]`);
209
199
  }
210
200
  };
211
201
  }
212
202
  export {
213
- R as createButtonAlignControl,
214
- j as createButtonBorderControl,
215
- v as createButtonBorderRadiusControl,
216
- h as createButtonColorControl,
217
- K as createButtonFitToContainerControl,
218
- w as createButtonFontFamilyControl,
219
- D as createButtonMarginsControl,
220
- E as createButtonPaddingsControl,
221
- G as createButtonTextControl,
222
- H as createButtonTextSizeControl,
223
- J as createButtonTextStyleAndFontColorControl,
224
- Q as createImageMarginsControl,
225
- O as createImageSizeControl,
226
- P as createPaddingsControl,
227
- $ as createTextAlignControl,
228
- M as createTextBackgroundColorControl,
229
- k as createTextColorControl,
230
- z as createTextFontFamilyControl,
231
- L as createTextLineSpacingControl,
232
- p as createTextSizeControl,
233
- F as createTextStyleControl
203
+ P as createButtonAlignControl,
204
+ h as createButtonBorderControl,
205
+ j as createButtonBorderRadiusControl,
206
+ R as createButtonColorControl,
207
+ J as createButtonFitToContainerControl,
208
+ v as createButtonFontFamilyControl,
209
+ w as createButtonMarginsControl,
210
+ D as createButtonPaddingsControl,
211
+ E as createButtonTextControl,
212
+ G as createButtonTextSizeControl,
213
+ H as createButtonTextStyleAndFontColorControl,
214
+ L as createImageMarginsControl,
215
+ K as createImageSizeControl,
216
+ M as createPaddingsControl,
217
+ q as createTextAlignControl,
218
+ z as createTextBackgroundColorControl,
219
+ N as createTextColorControl,
220
+ F as createTextFontFamilyControl,
221
+ $ as createTextSizeControl,
222
+ p as createTextStyleControl
234
223
  };
@@ -23,12 +23,12 @@ ${s.map((E) => ` - ${E}`).join(`
23
23
  validateImplementation(e, r) {
24
24
  var I;
25
25
  const s = [], E = r.name, T = Object.getPrototypeOf(this);
26
- e.forEach((d) => {
27
- if (typeof this[d] != "function") {
28
- s.push(`Method ${d}() is not defined`);
26
+ e.forEach((l) => {
27
+ if (typeof this[l] != "function") {
28
+ s.push(`Method ${l}() is not defined`);
29
29
  return;
30
30
  }
31
- T[d] === r.prototype[d] && s.push(`Method ${d}() must be implemented (currently using base class error-throwing implementation)`);
31
+ T[l] === r.prototype[l] && s.push(`Method ${l}() must be implemented (currently using base class error-throwing implementation)`);
32
32
  }), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((I = process.env) == null ? void 0 : I.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
33
33
  }
34
34
  };
@@ -254,10 +254,10 @@ var st = {
254
254
  ...o,
255
255
  caption: "caption",
256
256
  icon: "icon"
257
- }, gt = {
257
+ }, mt = {
258
258
  ...o,
259
259
  caption: "caption"
260
- }, mt = {
260
+ }, gt = {
261
261
  ...o,
262
262
  minValue: "min-value",
263
263
  maxValue: "max-value",
@@ -265,7 +265,7 @@ var st = {
265
265
  }, bt = {
266
266
  ...o,
267
267
  text: "text"
268
- }, Nt = {
268
+ }, At = {
269
269
  ...o
270
270
  }, X = {
271
271
  ...o,
@@ -273,7 +273,7 @@ var st = {
273
273
  multiSelect: "multi-select",
274
274
  placeholder: "placeholder",
275
275
  items: "items"
276
- }, At = {
276
+ }, Nt = {
277
277
  ...X
278
278
  }, Dt = {
279
279
  text: "text",
@@ -292,15 +292,15 @@ var st = {
292
292
  position: "position"
293
293
  }, vt = {
294
294
  ...o
295
- }, Gt = {
295
+ }, Vt = {
296
296
  BUTTON: Ct,
297
- CHECKBOX: gt,
297
+ CHECKBOX: mt,
298
298
  COLOR: o,
299
- COUNTER: mt,
299
+ COUNTER: gt,
300
300
  LABEL: bt,
301
- RADIO_BUTTONS: Nt,
301
+ RADIO_BUTTONS: At,
302
302
  SELECTPICKER: X,
303
- FONT_FAMILY_SELECT: At,
303
+ FONT_FAMILY_SELECT: Nt,
304
304
  SWITCHER: o,
305
305
  TEXT: Bt,
306
306
  SELECT_ITEM: Dt,
@@ -344,7 +344,7 @@ var st = {
344
344
  const e = t.querySelectorAll(O.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
345
345
  return e.length ? e : r;
346
346
  }
347
- }, Vt = class extends i {
347
+ }, Gt = class extends i {
348
348
  getParentControlId() {
349
349
  return n.BLOCK_BUTTON.BORDER_RADIUS;
350
350
  }
@@ -454,20 +454,20 @@ var st = {
454
454
  }
455
455
  };
456
456
  k.REQUIRED_METHODS = ["getId", "getTemplate"];
457
- var ee = k, G = class extends x {
457
+ var ee = k, V = class extends x {
458
458
  getTargetNodes(t) {
459
459
  const e = t.querySelectorAll(O.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
460
460
  return e.length ? e : r;
461
461
  }
462
- }, re = class extends G {
462
+ }, re = class extends V {
463
463
  getParentControlId() {
464
464
  return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
465
465
  }
466
- }, ne = class extends G {
466
+ }, ne = class extends V {
467
467
  getParentControlId() {
468
468
  return n.BLOCK_IMAGE.SIZE;
469
469
  }
470
- }, V = class L extends a {
470
+ }, G = class L extends a {
471
471
  constructor() {
472
472
  super(L.REQUIRED_METHODS, L);
473
473
  }
@@ -475,8 +475,8 @@ var ee = k, G = class extends x {
475
475
  throw new Error("Method registerBlockControls() must be implemented by the subclass");
476
476
  }
477
477
  };
478
- V.REQUIRED_METHODS = ["registerBlockControls"];
479
- var se = V, ae = class {
478
+ G.REQUIRED_METHODS = ["registerBlockControls"];
479
+ var se = G, ae = class {
480
480
  constructor(t, e) {
481
481
  this.tabId = t, this.controlsIds = e;
482
482
  }
@@ -499,46 +499,42 @@ var se = V, ae = class {
499
499
  const e = this.controlsIds.indexOf(t);
500
500
  e !== -1 && this.controlsIds.splice(e, 1);
501
501
  }
502
- }, l = class extends x {
502
+ }, d = class extends x {
503
503
  getTargetNodes(t) {
504
504
  const e = t.querySelectorAll(O.TEXT), r = t.asElement().hasClass(p) ? [t] : [];
505
505
  return e.length ? e : r;
506
506
  }
507
- }, ie = class extends l {
507
+ }, ie = class extends d {
508
508
  getParentControlId() {
509
509
  return n.GENERAL.TEXT_ALIGN;
510
510
  }
511
- }, oe = class extends l {
511
+ }, oe = class extends d {
512
512
  getParentControlId() {
513
513
  return n.BLOCK_TEXT.TEXT_BLOCK_BACKGROUND_COLOR;
514
514
  }
515
- }, Ee = class extends l {
515
+ }, Ee = class extends d {
516
516
  getParentControlId() {
517
517
  return n.GENERAL.TEXT_COLOR;
518
518
  }
519
- }, le = class extends l {
519
+ }, le = class extends d {
520
520
  getParentControlId() {
521
521
  return n.BLOCK_TEXT.FONT_FAMILY;
522
522
  }
523
- }, de = class extends l {
524
- getParentControlId() {
525
- return n.GENERAL.TEXT_LINE_SPACING;
526
- }
527
- }, ue = class extends l {
523
+ }, de = class extends d {
528
524
  getParentControlId() {
529
525
  return n.BLOCK_TEXT.INTERNAL_INDENTS;
530
526
  }
531
- }, Ie = class extends l {
527
+ }, ue = class extends d {
532
528
  getParentControlId() {
533
529
  return n.GENERAL.TEXT_SIZE;
534
530
  }
535
- }, Oe = class extends l {
531
+ }, Ie = class extends d {
536
532
  getParentControlId() {
537
533
  return n.GENERAL.TEXT_STYLE;
538
534
  }
539
535
  }, Ut = class {
540
- constructor(t, e, r = [], s, E = [], T, I = [], d = [], v, $, W, z, Z, j, q, J, tt) {
541
- this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = W, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = I, this.blocks = d, this.externalSmartElementsLibrary = v, this.externalImageLibrary = $, this.externalImageLibraryTab = tt, this.externalAiAssistant = z, this.externalDisplayConditionsLibrary = Z, this.externalVideoLibrary = j, this.blocksPanel = q, this.iconsRegistry = J, this.id = Math.random().toString(36).substring(2);
536
+ constructor(t, e, r = [], s, E = [], T, I = [], l = [], v, $, W, z, Z, j, q, J, tt) {
537
+ this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = W, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = I, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = $, this.externalImageLibraryTab = tt, this.externalAiAssistant = z, this.externalDisplayConditionsLibrary = Z, this.externalVideoLibrary = j, this.blocksPanel = q, this.iconsRegistry = J, this.id = Math.random().toString(36).substring(2);
542
538
  }
543
539
  getI18n() {
544
540
  return this.i18n;
@@ -594,7 +590,7 @@ var se = V, ae = class {
594
590
  getIconsRegistry() {
595
591
  return this.iconsRegistry;
596
592
  }
597
- }, Te = class {
593
+ }, Oe = class {
598
594
  constructor() {
599
595
  this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
600
596
  }
@@ -689,9 +685,9 @@ var se = V, ae = class {
689
685
  }
690
686
  };
691
687
  pt.REQUIRED_METHODS = ["openAiAssistant"];
692
- var Kt = class g extends a {
688
+ var Kt = class m extends a {
693
689
  constructor() {
694
- super(g.REQUIRED_METHODS, g);
690
+ super(m.REQUIRED_METHODS, m);
695
691
  }
696
692
  /**
697
693
  * Retrieves the name of the category.
@@ -730,9 +726,9 @@ var Kt = class g extends a {
730
726
  }
731
727
  };
732
728
  Kt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
733
- var Ft = class m extends a {
729
+ var Ft = class g extends a {
734
730
  constructor() {
735
- super(m.REQUIRED_METHODS, m);
731
+ super(g.REQUIRED_METHODS, g);
736
732
  }
737
733
  openImageLibrary(e, r, s) {
738
734
  throw new Error("Method openImageLibrary() must be implemented by the subclass");
@@ -760,18 +756,18 @@ var wt = class b extends a {
760
756
  }
761
757
  };
762
758
  wt.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
763
- var Pt = class N extends a {
759
+ var Pt = class A extends a {
764
760
  constructor() {
765
- super(N.REQUIRED_METHODS, N);
761
+ super(A.REQUIRED_METHODS, A);
766
762
  }
767
763
  openSmartElementsLibrary(e, r) {
768
764
  throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
769
765
  }
770
766
  };
771
767
  Pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
772
- var Ht = class A extends a {
768
+ var Ht = class N extends a {
773
769
  constructor() {
774
- super(A.REQUIRED_METHODS, A);
770
+ super(N.REQUIRED_METHODS, N);
775
771
  }
776
772
  openExternalVideosLibraryDialog(e, r, s) {
777
773
  throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
@@ -787,7 +783,7 @@ var Q = class D extends a {
787
783
  }
788
784
  };
789
785
  Q.REQUIRED_METHODS = ["registerIconsSvg"];
790
- var ce = Q, _e = class {
786
+ var Te = Q, ce = class {
791
787
  constructor(t) {
792
788
  this.key = t;
793
789
  }
@@ -856,7 +852,7 @@ var ce = Q, _e = class {
856
852
  }
857
853
  };
858
854
  f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
859
- var he = f, Y = class B extends a {
855
+ var _e = f, Y = class B extends a {
860
856
  constructor() {
861
857
  super(B.REQUIRED_METHODS, B);
862
858
  }
@@ -865,7 +861,7 @@ var he = f, Y = class B extends a {
865
861
  }
866
862
  };
867
863
  Y.REQUIRED_METHODS = ["registerUiElements"];
868
- var Re = Y;
864
+ var he = Y;
869
865
  export {
870
866
  Xt as Block,
871
867
  kt as BlockAttr,
@@ -877,7 +873,7 @@ export {
877
873
  Qt as ButtonAlignBuiltInControl,
878
874
  ft as ButtonBackgroundColorBuiltInControl,
879
875
  Yt as ButtonBorderBuiltInControl,
880
- Vt as ButtonBorderRadiusBuiltInControl,
876
+ Gt as ButtonBorderRadiusBuiltInControl,
881
877
  $t as ButtonColorBuiltInControl,
882
878
  w as ButtonControls,
883
879
  Wt as ButtonFitToContainerBuiltInControl,
@@ -890,13 +886,13 @@ export {
890
886
  Rt as ContainerControls,
891
887
  ee as Control,
892
888
  Ut as Extension,
893
- Te as ExtensionBuilder,
889
+ Oe as ExtensionBuilder,
894
890
  F as GeneralControls,
895
- ce as IconsRegistry,
891
+ Te as IconsRegistry,
896
892
  H as ImageControls,
897
893
  re as ImageMarginsBuiltInControl,
898
894
  ne as ImageSizeBuiltInControl,
899
- _e as ModificationDescription,
895
+ ce as ModificationDescription,
900
896
  se as SettingsPanelRegistry,
901
897
  ae as SettingsPanelTab,
902
898
  Lt as SettingsTab,
@@ -905,12 +901,11 @@ export {
905
901
  Ee as TextColorBuiltInControl,
906
902
  P as TextControls,
907
903
  le as TextFontFamilyBuiltInControl,
908
- de as TextLineSpacingBuiltInControl,
909
- ue as TextPaddingsBuiltInControl,
910
- Ie as TextSizeBuiltInControl,
911
- Oe as TextStyleBuiltInControl,
912
- Gt as UEAttr,
913
- he as UIElement,
914
- Re as UIElementTagRegistry,
904
+ de as TextPaddingsBuiltInControl,
905
+ ue as TextSizeBuiltInControl,
906
+ Ie as TextStyleBuiltInControl,
907
+ Vt as UEAttr,
908
+ _e as UIElement,
909
+ he as UIElementTagRegistry,
915
910
  yt as UIElementType
916
911
  };
@@ -1,3 +1,3 @@
1
- declare const migrationTemplate = "\n <td\n class=\"coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block\"\n esd-extension-block-id=\"coupon-block\"\n >\n <p class=\"ins-title\" contenteditable=\"false\">{@COUPON_CODE}</p>\n </td>\n";
1
+ declare const migrationTemplate = "\n <td \n class=\"coupon-block coupon-block-v2 ins-coupon-code esd-block-text esd-extension-block\" \n esd-extension-block-id=\"coupon-block\"\n >\n <p class=\"ins-title\" contenteditable=\"false\">{@COUPON_CODE}</p>\n </td>\n";
2
2
  export declare function getDefaultTemplate(): string;
3
3
  export default migrationTemplate;
@@ -12,9 +12,8 @@
12
12
  import { ImmutableHtmlNode } from '@stripoinc/ui-editor-extensions';
13
13
  /**
14
14
  * Factory function to create text align controls for different block elements
15
- * When targetBlockId and containerSelector are not provided, applies directly to root
16
15
  */
17
- export declare function createTextAlignControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
16
+ export declare function createTextAlignControl(controlId: string, targetBlockId: string, containerSelector: string): {
18
17
  new (): {
19
18
  getId(): string;
20
19
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -28,9 +27,8 @@ export declare function createTextAlignControl(controlId: string, targetBlockId?
28
27
  };
29
28
  /**
30
29
  * Factory function to create text color controls for different block elements
31
- * When targetBlockId and containerSelector are not provided, applies directly to root
32
30
  */
33
- export declare function createTextColorControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
31
+ export declare function createTextColorControl(controlId: string, targetBlockId: string, containerSelector?: string): {
34
32
  new (): {
35
33
  getId(): string;
36
34
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -44,9 +42,8 @@ export declare function createTextColorControl(controlId: string, targetBlockId?
44
42
  };
45
43
  /**
46
44
  * Factory function to create text size controls for different block elements
47
- * When targetBlockId and containerSelector are not provided, applies directly to root
48
45
  */
49
- export declare function createTextSizeControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
46
+ export declare function createTextSizeControl(controlId: string, targetBlockId: string, containerSelector?: string): {
50
47
  new (): {
51
48
  getId(): string;
52
49
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -60,9 +57,8 @@ export declare function createTextSizeControl(controlId: string, targetBlockId?:
60
57
  };
61
58
  /**
62
59
  * Factory function to create text style controls for different block elements
63
- * When targetBlockId and containerSelector are not provided, applies directly to root
64
60
  */
65
- export declare function createTextStyleControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
61
+ export declare function createTextStyleControl(controlId: string, targetBlockId: string, containerSelector?: string): {
66
62
  new (): {
67
63
  getId(): string;
68
64
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -76,9 +72,8 @@ export declare function createTextStyleControl(controlId: string, targetBlockId?
76
72
  };
77
73
  /**
78
74
  * Factory function to create text font family controls for different block elements
79
- * When targetBlockId and containerSelector are not provided, applies directly to root
80
75
  */
81
- export declare function createTextFontFamilyControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
76
+ export declare function createTextFontFamilyControl(controlId: string, targetBlockId: string, containerSelector?: string): {
82
77
  new (): {
83
78
  getId(): string;
84
79
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -92,9 +87,8 @@ export declare function createTextFontFamilyControl(controlId: string, targetBlo
92
87
  };
93
88
  /**
94
89
  * Factory function to create text background color controls for different block elements
95
- * When targetBlockId and containerSelector are not provided, applies directly to root
96
90
  */
97
- export declare function createTextBackgroundColorControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
91
+ export declare function createTextBackgroundColorControl(controlId: string, targetBlockId: string, containerSelector?: string): {
98
92
  new (): {
99
93
  getId(): string;
100
94
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
@@ -108,25 +102,8 @@ export declare function createTextBackgroundColorControl(controlId: string, targ
108
102
  };
109
103
  /**
110
104
  * Factory function to create paddings controls for different block elements
111
- * When targetBlockId and containerSelector are not provided, applies directly to root
112
105
  */
113
- export declare function createPaddingsControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
114
- new (): {
115
- getId(): string;
116
- getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
117
- getParentControlId(): string;
118
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
119
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
120
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
121
- getAdditionalModifications(_root: ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
122
- isVisible(_node: ImmutableHtmlNode): boolean;
123
- };
124
- };
125
- /**
126
- * Factory function to create text line spacing controls for different block elements
127
- * When targetBlockId and containerSelector are not provided, applies directly to root
128
- */
129
- export declare function createTextLineSpacingControl(controlId: string, targetBlockId?: string, containerSelector?: string): {
106
+ export declare function createPaddingsControl(controlId: string, targetBlockId: string, containerSelector?: string): {
130
107
  new (): {
131
108
  getId(): string;
132
109
  getTargetNodes(root: ImmutableHtmlNode): ImmutableHtmlNode[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "2.0.0-beta.cf2fe38",
3
+ "version": "2.0.0-beta.dd0d492",
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",
@@ -1,4 +0,0 @@
1
- var t = /* @__PURE__ */ ((c) => (c.TEXT_ALIGN = "coupon-block-text-align-control", c.TEXT_COLOR = "coupon-block-text-color-control", c.TEXT_SIZE = "coupon-block-text-size-control", c.TEXT_STYLE = "coupon-block-text-style-control", c.TEXT_FONT_FAMILY = "coupon-block-text-font-family-control", c.TEXT_BACKGROUND = "coupon-block-text-background-control", c.TEXT_PADDINGS = "coupon-block-text-paddings-control", c.TEXT_LINE_SPACING = "coupon-block-text-line-spacing-control", c))(t || {});
2
- export {
3
- t as CouponControlId
4
- };
@@ -1,29 +0,0 @@
1
- import { createTextAlignControl as t, createTextColorControl as e, createTextSizeControl as n, createTextStyleControl as r, createTextFontFamilyControl as T, createTextBackgroundColorControl as l, createPaddingsControl as C, createTextLineSpacingControl as c } from "../../controlFactories.js";
2
- import { CouponControlId as o } from "../constants.js";
3
- const i = t(
4
- o.TEXT_ALIGN
5
- ), E = e(
6
- o.TEXT_COLOR
7
- ), s = n(
8
- o.TEXT_SIZE
9
- ), S = r(
10
- o.TEXT_STYLE
11
- ), _ = T(
12
- o.TEXT_FONT_FAMILY
13
- ), g = l(
14
- o.TEXT_BACKGROUND
15
- ), X = C(
16
- o.TEXT_PADDINGS
17
- ), d = c(
18
- o.TEXT_LINE_SPACING
19
- );
20
- export {
21
- i as TextAlignControl,
22
- g as TextBackgroundControl,
23
- E as TextColorControl,
24
- _ as TextFontFamilyControl,
25
- d as TextLineSpacingControl,
26
- X as TextPaddingsControl,
27
- s as TextSizeControl,
28
- S as TextStyleControl
29
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * Control IDs used in the CouponBlock Extension
3
- * These IDs are returned by the getId() method of each control
4
- */
5
- export declare enum CouponControlId {
6
- TEXT_ALIGN = "coupon-block-text-align-control",
7
- TEXT_COLOR = "coupon-block-text-color-control",
8
- TEXT_SIZE = "coupon-block-text-size-control",
9
- TEXT_STYLE = "coupon-block-text-style-control",
10
- TEXT_FONT_FAMILY = "coupon-block-text-font-family-control",
11
- TEXT_BACKGROUND = "coupon-block-text-background-control",
12
- TEXT_PADDINGS = "coupon-block-text-paddings-control",
13
- TEXT_LINE_SPACING = "coupon-block-text-line-spacing-control"
14
- }
@@ -1,108 +0,0 @@
1
- /**
2
- * CouponBlock Control Instances
3
- *
4
- * This file generates all control instances for the CouponBlock
5
- * using the reusable factory functions from controlFactories.ts
6
- *
7
- * Note: Factory-generated controls use runtime class generation which TypeScript
8
- * cannot fully type-check. The controls are type-safe at runtime.
9
- *
10
- * These controls apply directly to the selected root element (no targetBlockId/containerSelector)
11
- * to ensure styles are applied correctly regardless of nested element structure.
12
- */
13
- export declare const TextAlignControl: {
14
- new (): {
15
- getId(): string;
16
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
17
- getParentControlId(): string;
18
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
19
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
20
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
21
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
22
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
23
- };
24
- };
25
- export declare const TextColorControl: {
26
- new (): {
27
- getId(): string;
28
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
29
- getParentControlId(): string;
30
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
31
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
32
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
33
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
34
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
35
- };
36
- };
37
- export declare const TextSizeControl: {
38
- new (): {
39
- getId(): string;
40
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
41
- getParentControlId(): string;
42
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
43
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
44
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
45
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
46
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
47
- };
48
- };
49
- export declare const TextStyleControl: {
50
- new (): {
51
- getId(): string;
52
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
53
- getParentControlId(): string;
54
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
55
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
56
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
57
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
58
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
59
- };
60
- };
61
- export declare const TextFontFamilyControl: {
62
- new (): {
63
- getId(): string;
64
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
65
- getParentControlId(): string;
66
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
67
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
68
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
69
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
70
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
71
- };
72
- };
73
- export declare const TextBackgroundControl: {
74
- new (): {
75
- getId(): string;
76
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
77
- getParentControlId(): string;
78
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
79
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
80
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
81
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
82
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
83
- };
84
- };
85
- export declare const TextPaddingsControl: {
86
- new (): {
87
- getId(): string;
88
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
89
- getParentControlId(): string;
90
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
91
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
92
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
93
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
94
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
95
- };
96
- };
97
- export declare const TextLineSpacingControl: {
98
- new (): {
99
- getId(): string;
100
- getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
101
- getParentControlId(): string;
102
- api: import("@stripoinc/ui-editor-extensions").ControlApi;
103
- getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
104
- getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
105
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
106
- isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
107
- };
108
- };