@divkitframework/visual-editor 0.4.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/LICENSE +406 -0
- package/README.md +38 -0
- package/dist/divkit-editor.css +1 -0
- package/dist/divkit-editor.d.ts +128 -0
- package/dist/divkit-editor.js +1 -0
- package/dist/editor.js +1 -0
- package/dist/lottieApi.js +9 -0
- package/package.json +61 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
Copyright 2022 YANDEX LLC
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
14
|
+
|
|
15
|
+
This software uses the following dependencies. Their respective licensing terms and copyright notices are given below. Some of the dependencies belong to the same rightsholders and are licensed under the same terms, thus, for convenience, such dependencies are grouped and have only one copyright notice and one license notice applicable to them all.
|
|
16
|
+
|
|
17
|
+
androidx.appcompat:appcompat
|
|
18
|
+
androidx.core:core
|
|
19
|
+
androidx.core:core-ktx
|
|
20
|
+
androidx.recyclerview:recyclerview
|
|
21
|
+
androidx.test:core
|
|
22
|
+
androidx.test:core-ktx
|
|
23
|
+
androidx.collection:collection
|
|
24
|
+
androidx.vectordrawable:vectordrawable
|
|
25
|
+
androidx.exifinterface:exifinterface
|
|
26
|
+
androidx.annotation:annotation
|
|
27
|
+
androidx.transition:transition
|
|
28
|
+
androidx.viewpager2:viewpager2
|
|
29
|
+
androidx.lifecycle:lifecycle-runtime-ktx
|
|
30
|
+
androidx.constraintlayout:constraintlayout
|
|
31
|
+
androidx.emoji:emoji
|
|
32
|
+
|
|
33
|
+
Copyright (c) 2022 Android Open Source Project
|
|
34
|
+
|
|
35
|
+
Licensed under the Apache License, Version 2.0 (the "License")
|
|
36
|
+
you may not use this file except in compliance with the License.
|
|
37
|
+
You may obtain a copy of the License at
|
|
38
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
39
|
+
Unless required by applicable law or agreed to in writing, software
|
|
40
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
41
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
42
|
+
See the License for the specific language governing permissions and
|
|
43
|
+
limitations under the License.
|
|
44
|
+
|
|
45
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
46
|
+
|
|
47
|
+
com.google.dagger:dagger
|
|
48
|
+
com.google.dagger:dagger-compiler
|
|
49
|
+
|
|
50
|
+
Copyright (c) 2016 Google Inc.
|
|
51
|
+
Copyright (c) 2016 Square Inc.
|
|
52
|
+
|
|
53
|
+
Licensed under the Apache License, Version 2.0 (the "License")
|
|
54
|
+
you may not use this file except in compliance with the License.
|
|
55
|
+
You may obtain a copy of the License at
|
|
56
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
57
|
+
Unless required by applicable law or agreed to in writing, software
|
|
58
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
59
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
60
|
+
See the License for the specific language governing permissions and
|
|
61
|
+
limitations under the License.
|
|
62
|
+
|
|
63
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
64
|
+
|
|
65
|
+
javax.inject:javax.inject
|
|
66
|
+
|
|
67
|
+
Copyright (c) 2009 The JSR-330 Expert Group
|
|
68
|
+
|
|
69
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
|
70
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
71
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
72
|
+
|
|
73
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
74
|
+
|
|
75
|
+
org.jetbrains.kotlin:kotlin-reflect
|
|
76
|
+
|
|
77
|
+
Copyright (c)2010-2017 JetBrains s.r.o.
|
|
78
|
+
|
|
79
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
80
|
+
you may not use this file except in compliance with the License.
|
|
81
|
+
You may obtain a copy of the License at
|
|
82
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
83
|
+
Unless required by applicable law or agreed to in writing, software
|
|
84
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
85
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
86
|
+
See the License for the specific language governing permissions and
|
|
87
|
+
limitations under the License.
|
|
88
|
+
|
|
89
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
90
|
+
|
|
91
|
+
org.json:json
|
|
92
|
+
|
|
93
|
+
JSON License
|
|
94
|
+
|
|
95
|
+
Copyright (c) 2002 JSON.org
|
|
96
|
+
|
|
97
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
98
|
+
a copy of this software and associated documentation files (the
|
|
99
|
+
"Software"), to deal in the Software without restriction, including
|
|
100
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
101
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
102
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
103
|
+
the following conditions:
|
|
104
|
+
|
|
105
|
+
The above copyright notice and this permission notice shall be
|
|
106
|
+
included in all copies or substantial portions of the Software.
|
|
107
|
+
|
|
108
|
+
The Software shall be used for Good, not Evil.
|
|
109
|
+
|
|
110
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
111
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
112
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
113
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
114
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
115
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
116
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
117
|
+
|
|
118
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
119
|
+
|
|
120
|
+
com.squareup.okhttp3:okhttp
|
|
121
|
+
|
|
122
|
+
Copyright (c) 2012 Square, Inc.
|
|
123
|
+
Copyright (c) 2012 The Android Open Source Project
|
|
124
|
+
|
|
125
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
126
|
+
you may not use this file except in compliance with the License.
|
|
127
|
+
You may obtain a copy of the License at
|
|
128
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
129
|
+
Unless required by applicable law or agreed to in writing, software
|
|
130
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
131
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
132
|
+
See the License for the specific language governing permissions and
|
|
133
|
+
limitations under the License.
|
|
134
|
+
|
|
135
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
136
|
+
|
|
137
|
+
com.google.android.material:material
|
|
138
|
+
|
|
139
|
+
Copyright (C) 2015 The Android Open Source Project
|
|
140
|
+
|
|
141
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
142
|
+
you may not use this file except in compliance with the License.
|
|
143
|
+
You may obtain a copy of the License at
|
|
144
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
145
|
+
Unless required by applicable law or agreed to in writing, software
|
|
146
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
148
|
+
See the License for the specific language governing permissions and
|
|
149
|
+
limitations under the License.
|
|
150
|
+
|
|
151
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
152
|
+
|
|
153
|
+
com.google.code.findbugs:jsr305
|
|
154
|
+
|
|
155
|
+
Copyright (с) 2006 FindBugs
|
|
156
|
+
|
|
157
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
158
|
+
you may not use this file except in compliance with the License.
|
|
159
|
+
You may obtain a copy of the License at
|
|
160
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
161
|
+
Unless required by applicable law or agreed to in writing, software
|
|
162
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
163
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
164
|
+
See the License for the specific language governing permissions and
|
|
165
|
+
limitations under the License.
|
|
166
|
+
|
|
167
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
168
|
+
|
|
169
|
+
com.google.auto.service:auto-service
|
|
170
|
+
|
|
171
|
+
Copyright (c) 2008 Google LLC
|
|
172
|
+
|
|
173
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
174
|
+
you may not use this file except in compliance with the License.
|
|
175
|
+
You may obtain a copy of the License at
|
|
176
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
177
|
+
Unless required by applicable law or agreed to in writing, software
|
|
178
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
179
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
180
|
+
See the License for the specific language governing permissions and
|
|
181
|
+
limitations under the License.
|
|
182
|
+
|
|
183
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
184
|
+
|
|
185
|
+
com.google.auto.service:auto-service-annotations
|
|
186
|
+
|
|
187
|
+
Copyright (c) 2013 Google LLC
|
|
188
|
+
|
|
189
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
190
|
+
you may not use this file except in compliance with the License.
|
|
191
|
+
You may obtain a copy of the License at
|
|
192
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
193
|
+
Unless required by applicable law or agreed to in writing, software
|
|
194
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
195
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
196
|
+
See the License for the specific language governing permissions and
|
|
197
|
+
limitations under the License.
|
|
198
|
+
|
|
199
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
200
|
+
|
|
201
|
+
org.hamcrest:hamcrest-junit
|
|
202
|
+
|
|
203
|
+
Copyright (c) 2014 Nat Pryce
|
|
204
|
+
Copyright (c) 2015 Joseph Walton
|
|
205
|
+
Copyright (c) 2015 Lars Vogel
|
|
206
|
+
|
|
207
|
+
License: Eclipse Public License - v 1.0
|
|
208
|
+
|
|
209
|
+
The source code is available at: https://github.com/hamcrest/hamcrest-junit
|
|
210
|
+
|
|
211
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
212
|
+
|
|
213
|
+
junit:junit
|
|
214
|
+
|
|
215
|
+
Copyright (c) 2002-2021 JUnit
|
|
216
|
+
|
|
217
|
+
License: Eclipse Public License - v 1.0
|
|
218
|
+
|
|
219
|
+
The source code is available at: https://github.com/junit-team/junit5
|
|
220
|
+
|
|
221
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
222
|
+
|
|
223
|
+
org.robolectric:robolectric
|
|
224
|
+
|
|
225
|
+
MIT License
|
|
226
|
+
|
|
227
|
+
Copyright (c) 2010 Xtreme Labs, Pivotal Labs and Google Inc.
|
|
228
|
+
|
|
229
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
230
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
231
|
+
in the Software without restriction, including without limitation the rights
|
|
232
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
233
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
234
|
+
furnished to do so, subject to the following conditions:
|
|
235
|
+
|
|
236
|
+
The above copyright notice and this permission notice shall be included in
|
|
237
|
+
all copies or substantial portions of the Software.
|
|
238
|
+
|
|
239
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
240
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
241
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
242
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
243
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
244
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
245
|
+
THE SOFTWARE.
|
|
246
|
+
|
|
247
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
248
|
+
|
|
249
|
+
org.robolectric:shadows-supportv4
|
|
250
|
+
|
|
251
|
+
MIT License
|
|
252
|
+
|
|
253
|
+
Copyright (c) 2018 Nimble
|
|
254
|
+
|
|
255
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
256
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
257
|
+
in the Software without restriction, including without limitation the rights
|
|
258
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
259
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
260
|
+
furnished to do so, subject to the following conditions:
|
|
261
|
+
|
|
262
|
+
The above copyright notice and this permission notice shall be included in all
|
|
263
|
+
copies or substantial portions of the Software.
|
|
264
|
+
|
|
265
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
266
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
267
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
268
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
269
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
270
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
271
|
+
SOFTWARE.
|
|
272
|
+
|
|
273
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
274
|
+
|
|
275
|
+
org.easytesting:fest-reflect
|
|
276
|
+
|
|
277
|
+
Copyright (c) 2009 Alex Ruiz
|
|
278
|
+
|
|
279
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
280
|
+
you may not use this file except in compliance with the License.
|
|
281
|
+
You may obtain a copy of the License at
|
|
282
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
283
|
+
Unless required by applicable law or agreed to in writing, software
|
|
284
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
285
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
286
|
+
See the License for the specific language governing permissions and
|
|
287
|
+
limitations under the License.
|
|
288
|
+
|
|
289
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
290
|
+
|
|
291
|
+
com.squareup.moshi:moshi
|
|
292
|
+
|
|
293
|
+
Copyright (c) 2018 Square Inc.
|
|
294
|
+
|
|
295
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
296
|
+
you may not use this file except in compliance with the License.
|
|
297
|
+
You may obtain a copy of the License at
|
|
298
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
299
|
+
Unless required by applicable law or agreed to in writing, software
|
|
300
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
301
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
302
|
+
See the License for the specific language governing permissions and
|
|
303
|
+
limitations under the License.
|
|
304
|
+
|
|
305
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
306
|
+
|
|
307
|
+
com.squareup:fest-android
|
|
308
|
+
|
|
309
|
+
Copyright (c) 2015 Square Inc.
|
|
310
|
+
|
|
311
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
312
|
+
you may not use this file except in compliance with the License.
|
|
313
|
+
You may obtain a copy of the License at
|
|
314
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
315
|
+
Unless required by applicable law or agreed to in writing, software
|
|
316
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
317
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
318
|
+
See the License for the specific language governing permissions and
|
|
319
|
+
limitations under the License.
|
|
320
|
+
|
|
321
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
322
|
+
|
|
323
|
+
org.mockito:mockito-core
|
|
324
|
+
|
|
325
|
+
MIT License
|
|
326
|
+
|
|
327
|
+
Copyright (c) 2007 Mockito contributors
|
|
328
|
+
|
|
329
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
330
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
331
|
+
in the Software without restriction, including without limitation the rights
|
|
332
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
333
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
334
|
+
furnished to do so, subject to the following conditions:
|
|
335
|
+
|
|
336
|
+
The above copyright notice and this permission notice shall be included in
|
|
337
|
+
all copies or substantial portions of the Software.
|
|
338
|
+
|
|
339
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
340
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
341
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
342
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
343
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
344
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
345
|
+
THE SOFTWARE.
|
|
346
|
+
|
|
347
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
348
|
+
|
|
349
|
+
org.mockito.kotlin:mockito-kotlin
|
|
350
|
+
|
|
351
|
+
MIT License
|
|
352
|
+
|
|
353
|
+
Copyright (c) 2016 Niek Haarman
|
|
354
|
+
Copyright (c) 2007 Mockito contributors
|
|
355
|
+
|
|
356
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
357
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
358
|
+
in the Software without restriction, including without limitation the rights
|
|
359
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
360
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
361
|
+
furnished to do so, subject to the following conditions:
|
|
362
|
+
|
|
363
|
+
The above copyright notice and this permission notice shall be included in
|
|
364
|
+
all copies or substantial portions of the Software.
|
|
365
|
+
|
|
366
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
367
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
368
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
369
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
370
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
371
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
372
|
+
THE SOFTWARE.
|
|
373
|
+
|
|
374
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
375
|
+
|
|
376
|
+
io.strikt:strikt-core
|
|
377
|
+
|
|
378
|
+
Copyright (c) 2014 Netflix
|
|
379
|
+
|
|
380
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
381
|
+
you may not use this file except in compliance with the License.
|
|
382
|
+
You may obtain a copy of the License at
|
|
383
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
384
|
+
Unless required by applicable law or agreed to in writing, software
|
|
385
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
386
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
387
|
+
See the License for the specific language governing permissions and
|
|
388
|
+
limitations under the License.
|
|
389
|
+
|
|
390
|
+
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
391
|
+
|
|
392
|
+
org.jetbrains.kotlinx:kotlinx-coroutines-core
|
|
393
|
+
org.jetbrains.kotlinx:kotlinx-coroutines-test
|
|
394
|
+
org.jetbrains.kotlinx:kotlinx-coroutines-android
|
|
395
|
+
|
|
396
|
+
Copyright (c)2000-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
|
397
|
+
|
|
398
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
399
|
+
you may not use this file except in compliance with the License.
|
|
400
|
+
You may obtain a copy of the License at
|
|
401
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
402
|
+
Unless required by applicable law or agreed to in writing, software
|
|
403
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
404
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
405
|
+
See the License for the specific language governing permissions and
|
|
406
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
## DivKit Visual Editor
|
|
2
|
+
|
|
3
|
+
### Install
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm i @divkitframework/visual-editor
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
### Render editor
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import '@divkitframework/visual-editor/dist/divkit-editor.css';
|
|
13
|
+
import { DivProEditor } from '@divkitframework/visual-editor';
|
|
14
|
+
|
|
15
|
+
const instance = DivProEditor.init({
|
|
16
|
+
renderTo: document.body,
|
|
17
|
+
value: JSON.stringify({
|
|
18
|
+
"card": {
|
|
19
|
+
"log_id": "test",
|
|
20
|
+
"states": [{
|
|
21
|
+
"state_id": 0,
|
|
22
|
+
"div": {
|
|
23
|
+
"type": "container",
|
|
24
|
+
"orientation": "overlap",
|
|
25
|
+
"items": [{
|
|
26
|
+
"type": "text",
|
|
27
|
+
"text": "Hello world"
|
|
28
|
+
}]
|
|
29
|
+
}
|
|
30
|
+
}]
|
|
31
|
+
}
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
// ...
|
|
36
|
+
|
|
37
|
+
instance.getValue();
|
|
38
|
+
```
|