@g1cloud/page-builder-editor 1.0.0-alpha.92 → 1.0.0-alpha.94
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-C50t8sK7.js → PbPropertyEditorColor-BJIPuFIG.js} +1 -1
- package/dist/{PbPropertyEditorCssLength-BFWU-ySt.js → PbPropertyEditorCssLength-SWXNaj8Q.js} +1 -1
- package/dist/{PbPropertyEditorHtml-VL8HtKGb.js → PbPropertyEditorHtml-C25Y6-uJ.js} +1 -1
- package/dist/{PbPropertyEditorImage-DpgO4tVs.js → PbPropertyEditorImage-BRD5ahTb.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-DMBS1a7P.js → PbPropertyEditorMultilineText-DDVhx18s.js} +1 -1
- package/dist/{PbPropertyEditorText-Clss82Du.js → PbPropertyEditorText-BI05T_YR.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-B6Lmr4k5.js → PbPropertyEditorYoutube-fyBB8Lx1.js} +1 -1
- package/dist/{PbWidgetAddModal-BlxH-g-r.js → PbWidgetAddModal-DlXGtrmX.js} +1 -1
- package/dist/{index-BU6dS8qI.js → index-0U_Z6NaR.js} +11 -10
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +3 -2
- 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-0U_Z6NaR.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" };
|
package/dist/{PbPropertyEditorCssLength-BFWU-ySt.js → PbPropertyEditorCssLength-SWXNaj8Q.js}
RENAMED
|
@@ -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 { t as toCssLength } from "./index-
|
|
3
|
+
import { t as toCssLength } from "./index-0U_Z6NaR.js";
|
|
4
4
|
const _hoisted_1 = { class: "property-editor property-editor-number 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, 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-0U_Z6NaR.js";
|
|
4
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({
|
|
@@ -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-0U_Z6NaR.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-DMBS1a7P.js → PbPropertyEditorMultilineText-DDVhx18s.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-0U_Z6NaR.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-0U_Z6NaR.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-0U_Z6NaR.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-0U_Z6NaR.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"];
|
|
@@ -6892,9 +6892,10 @@ const _sfc_main$b$1 = /* @__PURE__ */ defineComponent({
|
|
|
6892
6892
|
const emit = __emit;
|
|
6893
6893
|
const visible = ref(true);
|
|
6894
6894
|
const updateVisible = (value) => {
|
|
6895
|
-
var _a;
|
|
6895
|
+
var _a, _b;
|
|
6896
6896
|
visible.value = value;
|
|
6897
|
-
|
|
6897
|
+
const hideParentWhenInvisible = ((_a = props.part.properties) == null ? void 0 : _a.hideParentWhenInvisible) === true || ((_b = props.part.properties) == null ? void 0 : _b.hideParentWhenInvisible) === "true";
|
|
6898
|
+
emit("update:visible", value, hideParentWhenInvisible);
|
|
6898
6899
|
};
|
|
6899
6900
|
const classNames = computed(() => [getPartClassName(props.part), props.part.getClassNames()]);
|
|
6900
6901
|
const style = computed(() => ({
|
|
@@ -8559,16 +8560,16 @@ class PartManager {
|
|
|
8559
8560
|
const defaultPartPropertyEditors = () => {
|
|
8560
8561
|
return {
|
|
8561
8562
|
"readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
|
|
8562
|
-
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-
|
|
8563
|
+
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-BI05T_YR.js")),
|
|
8563
8564
|
"number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
|
|
8564
8565
|
"boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
|
|
8565
|
-
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-
|
|
8566
|
+
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-DDVhx18s.js")),
|
|
8566
8567
|
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
|
|
8567
|
-
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-
|
|
8568
|
-
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-
|
|
8569
|
-
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-
|
|
8570
|
-
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-
|
|
8571
|
-
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-
|
|
8568
|
+
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-SWXNaj8Q.js")),
|
|
8569
|
+
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-BJIPuFIG.js")),
|
|
8570
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-BRD5ahTb.js")),
|
|
8571
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-C25Y6-uJ.js")),
|
|
8572
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-fyBB8Lx1.js"))
|
|
8572
8573
|
};
|
|
8573
8574
|
};
|
|
8574
8575
|
const getPropertyValueOfParts = (parts, propertyName) => {
|
|
@@ -13309,7 +13310,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
|
|
|
13309
13310
|
let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
|
|
13310
13311
|
const openWidgetAddModal = (modal, args, callback) => {
|
|
13311
13312
|
modal.openModal({
|
|
13312
|
-
component: defineAsyncComponent(() => import("./PbWidgetAddModal-
|
|
13313
|
+
component: defineAsyncComponent(() => import("./PbWidgetAddModal-DlXGtrmX.js")),
|
|
13313
13314
|
style: {
|
|
13314
13315
|
width: "80%",
|
|
13315
13316
|
height: "80%",
|
|
@@ -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, v, x, y, z, A, D, E } 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, v, x, y, z, A, D, E } from "./index-0U_Z6NaR.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -6893,9 +6893,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
6893
6893
|
const emit = __emit;
|
|
6894
6894
|
const visible = vue.ref(true);
|
|
6895
6895
|
const updateVisible = (value) => {
|
|
6896
|
-
var _a;
|
|
6896
|
+
var _a, _b;
|
|
6897
6897
|
visible.value = value;
|
|
6898
|
-
|
|
6898
|
+
const hideParentWhenInvisible = ((_a = props.part.properties) == null ? void 0 : _a.hideParentWhenInvisible) === true || ((_b = props.part.properties) == null ? void 0 : _b.hideParentWhenInvisible) === "true";
|
|
6899
|
+
emit("update:visible", value, hideParentWhenInvisible);
|
|
6899
6900
|
};
|
|
6900
6901
|
const classNames = vue.computed(() => [getPartClassName(props.part), props.part.getClassNames()]);
|
|
6901
6902
|
const style = vue.computed(() => ({
|
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.94",
|
|
5
5
|
"engins": {
|
|
6
6
|
"node": ">= 20.0.0"
|
|
7
7
|
},
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"author": "zag@g1project.net",
|
|
18
18
|
"license": "LicenseRef-LICENSE",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@g1cloud/bluesea": "5.0.0-
|
|
20
|
+
"@g1cloud/bluesea": "5.0.0-beta.3",
|
|
21
21
|
"vue3-youtube": "^0.1.9"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vue-router": "^4.4.3",
|
|
32
32
|
"vue3-click-away": "^1.2.4",
|
|
33
33
|
"yjs": "^13.6.14",
|
|
34
|
-
"@g1cloud/page-builder-viewer": "1.0.0-alpha.
|
|
34
|
+
"@g1cloud/page-builder-viewer": "1.0.0-alpha.94"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^20.12.7",
|