@useinsider/guido 1.0.3-beta.cc614d6 → 1.0.3-beta.cd0d7f3
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 +35 -0
- package/dist/components/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +44 -41
- package/dist/components/organisms/header/RightSlot.vue.js +1 -1
- package/dist/components/organisms/header/RightSlot.vue2.js +23 -22
- package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +99 -0
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +20 -18
- package/dist/composables/useActionsApi.js +1 -1
- package/dist/composables/useBlocksConfig.js +1 -2
- package/dist/composables/useGuidoActions.js +19 -9
- package/dist/composables/useHtmlCompiler.js +15 -13
- package/dist/composables/useHtmlValidator.js +36 -35
- package/dist/composables/useStripo.js +38 -36
- package/dist/config/compiler/itemsCompilerRules.js +14 -0
- package/dist/config/compiler/unsubscribeCompilerRules.js +33 -28
- package/dist/enums/defaults.js +2 -1
- package/dist/enums/extensions/recommendationBlock.js +2 -2
- package/dist/enums/onboarding.js +7 -3
- package/dist/enums/unsubscribe.js +27 -25
- package/dist/extensions/Blocks/Checkbox/block.js +5 -2
- package/dist/extensions/Blocks/Items/block.js +66 -0
- package/dist/extensions/Blocks/Items/controls/button/link.js +68 -0
- package/dist/extensions/Blocks/Items/controls/cardComposition.js +193 -0
- package/dist/extensions/Blocks/Items/controls/image/link.js +68 -0
- package/dist/extensions/Blocks/Items/controls/index.js +217 -0
- package/dist/extensions/Blocks/Items/controls/name/trimming.js +70 -0
- package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +107 -0
- package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +123 -0
- package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +76 -0
- package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +61 -0
- package/dist/extensions/Blocks/Items/controls/settingsControl.js +309 -0
- package/dist/extensions/Blocks/Items/enums/controlEnums.js +5 -0
- package/dist/extensions/Blocks/Items/enums/productEnums.js +272 -0
- package/dist/extensions/Blocks/Items/enums/settingsEnums.js +76 -0
- package/dist/extensions/Blocks/Items/extension.js +19 -0
- package/dist/extensions/Blocks/Items/iconsRegistry.js +32 -0
- package/dist/extensions/Blocks/Items/items.css.js +23 -0
- package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +62 -0
- package/dist/extensions/Blocks/Items/layouts/vertical.html.js +61 -0
- package/dist/extensions/Blocks/Items/settingsPanel.js +132 -0
- package/dist/extensions/Blocks/Items/store/items-block.js +71 -0
- package/dist/extensions/Blocks/Items/template.js +194 -0
- package/dist/extensions/Blocks/Items/utils/configBlockUtils.js +17 -0
- package/dist/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.js +28 -0
- package/dist/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.js +67 -0
- package/dist/extensions/Blocks/Items/utils/updateAttributes.js +44 -0
- package/dist/extensions/Blocks/RadioButton/block.js +5 -2
- package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +43 -43
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +1 -1
- package/dist/extensions/Blocks/common-control.js +174 -110
- package/dist/extensions/Blocks/controlFactories.js +223 -0
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +213 -168
- package/dist/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/lodash-es/_SetCache.js +13 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
- package/dist/node_modules/lodash-es/_arrayMap.js +8 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +8 -0
- package/dist/node_modules/lodash-es/_arraySome.js +9 -0
- package/dist/node_modules/lodash-es/_baseEach.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +13 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +8 -0
- package/dist/node_modules/lodash-es/_baseGet.js +11 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +6 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +32 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +29 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +14 -0
- package/dist/node_modules/lodash-es/_baseMap.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +12 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +8 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +9 -0
- package/dist/node_modules/lodash-es/_baseRange.js +9 -0
- package/dist/node_modules/lodash-es/_baseToString.js +18 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +8 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +10 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +15 -0
- package/dist/node_modules/lodash-es/_createRange.js +11 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +40 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +45 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +36 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +12 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/lodash-es/_getTag.js +28 -0
- package/dist/node_modules/lodash-es/_hasPath.js +19 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +10 -0
- package/dist/node_modules/lodash-es/_isKey.js +12 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +9 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +8 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +11 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +7 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_setToArray.js +9 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +10 -0
- package/dist/node_modules/lodash-es/_toKey.js +10 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +9 -0
- package/dist/node_modules/lodash-es/flatMap.js +8 -0
- package/dist/node_modules/lodash-es/get.js +8 -0
- package/dist/node_modules/lodash-es/hasIn.js +8 -0
- package/dist/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/lodash-es/keysIn.js +3 -3
- package/dist/node_modules/lodash-es/map.js +11 -0
- package/dist/node_modules/lodash-es/property.js +10 -0
- package/dist/node_modules/lodash-es/range.js +5 -0
- package/dist/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/lodash-es/toFinite.js +14 -0
- package/dist/node_modules/lodash-es/toNumber.js +22 -0
- package/dist/node_modules/lodash-es/toString.js +7 -0
- package/dist/package.json.js +1 -1
- package/dist/services/recommendationApi.js +13 -19
- package/dist/src/@types/generic.d.ts +1 -0
- package/dist/src/components/Guido.vue.d.ts +1 -0
- package/dist/src/components/organisms/onboarding/ItemsOnboarding.vue.d.ts +2 -0
- package/dist/src/composables/useGuidoActions.d.ts +9 -0
- package/dist/src/config/compiler/itemsCompilerRules.d.ts +2 -0
- package/dist/src/enums/onboarding.d.ts +4 -0
- package/dist/src/extensions/Blocks/Checkbox/block.d.ts +1 -0
- package/dist/src/extensions/Blocks/Items/block.d.ts +13 -0
- package/dist/src/extensions/Blocks/Items/controls/button/link.d.ts +14 -0
- package/dist/src/extensions/Blocks/Items/controls/cardComposition.d.ts +33 -0
- package/dist/src/extensions/Blocks/Items/controls/image/link.d.ts +14 -0
- package/dist/src/extensions/Blocks/Items/controls/index.d.ts +501 -0
- package/dist/src/extensions/Blocks/Items/controls/name/trimming.d.ts +14 -0
- package/dist/src/extensions/Blocks/Items/controls/price/currencyLocation.d.ts +19 -0
- package/dist/src/extensions/Blocks/Items/controls/price/currencySymbol.d.ts +21 -0
- package/dist/src/extensions/Blocks/Items/controls/price/formattedPrice.d.ts +14 -0
- package/dist/src/extensions/Blocks/Items/controls/price/hideDiscount.d.ts +13 -0
- package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +45 -0
- package/dist/src/extensions/Blocks/Items/enums/controlEnums.d.ts +61 -0
- package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +161 -0
- package/dist/src/extensions/Blocks/Items/enums/settingsEnums.d.ts +49 -0
- package/dist/src/extensions/Blocks/Items/extension.d.ts +2 -0
- package/dist/src/extensions/Blocks/Items/iconsRegistry.d.ts +4 -0
- package/dist/src/extensions/Blocks/Items/settingsPanel.d.ts +4 -0
- package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +41 -0
- package/dist/src/extensions/Blocks/Items/template.d.ts +16 -0
- package/dist/src/extensions/Blocks/Items/utils/configBlockUtils.d.ts +23 -0
- package/dist/src/extensions/Blocks/Items/utils/syncAttributeFromConfigBlock.d.ts +32 -0
- package/dist/src/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.d.ts +44 -0
- package/dist/src/extensions/Blocks/Items/utils/updateAttributes.d.ts +8 -0
- package/dist/src/extensions/Blocks/RadioButton/block.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +1 -1
- package/dist/src/extensions/Blocks/common-control.d.ts +44 -7
- package/dist/src/extensions/Blocks/controlFactories.d.ts +312 -0
- package/dist/src/stores/config.d.ts +2 -1
- package/dist/src/stores/dynamic-content.d.ts +1 -1
- package/dist/src/stores/editor.d.ts +1 -1
- package/dist/src/stores/onboarding.d.ts +335 -1
- package/dist/src/stores/preview.d.ts +1 -1
- package/dist/src/stores/recommendation.d.ts +1 -1
- package/dist/src/stores/save-as-template.d.ts +1 -1
- package/dist/src/stores/toaster.d.ts +1 -1
- package/dist/src/stores/unsubscribe.d.ts +1 -1
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/environmentUtil.d.ts +5 -0
- package/dist/src/utils/pairProductVariables.d.ts +7 -0
- package/dist/static/styles/customEditorStyle.css.js +1 -1
- package/dist/stores/config.js +5 -5
- package/dist/stores/dynamic-content.js +1 -1
- package/dist/stores/editor.js +1 -1
- package/dist/stores/onboarding.js +44 -36
- package/dist/stores/preview.js +1 -1
- package/dist/stores/recommendation.js +3 -3
- package/dist/stores/save-as-template.js +2 -2
- package/dist/stores/toaster.js +1 -1
- package/dist/stores/unsubscribe.js +1 -1
- package/dist/stores/version-history.js +4 -4
- package/dist/utils/environmentUtil.js +4 -0
- package/dist/utils/genericUtil.js +16 -17
- package/dist/utils/pairProductVariables.js +136 -0
- package/package.json +11 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var M = class u {
|
|
2
2
|
/**
|
|
3
3
|
* Validates that all required methods are properly implemented in the subclass.
|
|
4
4
|
* @param requiredMethods - Array of method names that must be implemented
|
|
@@ -21,7 +21,7 @@ ${s.map((E) => ` - ${E}`).join(`
|
|
|
21
21
|
* This validation runs only once per class type and results are cached.
|
|
22
22
|
*/
|
|
23
23
|
validateImplementation(e, r) {
|
|
24
|
-
var
|
|
24
|
+
var I;
|
|
25
25
|
const s = [], E = r.name, T = Object.getPrototypeOf(this);
|
|
26
26
|
e.forEach((l) => {
|
|
27
27
|
if (typeof this[l] != "function") {
|
|
@@ -29,12 +29,12 @@ ${s.map((E) => ` - ${E}`).join(`
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
T[l] === r.prototype[l] && s.push(`Method ${l}() must be implemented (currently using base class error-throwing implementation)`);
|
|
32
|
-
}), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((
|
|
32
|
+
}), u.validatedClasses.add(r), s.length > 0 ? (u.validationErrors.set(r, s), console.error(`[${E} Validation] ${E} validation failed:`, s)) : typeof process < "u" && ((I = process.env) == null ? void 0 : I.NODE_ENV) === "development" && console.log(`[${E} Validation] ✅ ${E} validated successfully`);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var
|
|
35
|
+
M.validatedClasses = /* @__PURE__ */ new Set();
|
|
36
|
+
M.validationErrors = /* @__PURE__ */ new Map();
|
|
37
|
+
var a = M, et = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.STRUCTURE = "STRUCTURE", t.CONTAINER = "CONTAINER", t))(et || {}), y = class c extends a {
|
|
38
38
|
constructor() {
|
|
39
39
|
super(c.REQUIRED_METHODS, c);
|
|
40
40
|
}
|
|
@@ -176,6 +176,16 @@ var i = B, x = class c extends i {
|
|
|
176
176
|
getName() {
|
|
177
177
|
throw new Error("Method getName() must be implemented by the subclass");
|
|
178
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Retrieves the name of block in the block panel.
|
|
181
|
+
* Can contain html markup
|
|
182
|
+
* If not implemented by the subclass, getName() function will be used to display name in the block panel
|
|
183
|
+
*
|
|
184
|
+
* @return {string} The name of the block panel.
|
|
185
|
+
*/
|
|
186
|
+
getSettingsPanelName() {
|
|
187
|
+
return "";
|
|
188
|
+
}
|
|
179
189
|
/**
|
|
180
190
|
* Gets a short description of the block shown to the user, often as a tooltip in the block panel.
|
|
181
191
|
* Use `this.api.translate()` for localization.
|
|
@@ -185,8 +195,8 @@ var i = B, x = class c extends i {
|
|
|
185
195
|
throw new Error("Method getDescription() must be implemented by the subclass");
|
|
186
196
|
}
|
|
187
197
|
};
|
|
188
|
-
|
|
189
|
-
var
|
|
198
|
+
y.REQUIRED_METHODS = ["getId", "getTemplate", "getIcon", "getName", "getDescription"];
|
|
199
|
+
var Xt = y, rt = class _ extends a {
|
|
190
200
|
constructor() {
|
|
191
201
|
super(_.REQUIRED_METHODS, _);
|
|
192
202
|
}
|
|
@@ -203,10 +213,10 @@ var wt = x, tt = class _ extends i {
|
|
|
203
213
|
throw new Error("Method getPreviewInnerHtml() must be implemented by the subclass");
|
|
204
214
|
}
|
|
205
215
|
};
|
|
206
|
-
|
|
207
|
-
var
|
|
216
|
+
rt.REQUIRED_METHODS = ["getPreviewInnerHtml"];
|
|
217
|
+
var nt = class h extends a {
|
|
208
218
|
constructor() {
|
|
209
|
-
super(
|
|
219
|
+
super(h.REQUIRED_METHODS, h);
|
|
210
220
|
}
|
|
211
221
|
getId() {
|
|
212
222
|
throw new Error("Method getId() must be implemented by the subclass");
|
|
@@ -221,82 +231,84 @@ var et = class R extends i {
|
|
|
221
231
|
throw new Error("Method onClick() must be implemented by the subclass");
|
|
222
232
|
}
|
|
223
233
|
};
|
|
224
|
-
|
|
225
|
-
var
|
|
234
|
+
nt.REQUIRED_METHODS = ["getId", "getIcon", "getLabel", "onClick"];
|
|
235
|
+
var st = {
|
|
226
236
|
src: "src",
|
|
227
237
|
alt: "alt",
|
|
238
|
+
href: "href",
|
|
239
|
+
width: "width"
|
|
240
|
+
}, at = {
|
|
228
241
|
href: "href"
|
|
229
|
-
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
BLOCK_BUTTON:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
GENERAL: p
|
|
239
|
-
}, Rt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Rt || {}), a = {
|
|
242
|
+
}, kt = {
|
|
243
|
+
BLOCK_IMAGE: st,
|
|
244
|
+
BLOCK_BUTTON: at
|
|
245
|
+
}, U = "esd-block-button", p = "esd-block-text", K = "esd-block-image", it = "esd-structure", ot = "esd-block-video", Et = "esd-block-social", lt = "esd-block-banner", dt = "esd-block-timer", ut = "esd-block-menu", It = "esd-block-html", Ot = "esd-block-spacer", Tt = "esd-container-frame", ct = "esd-stripe", _t = "esd-amp-form", O = ((t) => (t.BUTTON = `.${U}`, t.TEXT = `.${p}`, t.IMAGE = `.${K}`, t.STRUCTURE = `.${it}`, t.VIDEO = `.${ot}`, t.SOCIAL = `.${Et}`, t.BANNER = `.${lt}`, t.TIMER = `.${dt}`, t.MENU = `.${ut}`, t.HTML = `.${It}`, t.SPACER = `.${Ot}`, t.CONTAINER = `.${Tt}`, t.STRIPE = `.${ct}`, t.FORM = `.${_t}`, t))(O || {}), ht = /* @__PURE__ */ ((t) => (t.BLOCK_IMAGE = "BLOCK_IMAGE", t.BLOCK_TEXT = "BLOCK_TEXT", t.BLOCK_BUTTON = "BLOCK_BUTTON", t.BLOCK_SPACER = "BLOCK_SPACER", t.BLOCK_VIDEO = "BLOCK_VIDEO", t.BLOCK_SOCIAL = "BLOCK_SOCIAL", t.BLOCK_BANNER = "BLOCK_BANNER", t.BLOCK_TIMER = "BLOCK_TIMER", t.BLOCK_MENU = "BLOCK_MENU", t.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", t.BLOCK_HTML = "BLOCK_HTML", t.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", t.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", t.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", t.CONTAINER = "CONTAINER", t.FORM_CONTAINER = "FORM_CONTAINER", t.STRUCTURE = "STRUCTURE", t.STRIPE = "STRIPE", t.EMPTY_CONTAINER = "EMPTY_CONTAINER", t.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", t.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", t.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT", t))(ht || {}), F = /* @__PURE__ */ ((t) => (t.ANCHOR_LINK_CONTAINER = "anchorLinkFormContainer", t.APPLY_CONDITION = "applyCondition", t.APPLY_CONDITION_SWITCHER = "applyConditionSwitcher", t.BACKGROUND_COLOR = "backgroundColor", t.BACKGROUND_IMAGE = "generalImageContainer", t.TEXT_COLOR = "textColor", t.TEXT_STYLE = "textStyle", t.TEXT_SIZE = "textSize", t.TEXT_LINE_SPACING = "textLineSpacing", t.TEXT_ALIGN = "textAlign", t.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", t.HIDDEN_NODE = "hiddenNode", t.SMART_BLOCK = "smartBlock", t.SYNCHRONIZED_MODULE = "synchronizedModuleForm", t.FONT_FAMILY = "generalFontFamilyForm", t.BLOCK_INTERNAL_INDENTS = "generalBlockInternalIndents", t.STRUCTURE_INTERNAL_INDENTS = "generalStructureInternalIndents", t))(F || {}), w = /* @__PURE__ */ ((t) => (t.ADJUST_TO_WIDTH = "adjustToWidth", t.ALIGNMENT = "buttonAlignment", t.BORDER = "buttonBorder", t.BORDER_RADIUS = "buttonBorderRadius", t.COLOR = "buttonColor", t.BUTTON_BLOCK_BACKGROUND_COLOR = "buttonBlockBackgroundColor", t.EXTERNAL_INDENTS = "buttonExternalIndents", t.FIXED_HEIGHT = "buttonFixedHeightForm", t.FONT_COLOR = "buttonFontColor", t.FONT_FAMILY = "buttonFontFamily", t.FONT_SIZE = "buttonFontSize", t.ICON = "buttonIconContainer", t.ICON_ALIGN = "buttonIconAlign", t.ICON_INDENT = "buttonIconIndent", t.ICON_WIDTH = "buttonIconWidth", t.IMAGE = "buttonImageForm", t.INTERNAL_INDENTS = "buttonInternalIndents", t.LINK = "buttonLink", t.MIME_TYPE = "buttonMimeTypeForm", t.SWITCHER_HOVERED_STYLES = "buttonSwitcherHoveredStylesForm", t.TEXT = "buttonText", t.TEXT_STYLE_AND_COLOR = "buttonTextStyleAndColorForm", t.HOVERED_BORDER_COLOR = "hoveredStyleBorderButtonForm", t.HOVERED_COLOR = "hoveredButtonColorForm", t.HOVERED_TEXT_COLOR = "hoveredButtonTextColorForm", t))(w || {}), P = /* @__PURE__ */ ((t) => (t.HIDDEN_NODE = "hiddenNodeText", t.PARAGRAPH_STYLE = "paragraphStyleForm", t.ALIGN = "textAlignmentForm", t.ANCHOR_CONTAINER = "textAnchorForm", t.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", t.TEXT_BLOCK_BACKGROUND_COLOR = "textBlockBackgroundColor", t.FONT_COLOR = "textBlockFontColor", t.TEXT_BLOCK_FONT_FAMILY = "textBlockFontFamily", t.FONT_FAMILY = "textFontFamily", t.FONT_SIZE = "textBlockFontSize", t.DIRECTION = "textBlockDirectionForm", t.INSERT_FORM = "textBlockInsertForm", t.LINK_DATA = "textBlockLinkDataForm", t.FORMAT = "textBlockTextFormatForm", t.FIXED_HEIGHT = "textFixedHeightForm", t.INTERNAL_INDENTS = "textInternalIndents", t.LINE_HEIGHT = "textLineHeightForm", t.LINKS_COLOR = "textLinksFontColorForm", t.MIME_TYPE = "textMimeTypeForm", t.NO_LINE_WRAPS = "textNoLineWrapsForm", t))(P || {}), H = /* @__PURE__ */ ((t) => (t.ALT_TEXT = "altText", t.LINK = "blockLink", t.ALIGNMENT = "imageAlignment", t.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", t.BORDER_RADIUS = "imageBorderRadiusForm", t.IMAGE = "imageImageForm", t.EXTERNAL_INDENTS = "imageExternalIndents", t.MIME_TYPE = "imageMimeTypeForm", t.RESPONSIVE = "imageResponsive", t.ROLLOVER_IMAGE = "imageRolloverImageForm", t.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", t.SIZE = "imageSizeContainer", t))(H || {}), Rt = /* @__PURE__ */ ((t) => (t.BACKGROUND_COLOR = "containerBackgroundColorForm", t.BORDER_FORM = "containerBorderForm", t.BORDER_RADIUS = "containerBorderRadiusForm", t.EXTERNAL_INDENTS = "containerExternalIndentsForm", t.IMAGE_CONTAINER = "containerImageContainerForm", t.MIME_TYPE = "containerMimeTypeForm", t.DISPLAY_CONDITIONS = "displayConditions", t.HIDDEN_NODE = "containerHiddenNodeForm", t))(Rt || {}), n = {
|
|
246
|
+
BLOCK_BUTTON: w,
|
|
247
|
+
BLOCK_TEXT: P,
|
|
248
|
+
BLOCK_IMAGE: H,
|
|
249
|
+
GENERAL: F
|
|
250
|
+
}, Lt = /* @__PURE__ */ ((t) => (t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data", t))(Lt || {}), o = {
|
|
240
251
|
name: "name",
|
|
241
252
|
disabled: "disabled"
|
|
242
|
-
},
|
|
243
|
-
...
|
|
253
|
+
}, Ct = {
|
|
254
|
+
...o,
|
|
244
255
|
caption: "caption",
|
|
245
256
|
icon: "icon"
|
|
246
|
-
},
|
|
247
|
-
...
|
|
257
|
+
}, mt = {
|
|
258
|
+
...o,
|
|
248
259
|
caption: "caption"
|
|
249
|
-
},
|
|
250
|
-
...
|
|
260
|
+
}, gt = {
|
|
261
|
+
...o,
|
|
251
262
|
minValue: "min-value",
|
|
252
263
|
maxValue: "max-value",
|
|
253
264
|
step: "step"
|
|
254
|
-
},
|
|
255
|
-
...
|
|
265
|
+
}, bt = {
|
|
266
|
+
...o,
|
|
256
267
|
text: "text"
|
|
257
|
-
},
|
|
258
|
-
...
|
|
259
|
-
},
|
|
260
|
-
...
|
|
268
|
+
}, At = {
|
|
269
|
+
...o
|
|
270
|
+
}, X = {
|
|
271
|
+
...o,
|
|
261
272
|
searchable: "searchable",
|
|
262
273
|
multiSelect: "multi-select",
|
|
263
274
|
placeholder: "placeholder",
|
|
264
275
|
items: "items"
|
|
265
|
-
}, At = {
|
|
266
|
-
...H
|
|
267
276
|
}, Nt = {
|
|
277
|
+
...X
|
|
278
|
+
}, Dt = {
|
|
268
279
|
text: "text",
|
|
269
280
|
value: "value"
|
|
270
|
-
},
|
|
281
|
+
}, St = {
|
|
271
282
|
text: "text",
|
|
283
|
+
icon: "icon",
|
|
272
284
|
value: "value"
|
|
273
|
-
}, Dt = {
|
|
274
|
-
...a
|
|
275
|
-
}, St = {
|
|
276
|
-
controlId: "control-id"
|
|
277
285
|
}, Bt = {
|
|
278
|
-
...
|
|
286
|
+
...o
|
|
287
|
+
}, Mt = {
|
|
288
|
+
controlId: "control-id"
|
|
289
|
+
}, xt = {
|
|
290
|
+
...o,
|
|
279
291
|
icon: "icon",
|
|
280
292
|
position: "position"
|
|
281
|
-
},
|
|
282
|
-
...
|
|
283
|
-
},
|
|
284
|
-
BUTTON:
|
|
285
|
-
CHECKBOX:
|
|
286
|
-
COLOR:
|
|
287
|
-
COUNTER:
|
|
288
|
-
LABEL:
|
|
289
|
-
RADIO_BUTTONS:
|
|
290
|
-
SELECTPICKER:
|
|
291
|
-
FONT_FAMILY_SELECT:
|
|
292
|
-
SWITCHER:
|
|
293
|
-
TEXT:
|
|
294
|
-
SELECT_ITEM:
|
|
295
|
-
RADIO_ITEM:
|
|
296
|
-
NESTED_CONTROL:
|
|
297
|
-
ORDERABLE:
|
|
298
|
-
ORDERABLE_ITEM:
|
|
299
|
-
},
|
|
293
|
+
}, vt = {
|
|
294
|
+
...o
|
|
295
|
+
}, Vt = {
|
|
296
|
+
BUTTON: Ct,
|
|
297
|
+
CHECKBOX: mt,
|
|
298
|
+
COLOR: o,
|
|
299
|
+
COUNTER: gt,
|
|
300
|
+
LABEL: bt,
|
|
301
|
+
RADIO_BUTTONS: At,
|
|
302
|
+
SELECTPICKER: X,
|
|
303
|
+
FONT_FAMILY_SELECT: Nt,
|
|
304
|
+
SWITCHER: o,
|
|
305
|
+
TEXT: Bt,
|
|
306
|
+
SELECT_ITEM: Dt,
|
|
307
|
+
RADIO_ITEM: St,
|
|
308
|
+
NESTED_CONTROL: Mt,
|
|
309
|
+
ORDERABLE: xt,
|
|
310
|
+
ORDERABLE_ITEM: vt
|
|
311
|
+
}, yt = /* @__PURE__ */ ((t) => (t.BUTTON = "UE-BUTTON", t.CHECKBOX = "UE-CHECKBOX", t.CHECK_BUTTONS = "UE-CHECK-BUTTONS", t.COLOR = "UE-COLOR", t.COUNTER = "UE-COUNTER", t.DATEPICKER = "UE-DATEPICKER", t.LABEL = "UE-LABEL", t.MESSAGE = "UE-MESSAGE", t.RADIO_BUTTONS = "UE-RADIO-BUTTONS", t.SELECTPICKER = "UE-SELECT", t.SWITCHER = "UE-SWITCHER", t.TEXT = "UE-TEXT", t.TEXTAREA = "UE-TEXTAREA", t.CHECK_ITEM = "UE-CHECK-ITEM", t.RADIO_ITEM = "UE-RADIO-ITEM", t.SELECT_ITEM = "UE-SELECT-ITEM", t.ICON = "UE-ICON", t.MERGETAGS = "UE-MERGETAGS", t.FONT_FAMILY_SELECT = "UE-FONT-FAMILY-SELECT", t.NESTED_CONTROL = "UE-NESTED-CONTROL", t.EXPANDABLE = "UE-EXPANDABLE", t.EXPANDABLE_HEADER = "UE-EXPANDABLE_HEADER", t.EXPANDABLE_CONTENT = "UE-EXPANDABLE_CONTENT", t.ORDERABLE = "UE-ORDERABLE", t.ORDERABLE_ITEM = "UE-ORDERABLE-ITEM", t.ORDERABLE_ICON = "UE-ORDERABLE-ICON", t))(yt || {}), x = class {
|
|
300
312
|
/**
|
|
301
313
|
* @description returns map of nodes parent control operates on
|
|
302
314
|
*/
|
|
@@ -327,64 +339,68 @@ var rt = {
|
|
|
327
339
|
isVisible(t) {
|
|
328
340
|
return !0;
|
|
329
341
|
}
|
|
330
|
-
},
|
|
342
|
+
}, i = class extends x {
|
|
331
343
|
getTargetNodes(t) {
|
|
332
|
-
const e = t.querySelectorAll(
|
|
344
|
+
const e = t.querySelectorAll(O.BUTTON), r = t.asElement().hasClass(U) ? [t] : [];
|
|
333
345
|
return e.length ? e : r;
|
|
334
346
|
}
|
|
335
|
-
},
|
|
347
|
+
}, Gt = class extends i {
|
|
336
348
|
getParentControlId() {
|
|
337
349
|
return n.BLOCK_BUTTON.BORDER_RADIUS;
|
|
338
350
|
}
|
|
339
351
|
getLabels() {
|
|
340
352
|
}
|
|
341
|
-
},
|
|
353
|
+
}, Qt = class extends i {
|
|
342
354
|
getParentControlId() {
|
|
343
355
|
return n.BLOCK_BUTTON.ALIGNMENT;
|
|
344
356
|
}
|
|
345
|
-
},
|
|
357
|
+
}, ft = class extends i {
|
|
358
|
+
getParentControlId() {
|
|
359
|
+
return n.GENERAL.BACKGROUND_COLOR;
|
|
360
|
+
}
|
|
361
|
+
}, Yt = class extends i {
|
|
346
362
|
getParentControlId() {
|
|
347
363
|
return n.BLOCK_BUTTON.BORDER;
|
|
348
364
|
}
|
|
349
365
|
getLabels() {
|
|
350
366
|
}
|
|
351
|
-
},
|
|
367
|
+
}, $t = class extends i {
|
|
352
368
|
getParentControlId() {
|
|
353
369
|
return n.BLOCK_BUTTON.COLOR;
|
|
354
370
|
}
|
|
355
|
-
},
|
|
371
|
+
}, Wt = class extends i {
|
|
356
372
|
getParentControlId() {
|
|
357
373
|
return n.BLOCK_BUTTON.ADJUST_TO_WIDTH;
|
|
358
374
|
}
|
|
359
|
-
},
|
|
375
|
+
}, zt = class extends i {
|
|
360
376
|
getParentControlId() {
|
|
361
377
|
return n.BLOCK_BUTTON.FONT_FAMILY;
|
|
362
378
|
}
|
|
363
|
-
},
|
|
379
|
+
}, Zt = class extends i {
|
|
364
380
|
getParentControlId() {
|
|
365
381
|
return n.BLOCK_BUTTON.EXTERNAL_INDENTS;
|
|
366
382
|
}
|
|
367
|
-
},
|
|
383
|
+
}, jt = class extends i {
|
|
368
384
|
getParentControlId() {
|
|
369
385
|
return n.BLOCK_BUTTON.INTERNAL_INDENTS;
|
|
370
386
|
}
|
|
371
|
-
},
|
|
387
|
+
}, qt = class extends i {
|
|
372
388
|
getParentControlId() {
|
|
373
389
|
return n.BLOCK_BUTTON.TEXT;
|
|
374
390
|
}
|
|
375
|
-
},
|
|
391
|
+
}, Jt = class extends i {
|
|
376
392
|
getParentControlId() {
|
|
377
393
|
return n.BLOCK_BUTTON.FONT_SIZE;
|
|
378
394
|
}
|
|
379
|
-
},
|
|
395
|
+
}, te = class extends i {
|
|
380
396
|
getParentControlId() {
|
|
381
397
|
return n.BLOCK_BUTTON.TEXT_STYLE_AND_COLOR;
|
|
382
398
|
}
|
|
383
399
|
getLabels() {
|
|
384
400
|
}
|
|
385
|
-
},
|
|
401
|
+
}, k = class R extends a {
|
|
386
402
|
constructor() {
|
|
387
|
-
super(
|
|
403
|
+
super(R.REQUIRED_METHODS, R);
|
|
388
404
|
}
|
|
389
405
|
/**
|
|
390
406
|
* @description Allows to determine if control should be visible or hidden in control panel.
|
|
@@ -437,30 +453,30 @@ var rt = {
|
|
|
437
453
|
onDocumentChanged(e) {
|
|
438
454
|
}
|
|
439
455
|
};
|
|
440
|
-
|
|
441
|
-
var
|
|
456
|
+
k.REQUIRED_METHODS = ["getId", "getTemplate"];
|
|
457
|
+
var ee = k, V = class extends x {
|
|
442
458
|
getTargetNodes(t) {
|
|
443
|
-
const e = t.querySelectorAll(
|
|
459
|
+
const e = t.querySelectorAll(O.IMAGE), r = t.asElement().hasClass(K) ? [t] : [];
|
|
444
460
|
return e.length ? e : r;
|
|
445
461
|
}
|
|
446
|
-
},
|
|
462
|
+
}, re = class extends V {
|
|
447
463
|
getParentControlId() {
|
|
448
464
|
return n.BLOCK_IMAGE.EXTERNAL_INDENTS;
|
|
449
465
|
}
|
|
450
|
-
},
|
|
466
|
+
}, ne = class extends V {
|
|
451
467
|
getParentControlId() {
|
|
452
468
|
return n.BLOCK_IMAGE.SIZE;
|
|
453
469
|
}
|
|
454
|
-
},
|
|
470
|
+
}, G = class L extends a {
|
|
455
471
|
constructor() {
|
|
456
|
-
super(
|
|
472
|
+
super(L.REQUIRED_METHODS, L);
|
|
457
473
|
}
|
|
458
474
|
registerBlockControls(e) {
|
|
459
475
|
throw new Error("Method registerBlockControls() must be implemented by the subclass");
|
|
460
476
|
}
|
|
461
477
|
};
|
|
462
|
-
|
|
463
|
-
var
|
|
478
|
+
G.REQUIRED_METHODS = ["registerBlockControls"];
|
|
479
|
+
var se = G, ae = class {
|
|
464
480
|
constructor(t, e) {
|
|
465
481
|
this.tabId = t, this.controlsIds = e;
|
|
466
482
|
}
|
|
@@ -483,42 +499,42 @@ var te = V, ee = class {
|
|
|
483
499
|
const e = this.controlsIds.indexOf(t);
|
|
484
500
|
e !== -1 && this.controlsIds.splice(e, 1);
|
|
485
501
|
}
|
|
486
|
-
}, d = class extends
|
|
502
|
+
}, d = class extends x {
|
|
487
503
|
getTargetNodes(t) {
|
|
488
|
-
const e = t.querySelectorAll(
|
|
504
|
+
const e = t.querySelectorAll(O.TEXT), r = t.asElement().hasClass(p) ? [t] : [];
|
|
489
505
|
return e.length ? e : r;
|
|
490
506
|
}
|
|
491
|
-
},
|
|
507
|
+
}, ie = class extends d {
|
|
492
508
|
getParentControlId() {
|
|
493
509
|
return n.GENERAL.TEXT_ALIGN;
|
|
494
510
|
}
|
|
495
|
-
},
|
|
511
|
+
}, oe = class extends d {
|
|
496
512
|
getParentControlId() {
|
|
497
513
|
return n.BLOCK_TEXT.TEXT_BLOCK_BACKGROUND_COLOR;
|
|
498
514
|
}
|
|
499
|
-
},
|
|
515
|
+
}, Ee = class extends d {
|
|
500
516
|
getParentControlId() {
|
|
501
517
|
return n.GENERAL.TEXT_COLOR;
|
|
502
518
|
}
|
|
503
|
-
},
|
|
519
|
+
}, le = class extends d {
|
|
504
520
|
getParentControlId() {
|
|
505
521
|
return n.BLOCK_TEXT.FONT_FAMILY;
|
|
506
522
|
}
|
|
507
|
-
},
|
|
523
|
+
}, de = class extends d {
|
|
508
524
|
getParentControlId() {
|
|
509
525
|
return n.BLOCK_TEXT.INTERNAL_INDENTS;
|
|
510
526
|
}
|
|
511
|
-
},
|
|
527
|
+
}, ue = class extends d {
|
|
512
528
|
getParentControlId() {
|
|
513
529
|
return n.GENERAL.TEXT_SIZE;
|
|
514
530
|
}
|
|
515
|
-
},
|
|
531
|
+
}, Ie = class extends d {
|
|
516
532
|
getParentControlId() {
|
|
517
533
|
return n.GENERAL.TEXT_STYLE;
|
|
518
534
|
}
|
|
519
|
-
},
|
|
520
|
-
constructor(t, e, r = [], s, E = [], T,
|
|
521
|
-
this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles =
|
|
535
|
+
}, Ut = class {
|
|
536
|
+
constructor(t, e, r = [], s, E = [], T, I = [], l = [], v, $, W, z, Z, j, q, J, tt) {
|
|
537
|
+
this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = t, this.styles = e, this.previewStyles = W, this.uiElements = r, this.uiElementTagRegistry = s, this.controls = E, this.settingsPanelRegistry = T, this.contextActions = I, this.blocks = l, this.externalSmartElementsLibrary = v, this.externalImageLibrary = $, this.externalImageLibraryTab = tt, this.externalAiAssistant = z, this.externalDisplayConditionsLibrary = Z, this.externalVideoLibrary = j, this.blocksPanel = q, this.iconsRegistry = J, this.id = Math.random().toString(36).substring(2);
|
|
522
538
|
}
|
|
523
539
|
getI18n() {
|
|
524
540
|
return this.i18n;
|
|
@@ -556,6 +572,9 @@ var te = V, ee = class {
|
|
|
556
572
|
getExternalImageLibrary() {
|
|
557
573
|
return this.externalImageLibrary;
|
|
558
574
|
}
|
|
575
|
+
getExternalImageLibraryTab() {
|
|
576
|
+
return this.externalImageLibraryTab;
|
|
577
|
+
}
|
|
559
578
|
getExternalAiAssistant() {
|
|
560
579
|
return this.externalAiAssistant;
|
|
561
580
|
}
|
|
@@ -571,7 +590,7 @@ var te = V, ee = class {
|
|
|
571
590
|
getIconsRegistry() {
|
|
572
591
|
return this.iconsRegistry;
|
|
573
592
|
}
|
|
574
|
-
},
|
|
593
|
+
}, Oe = class {
|
|
575
594
|
constructor() {
|
|
576
595
|
this.styles = [], this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
|
|
577
596
|
}
|
|
@@ -614,6 +633,9 @@ var te = V, ee = class {
|
|
|
614
633
|
withExternalImageLibrary(t) {
|
|
615
634
|
return this.externalImageLibrary = t, this;
|
|
616
635
|
}
|
|
636
|
+
withExternalImageLibraryTab(t) {
|
|
637
|
+
return this.externalImageLibraryTab = t, this;
|
|
638
|
+
}
|
|
617
639
|
withExternalAiAssistant(t) {
|
|
618
640
|
return this.externalAiAssistant = t, this;
|
|
619
641
|
}
|
|
@@ -633,7 +655,7 @@ var te = V, ee = class {
|
|
|
633
655
|
return this.iconsRegistry = t, this;
|
|
634
656
|
}
|
|
635
657
|
build() {
|
|
636
|
-
return new
|
|
658
|
+
return new Ut(
|
|
637
659
|
this.i18n,
|
|
638
660
|
(this.styles || []).map((t) => t.trim()).join(`
|
|
639
661
|
`),
|
|
@@ -650,21 +672,22 @@ var te = V, ee = class {
|
|
|
650
672
|
this.externalDisplayConditionsLibrary,
|
|
651
673
|
this.externalVideoLibrary,
|
|
652
674
|
this.blocksPanel,
|
|
653
|
-
this.iconsRegistry
|
|
675
|
+
this.iconsRegistry,
|
|
676
|
+
this.externalImageLibraryTab
|
|
654
677
|
);
|
|
655
678
|
}
|
|
656
|
-
},
|
|
679
|
+
}, pt = class C extends a {
|
|
657
680
|
constructor() {
|
|
658
|
-
super(
|
|
681
|
+
super(C.REQUIRED_METHODS, C);
|
|
659
682
|
}
|
|
660
683
|
openAiAssistant({ value: e, onDataSelectCallback: r, onCancelCallback: s, type: E }) {
|
|
661
684
|
throw new Error("Method openAiAssistant() must be implemented by the subclass");
|
|
662
685
|
}
|
|
663
686
|
};
|
|
664
|
-
|
|
665
|
-
var
|
|
687
|
+
pt.REQUIRED_METHODS = ["openAiAssistant"];
|
|
688
|
+
var Kt = class m extends a {
|
|
666
689
|
constructor() {
|
|
667
|
-
super(
|
|
690
|
+
super(m.REQUIRED_METHODS, m);
|
|
668
691
|
}
|
|
669
692
|
/**
|
|
670
693
|
* Retrieves the name of the category.
|
|
@@ -702,17 +725,38 @@ var yt = class g extends i {
|
|
|
702
725
|
throw new Error("Method getContextActionIndex() must be implemented by the subclass");
|
|
703
726
|
}
|
|
704
727
|
};
|
|
705
|
-
|
|
706
|
-
var
|
|
728
|
+
Kt.REQUIRED_METHODS = ["getCategoryName", "openExternalDisplayConditionsDialog"];
|
|
729
|
+
var Ft = class g extends a {
|
|
707
730
|
constructor() {
|
|
708
|
-
super(
|
|
731
|
+
super(g.REQUIRED_METHODS, g);
|
|
709
732
|
}
|
|
710
733
|
openImageLibrary(e, r, s) {
|
|
711
734
|
throw new Error("Method openImageLibrary() must be implemented by the subclass");
|
|
712
735
|
}
|
|
713
736
|
};
|
|
714
|
-
|
|
715
|
-
var
|
|
737
|
+
Ft.REQUIRED_METHODS = ["openImageLibrary"];
|
|
738
|
+
var wt = class b extends a {
|
|
739
|
+
constructor() {
|
|
740
|
+
super(b.REQUIRED_METHODS, b);
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* @description Returns the translated name/label for the tab
|
|
744
|
+
* @returns Translation key or text to display as tab label
|
|
745
|
+
*/
|
|
746
|
+
getName() {
|
|
747
|
+
throw new Error("Method getName() must be implemented by the subclass");
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* @description Opens the external image library tab and provides a container for rendering
|
|
751
|
+
* @param _container - DOM element container where the external library UI should be rendered
|
|
752
|
+
* @param _onImageSelectCallback - Callback to invoke when an image is selected
|
|
753
|
+
*/
|
|
754
|
+
openImageLibraryTab(e, r) {
|
|
755
|
+
throw new Error("Method openImageLibraryTab() must be implemented by the subclass");
|
|
756
|
+
}
|
|
757
|
+
};
|
|
758
|
+
wt.REQUIRED_METHODS = ["getName", "openImageLibraryTab"];
|
|
759
|
+
var Pt = class A extends a {
|
|
716
760
|
constructor() {
|
|
717
761
|
super(A.REQUIRED_METHODS, A);
|
|
718
762
|
}
|
|
@@ -720,8 +764,8 @@ var pt = class A extends i {
|
|
|
720
764
|
throw new Error("Method openSmartElementsLibrary() must be implemented by the subclass");
|
|
721
765
|
}
|
|
722
766
|
};
|
|
723
|
-
|
|
724
|
-
var
|
|
767
|
+
Pt.REQUIRED_METHODS = ["openSmartElementsLibrary"];
|
|
768
|
+
var Ht = class N extends a {
|
|
725
769
|
constructor() {
|
|
726
770
|
super(N.REQUIRED_METHODS, N);
|
|
727
771
|
}
|
|
@@ -729,17 +773,17 @@ var Ft = class N extends i {
|
|
|
729
773
|
throw new Error("Method openExternalVideosLibraryDialog() must be implemented by the subclass");
|
|
730
774
|
}
|
|
731
775
|
};
|
|
732
|
-
|
|
733
|
-
var
|
|
776
|
+
Ht.REQUIRED_METHODS = ["openExternalVideosLibraryDialog"];
|
|
777
|
+
var Q = class D extends a {
|
|
734
778
|
constructor() {
|
|
735
|
-
super(
|
|
779
|
+
super(D.REQUIRED_METHODS, D);
|
|
736
780
|
}
|
|
737
781
|
registerIconsSvg(e) {
|
|
738
782
|
throw new Error("Method registerIconsSvg() must be implemented by the subclass");
|
|
739
783
|
}
|
|
740
784
|
};
|
|
741
|
-
|
|
742
|
-
var
|
|
785
|
+
Q.REQUIRED_METHODS = ["registerIconsSvg"];
|
|
786
|
+
var Te = Q, ce = class {
|
|
743
787
|
constructor(t) {
|
|
744
788
|
this.key = t;
|
|
745
789
|
}
|
|
@@ -752,9 +796,9 @@ var de = G, ue = class {
|
|
|
752
796
|
params: this.params
|
|
753
797
|
};
|
|
754
798
|
}
|
|
755
|
-
}, f = class
|
|
799
|
+
}, f = class S extends a {
|
|
756
800
|
constructor() {
|
|
757
|
-
super(
|
|
801
|
+
super(S.REQUIRED_METHODS, S);
|
|
758
802
|
}
|
|
759
803
|
/**
|
|
760
804
|
* Called when the UI element should render its content into the provided container.
|
|
@@ -808,59 +852,60 @@ var de = G, ue = class {
|
|
|
808
852
|
}
|
|
809
853
|
};
|
|
810
854
|
f.REQUIRED_METHODS = ["onRender", "getId", "getTemplate"];
|
|
811
|
-
var
|
|
855
|
+
var _e = f, Y = class B extends a {
|
|
812
856
|
constructor() {
|
|
813
|
-
super(
|
|
857
|
+
super(B.REQUIRED_METHODS, B);
|
|
814
858
|
}
|
|
815
859
|
registerUiElements(e) {
|
|
816
860
|
throw new Error("Method registerUiElements() must be implemented by the subclass");
|
|
817
861
|
}
|
|
818
862
|
};
|
|
819
|
-
|
|
820
|
-
var
|
|
863
|
+
Y.REQUIRED_METHODS = ["registerUiElements"];
|
|
864
|
+
var he = Y;
|
|
821
865
|
export {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
866
|
+
Xt as Block,
|
|
867
|
+
kt as BlockAttr,
|
|
868
|
+
et as BlockCompositionType,
|
|
869
|
+
O as BlockSelector,
|
|
870
|
+
ht as BlockType,
|
|
871
|
+
x as BuiltInControl,
|
|
828
872
|
n as BuiltInControlTypes,
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
Gt as
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
873
|
+
Qt as ButtonAlignBuiltInControl,
|
|
874
|
+
ft as ButtonBackgroundColorBuiltInControl,
|
|
875
|
+
Yt as ButtonBorderBuiltInControl,
|
|
876
|
+
Gt as ButtonBorderRadiusBuiltInControl,
|
|
877
|
+
$t as ButtonColorBuiltInControl,
|
|
878
|
+
w as ButtonControls,
|
|
879
|
+
Wt as ButtonFitToContainerBuiltInControl,
|
|
880
|
+
zt as ButtonFontFamilyBuiltInControl,
|
|
881
|
+
Zt as ButtonMarginsBuiltInControl,
|
|
882
|
+
jt as ButtonPaddingsBuiltInControl,
|
|
883
|
+
qt as ButtonTextBuiltInControl,
|
|
884
|
+
Jt as ButtonTextSizeBuiltInControl,
|
|
885
|
+
te as ButtonTextStyleAndFontColorBuiltInControl,
|
|
886
|
+
Rt as ContainerControls,
|
|
887
|
+
ee as Control,
|
|
888
|
+
Ut as Extension,
|
|
889
|
+
Oe as ExtensionBuilder,
|
|
890
|
+
F as GeneralControls,
|
|
891
|
+
Te as IconsRegistry,
|
|
892
|
+
H as ImageControls,
|
|
893
|
+
re as ImageMarginsBuiltInControl,
|
|
894
|
+
ne as ImageSizeBuiltInControl,
|
|
895
|
+
ce as ModificationDescription,
|
|
896
|
+
se as SettingsPanelRegistry,
|
|
897
|
+
ae as SettingsPanelTab,
|
|
898
|
+
Lt as SettingsTab,
|
|
899
|
+
ie as TextAlignBuiltInControl,
|
|
900
|
+
oe as TextBlockBackgroundBuiltInControl,
|
|
901
|
+
Ee as TextColorBuiltInControl,
|
|
902
|
+
P as TextControls,
|
|
903
|
+
le as TextFontFamilyBuiltInControl,
|
|
904
|
+
de as TextPaddingsBuiltInControl,
|
|
905
|
+
ue as TextSizeBuiltInControl,
|
|
906
|
+
Ie as TextStyleBuiltInControl,
|
|
907
|
+
Vt as UEAttr,
|
|
908
|
+
_e as UIElement,
|
|
909
|
+
he as UIElementTagRegistry,
|
|
910
|
+
yt as UIElementType
|
|
866
911
|
};
|