@useinsider/guido 1.0.2-beta.91efff4 → 1.0.2-beta.93e2012
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 +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.js +8 -8
- package/dist/components/Guido.vue2.js +35 -36
- package/dist/composables/useHtmlValidator.d.ts +1 -2
- package/dist/composables/useHtmlValidator.js +95 -114
- package/dist/composables/useSave.js +6 -6
- package/dist/composables/useStripo.js +35 -37
- package/dist/extensions/DynamicContent/dynamic-content.js +27 -41
- package/dist/extensions/DynamicContent/extension.js +6 -18
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +48 -72
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +49 -74
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +38 -120
- 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 +11 -5
- 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 +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +101 -116
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +11 -5
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +43 -22
- 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 +17 -21
- 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 +15 -8
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +29 -30
- 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 +23 -19
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +19 -37
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +15 -2
- package/dist/utils/genericUtil.d.ts +0 -5
- package/package.json +2 -2
- package/dist/config/migrator/checkboxMigrator.d.ts +0 -1
- package/dist/config/migrator/checkboxMigrator.js +0 -83
- package/dist/config/migrator/index.d.ts +0 -1
- package/dist/config/migrator/index.js +0 -5
- package/dist/extensions/Blocks/Checkbox/block.d.ts +0 -10
- package/dist/extensions/Blocks/Checkbox/block.js +0 -39
- package/dist/extensions/Blocks/Checkbox/control.d.ts +0 -22
- package/dist/extensions/Blocks/Checkbox/control.js +0 -104
- package/dist/extensions/Blocks/Checkbox/extension.d.ts +0 -2
- package/dist/extensions/Blocks/Checkbox/extension.js +0 -20
- package/dist/extensions/Blocks/Checkbox/settingsPanel.d.ts +0 -4
- package/dist/extensions/Blocks/Checkbox/settingsPanel.js +0 -38
- package/dist/extensions/Blocks/Checkbox/template.d.ts +0 -6
- package/dist/extensions/Blocks/Checkbox/template.js +0 -75
- package/dist/extensions/Blocks/CouponBlock/block.d.ts +0 -11
- package/dist/extensions/Blocks/CouponBlock/block.js +0 -42
- package/dist/extensions/Blocks/CouponBlock/extension.d.ts +0 -2
- package/dist/extensions/Blocks/CouponBlock/extension.js +0 -19
- package/dist/extensions/Blocks/CouponBlock/settingsPanel.d.ts +0 -4
- package/dist/extensions/Blocks/CouponBlock/settingsPanel.js +0 -37
- package/dist/extensions/Blocks/CouponBlock/template.d.ts +0 -3
- package/dist/extensions/Blocks/CouponBlock/template.js +0 -13
- package/dist/extensions/Blocks/_Boilerplate/block.d.ts +0 -10
- package/dist/extensions/Blocks/_Boilerplate/control.d.ts +0 -17
- package/dist/extensions/Blocks/_Boilerplate/extension.d.ts +0 -2
- package/dist/extensions/Blocks/_Boilerplate/settingsPanel.d.ts +0 -4
- package/dist/extensions/Blocks/_Boilerplate/template.d.ts +0 -6
- package/dist/icons/coupon.svg +0 -3
- package/dist/mock/api/unsubscribe.d.ts +0 -2
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js +0 -12
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js +0 -12
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/ButtonBorderBuiltInControl.js";
|
|
2
|
+
import { __require as f } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as s } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as y } from "../constants/BlockType.js";
|
|
5
|
+
var l;
|
|
6
|
+
function T() {
|
|
7
|
+
if (l) return n;
|
|
8
|
+
l = 1;
|
|
9
|
+
var B = n && n.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var o = function(t, r) {
|
|
11
|
+
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
|
+
e.__proto__ = u;
|
|
13
|
+
} || function(e, u) {
|
|
14
|
+
for (var i in u) Object.prototype.hasOwnProperty.call(u, i) && (e[i] = u[i]);
|
|
15
|
+
}, o(t, r);
|
|
16
|
+
};
|
|
17
|
+
return function(t, r) {
|
|
18
|
+
if (typeof r != "function" && r !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
20
|
+
o(t, r);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = t;
|
|
23
|
+
}
|
|
24
|
+
t.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonBorderBuiltInControl = void 0;
|
|
28
|
+
var p = f(), a = s(), c = y(), _ = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(o) {
|
|
31
|
+
B(t, o);
|
|
32
|
+
function t() {
|
|
33
|
+
return o !== null && o.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return t.prototype.getParentControlId = function() {
|
|
36
|
+
return a.BuiltInControlTypes[c.BlockType.BLOCK_BUTTON].BORDER;
|
|
37
|
+
}, t.prototype.getTargetNodes = function(r) {
|
|
38
|
+
}, t.prototype.getLabels = function() {
|
|
39
|
+
}, t;
|
|
40
|
+
})(p.BuiltInControl)
|
|
41
|
+
);
|
|
42
|
+
return n.ButtonBorderBuiltInControl = _, n;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
T as __require
|
|
46
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/ButtonColorBuiltInControl.js";
|
|
2
|
+
import { __require as s } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as B } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as C } from "../constants/BlockType.js";
|
|
5
|
+
var l;
|
|
6
|
+
function O() {
|
|
7
|
+
if (l) return n;
|
|
8
|
+
l = 1;
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var r = function(t, o) {
|
|
11
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
|
+
e.__proto__ = u;
|
|
13
|
+
} || function(e, u) {
|
|
14
|
+
for (var i in u) Object.prototype.hasOwnProperty.call(u, i) && (e[i] = u[i]);
|
|
15
|
+
}, r(t, o);
|
|
16
|
+
};
|
|
17
|
+
return function(t, o) {
|
|
18
|
+
if (typeof o != "function" && o !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(o) + " is not a constructor or null");
|
|
20
|
+
r(t, o);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = t;
|
|
23
|
+
}
|
|
24
|
+
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonColorBuiltInControl = void 0;
|
|
28
|
+
var a = s(), c = B(), _ = C(), f = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(r) {
|
|
31
|
+
p(t, r);
|
|
32
|
+
function t() {
|
|
33
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return t.prototype.getParentControlId = function() {
|
|
36
|
+
return c.BuiltInControlTypes[_.BlockType.BLOCK_BUTTON].COLOR;
|
|
37
|
+
}, t.prototype.getTargetNodes = function(o) {
|
|
38
|
+
}, t.prototype.getLabels = function() {
|
|
39
|
+
}, t;
|
|
40
|
+
})(a.BuiltInControl)
|
|
41
|
+
);
|
|
42
|
+
return n.ButtonColorBuiltInControl = f, n;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
O as __require
|
|
46
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/ButtonFontColorBuiltInControl.js";
|
|
2
|
+
import { __require as s } from "../constants/BuiltInControlTypes.js";
|
|
3
|
+
import { __require as f } from "./TextColorBuiltInControl.js";
|
|
4
|
+
import { __require as B } from "../constants/BlockType.js";
|
|
5
|
+
var i;
|
|
6
|
+
function O() {
|
|
7
|
+
if (i) return n;
|
|
8
|
+
i = 1;
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var r = function(t, o) {
|
|
11
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
|
+
e.__proto__ = u;
|
|
13
|
+
} || function(e, u) {
|
|
14
|
+
for (var l in u) Object.prototype.hasOwnProperty.call(u, l) && (e[l] = u[l]);
|
|
15
|
+
}, r(t, o);
|
|
16
|
+
};
|
|
17
|
+
return function(t, o) {
|
|
18
|
+
if (typeof o != "function" && o !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(o) + " is not a constructor or null");
|
|
20
|
+
r(t, o);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = t;
|
|
23
|
+
}
|
|
24
|
+
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonFontColorBuiltInControl = void 0;
|
|
28
|
+
var _ = s(), a = f(), c = B(), C = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(r) {
|
|
31
|
+
p(t, r);
|
|
32
|
+
function t() {
|
|
33
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return t.prototype.getParentControlId = function() {
|
|
36
|
+
return _.BuiltInControlTypes[c.BlockType.BLOCK_BUTTON].FONT_COLOR;
|
|
37
|
+
}, t.prototype.getTargetNodes = function(o) {
|
|
38
|
+
}, t;
|
|
39
|
+
})(a.TextColorBuiltInControl)
|
|
40
|
+
);
|
|
41
|
+
return n.ButtonFontColorBuiltInControl = C, n;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
O as __require
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/ButtonInternalIndentsBuiltInControl.js";
|
|
2
|
+
import { __require as c } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as f } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as B } from "../constants/BlockType.js";
|
|
5
|
+
var i;
|
|
6
|
+
function T() {
|
|
7
|
+
if (i) return o;
|
|
8
|
+
i = 1;
|
|
9
|
+
var a = o && o.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var r = function(t, n) {
|
|
11
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
|
+
e.__proto__ = u;
|
|
13
|
+
} || function(e, u) {
|
|
14
|
+
for (var l in u) Object.prototype.hasOwnProperty.call(u, l) && (e[l] = u[l]);
|
|
15
|
+
}, r(t, n);
|
|
16
|
+
};
|
|
17
|
+
return function(t, n) {
|
|
18
|
+
if (typeof n != "function" && n !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
20
|
+
r(t, n);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = t;
|
|
23
|
+
}
|
|
24
|
+
t.prototype = n === null ? Object.create(n) : (e.prototype = n.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.ButtonInternalIndentsBuiltInControl = void 0;
|
|
28
|
+
var s = c(), I = f(), p = B(), _ = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(r) {
|
|
31
|
+
a(t, r);
|
|
32
|
+
function t() {
|
|
33
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return t.prototype.getParentControlId = function() {
|
|
36
|
+
return I.BuiltInControlTypes[p.BlockType.BLOCK_BUTTON].INTERNAL_INDENT;
|
|
37
|
+
}, t.prototype.getLabels = function() {
|
|
38
|
+
}, t;
|
|
39
|
+
})(s.BuiltInControl)
|
|
40
|
+
);
|
|
41
|
+
return o.ButtonInternalIndentsBuiltInControl = _, o;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
T as __require
|
|
45
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonTextBuiltInControl.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/ButtonTextBuiltInControl.js";
|
|
2
|
+
import { __require as f } from "../constants/BlockType.js";
|
|
3
|
+
import { __require as B } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as y } from "./BuiltInControl.js";
|
|
5
|
+
var l;
|
|
6
|
+
function v() {
|
|
7
|
+
if (l) return n;
|
|
8
|
+
l = 1;
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var r = function(t, o) {
|
|
11
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
12
|
+
e.__proto__ = u;
|
|
13
|
+
} || function(e, u) {
|
|
14
|
+
for (var i in u) Object.prototype.hasOwnProperty.call(u, i) && (e[i] = u[i]);
|
|
15
|
+
}, r(t, o);
|
|
16
|
+
};
|
|
17
|
+
return function(t, o) {
|
|
18
|
+
if (typeof o != "function" && o !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(o) + " is not a constructor or null");
|
|
20
|
+
r(t, o);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = t;
|
|
23
|
+
}
|
|
24
|
+
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.ButtonTextBuiltInControl = void 0;
|
|
28
|
+
var _ = f(), a = B(), c = y(), s = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(r) {
|
|
31
|
+
p(t, r);
|
|
32
|
+
function t() {
|
|
33
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return t.prototype.getParentControlId = function() {
|
|
36
|
+
return a.BuiltInControlTypes[_.BlockType.BLOCK_BUTTON].TEXT;
|
|
37
|
+
}, t.prototype.getTargetNodes = function(o) {
|
|
38
|
+
}, t;
|
|
39
|
+
})(c.BuiltInControl)
|
|
40
|
+
);
|
|
41
|
+
return n.ButtonTextBuiltInControl = s, n;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
v as __require
|
|
45
|
+
};
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
var t
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* Use this to remove event listeners or perform other cleanup tasks.
|
|
18
|
-
*/
|
|
19
|
-
onDestroy() {
|
|
20
|
-
}
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/Control.js";
|
|
2
|
+
var t;
|
|
3
|
+
function u() {
|
|
4
|
+
if (t) return o;
|
|
5
|
+
t = 1, Object.defineProperty(o, "__esModule", { value: !0 }), o.Control = void 0;
|
|
6
|
+
var e = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function() {
|
|
9
|
+
function r() {
|
|
10
|
+
}
|
|
11
|
+
return r.prototype.onRender = function() {
|
|
12
|
+
}, r.prototype.onDestroy = function() {
|
|
13
|
+
}, r;
|
|
14
|
+
})()
|
|
15
|
+
);
|
|
16
|
+
return o.Control = e, o;
|
|
21
17
|
}
|
|
22
18
|
export {
|
|
23
|
-
|
|
19
|
+
u as __require
|
|
24
20
|
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/FontFamilyBuiltInControl.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/FontFamilyBuiltInControl.js";
|
|
2
|
+
import { __require as p } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as f } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
var u;
|
|
5
|
+
function I() {
|
|
6
|
+
if (u) return r;
|
|
7
|
+
u = 1;
|
|
8
|
+
var a = r && r.__extends || /* @__PURE__ */ (function() {
|
|
9
|
+
var n = function(t, o) {
|
|
10
|
+
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
11
|
+
e.__proto__ = i;
|
|
12
|
+
} || function(e, i) {
|
|
13
|
+
for (var l in i) Object.prototype.hasOwnProperty.call(i, l) && (e[l] = i[l]);
|
|
14
|
+
}, n(t, o);
|
|
15
|
+
};
|
|
16
|
+
return function(t, o) {
|
|
17
|
+
if (typeof o != "function" && o !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(o) + " is not a constructor or null");
|
|
19
|
+
n(t, o);
|
|
20
|
+
function e() {
|
|
21
|
+
this.constructor = t;
|
|
22
|
+
}
|
|
23
|
+
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.FontFamilyBuiltInControl = void 0;
|
|
27
|
+
var _ = p(), s = f(), c = (
|
|
28
|
+
/** @class */
|
|
29
|
+
(function(n) {
|
|
30
|
+
a(t, n);
|
|
31
|
+
function t() {
|
|
32
|
+
return n !== null && n.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return t.prototype.getParentControlId = function() {
|
|
35
|
+
return s.BuiltInControlTypes.GENERAL.FONT_FAMILY;
|
|
36
|
+
}, t;
|
|
37
|
+
})(_.BuiltInControl)
|
|
38
|
+
);
|
|
39
|
+
return r.FontFamilyBuiltInControl = c, r;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
I as __require
|
|
43
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/LinkColorBuiltInControl.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/LinkColorBuiltInControl.js";
|
|
2
|
+
import { __require as f } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as C } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as y } from "../constants/BlockType.js";
|
|
5
|
+
var u;
|
|
6
|
+
function k() {
|
|
7
|
+
if (u) return n;
|
|
8
|
+
u = 1;
|
|
9
|
+
var p = n && n.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var t = function(o, r) {
|
|
11
|
+
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
12
|
+
e.__proto__ = i;
|
|
13
|
+
} || function(e, i) {
|
|
14
|
+
for (var l in i) Object.prototype.hasOwnProperty.call(i, l) && (e[l] = i[l]);
|
|
15
|
+
}, t(o, r);
|
|
16
|
+
};
|
|
17
|
+
return function(o, r) {
|
|
18
|
+
if (typeof r != "function" && r !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
20
|
+
t(o, r);
|
|
21
|
+
function e() {
|
|
22
|
+
this.constructor = o;
|
|
23
|
+
}
|
|
24
|
+
o.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.LinkColorBuiltInControl = void 0;
|
|
28
|
+
var _ = f(), a = C(), c = y(), s = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(t) {
|
|
31
|
+
p(o, t);
|
|
32
|
+
function o() {
|
|
33
|
+
return t !== null && t.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return o.prototype.getParentControlId = function() {
|
|
36
|
+
return a.BuiltInControlTypes[c.BlockType.BLOCK_TEXT].LINKS_COLOR;
|
|
37
|
+
}, o.prototype.getTargetNodes = function(r) {
|
|
38
|
+
}, o;
|
|
39
|
+
})(_.BuiltInControl)
|
|
40
|
+
);
|
|
41
|
+
return n.LinkColorBuiltInControl = s, n;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
k as __require
|
|
45
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/SettingsPanelRegistry.js";
|
|
2
|
+
var t;
|
|
3
|
+
function s() {
|
|
4
|
+
if (t) return e;
|
|
5
|
+
t = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.SettingsPanelRegistry = void 0;
|
|
6
|
+
var r = (
|
|
7
|
+
/** @class */
|
|
8
|
+
/* @__PURE__ */ (function() {
|
|
9
|
+
function i() {
|
|
10
|
+
}
|
|
11
|
+
return i;
|
|
12
|
+
})()
|
|
13
|
+
);
|
|
14
|
+
return e.SettingsPanelRegistry = r, e;
|
|
8
15
|
}
|
|
9
16
|
export {
|
|
10
|
-
|
|
17
|
+
s as __require
|
|
11
18
|
};
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
1
|
+
import { __exports as s } from "../../../../../_virtual/SettingsPanelTab.js";
|
|
2
|
+
var r;
|
|
3
|
+
function l() {
|
|
4
|
+
if (r) return s;
|
|
5
|
+
r = 1, Object.defineProperty(s, "__esModule", { value: !0 }), s.SettingsPanelTab = void 0;
|
|
6
|
+
var i = (
|
|
7
|
+
/** @class */
|
|
8
|
+
(function() {
|
|
9
|
+
function n(t, e) {
|
|
10
|
+
this.tabId = t, this.controlsIds = e;
|
|
11
|
+
}
|
|
12
|
+
return n.prototype.getTabId = function() {
|
|
13
|
+
return this.tabId;
|
|
14
|
+
}, n.prototype.getLabel = function() {
|
|
15
|
+
return this.label;
|
|
16
|
+
}, n.prototype.getControlsIds = function() {
|
|
17
|
+
return this.controlsIds;
|
|
18
|
+
}, n.prototype.withLabel = function(t) {
|
|
19
|
+
return this.label = t, this;
|
|
20
|
+
}, n.prototype.addControl = function(t, e) {
|
|
21
|
+
return e < 0 ? this.controlsIds.unshift(t) : e > this.controlsIds.length ? this.controlsIds.push(t) : this.controlsIds.splice(e, 0, t), this;
|
|
22
|
+
}, n.prototype.deleteControl = function(t) {
|
|
23
|
+
var e = this.controlsIds.indexOf(t);
|
|
24
|
+
e !== -1 && this.controlsIds.splice(e, 1);
|
|
25
|
+
}, n;
|
|
26
|
+
})()
|
|
27
|
+
);
|
|
28
|
+
return s.SettingsPanelTab = i, s;
|
|
30
29
|
}
|
|
31
30
|
export {
|
|
32
|
-
|
|
31
|
+
l as __require
|
|
33
32
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/StructureBorderBuiltInControl.js";
|
|
2
|
+
import { __require as s } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as B } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
import { __require as y } from "../constants/BlockType.js";
|
|
5
|
+
var l;
|
|
6
|
+
function S() {
|
|
7
|
+
if (l) return e;
|
|
8
|
+
l = 1;
|
|
9
|
+
var c = e && e.__extends || /* @__PURE__ */ (function() {
|
|
10
|
+
var o = function(r, t) {
|
|
11
|
+
return o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, u) {
|
|
12
|
+
n.__proto__ = u;
|
|
13
|
+
} || function(n, u) {
|
|
14
|
+
for (var i in u) Object.prototype.hasOwnProperty.call(u, i) && (n[i] = u[i]);
|
|
15
|
+
}, o(r, t);
|
|
16
|
+
};
|
|
17
|
+
return function(r, t) {
|
|
18
|
+
if (typeof t != "function" && t !== null)
|
|
19
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
20
|
+
o(r, t);
|
|
21
|
+
function n() {
|
|
22
|
+
this.constructor = r;
|
|
23
|
+
}
|
|
24
|
+
r.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
25
|
+
};
|
|
26
|
+
})();
|
|
27
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.StructureBorderBuiltInControl = void 0;
|
|
28
|
+
var p = s(), a = B(), _ = y(), f = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(o) {
|
|
31
|
+
c(r, o);
|
|
32
|
+
function r() {
|
|
33
|
+
return o !== null && o.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return r.prototype.getParentControlId = function() {
|
|
36
|
+
return a.BuiltInControlTypes[_.BlockType.STRUCTURE].BORDER_FORM;
|
|
37
|
+
}, r.prototype.getTargetNodes = function(t) {
|
|
38
|
+
}, r.prototype.getLabels = function() {
|
|
39
|
+
}, r;
|
|
40
|
+
})(p.BuiltInControl)
|
|
41
|
+
);
|
|
42
|
+
return e.StructureBorderBuiltInControl = f, e;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
S as __require
|
|
46
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/StructurePaddingsBuiltInControl.js";
|
|
2
|
+
import { __require as _ } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as f } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
var l;
|
|
5
|
+
function I() {
|
|
6
|
+
if (l) return o;
|
|
7
|
+
l = 1;
|
|
8
|
+
var a = o && o.__extends || /* @__PURE__ */ (function() {
|
|
9
|
+
var n = function(t, r) {
|
|
10
|
+
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, u) {
|
|
11
|
+
e.__proto__ = u;
|
|
12
|
+
} || function(e, u) {
|
|
13
|
+
for (var i in u) Object.prototype.hasOwnProperty.call(u, i) && (e[i] = u[i]);
|
|
14
|
+
}, n(t, r);
|
|
15
|
+
};
|
|
16
|
+
return function(t, r) {
|
|
17
|
+
if (typeof r != "function" && r !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
19
|
+
n(t, r);
|
|
20
|
+
function e() {
|
|
21
|
+
this.constructor = t;
|
|
22
|
+
}
|
|
23
|
+
t.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.StructurePaddingsBuiltInControl = void 0;
|
|
27
|
+
var s = _(), c = f(), p = (
|
|
28
|
+
/** @class */
|
|
29
|
+
(function(n) {
|
|
30
|
+
a(t, n);
|
|
31
|
+
function t() {
|
|
32
|
+
return n !== null && n.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return t.prototype.getParentControlId = function() {
|
|
35
|
+
return c.BuiltInControlTypes.GENERAL.STRUCTURE_PADDINGS;
|
|
36
|
+
}, t.prototype.getLabels = function() {
|
|
37
|
+
}, t;
|
|
38
|
+
})(s.BuiltInControl)
|
|
39
|
+
);
|
|
40
|
+
return o.StructurePaddingsBuiltInControl = p, o;
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
I as __require
|
|
44
|
+
};
|
package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextColorBuiltInControl.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __exports as n } from "../../../../../_virtual/TextColorBuiltInControl.js";
|
|
2
|
+
import { __require as p } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as C } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
var u;
|
|
5
|
+
function x() {
|
|
6
|
+
if (u) return n;
|
|
7
|
+
u = 1;
|
|
8
|
+
var a = n && n.__extends || /* @__PURE__ */ (function() {
|
|
9
|
+
var r = function(t, o) {
|
|
10
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, l) {
|
|
11
|
+
e.__proto__ = l;
|
|
12
|
+
} || function(e, l) {
|
|
13
|
+
for (var i in l) Object.prototype.hasOwnProperty.call(l, i) && (e[i] = l[i]);
|
|
14
|
+
}, r(t, o);
|
|
15
|
+
};
|
|
16
|
+
return function(t, o) {
|
|
17
|
+
if (typeof o != "function" && o !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(o) + " is not a constructor or null");
|
|
19
|
+
r(t, o);
|
|
20
|
+
function e() {
|
|
21
|
+
this.constructor = t;
|
|
22
|
+
}
|
|
23
|
+
t.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
Object.defineProperty(n, "__esModule", { value: !0 }), n.TextColorBuiltInControl = void 0;
|
|
27
|
+
var _ = p(), s = C(), c = (
|
|
28
|
+
/** @class */
|
|
29
|
+
(function(r) {
|
|
30
|
+
a(t, r);
|
|
31
|
+
function t() {
|
|
32
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return t.prototype.getParentControlId = function() {
|
|
35
|
+
return s.BuiltInControlTypes.GENERAL.TEXT_COLOR;
|
|
36
|
+
}, t;
|
|
37
|
+
})(_.BuiltInControl)
|
|
38
|
+
);
|
|
39
|
+
return n.TextColorBuiltInControl = c, n;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
x as __require
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __exports as o } from "../../../../../_virtual/TextLineSpacingBuiltInControl.js";
|
|
2
|
+
import { __require as s } from "./BuiltInControl.js";
|
|
3
|
+
import { __require as f } from "../constants/BuiltInControlTypes.js";
|
|
4
|
+
var l;
|
|
5
|
+
function x() {
|
|
6
|
+
if (l) return o;
|
|
7
|
+
l = 1;
|
|
8
|
+
var a = o && o.__extends || /* @__PURE__ */ (function() {
|
|
9
|
+
var r = function(t, n) {
|
|
10
|
+
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
11
|
+
e.__proto__ = i;
|
|
12
|
+
} || function(e, i) {
|
|
13
|
+
for (var u in i) Object.prototype.hasOwnProperty.call(i, u) && (e[u] = i[u]);
|
|
14
|
+
}, r(t, n);
|
|
15
|
+
};
|
|
16
|
+
return function(t, n) {
|
|
17
|
+
if (typeof n != "function" && n !== null)
|
|
18
|
+
throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
19
|
+
r(t, n);
|
|
20
|
+
function e() {
|
|
21
|
+
this.constructor = t;
|
|
22
|
+
}
|
|
23
|
+
t.prototype = n === null ? Object.create(n) : (e.prototype = n.prototype, new e());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
Object.defineProperty(o, "__esModule", { value: !0 }), o.TextLineSpacingBuiltInControl = void 0;
|
|
27
|
+
var c = s(), p = f(), _ = (
|
|
28
|
+
/** @class */
|
|
29
|
+
(function(r) {
|
|
30
|
+
a(t, r);
|
|
31
|
+
function t() {
|
|
32
|
+
return r !== null && r.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return t.prototype.getParentControlId = function() {
|
|
35
|
+
return p.BuiltInControlTypes.GENERAL.TEXT_LINE_SPACING;
|
|
36
|
+
}, t;
|
|
37
|
+
})(c.BuiltInControl)
|
|
38
|
+
);
|
|
39
|
+
return o.TextLineSpacingBuiltInControl = _, o;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
x as __require
|
|
43
|
+
};
|