@commentkit/comment-kit 0.7.3 → 0.7.4
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/CHANGELOG.md +6 -0
- package/dist/angular.es.js +2 -2
- package/dist/comment-kit.es.js +3 -3
- package/dist/demo.es.js +2 -2
- package/dist/headless.es.js +2 -2
- package/dist/preact.es.js +2 -2
- package/dist/qwik.qwik.mjs +2 -2
- package/dist/react.es.js +2 -2
- package/dist/shared/{annotation-toolbar-XpqojzM2.js → annotation-toolbar-CpPKy0oq.js} +2 -2
- package/dist/shared/{attachment-refresh-agUheZPF.js → attachment-refresh-DmVkfPtl.js} +1 -1
- package/dist/shared/{capture-colors-CxSLsU5-.js → capture-colors-D0uLr-vZ.js} +12 -2
- package/dist/shared/{comment-drawing-canvas-B3zqdIZH.js → comment-drawing-canvas-zIPS1dnW.js} +2 -2
- package/dist/shared/{comment-image-lightbox-j9y3Klh6.js → comment-image-lightbox-CdMNf0_y.js} +2 -2
- package/dist/shared/{comment-images-content-aJrMaOi9.js → comment-images-content-DqeqmQnb.js} +3 -3
- package/dist/shared/{comment-kit-core-Bsyydwpk.js → comment-kit-core-C-0JJS2i.js} +7 -7
- package/dist/shared/{comment-kit-ui-qKjCHHOy.js → comment-kit-ui-CBaz7L3u.js} +9 -9
- package/dist/shared/{comment-screenshot-annotator-aDtgMbBF.js → comment-screenshot-annotator-CuYmKafz.js} +2 -2
- package/dist/shared/{comment-screenshot-overlay-B-rAubia.js → comment-screenshot-overlay-Dw81osel.js} +16 -13
- package/dist/shared/{dev-export-panel-mrxmtzei.js → dev-export-panel-D08M2LKD.js} +1 -1
- package/dist/shared/{dev-grab-Cc-lJYBv.js → dev-grab-BJLZZ2xU.js} +1 -1
- package/dist/shared/{element-selector-4TxTAXHK.js → element-selector-Biyn2cpR.js} +2 -2
- package/dist/shared/{mount-ui-Dbqe5VsO.js → mount-ui-DXdL3p9b.js} +4 -4
- package/dist/shared/{pusher-zAMukOay.js → pusher-D4M5K6Dk.js} +1 -1
- package/dist/shared/{realtime-t5o6fk6w.js → realtime-BTqYEy8s.js} +2 -2
- package/dist/shared/{shadow-root-DlfbvZF9.js → shadow-root-C58Ap5Nu.js} +1 -1
- package/dist/shared/{token-session-ZzSO1tEl.js → token-session-D0Y_HZw0.js} +1 -1
- package/dist/shared/{websocket-manager-DGN8T9mq.js → websocket-manager-BFKa95TO.js} +2 -2
- package/dist/solid.es.js +2 -2
- package/dist/svelte.es.js +2 -2
- package/dist/vue.es.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.7.4] - 2026-10-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fix screenshots on SVG transitions and long pages; preserve scroll position, host styles, redaction and custom providers.
|
|
13
|
+
|
|
8
14
|
## [0.7.3] - 2026-10-17
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/dist/angular.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { Inject as o, Injectable as s, InjectionToken as c, Optional as l } from "@angular/core";
|
|
@@ -247,7 +247,7 @@ var v = class {
|
|
|
247
247
|
}
|
|
248
248
|
async mountSharedUI(e, t, n) {
|
|
249
249
|
try {
|
|
250
|
-
let { mountCommentKitUI: n } = await import("./shared/mount-ui-
|
|
250
|
+
let { mountCommentKitUI: n } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
251
251
|
if (this.core !== e || this.lifecycleId !== t) return;
|
|
252
252
|
let r = await n(e);
|
|
253
253
|
if (this.core !== e || this.lifecycleId !== t) {
|
package/dist/comment-kit.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./shared/websocket-manager-
|
|
2
|
-
import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/websocket-manager-BFKa95TO.js";
|
|
2
|
+
import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
|
|
4
4
|
import "./headless.es.js";
|
|
5
5
|
async function w(e) {
|
|
@@ -14,7 +14,7 @@ var T = typeof window < "u", E = class {
|
|
|
14
14
|
async mount() {
|
|
15
15
|
let e = this.core;
|
|
16
16
|
try {
|
|
17
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
17
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
18
18
|
if (this.destroyed) return;
|
|
19
19
|
let n = await t(e);
|
|
20
20
|
if (this.destroyed) {
|
package/dist/demo.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as e, r as t } from "./shared/validation-3wbbbuX0.js";
|
|
2
|
-
import { t as n, v as r } from "./shared/comment-kit-core-
|
|
2
|
+
import { t as n, v as r } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
var i = 864e5, a = 512e3, o = 50, s = 20, c = "commentkit:demo:", l = {
|
|
4
4
|
id: "local-demo-you",
|
|
5
5
|
name: "You",
|
|
@@ -444,7 +444,7 @@ async function w(e = {}) {
|
|
|
444
444
|
}
|
|
445
445
|
}, t), i;
|
|
446
446
|
try {
|
|
447
|
-
let { mountCommentKitUI: e } = await import("./shared/mount-ui-
|
|
447
|
+
let { mountCommentKitUI: e } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
448
448
|
i = await e(r);
|
|
449
449
|
} catch (e) {
|
|
450
450
|
throw r.destroy(), C = !1, e;
|
package/dist/headless.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/websocket-manager-
|
|
2
|
-
import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/websocket-manager-BFKa95TO.js";
|
|
2
|
+
import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
|
|
4
4
|
export { t as ApiClient, s as CommentKitCore, i as EventEmitter, o as SDK_VERSION, e as WebSocketManager, a as createAgentContext, S as debounce, _ as findElement, r as formatAgentContext, l as formatMention, b as generateId, m as generateSelector, u as generateXPath, v as getCurrentPage, x as getElementBounds, d as getSelectionRange, h as getSelectionText, C as isElementVisible, f as isInteractiveElement, n as parseMentions, p as percentageToViewport, c as stripMentionMarkup, y as throttle, g as viewportToPercentage };
|
package/dist/preact.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { useEffect as o, useMemo as s, useRef as c, useState as l } from "preact/hooks";
|
|
@@ -34,7 +34,7 @@ function u(u) {
|
|
|
34
34
|
}
|
|
35
35
|
}, l = async (e) => {
|
|
36
36
|
try {
|
|
37
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
37
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
38
38
|
if (r || d.current !== e) return;
|
|
39
39
|
let n = await t(e);
|
|
40
40
|
if (r || d.current !== e) {
|
package/dist/qwik.qwik.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { noSerialize as o, useComputed$ as s, useSignal as c, useStore as l, useVisibleTask$ as u } from "@builder.io/qwik";
|
|
@@ -42,7 +42,7 @@ function d(d) {
|
|
|
42
42
|
}
|
|
43
43
|
}, b = async (e) => {
|
|
44
44
|
try {
|
|
45
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
45
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
46
46
|
if (u || g.value !== e) return;
|
|
47
47
|
let n = await t(e);
|
|
48
48
|
if (u || g.value !== e) {
|
package/dist/react.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
3
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
4
4
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
5
5
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
6
|
-
import { t as o } from "./shared/mount-ui-
|
|
6
|
+
import { t as o } from "./shared/mount-ui-DXdL3p9b.js";
|
|
7
7
|
import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as f } from "react";
|
|
8
8
|
import { Fragment as p, jsx as m } from "react/jsx-runtime";
|
|
9
9
|
function h(i, o = {}) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as e } from "./comment-kit-core-
|
|
1
|
+
import { u as e } from "./comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { D as t, I as n, L as r, T as i, c as a, d as o, f as s, g as c, m as l, p as u, s as d, t as f, u as p } from "./button-By0hGrJK.js";
|
|
3
3
|
import { $t as m, Ct as h, Et as g, Nt as _, Ot as v, Tt as y, Zt as ee, en as te, i as b, o as x, r as S, t as C, x as w, xt as T } from "./separator-aphZiRoJ.js";
|
|
4
4
|
import { E as ne, M as re, S as ie, h as ae, j as oe, n as se, t as ce, u as le, y as ue } from "./useValueChanged-CrzfD8l-.js";
|
|
5
5
|
import { a as de } from "./ShadowRootContext-CjciYxVN.js";
|
|
6
6
|
import { a as fe, i as pe, l as me, n as he, o as ge, r as E, s as D, t as _e, u as ve } from "./button-group-C285iSkZ.js";
|
|
7
|
-
import { A as O, B as k, D as ye, E as be, F as A, I as xe, L as j, M, O as Se, P as N, R as Ce, T as we, b as Te, d as P, f as Ee, k as De, o as F, s as I, w as L, x as Oe, y as R, z } from "./comment-kit-ui-
|
|
7
|
+
import { A as O, B as k, D as ye, E as be, F as A, I as xe, L as j, M, O as Se, P as N, R as Ce, T as we, b as Te, d as P, f as Ee, k as De, o as F, s as I, w as L, x as Oe, y as R, z } from "./comment-kit-ui-CBaz7L3u.js";
|
|
8
8
|
import { a as B, c as V, d as H, l as ke, n as U, o as Ae, r as je, s as W, t as G, u as Me } from "./annotation-icons-Dh-bmNYK.js";
|
|
9
9
|
import * as K from "react";
|
|
10
10
|
import { jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as e } from "./validation-3wbbbuX0.js";
|
|
2
2
|
import { n as t } from "./dist-De294MVF.js";
|
|
3
3
|
import { t as n } from "./button-By0hGrJK.js";
|
|
4
|
-
import { q as r } from "./comment-kit-ui-
|
|
4
|
+
import { q as r } from "./comment-kit-ui-CBaz7L3u.js";
|
|
5
5
|
import * as i from "react";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
function s(e) {
|
|
@@ -56,10 +56,19 @@ function n(n) {
|
|
|
56
56
|
r += e.slice(i, a.index) + d, i = n.lastIndex = c + 1;
|
|
57
57
|
}
|
|
58
58
|
return r + e.slice(i);
|
|
59
|
-
}, c = [];
|
|
59
|
+
}, c = [], l = [];
|
|
60
60
|
for (let t of n.querySelectorAll("*")) {
|
|
61
61
|
if (!t.style) continue;
|
|
62
|
-
let n = r.getComputedStyle(t);
|
|
62
|
+
let n = r.getComputedStyle(t), i = n.getPropertyValue("transition-property"), a = n.getPropertyValue("animation-name");
|
|
63
|
+
i && i !== "none" && l.push([
|
|
64
|
+
t.style,
|
|
65
|
+
"transition-property",
|
|
66
|
+
"none"
|
|
67
|
+
]), a && a !== "none" && l.push([
|
|
68
|
+
t.style,
|
|
69
|
+
"animation-play-state",
|
|
70
|
+
"paused"
|
|
71
|
+
]);
|
|
63
72
|
for (let r of e) {
|
|
64
73
|
let e = n.getPropertyValue(r), i = s(e);
|
|
65
74
|
i !== e && c.push([
|
|
@@ -69,6 +78,7 @@ function n(n) {
|
|
|
69
78
|
]);
|
|
70
79
|
}
|
|
71
80
|
}
|
|
81
|
+
for (let [e, t, n] of l) e.setProperty(t, n, "important");
|
|
72
82
|
for (let [e, t, n] of c) e.setProperty(t, n, "important");
|
|
73
83
|
}
|
|
74
84
|
export { n as normalizeCaptureColors };
|
package/dist/shared/{comment-drawing-canvas-B3zqdIZH.js → comment-drawing-canvas-zIPS1dnW.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./annotation-toolbar-
|
|
2
|
-
import { N as r, a as i, g as a, i as o } from "./comment-kit-ui-
|
|
1
|
+
import { n as e, r as t, t as n } from "./annotation-toolbar-CpPKy0oq.js";
|
|
2
|
+
import { N as r, a as i, g as a, i as o } from "./comment-kit-ui-CBaz7L3u.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
5
|
var d = ".ck-annotation-toolbar{background-color:var(--background);width:100%;max-width:100%;box-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a, 0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:2rem;flex-wrap:wrap;justify-content:center;align-items:center;gap:.375rem .5rem;margin-inline:auto;padding:.375rem;display:flex}@media (width>=1024px){.ck-annotation-toolbar{width:fit-content}}.ck-annotation-separator.ck-separator[data-orientation=vertical]{height:1rem;display:none}@media (width>=1024px){.ck-annotation-separator.ck-separator[data-orientation=vertical]{display:block}}.ck-annotation-stroke{align-items:center;gap:.5rem;width:7rem;padding-inline:.25rem;display:flex}@media (width>=1024px){.ck-annotation-stroke{width:12rem}}.ck-annotation-slider{flex:auto;min-width:0}.ck-annotation-stroke-label{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.75rem;line-height:1rem}.ck-annotation-swatch{background-color:var(--ck-bg);width:.875rem;height:.875rem;box-shadow:0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:999px}.ck-annotation-tooltip{align-items:center;gap:.375rem;display:inline-flex}.ck-annotation-save--disabled{opacity:.5}.ck-drawing-canvas{z-index:var(--z-ck-marker-layer);cursor:none;pointer-events:auto;flex-direction:column;padding-top:1rem;display:flex;position:fixed;inset:0}.ck-drawing-canvas-scrim{pointer-events:none;background-color:#0000004d;position:absolute;inset:0}@supports ((-webkit-backdrop-filter:blur(4px)) or (backdrop-filter:blur(4px))){.ck-drawing-canvas-scrim{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.ck-drawing-canvas-toolbar{z-index:1;cursor:auto;width:100%;min-width:0;margin-inline:auto;padding-inline:.75rem;position:relative}.ck-drawing-canvas-surface{z-index:0;touch-action:none;flex:auto;min-height:0;position:relative}.ck-drawing-canvas-error{border-radius:var(--radius-md);background:var(--background);width:max-content;max-width:calc(100vw - 1.5rem);color:var(--destructive);margin:.75rem auto;padding:.75rem;font-size:.875rem}";
|
package/dist/shared/{comment-image-lightbox-j9y3Klh6.js → comment-image-lightbox-CdMNf0_y.js}
RENAMED
|
@@ -3,8 +3,8 @@ import { s as t, t as n } from "./button-By0hGrJK.js";
|
|
|
3
3
|
import { i as r, o as i, r as a } from "./separator-aphZiRoJ.js";
|
|
4
4
|
import { t as o } from "./comment-icon-4SQd3nlz.js";
|
|
5
5
|
import { t as s } from "./button-group-C285iSkZ.js";
|
|
6
|
-
import { c, h as l, m as u, p as d } from "./comment-kit-ui-
|
|
7
|
-
import { r as f, t as p } from "./attachment-refresh-
|
|
6
|
+
import { c, h as l, m as u, p as d } from "./comment-kit-ui-CBaz7L3u.js";
|
|
7
|
+
import { r as f, t as p } from "./attachment-refresh-DmVkfPtl.js";
|
|
8
8
|
import * as m from "react";
|
|
9
9
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
10
10
|
var v = ".ck-dialog-content.ck-image-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;background-color:#0000;border:0;border-radius:0;justify-content:center;align-items:center;gap:0;padding:0;display:flex;inset:0;translate:none}@media (width>=640px){.ck-dialog-content.ck-image-lightbox{max-width:none}}.ck-root[data-theme=dark] .ck-dialog-content.ck-image-lightbox{box-shadow:none}.ck-image-lightbox-prev,.ck-image-lightbox-next{position:absolute}.ck-image-lightbox-prev{inset-inline-start:1rem}.ck-image-lightbox-next{inset-inline-end:1rem}.ck-image-lightbox-photo{object-fit:contain;width:auto;max-width:90vw;height:auto;max-height:90vh}.ck-image-lightbox-meta{border-radius:var(--radius-xl);background-color:var(--muted);text-align:center;max-width:90vw;color:var(--muted-foreground);padding:.25rem .625rem;font-size:.75rem;line-height:1rem;position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}.ck-image-lightbox-actions{top:1rem;position:absolute;inset-inline-end:1rem}.ck-image-lightbox-dots{gap:.5rem;display:flex;position:absolute;bottom:1.5rem}.ck-image-lightbox-dot{cursor:pointer;background-color:color-mix(in oklch, var(--foreground) 40%, transparent);border:0;border-radius:999px;width:.625rem;height:.625rem;padding:0;transition:background-color .15s cubic-bezier(.4,0,.2,1)}.ck-image-lightbox-dot:hover{background-color:color-mix(in oklch, var(--foreground) 60%, transparent)}.ck-image-lightbox-dot--active,.ck-image-lightbox-dot--active:hover{background-color:var(--foreground)}";
|
package/dist/shared/{comment-images-content-aJrMaOi9.js → comment-images-content-DqeqmQnb.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, s as t, t as n } from "./button-By0hGrJK.js";
|
|
2
2
|
import { t as r } from "./useRender-D1z_X_BY.js";
|
|
3
|
-
import { c as i, j as a, l as o, r as s } from "./comment-kit-ui-
|
|
4
|
-
import { n as c, r as l, t as u } from "./attachment-refresh-
|
|
3
|
+
import { c as i, j as a, l as o, r as s } from "./comment-kit-ui-CBaz7L3u.js";
|
|
4
|
+
import { n as c, r as l, t as u } from "./attachment-refresh-DmVkfPtl.js";
|
|
5
5
|
import * as d from "react";
|
|
6
6
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
var h = d.forwardRef(function({ ratio: e, className: n, style: r, ...i }, a) {
|
|
@@ -92,7 +92,7 @@ var x = d.forwardRef(function({ className: n, render: i, type: a, ...o }, s) {
|
|
|
92
92
|
render: i,
|
|
93
93
|
state: { slot: "attachment-trigger" }
|
|
94
94
|
});
|
|
95
|
-
}), S = () => import("./comment-image-lightbox-
|
|
95
|
+
}), S = () => import("./comment-image-lightbox-CdMNf0_y.js"), C = 3;
|
|
96
96
|
function w(e) {
|
|
97
97
|
return e.mimeType ? e.mimeType.startsWith("image/") : e.type === "screenshot" || e.type === "drawing" || e.thumbnail ? !0 : /^data:image\//i.test(e.url) || /\.(png|jpe?g|webp|gif|avif|svg)(?:[?#]|$)/i.test(e.filename ?? e.url);
|
|
98
98
|
}
|
|
@@ -2681,7 +2681,7 @@ async function ni(e, t, n, r = {}) {
|
|
|
2681
2681
|
scale: 2,
|
|
2682
2682
|
logging: !1,
|
|
2683
2683
|
ignoreElements: g,
|
|
2684
|
-
onclone: (e) => import("./capture-colors-
|
|
2684
|
+
onclone: (e) => import("./capture-colors-D0uLr-vZ.js").then(({ normalizeCaptureColors: t }) => t(e))
|
|
2685
2685
|
}), Rr, "html2canvas timed out after 15s");
|
|
2686
2686
|
if (i.width > Z || i.height > Z || i.width * i.height > Nr) throw Q("screenshot_too_large", "Captured area is too large to screenshot");
|
|
2687
2687
|
return Yr({
|
|
@@ -2729,7 +2729,7 @@ async function ii(e, t, n) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
var $ = null;
|
|
2731
2731
|
async function ai() {
|
|
2732
|
-
return $ || ($ = await import("./realtime-
|
|
2732
|
+
return $ || ($ = await import("./realtime-BTqYEy8s.js"), $);
|
|
2733
2733
|
}
|
|
2734
2734
|
var oi = typeof window < "u", si = /* @__PURE__ */ new Set([
|
|
2735
2735
|
"list",
|
|
@@ -2744,7 +2744,7 @@ var oi = typeof window < "u", si = /* @__PURE__ */ new Set([
|
|
|
2744
2744
|
"screenshot",
|
|
2745
2745
|
"select",
|
|
2746
2746
|
null
|
|
2747
|
-
]), li = 256, ui = "0.7.
|
|
2747
|
+
]), li = 256, ui = "0.7.4";
|
|
2748
2748
|
function di(e) {
|
|
2749
2749
|
let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
|
|
2750
2750
|
return t ? [
|
|
@@ -2929,7 +2929,7 @@ var mi = class extends tt {
|
|
|
2929
2929
|
};
|
|
2930
2930
|
}
|
|
2931
2931
|
let n = e.project?.sdkLatestVersion;
|
|
2932
|
-
n && pi(n, "0.7.
|
|
2932
|
+
n && pi(n, "0.7.4") && (console.warn(`[CommentKit] You are using v${ui}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
|
|
2933
2933
|
current: ui,
|
|
2934
2934
|
latest: n
|
|
2935
2935
|
})), this.setState({
|
|
@@ -3115,7 +3115,7 @@ var mi = class extends tt {
|
|
|
3115
3115
|
if (this.initialAuthToken = void 0, e === void 0) return;
|
|
3116
3116
|
let t = () => !this.destroyed && this.authRequestRevision === 0;
|
|
3117
3117
|
try {
|
|
3118
|
-
let { verifyAndRestoreToken: n } = await import("./token-session-
|
|
3118
|
+
let { verifyAndRestoreToken: n } = await import("./token-session-D0Y_HZw0.js");
|
|
3119
3119
|
await n(this.ctx, e, t, this.config.persistence !== "memory") && await this.afterAuthenticated();
|
|
3120
3120
|
} catch {
|
|
3121
3121
|
t() && this.handleAuthExpired();
|
|
@@ -3594,7 +3594,7 @@ var mi = class extends tt {
|
|
|
3594
3594
|
}
|
|
3595
3595
|
async grabElement(e, t) {
|
|
3596
3596
|
if (this.destroyed) return null;
|
|
3597
|
-
let { grabElement: n } = await import("./dev-grab-
|
|
3597
|
+
let { grabElement: n } = await import("./dev-grab-BJLZZ2xU.js");
|
|
3598
3598
|
if (this.destroyed) return null;
|
|
3599
3599
|
let r = await n(e, this.ctx, this.screenshotProvider, t);
|
|
3600
3600
|
return this.destroyed ? null : (r && this.emit("agent:element-grabbed", {
|
|
@@ -3604,7 +3604,7 @@ var mi = class extends tt {
|
|
|
3604
3604
|
}
|
|
3605
3605
|
async grabElements(e, t) {
|
|
3606
3606
|
if (this.destroyed) return null;
|
|
3607
|
-
let { grabElements: n } = await import("./dev-grab-
|
|
3607
|
+
let { grabElements: n } = await import("./dev-grab-BJLZZ2xU.js");
|
|
3608
3608
|
if (this.destroyed) return null;
|
|
3609
3609
|
let r = await n(e, this.ctx, this.screenshotProvider, t);
|
|
3610
3610
|
return this.destroyed ? null : (r && this.emit("agent:elements-grabbed", { count: r.results.length }), r);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as e } from "./websocket-manager-
|
|
1
|
+
import { o as e } from "./websocket-manager-BFKa95TO.js";
|
|
2
2
|
import { c as t, u as n } from "./validation-3wbbbuX0.js";
|
|
3
|
-
import { c as r, d as i, s as a, u as o } from "./comment-kit-core-
|
|
3
|
+
import { c as r, d as i, s as a, u as o } from "./comment-kit-core-C-0JJS2i.js";
|
|
4
4
|
import { a as s, f as c, i as l, m as u, n as d, o as f } from "./dom-Bhf4WFtY.js";
|
|
5
5
|
import { i as p } from "./text-B4HHZNaa.js";
|
|
6
|
-
import { a as m, i as h, o as g, r as _ } from "./mount-ui-
|
|
6
|
+
import { a as m, i as h, o as g, r as _ } from "./mount-ui-DXdL3p9b.js";
|
|
7
7
|
import { n as v, t as y } from "./dist-De294MVF.js";
|
|
8
8
|
import { B as b, C as x, D as S, I as C, L as w, O as T, R as E, T as D, V as O, _ as k, a as A, c as j, d as M, f as N, g as P, h as F, i as I, k as L, l as R, m as z, n as B, o as V, r as H, s as U, t as W, u as G, w as K, z as ee } from "./button-By0hGrJK.js";
|
|
9
9
|
import { $ as te, $t as q, A as ne, At as re, B as ie, C as ae, Ct as J, D as oe, E as se, Et as ce, F as le, Ft as ue, G as de, H as fe, I as pe, It as me, J as he, Jt as ge, K as _e, L as ve, Lt as ye, M as be, Mt as xe, N as Se, O as Ce, Ot as we, P as Te, Pt as Ee, Q as De, Qt as Oe, R as ke, S as Ae, St as je, T as Me, Tt as Ne, V as Pe, W as Fe, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Zt as Ve, _ as He, _t as Ue, a as We, an as Ge, b as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, et as tt, f as nt, fn as rt, ft as it, g as at, gt as ot, h as st, ht as ct, i as lt, in as ut, j as dt, jt as ft, k as pt, kt as mt, l as ht, ln as gt, m as _t, mt as vt, n as yt, nn as bt, o as xt, on as St, p as Ct, pn as wt, pt as Y, q as Tt, qt as Et, r as Dt, rn as Ot, s as kt, sn as At, st as jt, t as Mt, u as Nt, un as Pt, v as Ft, vt as It, w as Lt, xt as Rt, y as zt, yt as Bt, z as Vt } from "./separator-aphZiRoJ.js";
|
|
@@ -3281,7 +3281,7 @@ function zo({ load: e, label: t, children: n, onCancel: r, needed: i = !0, inlin
|
|
|
3281
3281
|
]
|
|
3282
3282
|
}) : null;
|
|
3283
3283
|
}
|
|
3284
|
-
var Bo = () => import("./comment-images-content-
|
|
3284
|
+
var Bo = () => import("./comment-images-content-DqeqmQnb.js"), Vo = Z.memo(function({ images: e }) {
|
|
3285
3285
|
return e.length === 0 ? null : /* @__PURE__ */ Q(zo, {
|
|
3286
3286
|
load: Bo,
|
|
3287
3287
|
label: "attachments",
|
|
@@ -8644,7 +8644,7 @@ function Lf({ mode: e = "reply", defaultValue: t = "", defaultExtras: n, allowMe
|
|
|
8644
8644
|
}
|
|
8645
8645
|
};
|
|
8646
8646
|
}
|
|
8647
|
-
var Rf = 2e3, zf = Z.lazy(() => import("./comment-image-lightbox-
|
|
8647
|
+
var Rf = 2e3, zf = Z.lazy(() => import("./comment-image-lightbox-CdMNf0_y.js").then((e) => ({ default: e.CommentImageLightbox }))), Bf = Z.memo(function({ mode: e = "reply", defaultValue: t = "", defaultExtras: n, allowMetadata: r = !0, images: i, availableUsers: a, highlightedText: o, quote: s, onClearQuote: c, uploads: l, onCancelUpload: u, onRetryUpload: d, onSubmit: f, onCancel: p, placeholder: m = "Reply...", disabled: h = !1 }) {
|
|
8648
8648
|
let g = Z.useRef(null), _ = Lf({
|
|
8649
8649
|
mode: e,
|
|
8650
8650
|
defaultValue: t,
|
|
@@ -9173,7 +9173,7 @@ var ap = Z.memo(function({ enabled: e, availableUsers: t, onSubmit: n }) {
|
|
|
9173
9173
|
children: e.author.name
|
|
9174
9174
|
})]
|
|
9175
9175
|
})] });
|
|
9176
|
-
}), sp = () => import("./comment-drawing-canvas-
|
|
9176
|
+
}), sp = () => import("./comment-drawing-canvas-zIPS1dnW.js"), cp = () => import("./comment-screenshot-overlay-Dw81osel.js");
|
|
9177
9177
|
function lp(e) {
|
|
9178
9178
|
try {
|
|
9179
9179
|
return e.getFeatures();
|
|
@@ -9227,7 +9227,7 @@ function dp({ core: e, state: t, remoteCursors: n, onScreenshotSave: r }) {
|
|
|
9227
9227
|
label: "screenshot tools",
|
|
9228
9228
|
onCancel: () => e.setTool(null),
|
|
9229
9229
|
children: ({ CommentScreenshotOverlay: t }) => /* @__PURE__ */ Q(t, {
|
|
9230
|
-
capturePage: s,
|
|
9230
|
+
capturePage: e.getConfig().screenshotProvider ? s : void 0,
|
|
9231
9231
|
availableUsers: o,
|
|
9232
9232
|
onCancel: () => {
|
|
9233
9233
|
e.setTool(null);
|
|
@@ -17076,7 +17076,7 @@ var zx = Z.memo(function({ thread: e, currentUserId: t, onReply: n, onResolve: r
|
|
|
17076
17076
|
})
|
|
17077
17077
|
]
|
|
17078
17078
|
});
|
|
17079
|
-
}), Bx = "0.7.
|
|
17079
|
+
}), Bx = "0.7.4";
|
|
17080
17080
|
function Vx({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i, onReact: a }) {
|
|
17081
17081
|
return /* @__PURE__ */ Q(ri, { children: /* @__PURE__ */ Q(m_, {
|
|
17082
17082
|
author: e.parent.author,
|
|
@@ -19518,7 +19518,7 @@ function BC({ core: e, state: t, dockSide: n, verticalEdge: r }) {
|
|
|
19518
19518
|
children: _
|
|
19519
19519
|
}) : _ : null] });
|
|
19520
19520
|
}
|
|
19521
|
-
var VC = /* @__PURE__ */ e({ CommentKitUI: () => $C }), HC = () => import("./element-selector-
|
|
19521
|
+
var VC = /* @__PURE__ */ e({ CommentKitUI: () => $C }), HC = () => import("./element-selector-Biyn2cpR.js"), UC = () => import("./dev-export-panel-D08M2LKD.js"), WC = {
|
|
19522
19522
|
comments: !0,
|
|
19523
19523
|
drawing: !0,
|
|
19524
19524
|
highlighting: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./annotation-toolbar-
|
|
2
|
-
import { N as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-
|
|
1
|
+
import { n as e, r as t, t as n } from "./annotation-toolbar-CpPKy0oq.js";
|
|
2
|
+
import { N as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-CBaz7L3u.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
5
|
function d(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as e } from "./comment-kit-core-
|
|
1
|
+
import { u as e } from "./comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { t } from "./capture-privacy-DUROnio5.js";
|
|
3
3
|
import { t as n } from "./button-By0hGrJK.js";
|
|
4
|
-
import { g as r, j as i, v as a } from "./comment-kit-ui-
|
|
4
|
+
import { g as r, j as i, v as a } from "./comment-kit-ui-CBaz7L3u.js";
|
|
5
5
|
import { d as o, i as s } from "./annotation-icons-Dh-bmNYK.js";
|
|
6
6
|
import * as c from "react";
|
|
7
7
|
import { useCallback as l, useEffect as u, useRef as d, useState as f } from "react";
|
|
@@ -33,11 +33,14 @@ function b(e) {
|
|
|
33
33
|
a(!0), s(null);
|
|
34
34
|
try {
|
|
35
35
|
let a = await Promise.race([(async () => {
|
|
36
|
+
if (t(document.body)) throw Error("Page capture is disabled");
|
|
36
37
|
let r = {
|
|
37
38
|
width: Math.max(document.documentElement.scrollWidth, document.body?.scrollWidth ?? 0, window.innerWidth),
|
|
38
39
|
height: Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0, window.innerHeight),
|
|
39
40
|
scrollX: window.scrollX,
|
|
40
|
-
scrollY: window.scrollY
|
|
41
|
+
scrollY: window.scrollY,
|
|
42
|
+
windowWidth: window.innerWidth,
|
|
43
|
+
windowHeight: window.innerHeight
|
|
41
44
|
};
|
|
42
45
|
if (e) {
|
|
43
46
|
let t = await e();
|
|
@@ -51,23 +54,23 @@ function b(e) {
|
|
|
51
54
|
throw Error("Screenshot requires either a custom screenshotProvider in config or html2canvas installed. Install html2canvas: npm install html2canvas — or provide config.screenshotProvider.");
|
|
52
55
|
}
|
|
53
56
|
if (i !== c.current) return null;
|
|
54
|
-
let o =
|
|
55
|
-
if (
|
|
57
|
+
let o = n?.width ?? r.width, s = n?.height ?? r.height;
|
|
58
|
+
if (o > 16384 || s > 16384 || o * s > v) throw Error("Selected area is too large to capture");
|
|
56
59
|
return (await a(document.body, {
|
|
57
60
|
useCORS: !0,
|
|
58
61
|
allowTaint: !1,
|
|
59
62
|
scale: 1,
|
|
60
63
|
logging: !1,
|
|
61
64
|
ignoreElements: t,
|
|
62
|
-
onclone: (e) => import("./capture-colors-
|
|
65
|
+
onclone: (e) => import("./capture-colors-D0uLr-vZ.js").then(({ normalizeCaptureColors: t }) => t(e)),
|
|
63
66
|
x: n ? n.x + r.scrollX : 0,
|
|
64
67
|
y: n ? n.y + r.scrollY : 0,
|
|
65
|
-
width:
|
|
66
|
-
height:
|
|
67
|
-
windowWidth:
|
|
68
|
-
windowHeight:
|
|
69
|
-
scrollX:
|
|
70
|
-
scrollY:
|
|
68
|
+
width: o,
|
|
69
|
+
height: s,
|
|
70
|
+
windowWidth: r.windowWidth,
|
|
71
|
+
windowHeight: r.windowHeight,
|
|
72
|
+
scrollX: r.scrollX,
|
|
73
|
+
scrollY: r.scrollY
|
|
71
74
|
})).toDataURL("image/png");
|
|
72
75
|
})(), new Promise((e, t) => {
|
|
73
76
|
m.current = setTimeout(() => t(/* @__PURE__ */ Error("Screenshot timed out")), _);
|
|
@@ -85,7 +88,7 @@ function b(e) {
|
|
|
85
88
|
}, [])
|
|
86
89
|
};
|
|
87
90
|
}
|
|
88
|
-
var x = () => import("./comment-screenshot-annotator-
|
|
91
|
+
var x = () => import("./comment-screenshot-annotator-CuYmKafz.js");
|
|
89
92
|
function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
|
|
90
93
|
let { imageUrl: f, capturing: p, error: g, capture: _, reset: v } = b(t), y = c.useRef(null), [S, C] = c.useState(null), [w, T] = c.useState(null), E = S !== null, D = c.useMemo(() => !S || !w ? null : {
|
|
91
94
|
x: Math.min(S.x, w.x),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./button-By0hGrJK.js";
|
|
2
2
|
import { i as t, o as n, r, t as i } from "./separator-aphZiRoJ.js";
|
|
3
3
|
import { t as a } from "./createReactComponent-BZHeRbD0.js";
|
|
4
|
-
import { C as o, H as s, U as c, W as l, u } from "./comment-kit-ui-
|
|
4
|
+
import { C as o, H as s, U as c, W as l, u } from "./comment-kit-ui-CBaz7L3u.js";
|
|
5
5
|
import * as d from "react";
|
|
6
6
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
var h = a("outline", "refresh", "Refresh", [["path", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e, g as t, p as n, r } from "./comment-kit-core-
|
|
1
|
+
import { f as e, g as t, p as n, r } from "./comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { a as i, i as a, o } from "./dom-Bhf4WFtY.js";
|
|
3
3
|
import { n as s, t as c } from "./capture-privacy-DUROnio5.js";
|
|
4
4
|
import { a as l, n as u, t as d } from "./text-B4HHZNaa.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as e } from "./comment-kit-core-
|
|
1
|
+
import { u as e } from "./comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { a as t, i as n, m as r, n as i, o as a } from "./dom-Bhf4WFtY.js";
|
|
3
3
|
import { n as o } from "./dist-De294MVF.js";
|
|
4
4
|
import { t as s } from "./button-By0hGrJK.js";
|
|
5
5
|
import { t as c } from "./createReactComponent-BZHeRbD0.js";
|
|
6
|
-
import { G as l, K as ee, S as te, V as u, n as ne } from "./comment-kit-ui-
|
|
6
|
+
import { G as l, K as ee, S as te, V as u, n as ne } from "./comment-kit-ui-CBaz7L3u.js";
|
|
7
7
|
import * as d from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
9
9
|
var re = c("outline", "paperclip", "Paperclip", [["path", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as e } from "./websocket-manager-
|
|
2
|
-
import { u as t } from "./comment-kit-core-
|
|
1
|
+
import { o as e } from "./websocket-manager-BFKa95TO.js";
|
|
2
|
+
import { u as t } from "./comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
import { n } from "./errors-Bu5ajEmB.js";
|
|
4
4
|
var r = null, i = /* @__PURE__ */ new Set();
|
|
5
5
|
function a() {
|
|
@@ -150,9 +150,9 @@ async function b(e, r = {}) {
|
|
|
150
150
|
import("react"),
|
|
151
151
|
import("react-dom/client"),
|
|
152
152
|
import("./styles-CnYsLS2f.js"),
|
|
153
|
-
import("./shadow-root-
|
|
153
|
+
import("./shadow-root-C58Ap5Nu.js"),
|
|
154
154
|
import("./error-boundary-D3PD74vI.js"),
|
|
155
|
-
import("./comment-kit-ui-
|
|
155
|
+
import("./comment-kit-ui-CBaz7L3u.js").then((e) => e.t)
|
|
156
156
|
]);
|
|
157
157
|
if (!h || t !== w) return;
|
|
158
158
|
let f = g(n, "createElement"), p = g(r, "createRoot"), m = l.ShadowContainer, _ = u.ErrorBoundary;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./websocket-manager-
|
|
1
|
+
import { a as e } from "./websocket-manager-BFKa95TO.js";
|
|
2
2
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
3
3
|
(function(n, r) {
|
|
4
4
|
typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.Pusher = r() : n.Pusher = r();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./websocket-manager-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./websocket-manager-BFKa95TO.js";
|
|
2
2
|
import { a as i, d as a, i as o, l as s, o as c } from "./validation-3wbbbuX0.js";
|
|
3
|
-
import { s as l } from "./comment-kit-core-
|
|
3
|
+
import { s as l } from "./comment-kit-core-C-0JJS2i.js";
|
|
4
4
|
import { o as u } from "./dom-Bhf4WFtY.js";
|
|
5
5
|
import { i as d } from "./text-B4HHZNaa.js";
|
|
6
6
|
var f = l.ID, p = l.CONTENT, m = l.NAME, h = l.EMAIL, g = l.PAGE, _ = l.EMOJI, v = l.ONLINE_USERS, y = l.REACTION_COUNT, b = 33, x = 1e3, S = l.CURSOR_EMITS_PER_SEC;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e, r as t } from "./mount-ui-
|
|
1
|
+
import { o as e, r as t } from "./mount-ui-DXdL3p9b.js";
|
|
2
2
|
import { i as n, n as r, t as i } from "./ShadowRootContext-CjciYxVN.js";
|
|
3
3
|
import * as a from "react";
|
|
4
4
|
import { useCallback as o, useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as e } from "./validation-3wbbbuX0.js";
|
|
2
|
-
import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-
|
|
2
|
+
import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
async function a(a, o, s, c) {
|
|
4
4
|
if (!s()) return !1;
|
|
5
5
|
if (!e(o, 4096)) throw Error("Invalid member session token");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as e, f as t, i as n, l as r, o as i, p as a } from "./validation-3wbbbuX0.js";
|
|
2
|
-
import { s as o } from "./comment-kit-core-
|
|
2
|
+
import { s as o } from "./comment-kit-core-C-0JJS2i.js";
|
|
3
3
|
import { i as s } from "./text-B4HHZNaa.js";
|
|
4
4
|
var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), h = (e, t) => {
|
|
5
5
|
let n = {};
|
|
@@ -57,7 +57,7 @@ function S(e) {
|
|
|
57
57
|
}
|
|
58
58
|
var C = null;
|
|
59
59
|
function w() {
|
|
60
|
-
return C ||= import("./pusher-
|
|
60
|
+
return C ||= import("./pusher-D4M5K6Dk.js").then((e) => /* @__PURE__ */ _(e.default, 1)).then((e) => e.default ?? e), C;
|
|
61
61
|
}
|
|
62
62
|
var T = o.ID, E = o.NAME, D = o.EMAIL, O = o.PAGE, k = o.COLOR, A = o.DRAWING_PATH_DATA, j = o.DRAWING_TEXT, M = o.ONLINE_USERS, N = {
|
|
63
63
|
id: "unknown",
|
package/dist/solid.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { createMemo as o, createSignal as s, onCleanup as c, onMount as l } from "solid-js";
|
|
@@ -24,7 +24,7 @@ function u(u) {
|
|
|
24
24
|
}
|
|
25
25
|
}, K = async (e) => {
|
|
26
26
|
try {
|
|
27
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
27
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
28
28
|
if (w || x !== e) return;
|
|
29
29
|
let n = await t(e);
|
|
30
30
|
if (w || x !== e) {
|
package/dist/svelte.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { onDestroy as o } from "svelte";
|
|
@@ -23,7 +23,7 @@ function d(o) {
|
|
|
23
23
|
} catch {}
|
|
24
24
|
}, B = async (e) => {
|
|
25
25
|
try {
|
|
26
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
26
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
27
27
|
if (I || c(d) !== e) return;
|
|
28
28
|
let n = await t(e);
|
|
29
29
|
if (I || c(d) !== e) {
|
package/dist/vue.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-C-0JJS2i.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
|
|
3
3
|
import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
|
|
4
4
|
import { computed as o, h as s, onMounted as c, onUnmounted as l, shallowRef as u, watch as d } from "vue";
|
|
@@ -19,7 +19,7 @@ function f(s) {
|
|
|
19
19
|
} catch {}
|
|
20
20
|
}, V = async (e) => {
|
|
21
21
|
try {
|
|
22
|
-
let { mountCommentKitUI: t } = await import("./shared/mount-ui-
|
|
22
|
+
let { mountCommentKitUI: t } = await import("./shared/mount-ui-DXdL3p9b.js").then((e) => e.n);
|
|
23
23
|
if (L || _.value !== e) return;
|
|
24
24
|
let n = await t(e);
|
|
25
25
|
if (L || _.value !== e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commentkit/comment-kit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Figma-style collaborative commenting, drawing, and feedback tools for any website. Works with React, Vue, Svelte, Angular, and Vanilla JS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|