poi-plugin-compass 0.1.2 → 0.1.3

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.
@@ -501,7 +501,10 @@
501
501
  }
502
502
 
503
503
  .compass-condition:hover,
504
- .compass-condition:focus {
504
+ .compass-condition:focus,
505
+ .compass-condition:focus-within {
506
+ position: relative;
507
+ z-index: 20;
505
508
  background: #3a4655;
506
509
  }
507
510
 
@@ -546,7 +549,9 @@
546
549
  top: calc(100% + 4px);
547
550
  right: 0;
548
551
  display: none;
549
- width: 260px;
552
+ width: min(480px, calc(100vw - 48px));
553
+ max-height: min(60vh, 420px);
554
+ box-sizing: border-box;
550
555
  padding: 8px 9px;
551
556
  border: 1px solid #8392a5;
552
557
  border-radius: 3px;
@@ -554,6 +559,12 @@
554
559
  background: #252c36;
555
560
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
556
561
  line-height: 1.5;
562
+ overflow: auto;
563
+ overscroll-behavior: contain;
564
+ white-space: normal;
565
+ overflow-wrap: anywhere;
566
+ word-break: break-word;
567
+ pointer-events: auto;
557
568
  }
558
569
 
559
570
  .compass-condition:hover .compass-condition-popover,
@@ -561,6 +572,10 @@
561
572
  display: block;
562
573
  }
563
574
 
575
+ .compass-condition-note {
576
+ color: #c9d8e7;
577
+ }
578
+
564
579
  .compass-manual {
565
580
  flex-wrap: wrap;
566
581
  gap: 6px;
package/data/maps.json CHANGED
@@ -283,7 +283,7 @@
283
283
  "id": "2-5-E-cv-ca",
284
284
  "node": "E",
285
285
  "priority": 30,
286
- "predicate": { "kind": "count", "category": ["CV_MAIN", "CA", "CAV"], "op": ">=", "value": 2, "label": "空母/重巡系 ≥ 2" },
286
+ "predicate": { "kind": "count", "category": ["CV_MAIN", "CA_ALL"], "op": ">=", "value": 2, "label": "空母/重巡系 ≥ 2" },
287
287
  "outcomes": [{ "to": "G", "probability": 1 }],
288
288
  "confidence": "verified"
289
289
  },
@@ -481,11 +481,8 @@
481
481
  "node": "J",
482
482
  "priority": 20,
483
483
  "predicate": { "kind": "losRange", "min": 42, "max": 49, "label": "33 式索敌 42~49:H 概率随索敌升高而下降" },
484
- "outcomes": [
485
- { "to": "H", "probability": null },
486
- { "to": "M", "probability": null },
487
- { "to": "O", "probability": null }
488
- ],
484
+ "outcomes": [{ "to": "H", "probability": null }],
485
+ "continueOnFailure": true,
489
486
  "confidence": "unknown"
490
487
  },
491
488
  {
@@ -494,9 +491,8 @@
494
491
  "priority": 30,
495
492
  "predicate": {
496
493
  "kind": "all",
497
- "label": "33 式索敌 ≥ 49 且 潜水系 ≥ 1",
494
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且潜水系 ≥ 1",
498
495
  "predicates": [
499
- { "kind": "los", "op": ">=", "value": 49 },
500
496
  { "kind": "count", "category": "SS", "op": ">=", "value": 1 }
501
497
  ]
502
498
  },
@@ -512,9 +508,8 @@
512
508
  "priority": 40,
513
509
  "predicate": {
514
510
  "kind": "all",
515
- "label": "33 式索敌 ≥ 49 且 海防 ≥ 3",
511
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且海防 ≥ 3",
516
512
  "predicates": [
517
- { "kind": "los", "op": ">=", "value": 49 },
518
513
  { "kind": "count", "category": "DE", "op": ">=", "value": 3 }
519
514
  ]
520
515
  },
@@ -527,9 +522,8 @@
527
522
  "priority": 50,
528
523
  "predicate": {
529
524
  "kind": "all",
530
- "label": "33 式索敌 ≥ 49 且 战舰系 ≤ 3",
525
+ "label": "去 H 判定失败或 33 式索敌 ≥ 49,且战舰系 ≤ 3",
531
526
  "predicates": [
532
- { "kind": "los", "op": ">=", "value": 49 },
533
527
  { "kind": "count", "category": "BB_ALL", "op": "<=", "value": 3 }
534
528
  ]
535
529
  },
@@ -540,7 +534,7 @@
540
534
  "id": "2-5-J-los-high-random",
541
535
  "node": "J",
542
536
  "priority": 999,
543
- "predicate": { "kind": "always", "label": "33 式索敌 ≥ 49 的其余编成:随机 M/O" },
537
+ "predicate": { "kind": "always", "label": "去 H 判定失败或 33 式索敌 ≥ 49 的其余编成:随机 M/O" },
544
538
  "outcomes": [
545
539
  { "to": "M", "probability": null },
546
540
  { "to": "O", "probability": null }