@g1cloud/page-builder-editor 1.0.0-alpha.94 → 1.0.0-alpha.96
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-BJIPuFIG.js → PbPropertyEditorColor-CbJ-nhwi.js} +1 -1
- package/dist/{PbPropertyEditorCssLength-SWXNaj8Q.js → PbPropertyEditorCssLength-Di_-TNSV.js} +1 -1
- package/dist/{PbPropertyEditorHtml-C25Y6-uJ.js → PbPropertyEditorHtml-7ckF6FtJ.js} +1 -1
- package/dist/{PbPropertyEditorImage-BRD5ahTb.js → PbPropertyEditorImage-DL6jG71W.js} +1 -1
- package/dist/{PbPropertyEditorMultilineText-DDVhx18s.js → PbPropertyEditorMultilineText-D_QXOpQ-.js} +1 -1
- package/dist/{PbPropertyEditorText-BI05T_YR.js → PbPropertyEditorText-CRii5ReX.js} +1 -1
- package/dist/{PbPropertyEditorYoutube-fyBB8Lx1.js → PbPropertyEditorYoutube-BJ7tl-K6.js} +1 -1
- package/dist/{PbWidgetAddModal-DlXGtrmX.js → PbWidgetAddModal-Y_2_QQY2.js} +1 -1
- package/dist/{index-0U_Z6NaR.js → index-BGT2UpHO.js} +10 -8
- package/dist/page-builder-editor.js +1 -1
- package/dist/page-builder-editor.umd.cjs +2 -0
- 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-BGT2UpHO.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-SWXNaj8Q.js → PbPropertyEditorCssLength-Di_-TNSV.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-BGT2UpHO.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-BGT2UpHO.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-BGT2UpHO.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-DDVhx18s.js → PbPropertyEditorMultilineText-D_QXOpQ-.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-BGT2UpHO.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-BGT2UpHO.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-BGT2UpHO.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-BGT2UpHO.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"];
|
|
@@ -7561,12 +7561,14 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
|
|
|
7561
7561
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7562
7562
|
(openBlock(), createBlock$1(resolveDynamicComponent("script"), {
|
|
7563
7563
|
id: "youtube-iframe-js-api-script",
|
|
7564
|
+
class: "optanon-category-C0004",
|
|
7564
7565
|
src: "https://www.youtube.com/iframe_api"
|
|
7565
7566
|
})),
|
|
7566
7567
|
((_a = _ctx.part.properties) == null ? void 0 : _a.url) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7567
7568
|
isYTReady.value ? (openBlock(), createBlock$1(unref(YouTube), {
|
|
7568
7569
|
key: 0,
|
|
7569
7570
|
ref: "youtube",
|
|
7571
|
+
host: "https://www.youtube-nocookie.com",
|
|
7570
7572
|
src: ((_b = _ctx.part.properties) == null ? void 0 : _b.url) || "",
|
|
7571
7573
|
style: normalizeStyle(style.value),
|
|
7572
7574
|
class: "youtube",
|
|
@@ -8560,16 +8562,16 @@ class PartManager {
|
|
|
8560
8562
|
const defaultPartPropertyEditors = () => {
|
|
8561
8563
|
return {
|
|
8562
8564
|
"readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
|
|
8563
|
-
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-
|
|
8565
|
+
"text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-CRii5ReX.js")),
|
|
8564
8566
|
"number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
|
|
8565
8567
|
"boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
|
|
8566
|
-
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-
|
|
8568
|
+
"multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-D_QXOpQ-.js")),
|
|
8567
8569
|
"select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
|
|
8568
|
-
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-
|
|
8569
|
-
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-
|
|
8570
|
-
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-
|
|
8571
|
-
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-
|
|
8572
|
-
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-
|
|
8570
|
+
"css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-Di_-TNSV.js")),
|
|
8571
|
+
"color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-CbJ-nhwi.js")),
|
|
8572
|
+
"image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-DL6jG71W.js")),
|
|
8573
|
+
"html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-7ckF6FtJ.js")),
|
|
8574
|
+
"youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-BJ7tl-K6.js"))
|
|
8573
8575
|
};
|
|
8574
8576
|
};
|
|
8575
8577
|
const getPropertyValueOfParts = (parts, propertyName) => {
|
|
@@ -13310,7 +13312,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
|
|
|
13310
13312
|
let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
|
|
13311
13313
|
const openWidgetAddModal = (modal, args, callback) => {
|
|
13312
13314
|
modal.openModal({
|
|
13313
|
-
component: defineAsyncComponent(() => import("./PbWidgetAddModal-
|
|
13315
|
+
component: defineAsyncComponent(() => import("./PbWidgetAddModal-Y_2_QQY2.js")),
|
|
13314
13316
|
style: {
|
|
13315
13317
|
width: "80%",
|
|
13316
13318
|
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-BGT2UpHO.js";
|
|
2
2
|
export {
|
|
3
3
|
B as BLOCK_TYPE,
|
|
4
4
|
b as Block,
|
|
@@ -7562,12 +7562,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7562
7562
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
7563
7563
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent("script"), {
|
|
7564
7564
|
id: "youtube-iframe-js-api-script",
|
|
7565
|
+
class: "optanon-category-C0004",
|
|
7565
7566
|
src: "https://www.youtube.com/iframe_api"
|
|
7566
7567
|
})),
|
|
7567
7568
|
((_a = _ctx.part.properties) == null ? void 0 : _a.url) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
7568
7569
|
isYTReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(YouTube), {
|
|
7569
7570
|
key: 0,
|
|
7570
7571
|
ref: "youtube",
|
|
7572
|
+
host: "https://www.youtube-nocookie.com",
|
|
7571
7573
|
src: ((_b = _ctx.part.properties) == null ? void 0 : _b.url) || "",
|
|
7572
7574
|
style: vue.normalizeStyle(style.value),
|
|
7573
7575
|
class: "youtube",
|
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.96",
|
|
5
5
|
"engins": {
|
|
6
6
|
"node": ">= 20.0.0"
|
|
7
7
|
},
|
|
@@ -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.96"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^20.12.7",
|