@orangecatai/adgen-canvas 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/{chunk-4K5LIQQU.js → chunk-LIELFD5T.js} +2 -1
- package/dist/dev/chunk-LIELFD5T.js.map +7 -0
- package/dist/dev/{chunk-E6AX7UYW.js → chunk-QEU5XBGX.js} +23 -13
- package/dist/dev/chunk-QEU5XBGX.js.map +7 -0
- package/dist/dev/{chunk-KNIBTSFD.js → chunk-RPBS5GNJ.js} +2 -2
- package/dist/dev/data/{image-WJAASDV4.js → image-3SGMKXEK.js} +3 -3
- package/dist/dev/index.css +824 -0
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3662 -1605
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-IMRJ2ODG.js → en-VCZQBJ2N.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-TX6PVFUX.js → chunk-CLQPYXMS.js} +1 -1
- package/dist/prod/{chunk-GOHSI4TL.js → chunk-JVKQD63G.js} +1 -1
- package/dist/prod/chunk-Q6JGYK3N.js +4 -0
- package/dist/prod/data/image-ZZTLAGXX.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +62 -62
- package/dist/prod/locales/{en-5WIO63S4.js → en-ZZURI326.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +4 -0
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/newElement.d.ts +10 -1
- package/dist/types/element/src/typeChecks.d.ts +2 -1
- package/dist/types/element/src/types.d.ts +17 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +41 -0
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +41 -0
- package/dist/types/excalidraw/components/App.d.ts +10 -0
- package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +14 -0
- package/dist/types/excalidraw/components/VideoElement.d.ts +9 -0
- package/dist/types/excalidraw/components/VideoGeneratorPanel.d.ts +149 -0
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +4 -0
- package/dist/types/excalidraw/data/blob.d.ts +4 -1
- package/dist/types/excalidraw/index.d.ts +4 -3
- package/dist/types/excalidraw/scene/types.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +33 -0
- package/dist/types/excalidraw/utils/videoApi.d.ts +30 -0
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +3 -3
- package/dist/dev/chunk-4K5LIQQU.js.map +0 -7
- package/dist/dev/chunk-E6AX7UYW.js.map +0 -7
- package/dist/prod/chunk-XIMYEPMA.js +0 -4
- package/dist/prod/data/image-QJTVNM22.js +0 -1
- /package/dist/dev/{chunk-KNIBTSFD.js.map → chunk-RPBS5GNJ.js.map} +0 -0
- /package/dist/dev/data/{image-WJAASDV4.js.map → image-3SGMKXEK.js.map} +0 -0
- /package/dist/dev/locales/{en-IMRJ2ODG.js.map → en-VCZQBJ2N.js.map} +0 -0
package/dist/dev/index.css
CHANGED
|
@@ -4189,6 +4189,537 @@
|
|
|
4189
4189
|
animation: igp-spin 0.8s linear infinite;
|
|
4190
4190
|
}
|
|
4191
4191
|
|
|
4192
|
+
/* components/VideoGeneratorPanel.scss */
|
|
4193
|
+
.excalidraw .vgp-shimmer {
|
|
4194
|
+
position: fixed;
|
|
4195
|
+
pointer-events: none;
|
|
4196
|
+
z-index: 4;
|
|
4197
|
+
border-radius: 4px;
|
|
4198
|
+
overflow: hidden;
|
|
4199
|
+
}
|
|
4200
|
+
.excalidraw .vgp-shimmer::after {
|
|
4201
|
+
content: "";
|
|
4202
|
+
position: absolute;
|
|
4203
|
+
inset: 0;
|
|
4204
|
+
background:
|
|
4205
|
+
linear-gradient(
|
|
4206
|
+
90deg,
|
|
4207
|
+
rgba(200, 200, 210, 0.35) 0%,
|
|
4208
|
+
rgba(240, 240, 248, 0.65) 50%,
|
|
4209
|
+
rgba(200, 200, 210, 0.35) 100%);
|
|
4210
|
+
background-size: 200% 100%;
|
|
4211
|
+
animation: vgp-shimmer-slide 1.6s ease-in-out infinite;
|
|
4212
|
+
}
|
|
4213
|
+
@keyframes vgp-shimmer-slide {
|
|
4214
|
+
0% {
|
|
4215
|
+
background-position: -100% 0;
|
|
4216
|
+
}
|
|
4217
|
+
100% {
|
|
4218
|
+
background-position: 200% 0;
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
.excalidraw .vgp {
|
|
4222
|
+
position: fixed;
|
|
4223
|
+
z-index: var(--zIndex-canvasButtons);
|
|
4224
|
+
pointer-events: all;
|
|
4225
|
+
transform: translateX(-50%);
|
|
4226
|
+
width: 560px;
|
|
4227
|
+
font-family:
|
|
4228
|
+
"Assistant",
|
|
4229
|
+
system-ui,
|
|
4230
|
+
-apple-system,
|
|
4231
|
+
sans-serif;
|
|
4232
|
+
font-size: 13px;
|
|
4233
|
+
color: #111;
|
|
4234
|
+
}
|
|
4235
|
+
.excalidraw .vgp input[type=file] {
|
|
4236
|
+
display: none !important;
|
|
4237
|
+
}
|
|
4238
|
+
.excalidraw .vgp input[type=text] {
|
|
4239
|
+
all: unset !important;
|
|
4240
|
+
box-sizing: border-box !important;
|
|
4241
|
+
}
|
|
4242
|
+
.excalidraw .vgp textarea {
|
|
4243
|
+
margin: 0 !important;
|
|
4244
|
+
padding: 0 !important;
|
|
4245
|
+
border: none !important;
|
|
4246
|
+
background: transparent !important;
|
|
4247
|
+
font: inherit !important;
|
|
4248
|
+
color: inherit !important;
|
|
4249
|
+
letter-spacing: inherit !important;
|
|
4250
|
+
word-spacing: inherit !important;
|
|
4251
|
+
text-transform: none !important;
|
|
4252
|
+
text-indent: 0 !important;
|
|
4253
|
+
text-shadow: none !important;
|
|
4254
|
+
text-align: start !important;
|
|
4255
|
+
box-sizing: border-box !important;
|
|
4256
|
+
}
|
|
4257
|
+
.excalidraw .vgp button {
|
|
4258
|
+
all: unset !important;
|
|
4259
|
+
box-sizing: border-box !important;
|
|
4260
|
+
cursor: pointer !important;
|
|
4261
|
+
}
|
|
4262
|
+
.excalidraw .vgp [data-slot=prompt-input],
|
|
4263
|
+
.excalidraw .vgp .vgp-container {
|
|
4264
|
+
display: block;
|
|
4265
|
+
background: #fff;
|
|
4266
|
+
border: 1px solid rgba(0, 0, 0, 0.09);
|
|
4267
|
+
border-radius: 16px;
|
|
4268
|
+
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
|
|
4269
|
+
overflow: visible;
|
|
4270
|
+
padding: 0;
|
|
4271
|
+
}
|
|
4272
|
+
.excalidraw .vgp .vgp-chips-row {
|
|
4273
|
+
display: flex !important;
|
|
4274
|
+
align-items: center !important;
|
|
4275
|
+
gap: 6px !important;
|
|
4276
|
+
padding: 12px 14px 4px !important;
|
|
4277
|
+
flex-wrap: wrap !important;
|
|
4278
|
+
}
|
|
4279
|
+
.excalidraw .vgp .vgp-chip {
|
|
4280
|
+
position: relative !important;
|
|
4281
|
+
display: inline-flex !important;
|
|
4282
|
+
align-items: center !important;
|
|
4283
|
+
gap: 5px !important;
|
|
4284
|
+
padding: 5px 10px !important;
|
|
4285
|
+
border: 1.5px dashed rgba(0, 0, 0, 0.22) !important;
|
|
4286
|
+
border-radius: 8px !important;
|
|
4287
|
+
background: transparent !important;
|
|
4288
|
+
font-family: inherit !important;
|
|
4289
|
+
font-size: 12px !important;
|
|
4290
|
+
font-weight: 500 !important;
|
|
4291
|
+
color: #555 !important;
|
|
4292
|
+
cursor: pointer !important;
|
|
4293
|
+
white-space: nowrap !important;
|
|
4294
|
+
flex-shrink: 0 !important;
|
|
4295
|
+
transition: border-color 0.13s, background 0.13s !important;
|
|
4296
|
+
}
|
|
4297
|
+
.excalidraw .vgp .vgp-chip svg {
|
|
4298
|
+
flex-shrink: 0;
|
|
4299
|
+
color: #999;
|
|
4300
|
+
}
|
|
4301
|
+
.excalidraw .vgp .vgp-chip:hover:not(:disabled) {
|
|
4302
|
+
border-color: rgba(0, 0, 0, 0.38) !important;
|
|
4303
|
+
background: rgba(0, 0, 0, 0.03) !important;
|
|
4304
|
+
color: #222 !important;
|
|
4305
|
+
}
|
|
4306
|
+
.excalidraw .vgp .vgp-chip:disabled {
|
|
4307
|
+
opacity: 0.45 !important;
|
|
4308
|
+
cursor: not-allowed !important;
|
|
4309
|
+
}
|
|
4310
|
+
.excalidraw .vgp .vgp-chip.vgp-chip--set {
|
|
4311
|
+
border-style: solid !important;
|
|
4312
|
+
border-color: rgba(0, 0, 0, 0.12) !important;
|
|
4313
|
+
padding: 4px 8px !important;
|
|
4314
|
+
background: #f6f6f6 !important;
|
|
4315
|
+
cursor: default !important;
|
|
4316
|
+
}
|
|
4317
|
+
.excalidraw .vgp .vgp-chip-thumb {
|
|
4318
|
+
width: 28px !important;
|
|
4319
|
+
height: 28px !important;
|
|
4320
|
+
object-fit: cover !important;
|
|
4321
|
+
border-radius: 5px !important;
|
|
4322
|
+
display: block !important;
|
|
4323
|
+
flex-shrink: 0 !important;
|
|
4324
|
+
}
|
|
4325
|
+
.excalidraw .vgp .vgp-chip-label {
|
|
4326
|
+
font-size: 11.5px !important;
|
|
4327
|
+
color: #777 !important;
|
|
4328
|
+
font-weight: 500 !important;
|
|
4329
|
+
}
|
|
4330
|
+
.excalidraw .vgp .vgp-chip-remove {
|
|
4331
|
+
display: flex !important;
|
|
4332
|
+
align-items: center !important;
|
|
4333
|
+
justify-content: center !important;
|
|
4334
|
+
width: 16px !important;
|
|
4335
|
+
height: 16px !important;
|
|
4336
|
+
border-radius: 50% !important;
|
|
4337
|
+
color: #aaa !important;
|
|
4338
|
+
transition: background 0.1s ease, color 0.1s ease !important;
|
|
4339
|
+
margin-left: 2px !important;
|
|
4340
|
+
}
|
|
4341
|
+
.excalidraw .vgp .vgp-chip-remove:hover {
|
|
4342
|
+
background: rgba(0, 0, 0, 0.08) !important;
|
|
4343
|
+
color: #555 !important;
|
|
4344
|
+
}
|
|
4345
|
+
.excalidraw .vgp .vgp-textarea {
|
|
4346
|
+
display: block !important;
|
|
4347
|
+
width: 100% !important;
|
|
4348
|
+
min-height: 60px !important;
|
|
4349
|
+
resize: none !important;
|
|
4350
|
+
padding: 12px 16px 8px !important;
|
|
4351
|
+
font-family: inherit !important;
|
|
4352
|
+
font-size: 14px !important;
|
|
4353
|
+
line-height: 1.55 !important;
|
|
4354
|
+
color: #1a1a1a !important;
|
|
4355
|
+
background: transparent !important;
|
|
4356
|
+
border: none !important;
|
|
4357
|
+
outline: none !important;
|
|
4358
|
+
box-shadow: none !important;
|
|
4359
|
+
-webkit-appearance: none !important;
|
|
4360
|
+
appearance: none !important;
|
|
4361
|
+
}
|
|
4362
|
+
.excalidraw .vgp .vgp-textarea::placeholder {
|
|
4363
|
+
color: #b8b8b8 !important;
|
|
4364
|
+
font-weight: 400 !important;
|
|
4365
|
+
}
|
|
4366
|
+
.excalidraw .vgp .vgp-error {
|
|
4367
|
+
padding: 2px 16px 6px !important;
|
|
4368
|
+
font-size: 12px !important;
|
|
4369
|
+
color: #e54d4d !important;
|
|
4370
|
+
line-height: 1.4 !important;
|
|
4371
|
+
}
|
|
4372
|
+
.excalidraw .vgp .vgp-status {
|
|
4373
|
+
display: flex !important;
|
|
4374
|
+
align-items: center !important;
|
|
4375
|
+
gap: 7px !important;
|
|
4376
|
+
padding: 2px 16px 6px !important;
|
|
4377
|
+
font-size: 12px !important;
|
|
4378
|
+
color: #888 !important;
|
|
4379
|
+
}
|
|
4380
|
+
.excalidraw .vgp .vgp-status-text {
|
|
4381
|
+
flex: 1 !important;
|
|
4382
|
+
}
|
|
4383
|
+
.excalidraw .vgp .vgp-progress-wrap {
|
|
4384
|
+
flex: 1 !important;
|
|
4385
|
+
max-width: 120px !important;
|
|
4386
|
+
height: 3px !important;
|
|
4387
|
+
background: rgba(0, 0, 0, 0.08) !important;
|
|
4388
|
+
border-radius: 99px !important;
|
|
4389
|
+
overflow: hidden !important;
|
|
4390
|
+
}
|
|
4391
|
+
.excalidraw .vgp .vgp-progress-bar {
|
|
4392
|
+
height: 100% !important;
|
|
4393
|
+
background: #4a4aff !important;
|
|
4394
|
+
border-radius: 99px !important;
|
|
4395
|
+
transition: width 0.4s ease !important;
|
|
4396
|
+
}
|
|
4397
|
+
.excalidraw .vgp .vgp-actions {
|
|
4398
|
+
display: flex !important;
|
|
4399
|
+
align-items: center !important;
|
|
4400
|
+
justify-content: space-between !important;
|
|
4401
|
+
padding: 6px 10px 10px !important;
|
|
4402
|
+
border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
|
|
4403
|
+
gap: 4px !important;
|
|
4404
|
+
}
|
|
4405
|
+
.excalidraw .vgp .vgp-actions-left {
|
|
4406
|
+
display: flex !important;
|
|
4407
|
+
align-items: center !important;
|
|
4408
|
+
gap: 2px !important;
|
|
4409
|
+
flex: 1 !important;
|
|
4410
|
+
min-width: 0 !important;
|
|
4411
|
+
}
|
|
4412
|
+
.excalidraw .vgp .vgp-actions-right {
|
|
4413
|
+
display: flex !important;
|
|
4414
|
+
align-items: center !important;
|
|
4415
|
+
gap: 2px !important;
|
|
4416
|
+
flex-shrink: 0 !important;
|
|
4417
|
+
}
|
|
4418
|
+
.excalidraw .vgp .vgp-btn {
|
|
4419
|
+
display: flex !important;
|
|
4420
|
+
align-items: center !important;
|
|
4421
|
+
gap: 5px !important;
|
|
4422
|
+
height: 28px !important;
|
|
4423
|
+
padding: 0 9px !important;
|
|
4424
|
+
border-radius: 8px !important;
|
|
4425
|
+
font-family: inherit !important;
|
|
4426
|
+
font-size: 12.5px !important;
|
|
4427
|
+
font-weight: 500 !important;
|
|
4428
|
+
color: #444 !important;
|
|
4429
|
+
background: transparent !important;
|
|
4430
|
+
white-space: nowrap !important;
|
|
4431
|
+
transition: background 0.12s ease !important;
|
|
4432
|
+
}
|
|
4433
|
+
.excalidraw .vgp .vgp-btn svg {
|
|
4434
|
+
color: #888;
|
|
4435
|
+
flex-shrink: 0;
|
|
4436
|
+
width: 13px;
|
|
4437
|
+
height: 13px;
|
|
4438
|
+
}
|
|
4439
|
+
.excalidraw .vgp .vgp-btn:hover:not(:disabled) {
|
|
4440
|
+
background: rgba(0, 0, 0, 0.05) !important;
|
|
4441
|
+
}
|
|
4442
|
+
.excalidraw .vgp .vgp-btn:disabled {
|
|
4443
|
+
opacity: 0.4 !important;
|
|
4444
|
+
cursor: not-allowed !important;
|
|
4445
|
+
}
|
|
4446
|
+
.excalidraw .vgp .vgp-btn.vgp-btn--icon {
|
|
4447
|
+
width: 28px !important;
|
|
4448
|
+
padding: 0 !important;
|
|
4449
|
+
justify-content: center !important;
|
|
4450
|
+
color: #888 !important;
|
|
4451
|
+
}
|
|
4452
|
+
.excalidraw .vgp .vgp-btn.vgp-btn--active {
|
|
4453
|
+
background: rgba(99, 80, 220, 0.07) !important;
|
|
4454
|
+
color: #6350dc !important;
|
|
4455
|
+
}
|
|
4456
|
+
.excalidraw .vgp .vgp-btn.vgp-btn--active svg {
|
|
4457
|
+
color: #6350dc;
|
|
4458
|
+
}
|
|
4459
|
+
.excalidraw .vgp .vgp-btn.vgp-btn--active:hover {
|
|
4460
|
+
background: rgba(99, 80, 220, 0.12) !important;
|
|
4461
|
+
}
|
|
4462
|
+
.excalidraw .vgp .vgp-generate {
|
|
4463
|
+
display: flex !important;
|
|
4464
|
+
align-items: center !important;
|
|
4465
|
+
justify-content: center !important;
|
|
4466
|
+
width: 32px !important;
|
|
4467
|
+
height: 32px !important;
|
|
4468
|
+
border-radius: 50% !important;
|
|
4469
|
+
background: #1c1c1c !important;
|
|
4470
|
+
color: #fff !important;
|
|
4471
|
+
margin-left: 4px !important;
|
|
4472
|
+
flex-shrink: 0 !important;
|
|
4473
|
+
transition: background 0.12s ease, transform 0.1s ease !important;
|
|
4474
|
+
}
|
|
4475
|
+
.excalidraw .vgp .vgp-generate:hover:not(:disabled) {
|
|
4476
|
+
background: #333 !important;
|
|
4477
|
+
}
|
|
4478
|
+
.excalidraw .vgp .vgp-generate:active:not(:disabled) {
|
|
4479
|
+
transform: scale(0.94) !important;
|
|
4480
|
+
}
|
|
4481
|
+
.excalidraw .vgp .vgp-generate:disabled {
|
|
4482
|
+
background: #d0d0d0 !important;
|
|
4483
|
+
cursor: not-allowed !important;
|
|
4484
|
+
}
|
|
4485
|
+
.excalidraw .vgp .vgp-spinner {
|
|
4486
|
+
animation: vgp-spin 0.8s linear infinite;
|
|
4487
|
+
flex-shrink: 0;
|
|
4488
|
+
}
|
|
4489
|
+
.excalidraw .vgp .vgp-dropdown-root {
|
|
4490
|
+
position: relative !important;
|
|
4491
|
+
}
|
|
4492
|
+
.excalidraw .vgp .vgp-dropdown {
|
|
4493
|
+
position: absolute !important;
|
|
4494
|
+
z-index: 300 !important;
|
|
4495
|
+
min-width: 160px !important;
|
|
4496
|
+
padding: 4px !important;
|
|
4497
|
+
background: #fff !important;
|
|
4498
|
+
border-radius: 11px !important;
|
|
4499
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
|
|
4500
|
+
}
|
|
4501
|
+
.excalidraw .vgp .vgp-dropdown.vgp-dropdown--up {
|
|
4502
|
+
bottom: calc(100% + 8px) !important;
|
|
4503
|
+
}
|
|
4504
|
+
.excalidraw .vgp .vgp-dropdown.vgp-dropdown--left {
|
|
4505
|
+
left: 0 !important;
|
|
4506
|
+
}
|
|
4507
|
+
.excalidraw .vgp .vgp-dropdown.vgp-dropdown--right {
|
|
4508
|
+
right: 0 !important;
|
|
4509
|
+
}
|
|
4510
|
+
.excalidraw .vgp .vgp-dropdown-item {
|
|
4511
|
+
display: flex !important;
|
|
4512
|
+
align-items: center !important;
|
|
4513
|
+
gap: 8px !important;
|
|
4514
|
+
width: 100% !important;
|
|
4515
|
+
padding: 7px 10px !important;
|
|
4516
|
+
border-radius: 7px !important;
|
|
4517
|
+
font-family: inherit !important;
|
|
4518
|
+
font-size: 13px !important;
|
|
4519
|
+
color: #222 !important;
|
|
4520
|
+
background: transparent !important;
|
|
4521
|
+
text-align: left !important;
|
|
4522
|
+
transition: background 0.1s ease !important;
|
|
4523
|
+
}
|
|
4524
|
+
.excalidraw .vgp .vgp-dropdown-item:hover {
|
|
4525
|
+
background: rgba(0, 0, 0, 0.04) !important;
|
|
4526
|
+
}
|
|
4527
|
+
.excalidraw .vgp .vgp-dropdown-divider {
|
|
4528
|
+
height: 1px !important;
|
|
4529
|
+
background: rgba(0, 0, 0, 0.07) !important;
|
|
4530
|
+
margin: 3px 4px !important;
|
|
4531
|
+
}
|
|
4532
|
+
.excalidraw .vgp .vgp-check {
|
|
4533
|
+
color: #6350dc !important;
|
|
4534
|
+
display: flex !important;
|
|
4535
|
+
align-items: center !important;
|
|
4536
|
+
flex-shrink: 0 !important;
|
|
4537
|
+
}
|
|
4538
|
+
.excalidraw .vgp .vgp-popover {
|
|
4539
|
+
position: absolute !important;
|
|
4540
|
+
bottom: calc(100% + 8px) !important;
|
|
4541
|
+
left: 0 !important;
|
|
4542
|
+
width: 264px !important;
|
|
4543
|
+
background: #fff !important;
|
|
4544
|
+
border: 1px solid rgba(0, 0, 0, 0.09) !important;
|
|
4545
|
+
border-radius: 14px !important;
|
|
4546
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.05) !important;
|
|
4547
|
+
padding: 14px !important;
|
|
4548
|
+
z-index: 300 !important;
|
|
4549
|
+
display: flex !important;
|
|
4550
|
+
flex-direction: column !important;
|
|
4551
|
+
gap: 14px !important;
|
|
4552
|
+
}
|
|
4553
|
+
.excalidraw .vgp .vgp-popover-title {
|
|
4554
|
+
font-size: 13px !important;
|
|
4555
|
+
font-weight: 600 !important;
|
|
4556
|
+
color: #111 !important;
|
|
4557
|
+
}
|
|
4558
|
+
.excalidraw .vgp .vgp-popover-section {
|
|
4559
|
+
display: flex !important;
|
|
4560
|
+
flex-direction: column !important;
|
|
4561
|
+
gap: 7px !important;
|
|
4562
|
+
}
|
|
4563
|
+
.excalidraw .vgp .vgp-popover-section.vgp-popover-section--row {
|
|
4564
|
+
flex-direction: row !important;
|
|
4565
|
+
align-items: center !important;
|
|
4566
|
+
justify-content: space-between !important;
|
|
4567
|
+
}
|
|
4568
|
+
.excalidraw .vgp .vgp-popover-label {
|
|
4569
|
+
font-size: 10.5px !important;
|
|
4570
|
+
font-weight: 600 !important;
|
|
4571
|
+
color: #bbb !important;
|
|
4572
|
+
text-transform: uppercase !important;
|
|
4573
|
+
letter-spacing: 0.5px !important;
|
|
4574
|
+
}
|
|
4575
|
+
.excalidraw .vgp .vgp-popover-label-row {
|
|
4576
|
+
display: flex !important;
|
|
4577
|
+
align-items: center !important;
|
|
4578
|
+
justify-content: space-between !important;
|
|
4579
|
+
}
|
|
4580
|
+
.excalidraw .vgp .vgp-popover-value {
|
|
4581
|
+
font-size: 12px !important;
|
|
4582
|
+
font-weight: 600 !important;
|
|
4583
|
+
color: #333 !important;
|
|
4584
|
+
}
|
|
4585
|
+
.excalidraw .vgp .vgp-pill-group {
|
|
4586
|
+
display: flex !important;
|
|
4587
|
+
gap: 5px !important;
|
|
4588
|
+
flex-wrap: wrap !important;
|
|
4589
|
+
}
|
|
4590
|
+
.excalidraw .vgp .vgp-pill {
|
|
4591
|
+
display: inline-flex !important;
|
|
4592
|
+
align-items: center !important;
|
|
4593
|
+
justify-content: center !important;
|
|
4594
|
+
gap: 5px !important;
|
|
4595
|
+
padding: 5px 12px !important;
|
|
4596
|
+
border-radius: 99px !important;
|
|
4597
|
+
border: 1px solid rgba(0, 0, 0, 0.12) !important;
|
|
4598
|
+
background: transparent !important;
|
|
4599
|
+
color: #444 !important;
|
|
4600
|
+
font-family: inherit !important;
|
|
4601
|
+
font-size: 12px !important;
|
|
4602
|
+
font-weight: 500 !important;
|
|
4603
|
+
cursor: pointer !important;
|
|
4604
|
+
transition:
|
|
4605
|
+
background 0.13s,
|
|
4606
|
+
color 0.13s,
|
|
4607
|
+
border-color 0.13s !important;
|
|
4608
|
+
}
|
|
4609
|
+
.excalidraw .vgp .vgp-pill:hover:not(.vgp-pill--active) {
|
|
4610
|
+
background: rgba(0, 0, 0, 0.04) !important;
|
|
4611
|
+
border-color: rgba(0, 0, 0, 0.18) !important;
|
|
4612
|
+
}
|
|
4613
|
+
.excalidraw .vgp .vgp-pill.vgp-pill--active {
|
|
4614
|
+
background: #111 !important;
|
|
4615
|
+
color: #fff !important;
|
|
4616
|
+
border-color: #111 !important;
|
|
4617
|
+
}
|
|
4618
|
+
.excalidraw .vgp .vgp-pill.vgp-pill--ratio {
|
|
4619
|
+
padding: 5px 10px !important;
|
|
4620
|
+
gap: 6px !important;
|
|
4621
|
+
}
|
|
4622
|
+
.excalidraw .vgp .vgp-pill-icon {
|
|
4623
|
+
display: flex !important;
|
|
4624
|
+
align-items: center !important;
|
|
4625
|
+
justify-content: center !important;
|
|
4626
|
+
flex-shrink: 0 !important;
|
|
4627
|
+
}
|
|
4628
|
+
.excalidraw .vgp .vgp-slider {
|
|
4629
|
+
-webkit-appearance: none !important;
|
|
4630
|
+
width: 100% !important;
|
|
4631
|
+
height: 4px !important;
|
|
4632
|
+
border-radius: 99px !important;
|
|
4633
|
+
background: rgba(0, 0, 0, 0.1) !important;
|
|
4634
|
+
outline: none !important;
|
|
4635
|
+
cursor: pointer !important;
|
|
4636
|
+
}
|
|
4637
|
+
.excalidraw .vgp .vgp-slider::-webkit-slider-thumb {
|
|
4638
|
+
-webkit-appearance: none;
|
|
4639
|
+
width: 16px;
|
|
4640
|
+
height: 16px;
|
|
4641
|
+
border-radius: 50%;
|
|
4642
|
+
background: #111;
|
|
4643
|
+
cursor: pointer;
|
|
4644
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
4645
|
+
}
|
|
4646
|
+
.excalidraw .vgp .vgp-slider::-moz-range-thumb {
|
|
4647
|
+
width: 16px;
|
|
4648
|
+
height: 16px;
|
|
4649
|
+
border-radius: 50%;
|
|
4650
|
+
background: #111;
|
|
4651
|
+
border: none;
|
|
4652
|
+
cursor: pointer;
|
|
4653
|
+
}
|
|
4654
|
+
.excalidraw .vgp .vgp-toggle-btn {
|
|
4655
|
+
background: transparent !important;
|
|
4656
|
+
border: none !important;
|
|
4657
|
+
cursor: pointer !important;
|
|
4658
|
+
padding: 0 !important;
|
|
4659
|
+
display: flex !important;
|
|
4660
|
+
align-items: center !important;
|
|
4661
|
+
}
|
|
4662
|
+
.excalidraw .vgp .vgp-toggle-track {
|
|
4663
|
+
width: 34px !important;
|
|
4664
|
+
height: 19px !important;
|
|
4665
|
+
border-radius: 99px !important;
|
|
4666
|
+
background: rgba(0, 0, 0, 0.12) !important;
|
|
4667
|
+
position: relative !important;
|
|
4668
|
+
transition: background 0.2s !important;
|
|
4669
|
+
}
|
|
4670
|
+
.excalidraw .vgp .vgp-toggle-track.vgp-toggle-track--on {
|
|
4671
|
+
background: #111 !important;
|
|
4672
|
+
}
|
|
4673
|
+
.excalidraw .vgp .vgp-toggle-thumb {
|
|
4674
|
+
position: absolute !important;
|
|
4675
|
+
top: 2px !important;
|
|
4676
|
+
left: 2px !important;
|
|
4677
|
+
width: 15px !important;
|
|
4678
|
+
height: 15px !important;
|
|
4679
|
+
border-radius: 50% !important;
|
|
4680
|
+
background: #fff !important;
|
|
4681
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
|
|
4682
|
+
transition: transform 0.2s !important;
|
|
4683
|
+
}
|
|
4684
|
+
.excalidraw .vgp .vgp-toggle-thumb.vgp-toggle-thumb--on {
|
|
4685
|
+
transform: translateX(15px) !important;
|
|
4686
|
+
}
|
|
4687
|
+
.excalidraw .vgp .vgp-always-on-badge {
|
|
4688
|
+
display: inline-flex !important;
|
|
4689
|
+
align-items: center !important;
|
|
4690
|
+
gap: 4px !important;
|
|
4691
|
+
font-size: 11.5px !important;
|
|
4692
|
+
color: #888 !important;
|
|
4693
|
+
background: #f4f4f5 !important;
|
|
4694
|
+
border-radius: 99px !important;
|
|
4695
|
+
padding: 3px 9px !important;
|
|
4696
|
+
}
|
|
4697
|
+
.excalidraw .vgp .vgp-neg-input {
|
|
4698
|
+
width: 100% !important;
|
|
4699
|
+
border: 1px solid rgba(0, 0, 0, 0.1) !important;
|
|
4700
|
+
border-radius: 8px !important;
|
|
4701
|
+
padding: 7px 10px !important;
|
|
4702
|
+
font-family: inherit !important;
|
|
4703
|
+
font-size: 12.5px !important;
|
|
4704
|
+
color: #333 !important;
|
|
4705
|
+
background: #f9f9f9 !important;
|
|
4706
|
+
outline: none !important;
|
|
4707
|
+
box-sizing: border-box !important;
|
|
4708
|
+
transition: border-color 0.13s !important;
|
|
4709
|
+
}
|
|
4710
|
+
.excalidraw .vgp .vgp-neg-input::placeholder {
|
|
4711
|
+
color: #bbb !important;
|
|
4712
|
+
}
|
|
4713
|
+
.excalidraw .vgp .vgp-neg-input:focus {
|
|
4714
|
+
border-color: rgba(0, 0, 0, 0.25) !important;
|
|
4715
|
+
background: #fff !important;
|
|
4716
|
+
}
|
|
4717
|
+
@keyframes vgp-spin {
|
|
4718
|
+
to {
|
|
4719
|
+
transform: rotate(360deg);
|
|
4720
|
+
}
|
|
4721
|
+
}
|
|
4722
|
+
|
|
4192
4723
|
/* components/ImageQuickEditPanel.scss */
|
|
4193
4724
|
.excalidraw .iqep__trigger-bar {
|
|
4194
4725
|
position: absolute;
|
|
@@ -7760,6 +8291,299 @@
|
|
|
7760
8291
|
z-index: 1;
|
|
7761
8292
|
}
|
|
7762
8293
|
|
|
8294
|
+
/* components/VideoElement.scss */
|
|
8295
|
+
.excalidraw .video-el {
|
|
8296
|
+
position: relative;
|
|
8297
|
+
width: 100%;
|
|
8298
|
+
height: 100%;
|
|
8299
|
+
border-radius: 4px;
|
|
8300
|
+
overflow: hidden;
|
|
8301
|
+
background: #111;
|
|
8302
|
+
user-select: none;
|
|
8303
|
+
}
|
|
8304
|
+
.excalidraw .video-el__thumb {
|
|
8305
|
+
width: 100%;
|
|
8306
|
+
height: 100%;
|
|
8307
|
+
object-fit: cover;
|
|
8308
|
+
display: block;
|
|
8309
|
+
pointer-events: none;
|
|
8310
|
+
}
|
|
8311
|
+
.excalidraw .video-el__thumb-placeholder {
|
|
8312
|
+
width: 100%;
|
|
8313
|
+
height: 100%;
|
|
8314
|
+
display: flex;
|
|
8315
|
+
align-items: center;
|
|
8316
|
+
justify-content: center;
|
|
8317
|
+
background: #1a1a1a;
|
|
8318
|
+
color: rgba(255, 255, 255, 0.2);
|
|
8319
|
+
}
|
|
8320
|
+
.excalidraw .video-el__play-btn {
|
|
8321
|
+
position: absolute;
|
|
8322
|
+
top: 50%;
|
|
8323
|
+
left: 50%;
|
|
8324
|
+
transform: translate(-50%, -50%);
|
|
8325
|
+
width: 52px;
|
|
8326
|
+
height: 52px;
|
|
8327
|
+
border-radius: 50%;
|
|
8328
|
+
background: rgba(0, 0, 0, 0.52);
|
|
8329
|
+
backdrop-filter: blur(6px);
|
|
8330
|
+
border: 1.5px solid rgba(255, 255, 255, 0.4);
|
|
8331
|
+
display: flex;
|
|
8332
|
+
align-items: center;
|
|
8333
|
+
justify-content: center;
|
|
8334
|
+
cursor: pointer;
|
|
8335
|
+
color: #fff;
|
|
8336
|
+
transition: background 0.15s, transform 0.15s;
|
|
8337
|
+
pointer-events: auto;
|
|
8338
|
+
}
|
|
8339
|
+
.excalidraw .video-el__play-btn:hover {
|
|
8340
|
+
background: rgba(0, 0, 0, 0.72);
|
|
8341
|
+
transform: translate(-50%, -50%) scale(1.08);
|
|
8342
|
+
}
|
|
8343
|
+
.excalidraw .video-el__play-btn svg {
|
|
8344
|
+
margin-left: 3px;
|
|
8345
|
+
}
|
|
8346
|
+
.excalidraw .video-el__meta {
|
|
8347
|
+
position: absolute;
|
|
8348
|
+
font-size: 11px;
|
|
8349
|
+
font-weight: 500;
|
|
8350
|
+
font-family: inherit;
|
|
8351
|
+
line-height: 1;
|
|
8352
|
+
padding: 3px 7px;
|
|
8353
|
+
border-radius: 4px;
|
|
8354
|
+
background: rgba(0, 0, 0, 0.52);
|
|
8355
|
+
color: rgba(255, 255, 255, 0.92);
|
|
8356
|
+
pointer-events: none;
|
|
8357
|
+
white-space: nowrap;
|
|
8358
|
+
max-width: 55%;
|
|
8359
|
+
overflow: hidden;
|
|
8360
|
+
text-overflow: ellipsis;
|
|
8361
|
+
}
|
|
8362
|
+
.excalidraw .video-el__meta--duration {
|
|
8363
|
+
bottom: 8px;
|
|
8364
|
+
left: 8px;
|
|
8365
|
+
}
|
|
8366
|
+
.excalidraw .video-el__meta--dims {
|
|
8367
|
+
bottom: 8px;
|
|
8368
|
+
right: 8px;
|
|
8369
|
+
}
|
|
8370
|
+
.excalidraw .video-el__toolbar {
|
|
8371
|
+
position: absolute;
|
|
8372
|
+
top: 8px;
|
|
8373
|
+
right: 8px;
|
|
8374
|
+
display: flex;
|
|
8375
|
+
flex-direction: column;
|
|
8376
|
+
gap: 5px;
|
|
8377
|
+
pointer-events: auto;
|
|
8378
|
+
z-index: 2;
|
|
8379
|
+
}
|
|
8380
|
+
.excalidraw .video-el__tool-btn {
|
|
8381
|
+
width: 30px;
|
|
8382
|
+
height: 30px;
|
|
8383
|
+
border-radius: 8px;
|
|
8384
|
+
background: rgba(255, 255, 255, 0.88);
|
|
8385
|
+
backdrop-filter: blur(4px);
|
|
8386
|
+
border: none;
|
|
8387
|
+
cursor: pointer;
|
|
8388
|
+
display: flex;
|
|
8389
|
+
align-items: center;
|
|
8390
|
+
justify-content: center;
|
|
8391
|
+
color: #333;
|
|
8392
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
8393
|
+
transition: background 0.12s;
|
|
8394
|
+
}
|
|
8395
|
+
.excalidraw .video-el__tool-btn:hover {
|
|
8396
|
+
background: rgb(255, 255, 255);
|
|
8397
|
+
}
|
|
8398
|
+
.excalidraw .video-el__res-badge {
|
|
8399
|
+
width: 30px;
|
|
8400
|
+
height: 30px;
|
|
8401
|
+
border-radius: 8px;
|
|
8402
|
+
background: rgba(255, 255, 255, 0.88);
|
|
8403
|
+
backdrop-filter: blur(4px);
|
|
8404
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
8405
|
+
display: flex;
|
|
8406
|
+
align-items: center;
|
|
8407
|
+
justify-content: center;
|
|
8408
|
+
font-size: 9px;
|
|
8409
|
+
font-weight: 700;
|
|
8410
|
+
color: #222;
|
|
8411
|
+
letter-spacing: 0.03em;
|
|
8412
|
+
}
|
|
8413
|
+
.excalidraw .video-el__video {
|
|
8414
|
+
width: 100%;
|
|
8415
|
+
height: 100%;
|
|
8416
|
+
display: block;
|
|
8417
|
+
object-fit: contain;
|
|
8418
|
+
background: #000;
|
|
8419
|
+
cursor: pointer;
|
|
8420
|
+
}
|
|
8421
|
+
.excalidraw .video-el__controls {
|
|
8422
|
+
position: absolute;
|
|
8423
|
+
bottom: 0;
|
|
8424
|
+
left: 0;
|
|
8425
|
+
right: 0;
|
|
8426
|
+
display: flex;
|
|
8427
|
+
align-items: center;
|
|
8428
|
+
gap: 8px;
|
|
8429
|
+
padding: 10px 12px;
|
|
8430
|
+
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
|
8431
|
+
pointer-events: auto;
|
|
8432
|
+
}
|
|
8433
|
+
.excalidraw .video-el__ctrl-btn {
|
|
8434
|
+
flex-shrink: 0;
|
|
8435
|
+
width: 30px;
|
|
8436
|
+
height: 30px;
|
|
8437
|
+
border: none;
|
|
8438
|
+
background: none;
|
|
8439
|
+
color: #fff;
|
|
8440
|
+
cursor: pointer;
|
|
8441
|
+
display: flex;
|
|
8442
|
+
align-items: center;
|
|
8443
|
+
justify-content: center;
|
|
8444
|
+
border-radius: 6px;
|
|
8445
|
+
opacity: 0.9;
|
|
8446
|
+
transition: opacity 0.1s, background 0.1s;
|
|
8447
|
+
}
|
|
8448
|
+
.excalidraw .video-el__ctrl-btn:hover {
|
|
8449
|
+
opacity: 1;
|
|
8450
|
+
background: rgba(255, 255, 255, 0.15);
|
|
8451
|
+
}
|
|
8452
|
+
.excalidraw .video-el__progress {
|
|
8453
|
+
flex: 1;
|
|
8454
|
+
height: 5px;
|
|
8455
|
+
appearance: none;
|
|
8456
|
+
-webkit-appearance: none;
|
|
8457
|
+
background: rgba(255, 255, 255, 0.35);
|
|
8458
|
+
border-radius: 3px;
|
|
8459
|
+
cursor: pointer;
|
|
8460
|
+
outline: none;
|
|
8461
|
+
}
|
|
8462
|
+
.excalidraw .video-el__progress::-webkit-slider-thumb {
|
|
8463
|
+
-webkit-appearance: none;
|
|
8464
|
+
width: 14px;
|
|
8465
|
+
height: 14px;
|
|
8466
|
+
border-radius: 50%;
|
|
8467
|
+
background: #fff;
|
|
8468
|
+
cursor: pointer;
|
|
8469
|
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
|
|
8470
|
+
}
|
|
8471
|
+
.excalidraw .video-el__progress::-moz-range-thumb {
|
|
8472
|
+
width: 14px;
|
|
8473
|
+
height: 14px;
|
|
8474
|
+
border-radius: 50%;
|
|
8475
|
+
background: #fff;
|
|
8476
|
+
cursor: pointer;
|
|
8477
|
+
border: none;
|
|
8478
|
+
}
|
|
8479
|
+
.excalidraw .video-el__time {
|
|
8480
|
+
font-size: 12px;
|
|
8481
|
+
color: rgba(255, 255, 255, 0.9);
|
|
8482
|
+
font-variant-numeric: tabular-nums;
|
|
8483
|
+
flex-shrink: 0;
|
|
8484
|
+
white-space: nowrap;
|
|
8485
|
+
}
|
|
8486
|
+
.excalidraw .video-el__volume-wrap {
|
|
8487
|
+
position: relative;
|
|
8488
|
+
display: flex;
|
|
8489
|
+
align-items: center;
|
|
8490
|
+
flex-shrink: 0;
|
|
8491
|
+
}
|
|
8492
|
+
.excalidraw .video-el__volume-wrap:hover .video-el__volume-slider-wrap {
|
|
8493
|
+
opacity: 1;
|
|
8494
|
+
pointer-events: auto;
|
|
8495
|
+
transform: translateY(0);
|
|
8496
|
+
}
|
|
8497
|
+
.excalidraw .video-el__volume-slider-wrap {
|
|
8498
|
+
position: absolute;
|
|
8499
|
+
bottom: 100%;
|
|
8500
|
+
right: 0;
|
|
8501
|
+
transform: translateY(4px);
|
|
8502
|
+
background: rgba(20, 20, 20, 0.9);
|
|
8503
|
+
backdrop-filter: blur(6px);
|
|
8504
|
+
border-radius: 10px;
|
|
8505
|
+
padding: 10px 8px 14px;
|
|
8506
|
+
display: flex;
|
|
8507
|
+
flex-direction: column;
|
|
8508
|
+
align-items: center;
|
|
8509
|
+
gap: 4px;
|
|
8510
|
+
opacity: 0;
|
|
8511
|
+
pointer-events: none;
|
|
8512
|
+
transition: opacity 0.15s, transform 0.15s;
|
|
8513
|
+
z-index: 10;
|
|
8514
|
+
}
|
|
8515
|
+
.excalidraw .video-el__volume-label {
|
|
8516
|
+
font-size: 10px;
|
|
8517
|
+
color: rgba(255, 255, 255, 0.6);
|
|
8518
|
+
white-space: nowrap;
|
|
8519
|
+
}
|
|
8520
|
+
.excalidraw .video-el__volume-slider {
|
|
8521
|
+
height: 70px;
|
|
8522
|
+
width: 4px;
|
|
8523
|
+
appearance: none;
|
|
8524
|
+
-webkit-appearance: slider-vertical;
|
|
8525
|
+
writing-mode: vertical-lr;
|
|
8526
|
+
direction: rtl;
|
|
8527
|
+
background: rgba(255, 255, 255, 0.3);
|
|
8528
|
+
border-radius: 2px;
|
|
8529
|
+
cursor: pointer;
|
|
8530
|
+
outline: none;
|
|
8531
|
+
}
|
|
8532
|
+
.excalidraw .video-el__volume-slider::-webkit-slider-thumb {
|
|
8533
|
+
-webkit-appearance: none;
|
|
8534
|
+
width: 12px;
|
|
8535
|
+
height: 12px;
|
|
8536
|
+
border-radius: 50%;
|
|
8537
|
+
background: #fff;
|
|
8538
|
+
cursor: pointer;
|
|
8539
|
+
}
|
|
8540
|
+
.excalidraw .video-el__volume-slider::-moz-range-thumb {
|
|
8541
|
+
width: 12px;
|
|
8542
|
+
height: 12px;
|
|
8543
|
+
border-radius: 50%;
|
|
8544
|
+
background: #fff;
|
|
8545
|
+
border: none;
|
|
8546
|
+
}
|
|
8547
|
+
.excalidraw .video-el__uploading {
|
|
8548
|
+
width: 100%;
|
|
8549
|
+
height: 100%;
|
|
8550
|
+
display: flex;
|
|
8551
|
+
flex-direction: column;
|
|
8552
|
+
align-items: center;
|
|
8553
|
+
justify-content: center;
|
|
8554
|
+
background: rgba(0, 0, 0, 0.75);
|
|
8555
|
+
color: #fff;
|
|
8556
|
+
font-size: 13px;
|
|
8557
|
+
gap: 10px;
|
|
8558
|
+
}
|
|
8559
|
+
.excalidraw .video-el__spinner {
|
|
8560
|
+
width: 28px;
|
|
8561
|
+
height: 28px;
|
|
8562
|
+
border: 3px solid rgba(255, 255, 255, 0.2);
|
|
8563
|
+
border-top-color: #fff;
|
|
8564
|
+
border-radius: 50%;
|
|
8565
|
+
animation: video-el-spin 0.8s linear infinite;
|
|
8566
|
+
}
|
|
8567
|
+
.excalidraw .video-el__error {
|
|
8568
|
+
width: 100%;
|
|
8569
|
+
height: 100%;
|
|
8570
|
+
display: flex;
|
|
8571
|
+
flex-direction: column;
|
|
8572
|
+
align-items: center;
|
|
8573
|
+
justify-content: center;
|
|
8574
|
+
background: rgba(0, 0, 0, 0.7);
|
|
8575
|
+
color: #ff6b6b;
|
|
8576
|
+
font-size: 13px;
|
|
8577
|
+
gap: 6px;
|
|
8578
|
+
text-align: center;
|
|
8579
|
+
padding: 8px;
|
|
8580
|
+
}
|
|
8581
|
+
@keyframes video-el-spin {
|
|
8582
|
+
to {
|
|
8583
|
+
transform: rotate(360deg);
|
|
8584
|
+
}
|
|
8585
|
+
}
|
|
8586
|
+
|
|
7763
8587
|
/* components/SVGLayer.scss */
|
|
7764
8588
|
.excalidraw .SVGLayer {
|
|
7765
8589
|
pointer-events: none;
|