@evercam/ui 1.0.0-preview-fix-evercam-ui-publish-script-fe11a6a72 → 1.0.0-preview-add-loading-if-webrtc-stream-disconnect-cd8feea30

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.
package/dist/index.mjs CHANGED
@@ -9548,6 +9548,10 @@ const Zi = X0.exports, ir = new Intl.NumberFormat(void 0, {
9548
9548
  type: Boolean,
9549
9549
  default: !1
9550
9550
  },
9551
+ showLoadingAnimation: {
9552
+ type: Boolean,
9553
+ default: !1
9554
+ },
9551
9555
  isZoomable: {
9552
9556
  type: Boolean,
9553
9557
  default: !1
@@ -9935,7 +9939,7 @@ var K0 = function() {
9935
9939
  e.isLoading = !1;
9936
9940
  }, timeupdate: e.handleTimeUpdate, loadeddata: e.handleLoading } }, "video", e.videoOptions, !1), e.videoListeners), [e.isWebRtc ? e._e() : e._l(e.sourceItems, function(n) {
9937
9941
  return r("source", e._g({ key: n.src, attrs: { src: n.src, type: n.type }, on: { error: e.handle404Error } }, e.videoListeners));
9938
- })], 2)], 2), e.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { color: e.withColoredLoader, size: e.loaderSize, opacity: "0.6", dark: !0 } })], 1) : e._e(), e._t("default"), e.isError ? r("div", { staticClass: "spinner-container e-gap-3" }, [e._t("error", function() {
9942
+ })], 2)], 2), e.isLoading || e.showLoadingAnimation ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { color: e.withColoredLoader, size: e.loaderSize, opacity: "0.6", dark: !0 } })], 1) : e._e(), e._t("default"), e.isError ? r("div", { staticClass: "spinner-container e-gap-3" }, [e._t("error", function() {
9939
9943
  return [r("i", { staticClass: "fa-solid fa-video-slash fa-2xl e-align-middle" }), r("span", [e._v("This video file cannot be played.")])];
9940
9944
  })], 2) : e._e(), e._t("controls", function() {
9941
9945
  return [r("div", { class: ["video-controls-container", e.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid fas", class: {
@@ -9955,7 +9959,7 @@ var K0 = function() {
9955
9959
  J0,
9956
9960
  !1,
9957
9961
  null,
9958
- "728be946",
9962
+ "d7aeb2b0",
9959
9963
  null,
9960
9964
  null
9961
9965
  );
@@ -16755,7 +16759,7 @@ var Qc = function() {
16755
16759
  null,
16756
16760
  null
16757
16761
  );
16758
- const ts = Jc.exports, e8 = R.extend({
16762
+ const ts = Jc.exports, eu = R.extend({
16759
16763
  name: "EFadeTransition",
16760
16764
  props: {
16761
16765
  duration: {
@@ -16780,20 +16784,20 @@ const ts = Jc.exports, e8 = R.extend({
16780
16784
  }
16781
16785
  }
16782
16786
  });
16783
- var t8 = function() {
16787
+ var tu = function() {
16784
16788
  var e = this, r = e._self._c;
16785
16789
  return r("transition", { attrs: { "enter-active-class": `e-transition e-ease-out ${e.durationClass}`, "leave-active-class": `e-transition e-ease-in ${e.durationClass}`, "enter-class": "e-opacity-0", "enter-to-class": "e-opacity-100", "leave-class": "e-opacity-100", "leave-to-class": "e-opacity-0" } }, [e._t("default")], 2);
16786
- }, r8 = [], n8 = /* @__PURE__ */ j(
16787
- e8,
16788
- t8,
16789
- r8,
16790
+ }, ru = [], nu = /* @__PURE__ */ j(
16791
+ eu,
16792
+ tu,
16793
+ ru,
16790
16794
  !1,
16791
16795
  null,
16792
16796
  null,
16793
16797
  null,
16794
16798
  null
16795
16799
  );
16796
- const jt = n8.exports, i8 = R.extend({
16800
+ const jt = nu.exports, iu = R.extend({
16797
16801
  name: "EZoomableImg",
16798
16802
  components: {
16799
16803
  EZoomSlider: ts,
@@ -17305,7 +17309,7 @@ const jt = n8.exports, i8 = R.extend({
17305
17309
  }
17306
17310
  }
17307
17311
  });
17308
- var s8 = function() {
17312
+ var su = function() {
17309
17313
  var n;
17310
17314
  var e = this, r = e._self._c;
17311
17315
  return r("div", e._b({ directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: e.onResize, expression: "onResize" }], ref: "frame", staticClass: "zoomable-img e-flex e-justify-center e-items-center e-relative", class: {
@@ -17341,17 +17345,17 @@ var s8 = function() {
17341
17345
  } }, model: { value: e.sliderModel, callback: function(i) {
17342
17346
  e.sliderModel = i;
17343
17347
  }, expression: "sliderModel" } })], 2) : e._e()]), r("EFadeTransition", [e.showMiniature && e.imageLoaded && e.zoomLevel > 1 ? r("div", { staticClass: "zoomable-img__miniature-container e-shadow", style: e.miniatureContainerStyle }, [r("img", { ref: "miniatureImage", staticClass: "zoomable-img__miniature", attrs: { src: e.src, alt: e.alt } }), r("div", { staticClass: "zoomable-img__miniature-overlay", style: e.miniatureOverlayComputedStyle })]) : e._e()])], 2)]);
17344
- }, a8 = [], o8 = /* @__PURE__ */ j(
17345
- i8,
17346
- s8,
17347
- a8,
17348
+ }, au = [], ou = /* @__PURE__ */ j(
17349
+ iu,
17350
+ su,
17351
+ au,
17348
17352
  !1,
17349
17353
  null,
17350
17354
  null,
17351
17355
  null,
17352
17356
  null
17353
17357
  );
17354
- const rs = o8.exports, l8 = R.extend({
17358
+ const rs = ou.exports, lu = R.extend({
17355
17359
  name: "EImagePlayer",
17356
17360
  components: {
17357
17361
  EZoomableImg: rs
@@ -17805,7 +17809,7 @@ const rs = o8.exports, l8 = R.extend({
17805
17809
  }
17806
17810
  }
17807
17811
  });
17808
- var c8 = function() {
17812
+ var cu = function() {
17809
17813
  var n, i;
17810
17814
  var e = this, r = e._self._c;
17811
17815
  return r("div", { staticClass: "e-image-player player e-h-full e-w-full", style: e.playerDimensions, attrs: { id: "imagePlayer" } }, [r("div", { staticClass: "player__frames player-container", style: e.playerDimensions, attrs: { id: "img-container" }, on: { pointerdown: e.onFrameMouseDown, pointerup: e.onFrameMouseUp } }, [r("div", { staticClass: "e-h-full e-w-full e-shrink-0 e-relative" }, [r("img", { staticClass: "e-absolute e-block e-w-full e-h-full background-fade", attrs: { src: e.src || ((n = e.frames[e.frameIndex]) == null ? void 0 : n.src) || "", alt: "background-image" } }), r("EZoomableImg", e._g(e._b({ directives: [{ name: "show", rawName: "v-show", value: e.imageLoaded && e.src || e.placeholderImage, expression: "(imageLoaded && src) || placeholderImage" }], ref: "zoomableImage", attrs: { "img-props": { imgProps: e.imgProps }, "overlay-style": { zIndex: 1 }, src: e.src || ((i = e.frames[e.frameIndex]) == null ? void 0 : i.src) || e.placeholderImage || "", alt: e.altText, "hide-content-on-blur": !1, height: e.height.split("px")[0], "placeholder-image": e.placeholderImage, slider: !1, "is-mobile": e.isMobile, disabled: !e.isZoomable, "is-annotation-active": e.isAnnotationActive, "blur-background": "" }, on: { load: e.onLoad, error: e.onError, change: e.onChange, "hook:beforeUpdate": e.onBeforeUpdate, "hook:beforeDestroy": e.onBeforeDestroy }, scopedSlots: e._u([{ key: "imageOverlay", fn: function() {
@@ -17823,17 +17827,17 @@ var c8 = function() {
17823
17827
  "fa-compress": e.isFullscreen
17824
17828
  } })])])]) : e._e()];
17825
17829
  }, { playing: e.playing, togglePlay: e.togglePlay, play: e.play, pause: e.pause, toggleFullscreen: e.toggleFullscreenMode, preloadedFrames: e.preloadedFrames, isLastFrame: e.isLastFrame })], 2);
17826
- }, u8 = [], d8 = /* @__PURE__ */ j(
17827
- l8,
17828
- c8,
17829
- u8,
17830
+ }, uu = [], du = /* @__PURE__ */ j(
17831
+ lu,
17832
+ cu,
17833
+ uu,
17830
17834
  !1,
17831
17835
  null,
17832
17836
  null,
17833
17837
  null,
17834
17838
  null
17835
17839
  );
17836
- const h8 = d8.exports, p8 = R.extend({
17840
+ const hu = du.exports, pu = R.extend({
17837
17841
  name: "ELayout",
17838
17842
  directives: {
17839
17843
  ResizeObserver: tt
@@ -17910,23 +17914,23 @@ const h8 = d8.exports, p8 = R.extend({
17910
17914
  }
17911
17915
  }
17912
17916
  });
17913
- var f8 = function() {
17917
+ var fu = function() {
17914
17918
  var e = this, r = e._self._c;
17915
17919
  return r("div", e._b({ directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: e.onResize, expression: "onResize" }], ref: "globalLayout", staticClass: "e-layout e-w-full e-h-full e-relative", style: {
17916
17920
  width: "100%",
17917
17921
  height: e.mainHeight
17918
17922
  }, attrs: { id: "globalLayout" } }, "div", e.$attrs, !1), [r("div", { staticClass: "e-layout__container e-relative", style: e.mainStyle }, [r("div", { staticClass: "e-layout__main e-w-full e-h-full e-absolute e-inset-0 e-z-0", style: e.mainStyle }, [e._t("main", null, { size: { ...e.mainStyle } })], 2), e.withOverlay ? r("div", { staticClass: "e-layout__overlay e-w-full e-h-full e-absolute e-inset-0 e-z-[1]", style: e.mainStyle, on: { click: e.onOverlayClick } }, [e._t("overlay", null, { size: { ...e.mainStyle } })], 2) : e._e(), r("div", { staticClass: "e-layout__top-left e-absolute e-left-0 e-top-0 e-z-[2]" }, [e._t("top-left")], 2), r("div", { staticClass: "e-absolute e-right-0 e-top-0 e-layout__top-right e-z-[2]" }, [e._t("top-right")], 2), r("div", { staticClass: "e-absolute e-right-0 e-bottom-10 e-layout__bottom-right e-z-[2]", style: e.bottomStyle }, [e._t("bottom-right")], 2), r("div", { staticClass: "e-absolute e-left-0 e-bottom-10 e-layout__bottom-left e-z-[2]", style: e.bottomStyle }, [e._t("bottom-left")], 2), r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: e.setOverlayFooterHeight, expression: "setOverlayFooterHeight" }], ref: "overlayFooter", staticClass: "e-absolute e-bottom-0 e-left-0 e-right-0 e-layout__overlay-footer e-z-[2]" }, [e._t("overlay-footer")], 2)]), r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: e.setFooterHeight, expression: "setFooterHeight" }], ref: "footer", staticClass: "e-layout__footer e-relative e-z-[2]" }, [e._t("footer")], 2)]);
17919
- }, m8 = [], g8 = /* @__PURE__ */ j(
17920
- p8,
17921
- f8,
17922
- m8,
17923
+ }, mu = [], gu = /* @__PURE__ */ j(
17924
+ pu,
17925
+ fu,
17926
+ mu,
17923
17927
  !1,
17924
17928
  null,
17925
17929
  null,
17926
17930
  null,
17927
17931
  null
17928
17932
  );
17929
- const v8 = g8.exports, _8 = {
17933
+ const vu = gu.exports, _u = {
17930
17934
  name: "EContextProvider",
17931
17935
  provide() {
17932
17936
  return { ...this.$props.context };
@@ -17940,18 +17944,18 @@ const v8 = g8.exports, _8 = {
17940
17944
  render() {
17941
17945
  return this.$scopedSlots.default();
17942
17946
  }
17943
- }, y8 = null, C8 = null;
17944
- var b8 = /* @__PURE__ */ j(
17945
- _8,
17946
- y8,
17947
- C8,
17947
+ }, yu = null, Cu = null;
17948
+ var bu = /* @__PURE__ */ j(
17949
+ _u,
17950
+ yu,
17951
+ Cu,
17948
17952
  !1,
17949
17953
  null,
17950
17954
  null,
17951
17955
  null,
17952
17956
  null
17953
17957
  );
17954
- const x8 = b8.exports, w8 = R.extend({
17958
+ const xu = bu.exports, wu = R.extend({
17955
17959
  name: "EChatWrapper",
17956
17960
  props: {
17957
17961
  dark: {
@@ -17980,20 +17984,20 @@ const x8 = b8.exports, w8 = R.extend({
17980
17984
  }
17981
17985
  }
17982
17986
  });
17983
- var S8 = function() {
17987
+ var Su = function() {
17984
17988
  var e = this, r = e._self._c;
17985
17989
  return e._self._setupProxy, r("div", { staticClass: "e-chat-wrapper e-h-full", class: e.wrapperClasses }, [e._t("default")], 2);
17986
- }, T8 = [], k8 = /* @__PURE__ */ j(
17987
- w8,
17988
- S8,
17989
- T8,
17990
+ }, Tu = [], ku = /* @__PURE__ */ j(
17991
+ wu,
17992
+ Su,
17993
+ Tu,
17990
17994
  !1,
17991
17995
  null,
17992
17996
  null,
17993
17997
  null,
17994
17998
  null
17995
17999
  );
17996
- const $8 = k8.exports, E8 = R.extend({
18000
+ const $u = ku.exports, Eu = R.extend({
17997
18001
  name: "EChatHeader",
17998
18002
  components: { EAvatar: zr },
17999
18003
  props: {
@@ -18007,20 +18011,20 @@ const $8 = k8.exports, E8 = R.extend({
18007
18011
  }
18008
18012
  }
18009
18013
  });
18010
- var M8 = function() {
18014
+ var Mu = function() {
18011
18015
  var e = this, r = e._self._c;
18012
18016
  return e._self._setupProxy, r("EAvatar", { staticClass: "e-evercam-logo", attrs: { image: "https://dash.evercam.io/evercam-logo.svg", size: e.size, "background-classes": e.backgroundClasses } });
18013
- }, L8 = [], D8 = /* @__PURE__ */ j(
18014
- E8,
18015
- M8,
18016
- L8,
18017
+ }, Lu = [], Du = /* @__PURE__ */ j(
18018
+ Eu,
18019
+ Mu,
18020
+ Lu,
18017
18021
  !1,
18018
18022
  null,
18019
18023
  null,
18020
18024
  null,
18021
18025
  null
18022
18026
  );
18023
- const ns = D8.exports, P8 = R.extend({
18027
+ const ns = Du.exports, Pu = R.extend({
18024
18028
  name: "EChatHeader",
18025
18029
  components: { EEvercamLogo: ns },
18026
18030
  props: {
@@ -18052,22 +18056,22 @@ const ns = D8.exports, P8 = R.extend({
18052
18056
  }
18053
18057
  }
18054
18058
  });
18055
- var O8 = function() {
18059
+ var Ou = function() {
18056
18060
  var e = this, r = e._self._c;
18057
18061
  return e._self._setupProxy, r("div", { staticClass: "e-chat-header e-flex e-items-center e-justify-between", class: e.headerClasses }, [r("div", { staticClass: "e-chat-logo e-flex e-w-full e-items-center e-justify-start e-gap-2 e-px-5 e-py-4" }, [e._t("logo", function() {
18058
18062
  return [r("div", {}, [r("EEvercamLogo", { attrs: { size: "xs", "background-classes": "e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]" } })], 1)];
18059
18063
  }), r("div", { staticClass: "e-font-semibold e-h-min e-text-base" }, [e._v(e._s(e.title))]), e._t("chip")], 2), e._t("append")], 2);
18060
- }, z8 = [], B8 = /* @__PURE__ */ j(
18061
- P8,
18062
- O8,
18063
- z8,
18064
+ }, zu = [], Bu = /* @__PURE__ */ j(
18065
+ Pu,
18066
+ Ou,
18067
+ zu,
18064
18068
  !1,
18065
18069
  null,
18066
18070
  null,
18067
18071
  null,
18068
18072
  null
18069
18073
  );
18070
- const I8 = B8.exports, F8 = R.extend({
18074
+ const Iu = Bu.exports, Fu = R.extend({
18071
18075
  name: "EChatBody",
18072
18076
  directives: {
18073
18077
  ResizeObserver: tt
@@ -18148,22 +18152,22 @@ const I8 = B8.exports, F8 = R.extend({
18148
18152
  }
18149
18153
  }
18150
18154
  });
18151
- var A8 = function() {
18155
+ var Au = function() {
18152
18156
  var e = this, r = e._self._c;
18153
18157
  return r("div", e._b({ ref: "chatBody", staticClass: "e-chat-body e-space-y-2 e-py-3 e-px-5 e-leading-6", class: e.bodyClasses, attrs: { tabindex: "0" }, on: { scroll: e.onScroll, wheel: e.onWheel, keyup: function(n) {
18154
18158
  return n.stopPropagation(), e.onKeyUp.apply(null, arguments);
18155
18159
  }, touchstart: e.onTouch, touchmove: e.onTouchMove } }, "div", e.$attrs, !1), [r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: e.onContentResized, expression: "onContentResized" }], ref: "contentWrapper", staticClass: "e-chat-body__content" }, [e._t("default")], 2), r("div", { ref: "anchor", staticClass: "e-chat-body__anchor" }), e.showGoToBottomButton ? r("div", { staticClass: "e-chat-body__go-to-bottom e-sticky e-bottom-1 e-flex e-justify-center" }, [r("button", { staticClass: "e-animate-bounce e-inline-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 e-border-none focus:e-outline-none e-rounded-full", class: e.goToBottomButtonClasses, on: { click: e.scrollToBottom } }, [r("EIcon", { attrs: { icon: "arrow-down", size: "Base" } })], 1)]) : e._e()]);
18156
- }, R8 = [], H8 = /* @__PURE__ */ j(
18157
- F8,
18158
- A8,
18159
- R8,
18160
+ }, Ru = [], Hu = /* @__PURE__ */ j(
18161
+ Fu,
18162
+ Au,
18163
+ Ru,
18160
18164
  !1,
18161
18165
  null,
18162
18166
  null,
18163
18167
  null,
18164
18168
  null
18165
18169
  );
18166
- const N8 = H8.exports, j8 = R.extend({
18170
+ const Nu = Hu.exports, ju = R.extend({
18167
18171
  props: {
18168
18172
  size: {
18169
18173
  type: Number,
@@ -18228,20 +18232,20 @@ const N8 = H8.exports, j8 = R.extend({
18228
18232
  toRgba: _t
18229
18233
  }
18230
18234
  });
18231
- var W8 = function() {
18235
+ var Wu = function() {
18232
18236
  var e = this, r = e._self._c;
18233
18237
  return e._self._setupProxy, r("div", { staticClass: "e-pulsating-dot", style: e.dotContainerStyle }, [r("span", { staticClass: "e-pulsating-dot__shadow", style: e.shadowStyle }), r("span", { staticClass: "e-pulsating-dot__shadow", style: e.secondShadowStyle }), r("div", { staticClass: "e-pulsating-dot__dot", style: e.dotStyle }, [e._t("icon")], 2)]);
18234
- }, G8 = [], q8 = /* @__PURE__ */ j(
18235
- j8,
18236
- W8,
18237
- G8,
18238
+ }, Gu = [], qu = /* @__PURE__ */ j(
18239
+ ju,
18240
+ Wu,
18241
+ Gu,
18238
18242
  !1,
18239
18243
  null,
18240
18244
  "cf575c64",
18241
18245
  null,
18242
18246
  null
18243
18247
  );
18244
- const U8 = q8.exports;
18248
+ const Uu = qu.exports;
18245
18249
  var is = { exports: {} };
18246
18250
  (function(t, e) {
18247
18251
  (function(r, n) {
@@ -18584,9 +18588,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18584
18588
  })(), o.default;
18585
18589
  })());
18586
18590
  })(is);
18587
- var Z8 = is.exports;
18588
- const V8 = /* @__PURE__ */ bt(Z8);
18589
- class Y8 {
18591
+ var Zu = is.exports;
18592
+ const Vu = /* @__PURE__ */ bt(Zu);
18593
+ class Yu {
18590
18594
  constructor(e, r) {
18591
18595
  this.processor = null, this.accumulator = "", this.totalMarkdown = "", this.lastProcessedLength = 0, this.regexRenderTargetsById = {}, this.isRenderingTable = !1, this.isFirstTableRender = !1, this.mdTableHeaderString = "", this.isIncompleteTableRow = !1, this.pendingRowString = "", this.tableId = 0, this.rowId = 0, this.typewriter = null, this.container = e, this.htmlRenderingTarget = e, this.exposedRegexes = r.exposedRegexes || [], this.useTableProcessor = !!r.useTableProcessor, this.initProcessor(), this.animated = !!r.animated, this.animated && (this.typewriter = this.initTypewriter()), this.onAnimationStart = r.onAnimationStart || (() => {
18592
18596
  }), this.onAnimationEnd = r.onAnimationEnd || (() => {
@@ -18736,7 +18740,7 @@ class Y8 {
18736
18740
  });
18737
18741
  }
18738
18742
  initTypewriter() {
18739
- return new V8(this.container, {
18743
+ return new Vu(this.container, {
18740
18744
  loop: !1,
18741
18745
  delay: 0,
18742
18746
  cursor: ""
@@ -18755,7 +18759,7 @@ class Y8 {
18755
18759
  return r.innerHTML = e, (r.textContent || "").slice(this.lastProcessedLength);
18756
18760
  }
18757
18761
  }
18758
- const X8 = R.extend({
18762
+ const Xu = R.extend({
18759
18763
  name: "EMarkdown",
18760
18764
  props: {
18761
18765
  nextChunks: {
@@ -18796,7 +18800,7 @@ const X8 = R.extend({
18796
18800
  methods: {
18797
18801
  initProcessor() {
18798
18802
  const t = this.$refs.content;
18799
- this.processor = new Y8(t, {
18803
+ this.processor = new Yu(t, {
18800
18804
  exposedRegexes: this.exposedRegexes,
18801
18805
  animated: this.animated,
18802
18806
  onAnimationStart: () => this.$emit("animation-start"),
@@ -18845,20 +18849,20 @@ const X8 = R.extend({
18845
18849
  }
18846
18850
  }
18847
18851
  });
18848
- var Q8 = function() {
18852
+ var Qu = function() {
18849
18853
  var e = this, r = e._self._c;
18850
18854
  return r("div", { staticClass: "e-markdown" }, [r("article", { staticClass: "e-mx-auto prose-h1:!e-text-2xl prose-h2:!e-text-xl prose-h2:!e-mt-0 prose-h3:!e-text-lg e-prose e-prose-slate", class: { "e-prose-invert": e.dark } }, [r("div", { ref: "content", staticClass: "e-markdown__content" })])]);
18851
- }, K8 = [], J8 = /* @__PURE__ */ j(
18852
- X8,
18853
- Q8,
18854
- K8,
18855
+ }, Ku = [], Ju = /* @__PURE__ */ j(
18856
+ Xu,
18857
+ Qu,
18858
+ Ku,
18855
18859
  !1,
18856
18860
  null,
18857
18861
  null,
18858
18862
  null,
18859
18863
  null
18860
18864
  );
18861
- const eu = J8.exports, tu = R.extend({
18865
+ const e8 = Ju.exports, t8 = R.extend({
18862
18866
  name: "ECopyToClipboardBtn",
18863
18867
  components: { EActionButton: xt },
18864
18868
  mixins: [Xe, Ye],
@@ -18945,20 +18949,20 @@ const eu = J8.exports, tu = R.extend({
18945
18949
  }
18946
18950
  }
18947
18951
  });
18948
- var ru = function() {
18952
+ var r8 = function() {
18949
18953
  var e = this, r = e._self._c;
18950
18954
  return r("EActionButton", { attrs: { "tooltip-text": e.tooltipText, "tooltip-position": "top", icon: e.iconType, "icon-size": "Lg", dark: e.dark, "button-classes": e.copyButtonClasses }, on: { click: e.copyTextToClipboard } }, [e._v(" " + e._s(e.buttonText) + " "), r("textarea", { ref: "copyToClipboard", staticClass: "copy-to-clipboard", attrs: { readonly: "" } })]);
18951
- }, nu = [], iu = /* @__PURE__ */ j(
18952
- tu,
18953
- ru,
18954
- nu,
18955
+ }, n8 = [], i8 = /* @__PURE__ */ j(
18956
+ t8,
18957
+ r8,
18958
+ n8,
18955
18959
  !1,
18956
18960
  null,
18957
18961
  "338cc37f",
18958
18962
  null,
18959
18963
  null
18960
18964
  );
18961
- const ss = iu.exports, su = R.extend({
18965
+ const ss = i8.exports, s8 = R.extend({
18962
18966
  name: "EDialog",
18963
18967
  components: {
18964
18968
  EFadeTransition: jt
@@ -19092,7 +19096,7 @@ const ss = iu.exports, su = R.extend({
19092
19096
  }
19093
19097
  }
19094
19098
  });
19095
- var au = function() {
19099
+ var a8 = function() {
19096
19100
  var e = this, r = e._self._c;
19097
19101
  return r("EFadeTransition", { attrs: { duration: 100 } }, [e.visible ? r("dialog", { ref: "dialog", staticClass: "e-dialog e-p-0 e-m-auto e-border-none e-rounded-lg", on: { click: e.handleBackdropClick, close: e.onClose, cancel: e.onClose } }, [r("div", { class: e.panelClasses, style: e.panelStyles }, [r("div", { class: e.headerContainerClasses }, [e._t("header", function() {
19098
19102
  return [e.title ? r("div", { staticClass: "e-text-lg e-font-bold" }, [e._v(" " + e._s(e.title) + " ")]) : e._e()];
@@ -19103,19 +19107,19 @@ var au = function() {
19103
19107
  } } }, [e._v(" " + e._s(n.label) + " ")]);
19104
19108
  });
19105
19109
  }, { actions: e.actions, dark: e.dark })], 2)])]) : e._e()]);
19106
- }, ou = [], lu = /* @__PURE__ */ j(
19107
- su,
19108
- au,
19109
- ou,
19110
+ }, o8 = [], l8 = /* @__PURE__ */ j(
19111
+ s8,
19112
+ a8,
19113
+ o8,
19110
19114
  !1,
19111
19115
  null,
19112
19116
  null,
19113
19117
  null,
19114
19118
  null
19115
19119
  );
19116
- const cu = lu.exports, uu = R.extend({
19120
+ const c8 = l8.exports, u8 = R.extend({
19117
19121
  name: "EFeedbackButton",
19118
- components: { EDialog: cu, EActionButton: xt },
19122
+ components: { EDialog: c8, EActionButton: xt },
19119
19123
  mixins: [Xe, Ye],
19120
19124
  props: {
19121
19125
  buttonText: {
@@ -19208,25 +19212,25 @@ const cu = lu.exports, uu = R.extend({
19208
19212
  }
19209
19213
  }
19210
19214
  });
19211
- var du = function() {
19215
+ var d8 = function() {
19212
19216
  var e = this, r = e._self._c;
19213
19217
  return e._self._setupProxy, r("EActionButton", { attrs: { "tooltip-text": e.tooltipText, "tooltip-position": "top", icon: e.iconType, "icon-size": "Lg", dark: e.dark, "button-classes": e.eButtonClasses }, on: { click: e.onClick } }, [e._v(" " + e._s(e.buttonText) + " "), e.withText ? r("EDialog", { staticClass: "e-feedback", attrs: { value: e.showDialog, title: "Feedback", dark: e.dark, width: e.dialogWidth, persistent: "", actions: e.dialogActions, "close-with-escape": !1 }, on: { "action-clicked": e.submitFeedback } }, [r("div", { staticClass: "e-feedback__form" }, [r("div", { staticClass: "e-feedback__form-description e-mb-3 e-leading-relaxed" }, [e._v(" Thanks for your input! "), r("br"), e._v("Please share your thoughts and experience to help us improve ")]), r("div", { staticClass: "e-rounded-md e-w-full e-overflow-hidden e-border e-border-solid e-py-2 e-mb-6", class: e.textAreaContainerClasses }, [r("textarea", { directives: [{ name: "model", rawName: "v-model", value: e.feedbackText, expression: "feedbackText" }], staticClass: "e-feedback__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full", class: e.textAreaClasses, attrs: { autofocus: "", tabindex: "0", rows: "4", placeholder: "Enter your text here..." }, domProps: { value: e.feedbackText }, on: { input: function(n) {
19214
19218
  n.target.composing || (e.feedbackText = n.target.value);
19215
19219
  } } })])])]) : e._e()], 1);
19216
- }, hu = [], pu = /* @__PURE__ */ j(
19217
- uu,
19218
- du,
19219
- hu,
19220
+ }, h8 = [], p8 = /* @__PURE__ */ j(
19221
+ u8,
19222
+ d8,
19223
+ h8,
19220
19224
  !1,
19221
19225
  null,
19222
19226
  null,
19223
19227
  null,
19224
19228
  null
19225
19229
  );
19226
- const fu = pu.exports, mu = R.extend({
19230
+ const f8 = p8.exports, m8 = R.extend({
19227
19231
  name: "EChatMessageActions",
19228
19232
  components: {
19229
- EFeedbackButton: fu,
19233
+ EFeedbackButton: f8,
19230
19234
  ECopyToClipboardBtn: ss,
19231
19235
  EActionButton: xt
19232
19236
  },
@@ -19285,7 +19289,7 @@ const fu = pu.exports, mu = R.extend({
19285
19289
  }
19286
19290
  }
19287
19291
  });
19288
- var gu = function() {
19292
+ var g8 = function() {
19289
19293
  var e = this, r = e._self._c;
19290
19294
  return r("div", { staticClass: "e-message__actions e-relative e-h-0" }, [r("div", { staticClass: "e-message__actions-container e-flex e-gap-1 e-pt-2" }, [e.showCopyButton ? r("ECopyToClipboardBtn", { attrs: { text: e.messageText, dark: e.dark, "button-size": "sm", "button-classes": "e-bg-transparent e-border-none", description: "Copy" } }) : e._e(), e.showRegenerateButton ? r("EActionButton", { attrs: { "tooltip-text": "Regenerate", "tooltip-position": "top", icon: "rotate", "icon-size": "Base", dark: e.dark, "button-classes": e.eButtonClasses }, on: { click: function(n) {
19291
19295
  return e.$emit("regenerate");
@@ -19298,25 +19302,25 @@ var gu = function() {
19298
19302
  } }, nativeOn: { click: function(n) {
19299
19303
  return e.openFeedbackDialog.apply(null, arguments);
19300
19304
  } } }) : e._e()], 1)]);
19301
- }, vu = [], _u = /* @__PURE__ */ j(
19302
- mu,
19303
- gu,
19304
- vu,
19305
+ }, v8 = [], _8 = /* @__PURE__ */ j(
19306
+ m8,
19307
+ g8,
19308
+ v8,
19305
19309
  !1,
19306
19310
  null,
19307
19311
  null,
19308
19312
  null,
19309
19313
  null
19310
19314
  );
19311
- const yu = _u.exports, Cu = R.extend({
19315
+ const y8 = _8.exports, C8 = R.extend({
19312
19316
  name: "EChatMessage",
19313
19317
  components: {
19314
19318
  EFadeTransition: jt,
19315
19319
  EAvatar: zr,
19316
- EChatMessageActions: yu,
19320
+ EChatMessageActions: y8,
19317
19321
  EEvercamLogo: ns,
19318
- EPulsatingDot: U8,
19319
- EMarkdown: eu
19322
+ EPulsatingDot: Uu,
19323
+ EMarkdown: e8
19320
19324
  },
19321
19325
  mixins: [Ye],
19322
19326
  props: {
@@ -19437,7 +19441,7 @@ const yu = _u.exports, Cu = R.extend({
19437
19441
  }
19438
19442
  }
19439
19443
  });
19440
- var bu = function() {
19444
+ var b8 = function() {
19441
19445
  var e = this, r = e._self._c;
19442
19446
  return e._self._setupProxy, r("div", { staticClass: "e-chat-message e-mb-3", on: { mouseenter: e.onMouseOver, mouseleave: e.onMouseLeave } }, [r("div", { staticClass: "e-chat-message__wrapper e-flex e-items-start e-justify-start e-gap-3", class: { "e-chat-message__rtl": !e.isBotRole } }, [e.showAvatar ? r("div", { staticClass: "e-chat-message__avatar" }, [e.isBotRole ? e._t("message-avatar", function() {
19443
19447
  return [r("div", { class: e.logoClasses }, [r("EEvercamLogo", { attrs: { size: "xs", "background-classes": "e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]" } })], 1)];
@@ -19456,17 +19460,17 @@ var bu = function() {
19456
19460
  })], 2)]), e._t("message.append"), r("EFadeTransition", [e.withActions && e.showActions ? r("EChatMessageActions", { staticClass: "e-left-11", attrs: { "message-id": e.$attrs["data-message-id"], dark: e.dark, "show-copy-button": e.showCopyButton, "show-feedback-buttons": e.showFeedbackButtons, "show-regenerate-button": e.showRegenerateButton, message: e.message }, on: { feedback: e.onFeedback, regenerate: function(n) {
19457
19461
  return e.$emit("message-regenerate");
19458
19462
  } } }) : e._e()], 1)], 2);
19459
- }, xu = [], wu = /* @__PURE__ */ j(
19460
- Cu,
19461
- bu,
19462
- xu,
19463
+ }, x8 = [], w8 = /* @__PURE__ */ j(
19464
+ C8,
19465
+ b8,
19466
+ x8,
19463
19467
  !1,
19464
19468
  null,
19465
19469
  null,
19466
19470
  null,
19467
19471
  null
19468
19472
  );
19469
- const Su = wu.exports, Tu = R.extend({
19473
+ const S8 = w8.exports, T8 = R.extend({
19470
19474
  name: "EChatFooter",
19471
19475
  props: {
19472
19476
  dark: {
@@ -19492,20 +19496,20 @@ const Su = wu.exports, Tu = R.extend({
19492
19496
  }
19493
19497
  }
19494
19498
  });
19495
- var ku = function() {
19499
+ var k8 = function() {
19496
19500
  var e = this, r = e._self._c;
19497
19501
  return e._self._setupProxy, r("div", { staticClass: "e-chat-footer e-px-3 e-pt-4 e-pb-3", class: e.footerClasses }, [e._t("default")], 2);
19498
- }, $u = [], Eu = /* @__PURE__ */ j(
19499
- Tu,
19500
- ku,
19501
- $u,
19502
+ }, $8 = [], E8 = /* @__PURE__ */ j(
19503
+ T8,
19504
+ k8,
19505
+ $8,
19502
19506
  !1,
19503
19507
  null,
19504
19508
  null,
19505
19509
  null,
19506
19510
  null
19507
19511
  );
19508
- const Mu = Eu.exports, Lu = R.extend({
19512
+ const M8 = E8.exports, L8 = R.extend({
19509
19513
  name: "EVoiceInputVolumeIndicator",
19510
19514
  props: {
19511
19515
  isListening: {
@@ -19553,7 +19557,7 @@ const Mu = Eu.exports, Lu = R.extend({
19553
19557
  }
19554
19558
  }
19555
19559
  });
19556
- var Du = function() {
19560
+ var D8 = function() {
19557
19561
  var e = this, r = e._self._c;
19558
19562
  return r("div", { staticClass: "e-volume-indicator e-relative e-w-8 e-h-8 e-flex e-items-center e-justify-center" }, [r("div", { staticClass: "e-volume-indicator__bubble e-absolute e-inset-y-0 e-rounded-full", style: {
19559
19563
  transform: `scale(${e.isListening ? 0.5 + e.volume * 0.5 : 1})`,
@@ -19561,20 +19565,20 @@ var Du = function() {
19561
19565
  width: "inherit",
19562
19566
  height: "inherit"
19563
19567
  } }), r("div", { staticClass: "e-absolute e-inset-0 e-flex e-items-center e-justify-center" }, [e._t("default")], 2)]);
19564
- }, Pu = [], Ou = /* @__PURE__ */ j(
19565
- Lu,
19566
- Du,
19567
- Pu,
19568
+ }, P8 = [], O8 = /* @__PURE__ */ j(
19569
+ L8,
19570
+ D8,
19571
+ P8,
19568
19572
  !1,
19569
19573
  null,
19570
19574
  null,
19571
19575
  null,
19572
19576
  null
19573
19577
  );
19574
- const zu = Ou.exports, Bu = R.extend({
19578
+ const z8 = O8.exports, B8 = R.extend({
19575
19579
  name: "EVoiceInput",
19576
19580
  components: {
19577
- EVoiceInputVolumeIndicator: zu,
19581
+ EVoiceInputVolumeIndicator: z8,
19578
19582
  EIcon: Ze
19579
19583
  },
19580
19584
  mixins: [Xe],
@@ -19699,20 +19703,20 @@ const zu = Ou.exports, Bu = R.extend({
19699
19703
  }
19700
19704
  }
19701
19705
  });
19702
- var Iu = function() {
19706
+ var I8 = function() {
19703
19707
  var e = this, r = e._self._c;
19704
19708
  return r("button", e._g(e._b({ staticClass: "e-border-none e-chat-input__voice-btn e-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 disabled:e-cursor-not-allowed focus:e-outline-none", class: { ...e.buttonClasses, "e-h-10 e-w-10": !e.isListening }, on: { click: e.toggleListening } }, "button", e.$attrs, !1), e.$listeners), [e.isListening ? r("EVoiceInputVolumeIndicator", { attrs: { analyser: e.analyser, "is-listening": e.isListening } }, [r("EIcon", { staticClass: "e-chat-input__voice-btn--icon", attrs: { icon: "stop", color: "e-text-red-600", size: "Sm" } })], 1) : r("EIcon", { attrs: { icon: "microphone", size: "Base" } })], 1);
19705
- }, Fu = [], Au = /* @__PURE__ */ j(
19706
- Bu,
19707
- Iu,
19708
- Fu,
19709
+ }, F8 = [], A8 = /* @__PURE__ */ j(
19710
+ B8,
19711
+ I8,
19712
+ F8,
19709
19713
  !1,
19710
19714
  null,
19711
19715
  null,
19712
19716
  null,
19713
19717
  null
19714
19718
  );
19715
- const as = Au.exports, Ru = R.extend({
19719
+ const as = A8.exports, R8 = R.extend({
19716
19720
  name: "EChatInput",
19717
19721
  components: {
19718
19722
  EIcon: Ze,
@@ -19832,7 +19836,7 @@ const as = Au.exports, Ru = R.extend({
19832
19836
  }
19833
19837
  }
19834
19838
  });
19835
- var Hu = function() {
19839
+ var H8 = function() {
19836
19840
  var e = this, r = e._self._c;
19837
19841
  return r("div", { staticClass: "e-chat-input e-relative e-flex e-w-auto e-p-2" }, [r("div", { staticClass: "e-rounded-lg e-w-full e-overflow-hidden e-border e-border-solid", class: e.textAreaContainerClasses }, [r("textarea", e._b({ ref: "chatTextarea", staticClass: "e-chat-input__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full", class: e.textAreaClasses, style: e.textareaStyle, attrs: { rows: "1", tabindex: "0", autofocus: "", placeholder: e.transcript.length > 0 ? e.transcript : e.placeholder, disabled: e.disabled }, on: { keydown: function(n) {
19838
19842
  return n.stopPropagation(), e.onKeyDown.apply(null, arguments);
@@ -19843,17 +19847,17 @@ var Hu = function() {
19843
19847
  return n.preventDefault(), e.submitMessage.apply(null, arguments);
19844
19848
  } } }, [r("EIcon", { attrs: { icon: "arrow-up", size: "Base" } })], 1)];
19845
19849
  }, { buttonClasses: e.buttonClasses })], 2)]);
19846
- }, Nu = [], ju = /* @__PURE__ */ j(
19847
- Ru,
19848
- Hu,
19849
- Nu,
19850
+ }, N8 = [], j8 = /* @__PURE__ */ j(
19851
+ R8,
19852
+ H8,
19853
+ N8,
19850
19854
  !1,
19851
19855
  null,
19852
19856
  null,
19853
19857
  null,
19854
19858
  null
19855
19859
  );
19856
- const Wu = ju.exports, Gu = R.extend({
19860
+ const W8 = j8.exports, G8 = R.extend({
19857
19861
  name: "EChatSuggestionCard",
19858
19862
  components: {
19859
19863
  EIcon: Ze
@@ -19900,32 +19904,32 @@ const Wu = ju.exports, Gu = R.extend({
19900
19904
  }
19901
19905
  }
19902
19906
  });
19903
- var qu = function() {
19907
+ var q8 = function() {
19904
19908
  var e = this, r = e._self._c;
19905
19909
  return e._self._setupProxy, r("div", e._g(e._b({ staticClass: "e-chat-suggestion e-p-3 e-flex e-justify-start e-items-start e-gap-2 e-border-solid e-border-[1.67px] e-rounded-md e-cursor-pointer e-w-full", class: e.classes, style: e.styles }, "div", e.$attrs, !1), e.$listeners), [r("div", { staticClass: "e-chat-suggestion__icon e-h-6 e-w-6" }, [e.icon ? r("EIcon", { attrs: { icon: e.icon, size: "Lg", color: e.color } }) : e._t("svg-icon")], 2), r("div", { staticClass: "e-chat-suggestion__text e-font-medium e-antialiased e-text-wrap", class: {
19906
19910
  "e-text-gray-200": e.dark,
19907
19911
  "e-text-gray-600": !e.dark
19908
19912
  } }, [e._v(" " + e._s(e.text) + " ")])]);
19909
- }, Uu = [], Zu = /* @__PURE__ */ j(
19910
- Gu,
19911
- qu,
19912
- Uu,
19913
+ }, U8 = [], Z8 = /* @__PURE__ */ j(
19914
+ G8,
19915
+ q8,
19916
+ U8,
19913
19917
  !1,
19914
19918
  null,
19915
19919
  null,
19916
19920
  null,
19917
19921
  null
19918
19922
  );
19919
- const Vu = Zu.exports, Yu = R.extend({
19923
+ const V8 = Z8.exports, Y8 = R.extend({
19920
19924
  components: {
19921
19925
  EFadeTransition: jt,
19922
- EChatWrapper: $8,
19923
- EChatHeader: I8,
19924
- EChatBody: N8,
19925
- EChatMessage: Su,
19926
- EChatFooter: Mu,
19927
- EChatInput: Wu,
19928
- EChatSuggestionCard: Vu
19926
+ EChatWrapper: $u,
19927
+ EChatHeader: Iu,
19928
+ EChatBody: Nu,
19929
+ EChatMessage: S8,
19930
+ EChatFooter: M8,
19931
+ EChatInput: W8,
19932
+ EChatSuggestionCard: V8
19929
19933
  },
19930
19934
  props: {
19931
19935
  dark: {
@@ -20121,7 +20125,7 @@ const Vu = Zu.exports, Yu = R.extend({
20121
20125
  }
20122
20126
  }
20123
20127
  });
20124
- var Xu = function() {
20128
+ var X8 = function() {
20125
20129
  var e = this, r = e._self._c;
20126
20130
  return r("EChatWrapper", { ref: "chatContainer", staticClass: "e-chat-wrapper", style: e.wrapperStyle, attrs: { dark: e.dark, embedded: e.embedded } }, [r("div", { staticClass: "e-w-full e-h-full e-chat-container" }, [r("EChatHeader", { ref: "chatHeader", attrs: { hidden: !e.showHeader, dark: e.dark, title: e.headerText }, scopedSlots: e._u([{ key: "chip", fn: function() {
20127
20131
  return [e._t("chip")];
@@ -20156,17 +20160,17 @@ var Xu = function() {
20156
20160
  }, proxy: !0 }], null, !0), model: { value: e.prompt, callback: function(n) {
20157
20161
  e.prompt = n;
20158
20162
  }, expression: "prompt" } })], 1)], 2)]);
20159
- }, Qu = [], Ku = /* @__PURE__ */ j(
20160
- Yu,
20161
- Xu,
20162
- Qu,
20163
+ }, Q8 = [], K8 = /* @__PURE__ */ j(
20164
+ Y8,
20165
+ X8,
20166
+ Q8,
20163
20167
  !1,
20164
20168
  null,
20165
20169
  "966d186a",
20166
20170
  null,
20167
20171
  null
20168
20172
  );
20169
- const Ju = Ku.exports, e7 = R.extend({
20173
+ const J8 = K8.exports, e7 = R.extend({
20170
20174
  name: "ERadioGroup",
20171
20175
  mixins: [Nt],
20172
20176
  props: {
@@ -20559,14 +20563,14 @@ const f7 = p7.exports, zn = {
20559
20563
  EGlobalSearch: Nc,
20560
20564
  ESvgIcon: X4,
20561
20565
  ECalendarHeatmap: tc,
20562
- EImagePlayer: h8,
20566
+ EImagePlayer: hu,
20563
20567
  EZoomableImg: rs,
20564
20568
  EZoomSlider: ts,
20565
20569
  EActionButton: xt,
20566
20570
  ETooltip: es,
20567
- ELayout: v8,
20568
- EChat: Ju,
20569
- EContextProvider: x8,
20571
+ ELayout: vu,
20572
+ EChat: J8,
20573
+ EContextProvider: xu,
20570
20574
  ECopyToClipboardBtn: ss,
20571
20575
  EPopover: Ji,
20572
20576
  EVoiceRecorderToText: as,
@@ -20609,9 +20613,9 @@ export {
20609
20613
  Qi as EHeatmapBar,
20610
20614
  c2 as EHoursHeatmap,
20611
20615
  Ze as EIcon,
20612
- h8 as EImagePlayer,
20616
+ hu as EImagePlayer,
20613
20617
  E2 as EImagesComparator,
20614
- v8 as ELayout,
20618
+ vu as ELayout,
20615
20619
  Ji as EPopover,
20616
20620
  i7 as ERadioGroup,
20617
20621
  f2 as EReadMore,