@adecore/editor-react 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CallHierarchyPanel.js +177 -181
- package/dist/EditorContextMenu.js +118 -105
- package/dist/EditorView.js +7 -1
- package/dist/LanguagePopups.js +7 -0
- package/dist/PickPopup.js +190 -70
- package/dist/WrapCard.d.ts +8 -0
- package/dist/WrapCard.js +172 -0
- package/dist/call-hierarchy-model.d.ts +4 -2
- package/dist/call-hierarchy-model.js +20 -0
- package/dist/call-hierarchy.d.ts +3 -0
- package/dist/call-hierarchy.js +54 -22
- package/dist/clipboard-history.d.ts +31 -0
- package/dist/clipboard-history.js +70 -0
- package/dist/code-actions.d.ts +3 -1
- package/dist/code-actions.js +50 -10
- package/dist/code-vision.js +2 -3
- package/dist/completion.js +10 -15
- package/dist/context-menu-rows.d.ts +1 -1
- package/dist/context-menu-rows.js +4 -0
- package/dist/definition-link.js +15 -5
- package/dist/document-colors.d.ts +24 -0
- package/dist/document-colors.js +194 -0
- package/dist/document-links.d.ts +22 -0
- package/dist/document-links.js +133 -0
- package/dist/document-query.d.ts +15 -0
- package/dist/document-query.js +54 -0
- package/dist/edit-locations.d.ts +20 -0
- package/dist/edit-locations.js +136 -0
- package/dist/editor-language.d.ts +19 -1
- package/dist/editor-language.js +77 -2
- package/dist/emmet.d.ts +13 -0
- package/dist/emmet.js +62 -0
- package/dist/folding.js +2 -3
- package/dist/format-on-type.js +3 -5
- package/dist/highlights.js +2 -3
- package/dist/history.d.ts +7 -0
- package/dist/history.js +79 -1
- package/dist/host-types.d.ts +6 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +8 -0
- package/dist/inlay-hints.js +2 -2
- package/dist/inline-completion.d.ts +39 -0
- package/dist/inline-completion.js +221 -0
- package/dist/key-priority.d.ts +8 -5
- package/dist/key-priority.js +9 -6
- package/dist/linked-editing.d.ts +26 -0
- package/dist/linked-editing.js +215 -0
- package/dist/locales/en.json +31 -2
- package/dist/locales/nl.json +31 -2
- package/dist/markup-context.d.ts +37 -0
- package/dist/markup-context.js +291 -0
- package/dist/markup.d.ts +36 -0
- package/dist/markup.js +453 -0
- package/dist/navigation.js +4 -6
- package/dist/paste-history.d.ts +7 -0
- package/dist/paste-history.js +104 -0
- package/dist/peek.js +3 -4
- package/dist/pick.d.ts +20 -2
- package/dist/pick.js +141 -18
- package/dist/popups.d.ts +9 -0
- package/dist/popups.js +2 -1
- package/dist/project-language.d.ts +18 -1
- package/dist/project-language.js +129 -18
- package/dist/rename.js +8 -11
- package/dist/rendered-docs.js +1 -2
- package/dist/selection-ranges.js +2 -3
- package/dist/shortcut-keys.d.ts +27 -0
- package/dist/signature.js +3 -6
- package/dist/snippet-session.d.ts +2 -2
- package/dist/snippet-session.js +3 -3
- package/dist/symbol-picker.js +4 -6
- package/dist/symbols.js +22 -3
- package/dist/testing.d.ts +23 -1
- package/dist/testing.js +114 -0
- package/package.json +7 -6
- package/src/CallHierarchyPanel.tsx +26 -11
- package/src/EditorContextMenu.tsx +7 -0
- package/src/EditorView.tsx +9 -0
- package/src/LanguagePopups.tsx +4 -0
- package/src/PickPopup.tsx +40 -5
- package/src/WrapCard.tsx +64 -0
- package/src/call-hierarchy-model.ts +25 -3
- package/src/call-hierarchy.ts +62 -20
- package/src/clipboard-history.ts +102 -0
- package/src/code-actions.ts +48 -11
- package/src/code-vision.ts +3 -3
- package/src/completion.ts +15 -15
- package/src/context-menu-rows.ts +3 -2
- package/src/definition-link.ts +17 -5
- package/src/document-colors.ts +189 -0
- package/src/document-links.ts +129 -0
- package/src/document-query.ts +71 -0
- package/src/edit-locations.ts +162 -0
- package/src/editor-language.ts +80 -3
- package/src/emmet-module.d.ts +44 -0
- package/src/emmet.ts +73 -0
- package/src/folding.ts +3 -3
- package/src/format-on-type.ts +5 -5
- package/src/highlights.ts +3 -3
- package/src/history.ts +81 -1
- package/src/host-types.ts +10 -0
- package/src/index.ts +12 -3
- package/src/inlay-hints.ts +2 -2
- package/src/inline-completion.ts +221 -0
- package/src/key-priority.ts +9 -6
- package/src/linked-editing.ts +199 -0
- package/src/locales/en.json +31 -2
- package/src/locales/nl.json +31 -2
- package/src/markup-context.ts +262 -0
- package/src/markup.ts +367 -0
- package/src/navigation.ts +6 -6
- package/src/paste-history.ts +111 -0
- package/src/peek.ts +4 -4
- package/src/pick.ts +201 -19
- package/src/popups.ts +19 -1
- package/src/project-language.ts +136 -19
- package/src/rename.ts +11 -11
- package/src/rendered-docs.ts +2 -2
- package/src/selection-ranges.ts +3 -3
- package/src/signature.ts +6 -6
- package/src/snippet-session.ts +9 -4
- package/src/symbol-picker.ts +6 -6
- package/src/symbols.ts +30 -4
- package/src/testing.ts +126 -1
|
@@ -10,7 +10,7 @@ import { CALL_HIERARCHY_HEIGHT } from './call-hierarchy.js';
|
|
|
10
10
|
import { PanelResizeHandle } from "./PanelResizeHandle.js";
|
|
11
11
|
import { usePanelBody } from './use-panel-body.js';
|
|
12
12
|
import { PANEL_BODY_HEIGHT } from './panel-size.js';
|
|
13
|
-
import { CALL_LEVEL_LIMIT } from './call-hierarchy-model.js';
|
|
13
|
+
import { CALL_LEVEL_LIMIT, isTypeDirection } from './call-hierarchy-model.js';
|
|
14
14
|
import { basenameOf, relativeTo } from './paths.js';
|
|
15
15
|
import { PathText } from "./PathText.js";
|
|
16
16
|
import { Preview } from "./PeekPanel.js";
|
|
@@ -377,7 +377,7 @@ function SymbolRow(t0) {
|
|
|
377
377
|
return t25;
|
|
378
378
|
}
|
|
379
379
|
function Tree(t0) {
|
|
380
|
-
const $ = _c(
|
|
380
|
+
const $ = _c(25);
|
|
381
381
|
const {
|
|
382
382
|
language,
|
|
383
383
|
view
|
|
@@ -429,16 +429,25 @@ function Tree(t0) {
|
|
|
429
429
|
useEffect(t3, t4);
|
|
430
430
|
useInputPopup(language, treeId, activeId);
|
|
431
431
|
let t5;
|
|
432
|
-
if ($[9] !==
|
|
433
|
-
t5 =
|
|
434
|
-
$[9] =
|
|
432
|
+
if ($[9] !== view.direction) {
|
|
433
|
+
t5 = isTypeDirection(view.direction) ? "language.callHierarchy.typesLabel" : "language.callHierarchy.label";
|
|
434
|
+
$[9] = view.direction;
|
|
435
435
|
$[10] = t5;
|
|
436
436
|
} else {
|
|
437
437
|
t5 = $[10];
|
|
438
438
|
}
|
|
439
439
|
let t6;
|
|
440
|
-
if ($[11] !==
|
|
441
|
-
t6 =
|
|
440
|
+
if ($[11] !== t || $[12] !== t5) {
|
|
441
|
+
t6 = t(t5);
|
|
442
|
+
$[11] = t;
|
|
443
|
+
$[12] = t5;
|
|
444
|
+
$[13] = t6;
|
|
445
|
+
} else {
|
|
446
|
+
t6 = $[13];
|
|
447
|
+
}
|
|
448
|
+
let t7;
|
|
449
|
+
if ($[14] !== idOf || $[15] !== language || $[16] !== t || $[17] !== view.active || $[18] !== view.direction || $[19] !== view.rows) {
|
|
450
|
+
t7 = view.rows.map(row_1 => {
|
|
442
451
|
const active = row_1.id === view.active;
|
|
443
452
|
const ref = active ? activeRow : undefined;
|
|
444
453
|
if (row_1.kind === "node") {
|
|
@@ -479,36 +488,36 @@ function Tree(t0) {
|
|
|
479
488
|
})
|
|
480
489
|
}, row_1.id);
|
|
481
490
|
});
|
|
482
|
-
$[
|
|
483
|
-
$[
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
491
|
+
$[14] = idOf;
|
|
492
|
+
$[15] = language;
|
|
493
|
+
$[16] = t;
|
|
494
|
+
$[17] = view.active;
|
|
495
|
+
$[18] = view.direction;
|
|
496
|
+
$[19] = view.rows;
|
|
497
|
+
$[20] = t7;
|
|
489
498
|
} else {
|
|
490
|
-
|
|
499
|
+
t7 = $[20];
|
|
491
500
|
}
|
|
492
|
-
let
|
|
493
|
-
if ($[
|
|
494
|
-
|
|
501
|
+
let t8;
|
|
502
|
+
if ($[21] !== t6 || $[22] !== t7 || $[23] !== treeId) {
|
|
503
|
+
t8 = /*#__PURE__*/_jsx("div", {
|
|
495
504
|
id: treeId,
|
|
496
505
|
role: "tree",
|
|
497
|
-
"aria-label":
|
|
506
|
+
"aria-label": t6,
|
|
498
507
|
className: "w-1/2 shrink-0 overflow-y-auto border-r border-border py-1",
|
|
499
|
-
children:
|
|
508
|
+
children: t7
|
|
500
509
|
});
|
|
501
|
-
$[
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
510
|
+
$[21] = t6;
|
|
511
|
+
$[22] = t7;
|
|
512
|
+
$[23] = treeId;
|
|
513
|
+
$[24] = t8;
|
|
505
514
|
} else {
|
|
506
|
-
|
|
515
|
+
t8 = $[24];
|
|
507
516
|
}
|
|
508
|
-
return
|
|
517
|
+
return t8;
|
|
509
518
|
}
|
|
510
519
|
function StatusText(t0) {
|
|
511
|
-
const $ = _c(
|
|
520
|
+
const $ = _c(16);
|
|
512
521
|
const {
|
|
513
522
|
row,
|
|
514
523
|
direction
|
|
@@ -573,28 +582,41 @@ function StatusText(t0) {
|
|
|
573
582
|
}
|
|
574
583
|
return t3;
|
|
575
584
|
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
585
|
+
let t1;
|
|
586
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
587
|
+
t1 = {
|
|
588
|
+
incoming: "noIncoming",
|
|
589
|
+
outgoing: "noOutgoing",
|
|
590
|
+
supertypes: "noSupertypes",
|
|
591
|
+
subtypes: "noSubtypes"
|
|
592
|
+
};
|
|
593
|
+
$[10] = t1;
|
|
583
594
|
} else {
|
|
584
|
-
|
|
595
|
+
t1 = $[10];
|
|
585
596
|
}
|
|
597
|
+
const empty = t1;
|
|
598
|
+
const t2 = `language.callHierarchy.${empty[direction]}`;
|
|
586
599
|
let t3;
|
|
587
|
-
if ($[
|
|
588
|
-
t3 =
|
|
600
|
+
if ($[11] !== t || $[12] !== t2) {
|
|
601
|
+
t3 = t(t2);
|
|
602
|
+
$[11] = t;
|
|
603
|
+
$[12] = t2;
|
|
604
|
+
$[13] = t3;
|
|
605
|
+
} else {
|
|
606
|
+
t3 = $[13];
|
|
607
|
+
}
|
|
608
|
+
let t4;
|
|
609
|
+
if ($[14] !== t3) {
|
|
610
|
+
t4 = /*#__PURE__*/_jsx("span", {
|
|
589
611
|
className: "font-sans text-xs text-text-muted",
|
|
590
|
-
children:
|
|
612
|
+
children: t3
|
|
591
613
|
});
|
|
592
|
-
$[13] = t2;
|
|
593
614
|
$[14] = t3;
|
|
615
|
+
$[15] = t4;
|
|
594
616
|
} else {
|
|
595
|
-
|
|
617
|
+
t4 = $[15];
|
|
596
618
|
}
|
|
597
|
-
return
|
|
619
|
+
return t4;
|
|
598
620
|
}
|
|
599
621
|
/*
|
|
600
622
|
* The call hierarchy of a symbol in the row the editor leaves under the line: the tree of callers or callees on
|
|
@@ -602,7 +624,7 @@ function StatusText(t0) {
|
|
|
602
624
|
* editor makes again when it scrolls back into view.
|
|
603
625
|
*/
|
|
604
626
|
export function CallHierarchyPanel(t0) {
|
|
605
|
-
const $ = _c(
|
|
627
|
+
const $ = _c(90);
|
|
606
628
|
const {
|
|
607
629
|
language,
|
|
608
630
|
view
|
|
@@ -669,76 +691,50 @@ export function CallHierarchyPanel(t0) {
|
|
|
669
691
|
t14 = $[24];
|
|
670
692
|
}
|
|
671
693
|
let t15;
|
|
672
|
-
if ($[25] !== t) {
|
|
673
|
-
t15 =
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
if ($[27] !== t15) {
|
|
681
|
-
t16 = {
|
|
694
|
+
if ($[25] !== t || $[26] !== view.direction) {
|
|
695
|
+
t15 = isTypeDirection(view.direction) ? [{
|
|
696
|
+
id: "supertypes",
|
|
697
|
+
label: t("language.callHierarchy.supertypes")
|
|
698
|
+
}, {
|
|
699
|
+
id: "subtypes",
|
|
700
|
+
label: t("language.callHierarchy.subtypes")
|
|
701
|
+
}] : [{
|
|
682
702
|
id: "incoming",
|
|
683
|
-
label:
|
|
684
|
-
}
|
|
685
|
-
$[27] = t15;
|
|
686
|
-
$[28] = t16;
|
|
687
|
-
} else {
|
|
688
|
-
t16 = $[28];
|
|
689
|
-
}
|
|
690
|
-
let t17;
|
|
691
|
-
if ($[29] !== t) {
|
|
692
|
-
t17 = t("language.callHierarchy.outgoing");
|
|
693
|
-
$[29] = t;
|
|
694
|
-
$[30] = t17;
|
|
695
|
-
} else {
|
|
696
|
-
t17 = $[30];
|
|
697
|
-
}
|
|
698
|
-
let t18;
|
|
699
|
-
if ($[31] !== t17) {
|
|
700
|
-
t18 = {
|
|
703
|
+
label: t("language.callHierarchy.incoming")
|
|
704
|
+
}, {
|
|
701
705
|
id: "outgoing",
|
|
702
|
-
label:
|
|
703
|
-
};
|
|
704
|
-
$[
|
|
705
|
-
$[
|
|
706
|
-
|
|
707
|
-
t18 = $[32];
|
|
708
|
-
}
|
|
709
|
-
let t19;
|
|
710
|
-
if ($[33] !== t16 || $[34] !== t18) {
|
|
711
|
-
t19 = [t16, t18];
|
|
712
|
-
$[33] = t16;
|
|
713
|
-
$[34] = t18;
|
|
714
|
-
$[35] = t19;
|
|
706
|
+
label: t("language.callHierarchy.outgoing")
|
|
707
|
+
}];
|
|
708
|
+
$[25] = t;
|
|
709
|
+
$[26] = view.direction;
|
|
710
|
+
$[27] = t15;
|
|
715
711
|
} else {
|
|
716
|
-
|
|
712
|
+
t15 = $[27];
|
|
717
713
|
}
|
|
718
|
-
if ($[
|
|
714
|
+
if ($[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== view.direction) {
|
|
719
715
|
t4 = /*#__PURE__*/_jsx(Segmented, {
|
|
720
716
|
value: t12,
|
|
721
717
|
onValueChange: t13,
|
|
722
718
|
label: t14,
|
|
723
|
-
options:
|
|
719
|
+
options: t15
|
|
724
720
|
});
|
|
725
|
-
$[
|
|
726
|
-
$[
|
|
727
|
-
$[
|
|
728
|
-
$[
|
|
729
|
-
$[
|
|
721
|
+
$[28] = t13;
|
|
722
|
+
$[29] = t14;
|
|
723
|
+
$[30] = t15;
|
|
724
|
+
$[31] = view.direction;
|
|
725
|
+
$[32] = t4;
|
|
730
726
|
} else {
|
|
731
|
-
t4 = $[
|
|
727
|
+
t4 = $[32];
|
|
732
728
|
}
|
|
733
|
-
if ($[
|
|
729
|
+
if ($[33] !== view.name) {
|
|
734
730
|
t5 = /*#__PURE__*/_jsx("span", {
|
|
735
731
|
className: "shrink-0 font-medium",
|
|
736
732
|
children: view.name
|
|
737
733
|
});
|
|
738
|
-
$[
|
|
739
|
-
$[
|
|
734
|
+
$[33] = view.name;
|
|
735
|
+
$[34] = t5;
|
|
740
736
|
} else {
|
|
741
|
-
t5 = $[
|
|
737
|
+
t5 = $[34];
|
|
742
738
|
}
|
|
743
739
|
t1 = "shrink-0 font-medium text-text-muted";
|
|
744
740
|
t2 = path === null ? "" : basenameOf(path);
|
|
@@ -774,30 +770,30 @@ export function CallHierarchyPanel(t0) {
|
|
|
774
770
|
t9 = $[17];
|
|
775
771
|
}
|
|
776
772
|
let t11;
|
|
777
|
-
if ($[
|
|
773
|
+
if ($[35] !== t1 || $[36] !== t2) {
|
|
778
774
|
t11 = /*#__PURE__*/_jsx("span", {
|
|
779
775
|
className: t1,
|
|
780
776
|
children: t2
|
|
781
777
|
});
|
|
782
|
-
$[
|
|
783
|
-
$[
|
|
784
|
-
$[
|
|
778
|
+
$[35] = t1;
|
|
779
|
+
$[36] = t2;
|
|
780
|
+
$[37] = t11;
|
|
785
781
|
} else {
|
|
786
|
-
t11 = $[
|
|
782
|
+
t11 = $[37];
|
|
787
783
|
}
|
|
788
784
|
let t12;
|
|
789
|
-
if ($[
|
|
785
|
+
if ($[38] !== shown) {
|
|
790
786
|
t12 = /*#__PURE__*/_jsx(PathText, {
|
|
791
787
|
path: shown,
|
|
792
788
|
className: "text-text-muted"
|
|
793
789
|
});
|
|
794
|
-
$[
|
|
795
|
-
$[
|
|
790
|
+
$[38] = shown;
|
|
791
|
+
$[39] = t12;
|
|
796
792
|
} else {
|
|
797
|
-
t12 = $[
|
|
793
|
+
t12 = $[39];
|
|
798
794
|
}
|
|
799
795
|
let t13;
|
|
800
|
-
if ($[
|
|
796
|
+
if ($[40] !== language.callHierarchy || $[41] !== t || $[42] !== view.site || $[43] !== view.sites) {
|
|
801
797
|
t13 = view.sites > 1 && /*#__PURE__*/_jsxs(_Fragment, {
|
|
802
798
|
children: [/*#__PURE__*/_jsx(IconButton, {
|
|
803
799
|
icon: ChevronLeft,
|
|
@@ -817,120 +813,120 @@ export function CallHierarchyPanel(t0) {
|
|
|
817
813
|
onClick: () => language.callHierarchy.stepSite(1)
|
|
818
814
|
})]
|
|
819
815
|
});
|
|
820
|
-
$[
|
|
821
|
-
$[
|
|
822
|
-
$[
|
|
823
|
-
$[
|
|
824
|
-
$[
|
|
816
|
+
$[40] = language.callHierarchy;
|
|
817
|
+
$[41] = t;
|
|
818
|
+
$[42] = view.site;
|
|
819
|
+
$[43] = view.sites;
|
|
820
|
+
$[44] = t13;
|
|
825
821
|
} else {
|
|
826
|
-
t13 = $[
|
|
822
|
+
t13 = $[44];
|
|
827
823
|
}
|
|
828
824
|
let t14;
|
|
829
|
-
if ($[
|
|
825
|
+
if ($[45] !== t) {
|
|
830
826
|
t14 = t("language.callHierarchy.close");
|
|
831
|
-
$[
|
|
832
|
-
$[
|
|
827
|
+
$[45] = t;
|
|
828
|
+
$[46] = t14;
|
|
833
829
|
} else {
|
|
834
|
-
t14 = $[
|
|
830
|
+
t14 = $[46];
|
|
835
831
|
}
|
|
836
832
|
let t15;
|
|
837
|
-
if ($[
|
|
833
|
+
if ($[47] !== language.callHierarchy) {
|
|
838
834
|
t15 = () => language.callHierarchy.close();
|
|
839
|
-
$[
|
|
840
|
-
$[
|
|
835
|
+
$[47] = language.callHierarchy;
|
|
836
|
+
$[48] = t15;
|
|
841
837
|
} else {
|
|
842
|
-
t15 = $[
|
|
838
|
+
t15 = $[48];
|
|
843
839
|
}
|
|
844
840
|
let t16;
|
|
845
|
-
if ($[
|
|
841
|
+
if ($[49] !== t14 || $[50] !== t15) {
|
|
846
842
|
t16 = /*#__PURE__*/_jsx(IconButton, {
|
|
847
843
|
icon: X,
|
|
848
844
|
size: "xs",
|
|
849
845
|
label: t14,
|
|
850
846
|
onClick: t15
|
|
851
847
|
});
|
|
852
|
-
$[
|
|
853
|
-
$[
|
|
854
|
-
$[
|
|
848
|
+
$[49] = t14;
|
|
849
|
+
$[50] = t15;
|
|
850
|
+
$[51] = t16;
|
|
855
851
|
} else {
|
|
856
|
-
t16 = $[
|
|
852
|
+
t16 = $[51];
|
|
857
853
|
}
|
|
858
854
|
let t17;
|
|
859
|
-
if ($[
|
|
855
|
+
if ($[52] !== t13 || $[53] !== t16) {
|
|
860
856
|
t17 = /*#__PURE__*/_jsxs("div", {
|
|
861
857
|
className: "ml-auto flex shrink-0 items-center gap-1",
|
|
862
858
|
children: [t13, t16]
|
|
863
859
|
});
|
|
864
|
-
$[
|
|
865
|
-
$[
|
|
866
|
-
$[
|
|
860
|
+
$[52] = t13;
|
|
861
|
+
$[53] = t16;
|
|
862
|
+
$[54] = t17;
|
|
867
863
|
} else {
|
|
868
|
-
t17 = $[
|
|
864
|
+
t17 = $[54];
|
|
869
865
|
}
|
|
870
866
|
let t18;
|
|
871
|
-
if ($[
|
|
867
|
+
if ($[55] !== t11 || $[56] !== t12 || $[57] !== t17 || $[58] !== t3 || $[59] !== t4 || $[60] !== t5) {
|
|
872
868
|
t18 = /*#__PURE__*/_jsxs("div", {
|
|
873
869
|
className: t3,
|
|
874
870
|
children: [t4, t5, t11, t12, t17]
|
|
875
871
|
});
|
|
876
|
-
$[
|
|
877
|
-
$[
|
|
878
|
-
$[
|
|
879
|
-
$[
|
|
880
|
-
$[
|
|
881
|
-
$[
|
|
882
|
-
$[
|
|
872
|
+
$[55] = t11;
|
|
873
|
+
$[56] = t12;
|
|
874
|
+
$[57] = t17;
|
|
875
|
+
$[58] = t3;
|
|
876
|
+
$[59] = t4;
|
|
877
|
+
$[60] = t5;
|
|
878
|
+
$[61] = t18;
|
|
883
879
|
} else {
|
|
884
|
-
t18 = $[
|
|
880
|
+
t18 = $[61];
|
|
885
881
|
}
|
|
886
882
|
let t19;
|
|
887
|
-
if ($[
|
|
883
|
+
if ($[62] !== body.height) {
|
|
888
884
|
t19 = {
|
|
889
885
|
height: body.height
|
|
890
886
|
};
|
|
891
|
-
$[
|
|
892
|
-
$[
|
|
887
|
+
$[62] = body.height;
|
|
888
|
+
$[63] = t19;
|
|
893
889
|
} else {
|
|
894
|
-
t19 = $[
|
|
890
|
+
t19 = $[63];
|
|
895
891
|
}
|
|
896
892
|
let t20;
|
|
897
|
-
if ($[
|
|
893
|
+
if ($[64] !== language || $[65] !== view) {
|
|
898
894
|
t20 = /*#__PURE__*/_jsx(Tree, {
|
|
899
895
|
language: language,
|
|
900
896
|
view: view
|
|
901
897
|
});
|
|
902
|
-
$[
|
|
903
|
-
$[
|
|
904
|
-
$[
|
|
898
|
+
$[64] = language;
|
|
899
|
+
$[65] = view;
|
|
900
|
+
$[66] = t20;
|
|
905
901
|
} else {
|
|
906
|
-
t20 = $[
|
|
902
|
+
t20 = $[66];
|
|
907
903
|
}
|
|
908
904
|
let t21;
|
|
909
|
-
if ($[
|
|
905
|
+
if ($[67] !== view.preview) {
|
|
910
906
|
t21 = /*#__PURE__*/_jsx(Preview, {
|
|
911
907
|
preview: view.preview
|
|
912
908
|
});
|
|
913
|
-
$[
|
|
914
|
-
$[
|
|
909
|
+
$[67] = view.preview;
|
|
910
|
+
$[68] = t21;
|
|
915
911
|
} else {
|
|
916
|
-
t21 = $[
|
|
912
|
+
t21 = $[68];
|
|
917
913
|
}
|
|
918
914
|
let t22;
|
|
919
|
-
if ($[
|
|
915
|
+
if ($[69] !== t19 || $[70] !== t20 || $[71] !== t21) {
|
|
920
916
|
t22 = /*#__PURE__*/_jsxs("div", {
|
|
921
917
|
className: "flex shrink-0",
|
|
922
918
|
style: t19,
|
|
923
919
|
children: [t20, t21]
|
|
924
920
|
});
|
|
925
|
-
$[
|
|
926
|
-
$[
|
|
927
|
-
$[
|
|
928
|
-
$[
|
|
921
|
+
$[69] = t19;
|
|
922
|
+
$[70] = t20;
|
|
923
|
+
$[71] = t21;
|
|
924
|
+
$[72] = t22;
|
|
929
925
|
} else {
|
|
930
|
-
t22 = $[
|
|
926
|
+
t22 = $[72];
|
|
931
927
|
}
|
|
932
928
|
let t23;
|
|
933
|
-
if ($[
|
|
929
|
+
if ($[73] !== body.commit || $[74] !== body.height || $[75] !== body.set || $[76] !== view.container) {
|
|
934
930
|
t23 = /*#__PURE__*/_jsx("div", {
|
|
935
931
|
className: "peek-hatch relative h-[14px]",
|
|
936
932
|
children: /*#__PURE__*/_jsx(PanelResizeHandle, {
|
|
@@ -940,42 +936,42 @@ export function CallHierarchyPanel(t0) {
|
|
|
940
936
|
onCommit: body.commit
|
|
941
937
|
})
|
|
942
938
|
});
|
|
943
|
-
$[
|
|
944
|
-
$[
|
|
945
|
-
$[
|
|
946
|
-
$[
|
|
947
|
-
$[
|
|
939
|
+
$[73] = body.commit;
|
|
940
|
+
$[74] = body.height;
|
|
941
|
+
$[75] = body.set;
|
|
942
|
+
$[76] = view.container;
|
|
943
|
+
$[77] = t23;
|
|
948
944
|
} else {
|
|
949
|
-
t23 = $[
|
|
945
|
+
t23 = $[77];
|
|
950
946
|
}
|
|
951
947
|
let t24;
|
|
952
|
-
if ($[
|
|
948
|
+
if ($[78] !== t18 || $[79] !== t22 || $[80] !== t23 || $[81] !== t6 || $[82] !== t7 || $[83] !== t8 || $[84] !== t9) {
|
|
953
949
|
t24 = /*#__PURE__*/_jsxs("div", {
|
|
954
950
|
className: t6,
|
|
955
951
|
style: t7,
|
|
956
952
|
onPointerDown: t8,
|
|
957
953
|
children: [t9, t18, t22, t23]
|
|
958
954
|
});
|
|
959
|
-
$[
|
|
960
|
-
$[
|
|
961
|
-
$[
|
|
962
|
-
$[
|
|
963
|
-
$[
|
|
964
|
-
$[
|
|
965
|
-
$[
|
|
966
|
-
$[
|
|
955
|
+
$[78] = t18;
|
|
956
|
+
$[79] = t22;
|
|
957
|
+
$[80] = t23;
|
|
958
|
+
$[81] = t6;
|
|
959
|
+
$[82] = t7;
|
|
960
|
+
$[83] = t8;
|
|
961
|
+
$[84] = t9;
|
|
962
|
+
$[85] = t24;
|
|
967
963
|
} else {
|
|
968
|
-
t24 = $[
|
|
964
|
+
t24 = $[85];
|
|
969
965
|
}
|
|
970
966
|
let t25;
|
|
971
|
-
if ($[
|
|
967
|
+
if ($[86] !== t10 || $[87] !== t24 || $[88] !== view.container) {
|
|
972
968
|
t25 = t10(t24, view.container);
|
|
973
|
-
$[
|
|
974
|
-
$[
|
|
975
|
-
$[
|
|
976
|
-
$[
|
|
969
|
+
$[86] = t10;
|
|
970
|
+
$[87] = t24;
|
|
971
|
+
$[88] = view.container;
|
|
972
|
+
$[89] = t25;
|
|
977
973
|
} else {
|
|
978
|
-
t25 = $[
|
|
974
|
+
t25 = $[89];
|
|
979
975
|
}
|
|
980
976
|
return t25;
|
|
981
977
|
}
|