@commentkit/comment-kit 0.6.9 → 0.7.0
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 +36 -4
- package/LICENSE +18 -2
- package/README.md +133 -88
- package/SECURITY.md +48 -0
- package/dist/THIRD_PARTY_NOTICES.txt +284 -0
- package/dist/angular.es.js +25 -12
- package/dist/comment-kit.es.js +23 -11
- package/dist/demo.es.js +146 -69
- package/dist/headless.es.js +2 -2
- package/dist/preact.es.js +3 -3
- package/dist/qwik.es.js +1 -110
- package/dist/qwik.qwik.mjs +114 -0
- package/dist/react.es.js +3 -3
- package/dist/shared/annotation-icons-Dh-bmNYK.js +172 -0
- package/dist/shared/annotation-toolbar-B9SxYqoF.js +1093 -0
- package/dist/shared/{bridge-DRE03N9X.js → bridge-CJoGYngu.js} +6 -3
- package/dist/shared/{button-group-CHfMRXyA.js → button-group-Cl9CrvvU.js} +1 -1
- package/dist/shared/comment-drawing-canvas-Dzb5YoFw.js +124 -0
- package/dist/shared/{comment-image-lightbox-0VdAs2iT.js → comment-image-lightbox-BPYJT1sB.js} +62 -57
- package/dist/shared/{comment-kit-core-D0kY00St.js → comment-kit-core-BaSuMzp9.js} +1027 -729
- package/dist/shared/comment-kit-ui-CzfdAZs2.js +20181 -0
- package/dist/shared/comment-screenshot-annotator-C7X-_bm6.js +151 -0
- package/dist/shared/comment-screenshot-overlay-wIrZrcRy.js +206 -0
- package/dist/shared/comment-utils-BycYTSxA.js +602 -0
- package/dist/shared/{dev-export-panel-BLngcr5q.js → dev-export-panel-FwFVdady.js} +8 -8
- package/dist/shared/{dev-grab-pDAfH2lr.js → dev-grab-DDqg0LQf.js} +1 -1
- package/dist/shared/dist-De294MVF.js +623 -0
- package/dist/shared/{element-selector-CtFzgHvq.js → element-selector-BhJm-NSs.js} +294 -288
- package/dist/shared/{icons-BSHCWYO1.js → icons-nzMOLzrm.js} +2 -3
- package/dist/shared/{mount-ui-CVivB_eQ.js → mount-ui--ijs8pWT.js} +4 -4
- package/dist/shared/{pusher-BEl7Qn-8.js → pusher-ipHMJnO_.js} +1 -1
- package/dist/shared/{realtime-BG_t_ze7.js → realtime-Dk41VwKg.js} +71 -50
- package/dist/shared/{separator-DusFNTs-.js → separator-XDBsaWyw.js} +891 -785
- package/dist/shared/{shadow-root-CmYXiSRR.js → shadow-root-C5v-T8lQ.js} +1 -1
- package/dist/shared/styles-D3yMtaec.js +2 -0
- package/dist/shared/{useValueChanged-DQXLia-2.js → useValueChanged-CrzfD8l-.js} +15 -15
- package/dist/shared/{websocket-manager-BTRqNTB7.js → websocket-manager-DhLWh3Jr.js} +2 -2
- package/dist/solid.es.js +3 -3
- package/dist/svelte.es.js +3 -3
- package/dist/types/adapters/bridge.d.ts +9 -12
- package/dist/types/angular/index.d.ts +15 -5
- package/dist/types/core/api-client.d.ts +16 -17
- package/dist/types/core/comment-kit-core.d.ts +19 -11
- package/dist/types/core/local-demo.d.ts +1 -0
- package/dist/types/core/types.d.ts +68 -0
- package/dist/types/headless.d.ts +1 -1
- package/dist/types/index.d.ts +8 -4
- package/dist/types/qwik/index.d.ts +4 -1
- package/dist/vue.es.js +3 -3
- package/docs/api-reference.md +372 -0
- package/docs/local-demo.md +60 -0
- package/package.json +16 -6
- package/dist/shared/annotation-toolbar-pX17NLmJ.js +0 -1104
- package/dist/shared/clamp-CcFVX0vC.js +0 -55
- package/dist/shared/comment-drawing-canvas-CYu5SwRf.js +0 -126
- package/dist/shared/comment-kit-ui-D2j2gvnm.js +0 -16685
- package/dist/shared/comment-screenshot-annotator-BuojwviY.js +0 -137
- package/dist/shared/comment-screenshot-overlay-BZX0Vcb8.js +0 -144
- package/dist/shared/local-demo-context-BohlYbHt.js +0 -6
- package/dist/shared/resolveAriaLabelledBy-CIKpnjNJ.js +0 -669
- package/dist/shared/styles-D_FEJZ9G.js +0 -2
- package/dist/shared/useLabelableId-DGbfdMi_.js +0 -155
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
Third-party code included in CommentKit
|
|
2
|
+
|
|
3
|
+
The following notices apply to their respective dependencies and vendored assets.
|
|
4
|
+
CommentKit's own license is in the package LICENSE file.
|
|
5
|
+
|
|
6
|
+
@base-ui/react@1.9.0
|
|
7
|
+
====================
|
|
8
|
+
|
|
9
|
+
MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2019 Material-UI SAS
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@base-ui/utils@0.5.0
|
|
33
|
+
====================
|
|
34
|
+
|
|
35
|
+
MIT License
|
|
36
|
+
|
|
37
|
+
Copyright (c) 2019 Material-UI SAS
|
|
38
|
+
|
|
39
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
41
|
+
in the Software without restriction, including without limitation the rights
|
|
42
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
44
|
+
furnished to do so, subject to the following conditions:
|
|
45
|
+
|
|
46
|
+
The above copyright notice and this permission notice shall be included in all
|
|
47
|
+
copies or substantial portions of the Software.
|
|
48
|
+
|
|
49
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
+
SOFTWARE.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@floating-ui/core@1.8.0
|
|
59
|
+
=======================
|
|
60
|
+
|
|
61
|
+
MIT License
|
|
62
|
+
|
|
63
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
64
|
+
|
|
65
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
66
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
67
|
+
the Software without restriction, including without limitation the rights to
|
|
68
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
69
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
70
|
+
subject to the following conditions:
|
|
71
|
+
|
|
72
|
+
The above copyright notice and this permission notice shall be included in all
|
|
73
|
+
copies or substantial portions of the Software.
|
|
74
|
+
|
|
75
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
76
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
77
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
78
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
79
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
80
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
@floating-ui/dom@1.8.0
|
|
84
|
+
======================
|
|
85
|
+
|
|
86
|
+
MIT License
|
|
87
|
+
|
|
88
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
89
|
+
|
|
90
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
91
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
92
|
+
the Software without restriction, including without limitation the rights to
|
|
93
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
94
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
95
|
+
subject to the following conditions:
|
|
96
|
+
|
|
97
|
+
The above copyright notice and this permission notice shall be included in all
|
|
98
|
+
copies or substantial portions of the Software.
|
|
99
|
+
|
|
100
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
101
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
102
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
103
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
104
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
105
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
@floating-ui/react-dom@2.1.9
|
|
109
|
+
============================
|
|
110
|
+
|
|
111
|
+
MIT License
|
|
112
|
+
|
|
113
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
114
|
+
|
|
115
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
116
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
117
|
+
the Software without restriction, including without limitation the rights to
|
|
118
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
119
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
120
|
+
subject to the following conditions:
|
|
121
|
+
|
|
122
|
+
The above copyright notice and this permission notice shall be included in all
|
|
123
|
+
copies or substantial portions of the Software.
|
|
124
|
+
|
|
125
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
126
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
127
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
128
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
129
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
130
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
@floating-ui/utils@0.2.12
|
|
134
|
+
=========================
|
|
135
|
+
|
|
136
|
+
MIT License
|
|
137
|
+
|
|
138
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
139
|
+
|
|
140
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
141
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
142
|
+
the Software without restriction, including without limitation the rights to
|
|
143
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
144
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
145
|
+
subject to the following conditions:
|
|
146
|
+
|
|
147
|
+
The above copyright notice and this permission notice shall be included in all
|
|
148
|
+
copies or substantial portions of the Software.
|
|
149
|
+
|
|
150
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
151
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
152
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
153
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
154
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
155
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
@hugeicons/core-free-icons@4.3.5 (selected icon geometry)
|
|
159
|
+
=========================================================
|
|
160
|
+
|
|
161
|
+
Selected geometry from @hugeicons/core-free-icons 4.3.5.
|
|
162
|
+
MIT License
|
|
163
|
+
|
|
164
|
+
Copyright (c) 2025 Hugeicons
|
|
165
|
+
|
|
166
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
167
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
168
|
+
in the Software without restriction, including without limitation the rights
|
|
169
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
170
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
171
|
+
furnished to do so, subject to the following conditions:
|
|
172
|
+
|
|
173
|
+
The above copyright notice and this permission notice shall be included in all
|
|
174
|
+
copies or substantial portions of the Software.
|
|
175
|
+
|
|
176
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
177
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
178
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
179
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
180
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
181
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
182
|
+
SOFTWARE.
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
@tabler/icons-react@3.49.0
|
|
186
|
+
==========================
|
|
187
|
+
|
|
188
|
+
MIT License
|
|
189
|
+
|
|
190
|
+
Copyright (c) 2020-2026 Paweł Kuna
|
|
191
|
+
|
|
192
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
193
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
194
|
+
in the Software without restriction, including without limitation the rights
|
|
195
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
196
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
197
|
+
furnished to do so, subject to the following conditions:
|
|
198
|
+
|
|
199
|
+
The above copyright notice and this permission notice shall be included in all
|
|
200
|
+
copies or substantial portions of the Software.
|
|
201
|
+
|
|
202
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
203
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
204
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
205
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
206
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
207
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
208
|
+
SOFTWARE.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
input-otp@1.5.0
|
|
212
|
+
===============
|
|
213
|
+
|
|
214
|
+
MIT License
|
|
215
|
+
|
|
216
|
+
Copyright (c) 2024 Guilherme Rodz
|
|
217
|
+
|
|
218
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
219
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
220
|
+
in the Software without restriction, including without limitation the rights
|
|
221
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
222
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
223
|
+
furnished to do so, subject to the following conditions:
|
|
224
|
+
|
|
225
|
+
The above copyright notice and this permission notice shall be included in all
|
|
226
|
+
copies or substantial portions of the Software.
|
|
227
|
+
|
|
228
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
229
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
230
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
231
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
232
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
233
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
234
|
+
SOFTWARE.
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
pusher-js@8.6.0
|
|
238
|
+
===============
|
|
239
|
+
|
|
240
|
+
Copyright (c) 2020 Pusher, Ltd (https://pusher.com)
|
|
241
|
+
|
|
242
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
243
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
244
|
+
in the Software without restriction, including without limitation the rights
|
|
245
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
246
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
247
|
+
furnished to do so, subject to the following conditions:
|
|
248
|
+
|
|
249
|
+
The above copyright notice and this permission notice shall be included in
|
|
250
|
+
all copies or substantial portions of the Software.
|
|
251
|
+
|
|
252
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
253
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
254
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
255
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
256
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
257
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
258
|
+
THE SOFTWARE.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
sonner@2.0.8
|
|
262
|
+
============
|
|
263
|
+
|
|
264
|
+
MIT License
|
|
265
|
+
|
|
266
|
+
Copyright (c) 2023 Emil Kowalski
|
|
267
|
+
|
|
268
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
269
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
270
|
+
in the Software without restriction, including without limitation the rights
|
|
271
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
272
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
273
|
+
furnished to do so, subject to the following conditions:
|
|
274
|
+
|
|
275
|
+
The above copyright notice and this permission notice shall be included in all
|
|
276
|
+
copies or substantial portions of the Software.
|
|
277
|
+
|
|
278
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
279
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
280
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
281
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
282
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
283
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
284
|
+
SOFTWARE.
|
package/dist/angular.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./shared/comment-kit-core-
|
|
2
|
-
import { n as t, r as n, t as r } from "./shared/bridge-
|
|
1
|
+
import { t as e } from "./shared/comment-kit-core-BaSuMzp9.js";
|
|
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";
|
|
5
5
|
import { BehaviorSubject as u } from "rxjs";
|
|
@@ -90,6 +90,15 @@ var v = class {
|
|
|
90
90
|
loadMoreComments() {
|
|
91
91
|
return this.assertReadyAsync() ?? this.bridge.loadMoreComments();
|
|
92
92
|
}
|
|
93
|
+
reloadComments() {
|
|
94
|
+
return this.assertReadyAsync() ?? this.bridge.reloadComments();
|
|
95
|
+
}
|
|
96
|
+
setBranch(...e) {
|
|
97
|
+
return this.assertReadyAsync() ?? this.bridge.setBranch(...e);
|
|
98
|
+
}
|
|
99
|
+
reloadProjectContext() {
|
|
100
|
+
return this.assertReadyAsync() ?? this.bridge.reloadProjectContext();
|
|
101
|
+
}
|
|
93
102
|
getProjectMembers() {
|
|
94
103
|
return this.assertReadyAsync() ?? this.bridge.getProjectMembers();
|
|
95
104
|
}
|
|
@@ -114,17 +123,17 @@ var v = class {
|
|
|
114
123
|
selectComment(...e) {
|
|
115
124
|
this.assertReady(), this.bridge.selectComment(...e);
|
|
116
125
|
}
|
|
117
|
-
addReply(e
|
|
118
|
-
return this.assertReadyAsync() ?? this.bridge.addReply(e
|
|
126
|
+
addReply(...e) {
|
|
127
|
+
return this.assertReadyAsync() ?? this.bridge.addReply(...e);
|
|
119
128
|
}
|
|
120
|
-
updateReply(e
|
|
121
|
-
return this.assertReadyAsync() ?? this.bridge.updateReply(e
|
|
129
|
+
updateReply(...e) {
|
|
130
|
+
return this.assertReadyAsync() ?? this.bridge.updateReply(...e);
|
|
122
131
|
}
|
|
123
132
|
deleteReply(e, t) {
|
|
124
133
|
return this.assertReadyAsync() ?? this.bridge.deleteReply(e, t);
|
|
125
134
|
}
|
|
126
|
-
reactToComment(e
|
|
127
|
-
return this.assertReadyAsync() ?? this.bridge.reactToComment(e
|
|
135
|
+
reactToComment(...e) {
|
|
136
|
+
return this.assertReadyAsync() ?? this.bridge.reactToComment(...e);
|
|
128
137
|
}
|
|
129
138
|
updateCommentPosition(e, t, n) {
|
|
130
139
|
return this.assertReadyAsync() ?? this.bridge.updateCommentPosition(e, t, n);
|
|
@@ -150,8 +159,8 @@ var v = class {
|
|
|
150
159
|
setActiveScreenshot(...e) {
|
|
151
160
|
this.assertReady(), this.bridge.setActiveScreenshot(...e);
|
|
152
161
|
}
|
|
153
|
-
uploadFiles(e) {
|
|
154
|
-
return this.assertReadyAsync() ?? this.bridge.uploadFiles(e);
|
|
162
|
+
uploadFiles(...e) {
|
|
163
|
+
return this.assertReadyAsync() ?? this.bridge.uploadFiles(...e);
|
|
155
164
|
}
|
|
156
165
|
markThreadSeen(e) {
|
|
157
166
|
this.assertReady(), this.bridge.markThreadSeen(e);
|
|
@@ -238,7 +247,7 @@ var v = class {
|
|
|
238
247
|
}
|
|
239
248
|
async mountSharedUI(e, t, n) {
|
|
240
249
|
try {
|
|
241
|
-
let { mountCommentKitUI: n } = await import("./shared/mount-ui
|
|
250
|
+
let { mountCommentKitUI: n } = await import("./shared/mount-ui--ijs8pWT.js").then((e) => e.n);
|
|
242
251
|
if (this.core !== e || this.lifecycleId !== t) return;
|
|
243
252
|
let r = await n(e);
|
|
244
253
|
if (this.core !== e || this.lifecycleId !== t) {
|
|
@@ -278,7 +287,11 @@ function y() {
|
|
|
278
287
|
return new v();
|
|
279
288
|
}
|
|
280
289
|
function b(e) {
|
|
281
|
-
return [
|
|
290
|
+
return [{
|
|
291
|
+
provide: v,
|
|
292
|
+
useFactory: (e) => new v(e),
|
|
293
|
+
deps: [g]
|
|
294
|
+
}, {
|
|
282
295
|
provide: g,
|
|
283
296
|
useValue: e
|
|
284
297
|
}];
|
package/dist/comment-kit.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./shared/websocket-manager-
|
|
2
|
-
import { a as t, c as n, f as r, g as i, h as a, l as o, m as s, n as c, t as l } from "./shared/comment-kit-core-
|
|
1
|
+
import { t as e } from "./shared/websocket-manager-DhLWh3Jr.js";
|
|
2
|
+
import { a as t, c as n, f as r, g as i, h as a, l as o, m as s, n as c, t as l } from "./shared/comment-kit-core-BaSuMzp9.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--ijs8pWT.js").then((e) => e.n);
|
|
18
18
|
if (this.destroyed) return;
|
|
19
19
|
let n = await t(e);
|
|
20
20
|
if (this.destroyed) {
|
|
@@ -91,21 +91,30 @@ var T = typeof window < "u", E = class {
|
|
|
91
91
|
selectComment(e) {
|
|
92
92
|
this.core.selectComment(e);
|
|
93
93
|
}
|
|
94
|
-
addReply(e
|
|
95
|
-
return this.core.addReply(e
|
|
94
|
+
addReply(...e) {
|
|
95
|
+
return this.core.addReply(...e);
|
|
96
96
|
}
|
|
97
|
-
updateReply(e
|
|
98
|
-
return this.core.updateReply(e
|
|
97
|
+
updateReply(...e) {
|
|
98
|
+
return this.core.updateReply(...e);
|
|
99
99
|
}
|
|
100
100
|
deleteReply(e, t) {
|
|
101
101
|
return this.core.deleteReply(e, t);
|
|
102
102
|
}
|
|
103
|
-
reactToComment(e
|
|
104
|
-
return this.core.reactToComment(e
|
|
103
|
+
reactToComment(...e) {
|
|
104
|
+
return this.core.reactToComment(...e);
|
|
105
105
|
}
|
|
106
106
|
updateCommentPosition(e, t, n) {
|
|
107
107
|
return this.core.updateCommentPosition(e, t, n);
|
|
108
108
|
}
|
|
109
|
+
setBranch(e) {
|
|
110
|
+
return this.core.setBranch(e);
|
|
111
|
+
}
|
|
112
|
+
reloadProjectContext() {
|
|
113
|
+
return this.core.reloadProjectContext();
|
|
114
|
+
}
|
|
115
|
+
reloadComments() {
|
|
116
|
+
return this.core.reloadComments();
|
|
117
|
+
}
|
|
109
118
|
loadMoreComments() {
|
|
110
119
|
return this.core.loadMoreComments();
|
|
111
120
|
}
|
|
@@ -130,8 +139,8 @@ var T = typeof window < "u", E = class {
|
|
|
130
139
|
setActiveScreenshot(e) {
|
|
131
140
|
this.core.setActiveScreenshot(e);
|
|
132
141
|
}
|
|
133
|
-
uploadFiles(e) {
|
|
134
|
-
return this.core.uploadFiles(e);
|
|
142
|
+
uploadFiles(...e) {
|
|
143
|
+
return this.core.uploadFiles(...e);
|
|
135
144
|
}
|
|
136
145
|
getOnlineUsers() {
|
|
137
146
|
return this.core.getOnlineUsers();
|
|
@@ -148,6 +157,9 @@ var T = typeof window < "u", E = class {
|
|
|
148
157
|
isThreadNew(e) {
|
|
149
158
|
return this.core.isThreadNew(e);
|
|
150
159
|
}
|
|
160
|
+
blockEscape() {
|
|
161
|
+
return this.core.blockEscape();
|
|
162
|
+
}
|
|
151
163
|
setPanelView(e) {
|
|
152
164
|
this.core.setPanelView(e);
|
|
153
165
|
}
|