@g1cloud/page-builder-editor 1.0.0-alpha.94 → 1.0.0-alpha.95

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.
@@ -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-0U_Z6NaR.js";
3
+ import { P as PbColorPicker } from "./index-B1eN8cQ9.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, createVNode } from "vue";
2
2
  import { vT, BSTextInput } from "@g1cloud/bluesea";
3
- import { t as toCssLength } from "./index-0U_Z6NaR.js";
3
+ import { t as toCssLength } from "./index-B1eN8cQ9.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-0U_Z6NaR.js";
3
+ import { u as usePageBuilderEditor } from "./index-B1eN8cQ9.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-0U_Z6NaR.js";
2
+ import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-B1eN8cQ9.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" };
@@ -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-0U_Z6NaR.js";
3
+ import { u as usePageBuilderEditor } from "./index-B1eN8cQ9.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-0U_Z6NaR.js";
3
+ import { u as usePageBuilderEditor } from "./index-B1eN8cQ9.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-0U_Z6NaR.js";
3
+ import { s as selectYoutubeVideo } from "./index-B1eN8cQ9.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-0U_Z6NaR.js";
3
+ import { w as widgetPartDefinitions } from "./index-B1eN8cQ9.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"];
@@ -7567,6 +7567,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
7567
7567
  isYTReady.value ? (openBlock(), createBlock$1(unref(YouTube), {
7568
7568
  key: 0,
7569
7569
  ref: "youtube",
7570
+ host: "https://www.youtube-nocookie.com",
7570
7571
  src: ((_b = _ctx.part.properties) == null ? void 0 : _b.url) || "",
7571
7572
  style: normalizeStyle(style.value),
7572
7573
  class: "youtube",
@@ -8560,16 +8561,16 @@ class PartManager {
8560
8561
  const defaultPartPropertyEditors = () => {
8561
8562
  return {
8562
8563
  "readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
8563
- "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-BI05T_YR.js")),
8564
+ "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-D8hq-KlF.js")),
8564
8565
  "number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
8565
8566
  "boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
8566
- "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-DDVhx18s.js")),
8567
+ "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-C2rwaj4r.js")),
8567
8568
  "select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
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"))
8569
+ "css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-BKKA6dk_.js")),
8570
+ "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-BiBguem_.js")),
8571
+ "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-C1IQgc0P.js")),
8572
+ "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-CUPmDi2l.js")),
8573
+ "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DkkynkuY.js"))
8573
8574
  };
8574
8575
  };
8575
8576
  const getPropertyValueOfParts = (parts, propertyName) => {
@@ -13310,7 +13311,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
13310
13311
  let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
13311
13312
  const openWidgetAddModal = (modal, args, callback) => {
13312
13313
  modal.openModal({
13313
- component: defineAsyncComponent(() => import("./PbWidgetAddModal-DlXGtrmX.js")),
13314
+ component: defineAsyncComponent(() => import("./PbWidgetAddModal-C125UBym.js")),
13314
13315
  style: {
13315
13316
  width: "80%",
13316
13317
  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-0U_Z6NaR.js";
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-B1eN8cQ9.js";
2
2
  export {
3
3
  B as BLOCK_TYPE,
4
4
  b as Block,
@@ -7568,6 +7568,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7568
7568
  isYTReady.value ? (vue.openBlock(), vue.createBlock(vue.unref(YouTube), {
7569
7569
  key: 0,
7570
7570
  ref: "youtube",
7571
+ host: "https://www.youtube-nocookie.com",
7571
7572
  src: ((_b = _ctx.part.properties) == null ? void 0 : _b.url) || "",
7572
7573
  style: vue.normalizeStyle(style.value),
7573
7574
  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.94",
4
+ "version": "1.0.0-alpha.95",
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.94"
34
+ "@g1cloud/page-builder-viewer": "1.0.0-alpha.95"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.12.7",