@g1cloud/page-builder-editor 1.0.0-alpha.59 → 1.0.0-alpha.60

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-B_Pvt4al.js";
3
+ import { P as PbColorPicker } from "./index-CSLr4i8b.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, createTextVNode, defineAsyncComponent } from "vue";
2
2
  import { useModal, vT } from "@g1cloud/bluesea";
3
- import { u as usePageBuilderEditor } from "./index-B_Pvt4al.js";
3
+ import { u as usePageBuilderEditor } from "./index-CSLr4i8b.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,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-B_Pvt4al.js";
2
+ import { u as usePageBuilderEditor, C as ChangePropertyCommand } from "./index-CSLr4i8b.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-B_Pvt4al.js";
3
+ import { u as usePageBuilderEditor } from "./index-CSLr4i8b.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-B_Pvt4al.js";
3
+ import { u as usePageBuilderEditor } from "./index-CSLr4i8b.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-B_Pvt4al.js";
3
+ import { s as selectYoutubeVideo } from "./index-CSLr4i8b.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-B_Pvt4al.js";
3
+ import { w as widgetPartDefinitions } from "./index-CSLr4i8b.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"];
@@ -7342,13 +7342,17 @@ const defaultPartDefinitions = {
7342
7342
  partName: "YoutubeWidget",
7343
7343
  className: "pb-youtube-widget",
7344
7344
  creator: () => _sfc_main$4$1
7345
- },
7346
- "ContainerWidget": {
7347
- partType: "Widget",
7348
- partName: "ContainerWidget",
7349
- className: "pb-container-widget",
7350
- creator: () => _sfc_main$4$1
7351
7345
  }
7346
+ /*
7347
+ * BSP에서 사용안함
7348
+ *
7349
+ 'ContainerWidget': {
7350
+ partType: 'Widget',
7351
+ partName: 'ContainerWidget',
7352
+ className: 'pb-container-widget',
7353
+ creator: () => PbContainerWidget
7354
+ },
7355
+ */
7352
7356
  };
7353
7357
  const PAGE_BUILDER_KEY = "PageBuilder";
7354
7358
  const PAGE_BUILDER_VIEWER_KEY = "PageBuilderViewer";
@@ -7374,7 +7378,7 @@ class PageBuilderViewerImpl {
7374
7378
  plugin.widgets.forEach((v) => {
7375
7379
  const w = { ...v };
7376
7380
  w.partType = "Widget";
7377
- w.creator = () => _sfc_main$r;
7381
+ w.creator = () => _sfc_main$q;
7378
7382
  partDefinitions$1[v.partName] = w;
7379
7383
  });
7380
7384
  }
@@ -7606,7 +7610,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
7606
7610
  };
7607
7611
  }
7608
7612
  });
7609
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
7613
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
7610
7614
  __name: "PbCustomWidget",
7611
7615
  props: {
7612
7616
  part: {},
@@ -8206,15 +8210,15 @@ class PartManager {
8206
8210
  const defaultPartPropertyEditors = () => {
8207
8211
  return {
8208
8212
  "readonly-text": () => defineAsyncComponent(() => import("./PbPropertyEditorReadonlyText-BJ5qx69O.js")),
8209
- "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-DzXCAZtU.js")),
8213
+ "text": () => defineAsyncComponent(() => import("./PbPropertyEditorText-B_ZEAlMz.js")),
8210
8214
  "number": () => defineAsyncComponent(() => import("./PbPropertyEditorNumber-B76ArSb5.js")),
8211
8215
  "boolean": () => defineAsyncComponent(() => import("./PbPropertyEditorBoolean-c5CNiTpt.js")),
8212
- "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-BGQUnY2p.js")),
8216
+ "multiline-text": () => defineAsyncComponent(() => import("./PbPropertyEditorMultilineText-B5-0rW_W.js")),
8213
8217
  "select": () => defineAsyncComponent(() => import("./PbPropertyEditorSelect-B5sfulvx.js")),
8214
- "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-yxTUPVwo.js")),
8215
- "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-s2pj4vjF.js")),
8216
- "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-BjTENWC9.js")),
8217
- "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-DgTDJLnB.js"))
8218
+ "color": () => defineAsyncComponent(() => import("./PbPropertyEditorColor-ecbXEcYN.js")),
8219
+ "image": () => defineAsyncComponent(() => import("./PbPropertyEditorImage-BrP5jFP2.js")),
8220
+ "html": () => defineAsyncComponent(() => import("./PbPropertyEditorHtml-CN43bcbD.js")),
8221
+ "youtube": () => defineAsyncComponent(() => import("./PbPropertyEditorYoutube-CYWYEZe0.js"))
8218
8222
  };
8219
8223
  };
8220
8224
  const getPropertyValueOfParts = (parts, propertyName) => {
@@ -8463,7 +8467,7 @@ const _export_sfc = (sfc, props) => {
8463
8467
  }
8464
8468
  return target;
8465
8469
  };
8466
- const _sfc_main$q = {};
8470
+ const _sfc_main$p = {};
8467
8471
  const _hoisted_1$t = { class: "pb-add-widget-button" };
8468
8472
  function _sfc_render$1(_ctx, _cache) {
8469
8473
  return openBlock(), createElementBlock("div", _hoisted_1$t, [
@@ -8475,7 +8479,7 @@ function _sfc_render$1(_ctx, _cache) {
8475
8479
  ]))
8476
8480
  ]);
8477
8481
  }
8478
- const PbAddWidgetButton = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$1]]);
8482
+ const PbAddWidgetButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
8479
8483
  const MOUSE_TRACKER_KEY = "mouseTracker";
8480
8484
  const MOUSE_TRACKER_NOT_FOUND = "MouseTracker not found";
8481
8485
  class MouseTracker {
@@ -8509,7 +8513,7 @@ const _hoisted_2$h = {
8509
8513
  class: "invalid-widget",
8510
8514
  textContent: "Invalid Widget"
8511
8515
  };
8512
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
8516
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8513
8517
  __name: "PbWidget",
8514
8518
  props: {
8515
8519
  part: {},
@@ -8953,7 +8957,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
8953
8957
  }
8954
8958
  });
8955
8959
  const _hoisted_1$r = ["data-part-id"];
8956
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
8960
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8957
8961
  __name: "PbBlock",
8958
8962
  props: {
8959
8963
  part: {},
@@ -9144,7 +9148,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9144
9148
  onAddWidget: addWidget
9145
9149
  })) : createCommentVNode("", true),
9146
9150
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.part.children, (child) => {
9147
- return openBlock(), createBlock$1(_sfc_main$p, {
9151
+ return openBlock(), createBlock$1(_sfc_main$o, {
9148
9152
  key: child.partId,
9149
9153
  part: child
9150
9154
  }, null, 8, ["part"]);
@@ -9157,7 +9161,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9157
9161
  }
9158
9162
  });
9159
9163
  const _hoisted_1$q = { class: "pb-block" };
9160
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
9164
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9161
9165
  __name: "PbLoginDepart",
9162
9166
  props: {
9163
9167
  part: {}
@@ -9178,7 +9182,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9178
9182
  }
9179
9183
  });
9180
9184
  const _hoisted_1$p = ["data-part-id"];
9181
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
9185
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
9182
9186
  __name: "PbSection",
9183
9187
  props: {
9184
9188
  part: {},
@@ -9289,13 +9293,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9289
9293
  style: (_a = _ctx.part.properties) == null ? void 0 : _a.css
9290
9294
  }, properties.value), [
9291
9295
  ((_b = _ctx.part.properties) == null ? void 0 : _b.sectionType) === "static" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
9292
- ((_c = _ctx.part.properties) == null ? void 0 : _c.name) === "Login Design Part" ? (openBlock(), createBlock$1(_sfc_main$n, {
9296
+ ((_c = _ctx.part.properties) == null ? void 0 : _c.name) === "Login Design Part" ? (openBlock(), createBlock$1(_sfc_main$m, {
9293
9297
  key: 0,
9294
9298
  part: _ctx.part
9295
9299
  }, null, 8, ["part"])) : createCommentVNode("", true)
9296
9300
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
9297
9301
  _ctx.part.children && _ctx.part.children.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (block) => {
9298
- return openBlock(), createBlock$1(_sfc_main$o, {
9302
+ return openBlock(), createBlock$1(_sfc_main$n, {
9299
9303
  key: block.partId,
9300
9304
  "is-mobile-page": _ctx.isMobilePage,
9301
9305
  part: block
@@ -9320,7 +9324,7 @@ const _hoisted_5$7 = { class: "bg-gray-100 py-5 rounded-8" };
9320
9324
  const _hoisted_6$7 = { class: "text-center" };
9321
9325
  const _hoisted_7$6 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
9322
9326
  const _hoisted_8$6 = { class: "text-center" };
9323
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
9327
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9324
9328
  __name: "PbPropertyGroupEditorPosition",
9325
9329
  props: {
9326
9330
  group: {},
@@ -9410,7 +9414,7 @@ const _hoisted_7$5 = { class: "flex-grow-1 bs-layout-horizontal" };
9410
9414
  const _hoisted_8$5 = { class: "flex-align-center mt-12" };
9411
9415
  const _hoisted_9$2 = { class: "title" };
9412
9416
  const _hoisted_10$2 = { class: "flex-grow-1 bs-layout-horizontal" };
9413
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
9417
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
9414
9418
  __name: "PbPropertyGroupEditorSize",
9415
9419
  props: {
9416
9420
  group: {},
@@ -11356,7 +11360,7 @@ styleInject(css_248z);
11356
11360
  script.render = render;
11357
11361
  script.__file = "src/components/sketch/sketch.vue";
11358
11362
  script.install = install;
11359
- const _sfc_main$j = defineComponent({
11363
+ const _sfc_main$i = defineComponent({
11360
11364
  name: "PbColorPicker",
11361
11365
  components: {
11362
11366
  Sketch: script
@@ -11453,14 +11457,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11453
11457
  [_directive_click_outside, () => _ctx.toggle(false)]
11454
11458
  ]);
11455
11459
  }
11456
- const PbColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render]]);
11460
+ const PbColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render]]);
11457
11461
  const _hoisted_1$g = { class: "group-editor group-editor-background" };
11458
11462
  const _hoisted_2$8 = { class: "flex-align-center" };
11459
11463
  const _hoisted_3$5 = { class: "title" };
11460
11464
  const _hoisted_4$4 = { class: "bs-layout-horizontal" };
11461
11465
  const _hoisted_5$4 = { class: "color" };
11462
11466
  const _hoisted_6$4 = { class: "image" };
11463
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
11467
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11464
11468
  __name: "PbPropertyGroupEditorBackground",
11465
11469
  props: {
11466
11470
  group: {},
@@ -11551,7 +11555,7 @@ const _hoisted_16 = { class: "flex-grow-1 mt-4" };
11551
11555
  const _hoisted_17 = { class: "bg-gray-100 py-5 rounded-8" };
11552
11556
  const _hoisted_18 = { class: "" };
11553
11557
  const _hoisted_19 = { class: "mt-2" };
11554
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
11558
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
11555
11559
  __name: "PbPropertyGroupEditorBorder",
11556
11560
  props: {
11557
11561
  group: {},
@@ -11727,7 +11731,7 @@ const _hoisted_5$2 = { class: "bg-gray-100 py-5 rounded-8" };
11727
11731
  const _hoisted_6$2 = { class: "text-center" };
11728
11732
  const _hoisted_7$2 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
11729
11733
  const _hoisted_8$2 = { class: "text-center" };
11730
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
11734
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
11731
11735
  __name: "PbPropertyGroupEditorMargin",
11732
11736
  props: {
11733
11737
  group: {},
@@ -11815,7 +11819,7 @@ const _hoisted_5$1 = { class: "bg-gray-100 py-5 rounded-8" };
11815
11819
  const _hoisted_6$1 = { class: "text-center" };
11816
11820
  const _hoisted_7$1 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
11817
11821
  const _hoisted_8$1 = { class: "text-center" };
11818
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
11822
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
11819
11823
  __name: "PbPropertyGroupEditorPadding",
11820
11824
  props: {
11821
11825
  group: {},
@@ -11921,7 +11925,7 @@ const positionGroup = () => {
11921
11925
  propertyType: "text"
11922
11926
  }
11923
11927
  ],
11924
- propertyGroupEditor: () => _sfc_main$l
11928
+ propertyGroupEditor: () => _sfc_main$k
11925
11929
  };
11926
11930
  };
11927
11931
  const sizeGroup = () => {
@@ -11960,7 +11964,7 @@ const sizeGroup = () => {
11960
11964
  propertyType: "text"
11961
11965
  }
11962
11966
  ],
11963
- propertyGroupEditor: () => _sfc_main$k
11967
+ propertyGroupEditor: () => _sfc_main$j
11964
11968
  };
11965
11969
  };
11966
11970
  const marginGroup = () => {
@@ -11989,7 +11993,7 @@ const marginGroup = () => {
11989
11993
  propertyType: "text"
11990
11994
  }
11991
11995
  ],
11992
- propertyGroupEditor: () => _sfc_main$g
11996
+ propertyGroupEditor: () => _sfc_main$f
11993
11997
  };
11994
11998
  };
11995
11999
  const paddingGroup = () => {
@@ -12018,7 +12022,7 @@ const paddingGroup = () => {
12018
12022
  propertyType: "text"
12019
12023
  }
12020
12024
  ],
12021
- propertyGroupEditor: () => _sfc_main$f
12025
+ propertyGroupEditor: () => _sfc_main$e
12022
12026
  };
12023
12027
  };
12024
12028
  const commonGroup = () => {
@@ -12154,7 +12158,7 @@ const backgroundGroup = () => {
12154
12158
  propertyType: "image"
12155
12159
  }
12156
12160
  ],
12157
- propertyGroupEditor: () => _sfc_main$i
12161
+ propertyGroupEditor: () => _sfc_main$h
12158
12162
  };
12159
12163
  };
12160
12164
  const borderGroup = () => {
@@ -12208,7 +12212,7 @@ const borderGroup = () => {
12208
12212
  propertyType: "text"
12209
12213
  }
12210
12214
  ],
12211
- propertyGroupEditor: () => _sfc_main$h
12215
+ propertyGroupEditor: () => _sfc_main$g
12212
12216
  };
12213
12217
  };
12214
12218
  const hideParentGroup = () => {
@@ -12230,35 +12234,6 @@ const defaultPropertyGroups = () => {
12230
12234
  const defaultWidgetPropertyGroups = () => {
12231
12235
  return [alignSelfGroup(), positionGroup(), sizeGroup(), marginGroup(), paddingGroup(), borderGroup(), backgroundGroup(), commonGroup(), hideParentGroup()];
12232
12236
  };
12233
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
12234
- __name: "PbContainerWidget",
12235
- props: {
12236
- part: {},
12237
- placeholder: { type: Boolean }
12238
- },
12239
- setup(__props) {
12240
- const pageBuilder = usePageBuilderEditor();
12241
- const addWidget = () => {
12242
- pageBuilder.commandRegistry.executeCommand(OpenAddWidgetModalCommand.COMMAND_ID);
12243
- };
12244
- return (_ctx, _cache) => {
12245
- var _a;
12246
- return openBlock(), createElementBlock(Fragment, null, [
12247
- _ctx.part.children ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.part.children, (child) => {
12248
- return openBlock(), createBlock$1(_sfc_main$p, {
12249
- key: child.partId,
12250
- "is-mobile-page": false,
12251
- part: child
12252
- }, null, 8, ["part"]);
12253
- }), 128)) : createCommentVNode("", true),
12254
- !_ctx.part.children || ((_a = _ctx.part.children) == null ? void 0 : _a.length) === 0 ? (openBlock(), createBlock$1(PbAddWidgetButton, {
12255
- key: 1,
12256
- onAddWidget: addWidget
12257
- })) : createCommentVNode("", true)
12258
- ], 64);
12259
- };
12260
- }
12261
- });
12262
12237
  const _hoisted_1$c = { class: "group-editor group-editor-media" };
12263
12238
  const _hoisted_2$4 = { class: "title" };
12264
12239
  const _hoisted_3$1 = {
@@ -12441,7 +12416,7 @@ const pageParts = [
12441
12416
  alignItems: "center"
12442
12417
  },
12443
12418
  allowsChild: () => true,
12444
- creator: () => _sfc_main$m
12419
+ creator: () => _sfc_main$l
12445
12420
  }
12446
12421
  ];
12447
12422
  const sectionParts = [
@@ -12460,7 +12435,7 @@ const sectionParts = [
12460
12435
  justifyContent: "start"
12461
12436
  },
12462
12437
  allowsChild: () => true,
12463
- creator: () => _sfc_main$m
12438
+ creator: () => _sfc_main$l
12464
12439
  }
12465
12440
  ];
12466
12441
  const blockParts = [
@@ -12479,7 +12454,7 @@ const blockParts = [
12479
12454
  justifyContent: "start"
12480
12455
  },
12481
12456
  allowsChild: () => true,
12482
- creator: () => _sfc_main$o
12457
+ creator: () => _sfc_main$n
12483
12458
  }
12484
12459
  ];
12485
12460
  const widgets = [
@@ -12672,27 +12647,31 @@ const widgets = [
12672
12647
  },
12673
12648
  allowsChild: () => false,
12674
12649
  creator: () => _sfc_main$4$1
12675
- },
12650
+ }
12651
+ /*
12652
+ * BSP에서 사용안함
12653
+ *
12676
12654
  {
12677
- partType: "Widget",
12678
- partName: "ContainerWidget",
12679
- caption: "Container",
12680
- icon: "widgets",
12681
- className: "pb-container-widget",
12655
+ partType: 'Widget',
12656
+ partName: 'ContainerWidget',
12657
+ caption: 'Container',
12658
+ icon: 'widgets',
12659
+ className: 'pb-container-widget',
12682
12660
  propertyGroups: [
12683
12661
  {
12684
- groupName: "Container",
12685
- caption: "Container",
12686
- properties: []
12662
+ groupName: 'Container',
12663
+ caption: 'Container',
12664
+ properties: [],
12687
12665
  },
12688
12666
  ...defaultWidgetPropertyGroups()
12689
12667
  ],
12690
12668
  initialProperties: {
12691
- height: "300px"
12669
+ height: '300px'
12692
12670
  },
12693
12671
  allowsChild: () => true,
12694
- creator: () => _sfc_main$e
12695
- }
12672
+ creator: () => PbContainerWidget
12673
+ },
12674
+ */
12696
12675
  ];
12697
12676
  const partDefinitions = {};
12698
12677
  for (const part of pageParts) {
@@ -12778,7 +12757,7 @@ __publicField(_OpenAddWidgetModalCommand, "COMMAND_ID", "OpenAddWidgetModal");
12778
12757
  let OpenAddWidgetModalCommand = _OpenAddWidgetModalCommand;
12779
12758
  const openWidgetAddModal = (modal, args, callback) => {
12780
12759
  modal.openModal({
12781
- component: defineAsyncComponent(() => import("./PbWidgetAddModal-oXOvER0a.js")),
12760
+ component: defineAsyncComponent(() => import("./PbWidgetAddModal-CDxfMi_c.js")),
12782
12761
  style: {
12783
12762
  width: "80%",
12784
12763
  height: "80%",
@@ -14103,7 +14082,7 @@ class PageBuilderEditorImpl {
14103
14082
  group.partDefinitions.forEach((part) => {
14104
14083
  const p = { ...part };
14105
14084
  p.partType = "Widget";
14106
- p.creator = () => _sfc_main$r;
14085
+ p.creator = () => _sfc_main$q;
14107
14086
  p.propertyGroups = [...p.propertyGroups, ...defaultWidgetPropertyGroups()];
14108
14087
  partDefinitions2[p.partName] = p;
14109
14088
  g.partDefinitions.push(p);
@@ -14191,6 +14170,7 @@ class PageBuilderEditorImpl {
14191
14170
  this.model.updateModel(param);
14192
14171
  this.initialized = true;
14193
14172
  this.model.undoManager.clear();
14173
+ this.context.setSelection([]);
14194
14174
  }
14195
14175
  undo() {
14196
14176
  this.model.undoManager.undo();
@@ -14876,7 +14856,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14876
14856
  style: normalizeStyle(contentStyle.value)
14877
14857
  }, [
14878
14858
  (openBlock(true), createElementBlock(Fragment, null, renderList((_b = _ctx.part) == null ? void 0 : _b.children, (section, index) => {
14879
- return openBlock(), createBlock$1(_sfc_main$m, {
14859
+ return openBlock(), createBlock$1(_sfc_main$l, {
14880
14860
  key: section.partId,
14881
14861
  "is-mobile-page": _ctx.isMobilePage,
14882
14862
  part: section
@@ -16477,7 +16457,7 @@ export {
16477
16457
  _sfc_main$2$1 as f,
16478
16458
  Part as g,
16479
16459
  _sfc_main$1$1 as h,
16480
- _sfc_main$r as i,
16460
+ _sfc_main$q as i,
16481
16461
  _sfc_main$6$1 as j,
16482
16462
  _sfc_main$5$1 as k,
16483
16463
  _sfc_main$8$1 as l,
@@ -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, t, v, x, y, z, A, D } from "./index-B_Pvt4al.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, t, v, x, y, z, A, D } from "./index-CSLr4i8b.js";
2
2
  export {
3
3
  B as BLOCK_TYPE,
4
4
  b as Block,
@@ -7343,13 +7343,17 @@ ${_html.style}
7343
7343
  partName: "YoutubeWidget",
7344
7344
  className: "pb-youtube-widget",
7345
7345
  creator: () => _sfc_main$4$1
7346
- },
7347
- "ContainerWidget": {
7348
- partType: "Widget",
7349
- partName: "ContainerWidget",
7350
- className: "pb-container-widget",
7351
- creator: () => _sfc_main$4$1
7352
7346
  }
7347
+ /*
7348
+ * BSP에서 사용안함
7349
+ *
7350
+ 'ContainerWidget': {
7351
+ partType: 'Widget',
7352
+ partName: 'ContainerWidget',
7353
+ className: 'pb-container-widget',
7354
+ creator: () => PbContainerWidget
7355
+ },
7356
+ */
7353
7357
  };
7354
7358
  const PAGE_BUILDER_KEY = "PageBuilder";
7355
7359
  const PAGE_BUILDER_VIEWER_KEY = "PageBuilderViewer";
@@ -7375,7 +7379,7 @@ ${_html.style}
7375
7379
  plugin.widgets.forEach((v) => {
7376
7380
  const w = { ...v };
7377
7381
  w.partType = "Widget";
7378
- w.creator = () => _sfc_main$F;
7382
+ w.creator = () => _sfc_main$E;
7379
7383
  partDefinitions$1[v.partName] = w;
7380
7384
  });
7381
7385
  }
@@ -7607,7 +7611,7 @@ ${_html.style}
7607
7611
  };
7608
7612
  }
7609
7613
  });
7610
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7614
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7611
7615
  __name: "PbCustomWidget",
7612
7616
  props: {
7613
7617
  part: {},
@@ -8464,7 +8468,7 @@ ${_html.style}
8464
8468
  }
8465
8469
  return target;
8466
8470
  };
8467
- const _sfc_main$E = {};
8471
+ const _sfc_main$D = {};
8468
8472
  const _hoisted_1$H = { class: "pb-add-widget-button" };
8469
8473
  function _sfc_render$1(_ctx, _cache) {
8470
8474
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
@@ -8476,7 +8480,7 @@ ${_html.style}
8476
8480
  ]))
8477
8481
  ]);
8478
8482
  }
8479
- const PbAddWidgetButton = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$1]]);
8483
+ const PbAddWidgetButton = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$1]]);
8480
8484
  const MOUSE_TRACKER_KEY = "mouseTracker";
8481
8485
  const MOUSE_TRACKER_NOT_FOUND = "MouseTracker not found";
8482
8486
  class MouseTracker {
@@ -8510,7 +8514,7 @@ ${_html.style}
8510
8514
  class: "invalid-widget",
8511
8515
  textContent: "Invalid Widget"
8512
8516
  };
8513
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
8517
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
8514
8518
  __name: "PbWidget",
8515
8519
  props: {
8516
8520
  part: {},
@@ -8954,7 +8958,7 @@ ${_html.style}
8954
8958
  }
8955
8959
  });
8956
8960
  const _hoisted_1$F = ["data-part-id"];
8957
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
8961
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
8958
8962
  __name: "PbBlock",
8959
8963
  props: {
8960
8964
  part: {},
@@ -9145,7 +9149,7 @@ ${_html.style}
9145
9149
  onAddWidget: addWidget
9146
9150
  })) : vue.createCommentVNode("", true),
9147
9151
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.part.children, (child) => {
9148
- return vue.openBlock(), vue.createBlock(_sfc_main$D, {
9152
+ return vue.openBlock(), vue.createBlock(_sfc_main$C, {
9149
9153
  key: child.partId,
9150
9154
  part: child
9151
9155
  }, null, 8, ["part"]);
@@ -9158,7 +9162,7 @@ ${_html.style}
9158
9162
  }
9159
9163
  });
9160
9164
  const _hoisted_1$E = { class: "pb-block" };
9161
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
9165
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
9162
9166
  __name: "PbLoginDepart",
9163
9167
  props: {
9164
9168
  part: {}
@@ -9179,7 +9183,7 @@ ${_html.style}
9179
9183
  }
9180
9184
  });
9181
9185
  const _hoisted_1$D = ["data-part-id"];
9182
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
9186
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
9183
9187
  __name: "PbSection",
9184
9188
  props: {
9185
9189
  part: {},
@@ -9290,13 +9294,13 @@ ${_html.style}
9290
9294
  style: (_a = _ctx.part.properties) == null ? void 0 : _a.css
9291
9295
  }, properties.value), [
9292
9296
  ((_b = _ctx.part.properties) == null ? void 0 : _b.sectionType) === "static" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
9293
- ((_c = _ctx.part.properties) == null ? void 0 : _c.name) === "Login Design Part" ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
9297
+ ((_c = _ctx.part.properties) == null ? void 0 : _c.name) === "Login Design Part" ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
9294
9298
  key: 0,
9295
9299
  part: _ctx.part
9296
9300
  }, null, 8, ["part"])) : vue.createCommentVNode("", true)
9297
9301
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
9298
9302
  _ctx.part.children && _ctx.part.children.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (block) => {
9299
- return vue.openBlock(), vue.createBlock(_sfc_main$C, {
9303
+ return vue.openBlock(), vue.createBlock(_sfc_main$B, {
9300
9304
  key: block.partId,
9301
9305
  "is-mobile-page": _ctx.isMobilePage,
9302
9306
  part: block
@@ -9321,7 +9325,7 @@ ${_html.style}
9321
9325
  const _hoisted_6$9 = { class: "text-center" };
9322
9326
  const _hoisted_7$8 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
9323
9327
  const _hoisted_8$7 = { class: "text-center" };
9324
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
9328
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
9325
9329
  __name: "PbPropertyGroupEditorPosition",
9326
9330
  props: {
9327
9331
  group: {},
@@ -9411,7 +9415,7 @@ ${_html.style}
9411
9415
  const _hoisted_8$6 = { class: "flex-align-center mt-12" };
9412
9416
  const _hoisted_9$3 = { class: "title" };
9413
9417
  const _hoisted_10$3 = { class: "flex-grow-1 bs-layout-horizontal" };
9414
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
9418
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
9415
9419
  __name: "PbPropertyGroupEditorSize",
9416
9420
  props: {
9417
9421
  group: {},
@@ -11357,7 +11361,7 @@ ${_html.style}
11357
11361
  script.render = render;
11358
11362
  script.__file = "src/components/sketch/sketch.vue";
11359
11363
  script.install = install;
11360
- const _sfc_main$x = vue.defineComponent({
11364
+ const _sfc_main$w = vue.defineComponent({
11361
11365
  name: "PbColorPicker",
11362
11366
  components: {
11363
11367
  Sketch: script
@@ -11454,14 +11458,14 @@ ${_html.style}
11454
11458
  [_directive_click_outside, () => _ctx.toggle(false)]
11455
11459
  ]);
11456
11460
  }
11457
- const PbColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render]]);
11461
+ const PbColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render]]);
11458
11462
  const _hoisted_1$u = { class: "group-editor group-editor-background" };
11459
11463
  const _hoisted_2$l = { class: "flex-align-center" };
11460
11464
  const _hoisted_3$c = { class: "title" };
11461
11465
  const _hoisted_4$8 = { class: "bs-layout-horizontal" };
11462
11466
  const _hoisted_5$7 = { class: "color" };
11463
11467
  const _hoisted_6$6 = { class: "image" };
11464
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11468
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11465
11469
  __name: "PbPropertyGroupEditorBackground",
11466
11470
  props: {
11467
11471
  group: {},
@@ -11552,7 +11556,7 @@ ${_html.style}
11552
11556
  const _hoisted_17 = { class: "bg-gray-100 py-5 rounded-8" };
11553
11557
  const _hoisted_18 = { class: "" };
11554
11558
  const _hoisted_19 = { class: "mt-2" };
11555
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11559
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11556
11560
  __name: "PbPropertyGroupEditorBorder",
11557
11561
  props: {
11558
11562
  group: {},
@@ -11728,7 +11732,7 @@ ${_html.style}
11728
11732
  const _hoisted_6$4 = { class: "text-center" };
11729
11733
  const _hoisted_7$4 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
11730
11734
  const _hoisted_8$3 = { class: "text-center" };
11731
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11735
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11732
11736
  __name: "PbPropertyGroupEditorMargin",
11733
11737
  props: {
11734
11738
  group: {},
@@ -11816,7 +11820,7 @@ ${_html.style}
11816
11820
  const _hoisted_6$3 = { class: "text-center" };
11817
11821
  const _hoisted_7$3 = { class: "bs-layout-horizontal justify-content-center align-items-center" };
11818
11822
  const _hoisted_8$2 = { class: "text-center" };
11819
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11823
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11820
11824
  __name: "PbPropertyGroupEditorPadding",
11821
11825
  props: {
11822
11826
  group: {},
@@ -11922,7 +11926,7 @@ ${_html.style}
11922
11926
  propertyType: "text"
11923
11927
  }
11924
11928
  ],
11925
- propertyGroupEditor: () => _sfc_main$z
11929
+ propertyGroupEditor: () => _sfc_main$y
11926
11930
  };
11927
11931
  };
11928
11932
  const sizeGroup = () => {
@@ -11961,7 +11965,7 @@ ${_html.style}
11961
11965
  propertyType: "text"
11962
11966
  }
11963
11967
  ],
11964
- propertyGroupEditor: () => _sfc_main$y
11968
+ propertyGroupEditor: () => _sfc_main$x
11965
11969
  };
11966
11970
  };
11967
11971
  const marginGroup = () => {
@@ -11990,7 +11994,7 @@ ${_html.style}
11990
11994
  propertyType: "text"
11991
11995
  }
11992
11996
  ],
11993
- propertyGroupEditor: () => _sfc_main$u
11997
+ propertyGroupEditor: () => _sfc_main$t
11994
11998
  };
11995
11999
  };
11996
12000
  const paddingGroup = () => {
@@ -12019,7 +12023,7 @@ ${_html.style}
12019
12023
  propertyType: "text"
12020
12024
  }
12021
12025
  ],
12022
- propertyGroupEditor: () => _sfc_main$t
12026
+ propertyGroupEditor: () => _sfc_main$s
12023
12027
  };
12024
12028
  };
12025
12029
  const commonGroup = () => {
@@ -12155,7 +12159,7 @@ ${_html.style}
12155
12159
  propertyType: "image"
12156
12160
  }
12157
12161
  ],
12158
- propertyGroupEditor: () => _sfc_main$w
12162
+ propertyGroupEditor: () => _sfc_main$v
12159
12163
  };
12160
12164
  };
12161
12165
  const borderGroup = () => {
@@ -12209,7 +12213,7 @@ ${_html.style}
12209
12213
  propertyType: "text"
12210
12214
  }
12211
12215
  ],
12212
- propertyGroupEditor: () => _sfc_main$v
12216
+ propertyGroupEditor: () => _sfc_main$u
12213
12217
  };
12214
12218
  };
12215
12219
  const hideParentGroup = () => {
@@ -12231,35 +12235,6 @@ ${_html.style}
12231
12235
  const defaultWidgetPropertyGroups = () => {
12232
12236
  return [alignSelfGroup(), positionGroup(), sizeGroup(), marginGroup(), paddingGroup(), borderGroup(), backgroundGroup(), commonGroup(), hideParentGroup()];
12233
12237
  };
12234
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
12235
- __name: "PbContainerWidget",
12236
- props: {
12237
- part: {},
12238
- placeholder: { type: Boolean }
12239
- },
12240
- setup(__props) {
12241
- const pageBuilder = usePageBuilderEditor();
12242
- const addWidget = () => {
12243
- pageBuilder.commandRegistry.executeCommand(OpenAddWidgetModalCommand.COMMAND_ID);
12244
- };
12245
- return (_ctx, _cache) => {
12246
- var _a;
12247
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
12248
- _ctx.part.children ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.part.children, (child) => {
12249
- return vue.openBlock(), vue.createBlock(_sfc_main$D, {
12250
- key: child.partId,
12251
- "is-mobile-page": false,
12252
- part: child
12253
- }, null, 8, ["part"]);
12254
- }), 128)) : vue.createCommentVNode("", true),
12255
- !_ctx.part.children || ((_a = _ctx.part.children) == null ? void 0 : _a.length) === 0 ? (vue.openBlock(), vue.createBlock(PbAddWidgetButton, {
12256
- key: 1,
12257
- onAddWidget: addWidget
12258
- })) : vue.createCommentVNode("", true)
12259
- ], 64);
12260
- };
12261
- }
12262
- });
12263
12238
  const _hoisted_1$q = { class: "group-editor group-editor-media" };
12264
12239
  const _hoisted_2$h = { class: "title" };
12265
12240
  const _hoisted_3$8 = {
@@ -12442,7 +12417,7 @@ ${_html.style}
12442
12417
  alignItems: "center"
12443
12418
  },
12444
12419
  allowsChild: () => true,
12445
- creator: () => _sfc_main$A
12420
+ creator: () => _sfc_main$z
12446
12421
  }
12447
12422
  ];
12448
12423
  const sectionParts = [
@@ -12461,7 +12436,7 @@ ${_html.style}
12461
12436
  justifyContent: "start"
12462
12437
  },
12463
12438
  allowsChild: () => true,
12464
- creator: () => _sfc_main$A
12439
+ creator: () => _sfc_main$z
12465
12440
  }
12466
12441
  ];
12467
12442
  const blockParts = [
@@ -12480,7 +12455,7 @@ ${_html.style}
12480
12455
  justifyContent: "start"
12481
12456
  },
12482
12457
  allowsChild: () => true,
12483
- creator: () => _sfc_main$C
12458
+ creator: () => _sfc_main$B
12484
12459
  }
12485
12460
  ];
12486
12461
  const widgets = [
@@ -12673,27 +12648,31 @@ ${_html.style}
12673
12648
  },
12674
12649
  allowsChild: () => false,
12675
12650
  creator: () => _sfc_main$4$1
12676
- },
12651
+ }
12652
+ /*
12653
+ * BSP에서 사용안함
12654
+ *
12677
12655
  {
12678
- partType: "Widget",
12679
- partName: "ContainerWidget",
12680
- caption: "Container",
12681
- icon: "widgets",
12682
- className: "pb-container-widget",
12656
+ partType: 'Widget',
12657
+ partName: 'ContainerWidget',
12658
+ caption: 'Container',
12659
+ icon: 'widgets',
12660
+ className: 'pb-container-widget',
12683
12661
  propertyGroups: [
12684
12662
  {
12685
- groupName: "Container",
12686
- caption: "Container",
12687
- properties: []
12663
+ groupName: 'Container',
12664
+ caption: 'Container',
12665
+ properties: [],
12688
12666
  },
12689
12667
  ...defaultWidgetPropertyGroups()
12690
12668
  ],
12691
12669
  initialProperties: {
12692
- height: "300px"
12670
+ height: '300px'
12693
12671
  },
12694
12672
  allowsChild: () => true,
12695
- creator: () => _sfc_main$s
12696
- }
12673
+ creator: () => PbContainerWidget
12674
+ },
12675
+ */
12697
12676
  ];
12698
12677
  const partDefinitions = {};
12699
12678
  for (const part of pageParts) {
@@ -14104,7 +14083,7 @@ ${_html.style}
14104
14083
  group.partDefinitions.forEach((part) => {
14105
14084
  const p = { ...part };
14106
14085
  p.partType = "Widget";
14107
- p.creator = () => _sfc_main$F;
14086
+ p.creator = () => _sfc_main$E;
14108
14087
  p.propertyGroups = [...p.propertyGroups, ...defaultWidgetPropertyGroups()];
14109
14088
  partDefinitions2[p.partName] = p;
14110
14089
  g.partDefinitions.push(p);
@@ -14192,6 +14171,7 @@ ${_html.style}
14192
14171
  this.model.updateModel(param);
14193
14172
  this.initialized = true;
14194
14173
  this.model.undoManager.clear();
14174
+ this.context.setSelection([]);
14195
14175
  }
14196
14176
  undo() {
14197
14177
  this.model.undoManager.undo();
@@ -14877,7 +14857,7 @@ ${_html.style}
14877
14857
  style: vue.normalizeStyle(contentStyle.value)
14878
14858
  }, [
14879
14859
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = _ctx.part) == null ? void 0 : _b.children, (section, index) => {
14880
- return vue.openBlock(), vue.createBlock(_sfc_main$A, {
14860
+ return vue.openBlock(), vue.createBlock(_sfc_main$z, {
14881
14861
  key: section.partId,
14882
14862
  "is-mobile-page": _ctx.isMobilePage,
14883
14863
  part: section
@@ -17401,7 +17381,7 @@ ${_html.tags}` : "";
17401
17381
  exports2.PageBuilderViewer = _sfc_main$2$1;
17402
17382
  exports2.Part = Part;
17403
17383
  exports2.PbContainerWidget = _sfc_main$1$1;
17404
- exports2.PbCustomWidget = _sfc_main$F;
17384
+ exports2.PbCustomWidget = _sfc_main$E;
17405
17385
  exports2.PbHtmlWidget = _sfc_main$6$1;
17406
17386
  exports2.PbIframeWidget = _sfc_main$5$1;
17407
17387
  exports2.PbMediaWidget = _sfc_main$8$1;
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.59",
4
+ "version": "1.0.0-alpha.60",
5
5
  "engins": {
6
6
  "node": ">= 20.0.0"
7
7
  },
@@ -30,7 +30,7 @@
30
30
  "vue-router": "^4.4.3",
31
31
  "vue3-click-away": "^1.2.4",
32
32
  "yjs": "^13.6.14",
33
- "@g1cloud/page-builder-viewer": "1.0.0-alpha.59"
33
+ "@g1cloud/page-builder-viewer": "1.0.0-alpha.60"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^20.12.7",
@@ -1,19 +0,0 @@
1
- import { IPart } from '@g1cloud/page-builder-viewer';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- part: IPart;
5
- placeholder?: boolean | undefined;
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- part: IPart;
8
- placeholder?: boolean | undefined;
9
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
- export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };