@useinsider/guido 1.0.2-beta.a06a05e → 1.0.2-beta.a5713d2

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.
Files changed (112) hide show
  1. package/README.md +8 -0
  2. package/dist/components/Guido.vue.js +8 -8
  3. package/dist/components/Guido.vue2.js +36 -35
  4. package/dist/composables/useStripo.js +25 -24
  5. package/dist/config/migrator/checkboxMigrator.d.ts +1 -0
  6. package/dist/config/migrator/checkboxMigrator.js +83 -0
  7. package/dist/config/migrator/index.d.ts +1 -0
  8. package/dist/config/migrator/index.js +5 -0
  9. package/dist/extensions/Blocks/Checkbox/block.d.ts +10 -0
  10. package/dist/extensions/Blocks/Checkbox/block.js +39 -0
  11. package/dist/extensions/Blocks/Checkbox/control.d.ts +22 -0
  12. package/dist/extensions/Blocks/Checkbox/control.js +106 -0
  13. package/dist/extensions/Blocks/Checkbox/extension.d.ts +2 -0
  14. package/dist/extensions/Blocks/Checkbox/extension.js +20 -0
  15. package/dist/extensions/Blocks/Checkbox/settingsPanel.d.ts +4 -0
  16. package/dist/extensions/Blocks/Checkbox/settingsPanel.js +38 -0
  17. package/dist/extensions/Blocks/Checkbox/template.d.ts +6 -0
  18. package/dist/extensions/Blocks/Checkbox/template.js +75 -0
  19. package/dist/extensions/DynamicContent/dynamic-content.js +41 -27
  20. package/dist/extensions/DynamicContent/extension.js +18 -6
  21. package/dist/guido.css +1 -1
  22. package/dist/mock/api/unsubscribe.d.ts +2 -0
  23. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/Extension.js +72 -48
  24. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ExtensionBuilder.js +74 -49
  25. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/Block.js +120 -38
  26. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AiAssistantValueType.js +5 -11
  27. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockCompositionType.js +5 -11
  28. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockName.js +12 -0
  29. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockType.js +5 -11
  30. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BuiltInControlTypes.js +116 -101
  31. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/ContextActionType.js +5 -11
  32. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/EditorStatePropertyType.js +5 -11
  33. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PanelPosition.js +5 -11
  34. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/Popover.js +12 -0
  35. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/PreviewDeviceMode.js +5 -11
  36. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/SettingsTab.js +5 -11
  37. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementType.js +5 -11
  38. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/UIElementsAttributes.js +22 -43
  39. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/Control.js +21 -17
  40. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelRegistry.js +8 -15
  41. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/SettingsPanelTab.js +30 -29
  42. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/modifications/ModificationDescription.js +19 -23
  43. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElement.js +37 -19
  44. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/ui-elements/UIElementTagRegistry.js +2 -15
  45. package/package.json +2 -2
  46. package/dist/_virtual/AddCustomFont.js +0 -4
  47. package/dist/_virtual/AiAssistantValueType.js +0 -4
  48. package/dist/_virtual/BackgroundColorBuiltInControl.js +0 -4
  49. package/dist/_virtual/BackgroundImageBuiltInControl.js +0 -4
  50. package/dist/_virtual/Block.js +0 -4
  51. package/dist/_virtual/BlockAttributes.js +0 -4
  52. package/dist/_virtual/BlockCompositionType.js +0 -4
  53. package/dist/_virtual/BlockPaddingsBuiltInControl.js +0 -4
  54. package/dist/_virtual/BlockRenderer.js +0 -4
  55. package/dist/_virtual/BlockType.js +0 -4
  56. package/dist/_virtual/BlocksPanel.js +0 -4
  57. package/dist/_virtual/BuiltInControl.js +0 -4
  58. package/dist/_virtual/BuiltInControlTypes.js +0 -4
  59. package/dist/_virtual/ButtonBorderBuiltInControl.js +0 -4
  60. package/dist/_virtual/ButtonColorBuiltInControl.js +0 -4
  61. package/dist/_virtual/ButtonFontColorBuiltInControl.js +0 -4
  62. package/dist/_virtual/ButtonInternalIndentsBuiltInControl.js +0 -4
  63. package/dist/_virtual/ButtonTextBuiltInControl.js +0 -4
  64. package/dist/_virtual/ContextAction.js +0 -4
  65. package/dist/_virtual/ContextActionType.js +0 -4
  66. package/dist/_virtual/Control.js +0 -4
  67. package/dist/_virtual/EditorStatePropertyType.js +0 -4
  68. package/dist/_virtual/Extension.js +0 -4
  69. package/dist/_virtual/ExtensionBuilder.js +0 -4
  70. package/dist/_virtual/FontFamilyBuiltInControl.js +0 -4
  71. package/dist/_virtual/LinkColorBuiltInControl.js +0 -4
  72. package/dist/_virtual/ModificationDescription.js +0 -4
  73. package/dist/_virtual/PanelPosition.js +0 -4
  74. package/dist/_virtual/PreviewDeviceMode.js +0 -4
  75. package/dist/_virtual/SettingsPanelRegistry.js +0 -4
  76. package/dist/_virtual/SettingsPanelTab.js +0 -4
  77. package/dist/_virtual/SettingsTab.js +0 -4
  78. package/dist/_virtual/StructureBorderBuiltInControl.js +0 -4
  79. package/dist/_virtual/StructurePaddingsBuiltInControl.js +0 -4
  80. package/dist/_virtual/TextColorBuiltInControl.js +0 -4
  81. package/dist/_virtual/TextLineSpacingBuiltInControl.js +0 -4
  82. package/dist/_virtual/TextSizeBuiltInControl.js +0 -4
  83. package/dist/_virtual/TextStyleBuiltInControl.js +0 -4
  84. package/dist/_virtual/UIElement.js +0 -4
  85. package/dist/_virtual/UIElementTagRegistry.js +0 -4
  86. package/dist/_virtual/UIElementType.js +0 -4
  87. package/dist/_virtual/UIElementsAttributes.js +0 -4
  88. package/dist/_virtual/index.js +0 -5
  89. package/dist/_virtual/index2.js +0 -4
  90. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlockRenderer.js +0 -18
  91. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/BlocksPanel.js +0 -32
  92. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/blocks/ContextAction.js +0 -18
  93. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/AddCustomFont.js +0 -8
  94. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/constants/BlockAttributes.js +0 -34
  95. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundColorBuiltInControl.js +0 -43
  96. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BackgroundImageBuiltInControl.js +0 -46
  97. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BlockPaddingsBuiltInControl.js +0 -44
  98. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/BuiltInControl.js +0 -22
  99. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonBorderBuiltInControl.js +0 -46
  100. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonColorBuiltInControl.js +0 -46
  101. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonFontColorBuiltInControl.js +0 -45
  102. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonInternalIndentsBuiltInControl.js +0 -45
  103. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/ButtonTextBuiltInControl.js +0 -45
  104. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/FontFamilyBuiltInControl.js +0 -43
  105. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/LinkColorBuiltInControl.js +0 -45
  106. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructureBorderBuiltInControl.js +0 -46
  107. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/StructurePaddingsBuiltInControl.js +0 -44
  108. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextColorBuiltInControl.js +0 -43
  109. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextLineSpacingBuiltInControl.js +0 -43
  110. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextSizeBuiltInControl.js +0 -45
  111. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/controls/TextStyleBuiltInControl.js +0 -43
  112. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/index.js +0 -266
@@ -1,13 +1,7 @@
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
- }
1
+ var C;
2
+ (function(E) {
3
+ 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";
4
+ })(C || (C = {}));
11
5
  export {
12
- S as __require
6
+ C as UIElementType
13
7
  };
@@ -1,45 +1,24 @@
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
- }
1
+ const t = {
2
+ name: "name",
3
+ disabled: "disabled"
4
+ }, e = {
5
+ ...t
6
+ }, s = {
7
+ ...t,
8
+ text: "text"
9
+ }, l = {
10
+ ...t,
11
+ placeholder: "placeholder",
12
+ items: "items"
13
+ }, c = {
14
+ text: "text",
15
+ value: "value"
16
+ }, n = {
17
+ BUTTON: e,
18
+ LABEL: s,
19
+ SELECTPICKER: l,
20
+ SELECT_ITEM: c
21
+ };
43
22
  export {
44
- S as __require
23
+ n as UEAttr
45
24
  };
@@ -1,20 +1,24 @@
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;
1
+ var s = Object.defineProperty;
2
+ var t = (e, o, n) => o in e ? s(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n;
3
+ var r = (e, o, n) => t(e, typeof o != "symbol" ? o + "" : o, n);
4
+ class l {
5
+ constructor() {
6
+ /** Provides access to editor functionalities specific to this UI control instance. */
7
+ r(this, "api");
8
+ }
9
+ /**
10
+ * Optional hook called when the control is initially rendered.
11
+ * Use this for setup tasks like attaching event listeners to the control's template elements.
12
+ */
13
+ onRender() {
14
+ }
15
+ /**
16
+ * Optional cleanup hook called when the control is being destroyed.
17
+ * Use this to remove event listeners or perform other cleanup tasks.
18
+ */
19
+ onDestroy() {
20
+ }
17
21
  }
18
22
  export {
19
- u as __require
23
+ l as Control
20
24
  };
@@ -1,18 +1,11 @@
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;
1
+ var i = Object.defineProperty;
2
+ var g = (s, e, t) => e in s ? i(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var a = (s, e, t) => g(s, typeof e != "symbol" ? e + "" : e, t);
4
+ class n {
5
+ constructor() {
6
+ a(this, "api");
7
+ }
15
8
  }
16
9
  export {
17
- s as __require
10
+ n as SettingsPanelRegistry
18
11
  };
@@ -1,32 +1,33 @@
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;
1
+ var r = Object.defineProperty;
2
+ var n = (e, s, t) => s in e ? r(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
3
+ var l = (e, s, t) => n(e, typeof s != "symbol" ? s + "" : s, t);
4
+ class o {
5
+ constructor(s, t) {
6
+ l(this, "tabId");
7
+ l(this, "label");
8
+ l(this, "controlsIds");
9
+ this.tabId = s, this.controlsIds = t;
10
+ }
11
+ getTabId() {
12
+ return this.tabId;
13
+ }
14
+ getLabel() {
15
+ return this.label;
16
+ }
17
+ getControlsIds() {
18
+ return this.controlsIds;
19
+ }
20
+ withLabel(s) {
21
+ return this.label = s, this;
22
+ }
23
+ addControl(s, t) {
24
+ return t < 0 ? this.controlsIds.unshift(s) : t > this.controlsIds.length ? this.controlsIds.push(s) : this.controlsIds.splice(t, 0, s), this;
25
+ }
26
+ deleteControl(s) {
27
+ const t = this.controlsIds.indexOf(s);
28
+ t !== -1 && this.controlsIds.splice(t, 1);
29
+ }
29
30
  }
30
31
  export {
31
- l as __require
32
+ o as SettingsPanelTab
32
33
  };
@@ -1,26 +1,22 @@
1
- import { __exports as i } from "../../../../../_virtual/ModificationDescription.js";
2
- var r;
3
- function a() {
4
- if (r) return i;
5
- r = 1, Object.defineProperty(i, "__esModule", { value: !0 }), i.ModificationDescription = void 0;
6
- var e = (
7
- /** @class */
8
- (function() {
9
- function t(o) {
10
- this.key = o;
11
- }
12
- return t.prototype.withParams = function(o) {
13
- return this.params = o, this;
14
- }, t.prototype.getValue = function() {
15
- return {
16
- key: this.key,
17
- params: this.params
18
- };
19
- }, t;
20
- })()
21
- );
22
- return i.ModificationDescription = e, i;
1
+ var i = Object.defineProperty;
2
+ var e = (t, s, a) => s in t ? i(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a;
3
+ var r = (t, s, a) => e(t, typeof s != "symbol" ? s + "" : s, a);
4
+ class o {
5
+ constructor(s) {
6
+ r(this, "key");
7
+ r(this, "params");
8
+ this.key = s;
9
+ }
10
+ withParams(s) {
11
+ return this.params = s, this;
12
+ }
13
+ getValue() {
14
+ return {
15
+ key: this.key,
16
+ params: this.params
17
+ };
18
+ }
23
19
  }
24
20
  export {
25
- a as __require
21
+ o as ModificationDescription
26
22
  };
@@ -1,22 +1,40 @@
1
- import { __exports as t } from "../../../../../_virtual/UIElement.js";
2
- var n;
3
- function l() {
4
- if (n) return t;
5
- n = 1, Object.defineProperty(t, "__esModule", { value: !0 }), t.UIElement = void 0;
6
- var r = (
7
- /** @class */
8
- (function() {
9
- function e() {
10
- }
11
- return e.prototype.onDestroy = function() {
12
- }, e.prototype.getValue = function() {
13
- }, e.prototype.setValue = function(o) {
14
- }, e.prototype.onAttributeUpdated = function(o, u) {
15
- }, e;
16
- })()
17
- );
18
- return t.UIElement = r, t;
1
+ var u = Object.defineProperty;
2
+ var n = (t, e, a) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
+ var l = (t, e, a) => n(t, typeof e != "symbol" ? e + "" : e, a);
4
+ class s {
5
+ constructor() {
6
+ /** Provides access to editor functionalities specific to this UI element instance. */
7
+ l(this, "api");
8
+ }
9
+ /**
10
+ * Optional cleanup hook called when the UI element is being destroyed.
11
+ * Use this to remove event listeners or perform other cleanup tasks.
12
+ */
13
+ onDestroy() {
14
+ }
15
+ /**
16
+ * Optional method to get the current value of the UI element.
17
+ * Implement this if the element manages a state or value (e.g., input fields).
18
+ * @returns The current value of the element.
19
+ */
20
+ getValue() {
21
+ }
22
+ /**
23
+ * Optional method to set the value of the UI element.
24
+ * Implement this if the element manages a state or value and needs to be updated externally.
25
+ * @param value - The new value to set.
26
+ */
27
+ setValue(e) {
28
+ }
29
+ /**
30
+ * @description Optional hook called when one of the element's supported attributes ({@link UEAttr}) gets updated externally.
31
+ * Implement this to react to attribute changes (e.g., visibility, disabled state).
32
+ * @param name - The name of the attribute that was updated.
33
+ * @param value - The new value of the attribute.
34
+ */
35
+ onAttributeUpdated(e, a) {
36
+ }
19
37
  }
20
38
  export {
21
- l as __require
39
+ s as UIElement
22
40
  };
@@ -1,18 +1,5 @@
1
- import { __exports as e } from "../../../../../_virtual/UIElementTagRegistry.js";
2
- var r;
3
- function g() {
4
- if (r) return e;
5
- r = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.UIElementTagRegistry = void 0;
6
- var t = (
7
- /** @class */
8
- /* @__PURE__ */ (function() {
9
- function i() {
10
- }
11
- return i;
12
- })()
13
- );
14
- return e.UIElementTagRegistry = t, e;
1
+ class s {
15
2
  }
16
3
  export {
17
- g as __require
4
+ s as UIElementTagRegistry
18
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "1.0.2-beta.a06a05e",
3
+ "version": "1.0.2-beta.a5713d2",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",
@@ -31,7 +31,7 @@
31
31
  "author": "",
32
32
  "license": "ISC",
33
33
  "dependencies": {
34
- "@stripoinc/ui-editor-extensions": "1.0.6",
34
+ "@stripoinc/ui-editor-extensions": "2.0.2",
35
35
  "@useinsider/design-system-vue": "0.14.8",
36
36
  "@vueuse/core": "11.3.0",
37
37
  "lodash-es": "4.17.21",
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var s = {};
2
- export {
3
- s as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var i = {};
2
- export {
3
- i as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var o = {};
2
- export {
3
- o as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var t = {};
2
- export {
3
- t as __exports
4
- };
@@ -1,5 +0,0 @@
1
- import { __require as r } from "../node_modules/@stripoinc/ui-editor-extensions/dist/index.js";
2
- var i = r();
3
- export {
4
- i as d
5
- };