@useinsider/guido 3.8.1-beta.34bf80d → 3.8.1-beta.6c0ee3f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue.js +8 -8
- package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue2.js +12 -15
- package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue.js +5 -5
- package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue2.js +15 -16
- package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.js +5 -5
- package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue2.js +37 -42
- package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +3 -3
- package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +37 -40
- package/dist/composables/useSave.js +14 -14
- package/dist/composables/validators/useUnsubscribeBlockValidator.js +17 -26
- package/dist/extensions/Blocks/Recommendation/block.js +4 -1
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +154 -137
- package/dist/extensions/Blocks/Unsubscribe/block.js +37 -40
- package/dist/extensions/Blocks/Unsubscribe/control.js +16 -19
- package/dist/extensions/Blocks/controlFactories.js +76 -57
- package/dist/guido.css +1 -1
- package/dist/src/composables/validators/useUnsubscribeBlockValidator.d.ts +0 -1
- package/dist/src/extensions/Blocks/CouponBlock/controls/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Items/controls/index.d.ts +3 -3
- package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/controlFactories.d.ts +10 -1
- package/dist/src/stores/unsubscribe.d.ts +1 -11
- package/dist/stores/unsubscribe.js +7 -8
- package/package.json +1 -1
- package/dist/composables/usePreviewInteractionGuard.js +0 -17
- package/dist/src/composables/usePreviewInteractionGuard.d.ts +0 -3
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var a = (c, o, e) =>
|
|
4
|
-
import { useToaster as
|
|
2
|
+
var L = (c, o, e) => o in c ? S(c, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[o] = e;
|
|
3
|
+
var a = (c, o, e) => L(c, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { useToaster as f } from "../../../composables/useToaster.js";
|
|
5
5
|
import { ToasterTypeOptions as A } from "../../../enums/toaster.js";
|
|
6
6
|
import { PAGE_TYPES as h } from "../../../enums/unsubscribe.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { getDefaultTemplate as C } from "./template.js";
|
|
7
|
+
import { useUnsubscribeStore as u } from "../../../stores/unsubscribe.js";
|
|
8
|
+
import { Block as y, BlockCompositionType as T, ContextActionType as k, ModificationDescription as d, BlockType as I } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
9
|
+
import { getDefaultTemplate as v } from "./template.js";
|
|
11
10
|
import { UNSUBSCRIBE_BLOCK_SELECTOR as m, DATA_ATTRIBUTES as n, UNSUBSCRIBE_EVENTS as b } from "./utils/constants.js";
|
|
12
|
-
import { parsePageList as
|
|
13
|
-
const
|
|
11
|
+
import { parsePageList as B } from "./utils/utils.js";
|
|
12
|
+
const C = "unsubscribe-block", E = 'a[data-unsubscribe-link="true"]', N = "{{ins-unsubscribe-link}}", U = "https://academy.insiderone.com/docs/adding-unsubscribe-pages-into-emails", R = "Removing the unsubscribe text leaves an empty block, but an active unsubscribe link is required. Undo your last action to restore the text, or delete the unsubscribe block entirely.", D = {
|
|
14
13
|
[h.GLOBAL_UNSUBSCRIBE]: "{{ins-global-unsubscribe-link}}",
|
|
15
14
|
[h.SUBSCRIPTION_PREFERENCE_CENTER]: "{{ins-preferences-unsubscribe-link}}"
|
|
16
|
-
},
|
|
17
|
-
class
|
|
15
|
+
}, w = 3;
|
|
16
|
+
class H extends y {
|
|
18
17
|
constructor() {
|
|
19
18
|
super();
|
|
20
19
|
a(this, "selectEventListener", null);
|
|
@@ -30,13 +29,13 @@ class W extends T {
|
|
|
30
29
|
a(this, "guardAttemptsByBlockId", /* @__PURE__ */ new Map());
|
|
31
30
|
}
|
|
32
31
|
getId() {
|
|
33
|
-
return
|
|
32
|
+
return C;
|
|
34
33
|
}
|
|
35
34
|
getIcon() {
|
|
36
35
|
return "unsubscribe-icon";
|
|
37
36
|
}
|
|
38
37
|
getBlockCompositionType() {
|
|
39
|
-
return
|
|
38
|
+
return T.BLOCK;
|
|
40
39
|
}
|
|
41
40
|
getName() {
|
|
42
41
|
return this.api.translate("Unsubscribe Block");
|
|
@@ -45,16 +44,15 @@ class W extends T {
|
|
|
45
44
|
return this.api.translate("Unsubscribe Block Description");
|
|
46
45
|
}
|
|
47
46
|
getTemplate() {
|
|
48
|
-
return
|
|
47
|
+
return v();
|
|
49
48
|
}
|
|
50
49
|
getContextActionsIds() {
|
|
51
|
-
return [
|
|
50
|
+
return [k.MOVE, k.REMOVE];
|
|
52
51
|
}
|
|
53
52
|
onSelect(e) {
|
|
54
|
-
|
|
55
|
-
return;
|
|
53
|
+
this.currentNode = e;
|
|
56
54
|
const t = this._getOrAssignBlockId(e);
|
|
57
|
-
t && this.linkStateByBlockId.set(t, this._hasUnsubscribeLink(e)), this._setupSelectEventListener(), this._setupCancelEventListener(
|
|
55
|
+
t && this.linkStateByBlockId.set(t, this._hasUnsubscribeLink(e)), this._setupSelectEventListener(), this._setupCancelEventListener(), !("getAttribute" in e && e.getAttribute("data-migration")) && (this._resetStoreState(), this._loadBlockState(e), this._checkExistingBlocks(), this._openDrawer());
|
|
58
56
|
}
|
|
59
57
|
onCreated(e) {
|
|
60
58
|
this._ensureLeadingTextGuard(e);
|
|
@@ -109,9 +107,9 @@ class W extends T {
|
|
|
109
107
|
const g = this._getOrAssignBlockId(e);
|
|
110
108
|
if (!g)
|
|
111
109
|
return;
|
|
112
|
-
const
|
|
113
|
-
if (!(
|
|
114
|
-
this.guardAttemptsByBlockId.set(g,
|
|
110
|
+
const _ = this.guardAttemptsByBlockId.get(g) ?? 0;
|
|
111
|
+
if (!(_ >= w)) {
|
|
112
|
+
this.guardAttemptsByBlockId.set(g, _ + 1);
|
|
115
113
|
try {
|
|
116
114
|
this.api.getDocumentModifier().modifyHtml(r).prepend(" ").apply(new d("Ensure unsubscribe link text guard"));
|
|
117
115
|
} catch (p) {
|
|
@@ -156,8 +154,8 @@ class W extends T {
|
|
|
156
154
|
const t = this.api.getDocumentRoot();
|
|
157
155
|
t && "querySelectorAll" in t && t.querySelectorAll(m).forEach((r) => {
|
|
158
156
|
if ("getAttribute" in r) {
|
|
159
|
-
const i = r.getAttribute(n.BLOCK_ID),
|
|
160
|
-
|
|
157
|
+
const i = r.getAttribute(n.BLOCK_ID), l = i ? parseInt(i) : 0;
|
|
158
|
+
l > e && (e = l);
|
|
161
159
|
}
|
|
162
160
|
});
|
|
163
161
|
} catch {
|
|
@@ -166,14 +164,14 @@ class W extends T {
|
|
|
166
164
|
}
|
|
167
165
|
_warnLinkRemoved() {
|
|
168
166
|
try {
|
|
169
|
-
const { showToaster: e } =
|
|
167
|
+
const { showToaster: e } = f();
|
|
170
168
|
e({
|
|
171
169
|
type: A.Warning,
|
|
172
|
-
message: this.api.translate(
|
|
170
|
+
message: this.api.translate(R),
|
|
173
171
|
actionButton: {
|
|
174
172
|
text: this.api.translate("Visit Academy"),
|
|
175
173
|
onClick: () => {
|
|
176
|
-
window.open(
|
|
174
|
+
window.open(U, "_blank", "noopener,noreferrer");
|
|
177
175
|
}
|
|
178
176
|
}
|
|
179
177
|
});
|
|
@@ -190,10 +188,9 @@ class W extends T {
|
|
|
190
188
|
_removeSelectEventListener() {
|
|
191
189
|
this.selectEventListener && (document.removeEventListener(b.SELECT, this.selectEventListener), this.selectEventListener = null);
|
|
192
190
|
}
|
|
193
|
-
_setupCancelEventListener(
|
|
194
|
-
this._removeCancelEventListener(), this.cancelEventListener = (
|
|
195
|
-
|
|
196
|
-
((s == null ? void 0 : s.blockId) ?? null) === e && this._handleCancel();
|
|
191
|
+
_setupCancelEventListener() {
|
|
192
|
+
this._removeCancelEventListener(), this.cancelEventListener = () => {
|
|
193
|
+
this._handleCancel();
|
|
197
194
|
}, document.addEventListener(b.CANCEL, this.cancelEventListener);
|
|
198
195
|
}
|
|
199
196
|
_removeCancelEventListener() {
|
|
@@ -203,7 +200,7 @@ class W extends T {
|
|
|
203
200
|
try {
|
|
204
201
|
if (!this.currentNode)
|
|
205
202
|
return;
|
|
206
|
-
this.api.getDocumentModifier().modifyHtml(this.currentNode).replaceWith(`<${
|
|
203
|
+
this.api.getDocumentModifier().modifyHtml(this.currentNode).replaceWith(`<${I.EMPTY_CONTAINER}/>`).apply(new d("Removed unsubscribe block due to cancel"));
|
|
207
204
|
} catch (e) {
|
|
208
205
|
console.warn("[UnsubscribeBlock] Failed to remove unsubscribe block:", e);
|
|
209
206
|
}
|
|
@@ -221,19 +218,19 @@ class W extends T {
|
|
|
221
218
|
this.api.getDocumentModifier().modifyHtml(s).setAttribute("href", r).apply(new d(`Updated unsubscribe link to ${r}`)), this.api.getDocumentModifier().modifyHtml(this.currentNode).setAttribute(n.PAGE_TYPE, e.toString()).setAttribute(n.PAGE_LIST, t).apply(new d("Updated unsubscribe block metadata"));
|
|
222
219
|
}
|
|
223
220
|
_getMergeTag(e) {
|
|
224
|
-
return
|
|
221
|
+
return D[e] ?? N;
|
|
225
222
|
}
|
|
226
223
|
_openDrawer() {
|
|
227
224
|
if (!(this.currentNode && this.currentNode.getAttribute("data-unsubscribe-page-type")))
|
|
228
225
|
try {
|
|
229
|
-
const e =
|
|
226
|
+
const e = u();
|
|
230
227
|
e.typeSelectionDrawerStatus = !0;
|
|
231
228
|
} catch (e) {
|
|
232
229
|
console.error("[UnsubscribeBlock] Failed to open drawer:", e);
|
|
233
230
|
}
|
|
234
231
|
}
|
|
235
232
|
_checkExistingBlocks() {
|
|
236
|
-
const e =
|
|
233
|
+
const e = u();
|
|
237
234
|
e.isGlobalUnsubscribeDisabled = !1, e.isSubscriptionPreferencesCenterDisabled = !1, this.api.getDocumentRoot().querySelectorAll(m).forEach((s) => {
|
|
238
235
|
if ("getAttribute" in s) {
|
|
239
236
|
const r = s.getAttribute(n.PAGE_TYPE);
|
|
@@ -250,11 +247,11 @@ class W extends T {
|
|
|
250
247
|
const t = e.getAttribute(n.PAGE_TYPE), s = e.getAttribute(n.PAGE_LIST);
|
|
251
248
|
if (!t || !s)
|
|
252
249
|
return;
|
|
253
|
-
const r =
|
|
254
|
-
await r.fetchTemplates(), r.setCollectionWithoutAutoSelection(i), r.loadSelectedTemplates(
|
|
250
|
+
const r = u(), i = Number(t), l = B(s);
|
|
251
|
+
await r.fetchTemplates(), r.setCollectionWithoutAutoSelection(i), r.loadSelectedTemplates(l);
|
|
255
252
|
}
|
|
256
253
|
_resetStoreState() {
|
|
257
|
-
|
|
254
|
+
u().$reset();
|
|
258
255
|
}
|
|
259
256
|
_removeBlockTemplatesFromStore(e) {
|
|
260
257
|
if (!("getAttribute" in e))
|
|
@@ -262,11 +259,11 @@ class W extends T {
|
|
|
262
259
|
const t = e.getAttribute(n.PAGE_LIST);
|
|
263
260
|
if (!t)
|
|
264
261
|
return;
|
|
265
|
-
const s =
|
|
262
|
+
const s = u(), r = B(t);
|
|
266
263
|
s.removeUnsubscribePages(r);
|
|
267
264
|
}
|
|
268
265
|
}
|
|
269
266
|
export {
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
C as UNSUBSCRIBE_BLOCK_ID,
|
|
268
|
+
H as UnsubscribeBlock
|
|
272
269
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
var T = Object.defineProperty;
|
|
2
|
-
var p = (
|
|
3
|
-
var c = (
|
|
4
|
-
import { useEditorStore as _ } from "../../../stores/editor.js";
|
|
2
|
+
var p = (o, s, e) => s in o ? T(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
|
|
3
|
+
var c = (o, s, e) => p(o, typeof s != "symbol" ? s + "" : s, e);
|
|
5
4
|
import { useUnsubscribeStore as l } from "../../../stores/unsubscribe.js";
|
|
6
|
-
import { Control as
|
|
5
|
+
import { Control as _, UEAttr as i, UIElementType as n } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
7
6
|
import { DATA_ATTRIBUTES as d } from "./utils/constants.js";
|
|
8
7
|
import { parsePageList as h } from "./utils/utils.js";
|
|
9
|
-
const
|
|
8
|
+
const g = "ui-elements-unsubscribe", r = {
|
|
10
9
|
SELECT_BUTTON: "selectTemplateButton",
|
|
11
10
|
PREV_BUTTON: "prevButton",
|
|
12
11
|
NEXT_BUTTON: "nextButton",
|
|
13
12
|
COUNTER_TEXT: "counterText",
|
|
14
13
|
PREVIEW_IMAGE: "previewImage"
|
|
15
14
|
};
|
|
16
|
-
class
|
|
15
|
+
class B extends _ {
|
|
17
16
|
constructor() {
|
|
18
17
|
super(...arguments);
|
|
19
18
|
c(this, "currentPreviewIndex", 0);
|
|
@@ -23,7 +22,7 @@ class w extends g {
|
|
|
23
22
|
c(this, "lastParsedAttribute");
|
|
24
23
|
}
|
|
25
24
|
getId() {
|
|
26
|
-
return
|
|
25
|
+
return g;
|
|
27
26
|
}
|
|
28
27
|
getTemplate() {
|
|
29
28
|
return `
|
|
@@ -60,12 +59,10 @@ class w extends g {
|
|
|
60
59
|
this.api.onValueChanged(r.NEXT_BUTTON, () => this._onNextClick())
|
|
61
60
|
);
|
|
62
61
|
}
|
|
63
|
-
|
|
62
|
+
_onButtonClick() {
|
|
64
63
|
try {
|
|
65
|
-
if (_().isPreviewModeOpen)
|
|
66
|
-
return;
|
|
67
64
|
const e = l();
|
|
68
|
-
|
|
65
|
+
this._reseedSelectionFromBlock(), e.activeType = e.getSelectedCollection[this.currentPreviewIndex], e.pageSelectionUpdateStatus = !0, e.pageSelectionDrawerStatus = !0;
|
|
69
66
|
} catch (e) {
|
|
70
67
|
console.error("[UnsubscribeControl] Failed to open drawer:", e);
|
|
71
68
|
}
|
|
@@ -74,8 +71,8 @@ class w extends g {
|
|
|
74
71
|
const e = l();
|
|
75
72
|
if (e.$reset(), !this.currentNode || !("getAttribute" in this.currentNode))
|
|
76
73
|
return;
|
|
77
|
-
const t = this.currentNode.getAttribute(d.PAGE_TYPE),
|
|
78
|
-
!t || !
|
|
74
|
+
const t = this.currentNode.getAttribute(d.PAGE_TYPE), a = this.currentNode.getAttribute(d.PAGE_LIST);
|
|
75
|
+
!t || !a || (e.setCollectionWithoutAutoSelection(Number(t)), e.loadSelectedTemplates(h(a)));
|
|
79
76
|
}
|
|
80
77
|
_onPrevClick() {
|
|
81
78
|
this.currentPreviewIndex > 0 && (this.currentPreviewIndex--, this._updatePreview(), this._updateCounter());
|
|
@@ -103,8 +100,8 @@ class w extends g {
|
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
102
|
_updateCounter() {
|
|
106
|
-
const e = this.currentPreviewIndex + 1, t = this.totalTemplates,
|
|
107
|
-
this.api.setUIEAttribute(r.PREV_BUTTON, i.BUTTON.disabled,
|
|
103
|
+
const e = this.currentPreviewIndex + 1, t = this.totalTemplates, a = this.currentPreviewIndex === 0, u = this.currentPreviewIndex >= t - 1;
|
|
104
|
+
this.api.setUIEAttribute(r.PREV_BUTTON, i.BUTTON.disabled, a), this.api.setUIEAttribute(r.NEXT_BUTTON, i.BUTTON.disabled, u), this.api.setUIEAttribute(
|
|
108
105
|
r.COUNTER_TEXT,
|
|
109
106
|
i.LABEL.text,
|
|
110
107
|
`${this.api.translate("Showing")} ${e} ${this.api.translate("of")} ${t}`
|
|
@@ -145,8 +142,8 @@ class w extends g {
|
|
|
145
142
|
</${n.LABEL}>
|
|
146
143
|
`;
|
|
147
144
|
}
|
|
148
|
-
_getIconButton(e, t,
|
|
149
|
-
const u =
|
|
145
|
+
_getIconButton(e, t, a) {
|
|
146
|
+
const u = a ? `${i.BUTTON.disabled}="true"` : "";
|
|
150
147
|
return `
|
|
151
148
|
<${n.BUTTON}
|
|
152
149
|
id="${e}"
|
|
@@ -175,6 +172,6 @@ class w extends g {
|
|
|
175
172
|
}
|
|
176
173
|
}
|
|
177
174
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
175
|
+
g as UNSUBSCRIBE_CONTROL_ID,
|
|
176
|
+
B as UnsubscribeControl
|
|
180
177
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TextAlignBuiltInControl as a, TextColorBuiltInControl as g, TextSizeBuiltInControl as
|
|
2
|
-
const
|
|
3
|
-
function
|
|
1
|
+
import { TextAlignBuiltInControl as a, TextColorBuiltInControl as g, TextSizeBuiltInControl as f, TextStyleBuiltInControl as x, TextFontFamilyBuiltInControl as C, ButtonBackgroundColorBuiltInControl as T, TextPaddingsBuiltInControl as B, ImageSizeBuiltInControl as m, ImageMarginsBuiltInControl as y, ButtonAlignBuiltInControl as I, ButtonBorderBuiltInControl as S, ButtonBorderRadiusBuiltInControl as A, ButtonColorBuiltInControl as b, ButtonFontFamilyBuiltInControl as N, ButtonMarginsBuiltInControl as q, ButtonPaddingsBuiltInControl as $, ButtonTextBuiltInControl as k, ButtonTextSizeBuiltInControl as p, ButtonTextStyleAndFontColorBuiltInControl as h, ButtonFitToContainerBuiltInControl as F, TextLineSpacingBuiltInControl as M } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
+
const R = "buttonTextStyleForm", _ = "backgroundColor", E = /* @__PURE__ */ new Set(["", "transparent", "rgba(0, 0, 0, 0)"]);
|
|
3
|
+
function z(o, n, r) {
|
|
4
4
|
return class extends a {
|
|
5
5
|
getId() {
|
|
6
6
|
return o;
|
|
@@ -13,7 +13,7 @@ function P(o, n, r) {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function v(o, n, r) {
|
|
17
17
|
return class extends g {
|
|
18
18
|
getId() {
|
|
19
19
|
return o;
|
|
@@ -26,8 +26,8 @@ function _(o, n, r) {
|
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
return class extends
|
|
29
|
+
function P(o, n, r) {
|
|
30
|
+
return class extends f {
|
|
31
31
|
getId() {
|
|
32
32
|
return o;
|
|
33
33
|
}
|
|
@@ -39,8 +39,8 @@ function v(o, n, r) {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return class extends
|
|
42
|
+
function D(o, n, r) {
|
|
43
|
+
return class extends x {
|
|
44
44
|
getId() {
|
|
45
45
|
return o;
|
|
46
46
|
}
|
|
@@ -52,7 +52,7 @@ function L(o, n, r) {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function K(o, n, r) {
|
|
56
56
|
return class extends C {
|
|
57
57
|
getId() {
|
|
58
58
|
return o;
|
|
@@ -65,7 +65,7 @@ function R(o, n, r) {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function L(o, n, r) {
|
|
69
69
|
return class extends T {
|
|
70
70
|
getId() {
|
|
71
71
|
return o;
|
|
@@ -76,9 +76,28 @@ function O(o, n, r) {
|
|
|
76
76
|
const t = e.closest(r);
|
|
77
77
|
return t ? t.querySelectorAll(`[esd-extension-block-id="${n}"]`) : [];
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Mirrors the picked background onto each target cell as an INLINE style.
|
|
81
|
+
*
|
|
82
|
+
* Stripo's built-in applies the background as a stylesheet rule, not inline. On
|
|
83
|
+
* regeneration we re-bake the captured color inline (cellBgStyleAttr); inline then
|
|
84
|
+
* outranks Stripo's rule in the cascade, so a later re-edit silently has no effect
|
|
85
|
+
* (SD-143023). Writing the inline here keeps it the single source of truth and in
|
|
86
|
+
* sync on every edit. Merged into the parent control's single patch (no extra apply).
|
|
87
|
+
*/
|
|
88
|
+
getAdditionalModifications(e) {
|
|
89
|
+
const t = this.getTargetNodes(e);
|
|
90
|
+
if (!t.length)
|
|
91
|
+
return;
|
|
92
|
+
const s = this.api.getValues()[_], i = !s || E.has(s), c = this.api.getDocumentModifier();
|
|
93
|
+
return t.forEach((u) => {
|
|
94
|
+
const l = c.modifyHtml(u);
|
|
95
|
+
i ? l.removeStyle("background-color") : l.setStyle("background-color", s);
|
|
96
|
+
}), c;
|
|
97
|
+
}
|
|
79
98
|
};
|
|
80
99
|
}
|
|
81
|
-
function
|
|
100
|
+
function U(o, n, r) {
|
|
82
101
|
return class extends B {
|
|
83
102
|
getId() {
|
|
84
103
|
return o;
|
|
@@ -91,7 +110,7 @@ function Y(o, n, r) {
|
|
|
91
110
|
}
|
|
92
111
|
};
|
|
93
112
|
}
|
|
94
|
-
function
|
|
113
|
+
function Y(o, n, r) {
|
|
95
114
|
return class extends M {
|
|
96
115
|
getId() {
|
|
97
116
|
return o;
|
|
@@ -101,8 +120,8 @@ function w(o, n, r) {
|
|
|
101
120
|
}
|
|
102
121
|
};
|
|
103
122
|
}
|
|
104
|
-
function
|
|
105
|
-
return class extends
|
|
123
|
+
function w(o, n, r = ".ins-recommendation-product-container") {
|
|
124
|
+
return class extends I {
|
|
106
125
|
getId() {
|
|
107
126
|
return o;
|
|
108
127
|
}
|
|
@@ -112,7 +131,7 @@ function D(o, n, r = ".ins-recommendation-product-container") {
|
|
|
112
131
|
}
|
|
113
132
|
};
|
|
114
133
|
}
|
|
115
|
-
function
|
|
134
|
+
function G(o, n, r = ".ins-recommendation-product-container") {
|
|
116
135
|
return class extends b {
|
|
117
136
|
getId() {
|
|
118
137
|
return o;
|
|
@@ -123,7 +142,7 @@ function H(o, n, r = ".ins-recommendation-product-container") {
|
|
|
123
142
|
}
|
|
124
143
|
};
|
|
125
144
|
}
|
|
126
|
-
function
|
|
145
|
+
function H(o, n, r = ".ins-recommendation-product-container") {
|
|
127
146
|
return class extends S {
|
|
128
147
|
getId() {
|
|
129
148
|
return o;
|
|
@@ -134,7 +153,7 @@ function K(o, n, r = ".ins-recommendation-product-container") {
|
|
|
134
153
|
}
|
|
135
154
|
};
|
|
136
155
|
}
|
|
137
|
-
function
|
|
156
|
+
function V(o, n, r = ".ins-recommendation-product-container") {
|
|
138
157
|
return class extends A {
|
|
139
158
|
getId() {
|
|
140
159
|
return o;
|
|
@@ -145,7 +164,7 @@ function U(o, n, r = ".ins-recommendation-product-container") {
|
|
|
145
164
|
}
|
|
146
165
|
};
|
|
147
166
|
}
|
|
148
|
-
function
|
|
167
|
+
function W(o, n, r = ".ins-recommendation-product-container") {
|
|
149
168
|
return class extends N {
|
|
150
169
|
getId() {
|
|
151
170
|
return o;
|
|
@@ -156,7 +175,7 @@ function V(o, n, r = ".ins-recommendation-product-container") {
|
|
|
156
175
|
}
|
|
157
176
|
};
|
|
158
177
|
}
|
|
159
|
-
function
|
|
178
|
+
function X(o, n, r = ".ins-recommendation-product-container") {
|
|
160
179
|
return class extends q {
|
|
161
180
|
getId() {
|
|
162
181
|
return o;
|
|
@@ -167,7 +186,7 @@ function W(o, n, r = ".ins-recommendation-product-container") {
|
|
|
167
186
|
}
|
|
168
187
|
};
|
|
169
188
|
}
|
|
170
|
-
function
|
|
189
|
+
function j(o, n, r = ".ins-recommendation-product-container") {
|
|
171
190
|
return class extends $ {
|
|
172
191
|
getId() {
|
|
173
192
|
return o;
|
|
@@ -178,7 +197,7 @@ function X(o, n, r = ".ins-recommendation-product-container") {
|
|
|
178
197
|
}
|
|
179
198
|
};
|
|
180
199
|
}
|
|
181
|
-
function
|
|
200
|
+
function J(o, n, r = ".ins-recommendation-product-container") {
|
|
182
201
|
return class extends k {
|
|
183
202
|
getId() {
|
|
184
203
|
return o;
|
|
@@ -189,7 +208,7 @@ function j(o, n, r = ".ins-recommendation-product-container") {
|
|
|
189
208
|
}
|
|
190
209
|
};
|
|
191
210
|
}
|
|
192
|
-
function
|
|
211
|
+
function Q(o, n, r = ".ins-recommendation-product-container") {
|
|
193
212
|
return class extends p {
|
|
194
213
|
getId() {
|
|
195
214
|
return o;
|
|
@@ -200,8 +219,8 @@ function G(o, n, r = ".ins-recommendation-product-container") {
|
|
|
200
219
|
}
|
|
201
220
|
};
|
|
202
221
|
}
|
|
203
|
-
function
|
|
204
|
-
return class extends
|
|
222
|
+
function Z(o, n, r) {
|
|
223
|
+
return class extends h {
|
|
205
224
|
getId() {
|
|
206
225
|
return o;
|
|
207
226
|
}
|
|
@@ -223,21 +242,21 @@ function J(o, n, r) {
|
|
|
223
242
|
const t = e.closest(r);
|
|
224
243
|
if (!t)
|
|
225
244
|
return;
|
|
226
|
-
const
|
|
227
|
-
if (!
|
|
245
|
+
const s = t.querySelectorAll(`[esd-extension-block-id="${n}"] a.es-button`);
|
|
246
|
+
if (!s.length)
|
|
228
247
|
return;
|
|
229
|
-
const
|
|
230
|
-
if (!
|
|
248
|
+
const i = this.api.getValues()[R];
|
|
249
|
+
if (!i)
|
|
231
250
|
return;
|
|
232
|
-
const
|
|
233
|
-
return
|
|
234
|
-
l.modifyHtml(d).setStyle("font-weight",
|
|
251
|
+
const c = i.bold ? "bold" : "normal", u = i.italic ? "italic" : "normal", l = this.api.getDocumentModifier();
|
|
252
|
+
return s.forEach((d) => {
|
|
253
|
+
l.modifyHtml(d).setStyle("font-weight", c).setStyle("font-style", u);
|
|
235
254
|
}), l;
|
|
236
255
|
}
|
|
237
256
|
};
|
|
238
257
|
}
|
|
239
|
-
function
|
|
240
|
-
return class extends
|
|
258
|
+
function tt(o, n, r) {
|
|
259
|
+
return class extends F {
|
|
241
260
|
getId() {
|
|
242
261
|
return o;
|
|
243
262
|
}
|
|
@@ -247,8 +266,8 @@ function Q(o, n, r) {
|
|
|
247
266
|
}
|
|
248
267
|
};
|
|
249
268
|
}
|
|
250
|
-
function
|
|
251
|
-
return class extends
|
|
269
|
+
function et(o, n, r) {
|
|
270
|
+
return class extends m {
|
|
252
271
|
getId() {
|
|
253
272
|
return o;
|
|
254
273
|
}
|
|
@@ -262,7 +281,7 @@ function Z(o, n, r) {
|
|
|
262
281
|
}
|
|
263
282
|
};
|
|
264
283
|
}
|
|
265
|
-
function
|
|
284
|
+
function nt(o, n, r) {
|
|
266
285
|
return class extends y {
|
|
267
286
|
getId() {
|
|
268
287
|
return o;
|
|
@@ -278,25 +297,25 @@ function tt(o, n, r) {
|
|
|
278
297
|
};
|
|
279
298
|
}
|
|
280
299
|
export {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
w as createButtonAlignControl,
|
|
301
|
+
H as createButtonBorderControl,
|
|
302
|
+
V as createButtonBorderRadiusControl,
|
|
303
|
+
G as createButtonColorControl,
|
|
304
|
+
tt as createButtonFitToContainerControl,
|
|
305
|
+
W as createButtonFontFamilyControl,
|
|
306
|
+
X as createButtonMarginsControl,
|
|
307
|
+
j as createButtonPaddingsControl,
|
|
308
|
+
J as createButtonTextControl,
|
|
309
|
+
Q as createButtonTextSizeControl,
|
|
310
|
+
Z as createButtonTextStyleAndFontColorControl,
|
|
311
|
+
nt as createImageMarginsControl,
|
|
312
|
+
et as createImageSizeControl,
|
|
313
|
+
U as createPaddingsControl,
|
|
314
|
+
z as createTextAlignControl,
|
|
315
|
+
L as createTextBackgroundColorControl,
|
|
316
|
+
v as createTextColorControl,
|
|
317
|
+
K as createTextFontFamilyControl,
|
|
318
|
+
Y as createTextLineSpacingControl,
|
|
319
|
+
P as createTextSizeControl,
|
|
320
|
+
D as createTextStyleControl
|
|
302
321
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-64c52560]{gap:8px}.version-history__toolbar[data-v-64c52560]{gap:4px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-82128f7d]{gap:4px}.header-wrapper[data-v-5c02dcc7]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-50dac6de]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-50dac6de]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-50dac6de]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-
|
|
1
|
+
.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-64c52560]{gap:8px}.version-history__toolbar[data-v-64c52560]{gap:4px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-82128f7d]{gap:4px}.header-wrapper[data-v-5c02dcc7]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-50dac6de]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-50dac6de]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-50dac6de]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-f6a8cb4c]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-f6a8cb4c]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-f6a8cb4c]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-f6a8cb4c]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-f6a8cb4c]{object-fit:cover;transform:scale(1)}[data-v-18e1220a] .guido__verion-history-view-option-selection-desktop svg,[data-v-18e1220a] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-18e1220a] .in-segments-wrapper__button_selected,[data-v-18e1220a] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-988f8da6]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-988f8da6]{min-height:504px}.iframe-wrapper[data-v-e0424e99]{width:258px}.iframe-scaled[data-v-e0424e99]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-7419ae06] .vueperslides__bullets,[data-v-796d193b] .vueperslides__bullets{pointer-events:none!important}[data-v-796d193b] .vueperslides__parallax-wrapper{height:110px!important}[data-v-cadfc82d] .vueperslides__bullets{pointer-events:none!important}[data-v-cadfc82d] .vueperslides__parallax-wrapper{height:110px!important}
|
|
@@ -74,11 +74,11 @@ export declare const TextBackgroundControl: {
|
|
|
74
74
|
new (): {
|
|
75
75
|
getId(): string;
|
|
76
76
|
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
77
|
+
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;
|
|
77
78
|
getParentControlId(): string;
|
|
78
79
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
79
80
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
80
81
|
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
82
|
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
83
83
|
};
|
|
84
84
|
};
|
|
@@ -232,11 +232,11 @@ export declare const OriginalPriceControls: {
|
|
|
232
232
|
new (): {
|
|
233
233
|
getId(): string;
|
|
234
234
|
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
235
|
+
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;
|
|
235
236
|
getParentControlId(): string;
|
|
236
237
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
237
238
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
238
239
|
getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
|
|
239
|
-
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;
|
|
240
240
|
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
241
241
|
};
|
|
242
242
|
};
|
|
@@ -318,11 +318,11 @@ export declare const PriceControls: {
|
|
|
318
318
|
new (): {
|
|
319
319
|
getId(): string;
|
|
320
320
|
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
321
|
+
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;
|
|
321
322
|
getParentControlId(): string;
|
|
322
323
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
323
324
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
324
325
|
getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
|
|
325
|
-
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;
|
|
326
326
|
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
327
327
|
};
|
|
328
328
|
};
|
|
@@ -404,11 +404,11 @@ export declare const NameControls: {
|
|
|
404
404
|
new (): {
|
|
405
405
|
getId(): string;
|
|
406
406
|
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
407
|
+
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;
|
|
407
408
|
getParentControlId(): string;
|
|
408
409
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
409
410
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
410
411
|
getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
|
|
411
|
-
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;
|
|
412
412
|
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
413
413
|
};
|
|
414
414
|
};
|
|
@@ -73,11 +73,11 @@ export declare const NameControls: {
|
|
|
73
73
|
new (): {
|
|
74
74
|
getId(): string;
|
|
75
75
|
getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
|
|
76
|
+
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;
|
|
76
77
|
getParentControlId(): string;
|
|
77
78
|
api: import("@stripoinc/ui-editor-extensions").ControlApi;
|
|
78
79
|
getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
|
|
79
80
|
getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
|
|
80
|
-
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;
|
|
81
81
|
isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
|
|
82
82
|
};
|
|
83
83
|
};
|