@useinsider/guido 1.0.0-beta.7c7bcef → 1.0.0-beta.7e9f048
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 +384 -24
- package/dist/@types/generic.d.ts +19 -0
- package/dist/App.vue.d.ts +1 -1
- package/dist/_virtual/AddCustomFont.js +4 -0
- package/dist/_virtual/AiAssistantValueType.js +4 -0
- package/dist/_virtual/BackgroundColorBuiltInControl.js +4 -0
- package/dist/_virtual/BackgroundImageBuiltInControl.js +4 -0
- package/dist/_virtual/Block.js +4 -0
- package/dist/_virtual/BlockAttributes.js +4 -0
- package/dist/_virtual/BlockCompositionType.js +4 -0
- package/dist/_virtual/BlockPaddingsBuiltInControl.js +4 -0
- package/dist/_virtual/BlockRenderer.js +4 -0
- package/dist/_virtual/BlockType.js +4 -0
- package/dist/_virtual/BlocksPanel.js +4 -0
- package/dist/_virtual/BuiltInControl.js +4 -0
- package/dist/_virtual/BuiltInControlTypes.js +4 -0
- package/dist/_virtual/ButtonBorderBuiltInControl.js +4 -0
- package/dist/_virtual/ButtonColorBuiltInControl.js +4 -0
- package/dist/_virtual/ButtonFontColorBuiltInControl.js +4 -0
- package/dist/_virtual/ButtonInternalIndentsBuiltInControl.js +4 -0
- package/dist/_virtual/ButtonTextBuiltInControl.js +4 -0
- package/dist/_virtual/ContextAction.js +4 -0
- package/dist/_virtual/ContextActionType.js +4 -0
- package/dist/_virtual/Control.js +4 -0
- package/dist/_virtual/EditorStatePropertyType.js +4 -0
- package/dist/_virtual/Extension.js +4 -0
- package/dist/_virtual/ExtensionBuilder.js +4 -0
- package/dist/_virtual/FontFamilyBuiltInControl.js +4 -0
- package/dist/_virtual/LinkColorBuiltInControl.js +4 -0
- package/dist/_virtual/ModificationDescription.js +4 -0
- package/dist/_virtual/PanelPosition.js +4 -0
- package/dist/_virtual/PreviewDeviceMode.js +4 -0
- package/dist/_virtual/SettingsPanelRegistry.js +4 -0
- package/dist/_virtual/SettingsPanelTab.js +4 -0
- package/dist/_virtual/SettingsTab.js +4 -0
- package/dist/_virtual/StructureBorderBuiltInControl.js +4 -0
- package/dist/_virtual/StructurePaddingsBuiltInControl.js +4 -0
- package/dist/_virtual/TextColorBuiltInControl.js +4 -0
- package/dist/_virtual/TextLineSpacingBuiltInControl.js +4 -0
- package/dist/_virtual/TextSizeBuiltInControl.js +4 -0
- package/dist/_virtual/TextStyleBuiltInControl.js +4 -0
- package/dist/_virtual/UIElement.js +4 -0
- package/dist/_virtual/UIElementTagRegistry.js +4 -0
- package/dist/_virtual/UIElementType.js +4 -0
- package/dist/_virtual/UIElementsAttributes.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/components/Guido.vue.d.ts +16 -3
- package/dist/components/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +61 -24
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +10 -8
- package/dist/components/organisms/header/MiddleSlot.vue.js +7 -7
- package/dist/components/organisms/header/MiddleSlot.vue2.js +15 -17
- package/dist/components/organisms/header/RightSlot.vue.d.ts +1 -1
- package/dist/components/organisms/header/RightSlot.vue.js +7 -7
- package/dist/components/organisms/header/RightSlot.vue2.js +30 -14
- package/dist/components/organisms/header/ViewOptions.vue.d.ts +1 -1
- package/dist/components/organisms/header/ViewOptions.vue.js +1 -1
- package/dist/components/organisms/header/ViewOptions.vue2.js +29 -10
- package/dist/components/organisms/header/version-history/RestoreButton.vue.d.ts +1 -1
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.d.ts +1 -1
- package/dist/components/organisms/header/version-history/VersionHistoryItem.vue.js +1 -1
- package/dist/components/organisms/header/version-history/ViewOptions.vue.d.ts +1 -1
- package/dist/components/organisms/header/version-history/ViewOptions.vue.js +3 -3
- package/dist/components/organisms/header/version-history/ViewOptions.vue2.js +34 -16
- package/dist/composables/useActionsApi.d.ts +1 -0
- package/dist/composables/useActionsApi.js +14 -12
- package/dist/composables/useExport.d.ts +1 -1
- package/dist/composables/useExport.js +35 -20
- package/dist/composables/useGuidoActions.d.ts +46 -0
- package/dist/composables/useGuidoActions.js +37 -0
- package/dist/composables/useHtmlCompiler.d.ts +4 -0
- package/dist/composables/useHtmlCompiler.js +16 -0
- package/dist/composables/useProvideInject.d.ts +14 -0
- package/dist/composables/useProvideInject.js +17 -0
- package/dist/composables/useStripo.js +41 -29
- package/dist/config/compiler/htmlCompilerRules.d.ts +2 -0
- package/dist/config/compiler/htmlCompilerRules.js +145 -0
- package/dist/config/compiler/outlookCompilerRules.d.ts +0 -0
- package/dist/extensions/DynamicContent/dynamic-content-modal.d.ts +6 -0
- package/dist/extensions/DynamicContent/dynamic-content-modal.js +27 -0
- package/dist/extensions/DynamicContent/dynamic-content.css.js +24 -0
- package/dist/extensions/DynamicContent/dynamic-content.d.ts +16 -0
- package/dist/extensions/DynamicContent/dynamic-content.js +63 -0
- package/dist/extensions/DynamicContent/extension.d.ts +2 -0
- package/dist/extensions/DynamicContent/extension.js +11 -0
- package/dist/guido.css +1 -1
- package/dist/mock/api/default-template.d.ts +2 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +51 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +52 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +41 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlockRenderer.js +18 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlocksPanel.js +32 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/ContextAction.js +18 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AddCustomFont.js +8 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockAttributes.js +34 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +104 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +13 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundColorBuiltInControl.js +43 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundImageBuiltInControl.js +46 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BlockPaddingsBuiltInControl.js +44 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BuiltInControl.js +22 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonBorderBuiltInControl.js +46 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js +46 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonFontColorBuiltInControl.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonInternalIndentsBuiltInControl.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonTextBuiltInControl.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +20 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/FontFamilyBuiltInControl.js +43 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/LinkColorBuiltInControl.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +18 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +32 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructureBorderBuiltInControl.js +46 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructurePaddingsBuiltInControl.js +44 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextColorBuiltInControl.js +43 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextLineSpacingBuiltInControl.js +43 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextSizeBuiltInControl.js +45 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextStyleBuiltInControl.js +43 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/index.js +266 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +26 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +22 -0
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +18 -0
- package/dist/services/stripoApi.d.ts +2 -1
- package/dist/services/stripoApi.js +27 -7
- package/dist/stores/editor.d.ts +1 -0
- package/dist/stores/editor.js +3 -2
- package/dist/utils/htmlCompiler.d.ts +12 -0
- package/dist/utils/htmlCompiler.js +70 -0
- package/dist/utils/tooltipUtils.d.ts +2 -0
- package/dist/utils/tooltipUtils.js +11 -0
- package/package.json +6 -5
- package/dist/composables/useTemplates.d.ts +0 -5
- package/dist/composables/useTemplates.js +0 -27
- package/dist/static/templates/default/index.html.js +0 -5
- package/dist/static/templates/default/style.css.js +0 -119
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { d as t } from "../../_virtual/index.js";
|
|
2
|
+
import { DynamicContentUiElementExtension as n, DynamicContentTagRegistry as i } from "./dynamic-content.js";
|
|
3
|
+
import e from "./dynamic-content.css.js";
|
|
4
|
+
const s = new t.ExtensionBuilder().addUiElement(n).withStyles(e).withLocalization({
|
|
5
|
+
en: {
|
|
6
|
+
"Add Dynamic Content": "Add Dynamic Content"
|
|
7
|
+
}
|
|
8
|
+
}).withUiElementTagRegistry(i).build();
|
|
9
|
+
export {
|
|
10
|
+
s as default
|
|
11
|
+
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.version-history-item[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-93dadc5a] .guido__view-option-selection-desktop svg,[data-v-93dadc5a] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-93dadc5a] .in-segments-wrapper__button_selected,[data-v-93dadc5a] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-93dadc5a] .in-tooltip-wrapper__icon{cursor:pointer}.guido-editor__wrapper[data-v-89bedf08],.guido-editor__container[data-v-89bedf08]{width:100%;height:calc(100vh - 75px)}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../_virtual/Extension.js";
|
|
2
|
+
var o;
|
|
3
|
+
function m() {
|
|
4
|
+
if (o) return e;
|
|
5
|
+
o = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.Extension = void 0;
|
|
6
|
+
var a = (
|
|
7
|
+
/** @class */
|
|
8
|
+
function() {
|
|
9
|
+
function t(u, l, i, y, n, p, r, s, h, g, c, f, x, E, d) {
|
|
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
|
+
}
|
|
12
|
+
return t.prototype.getI18n = function() {
|
|
13
|
+
return this.i18n;
|
|
14
|
+
}, t.prototype.getStyles = function() {
|
|
15
|
+
return this.styles;
|
|
16
|
+
}, t.prototype.getPreviewStyles = function() {
|
|
17
|
+
return this.previewStyles;
|
|
18
|
+
}, t.prototype.getUiElements = function() {
|
|
19
|
+
return this.uiElements;
|
|
20
|
+
}, t.prototype.getUiElementTagRegistry = function() {
|
|
21
|
+
return this.uiElementTagRegistry;
|
|
22
|
+
}, t.prototype.getControls = function() {
|
|
23
|
+
return this.controls;
|
|
24
|
+
}, t.prototype.getSettingsPanelRegistry = function() {
|
|
25
|
+
return this.settingsPanelRegistry;
|
|
26
|
+
}, t.prototype.getContextActions = function() {
|
|
27
|
+
return this.contextActions;
|
|
28
|
+
}, t.prototype.getBlocks = function() {
|
|
29
|
+
return this.blocks;
|
|
30
|
+
}, t.prototype.getId = function() {
|
|
31
|
+
return this.id;
|
|
32
|
+
}, t.prototype.getExternalSmartElementsLibrary = function() {
|
|
33
|
+
return this.externalSmartElementsLibrary;
|
|
34
|
+
}, t.prototype.getExternalImageLibrary = function() {
|
|
35
|
+
return this.externalImageLibrary;
|
|
36
|
+
}, t.prototype.getExternalAiAssistant = function() {
|
|
37
|
+
return this.externalAiAssistant;
|
|
38
|
+
}, t.prototype.getExternalDisplayConditionsLibrary = function() {
|
|
39
|
+
return this.externalDisplayConditionsLibrary;
|
|
40
|
+
}, t.prototype.getExternalVideoLibrary = function() {
|
|
41
|
+
return this.externalVideoLibrary;
|
|
42
|
+
}, t.prototype.getBlocksPanel = function() {
|
|
43
|
+
return this.blocksPanel;
|
|
44
|
+
}, t;
|
|
45
|
+
}()
|
|
46
|
+
);
|
|
47
|
+
return e.Extension = a, e;
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
m as __require
|
|
51
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../_virtual/ExtensionBuilder.js";
|
|
2
|
+
import { __require as o } from "./Extension.js";
|
|
3
|
+
var n;
|
|
4
|
+
function l() {
|
|
5
|
+
if (n) return e;
|
|
6
|
+
n = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.ExtensionBuilder = void 0;
|
|
7
|
+
var r = o(), s = (
|
|
8
|
+
/** @class */
|
|
9
|
+
function() {
|
|
10
|
+
function i() {
|
|
11
|
+
this.uiElements = [], this.controls = [], this.contextActions = [], this.blocks = [];
|
|
12
|
+
}
|
|
13
|
+
return i.prototype.withLocalization = function(t) {
|
|
14
|
+
return this.i18n = t, this;
|
|
15
|
+
}, i.prototype.withStyles = function(t) {
|
|
16
|
+
return this.styles = t, this;
|
|
17
|
+
}, i.prototype.withPreviewStyles = function(t) {
|
|
18
|
+
return this.previewStyles = t, this;
|
|
19
|
+
}, i.prototype.addContextAction = function(t) {
|
|
20
|
+
return this.contextActions.push(t), this;
|
|
21
|
+
}, i.prototype.addUiElement = function(t) {
|
|
22
|
+
return this.uiElements.push(t), this;
|
|
23
|
+
}, i.prototype.withUiElementTagRegistry = function(t) {
|
|
24
|
+
return this.uiElementTagRegistry = t, this;
|
|
25
|
+
}, i.prototype.addControl = function(t) {
|
|
26
|
+
return this.controls.push(t), this;
|
|
27
|
+
}, i.prototype.withSettingsPanelRegistry = function(t) {
|
|
28
|
+
return this.settingsPanelRegistry = t, this;
|
|
29
|
+
}, i.prototype.withExternalSmartElementsLibrary = function(t) {
|
|
30
|
+
return this.externalSmartElementsLibrary = t, this;
|
|
31
|
+
}, i.prototype.withExternalImageLibrary = function(t) {
|
|
32
|
+
return this.externalImageLibrary = t, this;
|
|
33
|
+
}, i.prototype.withExternalAiAssistant = function(t) {
|
|
34
|
+
return this.externalAiAssistant = t, this;
|
|
35
|
+
}, i.prototype.withExternalDisplayCondition = function(t) {
|
|
36
|
+
return this.externalDisplayConditionsLibrary = t, this;
|
|
37
|
+
}, i.prototype.withExternalVideosLibrary = function(t) {
|
|
38
|
+
return this.externalVideoLibrary = t, this;
|
|
39
|
+
}, i.prototype.withBlocksPanel = function(t) {
|
|
40
|
+
return this.blocksPanel = t, this;
|
|
41
|
+
}, i.prototype.addBlock = function(t) {
|
|
42
|
+
return this.blocks.push(t), this;
|
|
43
|
+
}, i.prototype.build = function() {
|
|
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
|
+
}, i;
|
|
46
|
+
}()
|
|
47
|
+
);
|
|
48
|
+
return e.ExtensionBuilder = s, e;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
l as __require
|
|
52
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/Block.js";
|
|
2
|
+
import { __require as i } from "../constants/BlockCompositionType.js";
|
|
3
|
+
var n;
|
|
4
|
+
function f() {
|
|
5
|
+
if (n) return o;
|
|
6
|
+
n = 1, Object.defineProperty(o, "__esModule", { value: !0 }), o.Block = void 0;
|
|
7
|
+
var r = i(), u = (
|
|
8
|
+
/** @class */
|
|
9
|
+
function() {
|
|
10
|
+
function e() {
|
|
11
|
+
}
|
|
12
|
+
return e.prototype.isEnabled = function() {
|
|
13
|
+
return !0;
|
|
14
|
+
}, e.prototype.canBeSavedAsModule = function() {
|
|
15
|
+
return !1;
|
|
16
|
+
}, e.prototype.getContextActionsIds = function() {
|
|
17
|
+
}, e.prototype.getCustomRenderer = function() {
|
|
18
|
+
}, e.prototype.getUniqueBlockClassname = function() {
|
|
19
|
+
return "esd-".concat(this.getId());
|
|
20
|
+
}, e.prototype.onDocumentInit = function() {
|
|
21
|
+
}, e.prototype.onSelect = function(t) {
|
|
22
|
+
}, e.prototype.onCopy = function(t, p) {
|
|
23
|
+
}, e.prototype.onDelete = function(t) {
|
|
24
|
+
}, e.prototype.onCreated = function(t) {
|
|
25
|
+
}, e.prototype.onDocumentChanged = function() {
|
|
26
|
+
}, e.prototype.getBlockCompositionType = function() {
|
|
27
|
+
return r.BlockCompositionType.BLOCK;
|
|
28
|
+
}, e.prototype.shouldDisplayQuickAddIcon = function() {
|
|
29
|
+
return !1;
|
|
30
|
+
}, e.prototype.allowInnerBlocksSelection = function() {
|
|
31
|
+
return !0;
|
|
32
|
+
}, e.prototype.allowInnerBlocksDND = function() {
|
|
33
|
+
return !0;
|
|
34
|
+
}, e;
|
|
35
|
+
}()
|
|
36
|
+
);
|
|
37
|
+
return o.Block = u, o;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
f as __require
|
|
41
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/BlockRenderer.js";
|
|
2
|
+
var r;
|
|
3
|
+
function u() {
|
|
4
|
+
if (r) return e;
|
|
5
|
+
r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.BlockRenderer = void 0;
|
|
6
|
+
var n = (
|
|
7
|
+
/** @class */
|
|
8
|
+
/* @__PURE__ */ function() {
|
|
9
|
+
function o() {
|
|
10
|
+
}
|
|
11
|
+
return o;
|
|
12
|
+
}()
|
|
13
|
+
);
|
|
14
|
+
return e.BlockRenderer = n, e;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
u as __require
|
|
18
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __exports as t } from "../../../../../_virtual/BlocksPanel.js";
|
|
2
|
+
var o;
|
|
3
|
+
function l() {
|
|
4
|
+
if (o) return t;
|
|
5
|
+
o = 1, Object.defineProperty(t, "__esModule", { value: !0 }), t.BlocksPanel = void 0;
|
|
6
|
+
var r = (
|
|
7
|
+
/** @class */
|
|
8
|
+
function() {
|
|
9
|
+
function e() {
|
|
10
|
+
}
|
|
11
|
+
return e.prototype.getBlockItemHtml = function(n) {
|
|
12
|
+
}, e.prototype.isBlockHintVisible = function(n) {
|
|
13
|
+
return !0;
|
|
14
|
+
}, e.prototype.getBlockHint = function(n) {
|
|
15
|
+
return {
|
|
16
|
+
title: n.title,
|
|
17
|
+
description: n.description
|
|
18
|
+
};
|
|
19
|
+
}, e.prototype.getBlocksPanelHeaderHtml = function() {
|
|
20
|
+
}, e.prototype.getModulesPanelCollapsedHtml = function() {
|
|
21
|
+
}, e.prototype.isModulesPanelCollapsedHintVisible = function() {
|
|
22
|
+
return !0;
|
|
23
|
+
}, e.prototype.getHintDelay = function() {
|
|
24
|
+
}, e.prototype.getModulesPanelHint = function() {
|
|
25
|
+
}, e;
|
|
26
|
+
}()
|
|
27
|
+
);
|
|
28
|
+
return t.BlocksPanel = r, t;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
l as __require
|
|
32
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __exports as t } from "../../../../../_virtual/ContextAction.js";
|
|
2
|
+
var e;
|
|
3
|
+
function i() {
|
|
4
|
+
if (e) return t;
|
|
5
|
+
e = 1, Object.defineProperty(t, "__esModule", { value: !0 }), t.ContextAction = void 0;
|
|
6
|
+
var n = (
|
|
7
|
+
/** @class */
|
|
8
|
+
/* @__PURE__ */ function() {
|
|
9
|
+
function o() {
|
|
10
|
+
}
|
|
11
|
+
return o;
|
|
12
|
+
}()
|
|
13
|
+
);
|
|
14
|
+
return t.ContextAction = n, t;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
i as __require
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/AddCustomFont.js";
|
|
2
|
+
var r;
|
|
3
|
+
function _() {
|
|
4
|
+
return r ? e : (r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.ADD_CUSTOM_FONT_OPTION = void 0, e.ADD_CUSTOM_FONT_OPTION = "ADD_CUSTOM_FONT_OPTION", e);
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
_ as __require
|
|
8
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/AiAssistantValueType.js";
|
|
2
|
+
var i;
|
|
3
|
+
function a() {
|
|
4
|
+
if (i) return e;
|
|
5
|
+
i = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.AiAssistantValueType = void 0;
|
|
6
|
+
var r;
|
|
7
|
+
return function(t) {
|
|
8
|
+
t.SUBJECT = "subject", t.HIDDEN_PREHEADER = "hiddenPreheader", t.TEXT_BLOCK = "textBlock";
|
|
9
|
+
}(r || (e.AiAssistantValueType = r = {})), e;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
a as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { __exports as t } from "../../../../../_virtual/BlockAttributes.js";
|
|
2
|
+
var s;
|
|
3
|
+
function _() {
|
|
4
|
+
if (s) return t;
|
|
5
|
+
s = 1;
|
|
6
|
+
var r = t && t.__assign || function() {
|
|
7
|
+
return r = Object.assign || function(o) {
|
|
8
|
+
for (var e, n = 1, b = arguments.length; n < b; n++) {
|
|
9
|
+
e = arguments[n];
|
|
10
|
+
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && (o[a] = e[a]);
|
|
11
|
+
}
|
|
12
|
+
return o;
|
|
13
|
+
}, r.apply(this, arguments);
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.BlockAttr = void 0;
|
|
16
|
+
var i = {
|
|
17
|
+
widthPercent: "width-percent"
|
|
18
|
+
}, u = r(r({}, i), { blocks: "blocks" }), c = {
|
|
19
|
+
src: "src",
|
|
20
|
+
alt: "alt",
|
|
21
|
+
href: "href"
|
|
22
|
+
}, l = {
|
|
23
|
+
href: "href"
|
|
24
|
+
};
|
|
25
|
+
return t.BlockAttr = {
|
|
26
|
+
EMPTY_CONTAINER: u,
|
|
27
|
+
CONTAINER: i,
|
|
28
|
+
BLOCK_IMAGE: c,
|
|
29
|
+
BLOCK_BUTTON: l
|
|
30
|
+
}, t;
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
_ as __require
|
|
34
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/BlockCompositionType.js";
|
|
2
|
+
var r;
|
|
3
|
+
function p() {
|
|
4
|
+
if (r) return o;
|
|
5
|
+
r = 1, Object.defineProperty(o, "__esModule", { value: !0 }), o.BlockCompositionType = void 0;
|
|
6
|
+
var e;
|
|
7
|
+
return function(i) {
|
|
8
|
+
i.BLOCK = "BLOCK", i.STRUCTURE = "STRUCTURE";
|
|
9
|
+
}(e || (o.BlockCompositionType = e = {})), o;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
p as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as C } from "../../../../../_virtual/BlockType.js";
|
|
2
|
+
var L;
|
|
3
|
+
function K() {
|
|
4
|
+
if (L) return C;
|
|
5
|
+
L = 1, Object.defineProperty(C, "__esModule", { value: !0 }), C.BlockType = void 0;
|
|
6
|
+
var _;
|
|
7
|
+
return function(O) {
|
|
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
|
+
}(_ || (C.BlockType = _ = {})), C;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
K as __require
|
|
13
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { __exports as E } from "../../../../../_virtual/BuiltInControlTypes.js";
|
|
2
|
+
import { __require as H } from "./BlockType.js";
|
|
3
|
+
var P;
|
|
4
|
+
function b() {
|
|
5
|
+
if (P) return E;
|
|
6
|
+
P = 1;
|
|
7
|
+
var I;
|
|
8
|
+
Object.defineProperty(E, "__esModule", { value: !0 }), E.BuiltInControlTypes = E.GeneralStylesControls = E.MessageSettingsControls = E.ContainerControls = E.StructureControls = E.StripeControls = E.CarouselControls = E.AccordionControls = E.MenuControls = E.SocialControls = E.CustomTextControls = E.CustomImageControls = E.CustomLinkControls = E.HTMLControls = E.ImageControls = E.SpacerControls = E.TimerControls = E.VideoControls = E.AmpFormControls = E.TextControls = E.ButtonControls = E.BannerChildControls = E.BannerControls = E.GeneralControls = void 0;
|
|
9
|
+
var _ = H(), N;
|
|
10
|
+
(function(T) {
|
|
11
|
+
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.FIXED_HEIGHT_SWITCHER = "fixedHeightSwitcherForm", T.HIDDEN_NODE = "hiddenNode", T.SMART_BLOCK = "smartBlock", T.SYNCHRONIZED_MODULE = "synchronizedModuleForm", T.FONT_FAMILY = "generalFontFamilyForm", T.BLOCK_PADDINGS = "blockPaddings", T.STRUCTURE_PADDINGS = "internalStructurePaddings";
|
|
12
|
+
})(N || (E.GeneralControls = N = {}));
|
|
13
|
+
var e;
|
|
14
|
+
(function(T) {
|
|
15
|
+
T.ALIGNMENT = "bannerAlignment", T.ALT_TEXT = "bannerAltText", T.ANCHOR_LINK_CONTAINER = "bannerAnchorLinkContainerForm", T.ASPECT_RATIO = "bannerAspectRatioForm", T.BACKGROUND_COLOR = "bannerBackgroundColor", T.BACKGROUND_IMAGE_CONTAINER = "bannerBackgroundImageContainer", T.SIZE = "bannerBlockBannerSize", T.BLOCK_LINK = "bannerBlockLink", T.CHILD_ROTATION = "bannerChildRotationForm", T.CROP = "bannerCropForm", T.FILTER = "bannerFilter", T.MARGIN = "bannerMarginForm", T.MIME_TYPE = "bannerMimeTypeForm", T.RESPONSIVE_IMAGE = "bannerResponsiveImageForm";
|
|
16
|
+
})(e || (E.BannerControls = e = {}));
|
|
17
|
+
var O;
|
|
18
|
+
(function(T) {
|
|
19
|
+
T.ADDITIONAL_IMAGE = "bannerAdditionalImageForm", T.ADDITIONAL_IMAGE_ASPECT_RATIO = "bannerAdditionalImageAspectRatioForm", T.CHILD_COLOR = "bannerChildColorForm", T.CHILD_FLIP = "bannerChildFlipForm", T.CHILD_OPACITY = "bannerChildOpacityForm", T.TEXT_ALIGNMENT = "bannerTextAlignmentForm", T.TEXT_FONT = "bannerTextFontContainer", T.TEXT_LETTER_CASE = "bannerTextLetterCaseForm", T.TEXT_STYLE = "bannerTextStyleForm";
|
|
20
|
+
})(O || (E.BannerChildControls = O = {}));
|
|
21
|
+
var A;
|
|
22
|
+
(function(T) {
|
|
23
|
+
T.ADJUST_TO_WIDTH = "adjustToWidth", T.ALIGNMENT = "buttonAlignment", T.BORDER = "buttonBorder", T.BORDER_RADIUS = "buttonBorderRadius", T.COLOR = "buttonColor", T.EXTERNAL_INDENT = "buttonExternalIndent", T.FIXED_HEIGHT_CONTAINER = "buttonFixedHeightContainerForm", 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_INDENT = "buttonInternalIndent", 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";
|
|
24
|
+
})(A || (E.ButtonControls = A = {}));
|
|
25
|
+
var i;
|
|
26
|
+
(function(T) {
|
|
27
|
+
T.HIDDEN_NODE = "hiddenNodeText", T.PARAGRAPH_STYLE = "paragraphStyleForm", T.ALIGN = "textAlignmentForm", T.ANCHOR_CONTAINER = "textAnchorForm", T.FONT_BACKGROUND_COLOR = "textBlockFontBackgroundColor", T.FONT_COLOR = "textBlockFontColor", T.FONT_FAMILY = "textBlockFontFamily", T.FONT_SIZE = "textBlockFontSize", T.DIRECTION = "textBlockDirectionForm", T.INSERT_FORM = "textBlockInsertForm", T.LINK_DATA = "textBlockLinkDataForm", T.FORMAT = "textBlockTextFormatForm", T.FIXED_HEIGHT_CONTAINER = "textFixedHeightContainerForm", T.INTERNAL_INDENTS = "textInternalIndents", T.LINE_HEIGHT = "textLineHeightForm", T.LINKS_COLOR = "textLinksFontColorForm", T.MIME_TYPE = "textMimeTypeForm", T.NO_LINE_WRAPS = "textNoLineWrapsForm";
|
|
28
|
+
})(i || (E.TextControls = i = {}));
|
|
29
|
+
var R;
|
|
30
|
+
(function(T) {
|
|
31
|
+
T.AMP_FORM_HIDDEN_NODE = "ampFormHiddenNodeForm", T.AMP_FORM_MIME_TYPE = "ampFormMimeTypeForm";
|
|
32
|
+
})(R || (E.AmpFormControls = R = {}));
|
|
33
|
+
var m;
|
|
34
|
+
(function(T) {
|
|
35
|
+
T.CUSTOM_THUMBNAIL_CONTAINER = "customThumbnailContainerForm", T.METADATA_LINK = "metadataLink", T.PLAY_BUTTON = "playButton", T.ALIGNMENT = "videoAlignment", T.ALT_TEXT = "videoAltText", T.EXTERNAL_INDENTS = "videoExternalIndents", T.MIME_TYPE = "videoMimeTypeForm", T.RESPONSIVE = "videoResponsive", T.SIZE = "videoSizeContainer";
|
|
36
|
+
})(m || (E.VideoControls = m = {}));
|
|
37
|
+
var a;
|
|
38
|
+
(function(T) {
|
|
39
|
+
T.ALIGNMENT = "timerAlignment", T.ALT_TEXT = "timerAltText", T.BACKGROUND_COLOR = "timerBackgroundColor", T.DATE_TIME = "timeDateTime", T.DIGITAL_LABELS = "timerDigitalLabels", T.DIGITS_FONT_COLOR_CONTAINER = "timerDigitsFontColorContainer", T.DIGITS_FONT_CONTAINER = "timerDigitsFontContainer", T.DISPLAY_DAYS_SWITCHER = "timerDisplayDaysSwitcher", T.EXPIRATION_IMAGE = "timerExpirationImage", T.EXPIRATION_IMAGE_SWITCHER = "timerExpirationSwitcher", T.EXTERNAL_INDENT = "timerExternalIndex", T.LABELS_CASE = "timerLabelsCase", T.LABELS_FONT_COLOR_CONTAINER = "timerLabelsFontColorContainer", T.LABELS_FONT_CONTAINER = "timerLabelsFontContainer", T.LABEL_LANGUAGE = "timerLabelsLanguage", T.LINK = "timerLink", T.MIME_TYPE = "timerMimeTypeForm", T.RESPONSIVE = "timerResponsive", T.RETINA_DISPLAY_SUPPORT = "timerRetinaDisplaySupport", T.SEPARATOR = "timerSeparator", T.SEPARATOR_FONT_COLOR = "timerSeparatorFontColor", T.SEPARATOR_FONT_CONTAINER = "timerSeparatorFontContainer", T.SIZE = "timerSize", T.TIME_ZONE = "timerTimeZone";
|
|
40
|
+
})(a || (E.TimerControls = a = {}));
|
|
41
|
+
var L;
|
|
42
|
+
(function(T) {
|
|
43
|
+
T.ALIGNMENT = "spacerAlignment", T.BORDER = "spacerBorder", T.EXTERNAL_INDENT = "spacerExternalIndent", T.MIME_TYPE = "spacerMimeTypeForm", T.MODE = "spacerMode", T.SIZE = "spacerSize";
|
|
44
|
+
})(L || (E.SpacerControls = L = {}));
|
|
45
|
+
var r;
|
|
46
|
+
(function(T) {
|
|
47
|
+
T.ALT_TEXT = "altText", T.LINK = "blockLink", T.ALIGNMENT = "imageAlignment", T.ANCHOR_LINK_CONTAINER = "imageAnchorLinkContainerForm", T.BORDER_RADIUS = "imageBorderRadiusForm", T.IMAGE = "imageImageForm", T.MARGIN = "imageMargin", T.MIME_TYPE = "imageMimeTypeForm", T.RESPONSIVE = "imageResponsive", T.ROLLOVER_IMAGE = "imageRolloverImageForm", T.ROLLOVER_SWITCHER = "imageRolloverSwitcherForm", T.SIZE = "imageSizeContainer";
|
|
48
|
+
})(r || (E.ImageControls = r = {}));
|
|
49
|
+
var F;
|
|
50
|
+
(function(T) {
|
|
51
|
+
T.EXTERNAL_INDENT = "htmlExternalIndent", T.MIME_TYPE = "htmlMimeTypeForm";
|
|
52
|
+
})(F || (E.HTMLControls = F = {}));
|
|
53
|
+
var n;
|
|
54
|
+
(function(T) {
|
|
55
|
+
T.IMAGE = "customBlockImageForm", T.COLOR_FORM = "customLinkColorForm", T.HREF_FORM = "customLinkHrefForm", T.TEXT_FORM = "customLinkTextForm", T.UNDERLINE_FORM = "customLinkUnderlineForm", T.WORD_BREAK_FORM = "customLinkWordBreakForm";
|
|
56
|
+
})(n || (E.CustomLinkControls = n = {}));
|
|
57
|
+
var t;
|
|
58
|
+
(function(T) {
|
|
59
|
+
T.ALT_TEXT_FORM = "customBlockImageAltTextForm", T.WITHOUT_LINK_FORM = "customBlockImageWithOutLinkForm";
|
|
60
|
+
})(t || (E.CustomImageControls = t = {}));
|
|
61
|
+
var S;
|
|
62
|
+
(function(T) {
|
|
63
|
+
T.ALIGN = "customTextBlockTextAlign", T.FONT_SIZE = "customTextFontSizeController";
|
|
64
|
+
})(S || (E.CustomTextControls = S = {}));
|
|
65
|
+
var o;
|
|
66
|
+
(function(T) {
|
|
67
|
+
T.ICON_SIZE = "iconSize", T.EXTERNAL_INDENT = "socialExternalIndent", T.ICON_SPACER = "socialIconsSpacer", T.ICON_TYPE = "socialIconTypeForm", T.ITEM = "socialItemForm", T.ITEM_TEXT_CUSTOMIZATION = "socialItemTextCustomizationForm", T.MIME_TYPE = "socialMimeTypeForm", T.NETWORK_ALIGNMENT = "socialNetworkAlignment";
|
|
68
|
+
})(o || (E.SocialControls = o = {}));
|
|
69
|
+
var M;
|
|
70
|
+
(function(T) {
|
|
71
|
+
T.EXTERNAL_INDENT = "externalIndent", T.ALIGNMENT = "menuAlignment", T.FIT_TO_CONTAINER = "menuFitToContainer", T.FONT_FAMILY = "menuFontFamily", T.FONT_SIZE = "menuFontSize", T.HIDDEN = "menuHidden", T.ICONS_CONFIGURATION = "menuIconsConfiguration", T.ITEMS = "menuItemsForm", T.ITEMS_COUNT = "menuItemsCount", T.ITEM_INTERNAL_INDENTS = "menuItemInternalIndents", T.MIME_TYPE = "menuMimeTypeForm", T.SEPARATE_ITEMS = "menuSeparateItems", T.SEPARATE_ITEMS_COLOR_SWITCHER = "menuSeparateItemsColorSwitcher", T.SEPARATOR = "menuSeparatorForm", T.STYLES = "menuStylesForm", T.TEXT_STYLE_AND_COLOR = "menuTextStyleAndColor", T.TYPE_CONTAINER = "menuTypeContainerForm";
|
|
72
|
+
})(M || (E.MenuControls = M = {}));
|
|
73
|
+
var D;
|
|
74
|
+
(function(T) {
|
|
75
|
+
T.MIME_TYPE = "ampAccordionMimeTypeForm", T.ANIMATED_OPENING = "ampAccordionAnimatedOpeningForm", T.AUTO_COLLAPSING = "ampAccordionAutoCollapsingForm", T.BORDER_FORM = "ampAccordionBorderForm", T.FONT_FAMILY = "ampAccordionFontFamily", T.ICON_SIZE = "ampAccordionIconSizeForm", T.SECTIONS_GAP_FORM = "ampAccordionSectionsGapForm", T.SECTIONS_MAIN_FORM = "ampAccordionSectionsMainForm", T.TITLES_BACKGROUND_COLOR = "ampAccordionTitlesBackgroundColor", T.TITLE_ALIGNMENT_FORM = "ampAccordionTitleAlignmentForm", T.TITLE_FONT_SIZE = "AmpAccordionTitleFontSizeController", T.TITLE_ICON_IMAGE = "ampAccordionTitleIconImageForm", T.TITLE_ICON_SWITCHER = "ampAccordionTitleIconSwitcherForm", T.TITLE_TEXT_STYLE_AND_COLOR = "AmpAccordionTitleTextStyleAndColorController";
|
|
76
|
+
})(D || (E.AccordionControls = D = {}));
|
|
77
|
+
var c;
|
|
78
|
+
(function(T) {
|
|
79
|
+
T.MIME_TYPE = "ampCarouselMimeTypeForm", T.AUTOPLAY = "ampCarouselAutoplayForm", T.AUTOPLAY_DELAY = "ampCarouselDelayForm", T.LOOP = "ampCarouselLoopForm", T.SLIDES = "ampSlidesForm", T.SLIDE_ALT_TEXT = "ampSlideAltTextForm", T.SLIDE_IMAGE = "ampSlideImageForm", T.SLIDE_IMAGE_FIT = "ampCarouselSlideImageFitForm", T.SLIDE_LINK = "ampSlideLinkForm", T.SLIDE_RADIUS = "ampCarouselSlideRadiusForm", T.SLIDE_THUMBNAIL_SWITCHER = "ampCarouselSlideThumbnailSwitcherForm", T.THUMBNAIL_BORDER_STYLE = "ampCarouselThumbnailBorderStyleForm", T.THUMBNAIL_CONTAINER = "ampCarouselThumbnailContainerForm", T.THUMBNAIL_CUSTOM_REVIEW = "ampCarouselThumbnailCustomPreviewImageForm", T.THUMBNAIL_RADIUS = "ampCarouselThumbnailRadiusForm", T.AMP_GENERAL_LINK = "AMP_GENERAL_LINK_CONTROLLER", T.AMP_GENERAL_LINK_SWITCHER = "AMP_GENERAL_LINK_SWITCHER";
|
|
80
|
+
})(c || (E.CarouselControls = c = {}));
|
|
81
|
+
var p;
|
|
82
|
+
(function(T) {
|
|
83
|
+
T.BORDER_FORM = "stripeBorderForm", T.COLOR = "stripeColorForm", T.CONTENT_COLOR = "stripeContentColor", T.IMAGE_CONTAINER = "stripeImageContainerForm", T.INTERNAL_INDENTS = "stripeInternalIndents", T.MESSAGE_AREA = "stripeMessageAreaForm", T.MIME_TYPE = "stripeMimeTypeForm";
|
|
84
|
+
})(p || (E.StripeControls = p = {}));
|
|
85
|
+
var d;
|
|
86
|
+
(function(T) {
|
|
87
|
+
T.RESPONSIVE_STRUCTURE = "responsiveStructure", T.BG_COLOR = "structureBgColorForm", T.BORDER_RADIUS = "structureBorderRadiusForm", T.CONTAINER_GAP = "structureContainerGap", T.CONTAINER_INVERSION = "structureContainerInversion", T.DYNAMIC_CONTAINERS = "structureDynamicContainers", T.EXTERNAL_INDENTS = "structureExternalIndents", T.IMAGE_CONTAINER = "structureImageContainerForm", T.INTERNAL_INDENTS = "structureInternalIndents", T.ITEM = "structureItem", T.MIME_TYPE = "structureMimeType", T.BORDER_FORM = "structureBorderForm";
|
|
88
|
+
})(d || (E.StructureControls = d = {}));
|
|
89
|
+
var u;
|
|
90
|
+
(function(T) {
|
|
91
|
+
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";
|
|
92
|
+
})(u || (E.ContainerControls = u = {}));
|
|
93
|
+
var B;
|
|
94
|
+
(function(T) {
|
|
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
|
+
})(B || (E.MessageSettingsControls = B = {}));
|
|
97
|
+
var C;
|
|
98
|
+
return function(T) {
|
|
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
|
+
}(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
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
b as __require
|
|
104
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/ContextActionType.js";
|
|
2
|
+
var E;
|
|
3
|
+
function i() {
|
|
4
|
+
if (E) return r;
|
|
5
|
+
E = 1, Object.defineProperty(r, "__esModule", { value: !0 }), r.ContextActionType = void 0;
|
|
6
|
+
var o;
|
|
7
|
+
return function(e) {
|
|
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
|
+
}(o || (r.ContextActionType = o = {})), r;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i as __require
|
|
13
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/EditorStatePropertyType.js";
|
|
2
|
+
var t;
|
|
3
|
+
function p() {
|
|
4
|
+
if (t) return e;
|
|
5
|
+
t = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.EditorStatePropertyType = void 0;
|
|
6
|
+
var r;
|
|
7
|
+
return function(o) {
|
|
8
|
+
o.previewDeviceMode = "previewDeviceMode";
|
|
9
|
+
}(r || (e.EditorStatePropertyType = r = {})), e;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
p as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/PanelPosition.js";
|
|
2
|
+
var r;
|
|
3
|
+
function t() {
|
|
4
|
+
if (r) return e;
|
|
5
|
+
r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.PanelPosition = void 0;
|
|
6
|
+
var i;
|
|
7
|
+
return function(o) {
|
|
8
|
+
o.BLOCKS_SETTINGS = "BLOCKS_SETTINGS", o.SETTINGS_BLOCKS = "SETTINGS_BLOCKS";
|
|
9
|
+
}(i || (e.PanelPosition = i = {})), e;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
t as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/PreviewDeviceMode.js";
|
|
2
|
+
var o;
|
|
3
|
+
function t() {
|
|
4
|
+
if (o) return e;
|
|
5
|
+
o = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.PreviewDeviceMode = void 0;
|
|
6
|
+
var r;
|
|
7
|
+
return function(i) {
|
|
8
|
+
i.DESKTOP = "DESKTOP", i.MOBILE = "MOBILE";
|
|
9
|
+
}(r || (e.PreviewDeviceMode = r = {})), e;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
t as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/SettingsTab.js";
|
|
2
|
+
var i;
|
|
3
|
+
function a() {
|
|
4
|
+
if (i) return e;
|
|
5
|
+
i = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.SettingsTab = void 0;
|
|
6
|
+
var r;
|
|
7
|
+
return function(t) {
|
|
8
|
+
t.SETTINGS = "settings", t.STYLES = "styles", t.DATA = "data";
|
|
9
|
+
}(r || (e.SettingsTab = r = {})), e;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
a as __require
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as T } from "../../../../../_virtual/UIElementType.js";
|
|
2
|
+
var O;
|
|
3
|
+
function S() {
|
|
4
|
+
if (O) return T;
|
|
5
|
+
O = 1, Object.defineProperty(T, "__esModule", { value: !0 }), T.UIElementType = void 0;
|
|
6
|
+
var C;
|
|
7
|
+
return function(E) {
|
|
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
|
+
}(C || (T.UIElementType = C = {})), T;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
S as __require
|
|
13
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/UIElementsAttributes.js";
|
|
2
|
+
var o;
|
|
3
|
+
function S() {
|
|
4
|
+
if (o) return r;
|
|
5
|
+
o = 1;
|
|
6
|
+
var t = r && r.__assign || function() {
|
|
7
|
+
return t = Object.assign || function(l) {
|
|
8
|
+
for (var i, a = 1, g = arguments.length; a < g; a++) {
|
|
9
|
+
i = arguments[a];
|
|
10
|
+
for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (l[s] = i[s]);
|
|
11
|
+
}
|
|
12
|
+
return l;
|
|
13
|
+
}, t.apply(this, arguments);
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.UEAttr = void 0;
|
|
16
|
+
var e = {
|
|
17
|
+
name: "name",
|
|
18
|
+
disabled: "disabled"
|
|
19
|
+
}, u = t(t({}, e), { caption: "caption" }), c = t(t({}, e), { caption: "caption" }), b = t(t({}, e), { minValue: "min-value", maxValue: "max-value", step: "step" }), v = t(t({}, e), { placeholder: "placeholder", minDate: "min-date" }), m = t(t({}, e), { text: "text", hint: "hint" }), A = t(t({}, e), { type: "type" }), d = t(t({}, e), { buttons: "buttons" }), n = t(t({}, e), { searchable: "searchable", multiSelect: "multi-select", placeholder: "placeholder", items: "items" }), E = t(t({}, n), { addCustomFontOption: "add-custom-font-option" }), h = t(t({}, e), { text: "text", value: "value" }), p = t(t({}, e), { text: "text", hint: "hint", icon: "icon", value: "value" }), T = t(t({}, e), { buttons: "buttons" }), C = t(t({}, e), { text: "text", hint: "hint", icon: "icon", value: "value" }), I = t(t({}, e), { placeholder: "placeholder" }), O = t(t({}, e), { resizable: "resizable", placeholder: "placeholder" }), _ = t(t({}, e), { img: "img", src: "src", title: "title", width: "width", height: "height", imageClass: "image-class", hint: "hint", disabled: "disabled", isActive: "is-active", visibility: "visibility", transform: "transform" }), x = t(t({}, e), { controlId: "control-id" });
|
|
20
|
+
return r.UEAttr = {
|
|
21
|
+
DEFAULT: e,
|
|
22
|
+
BUTTON: u,
|
|
23
|
+
CHECKBOX: c,
|
|
24
|
+
CHECK_BUTTONS: T,
|
|
25
|
+
COLOR: e,
|
|
26
|
+
COUNTER: b,
|
|
27
|
+
DATEPICKER: v,
|
|
28
|
+
LABEL: m,
|
|
29
|
+
MESSAGE: A,
|
|
30
|
+
RADIO_BUTTONS: d,
|
|
31
|
+
SELECTPICKER: n,
|
|
32
|
+
FONT_FAMILY_SELECT: E,
|
|
33
|
+
SWITCHER: e,
|
|
34
|
+
TEXT: I,
|
|
35
|
+
TEXTAREA: O,
|
|
36
|
+
ICON: _,
|
|
37
|
+
CHECK_ITEM: p,
|
|
38
|
+
SELECT_ITEM: h,
|
|
39
|
+
RADIO_ITEM: C,
|
|
40
|
+
NESTED_CONTROL: x
|
|
41
|
+
}, r;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
S as __require
|
|
45
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/BackgroundColorBuiltInControl.js";
|
|
2
|
+
import { __require as C } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as p } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
var i;
|
|
5
|
+
function d() {
|
|
6
|
+
if (i) return n;
|
|
7
|
+
i = 1;
|
|
8
|
+
var a = n && n.__extends || /* @__PURE__ */ function() {
|
|
9
|
+
var t = function(o, r) {
|
|
10
|
+
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
11
|
+
e.__proto__ = u;
|
|
12
|
+
} || function(e, u) {
|
|
13
|
+
for (var l in u) Object.prototype.hasOwnProperty.call(u, l) && (e[l] = u[l]);
|
|
14
|
+
}, t(o, r);
|
|
15
|
+
};
|
|
16
|
+
return function(o, r) {
|
|
17
|
+
if (typeof r != "function" && r !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
19
|
+
t(o, r);
|
|
20
|
+
function e() {
|
|
21
|
+
this.constructor = o;
|
|
22
|
+
}
|
|
23
|
+
o.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
24
|
+
};
|
|
25
|
+
}();
|
|
26
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.BackgroundColorBuiltInControl = void 0;
|
|
27
|
+
var c = C(), _ = p(), s = (
|
|
28
|
+
/** @class */
|
|
29
|
+
function(t) {
|
|
30
|
+
a(o, t);
|
|
31
|
+
function o() {
|
|
32
|
+
return t !== null && t.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return o.prototype.getParentControlId = function() {
|
|
35
|
+
return _.BuiltInControlTypes.GENERAL.BACKGROUND_COLOR;
|
|
36
|
+
}, o;
|
|
37
|
+
}(c.BuiltInControl)
|
|
38
|
+
);
|
|
39
|
+
return n.BackgroundColorBuiltInControl = s, n;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
d as __require
|
|
43
|
+
};
|