@g1cloud/page-builder-editor 1.0.0-alpha.67 → 1.0.0-alpha.68
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-Bcc4FZAV.js → PbPropertyEditorColor-b2ezTtTY.js} +1 -1
- package/dist/{PbPropertyEditorHtml-Bg5QdRWA.js → PbPropertyEditorHtml-FFF21uix.js} +1 -1
- package/dist/{PbPropertyEditorImage-BIuOT77W.js → PbPropertyEditorImage-tbf71-AJ.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-yN1zrwoQ.js → PbPropertyEditorMultilineText-CWOdctgA.js} +1 -1
- package/dist/{PbPropertyEditorText-CVEWFCNU.js → PbPropertyEditorText-Cz8eaZWR.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-BVBUrW_K.js → PbPropertyEditorYoutube-DLxNoa73.js} +1 -1
- package/dist/{PbWidgetAddModal-CYE7WsiI.js → PbWidgetAddModal-Dg4RUWlK.js} +1 -1
- package/dist/{index-CdIXe4Uk.js → index-D5OP13fw.js} +11 -9
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +4 -2
- 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-D5OP13fw.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" };
|
|
@@ -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-D5OP13fw.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 _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-D5OP13fw.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-yN1zrwoQ.js → PbPropertyEditorMultilineText-CWOdctgA.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-D5OP13fw.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({
|
|
@@ -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-D5OP13fw.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 } from "vue";
|
|
2
2
|
import { useModal, vT } from "@g1cloud/bluesea";
|
|
3
|
-
import { s as selectYoutubeVideo } from "./index-
|
|
3
|
+
import { s as selectYoutubeVideo } from "./index-D5OP13fw.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 _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -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-D5OP13fw.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"];
|
|
@@ -8210,15 +8210,15 @@ class PartManager {
|
|
|
8210
8210
|
const defaultPartPropertyEditors = () => {
|
|
8211
8211
|
return {
|
|
8212
8212
|
"readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
|
|
8213
|
-
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-
|
|
8213
|
+
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-Cz8eaZWR.js")),
|
|
8214
8214
|
"number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
|
|
8215
8215
|
"boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
|
|
8216
|
-
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-
|
|
8216
|
+
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-CWOdctgA.js")),
|
|
8217
8217
|
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
|
|
8218
|
-
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-
|
|
8219
|
-
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-
|
|
8220
|
-
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-
|
|
8221
|
-
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-
|
|
8218
|
+
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-b2ezTtTY.js")),
|
|
8219
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-tbf71-AJ.js")),
|
|
8220
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-FFF21uix.js")),
|
|
8221
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DLxNoa73.js"))
|
|
8222
8222
|
};
|
|
8223
8223
|
};
|
|
8224
8224
|
const getPropertyValueOfParts = (parts, propertyName) => {
|
|
@@ -12757,7 +12757,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
|
|
|
12757
12757
|
let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
|
|
12758
12758
|
const openWidgetAddModal = (modal, args, callback) => {
|
|
12759
12759
|
modal.openModal({
|
|
12760
|
-
component: defineAsyncComponent(() => import("./PbWidgetAddModal-
|
|
12760
|
+
component: defineAsyncComponent(() => import("./PbWidgetAddModal-Dg4RUWlK.js")),
|
|
12761
12761
|
style: {
|
|
12762
12762
|
width: "80%",
|
|
12763
12763
|
height: "80%",
|
|
@@ -14498,7 +14498,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14498
14498
|
__name: "PbNavigator",
|
|
14499
14499
|
setup(__props) {
|
|
14500
14500
|
const pageBuilder = usePageBuilderEditor();
|
|
14501
|
-
const tree = ref(
|
|
14501
|
+
const tree = ref();
|
|
14502
|
+
watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14502
14503
|
const page = computed(() => pageBuilder.model.rootPart.children || []);
|
|
14503
14504
|
let savedPartSelection = null;
|
|
14504
14505
|
const treeDragAndDropPolicy = {
|
|
@@ -14648,7 +14649,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14648
14649
|
"multi-select": "",
|
|
14649
14650
|
"show-move-button": "",
|
|
14650
14651
|
onRowMoved: rowMoved
|
|
14651
|
-
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14652
|
+
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"]),
|
|
14653
|
+
_cache[2] || (_cache[2] = createElementVNode("div", null, null, -1))
|
|
14652
14654
|
], 512)
|
|
14653
14655
|
]);
|
|
14654
14656
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B, b, M, c, d, e, _, a, f, g, h, i, j, k, l, m, n, R, o, S, p, W, q, r, t, v, x, y, z, A, D } from "./index-
|
|
1
|
+
import { B, b, M, c, d, e, _, a, f, g, h, i, j, k, l, m, n, R, o, S, p, W, q, r, t, v, x, y, z, A, D } from "./index-D5OP13fw.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -14499,7 +14499,8 @@ ${_html.style}
|
|
|
14499
14499
|
__name: "PbNavigator",
|
|
14500
14500
|
setup(__props) {
|
|
14501
14501
|
const pageBuilder = usePageBuilderEditor();
|
|
14502
|
-
const tree = vue.ref(
|
|
14502
|
+
const tree = vue.ref();
|
|
14503
|
+
vue.watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14503
14504
|
const page = vue.computed(() => pageBuilder.model.rootPart.children || []);
|
|
14504
14505
|
let savedPartSelection = null;
|
|
14505
14506
|
const treeDragAndDropPolicy = {
|
|
@@ -14649,7 +14650,8 @@ ${_html.style}
|
|
|
14649
14650
|
"multi-select": "",
|
|
14650
14651
|
"show-move-button": "",
|
|
14651
14652
|
onRowMoved: rowMoved
|
|
14652
|
-
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14653
|
+
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"]),
|
|
14654
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("div", null, null, -1))
|
|
14653
14655
|
], 512)
|
|
14654
14656
|
]);
|
|
14655
14657
|
};
|
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.68",
|
|
5
5
|
"engins": {
|
|
6
6
|
"node": ">= 20.0.0"
|
|
7
7
|
},
|
|
@@ -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.68"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.12.7",
|