@useinsider/guido 3.21.2-beta.cfc5be2 → 3.21.2-beta.d9d48aa
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/README.md +9 -1
- package/dist/@types/config/schemas.js +19 -19
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +76 -74
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.js +17 -0
- package/dist/components/organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue2.js +30 -0
- package/dist/composables/useBlocksConfig.js +24 -32
- package/dist/composables/useModuleRepair.js +32 -23
- package/dist/config/migrator/index.js +10 -9
- package/dist/config/migrator/legacyUnsubscribeTextMigrator.js +16 -0
- package/dist/enums/academy.js +2 -2
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +92 -93
- package/dist/node_modules/valibot/dist/index.js +261 -297
- package/dist/src/@types/config/schemas.d.ts +4 -4
- package/dist/src/composables/useConfig.d.ts +2 -2
- package/dist/src/composables/useModuleRepair.d.ts +2 -11
- package/dist/src/config/migrator/legacyUnsubscribeTextMigrator.d.ts +1 -0
- package/dist/src/enums/academy.d.ts +1 -1
- package/dist/src/stores/config.d.ts +20 -166
- package/dist/src/stores/editor.d.ts +25 -0
- package/dist/src/utils/legacyUnsubscribeConversion.d.ts +10 -0
- package/dist/stores/config.js +6 -13
- package/dist/stores/editor.js +15 -14
- package/dist/utils/legacyUnsubscribeConversion.js +49 -0
- package/dist/utils/pairProductVariables.js +14 -15
- package/package.json +1 -1
- package/dist/@types/display-condition.js +0 -25
- package/dist/components/organisms/display-conditions/CodeEditorField.vue.js +0 -20
- package/dist/components/organisms/display-conditions/CodeEditorField.vue2.js +0 -30
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue.js +0 -30
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue2.js +0 -71
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue.js +0 -34
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue2.js +0 -57
- package/dist/components/organisms/display-conditions/DisplayConditionsHost.vue.js +0 -17
- package/dist/components/organisms/display-conditions/DisplayConditionsHost.vue2.js +0 -22
- package/dist/composables/useDisplayConditions.js +0 -102
- package/dist/enums/display-condition.js +0 -12
- package/dist/extensions/DisplayConditions/bridge.js +0 -17
- package/dist/extensions/DisplayConditions/constants.js +0 -17
- package/dist/extensions/DisplayConditions/control.js +0 -178
- package/dist/extensions/DisplayConditions/display-conditions.css.js +0 -201
- package/dist/extensions/DisplayConditions/extension.js +0 -28
- package/dist/extensions/DisplayConditions/iconsRegistry.js +0 -20
- package/dist/extensions/DisplayConditions/library.js +0 -27
- package/dist/extensions/DisplayConditions/settingsPanel.js +0 -17
- package/dist/services/displayConditionApi.js +0 -39
- package/dist/src/@types/display-condition.d.ts +0 -59
- package/dist/src/components/organisms/display-conditions/CodeEditorField.vue.d.ts +0 -43
- package/dist/src/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue.d.ts +0 -2
- package/dist/src/components/organisms/display-conditions/DisplayConditionsHost.vue.d.ts +0 -2
- package/dist/src/composables/useDisplayConditions.d.ts +0 -16
- package/dist/src/enums/display-condition.d.ts +0 -15
- package/dist/src/extensions/DisplayConditions/bridge.d.ts +0 -6
- package/dist/src/extensions/DisplayConditions/constants.d.ts +0 -14
- package/dist/src/extensions/DisplayConditions/control.d.ts +0 -23
- package/dist/src/extensions/DisplayConditions/extension.d.ts +0 -2
- package/dist/src/extensions/DisplayConditions/iconsRegistry.d.ts +0 -4
- package/dist/src/extensions/DisplayConditions/library.d.ts +0 -8
- package/dist/src/extensions/DisplayConditions/settingsPanel.d.ts +0 -5
- package/dist/src/mock/api/display-conditions.d.ts +0 -2
- package/dist/src/services/displayConditionApi.d.ts +0 -8
- package/dist/src/stores/display-condition.d.ts +0 -81
- package/dist/src/utils/displayCondition.d.ts +0 -10
- package/dist/src/utils/protectTableText.d.ts +0 -2
- package/dist/stores/display-condition.js +0 -28
- package/dist/utils/displayCondition.js +0 -26
- package/dist/utils/protectTableText.js +0 -22
- /package/dist/src/components/organisms/{display-conditions/DisplayConditionCreateDrawer.vue.d.ts → unsubscribe/LegacyUnsubscribeConvertedModal.vue.d.ts} +0 -0
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { migrateCheckbox as i } from "./checkboxMigrator.js";
|
|
2
2
|
import { migrateCouponBlock as e } from "./couponBlockMigrator.js";
|
|
3
3
|
import { migrateItemsBlock as a } from "./itemsBlockMigrator.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { migrateLegacyUnsubscribeText as n } from "./legacyUnsubscribeTextMigrator.js";
|
|
5
|
+
import { migrateProductNameLink as c } from "./productNameLinkMigrator.js";
|
|
6
|
+
import { migrateRadioButton as g } from "./radioButtonMigrator.js";
|
|
7
|
+
import { migrateRecommendation as f } from "./recommendationMigrator.js";
|
|
8
|
+
import { migrateRecommendationPartnerScope as p } from "./recommendationPartnerMigrator.js";
|
|
9
|
+
import { migrateRecommendationTitle as s } from "./recommendationTitleMigrator.js";
|
|
9
10
|
import { migrateSocialIcons as d } from "./socialIconMigrator.js";
|
|
10
11
|
import { migrateUnsubscribe as l } from "./unsubscribeMigrator.js";
|
|
11
|
-
const
|
|
12
|
-
let m =
|
|
13
|
-
return m = i(m), m =
|
|
12
|
+
const T = async (o, t = {}, r) => {
|
|
13
|
+
let m = o;
|
|
14
|
+
return m = i(m), m = g(m), m = n(m), m = await l(m), m = e(m), m = f(m, t), r && (m = p(m, r)), m = s(m), m = a(m), m = c(m), m = d(m), m;
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
T as migrate
|
|
17
18
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useConfigStore as o } from "../../stores/config.js";
|
|
2
|
+
import { useEditorStore as s } from "../../stores/editor.js";
|
|
3
|
+
import { hasLegacyUnsubscribeClass as c, convertLegacyUnsubscribeInDocumentHtml as i } from "../../utils/legacyUnsubscribeConversion.js";
|
|
4
|
+
const b = (e) => {
|
|
5
|
+
try {
|
|
6
|
+
if (!c(e) || !o().isFeatureEnabled("legacyUnsubscribeConversion"))
|
|
7
|
+
return e;
|
|
8
|
+
const { html: r, converted: t } = i(e);
|
|
9
|
+
return t && (s().isLegacyUnsubscribeModalRequested = !0), r;
|
|
10
|
+
} catch (r) {
|
|
11
|
+
return console.error("LegacyUnsubscribeTextMigrator failed:", r), e;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
b as migrateLegacyUnsubscribeText
|
|
16
|
+
};
|
package/dist/enums/academy.js
CHANGED
|
@@ -2,8 +2,8 @@ const e = "https://academy.insiderone.com", o = {
|
|
|
2
2
|
EMAIL_EDITOR: `${e}/docs/email-drag-and-drop-editor`,
|
|
3
3
|
GLOBAL_UNSUBSCRIBE: `${e}/docs/global-unsubscribe-preference-center`,
|
|
4
4
|
AMP_FOR_EMAILS: `${e}/docs/amp-for-emails`,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
EMAIL_RECOMMENDATION_BLOCK: `${e}/docs/new-editor-email-recommendation-block`,
|
|
6
|
+
LEGACY_UNSUBSCRIBE_MODULE: `${e}/docs/new-editor-add-unsubscribe-pages-into-emails`
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
o as ACADEMY_LINKS
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-b8f24f34] .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-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__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-baf7a5dd]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-
|
|
1
|
+
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-b8f24f34] .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-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__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-baf7a5dd]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-6cdd5182]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-6cdd5182]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-6cdd5182]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .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-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{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-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-19d8cb42] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}
|
|
@@ -22,13 +22,13 @@ ${s.map((E) => ` - ${E}`).join(`
|
|
|
22
22
|
*/
|
|
23
23
|
validateImplementation(t, r) {
|
|
24
24
|
var P;
|
|
25
|
-
const s = [], E = r.name,
|
|
25
|
+
const s = [], E = r.name, Z = Object.getPrototypeOf(this);
|
|
26
26
|
t.forEach((u) => {
|
|
27
27
|
if (typeof this[u] != "function") {
|
|
28
28
|
s.push(`Method ${u}() is not defined`);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
Z[u] === r.prototype[u] && s.push(`Method ${u}() must be implemented (currently using base class error-throwing implementation)`);
|
|
32
32
|
}), d.validatedClasses.add(r), s.length > 0 ? (d.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((P = process.env) == null ? void 0 : P.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
@@ -41,7 +41,7 @@ ${s.map((E) => ` - ${E}`).join(`
|
|
|
41
41
|
};
|
|
42
42
|
v.validatedClasses = /* @__PURE__ */ new Set();
|
|
43
43
|
v.validationErrors = /* @__PURE__ */ new Map();
|
|
44
|
-
var i = v,
|
|
44
|
+
var i = v, q = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e))(q || {}), U = class T extends i {
|
|
45
45
|
constructor() {
|
|
46
46
|
super(T.REQUIRED_METHODS, T);
|
|
47
47
|
}
|
|
@@ -230,7 +230,7 @@ var i = v, j = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.CONTAINER = "CONTAI
|
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
232
|
U.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
|
|
233
|
-
var et = U,
|
|
233
|
+
var et = U, j = class g extends i {
|
|
234
234
|
constructor() {
|
|
235
235
|
super(g.REQUIRED_METHODS, g);
|
|
236
236
|
}
|
|
@@ -246,7 +246,7 @@ var et = U, J = class g extends i {
|
|
|
246
246
|
throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
-
|
|
249
|
+
j.REQUIRED_METHODS = ["getPreviewInnerHtml"];
|
|
250
250
|
var tt = class {
|
|
251
251
|
/**
|
|
252
252
|
* Generates HTML representation for a block item
|
|
@@ -321,7 +321,7 @@ var tt = class {
|
|
|
321
321
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
322
322
|
getModulesTabIconName(e) {
|
|
323
323
|
}
|
|
324
|
-
},
|
|
324
|
+
}, J = class b extends i {
|
|
325
325
|
constructor() {
|
|
326
326
|
super(b.REQUIRED_METHODS, b);
|
|
327
327
|
}
|
|
@@ -338,50 +338,50 @@ var tt = class {
|
|
|
338
338
|
throw new Error("Method onClick() must be implemented by the subclass");
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
|
-
|
|
342
|
-
var
|
|
341
|
+
J.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
|
|
342
|
+
var ee = {
|
|
343
343
|
src: "src",
|
|
344
344
|
alt: "alt",
|
|
345
345
|
href: "href",
|
|
346
346
|
width: "width",
|
|
347
347
|
height: "height"
|
|
348
348
|
}, rt = {
|
|
349
|
-
BLOCK_IMAGE:
|
|
350
|
-
}, w = "esd-block-button", K = "esd-block-text", H = "esd-block-image",
|
|
349
|
+
BLOCK_IMAGE: ee
|
|
350
|
+
}, w = "esd-block-button", K = "esd-block-text", H = "esd-block-image", te = "esd-structure", re = "esd-block-video", ae = "esd-block-social", ne = "esd-block-banner", se = "esd-block-timer", ie = "esd-block-menu", le = "esd-block-html", Ee = "esd-block-spacer", oe = "esd-container-frame", de = "esd-stripe", ue = "esd-amp-form", c = ((e) => (e.BUTTON = `.${w}`, e.TEXT = `.${K}`, e.IMAGE = `.${H}`, e.STRUCTURE = `.${te}`, e.VIDEO = `.${re}`, e.SOCIAL = `.${ae}`, e.BANNER = `.${ne}`, e.TIMER = `.${se}`, e.MENU = `.${ie}`, e.HTML = `.${le}`, e.SPACER = `.${Ee}`, e.CONTAINER = `.${oe}`, e.STRIPE = `.${de}`, e.FORM = `.${ue}`, e))(c || {}), ce = /* @__PURE__ */ ((e) => (e.BLOCK_IMAGE = "BLOCK_IMAGE", e.BLOCK_TEXT = "BLOCK_TEXT", e.BLOCK_BUTTON = "BLOCK_BUTTON", e.BLOCK_SPACER = "BLOCK_SPACER", e.BLOCK_VIDEO = "BLOCK_VIDEO", e.BLOCK_SOCIAL = "BLOCK_SOCIAL", e.BLOCK_BANNER = "BLOCK_BANNER", e.BLOCK_TIMER = "BLOCK_TIMER", e.BLOCK_MENU = "BLOCK_MENU", e.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", e.BLOCK_HTML = "BLOCK_HTML", e.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", e.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", e.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", e.CONTAINER = "CONTAINER", e.FORM_CONTAINER = "FORM_CONTAINER", e.STRUCTURE = "STRUCTURE", e.STRIPE = "STRIPE", e.EMPTY_CONTAINER = "EMPTY_CONTAINER", e.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", e.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", e.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", e))(ce || {}), F = /* @__PURE__ */ ((e) => (e.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", e.APPLY_CONDITION = "applyCondition", e.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", e.BACKGROUND_COLOR = "backgroundColor", e.BACKGROUND_IMAGE = "generalImageContainer", e.TEXT_COLOR = "textColor", e.TEXT_STYLE = "textStyle", e.TEXT_SIZE = "textSize", e.TEXT_LINE_SPACING = "textLineSpacing", e.TEXT_ALIGN = "textAlign", e.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", e.HIDDEN_NODE = "hiddenNode", e.SMART_BLOCK = "smartBlock", e.SYNCHRONIZED_MODULE = "synchronizedModuleForm", e.FONT_FAMILY = "generalFontFamilyForm", e.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", e.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", e))(F || {}), k = /* @__PURE__ */ ((e) => (e.ADJUST_TO_WIDTH = "adjustToWidth", e.ALIGNMENT = "buttonAlignment", e.BORDER = "buttonBorder", e.BORDER_RADIUS = "buttonBorderRadius", e.COLOR = "buttonColor", e.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", e.EXTERNAL_INDENTS = "buttonExternalIndents", e.FIXED_HEIGHT = "buttonFixedHeightForm", e.FONT_COLOR = "buttonFontColor", e.FONT_FAMILY = "buttonFontFamily", e.FONT_SIZE = "buttonFontSize", e.FONT_WEIGHT = "buttonFontWeight", e.ICON = "buttonIconContainer", e.ICON_ALIGN = "buttonIconAlign", e.ICON_INDENT = "buttonIconIndent", e.ICON_WIDTH = "buttonIconWidth", e.IMAGE = "buttonImageForm", e.INTERNAL_INDENTS = "buttonInternalIndents", e.LINK = "buttonLink", e.MIME_TYPE = "buttonMimeTypeForm", e.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", e.TEXT = "buttonText", e.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", e.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", e.HOVERED_COLOR = "hoveredButtonColorForm", e.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", e))(k || {}), X = /* @__PURE__ */ ((e) => (e.HIDDEN_NODE = "hiddenNodeText", e.PARAGRAPH_STYLE = "paragraphStyleForm", e.ALIGN = "textAlignmentForm", e.ANCHOR_CONTAINER = "textAnchorForm", e.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", e.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", e.FONT_COLOR = "textBlockFontColor", e.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", e.FONT_FAMILY = "textFontFamily", e.FONT_SIZE = "textBlockFontSize", e.FONT_WEIGHT = "textBlockFontWeight", e.DIRECTION = "textBlockDirectionForm", e.INSERT_FORM = "textBlockInsertForm", e.LETTER_SPACING = "textBlockLetterSpacing", e.LINK_DATA = "textBlockLinkDataForm", e.FORMAT = "textBlockTextFormatForm", e.FIXED_HEIGHT = "textFixedHeightForm", e.INTERNAL_INDENTS = "textInternalIndents", e.LINE_HEIGHT = "textLineHeightForm", e.MIME_TYPE = "textMimeTypeForm", e.NO_LINE_WRAPS = "textNoLineWrapsForm", e))(X || {}), p = /* @__PURE__ */ ((e) => (e.ALT_TEXT = "altText", e.LINK = "blockLink", e.ALIGNMENT = "imageAlignment", e.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", e.BORDER_RADIUS = "imageBorderRadiusForm", e.IMAGE = "imageImageForm", e.EXTERNAL_INDENTS = "imageExternalIndents", e.MIME_TYPE = "imageMimeTypeForm", e.RESPONSIVE = "imageResponsive", e.ROLLOVER_IMAGE = "imageRolloverImageForm", e.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", e.SIZE = "imageSizeContainer", e))(p || {}), Te = /* @__PURE__ */ ((e) => (e.BACKGROUND_COLOR = "containerBackgroundColorForm", e.BORDER_FORM = "containerBorderForm", e.BORDER_RADIUS = "containerBorderRadiusForm", e.EXTERNAL_INDENTS = "containerExternalIndentsForm", e.IMAGE_CONTAINER = "containerImageContainerForm", e.MIME_TYPE = "containerMimeTypeForm", e.DISPLAY_CONDITIONS = "displayConditions", e.HIDDEN_NODE = "containerHiddenNodeForm", e))(Te || {}), n = {
|
|
351
351
|
BLOCK_BUTTON: k,
|
|
352
352
|
BLOCK_TEXT: X,
|
|
353
353
|
BLOCK_IMAGE: p,
|
|
354
354
|
GENERAL: F
|
|
355
|
-
},
|
|
355
|
+
}, ge = /* @__PURE__ */ ((e) => (e.SAVE_AS_MODULE = "saveAsModule", e.IMPROVE_WITH_AI = "improveWithAI", e.MOVE = "move", e.COPY = "copy", e.REMOVE = "remove", e.CLEAR_CONTAINER = "clearContainer", e.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition", e))(ge || {}), be = /* @__PURE__ */ ((e) => (e.previewDeviceMode = "previewDeviceMode", e.panelPosition = "panelPosition", e.themeMode = "themeMode", e))(be || {}), Ie = /* @__PURE__ */ ((e) => (e.DESKTOP = "DESKTOP", e.MOBILE = "MOBILE", e))(Ie || {}), he = /* @__PURE__ */ ((e) => (e.SETTINGS = "settings", e.STYLES = "styles", e.DATA = "data", e))(he || {}), a = {
|
|
356
356
|
name: "name",
|
|
357
357
|
disabled: "disabled"
|
|
358
|
-
},
|
|
358
|
+
}, me = {
|
|
359
359
|
...a,
|
|
360
360
|
caption: "caption",
|
|
361
361
|
icon: "icon"
|
|
362
|
-
},
|
|
362
|
+
}, Oe = {
|
|
363
363
|
...a,
|
|
364
364
|
caption: "caption"
|
|
365
|
-
},
|
|
365
|
+
}, Le = {
|
|
366
366
|
...a,
|
|
367
367
|
minValue: "min-value",
|
|
368
368
|
maxValue: "max-value",
|
|
369
369
|
step: "step",
|
|
370
370
|
counterRangeEnabled: "counter-range-enabled",
|
|
371
371
|
counterRangeHeight: "counter-range-height"
|
|
372
|
-
},
|
|
372
|
+
}, Re = {
|
|
373
373
|
...a,
|
|
374
374
|
placeholder: "placeholder",
|
|
375
375
|
minDate: "min-date"
|
|
376
|
-
},
|
|
376
|
+
}, _e = {
|
|
377
377
|
...a,
|
|
378
378
|
text: "text",
|
|
379
379
|
hint: "hint"
|
|
380
|
-
},
|
|
380
|
+
}, Ce = {
|
|
381
381
|
...a,
|
|
382
382
|
type: "type",
|
|
383
383
|
icon: "icon"
|
|
384
|
-
},
|
|
384
|
+
}, Ae = {
|
|
385
385
|
...a,
|
|
386
386
|
buttons: "buttons"
|
|
387
387
|
}, G = {
|
|
@@ -390,23 +390,23 @@ var te = {
|
|
|
390
390
|
multiSelect: "multi-select",
|
|
391
391
|
placeholder: "placeholder",
|
|
392
392
|
items: "items"
|
|
393
|
-
},
|
|
393
|
+
}, Ne = {
|
|
394
394
|
...G,
|
|
395
395
|
addCustomFontOption: "add-custom-font-option"
|
|
396
|
-
},
|
|
396
|
+
}, De = {
|
|
397
397
|
...a,
|
|
398
398
|
text: "text",
|
|
399
399
|
value: "value"
|
|
400
|
-
},
|
|
400
|
+
}, Me = {
|
|
401
401
|
...a,
|
|
402
402
|
text: "text",
|
|
403
403
|
hint: "hint",
|
|
404
404
|
icon: "icon",
|
|
405
405
|
value: "value"
|
|
406
|
-
},
|
|
406
|
+
}, Se = {
|
|
407
407
|
...a,
|
|
408
408
|
buttons: "buttons"
|
|
409
|
-
},
|
|
409
|
+
}, Be = {
|
|
410
410
|
...a,
|
|
411
411
|
text: "text",
|
|
412
412
|
hint: "hint",
|
|
@@ -415,16 +415,16 @@ var te = {
|
|
|
415
415
|
}, V = {
|
|
416
416
|
...a,
|
|
417
417
|
placeholder: "placeholder"
|
|
418
|
-
},
|
|
418
|
+
}, xe = {
|
|
419
419
|
...V,
|
|
420
420
|
hasMergeTagIcon: "has-merge-tag-icon",
|
|
421
421
|
maxLength: "max-length",
|
|
422
422
|
singleLine: "single-line"
|
|
423
|
-
},
|
|
423
|
+
}, ve = {
|
|
424
424
|
...a,
|
|
425
425
|
resizable: "resizable",
|
|
426
426
|
placeholder: "placeholder"
|
|
427
|
-
},
|
|
427
|
+
}, ye = {
|
|
428
428
|
...a,
|
|
429
429
|
img: "img",
|
|
430
430
|
src: "src",
|
|
@@ -435,62 +435,62 @@ var te = {
|
|
|
435
435
|
isActive: "is-active",
|
|
436
436
|
visibility: "visibility",
|
|
437
437
|
transform: "transform"
|
|
438
|
-
},
|
|
438
|
+
}, Pe = {
|
|
439
439
|
...a,
|
|
440
440
|
controlId: "control-id"
|
|
441
|
-
},
|
|
441
|
+
}, Ue = {
|
|
442
442
|
...a,
|
|
443
443
|
expanded: "expanded"
|
|
444
|
-
},
|
|
444
|
+
}, we = {
|
|
445
445
|
...a,
|
|
446
446
|
icon: "icon",
|
|
447
447
|
position: "position"
|
|
448
|
-
},
|
|
448
|
+
}, Ke = {
|
|
449
449
|
...a
|
|
450
|
-
},
|
|
450
|
+
}, He = {
|
|
451
451
|
...a,
|
|
452
452
|
icon: "icon"
|
|
453
|
-
},
|
|
453
|
+
}, Fe = {
|
|
454
454
|
...a
|
|
455
|
-
},
|
|
455
|
+
}, ke = {
|
|
456
456
|
...a,
|
|
457
457
|
blockId: "block-id"
|
|
458
|
-
},
|
|
458
|
+
}, Xe = {
|
|
459
459
|
...a
|
|
460
|
-
},
|
|
460
|
+
}, pe = {
|
|
461
461
|
...a,
|
|
462
462
|
placeholder: "placeholder"
|
|
463
463
|
}, at = {
|
|
464
464
|
DEFAULT: a,
|
|
465
|
-
BUTTON:
|
|
466
|
-
CHECKBOX:
|
|
467
|
-
CHECK_BUTTONS:
|
|
465
|
+
BUTTON: me,
|
|
466
|
+
CHECKBOX: Oe,
|
|
467
|
+
CHECK_BUTTONS: Se,
|
|
468
468
|
COLOR: a,
|
|
469
|
-
COUNTER:
|
|
470
|
-
DATEPICKER:
|
|
471
|
-
LABEL:
|
|
472
|
-
MESSAGE:
|
|
473
|
-
RADIO_BUTTONS:
|
|
469
|
+
COUNTER: Le,
|
|
470
|
+
DATEPICKER: Re,
|
|
471
|
+
LABEL: _e,
|
|
472
|
+
MESSAGE: Ce,
|
|
473
|
+
RADIO_BUTTONS: Ae,
|
|
474
474
|
SELECTPICKER: G,
|
|
475
|
-
FONT_FAMILY_SELECT:
|
|
475
|
+
FONT_FAMILY_SELECT: Ne,
|
|
476
476
|
SWITCHER: a,
|
|
477
477
|
TEXT: V,
|
|
478
|
-
RICH_TEXT:
|
|
479
|
-
TEXTAREA:
|
|
480
|
-
ICON:
|
|
481
|
-
CHECK_ITEM:
|
|
482
|
-
SELECT_ITEM:
|
|
483
|
-
RADIO_ITEM:
|
|
484
|
-
NESTED_CONTROL:
|
|
485
|
-
EXPANDABLE:
|
|
486
|
-
ORDERABLE:
|
|
487
|
-
ORDERABLE_ITEM:
|
|
488
|
-
ORDERABLE_ICON:
|
|
489
|
-
REPEATABLE:
|
|
490
|
-
DRAGGABLE_BLOCK:
|
|
491
|
-
AMP_FORM_SERVICE_PICKER:
|
|
492
|
-
MULTIPLE_SELECT:
|
|
493
|
-
},
|
|
478
|
+
RICH_TEXT: xe,
|
|
479
|
+
TEXTAREA: ve,
|
|
480
|
+
ICON: ye,
|
|
481
|
+
CHECK_ITEM: Me,
|
|
482
|
+
SELECT_ITEM: De,
|
|
483
|
+
RADIO_ITEM: Be,
|
|
484
|
+
NESTED_CONTROL: Pe,
|
|
485
|
+
EXPANDABLE: Ue,
|
|
486
|
+
ORDERABLE: we,
|
|
487
|
+
ORDERABLE_ITEM: Ke,
|
|
488
|
+
ORDERABLE_ICON: He,
|
|
489
|
+
REPEATABLE: Fe,
|
|
490
|
+
DRAGGABLE_BLOCK: ke,
|
|
491
|
+
AMP_FORM_SERVICE_PICKER: Xe,
|
|
492
|
+
MULTIPLE_SELECT: pe
|
|
493
|
+
}, Ge = /* @__PURE__ */ ((e) => (e.BUTTON = "UE-BUTTON", e.CHECKBOX = "UE-CHECKBOX", e.CHECK_BUTTONS = "UE-CHECK-BUTTONS", e.COLOR = "UE-COLOR", e.COUNTER = "UE-COUNTER", e.DATEPICKER = "UE-DATEPICKER", e.LABEL = "UE-LABEL", e.MESSAGE = "UE-MESSAGE", e.RADIO_BUTTONS = "UE-RADIO-BUTTONS", e.SELECTPICKER = "UE-SELECT", e.SWITCHER = "UE-SWITCHER", e.TEXT = "UE-TEXT", e.RICH_TEXT = "UE-RICH-TEXT", e.TEXTAREA = "UE-TEXTAREA", e.CHECK_ITEM = "UE-CHECK-ITEM", e.RADIO_ITEM = "UE-RADIO-ITEM", e.SELECT_ITEM = "UE-SELECT-ITEM", e.ICON = "UE-ICON", e.MERGETAGS = "UE-MERGETAGS", e.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", e.NESTED_CONTROL = "UE-NESTED-CONTROL", e.EXPANDABLE = "UE-EXPANDABLE", e.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", e.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", e.ORDERABLE = "UE-ORDERABLE", e.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", e.ORDERABLE_ICON = "UE-ORDERABLE-ICON", e.REPEATABLE = "UE-REPEATABLE", e.DRAGGABLE_BLOCK = "UE-DRAGGABLE-BLOCK", e.AMP_FORM_SERVICE_PICKER = "UE-AMP-FORM-SERVICE-PICKER", e.MULTIPLE_SELECT = "UE-MULTIPLE_SELECT", e.SCROLLABLE = "UE-SCROLLABLE-CONTAINER", e.POPUP_PANEL = "UE-POPUP-PANEL", e))(Ge || {}), y = class {
|
|
494
494
|
/**
|
|
495
495
|
* @description returns map of nodes parent control operates on
|
|
496
496
|
*/
|
|
@@ -654,7 +654,7 @@ var te = {
|
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
656
|
Q.REQUIRED_METHODS = ["getId", "getTemplate"];
|
|
657
|
-
var It = Q,
|
|
657
|
+
var It = Q, Ve = class h extends i {
|
|
658
658
|
constructor() {
|
|
659
659
|
super(h.REQUIRED_METHODS, h);
|
|
660
660
|
}
|
|
@@ -723,7 +723,7 @@ var It = Q, Qe = class h extends i {
|
|
|
723
723
|
onDestroy() {
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
|
-
|
|
726
|
+
Ve.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
|
|
727
727
|
var f = class extends y {
|
|
728
728
|
getTargetNodes(e) {
|
|
729
729
|
const t = e.querySelectorAll(c.IMAGE), r = e.asElement().hasClass(H) ? [e] : [];
|
|
@@ -737,7 +737,7 @@ var f = class extends y {
|
|
|
737
737
|
getParentControlId() {
|
|
738
738
|
return n.BLOCK_IMAGE.SIZE;
|
|
739
739
|
}
|
|
740
|
-
},
|
|
740
|
+
}, Qe = class m extends i {
|
|
741
741
|
constructor() {
|
|
742
742
|
super(m.REQUIRED_METHODS, m);
|
|
743
743
|
}
|
|
@@ -801,7 +801,7 @@ var f = class extends y {
|
|
|
801
801
|
onDocumentChanged() {
|
|
802
802
|
}
|
|
803
803
|
};
|
|
804
|
-
|
|
804
|
+
Qe.REQUIRED_METHODS = ["getId", "getIcon", "getName", "getTemplate", "getTabIndex"];
|
|
805
805
|
var Y = class O extends i {
|
|
806
806
|
constructor() {
|
|
807
807
|
super(O.REQUIRED_METHODS, O);
|
|
@@ -881,7 +881,7 @@ var Ot = Y, Lt = class L {
|
|
|
881
881
|
getParentControlId() {
|
|
882
882
|
return n.GENERAL.TEXT_STYLE;
|
|
883
883
|
}
|
|
884
|
-
},
|
|
884
|
+
}, fe = class {
|
|
885
885
|
constructor(e) {
|
|
886
886
|
this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.generalPanelTabs = [], this.modulesPanelTabs = [], this.i18n = e == null ? void 0 : e.i18n, this.styles = e == null ? void 0 : e.styles, this.previewStyles = e == null ? void 0 : e.previewStyles, this.uiElements = (e == null ? void 0 : e.uiElements) ?? [], this.uiElementTagRegistry = e == null ? void 0 : e.uiElementTagRegistry, this.controls = (e == null ? void 0 : e.controls) ?? [], this.settingsPanelRegistry = e == null ? void 0 : e.settingsPanelRegistry, this.contextActions = (e == null ? void 0 : e.contextActions) ?? [], this.blocks = (e == null ? void 0 : e.blocks) ?? [], this.generalPanelTabs = (e == null ? void 0 : e.generalPanelTabs) ?? [], this.modulesPanelTabs = (e == null ? void 0 : e.modulesPanelTabs) ?? [], this.externalSmartElementsLibrary = e == null ? void 0 : e.externalSmartElementsLibrary, this.externalImageLibrary = e == null ? void 0 : e.externalImageLibrary, this.externalImageLibraryTab = e == null ? void 0 : e.externalImageLibraryTab, this.externalMergeTagsLibrary = e == null ? void 0 : e.externalMergeTagsLibrary, this.externalAiAssistant = e == null ? void 0 : e.externalAiAssistant, this.externalDisplayConditionsLibrary = e == null ? void 0 : e.externalDisplayConditionsLibrary, this.externalVideoLibrary = e == null ? void 0 : e.externalVideoLibrary, this.blocksPanel = e == null ? void 0 : e.blocksPanel, this.iconsRegistry = e == null ? void 0 : e.iconsRegistry, this.id = Math.random().toString(36).substring(2);
|
|
887
887
|
}
|
|
@@ -1022,7 +1022,7 @@ var Ot = Y, Lt = class L {
|
|
|
1022
1022
|
return this.modulesPanelTabs.push(e), this;
|
|
1023
1023
|
}
|
|
1024
1024
|
build() {
|
|
1025
|
-
return new
|
|
1025
|
+
return new fe({
|
|
1026
1026
|
i18n: this.i18n,
|
|
1027
1027
|
styles: this.styles.map((e) => e.trim()).join(`
|
|
1028
1028
|
`),
|
|
@@ -1046,7 +1046,7 @@ var Ot = Y, Lt = class L {
|
|
|
1046
1046
|
modulesPanelTabs: this.modulesPanelTabs
|
|
1047
1047
|
});
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, Ye = class R extends i {
|
|
1050
1050
|
constructor() {
|
|
1051
1051
|
super(R.REQUIRED_METHODS, R);
|
|
1052
1052
|
}
|
|
@@ -1054,8 +1054,8 @@ var Ot = Y, Lt = class L {
|
|
|
1054
1054
|
throw new Error("Method openAiAssistant() must be implemented by the subclass");
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
|
|
1058
|
-
var $ = class _ extends i {
|
|
1057
|
+
Ye.REQUIRED_METHODS = ["openAiAssistant"];
|
|
1058
|
+
var $e = class _ extends i {
|
|
1059
1059
|
constructor() {
|
|
1060
1060
|
super(_.REQUIRED_METHODS, _);
|
|
1061
1061
|
}
|
|
@@ -1095,8 +1095,8 @@ var $ = class _ extends i {
|
|
|
1095
1095
|
throw new Error("Method getContextActionIndex() must be implemented by the subclass");
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
|
-
|
|
1099
|
-
var
|
|
1098
|
+
$e.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
|
|
1099
|
+
var We = class C extends i {
|
|
1100
1100
|
constructor() {
|
|
1101
1101
|
super(C.REQUIRED_METHODS, C);
|
|
1102
1102
|
}
|
|
@@ -1154,7 +1154,7 @@ var je = class M extends i {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
};
|
|
1156
1156
|
je.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
|
|
1157
|
-
var
|
|
1157
|
+
var $ = class S extends i {
|
|
1158
1158
|
constructor() {
|
|
1159
1159
|
super(S.REQUIRED_METHODS, S);
|
|
1160
1160
|
}
|
|
@@ -1162,8 +1162,8 @@ var W = class S extends i {
|
|
|
1162
1162
|
throw new Error("Method registerIconsSvg() must be implemented by the subclass");
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
|
|
1166
|
-
var
|
|
1165
|
+
$.REQUIRED_METHODS = ["registerIconsSvg"];
|
|
1166
|
+
var Bt = $, xt = class {
|
|
1167
1167
|
constructor(e) {
|
|
1168
1168
|
this.hidden = !1, this.key = e;
|
|
1169
1169
|
}
|
|
@@ -1205,7 +1205,7 @@ var xt = W, vt = class {
|
|
|
1205
1205
|
params: this.params
|
|
1206
1206
|
};
|
|
1207
1207
|
}
|
|
1208
|
-
},
|
|
1208
|
+
}, W = class B extends i {
|
|
1209
1209
|
constructor() {
|
|
1210
1210
|
super(B.REQUIRED_METHODS, B);
|
|
1211
1211
|
}
|
|
@@ -1260,8 +1260,8 @@ var xt = W, vt = class {
|
|
|
1260
1260
|
throw new Error("Method getTemplate() must be implemented by the subclass");
|
|
1261
1261
|
}
|
|
1262
1262
|
};
|
|
1263
|
-
|
|
1264
|
-
var
|
|
1263
|
+
W.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
|
|
1264
|
+
var vt = W, z = class x extends i {
|
|
1265
1265
|
constructor() {
|
|
1266
1266
|
super(x.REQUIRED_METHODS, x);
|
|
1267
1267
|
}
|
|
@@ -1269,14 +1269,14 @@ var yt = z, Z = class x extends i {
|
|
|
1269
1269
|
throw new Error("Method registerUiElements() must be implemented by the subclass");
|
|
1270
1270
|
}
|
|
1271
1271
|
};
|
|
1272
|
-
|
|
1273
|
-
var
|
|
1272
|
+
z.REQUIRED_METHODS = ["registerUiElements"];
|
|
1273
|
+
var yt = z;
|
|
1274
1274
|
export {
|
|
1275
1275
|
et as Block,
|
|
1276
1276
|
rt as BlockAttr,
|
|
1277
|
-
|
|
1277
|
+
q as BlockCompositionType,
|
|
1278
1278
|
c as BlockSelector,
|
|
1279
|
-
|
|
1279
|
+
ce as BlockType,
|
|
1280
1280
|
tt as BlocksPanel,
|
|
1281
1281
|
y as BuiltInControl,
|
|
1282
1282
|
n as BuiltInControlTypes,
|
|
@@ -1293,23 +1293,22 @@ export {
|
|
|
1293
1293
|
Tt as ButtonTextBuiltInControl,
|
|
1294
1294
|
gt as ButtonTextSizeBuiltInControl,
|
|
1295
1295
|
bt as ButtonTextStyleAndFontColorBuiltInControl,
|
|
1296
|
-
|
|
1297
|
-
|
|
1296
|
+
Te as ContainerControls,
|
|
1297
|
+
ge as ContextActionType,
|
|
1298
1298
|
It as Control,
|
|
1299
|
-
|
|
1300
|
-
|
|
1299
|
+
be as EditorStatePropertyType,
|
|
1300
|
+
fe as Extension,
|
|
1301
1301
|
St as ExtensionBuilder,
|
|
1302
|
-
Bt as ExternalDisplayConditionsLibrary,
|
|
1303
1302
|
F as GeneralControls,
|
|
1304
|
-
|
|
1303
|
+
Bt as IconsRegistry,
|
|
1305
1304
|
p as ImageControls,
|
|
1306
1305
|
ht as ImageMarginsBuiltInControl,
|
|
1307
1306
|
mt as ImageSizeBuiltInControl,
|
|
1308
|
-
|
|
1309
|
-
|
|
1307
|
+
xt as ModificationDescription,
|
|
1308
|
+
Ie as PreviewDeviceMode,
|
|
1310
1309
|
Ot as SettingsPanelRegistry,
|
|
1311
1310
|
Lt as SettingsPanelTab,
|
|
1312
|
-
|
|
1311
|
+
he as SettingsTab,
|
|
1313
1312
|
Rt as TextAlignBuiltInControl,
|
|
1314
1313
|
_t as TextColorBuiltInControl,
|
|
1315
1314
|
X as TextControls,
|
|
@@ -1319,7 +1318,7 @@ export {
|
|
|
1319
1318
|
Dt as TextSizeBuiltInControl,
|
|
1320
1319
|
Mt as TextStyleBuiltInControl,
|
|
1321
1320
|
at as UEAttr,
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1321
|
+
vt as UIElement,
|
|
1322
|
+
yt as UIElementTagRegistry,
|
|
1323
|
+
Ge as UIElementType
|
|
1325
1324
|
};
|