@g1cloud/page-builder-editor 1.0.0-alpha.88 → 1.0.0-alpha.89

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-DUYDGuPh.js";
3
+ import { P as PbColorPicker } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { t as toCssLength } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { u as usePageBuilderEditor } from "./index-BMmTgFTs.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-DUYDGuPh.js";
2
+ import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { u as usePageBuilderEditor } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { u as usePageBuilderEditor } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { s as selectYoutubeVideo } from "./index-BMmTgFTs.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-DUYDGuPh.js";
3
+ import { w as widgetPartDefinitions } from "./index-BMmTgFTs.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"];
@@ -7002,24 +7002,22 @@ const _sfc_main$a$1 = /* @__PURE__ */ defineComponent({
7002
7002
  removeStyleTag();
7003
7003
  });
7004
7004
  return (_ctx, _cache) => {
7005
- return withDirectives((openBlock(), createElementBlock("template", null, [
7006
- (openBlock(), createBlock$1(resolveDynamicComponent(tag.value), {
7007
- class: normalizeClass(classNames.value),
7008
- "data-part-id": _ctx.part.partId,
7009
- style: normalizeStyle(style.value)
7010
- }, {
7011
- default: withCtx(() => [
7012
- _ctx.part.children && _ctx.part.children.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (child) => {
7013
- return openBlock(), createBlock$1(_sfc_main$b$1, {
7014
- key: child.partId,
7015
- part: child,
7016
- "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7017
- }, null, 8, ["part"]);
7018
- }), 128)) : createCommentVNode("", true)
7019
- ]),
7020
- _: 1
7021
- }, 8, ["class", "data-part-id", "style"]))
7022
- ], 512)), [
7005
+ return withDirectives((openBlock(), createBlock$1(resolveDynamicComponent(tag.value), {
7006
+ class: normalizeClass(classNames.value),
7007
+ "data-part-id": _ctx.part.partId,
7008
+ style: normalizeStyle(style.value)
7009
+ }, {
7010
+ default: withCtx(() => [
7011
+ _ctx.part.children && _ctx.part.children.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (child) => {
7012
+ return openBlock(), createBlock$1(_sfc_main$b$1, {
7013
+ key: child.partId,
7014
+ part: child,
7015
+ "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7016
+ }, null, 8, ["part"]);
7017
+ }), 128)) : createCommentVNode("", true)
7018
+ ]),
7019
+ _: 1
7020
+ }, 8, ["class", "data-part-id", "style"])), [
7023
7021
  [vShow, visible.value]
7024
7022
  ]);
7025
7023
  };
@@ -7078,25 +7076,23 @@ const _sfc_main$9$1 = /* @__PURE__ */ defineComponent({
7078
7076
  removeStyleTag();
7079
7077
  });
7080
7078
  return (_ctx, _cache) => {
7081
- return withDirectives((openBlock(), createElementBlock("template", null, [
7082
- (openBlock(), createBlock$1(resolveDynamicComponent(tag.value), {
7083
- class: normalizeClass(classNames.value),
7084
- "data-part-id": _ctx.part.partId,
7085
- style: normalizeStyle(style.value)
7086
- }, {
7087
- default: withCtx(() => [
7088
- _ctx.part.children && _ctx.part.children.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (child) => {
7089
- return openBlock(), createBlock$1(_sfc_main$a$1, {
7090
- key: child.partId,
7091
- "is-mobile-page": _ctx.isMobilePage,
7092
- part: child,
7093
- "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7094
- }, null, 8, ["is-mobile-page", "part"]);
7095
- }), 128)) : createCommentVNode("", true)
7096
- ]),
7097
- _: 1
7098
- }, 8, ["class", "data-part-id", "style"]))
7099
- ], 512)), [
7079
+ return withDirectives((openBlock(), createBlock$1(resolveDynamicComponent(tag.value), {
7080
+ class: normalizeClass(classNames.value),
7081
+ "data-part-id": _ctx.part.partId,
7082
+ style: normalizeStyle(style.value)
7083
+ }, {
7084
+ default: withCtx(() => [
7085
+ _ctx.part.children && _ctx.part.children.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (child) => {
7086
+ return openBlock(), createBlock$1(_sfc_main$a$1, {
7087
+ key: child.partId,
7088
+ "is-mobile-page": _ctx.isMobilePage,
7089
+ part: child,
7090
+ "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7091
+ }, null, 8, ["is-mobile-page", "part"]);
7092
+ }), 128)) : createCommentVNode("", true)
7093
+ ]),
7094
+ _: 1
7095
+ }, 8, ["class", "data-part-id", "style"])), [
7100
7096
  [vShow, visible.value]
7101
7097
  ]);
7102
7098
  };
@@ -8506,16 +8502,16 @@ class PartManager {
8506
8502
  const defaultPartPropertyEditors = () => {
8507
8503
  return {
8508
8504
  "readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
8509
- "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-DnMxWwDQ.js")),
8505
+ "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-m-3a8SCn.js")),
8510
8506
  "number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
8511
8507
  "boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
8512
- "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-Cin44mTy.js")),
8508
+ "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-DN65aoYn.js")),
8513
8509
  "select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
8514
- "css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-DBNTbWi_.js")),
8515
- "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-C59bCD27.js")),
8516
- "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-DmakSvWs.js")),
8517
- "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-D8Mn6FNE.js")),
8518
- "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DfRViDLo.js"))
8510
+ "css-length": () => defineAsyncComponent(() => import("./PbPropertyEditorCssLength-DK8skXh9.js")),
8511
+ "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-B-jrHxiq.js")),
8512
+ "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-CzTbfsnI.js")),
8513
+ "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-CRfpz6rQ.js")),
8514
+ "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-BlCOiRCh.js"))
8519
8515
  };
8520
8516
  };
8521
8517
  const getPropertyValueOfParts = (parts, propertyName) => {
@@ -13224,7 +13220,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
13224
13220
  let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
13225
13221
  const openWidgetAddModal = (modal, args, callback) => {
13226
13222
  modal.openModal({
13227
- component: defineAsyncComponent(() => import("./PbWidgetAddModal-BtkQzPFR.js")),
13223
+ component: defineAsyncComponent(() => import("./PbWidgetAddModal-5UHKpA-8.js")),
13228
13224
  style: {
13229
13225
  width: "80%",
13230
13226
  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-DUYDGuPh.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-BMmTgFTs.js";
2
2
  export {
3
3
  B as BLOCK_TYPE,
4
4
  b as Block,
@@ -7003,24 +7003,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7003
7003
  removeStyleTag();
7004
7004
  });
7005
7005
  return (_ctx, _cache) => {
7006
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("template", null, [
7007
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tag.value), {
7008
- class: vue.normalizeClass(classNames.value),
7009
- "data-part-id": _ctx.part.partId,
7010
- style: vue.normalizeStyle(style.value)
7011
- }, {
7012
- default: vue.withCtx(() => [
7013
- _ctx.part.children && _ctx.part.children.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (child) => {
7014
- return vue.openBlock(), vue.createBlock(_sfc_main$b$1, {
7015
- key: child.partId,
7016
- part: child,
7017
- "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7018
- }, null, 8, ["part"]);
7019
- }), 128)) : vue.createCommentVNode("", true)
7020
- ]),
7021
- _: 1
7022
- }, 8, ["class", "data-part-id", "style"]))
7023
- ], 512)), [
7006
+ return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tag.value), {
7007
+ class: vue.normalizeClass(classNames.value),
7008
+ "data-part-id": _ctx.part.partId,
7009
+ style: vue.normalizeStyle(style.value)
7010
+ }, {
7011
+ default: vue.withCtx(() => [
7012
+ _ctx.part.children && _ctx.part.children.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (child) => {
7013
+ return vue.openBlock(), vue.createBlock(_sfc_main$b$1, {
7014
+ key: child.partId,
7015
+ part: child,
7016
+ "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7017
+ }, null, 8, ["part"]);
7018
+ }), 128)) : vue.createCommentVNode("", true)
7019
+ ]),
7020
+ _: 1
7021
+ }, 8, ["class", "data-part-id", "style"])), [
7024
7022
  [vue.vShow, visible.value]
7025
7023
  ]);
7026
7024
  };
@@ -7079,25 +7077,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7079
7077
  removeStyleTag();
7080
7078
  });
7081
7079
  return (_ctx, _cache) => {
7082
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("template", null, [
7083
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tag.value), {
7084
- class: vue.normalizeClass(classNames.value),
7085
- "data-part-id": _ctx.part.partId,
7086
- style: vue.normalizeStyle(style.value)
7087
- }, {
7088
- default: vue.withCtx(() => [
7089
- _ctx.part.children && _ctx.part.children.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (child) => {
7090
- return vue.openBlock(), vue.createBlock(_sfc_main$a$1, {
7091
- key: child.partId,
7092
- "is-mobile-page": _ctx.isMobilePage,
7093
- part: child,
7094
- "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7095
- }, null, 8, ["is-mobile-page", "part"]);
7096
- }), 128)) : vue.createCommentVNode("", true)
7097
- ]),
7098
- _: 1
7099
- }, 8, ["class", "data-part-id", "style"]))
7100
- ], 512)), [
7080
+ return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tag.value), {
7081
+ class: vue.normalizeClass(classNames.value),
7082
+ "data-part-id": _ctx.part.partId,
7083
+ style: vue.normalizeStyle(style.value)
7084
+ }, {
7085
+ default: vue.withCtx(() => [
7086
+ _ctx.part.children && _ctx.part.children.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (child) => {
7087
+ return vue.openBlock(), vue.createBlock(_sfc_main$a$1, {
7088
+ key: child.partId,
7089
+ "is-mobile-page": _ctx.isMobilePage,
7090
+ part: child,
7091
+ "onUpdate:visible": _cache[0] || (_cache[0] = (value, hideParentWhenInvisible) => updateVisible(value, hideParentWhenInvisible))
7092
+ }, null, 8, ["is-mobile-page", "part"]);
7093
+ }), 128)) : vue.createCommentVNode("", true)
7094
+ ]),
7095
+ _: 1
7096
+ }, 8, ["class", "data-part-id", "style"])), [
7101
7097
  [vue.vShow, visible.value]
7102
7098
  ]);
7103
7099
  };
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.88",
4
+ "version": "1.0.0-alpha.89",
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.88"
34
+ "@g1cloud/page-builder-viewer": "1.0.0-alpha.89"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.12.7",