@useinsider/guido 3.19.0-beta.d04f200 → 3.19.0-beta.e110e88
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/@types/config/schemas.js +91 -104
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +74 -79
- package/dist/components/wrappers/WpModal.vue.js +1 -1
- package/dist/components/wrappers/WpModal.vue2.js +3 -4
- package/dist/composables/useHttp.js +54 -64
- package/dist/composables/useLegacyStrategyConversion.js +19 -23
- package/dist/composables/useStripo.js +20 -24
- package/dist/composables/useToaster.js +15 -17
- package/dist/composables/validators/useLiquidValidator.js +15 -15
- package/dist/config/migrator/index.js +13 -14
- package/dist/enums/extensions/recommendationBlock.js +29 -30
- package/dist/extensions/Blocks/Recommendation/block.js +22 -21
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +107 -97
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +49 -72
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +209 -203
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +91 -67
- package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +26 -21
- package/dist/extensions/Blocks/Recommendation/utils/strategyCommit.js +55 -16
- package/dist/guido.css +1 -1
- package/dist/src/@types/config/schemas.d.ts +0 -16
- package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -5
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/composables/useHttp.d.ts +0 -2
- package/dist/src/config/migrator/index.d.ts +1 -2
- package/dist/src/enums/extensions/recommendationBlock.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +13 -2
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -6
- package/dist/src/extensions/Blocks/Recommendation/utils/nodeConfigWriter.d.ts +3 -1
- package/dist/src/extensions/Blocks/Recommendation/utils/strategyCommit.d.ts +7 -0
- package/dist/src/stores/config.d.ts +0 -20
- package/dist/static/styles/components/recommendation-strategy.css.js +0 -9
- package/package.json +1 -1
- package/dist/components/organisms/base/AuthErrorModal.vue.js +0 -18
- package/dist/components/organisms/base/AuthErrorModal.vue2.js +0 -42
- package/dist/composables/useAuthError.js +0 -52
- package/dist/config/migrator/recommendationPartnerMigrator.js +0 -50
- package/dist/extensions/Blocks/Recommendation/utils/partnerScope.js +0 -25
- package/dist/src/components/organisms/base/AuthErrorModal.vue.d.ts +0 -2
- package/dist/src/composables/useAuthError.d.ts +0 -12
- package/dist/src/config/migrator/recommendationPartnerMigrator.d.ts +0 -19
- package/dist/src/extensions/Blocks/Recommendation/utils/partnerScope.d.ts +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModuleFolderDefaults as
|
|
2
|
-
import { object as
|
|
1
|
+
import { ModuleFolderDefaults as f } from "../../enums/defaults.js";
|
|
2
|
+
import { object as o, number as n, optional as e, string as t, picklist as i, pipe as m, minLength as b, custom as h, boolean as a, array as c, transform as C, record as k, fallback as R, literal as u, looseObject as g, variant as I, union as y, unknown as r, lazy as T } from "../../node_modules/valibot/dist/index.js";
|
|
3
3
|
const p = {
|
|
4
4
|
/** Promotional/marketing emails */
|
|
5
5
|
PROMOTIONAL: 1,
|
|
@@ -12,14 +12,14 @@ const p = {
|
|
|
12
12
|
ARCHITECT: 49,
|
|
13
13
|
/** Unsubscribe page builder */
|
|
14
14
|
UNSUBSCRIBE_PAGES: 97
|
|
15
|
-
}, A =
|
|
15
|
+
}, A = o({
|
|
16
16
|
/** Unique identifier for the template being edited */
|
|
17
|
-
templateId:
|
|
17
|
+
templateId: m(
|
|
18
18
|
t(),
|
|
19
19
|
b(1, "templateId is required")
|
|
20
20
|
),
|
|
21
21
|
/** Unique identifier for the user editing the template */
|
|
22
|
-
userId:
|
|
22
|
+
userId: m(
|
|
23
23
|
t(),
|
|
24
24
|
b(1, "userId is required")
|
|
25
25
|
),
|
|
@@ -33,20 +33,20 @@ const p = {
|
|
|
33
33
|
* Stripo doc id) and is never an endpoint id.
|
|
34
34
|
*/
|
|
35
35
|
templateLibraryId: e(t())
|
|
36
|
-
}), L =
|
|
36
|
+
}), L = o({
|
|
37
37
|
/** Fallback font name (e.g., "Georgia") */
|
|
38
38
|
name: t(),
|
|
39
39
|
/** Fallback font family (e.g., "serif" or "sans-serif") */
|
|
40
40
|
family: t()
|
|
41
|
-
}), M =
|
|
41
|
+
}), M = o({
|
|
42
42
|
/** Partner/organization name (required) */
|
|
43
|
-
name:
|
|
43
|
+
name: m(
|
|
44
44
|
t(),
|
|
45
45
|
b(1, "partner.name is required")
|
|
46
46
|
),
|
|
47
47
|
/** Product type identifier */
|
|
48
48
|
productType: e(
|
|
49
|
-
|
|
49
|
+
i([
|
|
50
50
|
l.EMAIL,
|
|
51
51
|
l.ARCHITECT,
|
|
52
52
|
l.UNSUBSCRIBE_PAGES
|
|
@@ -55,14 +55,14 @@ const p = {
|
|
|
55
55
|
),
|
|
56
56
|
/** Message type (promotional or transactional) */
|
|
57
57
|
messageType: e(
|
|
58
|
-
|
|
58
|
+
i([p.PROMOTIONAL, p.TRANSACTIONAL]),
|
|
59
59
|
p.PROMOTIONAL
|
|
60
60
|
),
|
|
61
61
|
/** Display name for the current user */
|
|
62
62
|
username: e(t(), "Guido User"),
|
|
63
63
|
/** Fallback font settings from partner settings — used to match backend size calculation */
|
|
64
64
|
fallbackFont: e(L)
|
|
65
|
-
}), E =
|
|
65
|
+
}), E = o({
|
|
66
66
|
/** Display text for the dynamic content */
|
|
67
67
|
text: t(),
|
|
68
68
|
/** Template variable value (e.g., {{username}}) */
|
|
@@ -71,33 +71,33 @@ const p = {
|
|
|
71
71
|
fallback: e(t()),
|
|
72
72
|
/** Optional formatting options */
|
|
73
73
|
format: e(
|
|
74
|
-
|
|
74
|
+
o({
|
|
75
75
|
key: t(),
|
|
76
76
|
value: t()
|
|
77
77
|
})
|
|
78
78
|
)
|
|
79
|
-
}),
|
|
79
|
+
}), S = T(() => g({
|
|
80
80
|
text: e(t()),
|
|
81
81
|
// eslint-disable-next-line camelcase -- backend field name
|
|
82
82
|
tag_text: e(t()),
|
|
83
83
|
value: e(t()),
|
|
84
|
-
children: e(c(
|
|
84
|
+
children: e(c(S)),
|
|
85
85
|
// eslint-disable-next-line camelcase -- backend field name
|
|
86
|
-
select_items: e(c(
|
|
87
|
-
})), N =
|
|
86
|
+
select_items: e(c(S))
|
|
87
|
+
})), N = k(
|
|
88
88
|
t(),
|
|
89
|
-
R(c(
|
|
90
|
-
), P =
|
|
89
|
+
R(c(S), [])
|
|
90
|
+
), P = g({
|
|
91
91
|
/** Block ID (matches the dictionary key and the legacy HTML element id) */
|
|
92
|
-
id: e(
|
|
92
|
+
id: e(n()),
|
|
93
93
|
/** Decimal places for price display (legacy data may use string or number) */
|
|
94
|
-
decimalCount: e(
|
|
94
|
+
decimalCount: e(y([t(), n()])),
|
|
95
95
|
/** Pinned product IDs (empty array when filter-driven) */
|
|
96
96
|
productIds: e(c(r())),
|
|
97
97
|
/** Whether the block requested live products at send time */
|
|
98
|
-
sendProductRequestFlag: e(
|
|
98
|
+
sendProductRequestFlag: e(a()),
|
|
99
99
|
/** Whether to randomize product order */
|
|
100
|
-
shuffleProducts: e(
|
|
100
|
+
shuffleProducts: e(a()),
|
|
101
101
|
/** Filter rules driving product selection */
|
|
102
102
|
filters: e(c(r())),
|
|
103
103
|
/** Currency code (e.g. 'EUR') — sometimes absent in legacy data */
|
|
@@ -111,28 +111,28 @@ const p = {
|
|
|
111
111
|
/** Snapshot of products as rendered by the legacy block */
|
|
112
112
|
recommendedProducts: e(c(r())),
|
|
113
113
|
/** Number of product cards per row */
|
|
114
|
-
cardsInRow: e(
|
|
114
|
+
cardsInRow: e(n()),
|
|
115
115
|
/** Mobile-only padding (right) */
|
|
116
|
-
mobileRightPadding: e(
|
|
116
|
+
mobileRightPadding: e(n()),
|
|
117
117
|
/** Mobile-only padding (left) */
|
|
118
|
-
mobileLeftPadding: e(
|
|
118
|
+
mobileLeftPadding: e(n()),
|
|
119
119
|
/** Disable responsive scaling */
|
|
120
|
-
unresponsive: e(
|
|
120
|
+
unresponsive: e(a()),
|
|
121
121
|
/** Layout orientation ('vertical' | 'horizontal') */
|
|
122
122
|
orientation: e(t()),
|
|
123
123
|
/** Whether long text is trimmed */
|
|
124
|
-
textTrimming: e(
|
|
124
|
+
textTrimming: e(a()),
|
|
125
125
|
/** Block type marker used by some legacy variants */
|
|
126
126
|
blockType: e(t()),
|
|
127
127
|
/** Size variant marker (legacy data may use string or number) */
|
|
128
|
-
size: e(
|
|
128
|
+
size: e(y([t(), n()])),
|
|
129
129
|
/** Vertical responsiveness flag (legacy size=1 variants) */
|
|
130
|
-
verticalResponsiveness: e(
|
|
130
|
+
verticalResponsiveness: e(a()),
|
|
131
131
|
/** Legacy "Move to next line" price placement toggle (cardPricePlacement.js) */
|
|
132
|
-
isPriceMovedToNextLine: e(
|
|
132
|
+
isPriceMovedToNextLine: e(a()),
|
|
133
133
|
/** Legacy "Hide if same as discounted" / delete-price-for-zero-sale toggle */
|
|
134
|
-
isPriceDeletedForZeroSale: e(
|
|
135
|
-
}),
|
|
134
|
+
isPriceDeletedForZeroSale: e(a())
|
|
135
|
+
}), v = o({
|
|
136
136
|
/**
|
|
137
137
|
* Legacy recommendation block configs keyed by block ID.
|
|
138
138
|
* Pass this when loading a template authored with the v1
|
|
@@ -140,10 +140,10 @@ const p = {
|
|
|
140
140
|
* strategy, currency, locale, and layout data.
|
|
141
141
|
*/
|
|
142
142
|
recommendationConfigs: e(
|
|
143
|
-
|
|
143
|
+
k(t(), P),
|
|
144
144
|
{}
|
|
145
145
|
)
|
|
146
|
-
}),
|
|
146
|
+
}), x = o({
|
|
147
147
|
/** Initial HTML content */
|
|
148
148
|
html: e(t(), ""),
|
|
149
149
|
/** Initial CSS content */
|
|
@@ -163,9 +163,9 @@ const p = {
|
|
|
163
163
|
/** Valid custom field attribute names from the partner's categorized fields */
|
|
164
164
|
customFieldAttributes: e(c(t()), []),
|
|
165
165
|
/** Selected unsubscribe page IDs */
|
|
166
|
-
selectedUnsubscribePages: e(c(
|
|
166
|
+
selectedUnsubscribePages: e(c(n()), []),
|
|
167
167
|
/** Force recreate template in Stripo storage (use true when updating externally modified templates) */
|
|
168
|
-
forceRecreate: e(
|
|
168
|
+
forceRecreate: e(a(), !1),
|
|
169
169
|
/**
|
|
170
170
|
* Consumer-persisted tracking-id high-water mark (SD-141414). Used as the id floor
|
|
171
171
|
* during migration so a rolled-back document never re-mints retired tracking ids.
|
|
@@ -174,75 +174,62 @@ const p = {
|
|
|
174
174
|
* mount. Non-numbers still fail, like every other field in this schema.
|
|
175
175
|
*/
|
|
176
176
|
trackIdCounter: e(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
m(
|
|
178
|
+
n(),
|
|
179
|
+
C((s) => Number.isFinite(s) ? Math.max(0, Math.floor(s)) : 0)
|
|
180
180
|
),
|
|
181
181
|
0
|
|
182
182
|
),
|
|
183
|
-
/**
|
|
184
|
-
* The variation's saved `recommendationCampaignUrls`, keyed by block id. A block
|
|
185
|
-
* that still names a strategy but has no entry here had it dropped by a
|
|
186
|
-
* cross-account duplicate, so Guido resets it on load (SD-151945). Omit it and
|
|
187
|
-
* that check is off, and so is any non-object value such as `null`, because a reset
|
|
188
|
-
* cannot be undone. Hosts send `[]` for an empty map.
|
|
189
|
-
*/
|
|
190
|
-
recommendationCampaignUrls: e(
|
|
191
|
-
i(
|
|
192
|
-
r(),
|
|
193
|
-
y((n) => n && typeof n == "object" ? { ...n } : void 0)
|
|
194
|
-
)
|
|
195
|
-
),
|
|
196
183
|
/** Migration-only inputs (legacy block configs) */
|
|
197
|
-
migration: e(
|
|
198
|
-
}),
|
|
184
|
+
migration: e(v, {})
|
|
185
|
+
}), D = o({
|
|
199
186
|
/** Sender display name */
|
|
200
187
|
senderName: e(t(), ""),
|
|
201
188
|
/** Email subject line */
|
|
202
189
|
subject: e(t(), "")
|
|
203
|
-
}),
|
|
190
|
+
}), O = o({
|
|
204
191
|
/** Locale for the editor UI */
|
|
205
192
|
locale: e(t(), "en"),
|
|
206
193
|
/** Path to translations object */
|
|
207
194
|
translationsPath: e(t(), "window.trans[Object.keys(window.trans)[0]]"),
|
|
208
195
|
/** Migration date for template compatibility */
|
|
209
|
-
migrationDate: e(
|
|
196
|
+
migrationDate: e(n(), 1759696858),
|
|
210
197
|
/** Email header settings */
|
|
211
|
-
emailHeader: e(
|
|
198
|
+
emailHeader: e(D, { senderName: "", subject: "" }),
|
|
212
199
|
/** Folder name for user-saved modules (used by Stripo plugin panel for path construction) */
|
|
213
|
-
savedModulesFolderName: e(t(),
|
|
200
|
+
savedModulesFolderName: e(t(), f.SAVED_MODULES),
|
|
214
201
|
/** Folder name for default/prebuilt modules (used by Stripo plugin panel for path construction) */
|
|
215
|
-
defaultModulesFolderName: e(t(),
|
|
216
|
-
}), F =
|
|
202
|
+
defaultModulesFolderName: e(t(), f.DEFAULT_MODULES)
|
|
203
|
+
}), F = o({
|
|
217
204
|
/** Whether to show the header bar */
|
|
218
|
-
showHeader: e(
|
|
205
|
+
showHeader: e(a(), !0),
|
|
219
206
|
/** Custom label for back button (if shown) */
|
|
220
207
|
backButtonLabel: e(t())
|
|
221
|
-
}), U =
|
|
208
|
+
}), U = o({
|
|
222
209
|
/** Enable dynamic content insertion */
|
|
223
|
-
dynamicContent: e(
|
|
210
|
+
dynamicContent: e(a(), !0),
|
|
224
211
|
/** Enable save as template functionality */
|
|
225
|
-
saveAsTemplate: e(
|
|
212
|
+
saveAsTemplate: e(a(), !0),
|
|
226
213
|
/** Enable version history */
|
|
227
|
-
versionHistory: e(
|
|
214
|
+
versionHistory: e(a(), !0),
|
|
228
215
|
/** Enable test message sending */
|
|
229
|
-
testMessage: e(
|
|
216
|
+
testMessage: e(a(), !0),
|
|
230
217
|
/** Enable display conditions */
|
|
231
|
-
displayConditions: e(
|
|
218
|
+
displayConditions: e(a(), !0),
|
|
232
219
|
/** Enable unsubscribe block */
|
|
233
|
-
unsubscribe: e(
|
|
220
|
+
unsubscribe: e(a(), !0),
|
|
234
221
|
/** Disable modules panel in the editor */
|
|
235
|
-
modulesDisabled: e(
|
|
222
|
+
modulesDisabled: e(a(), !1),
|
|
236
223
|
/** Enable Liquid template syntax */
|
|
237
|
-
liquidSyntax: e(
|
|
224
|
+
liquidSyntax: e(a(), !1),
|
|
238
225
|
/** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
|
|
239
|
-
autosave: e(
|
|
226
|
+
autosave: e(a(), !1),
|
|
240
227
|
/** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
|
|
241
|
-
allowlistEnabled: e(
|
|
228
|
+
allowlistEnabled: e(a(), !1),
|
|
242
229
|
/** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
|
|
243
|
-
linkTrackingIds: e(
|
|
244
|
-
reusableRecommendationStrategy: e(
|
|
245
|
-
}), B =
|
|
230
|
+
linkTrackingIds: e(a(), !1),
|
|
231
|
+
reusableRecommendationStrategy: e(a(), !1)
|
|
232
|
+
}), B = i([
|
|
246
233
|
"amp-accordion",
|
|
247
234
|
"amp-carousel",
|
|
248
235
|
"amp-form-controls",
|
|
@@ -256,7 +243,7 @@ const p = {
|
|
|
256
243
|
"text-block",
|
|
257
244
|
"timer-block",
|
|
258
245
|
"video-block"
|
|
259
|
-
]), w =
|
|
246
|
+
]), w = i([
|
|
260
247
|
"dynamic-content",
|
|
261
248
|
"checkbox-block",
|
|
262
249
|
"radio-button-block",
|
|
@@ -264,7 +251,7 @@ const p = {
|
|
|
264
251
|
"unsubscribe-block",
|
|
265
252
|
"coupon-block",
|
|
266
253
|
"items-block"
|
|
267
|
-
]),
|
|
254
|
+
]), H = o({
|
|
268
255
|
/** Default blocks to exclude from the editor */
|
|
269
256
|
excludeDefaults: e(
|
|
270
257
|
c(B),
|
|
@@ -275,14 +262,14 @@ const p = {
|
|
|
275
262
|
c(w),
|
|
276
263
|
[]
|
|
277
264
|
)
|
|
278
|
-
}), d =
|
|
265
|
+
}), d = o({
|
|
279
266
|
/** Unique identifier for the rule */
|
|
280
267
|
id: t(),
|
|
281
268
|
/** Human-readable description */
|
|
282
269
|
description: e(t()),
|
|
283
270
|
/** Priority for rule ordering (lower = earlier) */
|
|
284
|
-
priority:
|
|
285
|
-
}),
|
|
271
|
+
priority: n()
|
|
272
|
+
}), _ = o({
|
|
286
273
|
...d.entries,
|
|
287
274
|
type: u("replace"),
|
|
288
275
|
/** String to search for */
|
|
@@ -290,8 +277,8 @@ const p = {
|
|
|
290
277
|
/** Replacement string */
|
|
291
278
|
replacement: t(),
|
|
292
279
|
/** Replace all occurrences (default: false) */
|
|
293
|
-
replaceAll: e(
|
|
294
|
-
}),
|
|
280
|
+
replaceAll: e(a())
|
|
281
|
+
}), j = o({
|
|
295
282
|
...d.entries,
|
|
296
283
|
type: u("regex"),
|
|
297
284
|
/** Regex pattern string */
|
|
@@ -300,41 +287,41 @@ const p = {
|
|
|
300
287
|
replacement: t(),
|
|
301
288
|
/** Regex flags (e.g., 'gi') */
|
|
302
289
|
flags: e(t())
|
|
303
|
-
}), q =
|
|
290
|
+
}), q = o({
|
|
304
291
|
...d.entries,
|
|
305
292
|
type: u("remove"),
|
|
306
293
|
/** Strings or patterns to remove */
|
|
307
294
|
targets: c(t())
|
|
308
|
-
}), G =
|
|
295
|
+
}), G = o({
|
|
309
296
|
...d.entries,
|
|
310
297
|
type: u("custom"),
|
|
311
298
|
/** Custom processor function */
|
|
312
|
-
processor:
|
|
313
|
-
(
|
|
299
|
+
processor: h(
|
|
300
|
+
(s) => typeof s == "function",
|
|
314
301
|
"processor must be a function"
|
|
315
302
|
)
|
|
316
303
|
}), V = I("type", [
|
|
317
|
-
H,
|
|
318
304
|
_,
|
|
305
|
+
j,
|
|
319
306
|
q,
|
|
320
307
|
G
|
|
321
|
-
]), z =
|
|
308
|
+
]), z = o({
|
|
322
309
|
/** Custom compiler rules to apply */
|
|
323
310
|
customRules: e(c(V), []),
|
|
324
311
|
/** Skip default compiler rules */
|
|
325
|
-
ignoreDefaultRules: e(
|
|
326
|
-
}), Z =
|
|
312
|
+
ignoreDefaultRules: e(a(), !1)
|
|
313
|
+
}), Z = o({
|
|
327
314
|
/**
|
|
328
315
|
* External validation handler called before save completes.
|
|
329
316
|
* Return false to cancel the save operation.
|
|
330
317
|
*/
|
|
331
318
|
externalValidation: e(
|
|
332
|
-
|
|
333
|
-
(
|
|
319
|
+
h(
|
|
320
|
+
(s) => typeof s == "function",
|
|
334
321
|
"externalValidation must be a function"
|
|
335
322
|
)
|
|
336
323
|
)
|
|
337
|
-
}), Q =
|
|
324
|
+
}), Q = o({
|
|
338
325
|
// Required sections
|
|
339
326
|
/** Identity configuration (required) */
|
|
340
327
|
identity: A,
|
|
@@ -342,22 +329,22 @@ const p = {
|
|
|
342
329
|
partner: M,
|
|
343
330
|
// Optional sections (with defaults)
|
|
344
331
|
/** Template content and presets */
|
|
345
|
-
template: e(
|
|
332
|
+
template: e(x, {}),
|
|
346
333
|
/** Editor settings */
|
|
347
|
-
editor: e(
|
|
334
|
+
editor: e(O, {}),
|
|
348
335
|
/** UI configuration */
|
|
349
336
|
ui: e(F, {}),
|
|
350
337
|
/** Feature toggles */
|
|
351
338
|
features: e(U, {}),
|
|
352
339
|
/** Block configuration */
|
|
353
|
-
blocks: e(
|
|
340
|
+
blocks: e(H, {}),
|
|
354
341
|
/** Compiler configuration */
|
|
355
342
|
compiler: e(z, {}),
|
|
356
343
|
/** Callbacks and event handlers */
|
|
357
344
|
callbacks: e(Z, {})
|
|
358
345
|
});
|
|
359
346
|
export {
|
|
360
|
-
|
|
347
|
+
H as BlocksSchema,
|
|
361
348
|
Z as CallbacksSchema,
|
|
362
349
|
V as CompilerRuleSchema,
|
|
363
350
|
z as CompilerSchema,
|
|
@@ -365,10 +352,10 @@ export {
|
|
|
365
352
|
G as CustomRuleSchema,
|
|
366
353
|
B as DefaultBlockTypeSchema,
|
|
367
354
|
N as DynamicContentListSchema,
|
|
368
|
-
|
|
355
|
+
S as DynamicContentNodeSchema,
|
|
369
356
|
E as DynamicContentSchema,
|
|
370
|
-
|
|
371
|
-
|
|
357
|
+
O as EditorSchema,
|
|
358
|
+
D as EmailHeaderSchema,
|
|
372
359
|
L as FallbackFontSchema,
|
|
373
360
|
U as FeaturesSchema,
|
|
374
361
|
Q as GuidoConfigSchema,
|
|
@@ -377,10 +364,10 @@ export {
|
|
|
377
364
|
p as MessageType,
|
|
378
365
|
M as PartnerSchema,
|
|
379
366
|
l as ProductType,
|
|
380
|
-
|
|
367
|
+
j as RegexRuleSchema,
|
|
381
368
|
q as RemoveRuleSchema,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
369
|
+
_ as ReplaceRuleSchema,
|
|
370
|
+
v as TemplateMigrationSchema,
|
|
371
|
+
x as TemplateSchema,
|
|
385
372
|
F as UISchema
|
|
386
373
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import o from "./Guido.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
var
|
|
3
|
+
import i from "../_virtual/_plugin-vue2_normalizer.js";
|
|
4
|
+
var t = function() {
|
|
5
5
|
var a = this, r = a._self._c, e = a._self._setupProxy;
|
|
6
|
-
return r("div", { ref: "wrapperRef", staticClass: "guido-editor__wrapper", class: { "guido-editor__no-header": e.noHeader } }, [r(e.HeaderWrapper, { ref: "headerWrapperRef" }), r(e.AutoSaveController), e.editorStore.isPreviewModeOpen ? r(e.PreviewContainer) : a._e(), r("div", { directives: [{ name: "show", rawName: "v-show", value: !e.previewStore.isLoaded, expression: "!previewStore.isLoaded" }], staticClass: "guido-editor__container", class: { "guido-editor__no-header": e.noHeader }, attrs: { id: "guido-editor" } }), r(e.Toaster), r(e.
|
|
6
|
+
return r("div", { ref: "wrapperRef", staticClass: "guido-editor__wrapper", class: { "guido-editor__no-header": e.noHeader } }, [r(e.HeaderWrapper, { ref: "headerWrapperRef" }), r(e.AutoSaveController), e.editorStore.isPreviewModeOpen ? r(e.PreviewContainer) : a._e(), r("div", { directives: [{ name: "show", rawName: "v-show", value: !e.previewStore.isLoaded, expression: "!previewStore.isLoaded" }], staticClass: "guido-editor__container", class: { "guido-editor__no-header": e.noHeader }, attrs: { id: "guido-editor" } }), r(e.Toaster), r(e.FilterSelectionDrawer), e.isRrsEnabled || e.hasAssignedStrategy ? r(e.AssignStrategyDrawer) : a._e(), e.isRrsEnabled || e.hasAssignedStrategy ? r(e.RemoveStrategyModal) : a._e(), e.isRrsEnabled ? r(e.LegacyStrategyUpdatedModal) : a._e(), r(e.SaveAsTemplateDrawer), e.isTestPartner() ? a._e() : r(e.OnboardingWrapper, { on: { "onboarding-finished": function(_) {
|
|
7
7
|
return e.emit("onboarding:finished");
|
|
8
8
|
} } }), r(e.UnsubscribeWrapper), r(e.LoadingWrapper)], 1);
|
|
9
|
-
}, s = [], n = /* @__PURE__ */
|
|
9
|
+
}, s = [], n = /* @__PURE__ */ i(
|
|
10
10
|
o,
|
|
11
|
-
|
|
11
|
+
t,
|
|
12
12
|
s,
|
|
13
13
|
!1,
|
|
14
14
|
null,
|
|
15
|
-
"
|
|
15
|
+
"36867e2e"
|
|
16
16
|
);
|
|
17
|
-
const
|
|
17
|
+
const g = n.exports;
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
g as default
|
|
20
20
|
};
|