@cnc_cbz/usefultools-plugin-official 1.0.7 → 1.0.8

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.
@@ -487,6 +487,10 @@ export {
487
487
  top: 50%;
488
488
  }
489
489
 
490
+ .right-2 {
491
+ right: calc(var(--spacing) * 2);
492
+ }
493
+
490
494
  .left-2 {
491
495
  left: calc(var(--spacing) * 2);
492
496
  }
@@ -719,6 +723,10 @@ export {
719
723
  width: calc(var(--spacing) * 5);
720
724
  }
721
725
 
726
+ .w-7 {
727
+ width: calc(var(--spacing) * 7);
728
+ }
729
+
722
730
  .w-8 {
723
731
  width: calc(var(--spacing) * 8);
724
732
  }
@@ -1454,6 +1462,10 @@ export {
1454
1462
  padding-right: calc(var(--spacing) * 6);
1455
1463
  }
1456
1464
 
1465
+ .pr-11 {
1466
+ padding-right: calc(var(--spacing) * 11);
1467
+ }
1468
+
1457
1469
  .pl-1\\.5 {
1458
1470
  padding-left: calc(var(--spacing) * 1.5);
1459
1471
  }
@@ -296,6 +296,10 @@ export {
296
296
  top: 50%;
297
297
  }
298
298
 
299
+ .right-2 {
300
+ right: calc(var(--spacing) * 2);
301
+ }
302
+
299
303
  .left-2 {
300
304
  left: calc(var(--spacing) * 2);
301
305
  }
@@ -528,6 +532,10 @@ export {
528
532
  width: calc(var(--spacing) * 5);
529
533
  }
530
534
 
535
+ .w-7 {
536
+ width: calc(var(--spacing) * 7);
537
+ }
538
+
531
539
  .w-8 {
532
540
  width: calc(var(--spacing) * 8);
533
541
  }
@@ -1263,6 +1271,10 @@ export {
1263
1271
  padding-right: calc(var(--spacing) * 6);
1264
1272
  }
1265
1273
 
1274
+ .pr-11 {
1275
+ padding-right: calc(var(--spacing) * 11);
1276
+ }
1277
+
1266
1278
  .pl-1\\.5 {
1267
1279
  padding-left: calc(var(--spacing) * 1.5);
1268
1280
  }
@@ -440,6 +440,10 @@ export {
440
440
  top: 50%;
441
441
  }
442
442
 
443
+ .right-2 {
444
+ right: calc(var(--spacing) * 2);
445
+ }
446
+
443
447
  .left-2 {
444
448
  left: calc(var(--spacing) * 2);
445
449
  }
@@ -672,6 +676,10 @@ export {
672
676
  width: calc(var(--spacing) * 5);
673
677
  }
674
678
 
679
+ .w-7 {
680
+ width: calc(var(--spacing) * 7);
681
+ }
682
+
675
683
  .w-8 {
676
684
  width: calc(var(--spacing) * 8);
677
685
  }
@@ -1407,6 +1415,10 @@ export {
1407
1415
  padding-right: calc(var(--spacing) * 6);
1408
1416
  }
1409
1417
 
1418
+ .pr-11 {
1419
+ padding-right: calc(var(--spacing) * 11);
1420
+ }
1421
+
1410
1422
  .pl-1\\.5 {
1411
1423
  padding-left: calc(var(--spacing) * 1.5);
1412
1424
  }
@@ -365,6 +365,10 @@ export {
365
365
  top: 50%;
366
366
  }
367
367
 
368
+ .right-2 {
369
+ right: calc(var(--spacing) * 2);
370
+ }
371
+
368
372
  .left-2 {
369
373
  left: calc(var(--spacing) * 2);
370
374
  }
@@ -597,6 +601,10 @@ export {
597
601
  width: calc(var(--spacing) * 5);
598
602
  }
599
603
 
604
+ .w-7 {
605
+ width: calc(var(--spacing) * 7);
606
+ }
607
+
600
608
  .w-8 {
601
609
  width: calc(var(--spacing) * 8);
602
610
  }
@@ -1332,6 +1340,10 @@ export {
1332
1340
  padding-right: calc(var(--spacing) * 6);
1333
1341
  }
1334
1342
 
1343
+ .pr-11 {
1344
+ padding-right: calc(var(--spacing) * 11);
1345
+ }
1346
+
1335
1347
  .pl-1\\.5 {
1336
1348
  padding-left: calc(var(--spacing) * 1.5);
1337
1349
  }
@@ -641,6 +641,10 @@ export {
641
641
  top: 50%;
642
642
  }
643
643
 
644
+ .right-2 {
645
+ right: calc(var(--spacing) * 2);
646
+ }
647
+
644
648
  .left-2 {
645
649
  left: calc(var(--spacing) * 2);
646
650
  }
@@ -873,6 +877,10 @@ export {
873
877
  width: calc(var(--spacing) * 5);
874
878
  }
875
879
 
880
+ .w-7 {
881
+ width: calc(var(--spacing) * 7);
882
+ }
883
+
876
884
  .w-8 {
877
885
  width: calc(var(--spacing) * 8);
878
886
  }
@@ -1608,6 +1616,10 @@ export {
1608
1616
  padding-right: calc(var(--spacing) * 6);
1609
1617
  }
1610
1618
 
1619
+ .pr-11 {
1620
+ padding-right: calc(var(--spacing) * 11);
1621
+ }
1622
+
1611
1623
  .pl-1\\.5 {
1612
1624
  padding-left: calc(var(--spacing) * 1.5);
1613
1625
  }
@@ -24424,6 +24424,10 @@ export {
24424
24424
  top: 50%;
24425
24425
  }
24426
24426
 
24427
+ .right-2 {
24428
+ right: calc(var(--spacing) * 2);
24429
+ }
24430
+
24427
24431
  .left-2 {
24428
24432
  left: calc(var(--spacing) * 2);
24429
24433
  }
@@ -24656,6 +24660,10 @@ export {
24656
24660
  width: calc(var(--spacing) * 5);
24657
24661
  }
24658
24662
 
24663
+ .w-7 {
24664
+ width: calc(var(--spacing) * 7);
24665
+ }
24666
+
24659
24667
  .w-8 {
24660
24668
  width: calc(var(--spacing) * 8);
24661
24669
  }
@@ -25391,6 +25399,10 @@ export {
25391
25399
  padding-right: calc(var(--spacing) * 6);
25392
25400
  }
25393
25401
 
25402
+ .pr-11 {
25403
+ padding-right: calc(var(--spacing) * 11);
25404
+ }
25405
+
25394
25406
  .pl-1\\.5 {
25395
25407
  padding-left: calc(var(--spacing) * 1.5);
25396
25408
  }
@@ -1331,6 +1331,10 @@ export {
1331
1331
  top: 50%;
1332
1332
  }
1333
1333
 
1334
+ .right-2 {
1335
+ right: calc(var(--spacing) * 2);
1336
+ }
1337
+
1334
1338
  .left-2 {
1335
1339
  left: calc(var(--spacing) * 2);
1336
1340
  }
@@ -1563,6 +1567,10 @@ export {
1563
1567
  width: calc(var(--spacing) * 5);
1564
1568
  }
1565
1569
 
1570
+ .w-7 {
1571
+ width: calc(var(--spacing) * 7);
1572
+ }
1573
+
1566
1574
  .w-8 {
1567
1575
  width: calc(var(--spacing) * 8);
1568
1576
  }
@@ -2298,6 +2306,10 @@ export {
2298
2306
  padding-right: calc(var(--spacing) * 6);
2299
2307
  }
2300
2308
 
2309
+ .pr-11 {
2310
+ padding-right: calc(var(--spacing) * 11);
2311
+ }
2312
+
2301
2313
  .pl-1\\.5 {
2302
2314
  padding-left: calc(var(--spacing) * 1.5);
2303
2315
  }
@@ -393,6 +393,10 @@ export {
393
393
  top: 50%;
394
394
  }
395
395
 
396
+ .right-2 {
397
+ right: calc(var(--spacing) * 2);
398
+ }
399
+
396
400
  .left-2 {
397
401
  left: calc(var(--spacing) * 2);
398
402
  }
@@ -625,6 +629,10 @@ export {
625
629
  width: calc(var(--spacing) * 5);
626
630
  }
627
631
 
632
+ .w-7 {
633
+ width: calc(var(--spacing) * 7);
634
+ }
635
+
628
636
  .w-8 {
629
637
  width: calc(var(--spacing) * 8);
630
638
  }
@@ -1360,6 +1368,10 @@ export {
1360
1368
  padding-right: calc(var(--spacing) * 6);
1361
1369
  }
1362
1370
 
1371
+ .pr-11 {
1372
+ padding-right: calc(var(--spacing) * 11);
1373
+ }
1374
+
1363
1375
  .pl-1\\.5 {
1364
1376
  padding-left: calc(var(--spacing) * 1.5);
1365
1377
  }
@@ -341,6 +341,10 @@ export {
341
341
  top: 50%;
342
342
  }
343
343
 
344
+ .right-2 {
345
+ right: calc(var(--spacing) * 2);
346
+ }
347
+
344
348
  .left-2 {
345
349
  left: calc(var(--spacing) * 2);
346
350
  }
@@ -573,6 +577,10 @@ export {
573
577
  width: calc(var(--spacing) * 5);
574
578
  }
575
579
 
580
+ .w-7 {
581
+ width: calc(var(--spacing) * 7);
582
+ }
583
+
576
584
  .w-8 {
577
585
  width: calc(var(--spacing) * 8);
578
586
  }
@@ -1308,6 +1316,10 @@ export {
1308
1316
  padding-right: calc(var(--spacing) * 6);
1309
1317
  }
1310
1318
 
1319
+ .pr-11 {
1320
+ padding-right: calc(var(--spacing) * 11);
1321
+ }
1322
+
1311
1323
  .pl-1\\.5 {
1312
1324
  padding-left: calc(var(--spacing) * 1.5);
1313
1325
  }
@@ -491,6 +491,10 @@ export {
491
491
  top: 50%;
492
492
  }
493
493
 
494
+ .right-2 {
495
+ right: calc(var(--spacing) * 2);
496
+ }
497
+
494
498
  .left-2 {
495
499
  left: calc(var(--spacing) * 2);
496
500
  }
@@ -723,6 +727,10 @@ export {
723
727
  width: calc(var(--spacing) * 5);
724
728
  }
725
729
 
730
+ .w-7 {
731
+ width: calc(var(--spacing) * 7);
732
+ }
733
+
726
734
  .w-8 {
727
735
  width: calc(var(--spacing) * 8);
728
736
  }
@@ -1458,6 +1466,10 @@ export {
1458
1466
  padding-right: calc(var(--spacing) * 6);
1459
1467
  }
1460
1468
 
1469
+ .pr-11 {
1470
+ padding-right: calc(var(--spacing) * 11);
1471
+ }
1472
+
1461
1473
  .pl-1\\.5 {
1462
1474
  padding-left: calc(var(--spacing) * 1.5);
1463
1475
  }
@@ -376,6 +376,10 @@ export {
376
376
  top: 50%;
377
377
  }
378
378
 
379
+ .right-2 {
380
+ right: calc(var(--spacing) * 2);
381
+ }
382
+
379
383
  .left-2 {
380
384
  left: calc(var(--spacing) * 2);
381
385
  }
@@ -608,6 +612,10 @@ export {
608
612
  width: calc(var(--spacing) * 5);
609
613
  }
610
614
 
615
+ .w-7 {
616
+ width: calc(var(--spacing) * 7);
617
+ }
618
+
611
619
  .w-8 {
612
620
  width: calc(var(--spacing) * 8);
613
621
  }
@@ -1343,6 +1351,10 @@ export {
1343
1351
  padding-right: calc(var(--spacing) * 6);
1344
1352
  }
1345
1353
 
1354
+ .pr-11 {
1355
+ padding-right: calc(var(--spacing) * 11);
1356
+ }
1357
+
1346
1358
  .pl-1\\.5 {
1347
1359
  padding-left: calc(var(--spacing) * 1.5);
1348
1360
  }
@@ -40101,6 +40101,10 @@ export {
40101
40101
  top: 50%;
40102
40102
  }
40103
40103
 
40104
+ .right-2 {
40105
+ right: calc(var(--spacing) * 2);
40106
+ }
40107
+
40104
40108
  .left-2 {
40105
40109
  left: calc(var(--spacing) * 2);
40106
40110
  }
@@ -40333,6 +40337,10 @@ export {
40333
40337
  width: calc(var(--spacing) * 5);
40334
40338
  }
40335
40339
 
40340
+ .w-7 {
40341
+ width: calc(var(--spacing) * 7);
40342
+ }
40343
+
40336
40344
  .w-8 {
40337
40345
  width: calc(var(--spacing) * 8);
40338
40346
  }
@@ -41068,6 +41076,10 @@ export {
41068
41076
  padding-right: calc(var(--spacing) * 6);
41069
41077
  }
41070
41078
 
41079
+ .pr-11 {
41080
+ padding-right: calc(var(--spacing) * 11);
41081
+ }
41082
+
41071
41083
  .pl-1\\.5 {
41072
41084
  padding-left: calc(var(--spacing) * 1.5);
41073
41085
  }
@@ -861,6 +861,10 @@ export {
861
861
  top: 50%;
862
862
  }
863
863
 
864
+ .right-2 {
865
+ right: calc(var(--spacing) * 2);
866
+ }
867
+
864
868
  .left-2 {
865
869
  left: calc(var(--spacing) * 2);
866
870
  }
@@ -1093,6 +1097,10 @@ export {
1093
1097
  width: calc(var(--spacing) * 5);
1094
1098
  }
1095
1099
 
1100
+ .w-7 {
1101
+ width: calc(var(--spacing) * 7);
1102
+ }
1103
+
1096
1104
  .w-8 {
1097
1105
  width: calc(var(--spacing) * 8);
1098
1106
  }
@@ -1828,6 +1836,10 @@ export {
1828
1836
  padding-right: calc(var(--spacing) * 6);
1829
1837
  }
1830
1838
 
1839
+ .pr-11 {
1840
+ padding-right: calc(var(--spacing) * 11);
1841
+ }
1842
+
1831
1843
  .pl-1\\.5 {
1832
1844
  padding-left: calc(var(--spacing) * 1.5);
1833
1845
  }
@@ -1217,6 +1217,10 @@ export {
1217
1217
  top: 50%;
1218
1218
  }
1219
1219
 
1220
+ .right-2 {
1221
+ right: calc(var(--spacing) * 2);
1222
+ }
1223
+
1220
1224
  .left-2 {
1221
1225
  left: calc(var(--spacing) * 2);
1222
1226
  }
@@ -1449,6 +1453,10 @@ export {
1449
1453
  width: calc(var(--spacing) * 5);
1450
1454
  }
1451
1455
 
1456
+ .w-7 {
1457
+ width: calc(var(--spacing) * 7);
1458
+ }
1459
+
1452
1460
  .w-8 {
1453
1461
  width: calc(var(--spacing) * 8);
1454
1462
  }
@@ -2184,6 +2192,10 @@ export {
2184
2192
  padding-right: calc(var(--spacing) * 6);
2185
2193
  }
2186
2194
 
2195
+ .pr-11 {
2196
+ padding-right: calc(var(--spacing) * 11);
2197
+ }
2198
+
2187
2199
  .pl-1\\.5 {
2188
2200
  padding-left: calc(var(--spacing) * 1.5);
2189
2201
  }
@@ -410,6 +410,10 @@ export {
410
410
  top: 50%;
411
411
  }
412
412
 
413
+ .right-2 {
414
+ right: calc(var(--spacing) * 2);
415
+ }
416
+
413
417
  .left-2 {
414
418
  left: calc(var(--spacing) * 2);
415
419
  }
@@ -642,6 +646,10 @@ export {
642
646
  width: calc(var(--spacing) * 5);
643
647
  }
644
648
 
649
+ .w-7 {
650
+ width: calc(var(--spacing) * 7);
651
+ }
652
+
645
653
  .w-8 {
646
654
  width: calc(var(--spacing) * 8);
647
655
  }
@@ -1377,6 +1385,10 @@ export {
1377
1385
  padding-right: calc(var(--spacing) * 6);
1378
1386
  }
1379
1387
 
1388
+ .pr-11 {
1389
+ padding-right: calc(var(--spacing) * 11);
1390
+ }
1391
+
1380
1392
  .pl-1\\.5 {
1381
1393
  padding-left: calc(var(--spacing) * 1.5);
1382
1394
  }
@@ -559,6 +559,10 @@ export {
559
559
  top: 50%;
560
560
  }
561
561
 
562
+ .right-2 {
563
+ right: calc(var(--spacing) * 2);
564
+ }
565
+
562
566
  .left-2 {
563
567
  left: calc(var(--spacing) * 2);
564
568
  }
@@ -791,6 +795,10 @@ export {
791
795
  width: calc(var(--spacing) * 5);
792
796
  }
793
797
 
798
+ .w-7 {
799
+ width: calc(var(--spacing) * 7);
800
+ }
801
+
794
802
  .w-8 {
795
803
  width: calc(var(--spacing) * 8);
796
804
  }
@@ -1526,6 +1534,10 @@ export {
1526
1534
  padding-right: calc(var(--spacing) * 6);
1527
1535
  }
1528
1536
 
1537
+ .pr-11 {
1538
+ padding-right: calc(var(--spacing) * 11);
1539
+ }
1540
+
1529
1541
  .pl-1\\.5 {
1530
1542
  padding-left: calc(var(--spacing) * 1.5);
1531
1543
  }
@@ -400,6 +400,10 @@ export {
400
400
  top: 50%;
401
401
  }
402
402
 
403
+ .right-2 {
404
+ right: calc(var(--spacing) * 2);
405
+ }
406
+
403
407
  .left-2 {
404
408
  left: calc(var(--spacing) * 2);
405
409
  }
@@ -632,6 +636,10 @@ export {
632
636
  width: calc(var(--spacing) * 5);
633
637
  }
634
638
 
639
+ .w-7 {
640
+ width: calc(var(--spacing) * 7);
641
+ }
642
+
635
643
  .w-8 {
636
644
  width: calc(var(--spacing) * 8);
637
645
  }
@@ -1367,6 +1375,10 @@ export {
1367
1375
  padding-right: calc(var(--spacing) * 6);
1368
1376
  }
1369
1377
 
1378
+ .pr-11 {
1379
+ padding-right: calc(var(--spacing) * 11);
1380
+ }
1381
+
1370
1382
  .pl-1\\.5 {
1371
1383
  padding-left: calc(var(--spacing) * 1.5);
1372
1384
  }
@@ -301,6 +301,10 @@ export {
301
301
  top: 50%;
302
302
  }
303
303
 
304
+ .right-2 {
305
+ right: calc(var(--spacing) * 2);
306
+ }
307
+
304
308
  .left-2 {
305
309
  left: calc(var(--spacing) * 2);
306
310
  }
@@ -533,6 +537,10 @@ export {
533
537
  width: calc(var(--spacing) * 5);
534
538
  }
535
539
 
540
+ .w-7 {
541
+ width: calc(var(--spacing) * 7);
542
+ }
543
+
536
544
  .w-8 {
537
545
  width: calc(var(--spacing) * 8);
538
546
  }
@@ -1268,6 +1276,10 @@ export {
1268
1276
  padding-right: calc(var(--spacing) * 6);
1269
1277
  }
1270
1278
 
1279
+ .pr-11 {
1280
+ padding-right: calc(var(--spacing) * 11);
1281
+ }
1282
+
1271
1283
  .pl-1\\.5 {
1272
1284
  padding-left: calc(var(--spacing) * 1.5);
1273
1285
  }
@@ -408,6 +408,10 @@ export {
408
408
  top: 50%;
409
409
  }
410
410
 
411
+ .right-2 {
412
+ right: calc(var(--spacing) * 2);
413
+ }
414
+
411
415
  .left-2 {
412
416
  left: calc(var(--spacing) * 2);
413
417
  }
@@ -640,6 +644,10 @@ export {
640
644
  width: calc(var(--spacing) * 5);
641
645
  }
642
646
 
647
+ .w-7 {
648
+ width: calc(var(--spacing) * 7);
649
+ }
650
+
643
651
  .w-8 {
644
652
  width: calc(var(--spacing) * 8);
645
653
  }
@@ -1375,6 +1383,10 @@ export {
1375
1383
  padding-right: calc(var(--spacing) * 6);
1376
1384
  }
1377
1385
 
1386
+ .pr-11 {
1387
+ padding-right: calc(var(--spacing) * 11);
1388
+ }
1389
+
1378
1390
  .pl-1\\.5 {
1379
1391
  padding-left: calc(var(--spacing) * 1.5);
1380
1392
  }
@@ -392,6 +392,10 @@ export {
392
392
  top: 50%;
393
393
  }
394
394
 
395
+ .right-2 {
396
+ right: calc(var(--spacing) * 2);
397
+ }
398
+
395
399
  .left-2 {
396
400
  left: calc(var(--spacing) * 2);
397
401
  }
@@ -624,6 +628,10 @@ export {
624
628
  width: calc(var(--spacing) * 5);
625
629
  }
626
630
 
631
+ .w-7 {
632
+ width: calc(var(--spacing) * 7);
633
+ }
634
+
627
635
  .w-8 {
628
636
  width: calc(var(--spacing) * 8);
629
637
  }
@@ -1359,6 +1367,10 @@ export {
1359
1367
  padding-right: calc(var(--spacing) * 6);
1360
1368
  }
1361
1369
 
1370
+ .pr-11 {
1371
+ padding-right: calc(var(--spacing) * 11);
1372
+ }
1373
+
1362
1374
  .pl-1\\.5 {
1363
1375
  padding-left: calc(var(--spacing) * 1.5);
1364
1376
  }
@@ -578,6 +578,10 @@ export {
578
578
  top: 50%;
579
579
  }
580
580
 
581
+ .right-2 {
582
+ right: calc(var(--spacing) * 2);
583
+ }
584
+
581
585
  .left-2 {
582
586
  left: calc(var(--spacing) * 2);
583
587
  }
@@ -810,6 +814,10 @@ export {
810
814
  width: calc(var(--spacing) * 5);
811
815
  }
812
816
 
817
+ .w-7 {
818
+ width: calc(var(--spacing) * 7);
819
+ }
820
+
813
821
  .w-8 {
814
822
  width: calc(var(--spacing) * 8);
815
823
  }
@@ -1545,6 +1553,10 @@ export {
1545
1553
  padding-right: calc(var(--spacing) * 6);
1546
1554
  }
1547
1555
 
1556
+ .pr-11 {
1557
+ padding-right: calc(var(--spacing) * 11);
1558
+ }
1559
+
1548
1560
  .pl-1\\.5 {
1549
1561
  padding-left: calc(var(--spacing) * 1.5);
1550
1562
  }
@@ -396,6 +396,10 @@ export {
396
396
  top: 50%;
397
397
  }
398
398
 
399
+ .right-2 {
400
+ right: calc(var(--spacing) * 2);
401
+ }
402
+
399
403
  .left-2 {
400
404
  left: calc(var(--spacing) * 2);
401
405
  }
@@ -628,6 +632,10 @@ export {
628
632
  width: calc(var(--spacing) * 5);
629
633
  }
630
634
 
635
+ .w-7 {
636
+ width: calc(var(--spacing) * 7);
637
+ }
638
+
631
639
  .w-8 {
632
640
  width: calc(var(--spacing) * 8);
633
641
  }
@@ -1363,6 +1371,10 @@ export {
1363
1371
  padding-right: calc(var(--spacing) * 6);
1364
1372
  }
1365
1373
 
1374
+ .pr-11 {
1375
+ padding-right: calc(var(--spacing) * 11);
1376
+ }
1377
+
1366
1378
  .pl-1\\.5 {
1367
1379
  padding-left: calc(var(--spacing) * 1.5);
1368
1380
  }
@@ -1085,6 +1085,10 @@ export {
1085
1085
  top: 50%;
1086
1086
  }
1087
1087
 
1088
+ .right-2 {
1089
+ right: calc(var(--spacing) * 2);
1090
+ }
1091
+
1088
1092
  .left-2 {
1089
1093
  left: calc(var(--spacing) * 2);
1090
1094
  }
@@ -1317,6 +1321,10 @@ export {
1317
1321
  width: calc(var(--spacing) * 5);
1318
1322
  }
1319
1323
 
1324
+ .w-7 {
1325
+ width: calc(var(--spacing) * 7);
1326
+ }
1327
+
1320
1328
  .w-8 {
1321
1329
  width: calc(var(--spacing) * 8);
1322
1330
  }
@@ -2052,6 +2060,10 @@ export {
2052
2060
  padding-right: calc(var(--spacing) * 6);
2053
2061
  }
2054
2062
 
2063
+ .pr-11 {
2064
+ padding-right: calc(var(--spacing) * 11);
2065
+ }
2066
+
2055
2067
  .pl-1\\.5 {
2056
2068
  padding-left: calc(var(--spacing) * 1.5);
2057
2069
  }
@@ -359,6 +359,10 @@ export {
359
359
  top: 50%;
360
360
  }
361
361
 
362
+ .right-2 {
363
+ right: calc(var(--spacing) * 2);
364
+ }
365
+
362
366
  .left-2 {
363
367
  left: calc(var(--spacing) * 2);
364
368
  }
@@ -591,6 +595,10 @@ export {
591
595
  width: calc(var(--spacing) * 5);
592
596
  }
593
597
 
598
+ .w-7 {
599
+ width: calc(var(--spacing) * 7);
600
+ }
601
+
594
602
  .w-8 {
595
603
  width: calc(var(--spacing) * 8);
596
604
  }
@@ -1326,6 +1334,10 @@ export {
1326
1334
  padding-right: calc(var(--spacing) * 6);
1327
1335
  }
1328
1336
 
1337
+ .pr-11 {
1338
+ padding-right: calc(var(--spacing) * 11);
1339
+ }
1340
+
1329
1341
  .pl-1\\.5 {
1330
1342
  padding-left: calc(var(--spacing) * 1.5);
1331
1343
  }
@@ -493,6 +493,10 @@ export {
493
493
  top: 50%;
494
494
  }
495
495
 
496
+ .right-2 {
497
+ right: calc(var(--spacing) * 2);
498
+ }
499
+
496
500
  .left-2 {
497
501
  left: calc(var(--spacing) * 2);
498
502
  }
@@ -725,6 +729,10 @@ export {
725
729
  width: calc(var(--spacing) * 5);
726
730
  }
727
731
 
732
+ .w-7 {
733
+ width: calc(var(--spacing) * 7);
734
+ }
735
+
728
736
  .w-8 {
729
737
  width: calc(var(--spacing) * 8);
730
738
  }
@@ -1460,6 +1468,10 @@ export {
1460
1468
  padding-right: calc(var(--spacing) * 6);
1461
1469
  }
1462
1470
 
1471
+ .pr-11 {
1472
+ padding-right: calc(var(--spacing) * 11);
1473
+ }
1474
+
1463
1475
  .pl-1\\.5 {
1464
1476
  padding-left: calc(var(--spacing) * 1.5);
1465
1477
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, openBlock, createElementBlock, createCommentVNode, createElementVNode, normalizeClass, toDisplayString, createTextVNode, Fragment, withDirectives, renderList, vModelSelect, unref, vModelText, createBlock, Teleport } from "vue";
1
+ import { defineComponent, ref, watch, computed, openBlock, createElementBlock, createCommentVNode, createElementVNode, normalizeClass, toDisplayString, createTextVNode, Fragment, withDirectives, renderList, vModelSelect, unref, vModelText, createBlock, Teleport, vModelDynamic } from "vue";
2
2
  import { fetch } from "@tauri-apps/plugin-http";
3
3
  const _hoisted_1 = { class: "flex flex-col h-full gap-4" };
4
4
  const _hoisted_2 = { class: "flex flex-wrap items-center gap-3" };
@@ -51,9 +51,21 @@ const _hoisted_25 = {
51
51
  };
52
52
  const _hoisted_26 = { class: "relative w-full max-w-lg bg-deep-charcoal border-4 border-black rounded-xl shadow-hard-xl p-6 flex flex-col gap-4" };
53
53
  const _hoisted_27 = { class: "flex items-center gap-2" };
54
- const _hoisted_28 = { class: "flex flex-col gap-1.5" };
55
- const _hoisted_29 = { class: "flex flex-col gap-1.5" };
56
- const _hoisted_30 = { class: "flex justify-end gap-3 mt-1" };
54
+ const _hoisted_28 = {
55
+ key: 0,
56
+ class: "flex flex-col gap-1.5"
57
+ };
58
+ const _hoisted_29 = { class: "relative" };
59
+ const _hoisted_30 = ["type"];
60
+ const _hoisted_31 = { class: "material-icons text-base" };
61
+ const _hoisted_32 = {
62
+ key: 1,
63
+ class: "flex flex-col gap-1.5"
64
+ };
65
+ const _hoisted_33 = { class: "relative" };
66
+ const _hoisted_34 = ["type"];
67
+ const _hoisted_35 = { class: "material-icons text-base" };
68
+ const _hoisted_36 = { class: "flex justify-end gap-3 mt-1" };
57
69
  const GOOGLE_KEY = "translator-google-api-key";
58
70
  const AI_KEY = "translator-ai-api-key";
59
71
  const AI_MODEL_KEY = "translator-ai-model";
@@ -69,6 +81,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
81
  const showSettings = ref(false);
70
82
  const googleKeyInput = ref("");
71
83
  const aiKeyInput = ref("");
84
+ const showGoogleKey = ref(false);
85
+ const showAiKey = ref(false);
86
+ const hasGoogleApiKey = computed(() => !!googleApiKey.value.trim());
87
+ const hasAiApiKey = computed(() => !!aiApiKey.value.trim());
88
+ const hasCurrentApiKey = computed(() => engine.value === "google" ? hasGoogleApiKey.value : hasAiApiKey.value);
89
+ const canToggleGoogleKey = computed(() => !!googleKeyInput.value.trim());
90
+ const canToggleAiKey = computed(() => !!aiKeyInput.value.trim());
72
91
  const aiModel = ref(localStorage.getItem(AI_MODEL_KEY) || DEFAULT_MODEL);
73
92
  const aiModels = ref([]);
74
93
  const modelsLoading = ref(false);
@@ -135,6 +154,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
154
  function openSettings() {
136
155
  googleKeyInput.value = googleApiKey.value;
137
156
  aiKeyInput.value = aiApiKey.value;
157
+ showGoogleKey.value = false;
158
+ showAiKey.value = false;
138
159
  showSettings.value = true;
139
160
  }
140
161
  function saveKeys() {
@@ -248,8 +269,9 @@ ${sourceText.value}`;
248
269
  }
249
270
  }
250
271
  async function copyResult() {
251
- if (!translatedText.value) return;
252
- await navigator.clipboard.writeText(translatedText.value);
272
+ const textToCopy = translatedText.value.trim();
273
+ if (!textToCopy) return;
274
+ await navigator.clipboard.writeText(textToCopy);
253
275
  copySuccess.value = true;
254
276
  setTimeout(() => {
255
277
  copySuccess.value = false;
@@ -294,6 +316,7 @@ ${sourceText.value}`;
294
316
  function onTextareaKeydown(e) {
295
317
  if (engine.value === "ai" && e.key === "Enter" && !e.shiftKey) {
296
318
  e.preventDefault();
319
+ e.stopPropagation();
297
320
  translate();
298
321
  }
299
322
  }
@@ -351,19 +374,19 @@ ${sourceText.value}`;
351
374
  class: "h-9 px-3 bg-deep-charcoal text-gray-300 font-bold border-2 border-white/20 rounded hover:border-primary hover:text-primary transition-all text-sm flex items-center gap-1.5",
352
375
  onClick: openSettings
353
376
  }, [
354
- _cache[11] || (_cache[11] = createElementVNode(
377
+ _cache[13] || (_cache[13] = createElementVNode(
355
378
  "span",
356
379
  { class: "material-icons text-lg" },
357
380
  "key",
358
381
  -1
359
382
  /* CACHED */
360
383
  )),
361
- _cache[12] || (_cache[12] = createTextVNode(
384
+ _cache[14] || (_cache[14] = createTextVNode(
362
385
  " API Key ",
363
386
  -1
364
387
  /* CACHED */
365
388
  )),
366
- engine.value === "google" && googleApiKey.value || engine.value === "ai" && aiApiKey.value ? (openBlock(), createElementBlock("span", _hoisted_5)) : (openBlock(), createElementBlock("span", _hoisted_6))
389
+ hasCurrentApiKey.value ? (openBlock(), createElementBlock("span", _hoisted_5)) : (openBlock(), createElementBlock("span", _hoisted_6))
367
390
  ]),
368
391
  createCommentVNode(" AI 模型选择 "),
369
392
  engine.value === "ai" ? (openBlock(), createElementBlock(
@@ -371,7 +394,7 @@ ${sourceText.value}`;
371
394
  { key: 0 },
372
395
  [
373
396
  createElementVNode("div", _hoisted_7, [
374
- _cache[14] || (_cache[14] = createElementVNode(
397
+ _cache[16] || (_cache[16] = createElementVNode(
375
398
  "span",
376
399
  { class: "material-icons text-vibrant-purple text-base" },
377
400
  "smart_toy",
@@ -414,7 +437,7 @@ ${sourceText.value}`;
414
437
  title: "刷新模型列表",
415
438
  onClick: fetchModels
416
439
  },
417
- [..._cache[13] || (_cache[13] = [
440
+ [..._cache[15] || (_cache[15] = [
418
441
  createElementVNode(
419
442
  "span",
420
443
  { class: "material-icons text-sm" },
@@ -469,7 +492,7 @@ ${sourceText.value}`;
469
492
  createElementVNode("button", {
470
493
  class: "w-8 h-8 flex items-center justify-center bg-deep-charcoal border-2 border-white/20 rounded-full hover:border-primary hover:text-primary transition-all",
471
494
  onClick: swapLangs
472
- }, [..._cache[15] || (_cache[15] = [
495
+ }, [..._cache[17] || (_cache[17] = [
473
496
  createElementVNode(
474
497
  "span",
475
498
  { class: "material-icons text-base" },
@@ -506,7 +529,7 @@ ${sourceText.value}`;
506
529
  ]),
507
530
  createCommentVNode(" Error bar "),
508
531
  errorMsg.value ? (openBlock(), createElementBlock("div", _hoisted_14, [
509
- _cache[16] || (_cache[16] = createElementVNode(
532
+ _cache[18] || (_cache[18] = createElementVNode(
510
533
  "span",
511
534
  { class: "material-icons text-lg" },
512
535
  "error_outline",
@@ -523,7 +546,7 @@ ${sourceText.value}`;
523
546
  createElementVNode("div", _hoisted_15, [
524
547
  createCommentVNode(" 源文本 "),
525
548
  createElementVNode("div", _hoisted_16, [
526
- _cache[17] || (_cache[17] = createElementVNode(
549
+ _cache[19] || (_cache[19] = createElementVNode(
527
550
  "div",
528
551
  { class: "flex items-center gap-2 mb-2" },
529
552
  [
@@ -546,14 +569,14 @@ ${sourceText.value}`;
546
569
  createCommentVNode(" 翻译结果 "),
547
570
  createElementVNode("div", _hoisted_18, [
548
571
  createElementVNode("div", _hoisted_19, [
549
- _cache[18] || (_cache[18] = createElementVNode(
572
+ _cache[20] || (_cache[20] = createElementVNode(
550
573
  "span",
551
574
  { class: "material-icons text-neon-green text-lg" },
552
575
  "g_translate",
553
576
  -1
554
577
  /* CACHED */
555
578
  )),
556
- _cache[19] || (_cache[19] = createElementVNode(
579
+ _cache[21] || (_cache[21] = createElementVNode(
557
580
  "span",
558
581
  { class: "text-sm font-bold text-gray-400 uppercase tracking-wider" },
559
582
  "译文",
@@ -586,7 +609,7 @@ ${sourceText.value}`;
586
609
  )) : createCommentVNode("v-if", true)
587
610
  ]),
588
611
  createElementVNode("div", _hoisted_21, [
589
- loading.value && engine.value === "google" ? (openBlock(), createElementBlock("div", _hoisted_22, [..._cache[20] || (_cache[20] = [
612
+ loading.value && engine.value === "google" ? (openBlock(), createElementBlock("div", _hoisted_22, [..._cache[22] || (_cache[22] = [
590
613
  createElementVNode(
591
614
  "span",
592
615
  { class: "material-icons text-primary text-base animate-spin" },
@@ -618,14 +641,14 @@ ${sourceText.value}`;
618
641
  }),
619
642
  createElementVNode("div", _hoisted_26, [
620
643
  createElementVNode("div", _hoisted_27, [
621
- _cache[22] || (_cache[22] = createElementVNode(
644
+ _cache[24] || (_cache[24] = createElementVNode(
622
645
  "span",
623
646
  { class: "material-icons text-primary text-xl" },
624
647
  "key",
625
648
  -1
626
649
  /* CACHED */
627
650
  )),
628
- _cache[23] || (_cache[23] = createElementVNode(
651
+ _cache[25] || (_cache[25] = createElementVNode(
629
652
  "span",
630
653
  { class: "text-lg font-bold text-white" },
631
654
  "配置 API Key",
@@ -635,7 +658,7 @@ ${sourceText.value}`;
635
658
  createElementVNode("button", {
636
659
  class: "ml-auto w-8 h-8 flex items-center justify-center text-gray-400 hover:text-white transition-colors",
637
660
  onClick: _cache[7] || (_cache[7] = ($event) => showSettings.value = false)
638
- }, [..._cache[21] || (_cache[21] = [
661
+ }, [..._cache[23] || (_cache[23] = [
639
662
  createElementVNode(
640
663
  "span",
641
664
  { class: "material-icons" },
@@ -645,65 +668,81 @@ ${sourceText.value}`;
645
668
  )
646
669
  ])])
647
670
  ]),
648
- createCommentVNode(" Google API Key "),
649
- createElementVNode("div", _hoisted_28, [
650
- _cache[24] || (_cache[24] = createElementVNode(
671
+ createCommentVNode(" 当前引擎 API Key "),
672
+ engine.value === "google" ? (openBlock(), createElementBlock("div", _hoisted_28, [
673
+ _cache[26] || (_cache[26] = createElementVNode(
651
674
  "label",
652
675
  { class: "text-xs font-bold text-gray-400 uppercase tracking-wider" },
653
676
  "Google Translation API Key",
654
677
  -1
655
678
  /* CACHED */
656
679
  )),
657
- withDirectives(createElementVNode(
658
- "input",
659
- {
680
+ createElementVNode("div", _hoisted_29, [
681
+ withDirectives(createElementVNode("input", {
660
682
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => googleKeyInput.value = $event),
661
- type: "password",
683
+ type: showGoogleKey.value ? "text" : "password",
662
684
  placeholder: "AIzaSy...",
663
- class: "w-full bg-bg-dark text-gray-100 border-2 border-black rounded-lg px-4 py-2.5 font-mono text-sm outline-none focus:border-primary transition-colors placeholder-gray-600"
664
- },
665
- null,
666
- 512
667
- /* NEED_PATCH */
668
- ), [
669
- [vModelText, googleKeyInput.value]
685
+ class: "api-key-input w-full bg-bg-dark text-gray-100 border-2 border-black rounded-lg px-4 py-2.5 pr-11 font-mono text-sm outline-none focus:border-primary transition-colors placeholder-gray-600"
686
+ }, null, 8, _hoisted_30), [
687
+ [vModelDynamic, googleKeyInput.value]
688
+ ]),
689
+ canToggleGoogleKey.value ? (openBlock(), createElementBlock("button", {
690
+ key: 0,
691
+ class: "absolute right-2 top-1/2 -translate-y-1/2 w-7 h-7 flex items-center justify-center text-gray-400 hover:text-primary transition-colors",
692
+ onClick: _cache[9] || (_cache[9] = ($event) => showGoogleKey.value = !showGoogleKey.value)
693
+ }, [
694
+ createElementVNode(
695
+ "span",
696
+ _hoisted_31,
697
+ toDisplayString(showGoogleKey.value ? "visibility_off" : "visibility"),
698
+ 1
699
+ /* TEXT */
700
+ )
701
+ ])) : createCommentVNode("v-if", true)
670
702
  ])
671
- ]),
672
- createCommentVNode(" SiliconFlow API Key "),
673
- createElementVNode("div", _hoisted_29, [
674
- _cache[25] || (_cache[25] = createElementVNode(
703
+ ])) : (openBlock(), createElementBlock("div", _hoisted_32, [
704
+ _cache[27] || (_cache[27] = createElementVNode(
675
705
  "label",
676
706
  { class: "text-xs font-bold text-gray-400 uppercase tracking-wider" },
677
707
  "SiliconFlow API Key(AI 翻译)",
678
708
  -1
679
709
  /* CACHED */
680
710
  )),
681
- withDirectives(createElementVNode(
682
- "input",
683
- {
684
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => aiKeyInput.value = $event),
685
- type: "password",
711
+ createElementVNode("div", _hoisted_33, [
712
+ withDirectives(createElementVNode("input", {
713
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => aiKeyInput.value = $event),
714
+ type: showAiKey.value ? "text" : "password",
686
715
  placeholder: "sk-...",
687
- class: "w-full bg-bg-dark text-gray-100 border-2 border-black rounded-lg px-4 py-2.5 font-mono text-sm outline-none focus:border-primary transition-colors placeholder-gray-600"
688
- },
689
- null,
690
- 512
691
- /* NEED_PATCH */
692
- ), [
693
- [vModelText, aiKeyInput.value]
716
+ class: "api-key-input w-full bg-bg-dark text-gray-100 border-2 border-black rounded-lg px-4 py-2.5 pr-11 font-mono text-sm outline-none focus:border-primary transition-colors placeholder-gray-600"
717
+ }, null, 8, _hoisted_34), [
718
+ [vModelDynamic, aiKeyInput.value]
719
+ ]),
720
+ canToggleAiKey.value ? (openBlock(), createElementBlock("button", {
721
+ key: 0,
722
+ class: "absolute right-2 top-1/2 -translate-y-1/2 w-7 h-7 flex items-center justify-center text-gray-400 hover:text-primary transition-colors",
723
+ onClick: _cache[11] || (_cache[11] = ($event) => showAiKey.value = !showAiKey.value)
724
+ }, [
725
+ createElementVNode(
726
+ "span",
727
+ _hoisted_35,
728
+ toDisplayString(showAiKey.value ? "visibility_off" : "visibility"),
729
+ 1
730
+ /* TEXT */
731
+ )
732
+ ])) : createCommentVNode("v-if", true)
694
733
  ]),
695
- _cache[26] || (_cache[26] = createElementVNode(
734
+ _cache[28] || (_cache[28] = createElementVNode(
696
735
  "p",
697
736
  { class: "text-[11px] text-gray-600" },
698
737
  "密钥从 cloud.siliconflow.cn 获取,保存后可在工具栏选择模型",
699
738
  -1
700
739
  /* CACHED */
701
740
  ))
702
- ]),
703
- createElementVNode("div", _hoisted_30, [
741
+ ])),
742
+ createElementVNode("div", _hoisted_36, [
704
743
  createElementVNode("button", {
705
744
  class: "px-4 py-2 bg-white/10 text-gray-300 font-bold border-2 border-white/20 rounded hover:border-white hover:text-white transition-all text-sm",
706
- onClick: _cache[10] || (_cache[10] = ($event) => showSettings.value = false)
745
+ onClick: _cache[12] || (_cache[12] = ($event) => showSettings.value = false)
707
746
  }, " 取消 "),
708
747
  createElementVNode("button", {
709
748
  class: "px-4 py-2 bg-primary text-black font-bold border-2 border-black rounded shadow-hard-sm hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px] transition-all text-sm",
@@ -717,8 +756,16 @@ ${sourceText.value}`;
717
756
  };
718
757
  }
719
758
  });
759
+ const _export_sfc = (sfc, props) => {
760
+ const target = sfc.__vccOpts || sfc;
761
+ for (const [key, val] of props) {
762
+ target[key] = val;
763
+ }
764
+ return target;
765
+ };
766
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-63055e53"]]);
720
767
  export {
721
- _sfc_main as default
768
+ index as default
722
769
  };
723
770
 
724
771
  ;(function(){var c=typeof __exports__!=="undefined"&&__exports__;var d=c&&(c.default||c);if(d)d.__pluginCss=`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@@ -876,6 +923,10 @@ export {
876
923
  top: 50%;
877
924
  }
878
925
 
926
+ .right-2 {
927
+ right: calc(var(--spacing) * 2);
928
+ }
929
+
879
930
  .left-2 {
880
931
  left: calc(var(--spacing) * 2);
881
932
  }
@@ -1108,6 +1159,10 @@ export {
1108
1159
  width: calc(var(--spacing) * 5);
1109
1160
  }
1110
1161
 
1162
+ .w-7 {
1163
+ width: calc(var(--spacing) * 7);
1164
+ }
1165
+
1111
1166
  .w-8 {
1112
1167
  width: calc(var(--spacing) * 8);
1113
1168
  }
@@ -1843,6 +1898,10 @@ export {
1843
1898
  padding-right: calc(var(--spacing) * 6);
1844
1899
  }
1845
1900
 
1901
+ .pr-11 {
1902
+ padding-right: calc(var(--spacing) * 11);
1903
+ }
1904
+
1846
1905
  .pl-1\\.5 {
1847
1906
  padding-left: calc(var(--spacing) * 1.5);
1848
1907
  }
@@ -2753,4 +2812,13 @@ export {
2753
2812
  opacity: .5;
2754
2813
  }
2755
2814
  }
2815
+
2816
+ .api-key-input[data-v-63055e53]::-ms-reveal,
2817
+ .api-key-input[data-v-63055e53]::-ms-clear,
2818
+ .api-key-input[data-v-63055e53]::-webkit-credentials-auto-fill-button,
2819
+ .api-key-input[data-v-63055e53]::-webkit-contacts-auto-fill-button {
2820
+ display: none !important;
2821
+ visibility: hidden;
2822
+ pointer-events: none;
2823
+ }
2756
2824
  `;})();
@@ -333,6 +333,10 @@ export {
333
333
  top: 50%;
334
334
  }
335
335
 
336
+ .right-2 {
337
+ right: calc(var(--spacing) * 2);
338
+ }
339
+
336
340
  .left-2 {
337
341
  left: calc(var(--spacing) * 2);
338
342
  }
@@ -565,6 +569,10 @@ export {
565
569
  width: calc(var(--spacing) * 5);
566
570
  }
567
571
 
572
+ .w-7 {
573
+ width: calc(var(--spacing) * 7);
574
+ }
575
+
568
576
  .w-8 {
569
577
  width: calc(var(--spacing) * 8);
570
578
  }
@@ -1300,6 +1308,10 @@ export {
1300
1308
  padding-right: calc(var(--spacing) * 6);
1301
1309
  }
1302
1310
 
1311
+ .pr-11 {
1312
+ padding-right: calc(var(--spacing) * 11);
1313
+ }
1314
+
1303
1315
  .pl-1\\.5 {
1304
1316
  padding-left: calc(var(--spacing) * 1.5);
1305
1317
  }
@@ -319,6 +319,10 @@ export {
319
319
  top: 50%;
320
320
  }
321
321
 
322
+ .right-2 {
323
+ right: calc(var(--spacing) * 2);
324
+ }
325
+
322
326
  .left-2 {
323
327
  left: calc(var(--spacing) * 2);
324
328
  }
@@ -551,6 +555,10 @@ export {
551
555
  width: calc(var(--spacing) * 5);
552
556
  }
553
557
 
558
+ .w-7 {
559
+ width: calc(var(--spacing) * 7);
560
+ }
561
+
554
562
  .w-8 {
555
563
  width: calc(var(--spacing) * 8);
556
564
  }
@@ -1286,6 +1294,10 @@ export {
1286
1294
  padding-right: calc(var(--spacing) * 6);
1287
1295
  }
1288
1296
 
1297
+ .pr-11 {
1298
+ padding-right: calc(var(--spacing) * 11);
1299
+ }
1300
+
1289
1301
  .pl-1\\.5 {
1290
1302
  padding-left: calc(var(--spacing) * 1.5);
1291
1303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnc_cbz/usefultools-plugin-official",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "description": "UsefulTools 官方工具插件包",
6
6
  "keywords": [