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