@g1cloud/page-builder-editor 1.0.0-alpha.2 → 1.0.0-alpha.4

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.
@@ -1,42 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, unref } from "vue";
2
- import { BSTextArea } from "@g1cloud/bluesea";
3
- const _hoisted_1 = { class: "property-editor property-editor-multiline-text" };
4
- const _hoisted_2 = { class: "label" };
5
- const _hoisted_3 = ["textContent"];
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- __name: "PbPropertyEditorMultilineText",
8
- props: {
9
- property: {},
10
- value: {}
11
- },
12
- emits: ["update-property-value"],
13
- setup(__props, { emit: __emit }) {
14
- const props = __props;
15
- const emit = __emit;
16
- const emitUpdatePropertyValue = (value) => {
17
- const properties = {};
18
- properties[props.property.propertyName] = value;
19
- emit("update-property-value", properties);
20
- };
21
- return (_ctx, _cache) => {
22
- return openBlock(), createElementBlock("div", _hoisted_1, [
23
- createElementVNode("div", _hoisted_2, [
24
- createElementVNode("label", {
25
- textContent: toDisplayString(_ctx.property.caption)
26
- }, null, 8, _hoisted_3)
27
- ]),
28
- createElementVNode("div", null, [
29
- createVNode(unref(BSTextArea), {
30
- "model-value": _ctx.value,
31
- height: "60px",
32
- width: "100%",
33
- "onUpdate:modelValue": emitUpdatePropertyValue
34
- }, null, 8, ["model-value"])
35
- ])
36
- ]);
37
- };
38
- }
39
- });
40
- export {
41
- _sfc_main as default
42
- };