@g1cloud/page-builder-editor 1.0.0-alpha.66 → 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-BGjTjsY1.js → PbPropertyEditorColor-b2ezTtTY.js} +1 -1
- package/dist/{PbPropertyEditorHtml-CJotgTAb.js → PbPropertyEditorHtml-FFF21uix.js} +1 -1
- package/dist/{PbPropertyEditorImage-B3sFWrl1.js → PbPropertyEditorImage-tbf71-AJ.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-B552hQQS.js → PbPropertyEditorMultilineText-CWOdctgA.js} +1 -1
- package/dist/{PbPropertyEditorText-B52iIOFU.js → PbPropertyEditorText-Cz8eaZWR.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-DLqVxB0x.js → PbPropertyEditorYoutube-DLxNoa73.js} +1 -1
- package/dist/{PbWidgetAddModal-Co87rHVo.js → PbWidgetAddModal-Dg4RUWlK.js} +1 -1
- package/dist/{index-BAf5rCS3.js → index-D5OP13fw.js} +12 -20
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +4 -12
- 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-B552hQQS.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"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { ref, defineComponent, computed, openBlock, createElementBlock, Fragment, createElementVNode, normalizeStyle, createCommentVNode, toDisplayString, onMounted, onBeforeUnmount, createBlock as createBlock$1, resolveDynamicComponent, unref, provide, inject, watch, renderList, normalizeProps, mergeProps, normalizeClass, withDirectives, vShow, reactive, defineAsyncComponent, createVNode, resolveComponent, vModelText, resolveDirective, withModifiers, renderSlot, guardReactiveProps, createTextVNode, markRaw, toHandlers,
|
|
4
|
+
import { ref, defineComponent, computed, openBlock, createElementBlock, Fragment, createElementVNode, normalizeStyle, createCommentVNode, toDisplayString, onMounted, onBeforeUnmount, createBlock as createBlock$1, resolveDynamicComponent, unref, provide, inject, watch, renderList, normalizeProps, mergeProps, normalizeClass, withDirectives, vShow, reactive, defineAsyncComponent, createVNode, resolveComponent, vModelText, resolveDirective, withModifiers, renderSlot, guardReactiveProps, createTextVNode, markRaw, toHandlers, Teleport } from "vue";
|
|
5
5
|
import { notNull, vT, BSTextInput, vClickOutside, useModal, BSButton, BSMultiLangTextInput, showNotification, BSSelect, BSTree, useContextMenu, i18n } from "@g1cloud/bluesea";
|
|
6
6
|
import YouTube from "vue3-youtube";
|
|
7
7
|
const create$5 = () => /* @__PURE__ */ new Map();
|
|
@@ -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,17 +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(
|
|
14502
|
-
|
|
14503
|
-
if (tree.value) {
|
|
14504
|
-
pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value);
|
|
14505
|
-
}
|
|
14506
|
-
});
|
|
14507
|
-
onUnmounted(() => {
|
|
14508
|
-
if (tree.value) {
|
|
14509
|
-
pageBuilder.keyHandlers.removeDocumentKeyEventListener(tree.value);
|
|
14510
|
-
}
|
|
14511
|
-
});
|
|
14501
|
+
const tree = ref();
|
|
14502
|
+
watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14512
14503
|
const page = computed(() => pageBuilder.model.rootPart.children || []);
|
|
14513
14504
|
let savedPartSelection = null;
|
|
14514
14505
|
const treeDragAndDropPolicy = {
|
|
@@ -14658,7 +14649,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14658
14649
|
"multi-select": "",
|
|
14659
14650
|
"show-move-button": "",
|
|
14660
14651
|
onRowMoved: rowMoved
|
|
14661
|
-
}, 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))
|
|
14662
14654
|
], 512)
|
|
14663
14655
|
]);
|
|
14664
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,17 +14499,8 @@ ${_html.style}
|
|
|
14499
14499
|
__name: "PbNavigator",
|
|
14500
14500
|
setup(__props) {
|
|
14501
14501
|
const pageBuilder = usePageBuilderEditor();
|
|
14502
|
-
const tree = vue.ref(
|
|
14503
|
-
vue.
|
|
14504
|
-
if (tree.value) {
|
|
14505
|
-
pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value);
|
|
14506
|
-
}
|
|
14507
|
-
});
|
|
14508
|
-
vue.onUnmounted(() => {
|
|
14509
|
-
if (tree.value) {
|
|
14510
|
-
pageBuilder.keyHandlers.removeDocumentKeyEventListener(tree.value);
|
|
14511
|
-
}
|
|
14512
|
-
});
|
|
14502
|
+
const tree = vue.ref();
|
|
14503
|
+
vue.watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14513
14504
|
const page = vue.computed(() => pageBuilder.model.rootPart.children || []);
|
|
14514
14505
|
let savedPartSelection = null;
|
|
14515
14506
|
const treeDragAndDropPolicy = {
|
|
@@ -14659,7 +14650,8 @@ ${_html.style}
|
|
|
14659
14650
|
"multi-select": "",
|
|
14660
14651
|
"show-move-button": "",
|
|
14661
14652
|
onRowMoved: rowMoved
|
|
14662
|
-
}, 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))
|
|
14663
14655
|
], 512)
|
|
14664
14656
|
]);
|
|
14665
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",
|