@encatch/web-sdk 0.0.32-beta.1 → 0.0.32
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,4 +1,4 @@
|
|
|
1
|
-
import { l as oa, x as Zb, k as Fh, t as Wb, u as As } from "./module-
|
|
1
|
+
import { l as oa, x as Zb, k as Fh, t as Wb, u as As } from "./module-BpItk8YS.js";
|
|
2
2
|
var Jo, Dt, pc, rd, Xo = 0, qh = [], Ut = oa, nd = Ut.__b, id = Ut.__r, od = Ut.diffed, sd = Ut.__c, ad = Ut.unmount, cd = Ut.__;
|
|
3
3
|
function jl(e, t) {
|
|
4
4
|
Ut.__h && Ut.__h(Dt, e, Xo || t), Xo = 0;
|
|
@@ -16436,7 +16436,7 @@ async function fb(e) {
|
|
|
16436
16436
|
userText: e.userText
|
|
16437
16437
|
});
|
|
16438
16438
|
}
|
|
16439
|
-
var oT = /* @__PURE__ */ ne('<span class="text-lg font-medium text-muted-foreground min-w-[1.25rem]"> </span>'), sT = /* @__PURE__ */ ne('<span class="text-destructive ml-1">*</span>'), aT = /* @__PURE__ */ ne('<p class="text-sm text-muted-foreground leading-relaxed"> </p>'), cT = /* @__PURE__ */ ne('<div class="flex items-center gap-2 text-sm text-destructive bg-destructive/5 px-4 mx-4 py-2 rounded-md border border-destructive/20"><span class="font-normal"> </span></div>'), lT = /* @__PURE__ */ ti('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg>'), uT = /* @__PURE__ */ ne('<div class="flex items-center gap-1 border border-border rounded-lg p-0.5"><!> <span class="text-xs font-medium text-muted-foreground px-2"> </span> <!></div>'), dT = /* @__PURE__ */ ne('<!> <span class="text-
|
|
16439
|
+
var oT = /* @__PURE__ */ ne('<span class="text-lg font-medium text-muted-foreground min-w-[1.25rem]"> </span>'), sT = /* @__PURE__ */ ne('<span class="text-destructive ml-1">*</span>'), aT = /* @__PURE__ */ ne('<p class="text-sm text-muted-foreground leading-relaxed"> </p>'), cT = /* @__PURE__ */ ne('<div class="flex items-center gap-2 text-sm text-destructive bg-destructive/5 px-4 mx-4 py-2 rounded-md border border-destructive/20"><span class="font-normal"> </span></div>'), lT = /* @__PURE__ */ ti('<svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg>'), uT = /* @__PURE__ */ ne('<div class="flex items-center gap-1 border border-border rounded-lg p-0.5"><!> <span class="text-xs font-medium text-muted-foreground px-2"> </span> <!></div>'), dT = /* @__PURE__ */ ne('<!> <span class="text-foreground">Reset</span>', 1), fT = /* @__PURE__ */ ne('<div class="flex items-center gap-2 text-sm text-green-700 dark:text-green-400 bg-green-50 dark:bg-green-950/30 px-3 py-2 rounded-md border border-green-200 dark:border-green-900"><svg class="w-4 h-4 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg> <span class="font-medium"> </span></div>'), hT = /* @__PURE__ */ ne('<div class="flex items-center gap-2 text-sm text-destructive bg-destructive/10 px-3 py-2 rounded-md border border-destructive/20"><svg class="w-4 h-4 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="font-medium"> </span></div>'), pT = /* @__PURE__ */ ne('<div class="flex items-center gap-2 flex-wrap"><!> <!> <!></div> <!> <!>', 1), gT = /* @__PURE__ */ ne('<div class="w-full space-y-4"><div class="flex text-left items-start gap-3"><!> <div class="flex-1 space-y-1.5"><div class="text-lg font-medium text-foreground leading-tight"> <!></div> <!></div></div> <!> <div class="relative"><!> <div> </div></div> <!></div>');
|
|
16440
16440
|
function mT(e, t) {
|
|
16441
16441
|
Be(t, !1);
|
|
16442
16442
|
const r = /* @__PURE__ */ te(), n = /* @__PURE__ */ te(), i = /* @__PURE__ */ te(), o = /* @__PURE__ */ te(), s = /* @__PURE__ */ te(), a = /* @__PURE__ */ te(), u = /* @__PURE__ */ te(), c = /* @__PURE__ */ te();
|
|
@@ -16752,7 +16752,7 @@ function mT(e, t) {
|
|
|
16752
16752
|
title: "Back to original text",
|
|
16753
16753
|
children: (ze, ut) => {
|
|
16754
16754
|
var dt = dT(), ir = Se(dt);
|
|
16755
|
-
Um(ir, { size: 16 }), $r(2), O(ze, dt);
|
|
16755
|
+
Um(ir, { size: 16, class: "text-foreground" }), $r(2), O(ze, dt);
|
|
16756
16756
|
},
|
|
16757
16757
|
$$slots: { default: !0 }
|
|
16758
16758
|
});
|
|
@@ -319,7 +319,7 @@ async function Ee() {
|
|
|
319
319
|
if (!(te || typeof window > "u" || typeof document > "u")) {
|
|
320
320
|
te = !0;
|
|
321
321
|
try {
|
|
322
|
-
const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-
|
|
322
|
+
const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-Ag91pd4Q.js")).default;
|
|
323
323
|
if (typeof document > "u") return;
|
|
324
324
|
let n = document.getElementById("enisght-root");
|
|
325
325
|
!n && document.body && (n = document.createElement("div"), n.id = "enisght-root", document.body.appendChild(n)), n && t(/* @__PURE__ */ Se(e, {}), n);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@encatch/web-sdk",
|
|
3
|
-
"version": "0.0.32
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "A powerful, lightweight JavaScript SDK for collecting user feedback and running surveys on web applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist-sdk/plugin/sdk/module.js",
|