@useinsider/guido 1.0.0-beta.3012b2b → 1.0.0-beta.301d25a
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 -11
- package/dist/@types/generic.d.ts +0 -7
- package/dist/components/Guido.vue.d.ts +6 -5
- package/dist/components/Guido.vue.js +11 -11
- package/dist/components/Guido.vue2.js +54 -59
- package/dist/components/organisms/header/RightSlot.vue.js +5 -5
- package/dist/components/organisms/header/RightSlot.vue2.js +28 -26
- package/dist/components/wrappers/WpModal.vue.d.ts +2 -2
- package/dist/composables/useActionsApi.d.ts +1 -2
- package/dist/composables/useActionsApi.js +36 -51
- package/dist/composables/useGuidoActions.d.ts +2 -2
- package/dist/composables/useHttp.js +21 -23
- package/dist/composables/usePartner.d.ts +1 -1
- package/dist/composables/usePartner.js +14 -9
- package/dist/composables/useStripo.js +29 -32
- package/dist/enums/defaults.d.ts +1 -4
- package/dist/enums/defaults.js +3 -10
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlockRenderer.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlocksPanel.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/ContextAction.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundColorBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundImageBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BlockPaddingsBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BuiltInControl.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonBorderBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonFontColorBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonInternalIndentsBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonTextBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/FontFamilyBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/LinkColorBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructureBorderBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructurePaddingsBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextColorBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextLineSpacingBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextSizeBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextStyleBuiltInControl.js +4 -4
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/index.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +2 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +2 -2
- package/dist/node_modules/lodash-es/_baseCreate.js +2 -2
- package/dist/node_modules/lodash-es/_defineProperty.js +2 -2
- package/dist/node_modules/lodash-es/_isMasked.js +2 -2
- package/dist/node_modules/lodash-es/_nodeUtil.js +2 -2
- package/dist/node_modules/lodash-es/isArguments.js +2 -2
- package/dist/static/styles/components/wide-panel.css.js +0 -4
- package/dist/stores/editor.d.ts +0 -2
- package/dist/stores/editor.js +3 -5
- package/dist/utils/genericUtil.d.ts +0 -1
- package/dist/utils/genericUtil.js +3 -7
- package/package.json +3 -3
- package/dist/@types/save-as-template.d.ts +0 -29
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue.d.ts +0 -2
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue.js +0 -20
- package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue2.js +0 -63
- package/dist/components/wrappers/WpDrawer.vue.d.ts +0 -63
- package/dist/components/wrappers/WpDrawer.vue.js +0 -25
- package/dist/components/wrappers/WpDrawer.vue2.js +0 -23
- package/dist/composables/useValidation.d.ts +0 -56
- package/dist/composables/useValidation.js +0 -19
- package/dist/composables/validators/saveAsTemplate.d.ts +0 -31
- package/dist/composables/validators/saveAsTemplate.js +0 -24
- package/dist/mock/api/template-library.d.ts +0 -2
- package/dist/node_modules/@vueuse/shared/index.js +0 -45
- package/dist/node_modules/valibot/dist/index.js +0 -190
- package/dist/node_modules/vue-demi/lib/index.js +0 -7
- package/dist/services/templateLibraryApi.d.ts +0 -7
- package/dist/services/templateLibraryApi.js +0 -87
- package/dist/static/styles/customEditorStyle.css.js +0 -18
- package/dist/stores/save-as-template.d.ts +0 -73
- package/dist/stores/save-as-template.js +0 -48
- package/dist/utils/base64.d.ts +0 -1
- package/dist/utils/base64.js +0 -7
- package/dist/utils/templatePreparation.d.ts +0 -4
- package/dist/utils/templatePreparation.js +0 -33
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { useActionsApi as g } from "./useActionsApi.js";
|
|
2
2
|
import { useCustomInterfaceAppearance as f } from "./useCustomInterfaceAppearance.js";
|
|
3
|
-
import { useToaster as
|
|
3
|
+
import { useToaster as y } from "./useToaster.js";
|
|
4
4
|
import { displayConditions as C } from "../enums/displayConditions.js";
|
|
5
|
-
import
|
|
6
|
-
import { useStripoApi as
|
|
7
|
-
import h from "../static/styles/customEditorStyle.css.js";
|
|
5
|
+
import E from "../extensions/DynamicContent/extension.js";
|
|
6
|
+
import { useStripoApi as S } from "../services/stripoApi.js";
|
|
8
7
|
import { useEditorStore as w } from "../stores/editor.js";
|
|
9
8
|
import { dynamicContentToMergeTags as b } from "../utils/genericUtil.js";
|
|
10
|
-
const
|
|
11
|
-
const { handleError: c } =
|
|
12
|
-
const i = w(), { html:
|
|
9
|
+
const M = (d) => {
|
|
10
|
+
const { handleError: c } = y(), { getToken: a, getCustomFonts: u } = S(), l = (e, r = []) => {
|
|
11
|
+
const i = w(), { html: t, css: s, forceRecreate: p } = e;
|
|
13
12
|
window.UIEditor.initEditor(
|
|
14
13
|
document.querySelector("#guido-editor"),
|
|
15
14
|
{
|
|
16
15
|
metadata: d,
|
|
17
|
-
html:
|
|
16
|
+
html: t,
|
|
18
17
|
css: s,
|
|
19
18
|
forceRecreate: p,
|
|
20
19
|
locale: "en",
|
|
@@ -26,13 +25,14 @@ const P = (d) => {
|
|
|
26
25
|
customAppearanceMergetags: !0,
|
|
27
26
|
customAppearanceMergetagsBorderColor: "#f1f3fe",
|
|
28
27
|
customAppearanceMergetagsBackgroundColor: "#f1f3fe",
|
|
29
|
-
customViewStyles:
|
|
28
|
+
customViewStyles: `
|
|
29
|
+
.esd-x, .esd-merge-tag {color: #0a2ecc !important; box-shadow: none !important;}
|
|
30
|
+
.esd-merge-tag {border: 1px solid #b5c1f1; border-radius: 4px !important;}
|
|
31
|
+
`,
|
|
30
32
|
conditionsEnabled: !0,
|
|
31
33
|
customConditionsEnabled: !0,
|
|
32
34
|
conditionCategories: C,
|
|
33
|
-
enableXSSSecurity: !0,
|
|
34
35
|
messageSettingsEnabled: !1,
|
|
35
|
-
selectBlockAfterDropFromSettingsPanel: !0,
|
|
36
36
|
editorFonts: {
|
|
37
37
|
showDefaultStandardFonts: !0,
|
|
38
38
|
showDefaultNotStandardFonts: !0,
|
|
@@ -43,36 +43,33 @@ const P = (d) => {
|
|
|
43
43
|
entries: b(d.preselectedDynamicContentList)
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
async onTokenRefreshRequest(
|
|
46
|
+
async onTokenRefreshRequest(o) {
|
|
47
47
|
try {
|
|
48
48
|
const n = await a();
|
|
49
|
-
|
|
49
|
+
o(n);
|
|
50
50
|
} catch (n) {
|
|
51
51
|
c(n, "Failed to refresh token");
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
onTemplateLoaded() {
|
|
55
55
|
try {
|
|
56
|
-
const { importCss:
|
|
57
|
-
|
|
58
|
-
} catch (
|
|
59
|
-
c(
|
|
56
|
+
const { importCss: o } = f(), { activateCustomViewStyles: n } = g();
|
|
57
|
+
o(), n();
|
|
58
|
+
} catch (o) {
|
|
59
|
+
c(o, "Failed to load custom interface appearance");
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
onCodeEditorVisibilityChanged(
|
|
63
|
-
i.isCodeEditorOpen =
|
|
62
|
+
onCodeEditorVisibilityChanged(o) {
|
|
63
|
+
i.isCodeEditorOpen = o;
|
|
64
64
|
},
|
|
65
|
-
onEditorVisualModeChanged(
|
|
66
|
-
i.editorVisualMode =
|
|
65
|
+
onEditorVisualModeChanged(o) {
|
|
66
|
+
i.editorVisualMode = o.toLowerCase();
|
|
67
67
|
},
|
|
68
|
-
onVersionHistoryVisibilityChanged(
|
|
69
|
-
i.isVersionHistoryOpen =
|
|
70
|
-
},
|
|
71
|
-
onDataChanged() {
|
|
72
|
-
i.hasChanges = !0;
|
|
68
|
+
onVersionHistoryVisibilityChanged(o) {
|
|
69
|
+
i.isVersionHistoryOpen = o;
|
|
73
70
|
},
|
|
74
71
|
ignoreClickOutsideSelectors: ["#guido-dynamic-content-modal"],
|
|
75
|
-
extensions: [
|
|
72
|
+
extensions: [E]
|
|
76
73
|
}
|
|
77
74
|
);
|
|
78
75
|
}, m = (e) => new Promise((r, i) => {
|
|
@@ -80,13 +77,13 @@ const P = (d) => {
|
|
|
80
77
|
e(), r();
|
|
81
78
|
return;
|
|
82
79
|
}
|
|
83
|
-
const
|
|
84
|
-
|
|
80
|
+
const t = document.createElement("script");
|
|
81
|
+
t.id = "UiEditorScript", t.type = "module", t.src = "https://plugins.stripo.email/resources/uieditor/latest/UIEditor.js", t.onload = () => {
|
|
85
82
|
e(), r();
|
|
86
|
-
},
|
|
83
|
+
}, t.onerror = () => {
|
|
87
84
|
const s = new Error("Failed to load Stripo UIEditor script");
|
|
88
85
|
i(s);
|
|
89
|
-
}, document.body.appendChild(
|
|
86
|
+
}, document.body.appendChild(t);
|
|
90
87
|
});
|
|
91
88
|
return { initPlugin: async (e) => {
|
|
92
89
|
await m(async () => {
|
|
@@ -96,5 +93,5 @@ const P = (d) => {
|
|
|
96
93
|
} };
|
|
97
94
|
};
|
|
98
95
|
export {
|
|
99
|
-
|
|
96
|
+
M as useStripo
|
|
100
97
|
};
|
package/dist/enums/defaults.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { GuidoConfig } from '@@/Types/generic';
|
|
2
2
|
export declare const DefaultGuidoConfig: GuidoConfig;
|
|
3
|
-
export declare const DefaultProductType = "
|
|
3
|
+
export declare const DefaultProductType = "newsletter";
|
|
4
4
|
export declare const DefaultUsername = "Guido User";
|
|
5
|
-
export declare const DefaultMessageType = 1;
|
|
6
|
-
export declare const EditorType: number;
|
|
7
|
-
export declare const ProductIds: Record<string, number>;
|
package/dist/enums/defaults.js
CHANGED
|
@@ -8,17 +8,10 @@ const e = {
|
|
|
8
8
|
dynamicContent: !0,
|
|
9
9
|
saveAsTemplate: !0,
|
|
10
10
|
versionHistory: !0
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
}, t = "email", s = "Guido User", a = 1, r = 2, n = {
|
|
14
|
-
email: 60,
|
|
15
|
-
architect: 49
|
|
16
|
-
};
|
|
11
|
+
}
|
|
12
|
+
}, t = "newsletter", n = "Guido User";
|
|
17
13
|
export {
|
|
18
14
|
e as DefaultGuidoConfig,
|
|
19
|
-
a as DefaultMessageType,
|
|
20
15
|
t as DefaultProductType,
|
|
21
|
-
|
|
22
|
-
r as EditorType,
|
|
23
|
-
n as ProductIds
|
|
16
|
+
n as DefaultUsername
|
|
24
17
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}[data-v-421ffc13] .guido__verion-history-view-option-selection-desktop svg,[data-v-421ffc13] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-421ffc13] .in-segments-wrapper__button_selected,[data-v-421ffc13] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-421ffc13] .in-tooltip-wrapper__icon{cursor:pointer}[data-v-aad05c54] .guido__view-option-selection-desktop svg,[data-v-aad05c54] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-aad05c54] .in-segments-wrapper__button_selected,[data-v-aad05c54] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-aad05c54] .in-tooltip-wrapper__icon{cursor:pointer}.guido-editor__wrapper[data-v-
|
|
1
|
+
.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}[data-v-421ffc13] .guido__verion-history-view-option-selection-desktop svg,[data-v-421ffc13] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-421ffc13] .in-segments-wrapper__button_selected,[data-v-421ffc13] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-421ffc13] .in-tooltip-wrapper__icon{cursor:pointer}[data-v-aad05c54] .guido__view-option-selection-desktop svg,[data-v-aad05c54] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-aad05c54] .in-segments-wrapper__button_selected,[data-v-aad05c54] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-aad05c54] .in-tooltip-wrapper__icon{cursor:pointer}.guido-editor__wrapper[data-v-09c28ccc],.guido-editor__container[data-v-09c28ccc]{width:100%;height:calc(100vh - 75px)}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -5,7 +5,7 @@ function m() {
|
|
|
5
5
|
o = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.Extension = void 0;
|
|
6
6
|
var a = (
|
|
7
7
|
/** @class */
|
|
8
|
-
|
|
8
|
+
function() {
|
|
9
9
|
function t(u, l, i, y, n, p, r, s, h, g, c, f, x, E, d) {
|
|
10
10
|
i === void 0 && (i = []), n === void 0 && (n = []), r === void 0 && (r = []), s === void 0 && (s = []), this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [], this.i18n = u, this.styles = l, this.previewStyles = c, this.uiElements = i, this.uiElementTagRegistry = y, this.controls = n, this.settingsPanelRegistry = p, this.contextActions = r, this.blocks = s, this.externalSmartElementsLibrary = h, this.externalImageLibrary = g, this.externalAiAssistant = f, this.externalDisplayConditionsLibrary = x, this.externalVideoLibrary = E, this.blocksPanel = d, this.id = Math.random().toString(36).substring(2);
|
|
11
11
|
}
|
|
@@ -42,7 +42,7 @@ function m() {
|
|
|
42
42
|
}, t.prototype.getBlocksPanel = function() {
|
|
43
43
|
return this.blocksPanel;
|
|
44
44
|
}, t;
|
|
45
|
-
}
|
|
45
|
+
}()
|
|
46
46
|
);
|
|
47
47
|
return e.Extension = a, e;
|
|
48
48
|
}
|
|
@@ -6,7 +6,7 @@ function l() {
|
|
|
6
6
|
n = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.ExtensionBuilder = void 0;
|
|
7
7
|
var r = o(), s = (
|
|
8
8
|
/** @class */
|
|
9
|
-
|
|
9
|
+
function() {
|
|
10
10
|
function i() {
|
|
11
11
|
this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
|
|
12
12
|
}
|
|
@@ -43,7 +43,7 @@ function l() {
|
|
|
43
43
|
}, i.prototype.build = function() {
|
|
44
44
|
return new r.Extension(this.i18n, this.styles, this.uiElements, this.uiElementTagRegistry, this.controls, this.settingsPanelRegistry, this.contextActions, this.blocks, this.externalSmartElementsLibrary, this.externalImageLibrary, this.previewStyles, this.externalAiAssistant, this.externalDisplayConditionsLibrary, this.externalVideoLibrary, this.blocksPanel);
|
|
45
45
|
}, i;
|
|
46
|
-
}
|
|
46
|
+
}()
|
|
47
47
|
);
|
|
48
48
|
return e.ExtensionBuilder = s, e;
|
|
49
49
|
}
|
|
@@ -6,7 +6,7 @@ function f() {
|
|
|
6
6
|
n = 1, Object.defineProperty(o, "__esModule", { value: !0 }), o.Block = void 0;
|
|
7
7
|
var r = i(), u = (
|
|
8
8
|
/** @class */
|
|
9
|
-
|
|
9
|
+
function() {
|
|
10
10
|
function e() {
|
|
11
11
|
}
|
|
12
12
|
return e.prototype.isEnabled = function() {
|
|
@@ -32,7 +32,7 @@ function f() {
|
|
|
32
32
|
}, e.prototype.allowInnerBlocksDND = function() {
|
|
33
33
|
return !0;
|
|
34
34
|
}, e;
|
|
35
|
-
}
|
|
35
|
+
}()
|
|
36
36
|
);
|
|
37
37
|
return o.Block = u, o;
|
|
38
38
|
}
|
|
@@ -5,11 +5,11 @@ function u() {
|
|
|
5
5
|
r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.BlockRenderer = void 0;
|
|
6
6
|
var n = (
|
|
7
7
|
/** @class */
|
|
8
|
-
/* @__PURE__ */
|
|
8
|
+
/* @__PURE__ */ function() {
|
|
9
9
|
function o() {
|
|
10
10
|
}
|
|
11
11
|
return o;
|
|
12
|
-
}
|
|
12
|
+
}()
|
|
13
13
|
);
|
|
14
14
|
return e.BlockRenderer = n, e;
|
|
15
15
|
}
|
|
@@ -5,7 +5,7 @@ function l() {
|
|
|
5
5
|
o = 1, Object.defineProperty(t, "__esModule", { value: !0 }), t.BlocksPanel = void 0;
|
|
6
6
|
var r = (
|
|
7
7
|
/** @class */
|
|
8
|
-
|
|
8
|
+
function() {
|
|
9
9
|
function e() {
|
|
10
10
|
}
|
|
11
11
|
return e.prototype.getBlockItemHtml = function(n) {
|
|
@@ -23,7 +23,7 @@ function l() {
|
|
|
23
23
|
}, e.prototype.getHintDelay = function() {
|
|
24
24
|
}, e.prototype.getModulesPanelHint = function() {
|
|
25
25
|
}, e;
|
|
26
|
-
}
|
|
26
|
+
}()
|
|
27
27
|
);
|
|
28
28
|
return t.BlocksPanel = r, t;
|
|
29
29
|
}
|
|
@@ -5,11 +5,11 @@ function i() {
|
|
|
5
5
|
e = 1, Object.defineProperty(t, "__esModule", { value: !0 }), t.ContextAction = void 0;
|
|
6
6
|
var n = (
|
|
7
7
|
/** @class */
|
|
8
|
-
/* @__PURE__ */
|
|
8
|
+
/* @__PURE__ */ function() {
|
|
9
9
|
function o() {
|
|
10
10
|
}
|
|
11
11
|
return o;
|
|
12
|
-
}
|
|
12
|
+
}()
|
|
13
13
|
);
|
|
14
14
|
return t.ContextAction = n, t;
|
|
15
15
|
}
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js
CHANGED
|
@@ -4,9 +4,9 @@ function a() {
|
|
|
4
4
|
if (i) return e;
|
|
5
5
|
i = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.AiAssistantValueType = void 0;
|
|
6
6
|
var r;
|
|
7
|
-
return
|
|
7
|
+
return function(t) {
|
|
8
8
|
t.SUBJECT = "subject", t.HIDDEN_PREHEADER = "hiddenPreheader", t.TEXT_BLOCK = "textBlock";
|
|
9
|
-
}
|
|
9
|
+
}(r || (e.AiAssistantValueType = r = {})), e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
a as __require
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js
CHANGED
|
@@ -4,9 +4,9 @@ function p() {
|
|
|
4
4
|
if (r) return o;
|
|
5
5
|
r = 1, Object.defineProperty(o, "__esModule", { value: !0 }), o.BlockCompositionType = void 0;
|
|
6
6
|
var e;
|
|
7
|
-
return
|
|
7
|
+
return function(i) {
|
|
8
8
|
i.BLOCK = "BLOCK", i.STRUCTURE = "STRUCTURE";
|
|
9
|
-
}
|
|
9
|
+
}(e || (o.BlockCompositionType = e = {})), o;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
p as __require
|
|
@@ -4,9 +4,9 @@ function K() {
|
|
|
4
4
|
if (L) return C;
|
|
5
5
|
L = 1, Object.defineProperty(C, "__esModule", { value: !0 }), C.BlockType = void 0;
|
|
6
6
|
var _;
|
|
7
|
-
return
|
|
7
|
+
return function(O) {
|
|
8
8
|
O.BLOCK_IMAGE = "BLOCK_IMAGE", O.BLOCK_TEXT = "BLOCK_TEXT", O.BLOCK_BUTTON = "BLOCK_BUTTON", O.BLOCK_SPACER = "BLOCK_SPACER", O.BLOCK_VIDEO = "BLOCK_VIDEO", O.BLOCK_SOCIAL = "BLOCK_SOCIAL", O.BLOCK_BANNER = "BLOCK_BANNER", O.BLOCK_TIMER = "BLOCK_TIMER", O.BLOCK_MENU = "BLOCK_MENU", O.BLOCK_MENU_ITEM = "BLOCK_MENU_ITEM", O.BLOCK_HTML = "BLOCK_HTML", O.BLOCK_AMP_CAROUSEL = "BLOCK_AMP_CAROUSEL", O.BLOCK_AMP_ACCORDION = "BLOCK_AMP_ACCORDION", O.BLOCK_AMP_FORM = "BLOCK_AMP_FORM", O.CONTAINER = "CONTAINER", O.FORM_CONTAINER = "FORM_CONTAINER", O.STRUCTURE = "STRUCTURE", O.STRIPE = "STRIPE", O.EMPTY_CONTAINER = "EMPTY_CONTAINER", O.CUSTOM_BLOCK_LINK = "CUSTOM_BLOCK_LINK", O.CUSTOM_BLOCK_IMAGE = "CUSTOM_BLOCK_IMAGE", O.CUSTOM_BLOCK_TEXT = "CUSTOM_BLOCK_TEXT";
|
|
9
|
-
}
|
|
9
|
+
}(_ || (C.BlockType = _ = {})), C;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
K as __require
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js
CHANGED
|
@@ -95,9 +95,9 @@ function b() {
|
|
|
95
95
|
T.DISPLAY_OFFER_BADGE = "displayOfferBadgeForm", T.DISPLAY_PROMO_CODE_BADGE = "displayPromoCodeBadgeForm", T.END_DISCOUNT_OFFER = "endDiscountOfferForm", T.GMAIL_PROMOTIONS_TAB = "gmailPromotionsTabForm", T.HIDDEN_PRE_HEADER = "hiddenPreHeaderForm", T.INCLUDE_PROMO_IMAGE = "includePromoImageForm", T.INCLUDE_SENDER_LOGO = "includeSenderLogoForm", T.SUBJECT_TITLE = "subjectTitleForm", T.UTM_PARAMETERS = "utmParametersForm", T.UTM_PARAMETERS_CAMPAIGN = "utmParameterCampaignForm", T.UTM_PARAMETERS_CUSTOM = "utmParametersCustomForm", T.UTM_PARAMETERS_CUSTOM_ITEM = "utmParametersCustomItemForm";
|
|
96
96
|
})(B || (E.MessageSettingsControls = B = {}));
|
|
97
97
|
var C;
|
|
98
|
-
return
|
|
98
|
+
return function(T) {
|
|
99
99
|
T.BUTTONS_ADJUST_TO_WIDTH_CONTAINER = "buttonsAdjustToWidthFormContainer", T.BUTTONS_BORDER = "buttonsBorder", T.BUTTONS_BORDER_RADIUS_CONTAINER = "buttonsBorderRadiusContainer", T.BUTTONS_COLOR_CONTAINER = "buttonsColorContainer", T.BUTTONS_FONT_FAMILY_CONTAINER = "buttonsFontFamilyContainer", T.BUTTONS_FONT_SIZE_CONTAINER = "buttonsFontSizeFormContainer", T.BUTTONS_HOVERED_BUTTON_STYLE = "buttonsHoveredButtonStyleForm", T.BUTTONS_INTERNAL_INDENTS_CONTAINER = "buttonsInternalIndentsContainer", T.BUTTONS_LETTER_SPACING_CONTAINER = "buttonsLetterSpacingContainer", T.BUTTONS_OUTLOOK_SUPPORT_CONTAINER = "buttonsOutlookSupportContainer", T.BUTTONS_TEXT_STYLE_AND_COLOR_CONTAINER = "buttonsTextStyleAndColorFormContainer", T.DEFAULT_STRUCTURE_INTERNAL_INDENTS = "defaultStructureInternalIndents", T.GENERAL_BACKGROUND_COLOR_CONTAINER = "generalBackgroundColorContainer", T.GENERAL_IMAGE_CONTAINER = "generalImageContainer", T.HEADINGS_FONT_FAMILY_CONTAINER = "headingsFontFamilyContainer", T.HEADINGS_H1_CONTROLS_CONTAINER = "headingH1controlsContainer", T.HEADINGS_H2_CONTROLS_CONTAINER = "headingH2controlsContainer", T.HEADINGS_H3_CONTROLS_CONTAINER = "headingH3controlsContainer", T.HEADINGS_H4_CONTROLS_CONTAINER = "headingH4controlsContainer", T.HEADINGS_H5_CONTROLS_CONTAINER = "headingH5controlsContainer", T.HEADINGS_H6_CONTROLS_CONTAINER = "headingH6controlsContainer", T.HEADINGS_LETTER_SPACING_CONTAINER = "headingsLetterSpacingFormContainer", T.HEADINGS_PARAGRAPH_BOTTOM_MARGIN = "headingsParagraphBottomMarginForm", T.HEADINGS_TYPES_BUTTON_BAR = "headingsTypesButtonBarForm", T.LISTS_STYLES = "listsStyles", T.MARGIN_AROUND_MESSAGE = "marginAroundMessage", T.MESSAGE_ALIGNMENT = "messageAlignment", T.MESSAGE_CONTENT_WIDTH = "messageContentWidth", T.RESPONSIVE_DESIGN = "responsiveDesign", T.RIGHT_TO_LEFT_CONTAINER = "rightToLeftContainer", T.STRIPES_CONTENT_CONTROLS_CONTAINER = "stripesContentControlsContainer", T.STRIPES_FONT_FAMILY_CONTAINER = "stripesFontFamilyFormContainer", T.STRIPES_FOOTER_CONTROLS_CONTAINER = "stripesFooterControlsContainer", T.STRIPES_HEADER_CONTROLS_CONTAINER = "stripesHeaderControlsContainer", T.STRIPES_INFO_AREA_CONTROLS_CONTAINER = "stripesInfoAreaControlsContainer", T.STRIPES_LETTER_SPACING_CONTAINER = "stripesLetterSpacingFormContainer", T.STRIPES_LINE_HEIGHT_CONTAINER = "stripesLineHeightFormContainer", T.STRIPE_TYPES_BUTTON_BAR = "stripeTypesButtonBarForm", T.UNDERLINE_LINKS_CONTAINER = "underlineLinksContainer";
|
|
100
|
-
}
|
|
100
|
+
}(C || (E.GeneralStylesControls = C = {})), E.BuiltInControlTypes = (I = {}, I[_.BlockType.BLOCK_BANNER] = e, I[_.BlockType.BLOCK_BUTTON] = A, I[_.BlockType.BLOCK_TEXT] = i, I[_.BlockType.BLOCK_VIDEO] = m, I[_.BlockType.BLOCK_TIMER] = a, I[_.BlockType.BLOCK_SPACER] = L, I[_.BlockType.BLOCK_IMAGE] = r, I[_.BlockType.BLOCK_HTML] = F, I[_.BlockType.BLOCK_SOCIAL] = o, I[_.BlockType.BLOCK_MENU] = M, I[_.BlockType.BLOCK_AMP_FORM] = R, I[_.BlockType.BLOCK_AMP_ACCORDION] = D, I[_.BlockType.BLOCK_AMP_CAROUSEL] = c, I[_.BlockType.STRIPE] = p, I[_.BlockType.STRUCTURE] = d, I[_.BlockType.CONTAINER] = u, I[_.BlockType.CUSTOM_BLOCK_LINK] = n, I[_.BlockType.CUSTOM_BLOCK_IMAGE] = t, I[_.BlockType.CUSTOM_BLOCK_TEXT] = S, I.BANNER_CHILD = O, I.MESSAGE_SETTINGS = B, I.GENERAL_STYLES = C, I.GENERAL = N, I), E;
|
|
101
101
|
}
|
|
102
102
|
export {
|
|
103
103
|
b as __require
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js
CHANGED
|
@@ -4,9 +4,9 @@ function i() {
|
|
|
4
4
|
if (E) return r;
|
|
5
5
|
E = 1, Object.defineProperty(r, "__esModule", { value: !0 }), r.ContextActionType = void 0;
|
|
6
6
|
var o;
|
|
7
|
-
return
|
|
7
|
+
return function(e) {
|
|
8
8
|
e.SAVE_AS_MODULE = "saveAsModule", e.UPDATE_MODULE = "updateModule", e.IMPROVE_WITH_AI = "improveWithAI", e.MOVE = "move", e.COPY = "copy", e.REMOVE = "remove", e.CLEAR_CONTAINER = "clearContainer", e.REMOVE_CONTAINER = "removeContainer", e.EXTERNAL_DISPLAY_CONDITION = "externalDisplayCondition";
|
|
9
|
-
}
|
|
9
|
+
}(o || (r.ContextActionType = o = {})), r;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
i as __require
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js
CHANGED
|
@@ -4,9 +4,9 @@ function p() {
|
|
|
4
4
|
if (t) return e;
|
|
5
5
|
t = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.EditorStatePropertyType = void 0;
|
|
6
6
|
var r;
|
|
7
|
-
return
|
|
7
|
+
return function(o) {
|
|
8
8
|
o.previewDeviceMode = "previewDeviceMode";
|
|
9
|
-
}
|
|
9
|
+
}(r || (e.EditorStatePropertyType = r = {})), e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
p as __require
|
|
@@ -4,9 +4,9 @@ function t() {
|
|
|
4
4
|
if (r) return e;
|
|
5
5
|
r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.PanelPosition = void 0;
|
|
6
6
|
var i;
|
|
7
|
-
return
|
|
7
|
+
return function(o) {
|
|
8
8
|
o.BLOCKS_SETTINGS = "BLOCKS_SETTINGS", o.SETTINGS_BLOCKS = "SETTINGS_BLOCKS";
|
|
9
|
-
}
|
|
9
|
+
}(i || (e.PanelPosition = i = {})), e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
t as __require
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js
CHANGED
|
@@ -4,9 +4,9 @@ function t() {
|
|
|
4
4
|
if (o) return e;
|
|
5
5
|
o = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.PreviewDeviceMode = void 0;
|
|
6
6
|
var r;
|
|
7
|
-
return
|
|
7
|
+
return function(i) {
|
|
8
8
|
i.DESKTOP = "DESKTOP", i.MOBILE = "MOBILE";
|
|
9
|
-
}
|
|
9
|
+
}(r || (e.PreviewDeviceMode = r = {})), e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
t as __require
|
|
@@ -4,9 +4,9 @@ function a() {
|
|
|
4
4
|
if (i) return e;
|
|
5
5
|
i = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.SettingsTab = void 0;
|
|
6
6
|
var r;
|
|
7
|
-
return
|
|
7
|
+
return function(t) {
|
|
8
8
|
t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data";
|
|
9
|
-
}
|
|
9
|
+
}(r || (e.SettingsTab = r = {})), e;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
a as __require
|
|
@@ -4,9 +4,9 @@ function S() {
|
|
|
4
4
|
if (O) return T;
|
|
5
5
|
O = 1, Object.defineProperty(T, "__esModule", { value: !0 }), T.UIElementType = void 0;
|
|
6
6
|
var C;
|
|
7
|
-
return
|
|
7
|
+
return function(E) {
|
|
8
8
|
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.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";
|
|
9
|
-
}
|
|
9
|
+
}(C || (T.UIElementType = C = {})), T;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
S as __require
|
|
@@ -5,7 +5,7 @@ var i;
|
|
|
5
5
|
function d() {
|
|
6
6
|
if (i) return n;
|
|
7
7
|
i = 1;
|
|
8
|
-
var a = n && n.__extends || /* @__PURE__ */
|
|
8
|
+
var a = n && n.__extends || /* @__PURE__ */ function() {
|
|
9
9
|
var t = function(o, r) {
|
|
10
10
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
11
11
|
e.__proto__ = u;
|
|
@@ -22,11 +22,11 @@ function d() {
|
|
|
22
22
|
}
|
|
23
23
|
o.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}();
|
|
26
26
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.BackgroundColorBuiltInControl = void 0;
|
|
27
27
|
var c = C(), _ = p(), s = (
|
|
28
28
|
/** @class */
|
|
29
|
-
|
|
29
|
+
function(t) {
|
|
30
30
|
a(o, t);
|
|
31
31
|
function o() {
|
|
32
32
|
return t !== null && t.apply(this, arguments) || this;
|
|
@@ -34,7 +34,7 @@ function d() {
|
|
|
34
34
|
return o.prototype.getParentControlId = function() {
|
|
35
35
|
return _.BuiltInControlTypes.GENERAL.BACKGROUND_COLOR;
|
|
36
36
|
}, o;
|
|
37
|
-
}
|
|
37
|
+
}(c.BuiltInControl)
|
|
38
38
|
);
|
|
39
39
|
return n.BackgroundColorBuiltInControl = s, n;
|
|
40
40
|
}
|
|
@@ -5,7 +5,7 @@ var l;
|
|
|
5
5
|
function d() {
|
|
6
6
|
if (l) return n;
|
|
7
7
|
l = 1;
|
|
8
|
-
var a = n && n.__extends || /* @__PURE__ */
|
|
8
|
+
var a = n && n.__extends || /* @__PURE__ */ function() {
|
|
9
9
|
var o = function(t, r) {
|
|
10
10
|
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
11
11
|
e.__proto__ = u;
|
|
@@ -22,11 +22,11 @@ function d() {
|
|
|
22
22
|
}
|
|
23
23
|
t.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}();
|
|
26
26
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.BackgroundImageBuiltInControl = void 0;
|
|
27
27
|
var c = f(), p = _(), s = (
|
|
28
28
|
/** @class */
|
|
29
|
-
|
|
29
|
+
function(o) {
|
|
30
30
|
a(t, o);
|
|
31
31
|
function t() {
|
|
32
32
|
return o !== null && o.apply(this, arguments) || this;
|
|
@@ -37,7 +37,7 @@ function d() {
|
|
|
37
37
|
return { targetNodes: [this.api.getDocumentRootHtmlNode().querySelector(".es-wrapper-color>table")] };
|
|
38
38
|
}, t.prototype.getLabels = function() {
|
|
39
39
|
}, t;
|
|
40
|
-
}
|
|
40
|
+
}(c.BuiltInControl)
|
|
41
41
|
);
|
|
42
42
|
return n.BackgroundImageBuiltInControl = s, n;
|
|
43
43
|
}
|
|
@@ -5,7 +5,7 @@ var u;
|
|
|
5
5
|
function C() {
|
|
6
6
|
if (u) return r;
|
|
7
7
|
u = 1;
|
|
8
|
-
var a = r && r.__extends || /* @__PURE__ */
|
|
8
|
+
var a = r && r.__extends || /* @__PURE__ */ function() {
|
|
9
9
|
var o = function(t, n) {
|
|
10
10
|
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
11
11
|
e.__proto__ = i;
|
|
@@ -22,11 +22,11 @@ function C() {
|
|
|
22
22
|
}
|
|
23
23
|
t.prototype = n === null ? Object.create(n) : (e.prototype = n.prototype, new e());
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}();
|
|
26
26
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.BlockPaddingsBuiltInControl = void 0;
|
|
27
27
|
var s = _(), c = f(), p = (
|
|
28
28
|
/** @class */
|
|
29
|
-
|
|
29
|
+
function(o) {
|
|
30
30
|
a(t, o);
|
|
31
31
|
function t() {
|
|
32
32
|
return o !== null && o.apply(this, arguments) || this;
|
|
@@ -35,7 +35,7 @@ function C() {
|
|
|
35
35
|
return c.BuiltInControlTypes.GENERAL.BLOCK_PADDINGS;
|
|
36
36
|
}, t.prototype.getLabels = function() {
|
|
37
37
|
}, t;
|
|
38
|
-
}
|
|
38
|
+
}(s.BuiltInControl)
|
|
39
39
|
);
|
|
40
40
|
return r.BlockPaddingsBuiltInControl = p, r;
|
|
41
41
|
}
|
|
@@ -5,7 +5,7 @@ function u() {
|
|
|
5
5
|
o = 1, Object.defineProperty(n, "__esModule", { value: !0 }), n.BuiltInControl = void 0;
|
|
6
6
|
var e = (
|
|
7
7
|
/** @class */
|
|
8
|
-
|
|
8
|
+
function() {
|
|
9
9
|
function t() {
|
|
10
10
|
}
|
|
11
11
|
return t.prototype.getTargetNodes = function(r) {
|
|
@@ -13,7 +13,7 @@ function u() {
|
|
|
13
13
|
}, t.prototype.getModificationDescription = function() {
|
|
14
14
|
}, t.prototype.getAdditionalModifications = function(r) {
|
|
15
15
|
}, t;
|
|
16
|
-
}
|
|
16
|
+
}()
|
|
17
17
|
);
|
|
18
18
|
return n.BuiltInControl = e, n;
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@ var l;
|
|
|
6
6
|
function T() {
|
|
7
7
|
if (l) return n;
|
|
8
8
|
l = 1;
|
|
9
|
-
var B = n && n.__extends || /* @__PURE__ */
|
|
9
|
+
var B = n && n.__extends || /* @__PURE__ */ function() {
|
|
10
10
|
var o = function(t, r) {
|
|
11
11
|
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
12
|
e.__proto__ = u;
|
|
@@ -23,11 +23,11 @@ function T() {
|
|
|
23
23
|
}
|
|
24
24
|
t.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}();
|
|
27
27
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonBorderBuiltInControl = void 0;
|
|
28
28
|
var p = f(), a = s(), c = y(), _ = (
|
|
29
29
|
/** @class */
|
|
30
|
-
|
|
30
|
+
function(o) {
|
|
31
31
|
B(t, o);
|
|
32
32
|
function t() {
|
|
33
33
|
return o !== null && o.apply(this, arguments) || this;
|
|
@@ -37,7 +37,7 @@ function T() {
|
|
|
37
37
|
}, t.prototype.getTargetNodes = function(r) {
|
|
38
38
|
}, t.prototype.getLabels = function() {
|
|
39
39
|
}, t;
|
|
40
|
-
}
|
|
40
|
+
}(p.BuiltInControl)
|
|
41
41
|
);
|
|
42
42
|
return n.ButtonBorderBuiltInControl = _, n;
|
|
43
43
|
}
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js
CHANGED
|
@@ -6,7 +6,7 @@ var l;
|
|
|
6
6
|
function O() {
|
|
7
7
|
if (l) return n;
|
|
8
8
|
l = 1;
|
|
9
|
-
var p = n && n.__extends || /* @__PURE__ */
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ function() {
|
|
10
10
|
var r = function(t, o) {
|
|
11
11
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
12
|
e.__proto__ = u;
|
|
@@ -23,11 +23,11 @@ function O() {
|
|
|
23
23
|
}
|
|
24
24
|
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}();
|
|
27
27
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonColorBuiltInControl = void 0;
|
|
28
28
|
var a = s(), c = B(), _ = C(), f = (
|
|
29
29
|
/** @class */
|
|
30
|
-
|
|
30
|
+
function(r) {
|
|
31
31
|
p(t, r);
|
|
32
32
|
function t() {
|
|
33
33
|
return r !== null && r.apply(this, arguments) || this;
|
|
@@ -37,7 +37,7 @@ function O() {
|
|
|
37
37
|
}, t.prototype.getTargetNodes = function(o) {
|
|
38
38
|
}, t.prototype.getLabels = function() {
|
|
39
39
|
}, t;
|
|
40
|
-
}
|
|
40
|
+
}(a.BuiltInControl)
|
|
41
41
|
);
|
|
42
42
|
return n.ButtonColorBuiltInControl = f, n;
|
|
43
43
|
}
|
|
@@ -6,7 +6,7 @@ var i;
|
|
|
6
6
|
function O() {
|
|
7
7
|
if (i) return n;
|
|
8
8
|
i = 1;
|
|
9
|
-
var p = n && n.__extends || /* @__PURE__ */
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ function() {
|
|
10
10
|
var r = function(t, o) {
|
|
11
11
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
12
|
e.__proto__ = u;
|
|
@@ -23,11 +23,11 @@ function O() {
|
|
|
23
23
|
}
|
|
24
24
|
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}();
|
|
27
27
|
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonFontColorBuiltInControl = void 0;
|
|
28
28
|
var _ = s(), a = f(), c = B(), C = (
|
|
29
29
|
/** @class */
|
|
30
|
-
|
|
30
|
+
function(r) {
|
|
31
31
|
p(t, r);
|
|
32
32
|
function t() {
|
|
33
33
|
return r !== null && r.apply(this, arguments) || this;
|
|
@@ -36,7 +36,7 @@ function O() {
|
|
|
36
36
|
return _.BuiltInControlTypes[c.BlockType.BLOCK_BUTTON].FONT_COLOR;
|
|
37
37
|
}, t.prototype.getTargetNodes = function(o) {
|
|
38
38
|
}, t;
|
|
39
|
-
}
|
|
39
|
+
}(a.TextColorBuiltInControl)
|
|
40
40
|
);
|
|
41
41
|
return n.ButtonFontColorBuiltInControl = C, n;
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ var i;
|
|
|
6
6
|
function T() {
|
|
7
7
|
if (i) return o;
|
|
8
8
|
i = 1;
|
|
9
|
-
var a = o && o.__extends || /* @__PURE__ */
|
|
9
|
+
var a = o && o.__extends || /* @__PURE__ */ function() {
|
|
10
10
|
var r = function(t, n) {
|
|
11
11
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
12
|
e.__proto__ = u;
|
|
@@ -23,11 +23,11 @@ function T() {
|
|
|
23
23
|
}
|
|
24
24
|
t.prototype = n === null ? Object.create(n) : (e.prototype = n.prototype, new e());
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}();
|
|
27
27
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.ButtonInternalIndentsBuiltInControl = void 0;
|
|
28
28
|
var s = c(), I = f(), p = B(), _ = (
|
|
29
29
|
/** @class */
|
|
30
|
-
|
|
30
|
+
function(r) {
|
|
31
31
|
a(t, r);
|
|
32
32
|
function t() {
|
|
33
33
|
return r !== null && r.apply(this, arguments) || this;
|
|
@@ -36,7 +36,7 @@ function T() {
|
|
|
36
36
|
return I.BuiltInControlTypes[p.BlockType.BLOCK_BUTTON].INTERNAL_INDENT;
|
|
37
37
|
}, t.prototype.getLabels = function() {
|
|
38
38
|
}, t;
|
|
39
|
-
}
|
|
39
|
+
}(s.BuiltInControl)
|
|
40
40
|
);
|
|
41
41
|
return o.ButtonInternalIndentsBuiltInControl = _, o;
|
|
42
42
|
}
|