@g1cloud/page-builder-editor 1.0.0-alpha.86 → 1.0.0-alpha.87

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-BkwtXDoX.js";
3
+ import { P as PbColorPicker } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { t as toCssLength } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { u as usePageBuilderEditor } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
2
+ import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { u as usePageBuilderEditor } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { u as usePageBuilderEditor } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { s as selectYoutubeVideo } from "./index-CKM2TN0Q.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-BkwtXDoX.js";
3
+ import { w as widgetPartDefinitions } from "./index-CKM2TN0Q.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"];
@@ -7483,7 +7483,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
7483
7483
  onMounted(() => {
7484
7484
  const interval = setInterval(() => {
7485
7485
  try {
7486
- if (window && window.YT) {
7486
+ if (window && window.YT && window.YT.Player) {
7487
7487
  isYTReady.value = true;
7488
7488
  clearInterval(interval);
7489
7489
  }
@@ -8481,16 +8481,16 @@ class PartManager {
8481
8481
  const defaultPartPropertyEditors = () => {
8482
8482
  return {
8483
8483
  "readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
8484
- "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-Cyda-rbC.js")),
8484
+ "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-DdZJDy5K.js")),
8485
8485
  "number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
8486
8486
  "boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
8487
- "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-BN5LApj7.js")),
8487
+ "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-2DV3EbNx.js")),
8488
8488
  "select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
8489
- "css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-ikKXiGqc.js")),
8490
- "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-CxViTbzZ.js")),
8491
- "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-Cvg5O3MA.js")),
8492
- "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-rYVGq9kx.js")),
8493
- "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-Bpfon1OQ.js"))
8489
+ "css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-BEUxumJw.js")),
8490
+ "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-DHYODwQa.js")),
8491
+ "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-CkuJ28-N.js")),
8492
+ "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-B1GJNEmo.js")),
8493
+ "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-B7uPo3aW.js"))
8494
8494
  };
8495
8495
  };
8496
8496
  const getPropertyValueOfParts = (parts, propertyName) => {
@@ -13130,7 +13130,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
13130
13130
  let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
13131
13131
  const openWidgetAddModal = (modal, args, callback) => {
13132
13132
  modal.openModal({
13133
- component: defineAsyncComponent(() => import("./PbWidgetAddModal-CDuQIQeL.js")),
13133
+ component: defineAsyncComponent(() => import("./PbWidgetAddModal-BqYB3aeV.js")),
13134
13134
  style: {
13135
13135
  width: "80%",
13136
13136
  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-BkwtXDoX.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-CKM2TN0Q.js";
2
2
  export {
3
3
  B as BLOCK_TYPE,
4
4
  b as Block,
@@ -7484,7 +7484,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7484
7484
  vue.onMounted(() => {
7485
7485
  const interval = setInterval(() => {
7486
7486
  try {
7487
- if (window && window.YT) {
7487
+ if (window && window.YT && window.YT.Player) {
7488
7488
  isYTReady.value = true;
7489
7489
  clearInterval(interval);
7490
7490
  }
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.86",
4
+ "version": "1.0.0-alpha.87",
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.86"
34
+ "@g1cloud/page-builder-viewer": "1.0.0-alpha.87"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.12.7",