azure-maps-control 3.7.1 → 3.7.4
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/ReadMe.md +0 -4
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +168 -54
- package/dist/atlas-core-bare.js +168 -54
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +168 -54
- package/dist/atlas-core.js +168 -54
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +168 -54
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.css +6 -6
- package/dist/atlas.js +168 -54
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +1 -1
package/dist/atlas-core-bare.js
CHANGED
|
@@ -466,7 +466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
466
466
|
* Contains real information about the available/supported locales.
|
|
467
467
|
*/
|
|
468
468
|
var localeIndex = {
|
|
469
|
-
localizationsPath: "locs/mapcontrol/
|
|
469
|
+
localizationsPath: "locs/mapcontrol/2025-11-05",
|
|
470
470
|
sensitiveUserRegions: ["il", "kr", "pk", "in", "cn", "ar", "bh", "eg", "jo", "sa", "kw", "om", "qa", "ma", "ae"],
|
|
471
471
|
locales: {
|
|
472
472
|
defaultLanguage: {
|
|
@@ -482,37 +482,49 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
482
482
|
ar: {
|
|
483
483
|
defaultRegion: {
|
|
484
484
|
code: "ar",
|
|
485
|
-
strings: "ar-
|
|
485
|
+
strings: "ar-SA/resource.json"
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
488
|
bg: {
|
|
489
489
|
defaultRegion: {
|
|
490
490
|
code: "bg-BG",
|
|
491
|
-
strings: "bg-
|
|
491
|
+
strings: "bg-BG/resource.json"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
ca: {
|
|
495
|
+
defaultRegion: {
|
|
496
|
+
code: "ca-ES",
|
|
497
|
+
strings: "ca-ES/resource.json"
|
|
492
498
|
}
|
|
493
499
|
},
|
|
494
500
|
cs: {
|
|
495
501
|
defaultRegion: {
|
|
496
502
|
code: "cs-CZ",
|
|
497
|
-
strings: "cs-
|
|
503
|
+
strings: "cs-CZ/resource.json"
|
|
498
504
|
}
|
|
499
505
|
},
|
|
500
506
|
da: {
|
|
501
507
|
defaultRegion: {
|
|
502
508
|
code: "da-DK",
|
|
503
|
-
strings: "da-
|
|
509
|
+
strings: "da-DK/resource.json"
|
|
504
510
|
}
|
|
505
511
|
},
|
|
506
512
|
de: {
|
|
507
513
|
defaultRegion: {
|
|
508
514
|
code: "de-DE",
|
|
509
|
-
strings: "de-
|
|
515
|
+
strings: "de-DE/resource.json"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
et: {
|
|
519
|
+
defaultRegion: {
|
|
520
|
+
code: "et-EE",
|
|
521
|
+
strings: "et-EE/resource.json"
|
|
510
522
|
}
|
|
511
523
|
},
|
|
512
524
|
el: {
|
|
513
525
|
defaultRegion: {
|
|
514
526
|
code: "el-GR",
|
|
515
|
-
strings: "el-
|
|
527
|
+
strings: "el-GR/resource.json"
|
|
516
528
|
}
|
|
517
529
|
},
|
|
518
530
|
en: {
|
|
@@ -540,123 +552,199 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
540
552
|
es: {
|
|
541
553
|
defaultRegion: {
|
|
542
554
|
code: "es-ES",
|
|
543
|
-
strings: "es-
|
|
555
|
+
strings: "es-ES/resource.json"
|
|
544
556
|
},
|
|
545
557
|
mx: {
|
|
546
558
|
code: "es-MX",
|
|
547
|
-
strings: "es-
|
|
559
|
+
strings: "es-MX/resource.json"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
eu: {
|
|
563
|
+
defaultRegion: {
|
|
564
|
+
code: "eu-ES",
|
|
565
|
+
strings: "eu-ES/resource.json"
|
|
548
566
|
}
|
|
549
567
|
},
|
|
550
568
|
fi: {
|
|
551
569
|
defaultRegion: {
|
|
552
570
|
code: "fi-FI",
|
|
553
|
-
strings: "fi-
|
|
571
|
+
strings: "fi-FI/resource.json"
|
|
554
572
|
}
|
|
555
573
|
},
|
|
556
574
|
fr: {
|
|
557
575
|
defaultRegion: {
|
|
558
576
|
code: "fr-FR",
|
|
559
|
-
strings: "fr-
|
|
577
|
+
strings: "fr-FR/resource.json"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
gl: {
|
|
581
|
+
defaultRegion: {
|
|
582
|
+
code: "gl-ES",
|
|
583
|
+
strings: "gl-ES/resource.json"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
he: {
|
|
587
|
+
defaultRegion: {
|
|
588
|
+
code: "he-IL",
|
|
589
|
+
strings: "he-IL/resource.json"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
hi: {
|
|
593
|
+
defaultRegion: {
|
|
594
|
+
code: "hi-IN",
|
|
595
|
+
strings: "hi-IN/resource.json"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
hr: {
|
|
599
|
+
defaultRegion: {
|
|
600
|
+
code: "hr-HR",
|
|
601
|
+
strings: "hr-HR/resource.json"
|
|
560
602
|
}
|
|
561
603
|
},
|
|
562
604
|
hu: {
|
|
563
605
|
defaultRegion: {
|
|
564
606
|
code: "hu-HU",
|
|
565
|
-
strings: "hu-
|
|
607
|
+
strings: "hu-HU/resource.json"
|
|
566
608
|
}
|
|
567
609
|
},
|
|
568
610
|
id: {
|
|
569
611
|
defaultRegion: {
|
|
570
612
|
code: "id-ID",
|
|
571
|
-
strings: "id-
|
|
613
|
+
strings: "id-ID/resource.json"
|
|
572
614
|
}
|
|
573
615
|
},
|
|
574
616
|
it: {
|
|
575
617
|
defaultRegion: {
|
|
576
618
|
code: "it-IT",
|
|
577
|
-
strings: "it-
|
|
619
|
+
strings: "it-IT/resource.json"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
ja: {
|
|
623
|
+
defaultRegion: {
|
|
624
|
+
code: "ja-JP",
|
|
625
|
+
strings: "ja-JP/resource.json"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
kk: {
|
|
629
|
+
defaultRegion: {
|
|
630
|
+
code: "kk-KZ",
|
|
631
|
+
strings: "kk-KZ/resource.json"
|
|
578
632
|
}
|
|
579
633
|
},
|
|
580
634
|
ko: {
|
|
581
635
|
defaultRegion: {
|
|
582
636
|
code: "ko-KR",
|
|
583
|
-
strings: "ko-
|
|
637
|
+
strings: "ko-KR/resource.json"
|
|
584
638
|
}
|
|
585
639
|
},
|
|
586
640
|
lt: {
|
|
587
641
|
defaultRegion: {
|
|
588
642
|
code: "lt-LT",
|
|
589
|
-
strings: "lt-
|
|
643
|
+
strings: "lt-LT/resource.json"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
lv: {
|
|
647
|
+
defaultRegion: {
|
|
648
|
+
code: "lv-LV",
|
|
649
|
+
strings: "lv-LV/resource.json"
|
|
590
650
|
}
|
|
591
651
|
},
|
|
592
652
|
ms: {
|
|
593
653
|
defaultRegion: {
|
|
594
654
|
code: "ms-MY",
|
|
595
|
-
strings: "ms-
|
|
655
|
+
strings: "ms-MY/resource.json"
|
|
596
656
|
}
|
|
597
657
|
},
|
|
598
658
|
nb: {
|
|
599
659
|
defaultRegion: {
|
|
600
660
|
code: "nb-NO",
|
|
601
|
-
strings: "nb-
|
|
661
|
+
strings: "nb-NO/resource.json"
|
|
602
662
|
}
|
|
603
663
|
},
|
|
604
664
|
nl: {
|
|
605
665
|
defaultRegion: {
|
|
606
666
|
code: "nl-NL",
|
|
607
|
-
strings: "nl-
|
|
667
|
+
strings: "nl-NL/resource.json"
|
|
608
668
|
}
|
|
609
669
|
},
|
|
610
670
|
pl: {
|
|
611
671
|
defaultRegion: {
|
|
612
672
|
code: "pl-PL",
|
|
613
|
-
strings: "pl-
|
|
673
|
+
strings: "pl-PL/resource.json"
|
|
614
674
|
}
|
|
615
675
|
},
|
|
616
676
|
pt: {
|
|
617
677
|
defaultRegion: {
|
|
618
678
|
code: "pt-PT",
|
|
619
|
-
strings: "pt-
|
|
679
|
+
strings: "pt-PT/resource.json"
|
|
620
680
|
},
|
|
621
681
|
br: {
|
|
622
682
|
code: "pt-BR",
|
|
623
|
-
strings: "pt-
|
|
683
|
+
strings: "pt-BR/resource.json"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
ro: {
|
|
687
|
+
defaultRegion: {
|
|
688
|
+
code: "ro-RO",
|
|
689
|
+
strings: "ro-RO/resource.json"
|
|
624
690
|
}
|
|
625
691
|
},
|
|
626
692
|
ru: {
|
|
627
693
|
defaultRegion: {
|
|
628
694
|
code: "ru-RU",
|
|
629
|
-
strings: "ru-
|
|
695
|
+
strings: "ru-RU/resource.json"
|
|
630
696
|
}
|
|
631
697
|
},
|
|
632
698
|
sk: {
|
|
633
699
|
defaultRegion: {
|
|
634
700
|
code: "sk-SK",
|
|
635
|
-
strings: "sk-
|
|
701
|
+
strings: "sk-SK/resource.json"
|
|
636
702
|
}
|
|
637
703
|
},
|
|
638
704
|
sl: {
|
|
639
705
|
defaultRegion: {
|
|
640
706
|
code: "sl-SL",
|
|
641
|
-
strings: "sl
|
|
707
|
+
strings: "sl/resource.json"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
sr: {
|
|
711
|
+
defaultRegion: {
|
|
712
|
+
code: "sr-CYRL-RS",
|
|
713
|
+
strings: "sr-CYRL-RS/resource.json"
|
|
714
|
+
},
|
|
715
|
+
latn: {
|
|
716
|
+
code: "sr-LATN-RS",
|
|
717
|
+
strings: "sr-LATN-RS/resource.json"
|
|
642
718
|
}
|
|
643
719
|
},
|
|
644
720
|
sv: {
|
|
645
721
|
defaultRegion: {
|
|
646
722
|
code: "sv-SE",
|
|
647
|
-
strings: "sv-
|
|
723
|
+
strings: "sv-SE/resource.json"
|
|
648
724
|
}
|
|
649
725
|
},
|
|
650
726
|
th: {
|
|
651
727
|
defaultRegion: {
|
|
652
728
|
code: "th-TH",
|
|
653
|
-
strings: "th-
|
|
729
|
+
strings: "th-TH/resource.json"
|
|
654
730
|
}
|
|
655
731
|
},
|
|
656
732
|
tr: {
|
|
657
733
|
defaultRegion: {
|
|
658
734
|
code: "tr-TR",
|
|
659
|
-
strings: "tr-
|
|
735
|
+
strings: "tr-TR/resource.json"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
uk: {
|
|
739
|
+
defaultRegion: {
|
|
740
|
+
code: "uk-UA",
|
|
741
|
+
strings: "uk-UA/resource.json"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
vi: {
|
|
745
|
+
defaultRegion: {
|
|
746
|
+
code: "vi-VN",
|
|
747
|
+
strings: "vi-VN/resource.json"
|
|
660
748
|
}
|
|
661
749
|
},
|
|
662
750
|
zh: {
|
|
@@ -685,7 +773,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
685
773
|
},
|
|
686
774
|
tw: {
|
|
687
775
|
code: "zh-Hant-TW",
|
|
688
|
-
strings: "zh-
|
|
776
|
+
strings: "zh-TW/resource.json"
|
|
689
777
|
}
|
|
690
778
|
}
|
|
691
779
|
}
|
|
@@ -748,10 +836,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
748
836
|
* A localized version of `"Detour"`.
|
|
749
837
|
*/
|
|
750
838
|
this.Detour = "Detour";
|
|
751
|
-
/**
|
|
752
|
-
* A localized version of `"Dummy"`.
|
|
753
|
-
*/
|
|
754
|
-
this.Dummy = "Dummy";
|
|
755
839
|
}
|
|
756
840
|
return LocalizedStrings;
|
|
757
841
|
}());
|
|
@@ -894,7 +978,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
894
978
|
return UserAgent;
|
|
895
979
|
}());
|
|
896
980
|
|
|
897
|
-
var version$2 = "3.7.
|
|
981
|
+
var version$2 = "3.7.4";
|
|
898
982
|
|
|
899
983
|
/**
|
|
900
984
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -1851,6 +1935,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1851
1935
|
}
|
|
1852
1936
|
};
|
|
1853
1937
|
eventTarget.addEventListener("mouseover", positionTooltip);
|
|
1938
|
+
eventTarget.addEventListener("touchend", positionTooltip);
|
|
1854
1939
|
eventTarget.addEventListener("focusin", positionTooltip);
|
|
1855
1940
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
1856
1941
|
};
|
|
@@ -6441,12 +6526,43 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6441
6526
|
if (expanded) {
|
|
6442
6527
|
container.classList.add(StyleControl.Css.inUse);
|
|
6443
6528
|
styleOpsGrid.classList.remove("hidden-accessible-element");
|
|
6529
|
+
// Dynamically cap max-height to fit within the map container
|
|
6530
|
+
if (_this.options.layout === "list") {
|
|
6531
|
+
var mapContainer = _this.map.getMapContainer();
|
|
6532
|
+
var mapRect = mapContainer.getBoundingClientRect();
|
|
6533
|
+
var btnRect = currStyleButton.getBoundingClientRect();
|
|
6534
|
+
var btnOffsetTop = Math.max(0, btnRect.top - mapRect.top);
|
|
6535
|
+
var btnHeight = currStyleButton.offsetHeight ||
|
|
6536
|
+
btnRect.height ||
|
|
6537
|
+
0;
|
|
6538
|
+
var mapHeight = mapContainer.clientHeight;
|
|
6539
|
+
var padding = 8;
|
|
6540
|
+
var isBottomPosition = (options === null || options === void 0 ? void 0 : options.position) === exports.ControlPosition.BottomLeft ||
|
|
6541
|
+
(options === null || options === void 0 ? void 0 : options.position) === exports.ControlPosition.BottomRight;
|
|
6542
|
+
var availableHeight = isBottomPosition
|
|
6543
|
+
? Math.max(0, btnOffsetTop - padding) // space above button
|
|
6544
|
+
: Math.max(0, mapHeight - (btnOffsetTop + btnHeight + padding)); // space below button
|
|
6545
|
+
var maxHeight = Math.max(100, Math.floor(availableHeight));
|
|
6546
|
+
styleOpsGrid.style.maxHeight = "".concat(maxHeight, "px");
|
|
6547
|
+
}
|
|
6444
6548
|
}
|
|
6445
6549
|
else {
|
|
6446
6550
|
container.classList.remove(StyleControl.Css.inUse);
|
|
6447
6551
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
6448
6552
|
}
|
|
6449
6553
|
};
|
|
6554
|
+
var onStyleButtonClick = function () {
|
|
6555
|
+
if (container.classList.contains(StyleControl.Css.inUse)) {
|
|
6556
|
+
expandGrid(false);
|
|
6557
|
+
}
|
|
6558
|
+
else {
|
|
6559
|
+
expandGrid(true);
|
|
6560
|
+
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
6561
|
+
if (styleOpsGrid.firstElementChild) {
|
|
6562
|
+
styleOpsGrid.firstElementChild.focus();
|
|
6563
|
+
}
|
|
6564
|
+
}
|
|
6565
|
+
};
|
|
6450
6566
|
styleOpsGrid.classList.add(options ? options.position || 'top-right' : 'top-right');
|
|
6451
6567
|
container.addEventListener("mouseover", function () {
|
|
6452
6568
|
_this.hasMouse = true;
|
|
@@ -6486,17 +6602,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6486
6602
|
}
|
|
6487
6603
|
}
|
|
6488
6604
|
});
|
|
6605
|
+
currStyleButton.addEventListener("touchend", function (event) {
|
|
6606
|
+
event.preventDefault();
|
|
6607
|
+
onStyleButtonClick();
|
|
6608
|
+
});
|
|
6489
6609
|
currStyleButton.addEventListener("click", function (event) {
|
|
6490
|
-
|
|
6491
|
-
expandGrid(false);
|
|
6492
|
-
}
|
|
6493
|
-
else {
|
|
6494
|
-
expandGrid(true);
|
|
6495
|
-
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
6496
|
-
if (styleOpsGrid.firstElementChild) {
|
|
6497
|
-
styleOpsGrid.firstElementChild.focus();
|
|
6498
|
-
}
|
|
6499
|
-
}
|
|
6610
|
+
onStyleButtonClick();
|
|
6500
6611
|
});
|
|
6501
6612
|
if (options && StyleControl.InvertOrderPositions.includes(options.position)) {
|
|
6502
6613
|
container.appendChild(styleOpsGrid);
|
|
@@ -6587,7 +6698,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6587
6698
|
return _this.thumbnailCache.blob.get(response.url);
|
|
6588
6699
|
}
|
|
6589
6700
|
else {
|
|
6590
|
-
// we need the response.clone() to allow reading over body multiple times since response objects are cached
|
|
6701
|
+
// we need the response.clone() to allow reading over body multiple times since response objects are cached
|
|
6591
6702
|
// and can be reused across multiple invocations
|
|
6592
6703
|
var blobPromise = response.clone().blob();
|
|
6593
6704
|
_this.thumbnailCache.blob.set(response.url, blobPromise);
|
|
@@ -6641,7 +6752,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6641
6752
|
};
|
|
6642
6753
|
StyleControl.prototype.buildCurrStyleBtn = function () {
|
|
6643
6754
|
var selectCurrButton = document.createElement("button");
|
|
6644
|
-
if (this.options.layout
|
|
6755
|
+
if (this.options.layout === "icons") {
|
|
6645
6756
|
selectCurrButton.classList.add(StyleControl.Css.button);
|
|
6646
6757
|
}
|
|
6647
6758
|
else {
|
|
@@ -6660,11 +6771,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6660
6771
|
StyleControl.prototype.buildStyleOpsGrid = function () {
|
|
6661
6772
|
var _this = this;
|
|
6662
6773
|
var styleOpsGrid = document.createElement("div");
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
}
|
|
6667
|
-
else {
|
|
6774
|
+
var layoutClass = this.options.layout === "icons" ? "icons" : "list";
|
|
6775
|
+
styleOpsGrid.classList.add(StyleControl.Css.styleOptions, layoutClass);
|
|
6776
|
+
if (layoutClass === "list") {
|
|
6668
6777
|
styleOpsGrid.classList.add(StyleControl.Css.dropdown);
|
|
6669
6778
|
}
|
|
6670
6779
|
styleOpsGrid.setAttribute("aria-label", "Style Options");
|
|
@@ -46405,8 +46514,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
46405
46514
|
*/
|
|
46406
46515
|
StyleManager.prototype._transformStyleRequest = function (url, params) {
|
|
46407
46516
|
var _a;
|
|
46517
|
+
var domain = (Url.protoRegEx.test(this.serviceOptions.domain) ?
|
|
46518
|
+
this.serviceOptions.domain.slice(this.serviceOptions.domain.indexOf("\/\/") + 2) :
|
|
46519
|
+
this.serviceOptions.domain)
|
|
46520
|
+
.replace(/\/+$/, "");
|
|
46408
46521
|
if (url.includes(constants.domainPlaceHolder)) {
|
|
46409
|
-
params.url = params.url.replace(constants.domainPlaceHolder,
|
|
46522
|
+
params.url = params.url.replace(constants.domainPlaceHolder, domain);
|
|
46410
46523
|
}
|
|
46411
46524
|
if (url.includes(constants.stylePathHolder)) {
|
|
46412
46525
|
params.url = params.url.replace(constants.stylePathHolder, constants.stylePath);
|
|
@@ -46414,7 +46527,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
46414
46527
|
if (url.includes(constants.styleResourcePlaceholder)) {
|
|
46415
46528
|
params.url = params.url.replace(constants.styleResourcePlaceholder, constants.styleResourcePath);
|
|
46416
46529
|
}
|
|
46417
|
-
if (params.url.toLocaleLowerCase().includes(
|
|
46530
|
+
if (params.url.toLocaleLowerCase().includes(domain.toLocaleLowerCase()) ||
|
|
46418
46531
|
params.url.toLocaleLowerCase().includes(this.serviceOptions.staticAssetsDomain.toLocaleLowerCase())) {
|
|
46419
46532
|
// Only add API version param for Azure maps domain requests
|
|
46420
46533
|
var targetUrl = new URL(params.url);
|
|
@@ -47856,9 +47969,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47856
47969
|
Map.prototype._rebuildStyle = function (diff) {
|
|
47857
47970
|
if (diff === void 0) { diff = true; }
|
|
47858
47971
|
return __awaiter(this, void 0, void 0, function () {
|
|
47972
|
+
var _this = this;
|
|
47859
47973
|
return __generator(this, function (_a) {
|
|
47860
47974
|
this.styles.setStyle(this.styleOptions, diff);
|
|
47861
|
-
this.imageSprite._restoreImages();
|
|
47975
|
+
this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
|
|
47862
47976
|
return [2 /*return*/];
|
|
47863
47977
|
});
|
|
47864
47978
|
});
|