@g1cloud/page-builder-editor 1.0.0-alpha.69 → 1.0.0-alpha.70
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/css/page-builder-editor.scss +4 -0
- package/dist/{PbPropertyEditorColor-DT4N6O25.js → PbPropertyEditorColor-BNKJfa-T.js} +1 -1
- package/dist/{PbPropertyEditorHtml-xkNN66LE.js → PbPropertyEditorHtml-CQaImN-U.js} +2 -2
- package/dist/{PbPropertyEditorImage-CZ1AcbI3.js → PbPropertyEditorImage-3icZAidw.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-i3HLEWRu.js → PbPropertyEditorMultilineText-B9-aaBcF.js} +1 -1
- package/dist/{PbPropertyEditorText-DwsrG5_G.js → PbPropertyEditorText-BgQ4kpmo.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-Cd0_dk60.js → PbPropertyEditorYoutube-DoRAsJTL.js} +1 -1
- package/dist/{PbWidgetAddModal-DDhv96Vq.js → PbWidgetAddModal-ChIMw44P.js} +1 -1
- package/dist/{index-CTmYl728.js → index-BPFPSrrb.js} +10 -13
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +4 -7
- package/package.json +3 -3
|
@@ -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-BPFPSrrb.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,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
const _hoisted_1 = { class: "property-editor property-editor-
|
|
3
|
+
import { u as usePageBuilderEditor } from "./index-BPFPSrrb.js";
|
|
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({
|
|
7
7
|
__name: "PbPropertyEditorHtml",
|
|
@@ -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-BPFPSrrb.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-i3HLEWRu.js → PbPropertyEditorMultilineText-B9-aaBcF.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-BPFPSrrb.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-BPFPSrrb.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-BPFPSrrb.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-BPFPSrrb.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-BgQ4kpmo.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-B9-aaBcF.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-BNKJfa-T.js")),
|
|
8219
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-3icZAidw.js")),
|
|
8220
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-CQaImN-U.js")),
|
|
8221
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DoRAsJTL.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-ChIMw44P.js")),
|
|
12761
12761
|
style: {
|
|
12762
12762
|
width: "80%",
|
|
12763
12763
|
height: "80%",
|
|
@@ -14499,7 +14499,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14499
14499
|
setup(__props) {
|
|
14500
14500
|
const pageBuilder = usePageBuilderEditor();
|
|
14501
14501
|
const tree = ref();
|
|
14502
|
-
const treeKey = ref(0);
|
|
14503
14502
|
watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14504
14503
|
const page = computed(() => pageBuilder.model.rootPart.children || []);
|
|
14505
14504
|
let savedPartSelection = null;
|
|
@@ -14622,8 +14621,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14622
14621
|
});
|
|
14623
14622
|
return (_ctx, _cache) => {
|
|
14624
14623
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
14625
|
-
(
|
|
14626
|
-
key: treeKey.value,
|
|
14624
|
+
createElementVNode("div", {
|
|
14627
14625
|
ref_key: "tree",
|
|
14628
14626
|
ref: tree,
|
|
14629
14627
|
class: "pb-navigator",
|
|
@@ -14651,9 +14649,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14651
14649
|
"multi-select": "",
|
|
14652
14650
|
"show-move-button": "",
|
|
14653
14651
|
onRowMoved: rowMoved
|
|
14654
|
-
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14655
|
-
|
|
14656
|
-
]))
|
|
14652
|
+
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14653
|
+
], 512)
|
|
14657
14654
|
]);
|
|
14658
14655
|
};
|
|
14659
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-BPFPSrrb.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -14500,7 +14500,6 @@ ${_html.style}
|
|
|
14500
14500
|
setup(__props) {
|
|
14501
14501
|
const pageBuilder = usePageBuilderEditor();
|
|
14502
14502
|
const tree = vue.ref();
|
|
14503
|
-
const treeKey = vue.ref(0);
|
|
14504
14503
|
vue.watch(() => tree.value, () => tree.value && pageBuilder.keyHandlers.addDocumentKeyEventListener(tree.value));
|
|
14505
14504
|
const page = vue.computed(() => pageBuilder.model.rootPart.children || []);
|
|
14506
14505
|
let savedPartSelection = null;
|
|
@@ -14623,8 +14622,7 @@ ${_html.style}
|
|
|
14623
14622
|
});
|
|
14624
14623
|
return (_ctx, _cache) => {
|
|
14625
14624
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
14626
|
-
|
|
14627
|
-
key: treeKey.value,
|
|
14625
|
+
vue.createElementVNode("div", {
|
|
14628
14626
|
ref_key: "tree",
|
|
14629
14627
|
ref: tree,
|
|
14630
14628
|
class: "pb-navigator",
|
|
@@ -14652,9 +14650,8 @@ ${_html.style}
|
|
|
14652
14650
|
"multi-select": "",
|
|
14653
14651
|
"show-move-button": "",
|
|
14654
14652
|
onRowMoved: rowMoved
|
|
14655
|
-
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14656
|
-
|
|
14657
|
-
]))
|
|
14653
|
+
}, null, 8, ["expandedRows", "selectedRows", "data", "key-provider"])
|
|
14654
|
+
], 512)
|
|
14658
14655
|
]);
|
|
14659
14656
|
};
|
|
14660
14657
|
}
|
|
@@ -16867,7 +16864,7 @@ ${_html.style}
|
|
|
16867
16864
|
__proto__: null,
|
|
16868
16865
|
default: _sfc_main$6
|
|
16869
16866
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16870
|
-
const _hoisted_1$5 = { class: "property-editor property-editor-
|
|
16867
|
+
const _hoisted_1$5 = { class: "property-editor property-editor-html flex-align-center" };
|
|
16871
16868
|
const _hoisted_2$5 = { class: "title" };
|
|
16872
16869
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
16873
16870
|
__name: "PbPropertyEditorHtml",
|
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.70",
|
|
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.95",
|
|
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.70"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.12.7",
|