@bluepic/embed 0.1.136 → 0.1.138

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.
@@ -96879,7 +96879,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_re
96879
96879
  createVNode(BxButton, {
96880
96880
  secondary: "",
96881
96881
  loading: (jn.value || unref(Yi)) && zn.value === void 0,
96882
- disabled: jn.value || unref(Yi)
96882
+ disabled: jn.value || unref(Yi) || !ne.value
96883
96883
  }, {
96884
96884
  icon: withCtx(() => [
96885
96885
  zn.value !== void 0 ? (openBlock(), createBlock(CircularProgress, {
@@ -97445,7 +97445,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_re
97445
97445
  ])
97446
97446
  ], 2));
97447
97447
  }
97448
- }), BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_10197507_lang = "", BluepicEmbeddedEditor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-10197507"]]), _hoisted_1$a = { class: "collection-field-popup" }, _sfc_main$e = /* @__PURE__ */ defineComponent({
97448
+ }), BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_5bdf4a3f_lang = "", BluepicEmbeddedEditor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5bdf4a3f"]]), _hoisted_1$a = { class: "collection-field-popup" }, _sfc_main$e = /* @__PURE__ */ defineComponent({
97449
97449
  __name: "CollectionFieldPopup",
97450
97450
  props: /* @__PURE__ */ mergeModels({
97451
97451
  layout: {},
@@ -100490,19 +100490,20 @@ class BluepicEmbed extends EventTarget {
100490
100490
  #${c} .fade-spinner-leave-to {
100491
100491
  opacity: 0;
100492
100492
  }
100493
+ #${c} > div {
100494
+ border: 1px solid var(--bluepic-app-border-color);
100495
+ overflow: hidden;
100496
+ border-radius: var(--bluepic-app-border-radius);
100497
+ margin: 30px auto;
100498
+ box-sizing: border-box;
100499
+ max-width: calc(100vw - 40px);
100500
+ max-height: calc(100vh - 40px);
100501
+ }
100493
100502
  #${c} {
100494
- > div {
100495
- border: 1px solid var(--bluepic-app-border-color);
100496
- overflow: hidden;
100497
- border-radius: var(--bluepic-app-border-radius);
100498
- margin: 30px auto;
100499
- box-sizing: border-box;
100500
- max-width: calc(100vw - 40px);
100501
- max-height: calc(100vh - 40px);
100502
- }
100503
+ height: 100%;
100503
100504
  }
100504
100505
  `, document.head.appendChild(ie), this.element.innerHTML = `
100505
- <div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="">
100506
+ <div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="" :class="{ \`layout-\${embedProject?.config.layout}\`: true }">
100506
100507
  <div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : 'calc(100% - 40px)', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
100507
100508
  <bluepic-embedded-editor
100508
100509
  v-if="templateId"