@g1cloud/page-builder-editor 1.0.0-alpha.47 → 1.0.0-alpha.48
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-DLlgxhjM.js → PbPropertyEditorColor-DBbxEdkH.js} +1 -1
- package/dist/{PbPropertyEditorHtml-BXuxLbsP.js → PbPropertyEditorHtml-BjSqb8Am.js} +1 -1
- package/dist/{PbPropertyEditorImage-CIRglunW.js → PbPropertyEditorImage-jJdSp8xy.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-BeOlO8l-.js → PbPropertyEditorMultilineText-CNo8G0a2.js} +1 -1
- package/dist/{PbPropertyEditorText-CtHSUEX_.js → PbPropertyEditorText-BjR3sF3V.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-yWHO0Z_y.js → PbPropertyEditorYoutube-Dc9nSh5q.js} +1 -1
- package/dist/{PbWidgetAddModal-DkOxvb6V.js → PbWidgetAddModal-CjMB43KS.js} +1 -1
- package/dist/{index-CRSmxHIB.js → index-DzzU6Uxn.js} +13 -11
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +6 -4
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, unref } from "vue";
|
|
2
2
|
import { BSTextInput } from "@g1cloud/bluesea";
|
|
3
|
-
import { P as PbColorPicker } from "./index-
|
|
3
|
+
import { P as PbColorPicker } from "./index-DzzU6Uxn.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-color" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = ["textContent"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, defineAsyncComponent } from "vue";
|
|
2
2
|
import { useModal } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-DzzU6Uxn.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 = ["textContent"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
2
|
+
import { u as usePageBuilderEditor } from "./index-DzzU6Uxn.js";
|
|
3
3
|
import { useModal } from "@g1cloud/bluesea";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-image flex-align-center" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
package/dist/{PbPropertyEditorMultilineText-BeOlO8l-.js → PbPropertyEditorMultilineText-CNo8G0a2.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, unref } from "vue";
|
|
2
2
|
import { BSMultiLangTextArea, BSTextArea } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-DzzU6Uxn.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-multiline-text" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = ["textContent"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, unref } from "vue";
|
|
2
2
|
import { BSMultiLangTextInput, BSTextInput } from "@g1cloud/bluesea";
|
|
3
|
-
import { u as usePageBuilderEditor } from "./index-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-DzzU6Uxn.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 _hoisted_3 = ["textContent"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { useModal } from "@g1cloud/bluesea";
|
|
3
|
-
import { s as selectYoutubeVideo } from "./index-
|
|
3
|
+
import { s as selectYoutubeVideo } from "./index-DzzU6Uxn.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 = ["textContent"];
|
|
@@ -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-DzzU6Uxn.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"];
|
|
@@ -8268,15 +8268,15 @@ class PartManager {
|
|
|
8268
8268
|
const defaultPartPropertyEditors = () => {
|
|
8269
8269
|
return {
|
|
8270
8270
|
"readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-Dgp_AVOD.js")),
|
|
8271
|
-
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-
|
|
8271
|
+
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-BjR3sF3V.js")),
|
|
8272
8272
|
"number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-TTgo0zbQ.js")),
|
|
8273
8273
|
"boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-C7-iSAtn.js")),
|
|
8274
|
-
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-
|
|
8274
|
+
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-CNo8G0a2.js")),
|
|
8275
8275
|
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-CWedbXJI.js")),
|
|
8276
|
-
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-
|
|
8277
|
-
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-
|
|
8278
|
-
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-
|
|
8279
|
-
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-
|
|
8276
|
+
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-DBbxEdkH.js")),
|
|
8277
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-jJdSp8xy.js")),
|
|
8278
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-BjSqb8Am.js")),
|
|
8279
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-Dc9nSh5q.js"))
|
|
8280
8280
|
};
|
|
8281
8281
|
};
|
|
8282
8282
|
const getPropertyValueOfParts = (parts, propertyName) => {
|
|
@@ -12782,7 +12782,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
|
|
|
12782
12782
|
let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
|
|
12783
12783
|
const openWidgetAddModal = (modal, args, callback) => {
|
|
12784
12784
|
modal.openModal({
|
|
12785
|
-
component: defineAsyncComponent(() => import("./PbWidgetAddModal-
|
|
12785
|
+
component: defineAsyncComponent(() => import("./PbWidgetAddModal-CjMB43KS.js")),
|
|
12786
12786
|
style: {
|
|
12787
12787
|
width: "80%",
|
|
12788
12788
|
height: "80%",
|
|
@@ -14920,10 +14920,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
14920
14920
|
if (!iframeRef.value || !iframeRef.value.contentDocument) return;
|
|
14921
14921
|
const iframeBody = iframeRef.value.contentDocument.body;
|
|
14922
14922
|
if (iframeBody) {
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
iframeRef.value.style.height
|
|
14923
|
+
const pageDiv = iframeRef.value.contentDocument.querySelector(".pb-page");
|
|
14924
|
+
if (pageDiv) {
|
|
14925
|
+
const newHeight = pageDiv.scrollHeight;
|
|
14926
|
+
if (iframeRef.value.style.height !== `${newHeight}px`) {
|
|
14927
|
+
iframeRef.value.style.height = `${newHeight}px`;
|
|
14928
|
+
}
|
|
14927
14929
|
}
|
|
14928
14930
|
}
|
|
14929
14931
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B, b, M, c, d, e, _, a, f, g, h, i, j, k, l, m, n, o, R, p, S, q, W, r, t, v, x, y, z, A, C, D } from "./index-
|
|
1
|
+
import { B, b, M, c, d, e, _, a, f, g, h, i, j, k, l, m, n, o, R, p, S, q, W, r, t, v, x, y, z, A, C, D } from "./index-DzzU6Uxn.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -14921,10 +14921,12 @@ ${_html.style}
|
|
|
14921
14921
|
if (!iframeRef.value || !iframeRef.value.contentDocument) return;
|
|
14922
14922
|
const iframeBody = iframeRef.value.contentDocument.body;
|
|
14923
14923
|
if (iframeBody) {
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
iframeRef.value.style.height
|
|
14924
|
+
const pageDiv = iframeRef.value.contentDocument.querySelector(".pb-page");
|
|
14925
|
+
if (pageDiv) {
|
|
14926
|
+
const newHeight = pageDiv.scrollHeight;
|
|
14927
|
+
if (iframeRef.value.style.height !== `${newHeight}px`) {
|
|
14928
|
+
iframeRef.value.style.height = `${newHeight}px`;
|
|
14929
|
+
}
|
|
14928
14930
|
}
|
|
14929
14931
|
}
|
|
14930
14932
|
});
|
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.48",
|
|
5
5
|
"engins": {
|
|
6
6
|
"node": ">= 20.0.0"
|
|
7
7
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "zag@g1project.net",
|
|
17
17
|
"license": "LicenseRef-LICENSE",
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@g1cloud/bluesea": "5.0.0-alpha.
|
|
19
|
+
"@g1cloud/bluesea": "5.0.0-alpha.87",
|
|
20
20
|
"vue3-youtube": "^0.1.9"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"vue-router": "^4.4.3",
|
|
31
31
|
"vue3-click-away": "^1.2.4",
|
|
32
32
|
"yjs": "^13.6.14",
|
|
33
|
-
"@g1cloud/page-builder-viewer": "1.0.0-alpha.
|
|
33
|
+
"@g1cloud/page-builder-viewer": "1.0.0-alpha.48"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.12.7",
|