@g1cloud/page-builder-editor 1.0.0-alpha.65 → 1.0.0-alpha.66
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-BaoUrpkr.js → PbPropertyEditorColor-BGjTjsY1.js} +1 -1
- package/dist/{PbPropertyEditorHtml-CIOHCg5w.js → PbPropertyEditorHtml-CJotgTAb.js} +1 -1
- package/dist/{PbPropertyEditorImage-BroKsg3z.js → PbPropertyEditorImage-B3sFWrl1.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-fXVcLgfV.js → PbPropertyEditorMultilineText-B552hQQS.js} +1 -1
- package/dist/{PbPropertyEditorText-Bj6BHIrA.js → PbPropertyEditorText-B52iIOFU.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-BwYZqVWB.js → PbPropertyEditorYoutube-DLqVxB0x.js} +1 -1
- package/dist/{PbWidgetAddModal-D_rc6RTc.js → PbWidgetAddModal-Co87rHVo.js} +1 -1
- package/dist/{index-DVPMLcv0.js → index-BAf5rCS3.js} +18 -9
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +10 -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-BAf5rCS3.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-BAf5rCS3.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-BAf5rCS3.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-fXVcLgfV.js → PbPropertyEditorMultilineText-B552hQQS.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-BAf5rCS3.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-BAf5rCS3.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-BAf5rCS3.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-BAf5rCS3.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, Teleport } from "vue";
|
|
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, onUnmounted, 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-B52iIOFU.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-B552hQQS.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-BGjTjsY1.js")),
|
|
8219
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-B3sFWrl1.js")),
|
|
8220
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-CJotgTAb.js")),
|
|
8221
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DLqVxB0x.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-Co87rHVo.js")),
|
|
12761
12761
|
style: {
|
|
12762
12762
|
width: "80%",
|
|
12763
12763
|
height: "80%",
|
|
@@ -14499,7 +14499,16 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14499
14499
|
setup(__props) {
|
|
14500
14500
|
const pageBuilder = usePageBuilderEditor();
|
|
14501
14501
|
const tree = ref(null);
|
|
14502
|
-
|
|
14502
|
+
onMounted(() => {
|
|
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
|
+
});
|
|
14503
14512
|
const page = computed(() => pageBuilder.model.rootPart.children || []);
|
|
14504
14513
|
let savedPartSelection = null;
|
|
14505
14514
|
const treeDragAndDropPolicy = {
|
|
@@ -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-BAf5rCS3.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -14500,7 +14500,16 @@ ${_html.style}
|
|
|
14500
14500
|
setup(__props) {
|
|
14501
14501
|
const pageBuilder = usePageBuilderEditor();
|
|
14502
14502
|
const tree = vue.ref(null);
|
|
14503
|
-
vue.
|
|
14503
|
+
vue.onMounted(() => {
|
|
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
|
+
});
|
|
14504
14513
|
const page = vue.computed(() => pageBuilder.model.rootPart.children || []);
|
|
14505
14514
|
let savedPartSelection = null;
|
|
14506
14515
|
const treeDragAndDropPolicy = {
|
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.66",
|
|
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.66"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.12.7",
|