@g1cloud/page-builder-editor 1.0.0-alpha.101 → 1.0.0-alpha.102
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/dist/{PbPropertyEditorColor-BsPFj_3N.js → PbPropertyEditorColor-BLmbxHlj.js} +1 -1
- package/dist/{PbPropertyEditorCssLength-s--C0dHZ.js → PbPropertyEditorCssLength-D-rlVWI8.js} +1 -1
- package/dist/{PbPropertyEditorHtml-WoyBfORQ.js → PbPropertyEditorHtml-D65dKk8P.js} +1 -1
- package/dist/{PbPropertyEditorImage-DbbK_0WV.js → PbPropertyEditorImage-Bh9_XDi6.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-Bp2vUVha.js → PbPropertyEditorMultilineText-BQ5EOr92.js} +1 -1
- package/dist/{PbPropertyEditorSelect-B5sfulvx.js → PbPropertyEditorSelect-DkXgwpK8.js} +2 -1
- package/dist/{PbPropertyEditorText-mWOJ1KrX.js → PbPropertyEditorText-BuNC6dLo.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-BCiZmiWV.js → PbPropertyEditorYoutube-DuPiKQNB.js} +1 -1
- package/dist/{PbWidgetAddModal-0p7a4pVO.js → PbWidgetAddModal-BOcLVwum.js} +1 -1
- package/dist/{PbYoutubeModal-BaL5gsKK.js → PbYoutubeModal-DDC8kUPw.js} +1 -1
- package/dist/{index-SyHEuk0H.js → index-BKkW50R0.js} +10 -10
- package/dist/model/part-property.d.ts +1 -0
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +2 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createVNode } from "vue";
|
|
2
2
|
import { vT, BSTextInput } from "@g1cloud/bluesea";
|
|
3
|
-
import { P as PbColorPicker } from "./index-
|
|
3
|
+
import { P as PbColorPicker } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-color" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = { class: "bs-layout-horizontal flex-align-center color" };
|
package/dist/{PbPropertyEditorCssLength-s--C0dHZ.js → PbPropertyEditorCssLength-D-rlVWI8.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createVNode } from "vue";
|
|
2
2
|
import { vT, BSTextInput } from "@g1cloud/bluesea";
|
|
3
|
-
import { t as toCssLength } from "./index-
|
|
3
|
+
import { t as toCssLength } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-number flex-align-center" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createTextVNode, defineAsyncComponent } from "vue";
|
|
2
2
|
import { useModal, vT } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-html flex-align-center" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createTextVNode, toDisplayString, createVNode, createCommentVNode, Fragment } from "vue";
|
|
2
|
-
import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-
|
|
2
|
+
import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-BKkW50R0.js";
|
|
3
3
|
import { useModal, vT, BSButton, BSMultiLangTextInput, showNotification } from "@g1cloud/bluesea";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-image" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
package/dist/{PbPropertyEditorMultilineText-Bp2vUVha.js → PbPropertyEditorMultilineText-BQ5EOr92.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createBlock } from "vue";
|
|
2
2
|
import { vT, BSMultiLangTextArea, BSTextArea } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-multiline-text" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -30,9 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
createElementVNode("div", null, [
|
|
31
31
|
createVNode(unref(BSSelect), {
|
|
32
32
|
items: selectItems.value,
|
|
33
|
+
disabled: !!_ctx.property.disabled,
|
|
33
34
|
"model-value": _ctx.value,
|
|
34
35
|
"onUpdate:modelValue": emitUpdatePropertyValue
|
|
35
|
-
}, null, 8, ["items", "model-value"])
|
|
36
|
+
}, null, 8, ["items", "disabled", "model-value"])
|
|
36
37
|
])
|
|
37
38
|
]);
|
|
38
39
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createBlock } from "vue";
|
|
2
2
|
import { vT, BSMultiLangTextInput, BSTextInput } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-text flex-align-center" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, withDirectives, unref, createTextVNode, toDisplayString, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { useModal, vT, BSButton } from "@g1cloud/bluesea";
|
|
3
|
-
import { s as selectYoutubeVideo } from "./index-
|
|
3
|
+
import { s as selectYoutubeVideo } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-image flex-align-center" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString } from "vue";
|
|
2
2
|
import { useModalHandle, BSModalFrame } from "@g1cloud/bluesea";
|
|
3
|
-
import { w as widgetPartDefinitions } from "./index-
|
|
3
|
+
import { w as widgetPartDefinitions } from "./index-BKkW50R0.js";
|
|
4
4
|
const _hoisted_1 = { class: "bs-layout-vertical pb-part-add-modal" };
|
|
5
5
|
const _hoisted_2 = { class: "bs-layout-horizontal-wrap ml-16 mb-8 gap-8" };
|
|
6
6
|
const _hoisted_3 = ["onClick", "textContent"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode, withDirectives, createVNode, normalizeStyle, createCommentVNode } from "vue";
|
|
2
2
|
import { useModalHandle, BSModalFrame, vT, BSTextInput } from "@g1cloud/bluesea";
|
|
3
3
|
import YouTube from "vue3-youtube";
|
|
4
|
-
import { _ as _export_sfc } from "./index-
|
|
4
|
+
import { _ as _export_sfc } from "./index-BKkW50R0.js";
|
|
5
5
|
const _hoisted_1 = { class: "bs-layout-vertical flex-grow-1 h-full" };
|
|
6
6
|
const _hoisted_2 = { class: "pt-8" };
|
|
7
7
|
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-center" };
|
|
@@ -8628,16 +8628,16 @@ class PartManager {
|
|
|
8628
8628
|
const defaultPartPropertyEditors = () => {
|
|
8629
8629
|
return {
|
|
8630
8630
|
"readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
|
|
8631
|
-
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-
|
|
8631
|
+
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-BuNC6dLo.js")),
|
|
8632
8632
|
"number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
|
|
8633
8633
|
"boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
|
|
8634
|
-
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-
|
|
8635
|
-
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-
|
|
8636
|
-
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-
|
|
8637
|
-
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-
|
|
8638
|
-
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-
|
|
8639
|
-
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-
|
|
8640
|
-
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-
|
|
8634
|
+
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-BQ5EOr92.js")),
|
|
8635
|
+
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-DkXgwpK8.js")),
|
|
8636
|
+
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-D-rlVWI8.js")),
|
|
8637
|
+
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-BLmbxHlj.js")),
|
|
8638
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-Bh9_XDi6.js")),
|
|
8639
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-D65dKk8P.js")),
|
|
8640
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DuPiKQNB.js"))
|
|
8641
8641
|
};
|
|
8642
8642
|
};
|
|
8643
8643
|
const getPropertyValueOfParts = (parts, propertyName) => {
|
|
@@ -8657,7 +8657,7 @@ const isCursorInElement = (event, element) => {
|
|
|
8657
8657
|
};
|
|
8658
8658
|
const selectYoutubeVideo = (modal, url, callback) => {
|
|
8659
8659
|
modal.openModal({
|
|
8660
|
-
component: defineAsyncComponent(() => import("./PbYoutubeModal-
|
|
8660
|
+
component: defineAsyncComponent(() => import("./PbYoutubeModal-DDC8kUPw.js")),
|
|
8661
8661
|
style: {
|
|
8662
8662
|
minWidth: "500px",
|
|
8663
8663
|
minHeight: "400px"
|
|
@@ -13435,7 +13435,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
|
|
|
13435
13435
|
let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
|
|
13436
13436
|
const openWidgetAddModal = (modal, args, callback) => {
|
|
13437
13437
|
modal.openModal({
|
|
13438
|
-
component: defineAsyncComponent(() => import("./PbWidgetAddModal-
|
|
13438
|
+
component: defineAsyncComponent(() => import("./PbWidgetAddModal-BOcLVwum.js")),
|
|
13439
13439
|
style: {
|
|
13440
13440
|
width: "80%",
|
|
13441
13441
|
height: "80%",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B, c, M, d, e, f, a, b, g, h, i, j, k, l, m, n, o, R, p, S, q, W, r, v, x, y, z, A, D, E, F } from "./index-
|
|
1
|
+
import { B, c, M, d, e, f, a, b, g, h, i, j, k, l, m, n, o, R, p, S, q, W, r, v, x, y, z, A, D, E, F } from "./index-BKkW50R0.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
c as Block,
|
|
@@ -17849,9 +17849,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17849
17849
|
vue.createElementVNode("div", null, [
|
|
17850
17850
|
vue.createVNode(vue.unref(bluesea.BSSelect), {
|
|
17851
17851
|
items: selectItems.value,
|
|
17852
|
+
disabled: !!_ctx.property.disabled,
|
|
17852
17853
|
"model-value": _ctx.value,
|
|
17853
17854
|
"onUpdate:modelValue": emitUpdatePropertyValue
|
|
17854
|
-
}, null, 8, ["items", "model-value"])
|
|
17855
|
+
}, null, 8, ["items", "disabled", "model-value"])
|
|
17855
17856
|
])
|
|
17856
17857
|
]);
|
|
17857
17858
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g1cloud/page-builder-editor",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.102",
|
|
5
5
|
"engins": {
|
|
6
6
|
"node": ">= 20.0.0"
|
|
7
7
|
},
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vue-router": "^4.4.3",
|
|
32
32
|
"vue3-click-away": "^1.2.4",
|
|
33
33
|
"yjs": "^13.6.14",
|
|
34
|
-
"@g1cloud/page-builder-viewer": "1.0.0-alpha.
|
|
34
|
+
"@g1cloud/page-builder-viewer": "1.0.0-alpha.102"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^20.12.7",
|