@bluepic/embed 0.2.4 → 0.2.6

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.
@@ -97512,37 +97512,37 @@ function _sfc_render$2(m, c) {
97512
97512
  const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$2]]), _hoisted_1$d = {
97513
97513
  key: 0,
97514
97514
  class: "nav-wrapper"
97515
- }, _hoisted_2$a = {
97515
+ }, _hoisted_2$a = { class: "back-btn-wrapper" }, _hoisted_3$8 = {
97516
97516
  key: 0,
97517
97517
  class: "branding"
97518
- }, _hoisted_3$8 = { class: "logo" }, _hoisted_4$6 = { class: "actions" }, _hoisted_5$5 = { class: "editor-inner" }, _hoisted_6$2 = {
97518
+ }, _hoisted_4$6 = { class: "logo" }, _hoisted_5$5 = { class: "actions" }, _hoisted_6$2 = { class: "editor-inner" }, _hoisted_7$2 = {
97519
97519
  key: 0,
97520
97520
  class: "view-desktop"
97521
- }, _hoisted_7$2 = { class: "fields-view" }, _hoisted_8$2 = {
97521
+ }, _hoisted_8$2 = { class: "fields-view" }, _hoisted_9$2 = {
97522
97522
  key: 0,
97523
97523
  class: "slides-nav-wrapper"
97524
- }, _hoisted_9$2 = {
97524
+ }, _hoisted_10$2 = {
97525
97525
  key: 1,
97526
97526
  class: "form-extra-wrapper"
97527
- }, _hoisted_10$2 = { class: "time-meta-wrapper" }, _hoisted_11$2 = { class: "play-controls" }, _hoisted_12$1 = { class: "live-view-inner" }, _hoisted_13$1 = ["src"], _hoisted_14$1 = ["src"], _hoisted_15$1 = { class: "time-meta-wrapper" }, _hoisted_16$1 = { class: "play-controls" }, _hoisted_17 = { class: "form-extra-wrapper" }, _hoisted_18 = ["src"], _hoisted_19 = {
97527
+ }, _hoisted_11$2 = { class: "time-meta-wrapper" }, _hoisted_12$1 = { class: "play-controls" }, _hoisted_13$1 = { class: "live-view-inner" }, _hoisted_14$1 = ["src"], _hoisted_15$1 = ["src"], _hoisted_16$1 = { class: "time-meta-wrapper" }, _hoisted_17 = { class: "play-controls" }, _hoisted_18 = { class: "form-extra-wrapper" }, _hoisted_19 = ["src"], _hoisted_20 = {
97528
97528
  key: 0,
97529
97529
  class: "timeline-wrapper"
97530
- }, _hoisted_20 = { class: "time-meta-wrapper" }, _hoisted_21 = { class: "play-controls" }, _hoisted_22 = { class: "fields-view" }, _hoisted_23 = {
97530
+ }, _hoisted_21 = { class: "time-meta-wrapper" }, _hoisted_22 = { class: "play-controls" }, _hoisted_23 = { class: "fields-view" }, _hoisted_24 = {
97531
97531
  key: 0,
97532
97532
  class: "slides-nav-wrapper"
97533
- }, _hoisted_24 = {
97533
+ }, _hoisted_25 = {
97534
97534
  key: 1,
97535
97535
  class: "form-extra-wrapper"
97536
- }, _hoisted_25 = { class: "stack-nav-wrapper" }, _hoisted_26 = {
97536
+ }, _hoisted_26 = { class: "stack-nav-wrapper" }, _hoisted_27 = {
97537
97537
  key: 0,
97538
97538
  class: "branding"
97539
- }, _hoisted_27 = { class: "logo" }, _hoisted_28 = { class: "actions" }, _hoisted_29 = {
97539
+ }, _hoisted_28 = { class: "logo" }, _hoisted_29 = { class: "actions" }, _hoisted_30 = {
97540
97540
  key: 3,
97541
97541
  class: "view-kiosk"
97542
- }, _hoisted_30 = { class: "kiosk-field-wrapper" }, _hoisted_31 = {
97542
+ }, _hoisted_31 = { class: "kiosk-field-wrapper" }, _hoisted_32 = {
97543
97543
  key: 0,
97544
97544
  class: "navigation-view"
97545
- }, _hoisted_32 = { class: "toolbar" }, _sfc_main$h = /* @__PURE__ */ defineComponent({
97545
+ }, _hoisted_33 = { class: "toolbar" }, _sfc_main$h = /* @__PURE__ */ defineComponent({
97546
97546
  __name: "BluepicEmbeddedEditor",
97547
97547
  props: /* @__PURE__ */ mergeModels({
97548
97548
  data: {},
@@ -97824,7 +97824,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97824
97824
  class: normalizeClass(["bluepic-embedded-editor", { "display-mode-stack": Wr.value === "stack" }])
97825
97825
  }, [
97826
97826
  Wr.value !== "stack" && vn.showNavBar ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
97827
- vn.branding ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
97827
+ createElementVNode("div", _hoisted_2$a, [
97828
97828
  vn.showBackBtn ? (openBlock(), createElementBlock("button", {
97829
97829
  key: 0,
97830
97830
  class: "btn-nav-back",
@@ -97836,12 +97836,14 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97836
97836
  ]),
97837
97837
  _: 1
97838
97838
  })
97839
- ])) : createCommentVNode("", !0),
97839
+ ])) : createCommentVNode("", !0)
97840
+ ]),
97841
+ vn.branding ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
97840
97842
  createElementVNode("div", {
97841
97843
  class: "branding-wrapper",
97842
97844
  onClick: ao
97843
97845
  }, [
97844
- createElementVNode("div", _hoisted_3$8, [
97846
+ createElementVNode("div", _hoisted_4$6, [
97845
97847
  createVNode(BluepicLogo)
97846
97848
  ]),
97847
97849
  dn[23] || (dn[23] = createElementVNode("div", { class: "content" }, [
@@ -97850,7 +97852,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97850
97852
  ], -1))
97851
97853
  ])
97852
97854
  ])) : createCommentVNode("", !0),
97853
- createElementVNode("div", _hoisted_4$6, [
97855
+ createElementVNode("div", _hoisted_5$5, [
97854
97856
  On.value.length >= 2 ? (openBlock(), createBlock(BxDropdown, {
97855
97857
  key: 0,
97856
97858
  options: On.value,
@@ -97909,10 +97911,10 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97909
97911
  }, 8, ["loading", "disabled"])) : createCommentVNode("", !0)
97910
97912
  ])
97911
97913
  ])) : createCommentVNode("", !0),
97912
- createElementVNode("div", _hoisted_5$5, [
97913
- Wr.value === "desktop" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
97914
- createElementVNode("div", _hoisted_7$2, [
97915
- ii.value && Jr.value ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
97914
+ createElementVNode("div", _hoisted_6$2, [
97915
+ Wr.value === "desktop" ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
97916
+ createElementVNode("div", _hoisted_8$2, [
97917
+ ii.value && Jr.value ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
97916
97918
  createVNode(SlidesNavigation, {
97917
97919
  length: _i.value,
97918
97920
  index: Jr.value,
@@ -97920,7 +97922,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97920
97922
  }, null, 8, ["length", "index"])
97921
97923
  ])) : createCommentVNode("", !0),
97922
97924
  createVNode(_sfc_main$r, { fields: Nr.value }, null, 8, ["fields"]),
97923
- Di["form-extra"] ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
97925
+ Di["form-extra"] ? (openBlock(), createElementBlock("div", _hoisted_10$2, [
97924
97926
  renderSlot(vn.$slots, "form-extra", {}, void 0, !0)
97925
97927
  ])) : createCommentVNode("", !0)
97926
97928
  ]),
@@ -97933,7 +97935,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97933
97935
  ref: rr,
97934
97936
  class: "timeline-wrapper"
97935
97937
  }, [
97936
- createElementVNode("div", _hoisted_10$2, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
97938
+ createElementVNode("div", _hoisted_11$2, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
97937
97939
  createVNode(BxSlider, {
97938
97940
  modelValue: tn.value,
97939
97941
  "onUpdate:modelValue": dn[3] || (dn[3] = ($n) => tn.value = $n),
@@ -97941,7 +97943,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97941
97943
  step: Ji.value,
97942
97944
  max: pn.value.duration ?? 120
97943
97945
  }, null, 8, ["modelValue", "step", "max"]),
97944
- createElementVNode("div", _hoisted_11$2, [
97946
+ createElementVNode("div", _hoisted_12$1, [
97945
97947
  createElementVNode("button", null, [
97946
97948
  createVNode(BxIcon, null, {
97947
97949
  default: withCtx(() => [
@@ -97968,7 +97970,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97968
97970
  ])
97969
97971
  ])
97970
97972
  ], 512)) : createCommentVNode("", !0),
97971
- createElementVNode("div", _hoisted_12$1, [
97973
+ createElementVNode("div", _hoisted_13$1, [
97972
97974
  createVNode(Transition, { name: "ghost-loading-preview-image-fade" }, {
97973
97975
  default: withCtx(() => [
97974
97976
  vn.baseSerial && !ne.value ? (openBlock(), createElementBlock("div", {
@@ -97986,7 +97988,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97986
97988
  createElementVNode("img", {
97987
97989
  src: vn.preview ? unref(optimizePreviewUrl)(vn.preview, 200) : unref(getTemplatePreviewUrl)(kr.value, { embedApiBaseUrl: vn.embedApiBaseUrl, env: vn.env }),
97988
97990
  onLoad: li
97989
- }, null, 40, _hoisted_13$1),
97991
+ }, null, 40, _hoisted_14$1),
97990
97992
  createElementVNode("div", {
97991
97993
  class: normalizeClass(["skeleton", { "overlays-image": fi.value }])
97992
97994
  }, null, 2)
@@ -98041,7 +98043,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98041
98043
  createElementVNode("img", {
98042
98044
  src: vn.preview ? unref(optimizePreviewUrl)(vn.preview, 200) : unref(getTemplatePreviewUrl)(kr.value, { embedApiBaseUrl: vn.embedApiBaseUrl, env: vn.env }),
98043
98045
  onLoad: li
98044
- }, null, 40, _hoisted_14$1),
98046
+ }, null, 40, _hoisted_15$1),
98045
98047
  createElementVNode("div", {
98046
98048
  class: normalizeClass(["skeleton", { "overlays-image": fi.value }])
98047
98049
  }, null, 2)
@@ -98082,7 +98084,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98082
98084
  ref: rr,
98083
98085
  class: "timeline-wrapper"
98084
98086
  }, [
98085
- createElementVNode("div", _hoisted_15$1, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
98087
+ createElementVNode("div", _hoisted_16$1, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
98086
98088
  createVNode(BxSlider, {
98087
98089
  modelValue: tn.value,
98088
98090
  "onUpdate:modelValue": dn[10] || (dn[10] = ($n) => tn.value = $n),
@@ -98090,7 +98092,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98090
98092
  step: Ji.value,
98091
98093
  max: pn.value.duration ?? 120
98092
98094
  }, null, 8, ["modelValue", "step", "max"]),
98093
- createElementVNode("div", _hoisted_16$1, [
98095
+ createElementVNode("div", _hoisted_17, [
98094
98096
  createElementVNode("button", null, [
98095
98097
  createVNode(BxIcon, null, {
98096
98098
  default: withCtx(() => [
@@ -98146,7 +98148,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98146
98148
  }, 1024))), 256)),
98147
98149
  Di["form-extra"] ? (openBlock(), createBlock(unref(SwiperSlide), { key: 0 }, {
98148
98150
  default: withCtx(() => [
98149
- createElementVNode("div", _hoisted_17, [
98151
+ createElementVNode("div", _hoisted_18, [
98150
98152
  renderSlot(vn.$slots, "form-extra", {}, void 0, !0)
98151
98153
  ])
98152
98154
  ]),
@@ -98195,7 +98197,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98195
98197
  createElementVNode("img", {
98196
98198
  src: vn.preview ? unref(optimizePreviewUrl)(vn.preview, 200) : unref(getTemplatePreviewUrl)(kr.value, { embedApiBaseUrl: vn.embedApiBaseUrl, env: vn.env }),
98197
98199
  onLoad: li
98198
- }, null, 40, _hoisted_18),
98200
+ }, null, 40, _hoisted_19),
98199
98201
  createElementVNode("div", {
98200
98202
  class: normalizeClass(["skeleton", { "overlays-image": fi.value }])
98201
98203
  }, null, 2)
@@ -98230,8 +98232,8 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98230
98232
  offset: vn.liveViewOffsetStack
98231
98233
  }, null, 8, ["template-id", "embed-api-base-url", "env", "cloudflare-pages-hostname", "bx-core-version", "authorization", "async-serial", "resolution", "webgl", "fonts", "base-serial", "data", "serial", "ready", "watermark", "zoom-and-pan", "scrollbars", "offset"])
98232
98234
  ], 2),
98233
- pn.value?.enabled ? (openBlock(), createElementBlock("div", _hoisted_19, [
98234
- createElementVNode("div", _hoisted_20, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
98235
+ pn.value?.enabled ? (openBlock(), createElementBlock("div", _hoisted_20, [
98236
+ createElementVNode("div", _hoisted_21, toDisplayString(unref(timestampToTimecode)(tn.value * 1e3, ",")) + " / " + toDisplayString(unref(timestampToTimecode)((pn.value.duration ?? 120) * 1e3, ",")), 1),
98235
98237
  createVNode(BxSlider, {
98236
98238
  modelValue: tn.value,
98237
98239
  "onUpdate:modelValue": dn[17] || (dn[17] = ($n) => tn.value = $n),
@@ -98239,7 +98241,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98239
98241
  step: Ji.value,
98240
98242
  max: pn.value.duration ?? 120
98241
98243
  }, null, 8, ["modelValue", "step", "max"]),
98242
- createElementVNode("div", _hoisted_21, [
98244
+ createElementVNode("div", _hoisted_22, [
98243
98245
  createElementVNode("button", null, [
98244
98246
  createVNode(BxIcon, null, {
98245
98247
  default: withCtx(() => [
@@ -98266,8 +98268,8 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98266
98268
  ])
98267
98269
  ])
98268
98270
  ])) : createCommentVNode("", !0),
98269
- createElementVNode("div", _hoisted_22, [
98270
- ii.value && Jr.value ? (openBlock(), createElementBlock("div", _hoisted_23, [
98271
+ createElementVNode("div", _hoisted_23, [
98272
+ ii.value && Jr.value ? (openBlock(), createElementBlock("div", _hoisted_24, [
98271
98273
  createVNode(SlidesNavigation, {
98272
98274
  length: _i.value,
98273
98275
  index: Jr.value,
@@ -98275,17 +98277,17 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98275
98277
  }, null, 8, ["length", "index"])
98276
98278
  ])) : createCommentVNode("", !0),
98277
98279
  createVNode(_sfc_main$r, { fields: Nr.value }, null, 8, ["fields"]),
98278
- Di["form-extra"] ? (openBlock(), createElementBlock("div", _hoisted_24, [
98280
+ Di["form-extra"] ? (openBlock(), createElementBlock("div", _hoisted_25, [
98279
98281
  renderSlot(vn.$slots, "form-extra", {}, void 0, !0)
98280
98282
  ])) : createCommentVNode("", !0)
98281
98283
  ]),
98282
- createElementVNode("div", _hoisted_25, [
98283
- vn.branding ? (openBlock(), createElementBlock("div", _hoisted_26, [
98284
+ createElementVNode("div", _hoisted_26, [
98285
+ vn.branding ? (openBlock(), createElementBlock("div", _hoisted_27, [
98284
98286
  createElementVNode("div", {
98285
98287
  class: "branding-wrapper",
98286
98288
  onClick: ao
98287
98289
  }, [
98288
- createElementVNode("div", _hoisted_27, [
98290
+ createElementVNode("div", _hoisted_28, [
98289
98291
  createVNode(BluepicLogo)
98290
98292
  ]),
98291
98293
  dn[24] || (dn[24] = createElementVNode("div", { class: "content" }, [
@@ -98294,7 +98296,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98294
98296
  ], -1))
98295
98297
  ])
98296
98298
  ])) : createCommentVNode("", !0),
98297
- createElementVNode("div", _hoisted_28, [
98299
+ createElementVNode("div", _hoisted_29, [
98298
98300
  On.value.length >= 2 ? (openBlock(), createBlock(BxDropdown, {
98299
98301
  key: 0,
98300
98302
  options: On.value,
@@ -98353,7 +98355,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98353
98355
  }, 8, ["loading", "disabled"])) : createCommentVNode("", !0)
98354
98356
  ])
98355
98357
  ])
98356
- ])) : (openBlock(), createElementBlock("div", _hoisted_29, [
98358
+ ])) : (openBlock(), createElementBlock("div", _hoisted_30, [
98357
98359
  createElementVNode("div", {
98358
98360
  class: normalizeClass(["live-view", { ready: ne.value }])
98359
98361
  }, [
@@ -98383,7 +98385,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98383
98385
  offset: vn.liveViewOffsetKiosk
98384
98386
  }, {
98385
98387
  matrix: withCtx(({ composePoint: $n }) => [
98386
- createElementVNode("div", _hoisted_30, [
98388
+ createElementVNode("div", _hoisted_31, [
98387
98389
  Ze.value && si.value && br.value ? (openBlock(), createBlock(KioskField, {
98388
98390
  key: 0,
98389
98391
  field: si.value,
@@ -98395,8 +98397,8 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98395
98397
  _: 1
98396
98398
  }, 8, ["template-id", "embed-api-base-url", "env", "cloudflare-pages-hostname", "bx-core-version", "authorization", "async-serial", "resolution", "webgl", "fonts", "data", "serial", "ready", "watermark", "zoom-and-pan", "scrollbars", "offset"])
98397
98399
  ], 2),
98398
- ne.value ? (openBlock(), createElementBlock("div", _hoisted_31, [
98399
- createElementVNode("div", _hoisted_32, [
98400
+ ne.value ? (openBlock(), createElementBlock("div", _hoisted_32, [
98401
+ createElementVNode("div", _hoisted_33, [
98400
98402
  createElementVNode("button", {
98401
98403
  class: normalizeClass(["icon-only", { disabled: !wi.value }]),
98402
98404
  onClick: Mi
@@ -98435,7 +98437,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
98435
98437
  ])
98436
98438
  ], 2));
98437
98439
  }
98438
- }), BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_074530ed_lang = "", BluepicEmbeddedEditor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-074530ed"]]), _hoisted_1$c = { class: "collection-field-popup" }, _sfc_main$g = /* @__PURE__ */ defineComponent({
98440
+ }), BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_62223e55_lang = "", BluepicEmbeddedEditor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-62223e55"]]), _hoisted_1$c = { class: "collection-field-popup" }, _sfc_main$g = /* @__PURE__ */ defineComponent({
98439
98441
  __name: "CollectionFieldPopup",
98440
98442
  props: /* @__PURE__ */ mergeModels({
98441
98443
  layout: {},