@industry-theme/backlogmd-kanban-panel 1.0.36 → 1.0.38
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/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/KanbanPanel.d.ts.map +1 -1
- package/dist/panels/kanban/components/BoardEmptyState.d.ts +11 -0
- package/dist/panels/kanban/components/BoardEmptyState.d.ts.map +1 -0
- package/dist/panels/kanban/hooks/useKanbanData.d.ts.map +1 -1
- package/dist/panels/kanban/mocks/realRepoData.d.ts +12 -0
- package/dist/panels/kanban/mocks/realRepoData.d.ts.map +1 -0
- package/dist/panels.bundle.js +431 -187
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +3 -3
package/dist/panels.bundle.js
CHANGED
|
@@ -33,7 +33,7 @@ function isDocument(node2) {
|
|
|
33
33
|
} = getWindow(node2);
|
|
34
34
|
return node2 instanceof Document;
|
|
35
35
|
}
|
|
36
|
-
function isHTMLElement$
|
|
36
|
+
function isHTMLElement$2(node2) {
|
|
37
37
|
if (isWindow(node2)) {
|
|
38
38
|
return false;
|
|
39
39
|
}
|
|
@@ -55,7 +55,7 @@ function getOwnerDocument(target) {
|
|
|
55
55
|
if (isDocument(target)) {
|
|
56
56
|
return target;
|
|
57
57
|
}
|
|
58
|
-
if (isHTMLElement$
|
|
58
|
+
if (isHTMLElement$2(target) || isSVGElement(target)) {
|
|
59
59
|
return target.ownerDocument;
|
|
60
60
|
}
|
|
61
61
|
return document;
|
|
@@ -731,7 +731,7 @@ function getScrollableAncestors(element2, limit) {
|
|
|
731
731
|
scrollParents.push(node2.scrollingElement);
|
|
732
732
|
return scrollParents;
|
|
733
733
|
}
|
|
734
|
-
if (!isHTMLElement$
|
|
734
|
+
if (!isHTMLElement$2(node2) || isSVGElement(node2)) {
|
|
735
735
|
return scrollParents;
|
|
736
736
|
}
|
|
737
737
|
if (scrollParents.includes(node2)) {
|
|
@@ -770,7 +770,7 @@ function getScrollableElement(element2) {
|
|
|
770
770
|
if (isDocument(element2) || element2 === getOwnerDocument(element2).scrollingElement) {
|
|
771
771
|
return window;
|
|
772
772
|
}
|
|
773
|
-
if (isHTMLElement$
|
|
773
|
+
if (isHTMLElement$2(element2)) {
|
|
774
774
|
return element2;
|
|
775
775
|
}
|
|
776
776
|
return null;
|
|
@@ -2204,7 +2204,7 @@ function getMeasurableNode(node2) {
|
|
|
2204
2204
|
return node2;
|
|
2205
2205
|
}
|
|
2206
2206
|
const firstChild = node2.children[0];
|
|
2207
|
-
return isHTMLElement$
|
|
2207
|
+
return isHTMLElement$2(firstChild) ? firstChild : node2;
|
|
2208
2208
|
}
|
|
2209
2209
|
function useDragOverlayMeasuring(_ref) {
|
|
2210
2210
|
let {
|
|
@@ -2215,7 +2215,7 @@ function useDragOverlayMeasuring(_ref) {
|
|
|
2215
2215
|
for (const {
|
|
2216
2216
|
target
|
|
2217
2217
|
} of entries) {
|
|
2218
|
-
if (isHTMLElement$
|
|
2218
|
+
if (isHTMLElement$2(target)) {
|
|
2219
2219
|
setRect((rect2) => {
|
|
2220
2220
|
const newRect = measure(target);
|
|
2221
2221
|
return rect2 ? {
|
|
@@ -3740,7 +3740,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
3740
3740
|
* This source code is licensed under the ISC license.
|
|
3741
3741
|
* See the LICENSE file in the root directory of this source tree.
|
|
3742
3742
|
*/
|
|
3743
|
-
const __iconNode$
|
|
3743
|
+
const __iconNode$m = [
|
|
3744
3744
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
3745
3745
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
3746
3746
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -3748,75 +3748,75 @@ const __iconNode$l = [
|
|
|
3748
3748
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
3749
3749
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
3750
3750
|
];
|
|
3751
|
-
const Bot = createLucideIcon("bot", __iconNode$
|
|
3751
|
+
const Bot = createLucideIcon("bot", __iconNode$m);
|
|
3752
3752
|
/**
|
|
3753
3753
|
* @license lucide-react v0.552.0 - ISC
|
|
3754
3754
|
*
|
|
3755
3755
|
* This source code is licensed under the ISC license.
|
|
3756
3756
|
* See the LICENSE file in the root directory of this source tree.
|
|
3757
3757
|
*/
|
|
3758
|
-
const __iconNode$
|
|
3759
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
3758
|
+
const __iconNode$l = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
3759
|
+
const Check = createLucideIcon("check", __iconNode$l);
|
|
3760
3760
|
/**
|
|
3761
3761
|
* @license lucide-react v0.552.0 - ISC
|
|
3762
3762
|
*
|
|
3763
3763
|
* This source code is licensed under the ISC license.
|
|
3764
3764
|
* See the LICENSE file in the root directory of this source tree.
|
|
3765
3765
|
*/
|
|
3766
|
-
const __iconNode$
|
|
3767
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
3766
|
+
const __iconNode$k = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
3767
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$k);
|
|
3768
3768
|
/**
|
|
3769
3769
|
* @license lucide-react v0.552.0 - ISC
|
|
3770
3770
|
*
|
|
3771
3771
|
* This source code is licensed under the ISC license.
|
|
3772
3772
|
* See the LICENSE file in the root directory of this source tree.
|
|
3773
3773
|
*/
|
|
3774
|
-
const __iconNode$
|
|
3774
|
+
const __iconNode$j = [
|
|
3775
3775
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3776
3776
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
3777
3777
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
3778
3778
|
];
|
|
3779
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
3779
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$j);
|
|
3780
3780
|
/**
|
|
3781
3781
|
* @license lucide-react v0.552.0 - ISC
|
|
3782
3782
|
*
|
|
3783
3783
|
* This source code is licensed under the ISC license.
|
|
3784
3784
|
* See the LICENSE file in the root directory of this source tree.
|
|
3785
3785
|
*/
|
|
3786
|
-
const __iconNode$
|
|
3786
|
+
const __iconNode$i = [
|
|
3787
3787
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
3788
3788
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
3789
3789
|
];
|
|
3790
|
-
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$
|
|
3790
|
+
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$i);
|
|
3791
3791
|
/**
|
|
3792
3792
|
* @license lucide-react v0.552.0 - ISC
|
|
3793
3793
|
*
|
|
3794
3794
|
* This source code is licensed under the ISC license.
|
|
3795
3795
|
* See the LICENSE file in the root directory of this source tree.
|
|
3796
3796
|
*/
|
|
3797
|
-
const __iconNode$
|
|
3797
|
+
const __iconNode$h = [
|
|
3798
3798
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3799
3799
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
3800
3800
|
];
|
|
3801
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
3801
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$h);
|
|
3802
3802
|
/**
|
|
3803
3803
|
* @license lucide-react v0.552.0 - ISC
|
|
3804
3804
|
*
|
|
3805
3805
|
* This source code is licensed under the ISC license.
|
|
3806
3806
|
* See the LICENSE file in the root directory of this source tree.
|
|
3807
3807
|
*/
|
|
3808
|
-
const __iconNode$
|
|
3808
|
+
const __iconNode$g = [
|
|
3809
3809
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
3810
3810
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
3811
3811
|
];
|
|
3812
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
3812
|
+
const Copy = createLucideIcon("copy", __iconNode$g);
|
|
3813
3813
|
/**
|
|
3814
3814
|
* @license lucide-react v0.552.0 - ISC
|
|
3815
3815
|
*
|
|
3816
3816
|
* This source code is licensed under the ISC license.
|
|
3817
3817
|
* See the LICENSE file in the root directory of this source tree.
|
|
3818
3818
|
*/
|
|
3819
|
-
const __iconNode$
|
|
3819
|
+
const __iconNode$f = [
|
|
3820
3820
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
3821
3821
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
3822
3822
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -3826,26 +3826,26 @@ const __iconNode$e = [
|
|
|
3826
3826
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
3827
3827
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
3828
3828
|
];
|
|
3829
|
-
const Expand = createLucideIcon("expand", __iconNode$
|
|
3829
|
+
const Expand = createLucideIcon("expand", __iconNode$f);
|
|
3830
3830
|
/**
|
|
3831
3831
|
* @license lucide-react v0.552.0 - ISC
|
|
3832
3832
|
*
|
|
3833
3833
|
* This source code is licensed under the ISC license.
|
|
3834
3834
|
* See the LICENSE file in the root directory of this source tree.
|
|
3835
3835
|
*/
|
|
3836
|
-
const __iconNode$
|
|
3836
|
+
const __iconNode$e = [
|
|
3837
3837
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
3838
3838
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
3839
3839
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
3840
3840
|
];
|
|
3841
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
3841
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$e);
|
|
3842
3842
|
/**
|
|
3843
3843
|
* @license lucide-react v0.552.0 - ISC
|
|
3844
3844
|
*
|
|
3845
3845
|
* This source code is licensed under the ISC license.
|
|
3846
3846
|
* See the LICENSE file in the root directory of this source tree.
|
|
3847
3847
|
*/
|
|
3848
|
-
const __iconNode$
|
|
3848
|
+
const __iconNode$d = [
|
|
3849
3849
|
[
|
|
3850
3850
|
"path",
|
|
3851
3851
|
{
|
|
@@ -3858,14 +3858,14 @@ const __iconNode$c = [
|
|
|
3858
3858
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
3859
3859
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
3860
3860
|
];
|
|
3861
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
3861
|
+
const FileText = createLucideIcon("file-text", __iconNode$d);
|
|
3862
3862
|
/**
|
|
3863
3863
|
* @license lucide-react v0.552.0 - ISC
|
|
3864
3864
|
*
|
|
3865
3865
|
* This source code is licensed under the ISC license.
|
|
3866
3866
|
* See the LICENSE file in the root directory of this source tree.
|
|
3867
3867
|
*/
|
|
3868
|
-
const __iconNode$
|
|
3868
|
+
const __iconNode$c = [
|
|
3869
3869
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
3870
3870
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
3871
3871
|
[
|
|
@@ -3876,35 +3876,35 @@ const __iconNode$b = [
|
|
|
3876
3876
|
}
|
|
3877
3877
|
]
|
|
3878
3878
|
];
|
|
3879
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
3879
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$c);
|
|
3880
3880
|
/**
|
|
3881
3881
|
* @license lucide-react v0.552.0 - ISC
|
|
3882
3882
|
*
|
|
3883
3883
|
* This source code is licensed under the ISC license.
|
|
3884
3884
|
* See the LICENSE file in the root directory of this source tree.
|
|
3885
3885
|
*/
|
|
3886
|
-
const __iconNode$
|
|
3886
|
+
const __iconNode$b = [
|
|
3887
3887
|
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
3888
3888
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
3889
3889
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
3890
3890
|
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
3891
3891
|
];
|
|
3892
|
-
const GitBranch = createLucideIcon("git-branch", __iconNode$
|
|
3892
|
+
const GitBranch = createLucideIcon("git-branch", __iconNode$b);
|
|
3893
3893
|
/**
|
|
3894
3894
|
* @license lucide-react v0.552.0 - ISC
|
|
3895
3895
|
*
|
|
3896
3896
|
* This source code is licensed under the ISC license.
|
|
3897
3897
|
* See the LICENSE file in the root directory of this source tree.
|
|
3898
3898
|
*/
|
|
3899
|
-
const __iconNode$
|
|
3900
|
-
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$
|
|
3899
|
+
const __iconNode$a = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
3900
|
+
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$a);
|
|
3901
3901
|
/**
|
|
3902
3902
|
* @license lucide-react v0.552.0 - ISC
|
|
3903
3903
|
*
|
|
3904
3904
|
* This source code is licensed under the ISC license.
|
|
3905
3905
|
* See the LICENSE file in the root directory of this source tree.
|
|
3906
3906
|
*/
|
|
3907
|
-
const __iconNode$
|
|
3907
|
+
const __iconNode$9 = [
|
|
3908
3908
|
["path", { d: "M12 13v8", key: "1l5pq0" }],
|
|
3909
3909
|
["path", { d: "M12 3v3", key: "1n5kay" }],
|
|
3910
3910
|
[
|
|
@@ -3915,37 +3915,37 @@ const __iconNode$8 = [
|
|
|
3915
3915
|
}
|
|
3916
3916
|
]
|
|
3917
3917
|
];
|
|
3918
|
-
const Milestone = createLucideIcon("milestone", __iconNode$
|
|
3918
|
+
const Milestone = createLucideIcon("milestone", __iconNode$9);
|
|
3919
3919
|
/**
|
|
3920
3920
|
* @license lucide-react v0.552.0 - ISC
|
|
3921
3921
|
*
|
|
3922
3922
|
* This source code is licensed under the ISC license.
|
|
3923
3923
|
* See the LICENSE file in the root directory of this source tree.
|
|
3924
3924
|
*/
|
|
3925
|
-
const __iconNode$
|
|
3925
|
+
const __iconNode$8 = [
|
|
3926
3926
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
3927
3927
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
3928
3928
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
3929
3929
|
];
|
|
3930
|
-
const Monitor = createLucideIcon("monitor", __iconNode$
|
|
3930
|
+
const Monitor = createLucideIcon("monitor", __iconNode$8);
|
|
3931
3931
|
/**
|
|
3932
3932
|
* @license lucide-react v0.552.0 - ISC
|
|
3933
3933
|
*
|
|
3934
3934
|
* This source code is licensed under the ISC license.
|
|
3935
3935
|
* See the LICENSE file in the root directory of this source tree.
|
|
3936
3936
|
*/
|
|
3937
|
-
const __iconNode$
|
|
3937
|
+
const __iconNode$7 = [
|
|
3938
3938
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
3939
3939
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
3940
3940
|
];
|
|
3941
|
-
const MoveRight = createLucideIcon("move-right", __iconNode$
|
|
3941
|
+
const MoveRight = createLucideIcon("move-right", __iconNode$7);
|
|
3942
3942
|
/**
|
|
3943
3943
|
* @license lucide-react v0.552.0 - ISC
|
|
3944
3944
|
*
|
|
3945
3945
|
* This source code is licensed under the ISC license.
|
|
3946
3946
|
* See the LICENSE file in the root directory of this source tree.
|
|
3947
3947
|
*/
|
|
3948
|
-
const __iconNode$
|
|
3948
|
+
const __iconNode$6 = [
|
|
3949
3949
|
[
|
|
3950
3950
|
"path",
|
|
3951
3951
|
{
|
|
@@ -3954,31 +3954,56 @@ const __iconNode$5 = [
|
|
|
3954
3954
|
}
|
|
3955
3955
|
]
|
|
3956
3956
|
];
|
|
3957
|
-
const Play = createLucideIcon("play", __iconNode$
|
|
3957
|
+
const Play = createLucideIcon("play", __iconNode$6);
|
|
3958
3958
|
/**
|
|
3959
3959
|
* @license lucide-react v0.552.0 - ISC
|
|
3960
3960
|
*
|
|
3961
3961
|
* This source code is licensed under the ISC license.
|
|
3962
3962
|
* See the LICENSE file in the root directory of this source tree.
|
|
3963
3963
|
*/
|
|
3964
|
-
const __iconNode$
|
|
3964
|
+
const __iconNode$5 = [
|
|
3965
3965
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
3966
3966
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
3967
3967
|
];
|
|
3968
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
3968
|
+
const Plus = createLucideIcon("plus", __iconNode$5);
|
|
3969
3969
|
/**
|
|
3970
3970
|
* @license lucide-react v0.552.0 - ISC
|
|
3971
3971
|
*
|
|
3972
3972
|
* This source code is licensed under the ISC license.
|
|
3973
3973
|
* See the LICENSE file in the root directory of this source tree.
|
|
3974
3974
|
*/
|
|
3975
|
-
const __iconNode$
|
|
3975
|
+
const __iconNode$4 = [
|
|
3976
3976
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
3977
3977
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
3978
3978
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
3979
3979
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
3980
3980
|
];
|
|
3981
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
3981
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$4);
|
|
3982
|
+
/**
|
|
3983
|
+
* @license lucide-react v0.552.0 - ISC
|
|
3984
|
+
*
|
|
3985
|
+
* This source code is licensed under the ISC license.
|
|
3986
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3987
|
+
*/
|
|
3988
|
+
const __iconNode$3 = [
|
|
3989
|
+
[
|
|
3990
|
+
"path",
|
|
3991
|
+
{
|
|
3992
|
+
d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",
|
|
3993
|
+
key: "m3kijz"
|
|
3994
|
+
}
|
|
3995
|
+
],
|
|
3996
|
+
[
|
|
3997
|
+
"path",
|
|
3998
|
+
{
|
|
3999
|
+
d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",
|
|
4000
|
+
key: "1fmvmk"
|
|
4001
|
+
}
|
|
4002
|
+
],
|
|
4003
|
+
["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
|
|
4004
|
+
["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
|
|
4005
|
+
];
|
|
4006
|
+
const Rocket = createLucideIcon("rocket", __iconNode$3);
|
|
3982
4007
|
/**
|
|
3983
4008
|
* @license lucide-react v0.552.0 - ISC
|
|
3984
4009
|
*
|
|
@@ -4509,14 +4534,14 @@ function determinePivotIndices$1(groupId, dragHandleId, panelGroupElement) {
|
|
|
4509
4534
|
const index2 = getResizeHandleElementIndex$1(groupId, dragHandleId, panelGroupElement);
|
|
4510
4535
|
return index2 != null ? [index2, index2 + 1] : [-1, -1];
|
|
4511
4536
|
}
|
|
4512
|
-
function isHTMLElement(target) {
|
|
4537
|
+
function isHTMLElement$1(target) {
|
|
4513
4538
|
if (target instanceof HTMLElement) {
|
|
4514
4539
|
return true;
|
|
4515
4540
|
}
|
|
4516
4541
|
return typeof target === "object" && target !== null && "tagName" in target && "getAttribute" in target;
|
|
4517
4542
|
}
|
|
4518
4543
|
function getPanelGroupElement$1(id, rootElement = document) {
|
|
4519
|
-
if (isHTMLElement(rootElement) && rootElement.dataset.panelGroupId == id) {
|
|
4544
|
+
if (isHTMLElement$1(rootElement) && rootElement.dataset.panelGroupId == id) {
|
|
4520
4545
|
return rootElement;
|
|
4521
4546
|
}
|
|
4522
4547
|
const element2 = rootElement.querySelector(`[data-panel-group][data-panel-group-id="${id}"]`);
|
|
@@ -5525,11 +5550,11 @@ function panelDataHelper$1(panelDataArray, panelData, layout) {
|
|
|
5525
5550
|
pivotIndices
|
|
5526
5551
|
};
|
|
5527
5552
|
}
|
|
5528
|
-
function C(e) {
|
|
5553
|
+
function C$1(e) {
|
|
5529
5554
|
return { "--panel-background": e.colors.background, "--panel-border": e.colors.border, "--panel-handle": e.colors.backgroundSecondary, "--panel-handle-hover": e.colors.backgroundHover, "--panel-handle-active": e.colors.primary, "--panel-button-bg": e.colors.surface, "--panel-button-hover": e.colors.backgroundHover, "--panel-button-border": e.colors.border, "--panel-button-icon": e.colors.textSecondary, "--panel-accent-bg": e.colors.primary + "15" };
|
|
5530
5555
|
}
|
|
5531
|
-
const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPanelWidth: u = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m, preventKeyboardScroll: f = true, disableSwipe: g = false }, v) => {
|
|
5532
|
-
const b = useRef(null), y = C(d);
|
|
5556
|
+
const z$1 = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPanelWidth: u = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m, preventKeyboardScroll: f = true, disableSwipe: g = false }, v) => {
|
|
5557
|
+
const b = useRef(null), y = C$1(d);
|
|
5533
5558
|
useImperativeHandle(v, () => ({ scrollToPanel: (e) => {
|
|
5534
5559
|
if (!b.current) return;
|
|
5535
5560
|
const t = b.current, n = t.children[e];
|
|
@@ -5559,8 +5584,8 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
|
|
|
5559
5584
|
};
|
|
5560
5585
|
}, [f]);
|
|
5561
5586
|
const w = o.length, x = 2 * u;
|
|
5562
|
-
let
|
|
5563
|
-
|
|
5587
|
+
let S;
|
|
5588
|
+
S = 1 === w || 2 === w ? "100%" : `max(${u}px, ${100 * p2}%)`;
|
|
5564
5589
|
const R = React2__default.useId().replace(/:/g, "_");
|
|
5565
5590
|
return jsxs(Fragment, { children: [
|
|
5566
5591
|
2 === w && /* @__PURE__ */ jsx("style", { children: `
|
|
@@ -5573,7 +5598,7 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
|
|
|
5573
5598
|
}
|
|
5574
5599
|
}
|
|
5575
5600
|
` }),
|
|
5576
|
-
/* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a}`, style: { ...y, ...s2, "--snap-carousel-min-width": `${u}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width":
|
|
5601
|
+
/* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a}`, style: { ...y, ...s2, "--snap-carousel-min-width": `${u}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": S, "--snap-carousel-panel-count": w, "--snap-carousel-two-panel-threshold": `${x}px` }, onScroll: (e) => {
|
|
5577
5602
|
if (!m || !b.current || 0 === b.current.children.length) return;
|
|
5578
5603
|
const t = b.current, n = t.getBoundingClientRect().left;
|
|
5579
5604
|
let r2 = 0, o2 = 1 / 0;
|
|
@@ -5585,41 +5610,41 @@ const z = forwardRef(({ panels: o, className: a = "", style: s2, theme: d, minPa
|
|
|
5585
5610
|
}, "data-panel-count": w, "data-carousel-id": R, children: o.map((t, n) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t }, n)) })
|
|
5586
5611
|
] });
|
|
5587
5612
|
});
|
|
5588
|
-
z.displayName = "SnapCarousel";
|
|
5589
|
-
var le$
|
|
5590
|
-
(se$1 = le$
|
|
5591
|
-
const de = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
|
|
5592
|
-
var Te$1, Ae;
|
|
5593
|
-
(Ae = Te$1 || (Te$1 = {}))[Ae.Forward = 1] = "Forward", Ae[Ae.Backward = -1] = "Backward";
|
|
5594
|
-
var _e$
|
|
5595
|
-
(je$1 = _e$
|
|
5613
|
+
z$1.displayName = "SnapCarousel";
|
|
5614
|
+
var le$2, se$1;
|
|
5615
|
+
(se$1 = le$2 || (le$2 = {})).DragStart = "dragStart", se$1.DragMove = "dragMove", se$1.DragEnd = "dragEnd", se$1.DragCancel = "dragCancel", se$1.DragOver = "dragOver", se$1.RegisterDroppable = "registerDroppable", se$1.SetDroppableDisabled = "setDroppableDisabled", se$1.UnregisterDroppable = "unregisterDroppable";
|
|
5616
|
+
const de$1 = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
|
|
5617
|
+
var Te$1, Ae$1;
|
|
5618
|
+
(Ae$1 = Te$1 || (Te$1 = {}))[Ae$1.Forward = 1] = "Forward", Ae$1[Ae$1.Backward = -1] = "Backward";
|
|
5619
|
+
var _e$2, je$1, He$1, Ke$1;
|
|
5620
|
+
(je$1 = _e$2 || (_e$2 = {})).Click = "click", je$1.DragStart = "dragstart", je$1.Keydown = "keydown", je$1.ContextMenu = "contextmenu", je$1.Resize = "resize", je$1.SelectionChange = "selectionchange", je$1.VisibilityChange = "visibilitychange", (Ke$1 = He$1 || (He$1 = {})).Space = "Space", Ke$1.Down = "ArrowDown", Ke$1.Right = "ArrowRight", Ke$1.Left = "ArrowLeft", Ke$1.Up = "ArrowUp", Ke$1.Esc = "Escape", Ke$1.Enter = "Enter", Ke$1.Tab = "Tab";
|
|
5596
5621
|
({ start: [He$1.Space, He$1.Enter], cancel: [He$1.Esc], end: [He$1.Space, He$1.Enter, He$1.Tab] });
|
|
5597
|
-
var rt, ot$1;
|
|
5598
|
-
(ot$1 = rt || (rt = {}))[ot$1.RightClick = 2] = "RightClick";
|
|
5599
|
-
var at, lt$1, st$1, ct$1;
|
|
5600
|
-
(lt$1 = at || (at = {}))[lt$1.Pointer = 0] = "Pointer", lt$1[lt$1.DraggableRect = 1] = "DraggableRect", (ct$1 = st$1 || (st$1 = {}))[ct$1.TreeOrder = 0] = "TreeOrder", ct$1[ct$1.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
5622
|
+
var rt$1, ot$1;
|
|
5623
|
+
(ot$1 = rt$1 || (rt$1 = {}))[ot$1.RightClick = 2] = "RightClick";
|
|
5624
|
+
var at$1, lt$1, st$1, ct$1;
|
|
5625
|
+
(lt$1 = at$1 || (at$1 = {}))[lt$1.Pointer = 0] = "Pointer", lt$1[lt$1.DraggableRect = 1] = "DraggableRect", (ct$1 = st$1 || (st$1 = {}))[ct$1.TreeOrder = 0] = "TreeOrder", ct$1[ct$1.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
5601
5626
|
({ x: { [Te$1.Backward]: false, [Te$1.Forward]: false }, y: { [Te$1.Backward]: false, [Te$1.Forward]: false } });
|
|
5602
|
-
var pt, ht$1, mt$1;
|
|
5603
|
-
(ht$1 = pt || (pt = {}))[ht$1.Always = 0] = "Always", ht$1[ht$1.BeforeDragging = 1] = "BeforeDragging", ht$1[ht$1.WhileDragging = 2] = "WhileDragging", (mt$1 || (mt$1 = {})).Optimized = "optimized";
|
|
5604
|
-
({ droppable: { strategy: pt.WhileDragging, frequency: mt$1.Optimized } });
|
|
5605
|
-
/* @__PURE__ */ createContext({ ...de, scaleX: 1, scaleY: 1 });
|
|
5606
|
-
var $t, Bt$1;
|
|
5607
|
-
(Bt$1 = $t || ($t = {}))[Bt$1.Uninitialized = 0] = "Uninitialized", Bt$1[Bt$1.Initializing = 1] = "Initializing", Bt$1[Bt$1.Initialized = 2] = "Initialized";
|
|
5608
|
-
var Ut;
|
|
5627
|
+
var pt$1, ht$1, mt$1;
|
|
5628
|
+
(ht$1 = pt$1 || (pt$1 = {}))[ht$1.Always = 0] = "Always", ht$1[ht$1.BeforeDragging = 1] = "BeforeDragging", ht$1[ht$1.WhileDragging = 2] = "WhileDragging", (mt$1 || (mt$1 = {})).Optimized = "optimized";
|
|
5629
|
+
({ droppable: { strategy: pt$1.WhileDragging, frequency: mt$1.Optimized } });
|
|
5630
|
+
/* @__PURE__ */ createContext({ ...de$1, scaleX: 1, scaleY: 1 });
|
|
5631
|
+
var $t$1, Bt$1;
|
|
5632
|
+
(Bt$1 = $t$1 || ($t$1 = {}))[Bt$1.Uninitialized = 0] = "Uninitialized", Bt$1[Bt$1.Initializing = 1] = "Initializing", Bt$1[Bt$1.Initialized = 2] = "Initialized";
|
|
5633
|
+
var Ut$1;
|
|
5609
5634
|
(() => {
|
|
5610
5635
|
if ("undefined" != typeof window) {
|
|
5611
5636
|
const e = window;
|
|
5612
5637
|
return e.__principlemd_theme_context__ || (e.__principlemd_theme_context__ = createContext(void 0)), e.__principlemd_theme_context__;
|
|
5613
5638
|
}
|
|
5614
|
-
return Ut || (Ut = createContext(void 0)), Ut;
|
|
5639
|
+
return Ut$1 || (Ut$1 = createContext(void 0)), Ut$1;
|
|
5615
5640
|
})();
|
|
5616
|
-
var _e = Object.defineProperty;
|
|
5617
|
-
var Ee = (o, e, t) => e in o ? _e(o, e, { enumerable: true, configurable: true, writable: true, value: t }) : o[e] = t;
|
|
5618
|
-
var le = (o, e, t) => Ee(o, typeof e != "symbol" ? e + "" : e, t);
|
|
5641
|
+
var _e$1 = Object.defineProperty;
|
|
5642
|
+
var Ee = (o, e, t) => e in o ? _e$1(o, e, { enumerable: true, configurable: true, writable: true, value: t }) : o[e] = t;
|
|
5643
|
+
var le$1 = (o, e, t) => Ee(o, typeof e != "symbol" ? e + "" : e, t);
|
|
5619
5644
|
class De {
|
|
5620
5645
|
constructor() {
|
|
5621
|
-
le(this, "PRESETS_KEY", "panel-layouts:workspace-presets");
|
|
5622
|
-
le(this, "REPO_STATE_PREFIX", "panel-layouts:repo-state:");
|
|
5646
|
+
le$1(this, "PRESETS_KEY", "panel-layouts:workspace-presets");
|
|
5647
|
+
le$1(this, "REPO_STATE_PREFIX", "panel-layouts:repo-state:");
|
|
5623
5648
|
}
|
|
5624
5649
|
/**
|
|
5625
5650
|
* Load all user-created workspace presets
|
|
@@ -6086,7 +6111,7 @@ class O {
|
|
|
6086
6111
|
Object.keys(e).length;
|
|
6087
6112
|
}
|
|
6088
6113
|
}
|
|
6089
|
-
le(O, "adapter", new De());
|
|
6114
|
+
le$1(O, "adapter", new De());
|
|
6090
6115
|
function gt(o, e, t, r2) {
|
|
6091
6116
|
useEffect(() => {
|
|
6092
6117
|
const s2 = e.on(
|
|
@@ -6107,10 +6132,11 @@ const DEFAULT_TASK_STATUSES = {
|
|
|
6107
6132
|
};
|
|
6108
6133
|
function parseTaskMarkdown(content2, filePath) {
|
|
6109
6134
|
const { frontmatter, title, rawContent, acceptanceCriteria, description } = parseMarkdownContent(content2);
|
|
6110
|
-
const id = extractIdFromPath(filePath);
|
|
6135
|
+
const id = frontmatter.id || extractIdFromPath(filePath);
|
|
6136
|
+
const taskTitle = frontmatter.title || title || `Task ${id}`;
|
|
6111
6137
|
return {
|
|
6112
6138
|
id,
|
|
6113
|
-
title:
|
|
6139
|
+
title: taskTitle,
|
|
6114
6140
|
status: frontmatter.status || "backlog",
|
|
6115
6141
|
priority: frontmatter.priority,
|
|
6116
6142
|
assignee: frontmatter.assignee || [],
|
|
@@ -6230,15 +6256,23 @@ function parseFrontmatter(raw2) {
|
|
|
6230
6256
|
if (!match)
|
|
6231
6257
|
continue;
|
|
6232
6258
|
const [, key2, value] = match;
|
|
6259
|
+
let cleanValue = value.trim();
|
|
6260
|
+
if (cleanValue.startsWith('"') && cleanValue.endsWith('"') || cleanValue.startsWith("'") && cleanValue.endsWith("'")) {
|
|
6261
|
+
cleanValue = cleanValue.slice(1, -1);
|
|
6262
|
+
}
|
|
6233
6263
|
switch (key2) {
|
|
6264
|
+
case "id":
|
|
6265
|
+
case "title":
|
|
6266
|
+
result[key2] = cleanValue;
|
|
6267
|
+
break;
|
|
6234
6268
|
case "status":
|
|
6235
|
-
result.status =
|
|
6269
|
+
result.status = cleanValue;
|
|
6236
6270
|
break;
|
|
6237
6271
|
case "priority":
|
|
6238
|
-
result.priority =
|
|
6272
|
+
result.priority = cleanValue;
|
|
6239
6273
|
break;
|
|
6240
6274
|
case "ordinal":
|
|
6241
|
-
result.ordinal = parseInt(
|
|
6275
|
+
result.ordinal = parseInt(cleanValue, 10);
|
|
6242
6276
|
break;
|
|
6243
6277
|
case "reporter":
|
|
6244
6278
|
case "milestone":
|
|
@@ -6246,7 +6280,7 @@ function parseFrontmatter(raw2) {
|
|
|
6246
6280
|
case "branch":
|
|
6247
6281
|
case "createdDate":
|
|
6248
6282
|
case "updatedDate":
|
|
6249
|
-
result[key2] =
|
|
6283
|
+
result[key2] = cleanValue;
|
|
6250
6284
|
break;
|
|
6251
6285
|
case "assignee":
|
|
6252
6286
|
case "labels":
|
|
@@ -8073,6 +8107,15 @@ function useKanbanData(options) {
|
|
|
8073
8107
|
console.log(
|
|
8074
8108
|
`[useKanbanData] Loaded ${allTasks.length}/${total} tasks`
|
|
8075
8109
|
);
|
|
8110
|
+
if (allTasks.length > 0) {
|
|
8111
|
+
console.log("[useKanbanData] First task sample:", {
|
|
8112
|
+
id: allTasks[0].id,
|
|
8113
|
+
title: allTasks[0].title,
|
|
8114
|
+
status: allTasks[0].status,
|
|
8115
|
+
description: allTasks[0].description,
|
|
8116
|
+
filePath: allTasks[0].filePath
|
|
8117
|
+
});
|
|
8118
|
+
}
|
|
8076
8119
|
fileTreeVersionRef.current = currentVersion;
|
|
8077
8120
|
const newColumnStates = buildColumnStates(allTasks);
|
|
8078
8121
|
setTasks(allTasks);
|
|
@@ -8889,6 +8932,102 @@ const EmptyState = ({
|
|
|
8889
8932
|
)
|
|
8890
8933
|
] });
|
|
8891
8934
|
};
|
|
8935
|
+
const BoardEmptyState = ({
|
|
8936
|
+
onAddTask,
|
|
8937
|
+
canWrite
|
|
8938
|
+
}) => {
|
|
8939
|
+
const { theme: theme2 } = useTheme();
|
|
8940
|
+
return /* @__PURE__ */ jsxs(
|
|
8941
|
+
"div",
|
|
8942
|
+
{
|
|
8943
|
+
style: {
|
|
8944
|
+
display: "flex",
|
|
8945
|
+
flexDirection: "column",
|
|
8946
|
+
alignItems: "center",
|
|
8947
|
+
justifyContent: "center",
|
|
8948
|
+
height: "100%",
|
|
8949
|
+
padding: "48px 24px",
|
|
8950
|
+
textAlign: "center",
|
|
8951
|
+
color: theme2.colors.textMuted
|
|
8952
|
+
},
|
|
8953
|
+
children: [
|
|
8954
|
+
/* @__PURE__ */ jsx(
|
|
8955
|
+
Rocket,
|
|
8956
|
+
{
|
|
8957
|
+
size: 64,
|
|
8958
|
+
color: theme2.colors.textMuted,
|
|
8959
|
+
style: { marginBottom: "24px", opacity: 0.5 }
|
|
8960
|
+
}
|
|
8961
|
+
),
|
|
8962
|
+
/* @__PURE__ */ jsx(
|
|
8963
|
+
"h3",
|
|
8964
|
+
{
|
|
8965
|
+
style: {
|
|
8966
|
+
fontSize: theme2.fontSizes[4],
|
|
8967
|
+
fontWeight: 600,
|
|
8968
|
+
color: theme2.colors.text,
|
|
8969
|
+
marginBottom: "12px"
|
|
8970
|
+
},
|
|
8971
|
+
children: "Your backlog is empty!"
|
|
8972
|
+
}
|
|
8973
|
+
),
|
|
8974
|
+
/* @__PURE__ */ jsx(
|
|
8975
|
+
"p",
|
|
8976
|
+
{
|
|
8977
|
+
style: {
|
|
8978
|
+
fontSize: theme2.fontSizes[2],
|
|
8979
|
+
color: theme2.colors.textMuted,
|
|
8980
|
+
marginBottom: "32px",
|
|
8981
|
+
maxWidth: "480px",
|
|
8982
|
+
lineHeight: 1.6
|
|
8983
|
+
},
|
|
8984
|
+
children: "Ready to get started? Add your first task to begin organizing your work."
|
|
8985
|
+
}
|
|
8986
|
+
),
|
|
8987
|
+
canWrite ? /* @__PURE__ */ jsxs(
|
|
8988
|
+
"button",
|
|
8989
|
+
{
|
|
8990
|
+
onClick: onAddTask,
|
|
8991
|
+
style: {
|
|
8992
|
+
display: "inline-flex",
|
|
8993
|
+
alignItems: "center",
|
|
8994
|
+
gap: "8px",
|
|
8995
|
+
padding: "12px 24px",
|
|
8996
|
+
backgroundColor: theme2.colors.primary,
|
|
8997
|
+
color: theme2.colors.textOnPrimary,
|
|
8998
|
+
borderRadius: theme2.radii[2],
|
|
8999
|
+
border: "none",
|
|
9000
|
+
fontSize: theme2.fontSizes[2],
|
|
9001
|
+
fontWeight: 500,
|
|
9002
|
+
cursor: "pointer",
|
|
9003
|
+
transition: "opacity 0.2s"
|
|
9004
|
+
},
|
|
9005
|
+
onMouseEnter: (e) => {
|
|
9006
|
+
e.currentTarget.style.opacity = "0.9";
|
|
9007
|
+
},
|
|
9008
|
+
onMouseLeave: (e) => {
|
|
9009
|
+
e.currentTarget.style.opacity = "1";
|
|
9010
|
+
},
|
|
9011
|
+
children: [
|
|
9012
|
+
/* @__PURE__ */ jsx(Plus, { size: 16 }),
|
|
9013
|
+
/* @__PURE__ */ jsx("span", { children: "Add Task" })
|
|
9014
|
+
]
|
|
9015
|
+
}
|
|
9016
|
+
) : /* @__PURE__ */ jsx(
|
|
9017
|
+
"p",
|
|
9018
|
+
{
|
|
9019
|
+
style: {
|
|
9020
|
+
fontSize: theme2.fontSizes[1],
|
|
9021
|
+
color: theme2.colors.textMuted,
|
|
9022
|
+
fontStyle: "italic"
|
|
9023
|
+
},
|
|
9024
|
+
children: "You don't have permission to add tasks"
|
|
9025
|
+
}
|
|
9026
|
+
)
|
|
9027
|
+
]
|
|
9028
|
+
}
|
|
9029
|
+
);
|
|
9030
|
+
};
|
|
8892
9031
|
const TaskModal = ({
|
|
8893
9032
|
isOpen,
|
|
8894
9033
|
onClose,
|
|
@@ -10003,6 +10142,7 @@ const KanbanPanel = ({
|
|
|
10003
10142
|
totalTasksState,
|
|
10004
10143
|
loadMoreTasks,
|
|
10005
10144
|
error,
|
|
10145
|
+
isLoading,
|
|
10006
10146
|
isBacklogProject,
|
|
10007
10147
|
refreshData,
|
|
10008
10148
|
moveTaskOptimistic,
|
|
@@ -10551,7 +10691,13 @@ const KanbanPanel = ({
|
|
|
10551
10691
|
canInitialize,
|
|
10552
10692
|
onInitialize: handleInitialize
|
|
10553
10693
|
}
|
|
10554
|
-
) : viewMode === "board" ? /* @__PURE__ */
|
|
10694
|
+
) : viewMode === "board" ? !isLoading && totalTasksState.total === 0 ? /* @__PURE__ */ jsx(
|
|
10695
|
+
BoardEmptyState,
|
|
10696
|
+
{
|
|
10697
|
+
onAddTask: handleOpenNewTask,
|
|
10698
|
+
canWrite
|
|
10699
|
+
}
|
|
10700
|
+
) : /* @__PURE__ */ jsxs(
|
|
10555
10701
|
DndContext,
|
|
10556
10702
|
{
|
|
10557
10703
|
sensors,
|
|
@@ -50109,6 +50255,96 @@ var TransformComponent = function(_a) {
|
|
|
50109
50255
|
React2__default.createElement("div", __assign({}, contentProps, { ref: contentRef, className: "".concat(baseClasses.contentClass, " ").concat(styles.content, " ").concat(contentClass), style: contentStyle }), children2)
|
|
50110
50256
|
);
|
|
50111
50257
|
};
|
|
50258
|
+
var isInjected = false;
|
|
50259
|
+
function injectHighlightStyles() {
|
|
50260
|
+
if (isInjected || typeof document === "undefined") {
|
|
50261
|
+
return;
|
|
50262
|
+
}
|
|
50263
|
+
const existingStyle = document.getElementById("themed-markdown-highlight-css");
|
|
50264
|
+
if (existingStyle) {
|
|
50265
|
+
isInjected = true;
|
|
50266
|
+
return;
|
|
50267
|
+
}
|
|
50268
|
+
const css2 = `
|
|
50269
|
+
pre code.hljs {
|
|
50270
|
+
display: block;
|
|
50271
|
+
overflow-x: auto;
|
|
50272
|
+
padding: 1em
|
|
50273
|
+
}
|
|
50274
|
+
code.hljs {
|
|
50275
|
+
padding: 3px 5px
|
|
50276
|
+
}
|
|
50277
|
+
|
|
50278
|
+
.hljs {
|
|
50279
|
+
color: #abb2bf;
|
|
50280
|
+
background: #282c34
|
|
50281
|
+
}
|
|
50282
|
+
.hljs-comment,
|
|
50283
|
+
.hljs-quote {
|
|
50284
|
+
color: #5c6370;
|
|
50285
|
+
font-style: italic
|
|
50286
|
+
}
|
|
50287
|
+
.hljs-doctag,
|
|
50288
|
+
.hljs-keyword,
|
|
50289
|
+
.hljs-formula {
|
|
50290
|
+
color: #c678dd
|
|
50291
|
+
}
|
|
50292
|
+
.hljs-section,
|
|
50293
|
+
.hljs-name,
|
|
50294
|
+
.hljs-selector-tag,
|
|
50295
|
+
.hljs-deletion,
|
|
50296
|
+
.hljs-subst {
|
|
50297
|
+
color: #e06c75
|
|
50298
|
+
}
|
|
50299
|
+
.hljs-literal {
|
|
50300
|
+
color: #56b6c2
|
|
50301
|
+
}
|
|
50302
|
+
.hljs-string,
|
|
50303
|
+
.hljs-regexp,
|
|
50304
|
+
.hljs-addition,
|
|
50305
|
+
.hljs-attribute,
|
|
50306
|
+
.hljs-meta .hljs-string {
|
|
50307
|
+
color: #98c379
|
|
50308
|
+
}
|
|
50309
|
+
.hljs-attr,
|
|
50310
|
+
.hljs-variable,
|
|
50311
|
+
.hljs-template-variable,
|
|
50312
|
+
.hljs-type,
|
|
50313
|
+
.hljs-selector-class,
|
|
50314
|
+
.hljs-selector-attr,
|
|
50315
|
+
.hljs-selector-pseudo,
|
|
50316
|
+
.hljs-number {
|
|
50317
|
+
color: #d19a66
|
|
50318
|
+
}
|
|
50319
|
+
.hljs-symbol,
|
|
50320
|
+
.hljs-bullet,
|
|
50321
|
+
.hljs-link,
|
|
50322
|
+
.hljs-meta,
|
|
50323
|
+
.hljs-selector-id,
|
|
50324
|
+
.hljs-title {
|
|
50325
|
+
color: #61aeee
|
|
50326
|
+
}
|
|
50327
|
+
.hljs-built_in,
|
|
50328
|
+
.hljs-title.class_,
|
|
50329
|
+
.hljs-class .hljs-title {
|
|
50330
|
+
color: #e6c07b
|
|
50331
|
+
}
|
|
50332
|
+
.hljs-emphasis {
|
|
50333
|
+
font-style: italic
|
|
50334
|
+
}
|
|
50335
|
+
.hljs-strong {
|
|
50336
|
+
font-weight: bold
|
|
50337
|
+
}
|
|
50338
|
+
.hljs-link {
|
|
50339
|
+
text-decoration: underline
|
|
50340
|
+
}`;
|
|
50341
|
+
const styleElement = document.createElement("style");
|
|
50342
|
+
styleElement.id = "themed-markdown-highlight-css";
|
|
50343
|
+
styleElement.textContent = css2;
|
|
50344
|
+
document.head.appendChild(styleElement);
|
|
50345
|
+
isInjected = true;
|
|
50346
|
+
}
|
|
50347
|
+
injectHighlightStyles();
|
|
50112
50348
|
var terminalTheme = {
|
|
50113
50349
|
space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
|
|
50114
50350
|
fonts: {
|
|
@@ -50146,52 +50382,53 @@ var terminalTheme = {
|
|
|
50146
50382
|
zIndices: [0, 1, 10, 20, 30, 40, 50],
|
|
50147
50383
|
colors: {
|
|
50148
50384
|
text: "#e4e4e4",
|
|
50149
|
-
background: "
|
|
50385
|
+
background: "#0a0a0a",
|
|
50150
50386
|
primary: "#66b3ff",
|
|
50151
50387
|
secondary: "#80c4ff",
|
|
50152
50388
|
accent: "#66ff99",
|
|
50153
|
-
highlight: "
|
|
50154
|
-
muted: "
|
|
50389
|
+
highlight: "#18283d",
|
|
50390
|
+
muted: "#1a1a1a",
|
|
50155
50391
|
success: "#66ff99",
|
|
50156
50392
|
warning: "#ffcc66",
|
|
50157
50393
|
error: "#ff6666",
|
|
50158
50394
|
info: "#66b3ff",
|
|
50159
|
-
border: "
|
|
50160
|
-
backgroundSecondary: "
|
|
50161
|
-
backgroundTertiary: "
|
|
50162
|
-
backgroundLight: "
|
|
50163
|
-
backgroundHover: "
|
|
50164
|
-
surface: "
|
|
50165
|
-
textSecondary: "
|
|
50166
|
-
textTertiary: "
|
|
50167
|
-
textMuted: "
|
|
50168
|
-
highlightBg: "
|
|
50169
|
-
highlightBorder: "
|
|
50395
|
+
border: "#1a1a1a",
|
|
50396
|
+
backgroundSecondary: "#0f0f0f",
|
|
50397
|
+
backgroundTertiary: "#141414",
|
|
50398
|
+
backgroundLight: "#0d0d0d",
|
|
50399
|
+
backgroundHover: "#0d1520",
|
|
50400
|
+
surface: "#0f0f0f",
|
|
50401
|
+
textSecondary: "#b3b3b3",
|
|
50402
|
+
textTertiary: "#808080",
|
|
50403
|
+
textMuted: "#666666",
|
|
50404
|
+
highlightBg: "#40391e",
|
|
50405
|
+
highlightBorder: "#7f7530",
|
|
50406
|
+
textOnPrimary: "#ffffff"
|
|
50170
50407
|
},
|
|
50171
50408
|
modes: {
|
|
50172
50409
|
light: {
|
|
50173
50410
|
text: "#1a1a1a",
|
|
50174
|
-
background: "
|
|
50411
|
+
background: "#ffffff",
|
|
50175
50412
|
primary: "#0066cc",
|
|
50176
50413
|
secondary: "#0052a3",
|
|
50177
50414
|
accent: "#00cc88",
|
|
50178
|
-
highlight: "
|
|
50179
|
-
muted: "
|
|
50415
|
+
highlight: "#e6f2ff",
|
|
50416
|
+
muted: "#f5f5f5",
|
|
50180
50417
|
success: "#00cc88",
|
|
50181
50418
|
warning: "#ffaa00",
|
|
50182
50419
|
error: "#ff3333",
|
|
50183
50420
|
info: "#0066cc",
|
|
50184
|
-
border: "
|
|
50185
|
-
backgroundSecondary: "
|
|
50186
|
-
backgroundTertiary: "
|
|
50187
|
-
backgroundLight: "
|
|
50188
|
-
backgroundHover: "
|
|
50189
|
-
surface: "
|
|
50190
|
-
textSecondary: "
|
|
50191
|
-
textTertiary: "
|
|
50192
|
-
textMuted: "
|
|
50193
|
-
highlightBg: "
|
|
50194
|
-
highlightBorder: "
|
|
50421
|
+
border: "#e6e6e6",
|
|
50422
|
+
backgroundSecondary: "#fafafa",
|
|
50423
|
+
backgroundTertiary: "#f5f5f5",
|
|
50424
|
+
backgroundLight: "#fafafa",
|
|
50425
|
+
backgroundHover: "#f5f9fd",
|
|
50426
|
+
surface: "#ffffff",
|
|
50427
|
+
textSecondary: "#666666",
|
|
50428
|
+
textTertiary: "#999999",
|
|
50429
|
+
textMuted: "#b3b3b3",
|
|
50430
|
+
highlightBg: "#fff9c4",
|
|
50431
|
+
highlightBorder: "#fff389"
|
|
50195
50432
|
}
|
|
50196
50433
|
},
|
|
50197
50434
|
buttons: {
|
|
@@ -51508,8 +51745,8 @@ var createIndustryMarkdownComponents = ({
|
|
|
51508
51745
|
};
|
|
51509
51746
|
const darkMode = getLuminance(theme2.colors.background) < 0.5;
|
|
51510
51747
|
const headerStyles = {};
|
|
51511
|
-
if (index2 === 0
|
|
51512
|
-
headerStyles.marginTop = `${slideHeaderMarginTopOverride}px
|
|
51748
|
+
if (index2 === 0) {
|
|
51749
|
+
headerStyles.marginTop = slideHeaderMarginTopOverride ? `${slideHeaderMarginTopOverride}px` : 0;
|
|
51513
51750
|
}
|
|
51514
51751
|
return {
|
|
51515
51752
|
h1: ({ children: children2, ...props }) => /* @__PURE__ */ React2__default.createElement("h1", {
|
|
@@ -52695,29 +52932,25 @@ var fontTransitionCSS = `
|
|
|
52695
52932
|
font-size: 1rem !important; /* Fixed size for checkbox labels */
|
|
52696
52933
|
}
|
|
52697
52934
|
|
|
52698
|
-
/* Remove top margin from
|
|
52699
|
-
.markdown-slide >
|
|
52700
|
-
.markdown-slide >
|
|
52701
|
-
.markdown-slide > :first-child h3:first-child,
|
|
52702
|
-
.markdown-slide > :first-child h4:first-child,
|
|
52703
|
-
.markdown-slide > :first-child h5:first-child,
|
|
52704
|
-
.markdown-slide > :first-child h6:first-child {
|
|
52935
|
+
/* Remove top margin from any first element - must override inline styles */
|
|
52936
|
+
.markdown-slide > *:first-child,
|
|
52937
|
+
.markdown-slide > *:first-child > *:first-child {
|
|
52705
52938
|
margin-top: 0 !important;
|
|
52706
52939
|
}
|
|
52707
|
-
|
|
52708
|
-
/*
|
|
52709
|
-
.markdown-slide >
|
|
52710
|
-
.markdown-slide >
|
|
52711
|
-
.markdown-slide >
|
|
52712
|
-
.markdown-slide >
|
|
52713
|
-
.markdown-slide >
|
|
52714
|
-
.markdown-slide >
|
|
52715
|
-
.markdown-slide > p:first-child
|
|
52716
|
-
.markdown-slide >
|
|
52717
|
-
.markdown-slide >
|
|
52718
|
-
.markdown-slide >
|
|
52719
|
-
.markdown-slide >
|
|
52720
|
-
.markdown-slide >
|
|
52940
|
+
|
|
52941
|
+
/* Specifically target all possible first-child elements */
|
|
52942
|
+
.markdown-slide > h1:first-child,
|
|
52943
|
+
.markdown-slide > h2:first-child,
|
|
52944
|
+
.markdown-slide > h3:first-child,
|
|
52945
|
+
.markdown-slide > h4:first-child,
|
|
52946
|
+
.markdown-slide > h5:first-child,
|
|
52947
|
+
.markdown-slide > h6:first-child,
|
|
52948
|
+
.markdown-slide > p:first-child,
|
|
52949
|
+
.markdown-slide > ul:first-child,
|
|
52950
|
+
.markdown-slide > ol:first-child,
|
|
52951
|
+
.markdown-slide > div:first-child,
|
|
52952
|
+
.markdown-slide > blockquote:first-child,
|
|
52953
|
+
.markdown-slide > pre:first-child {
|
|
52721
52954
|
margin-top: 0 !important;
|
|
52722
52955
|
}
|
|
52723
52956
|
`;
|
|
@@ -53443,7 +53676,6 @@ var panelConstraintFlags = /* @__PURE__ */ new Map();
|
|
|
53443
53676
|
function reportConstraintsViolation(resizeHandleId, flag) {
|
|
53444
53677
|
panelConstraintFlags.set(resizeHandleId, flag);
|
|
53445
53678
|
}
|
|
53446
|
-
new AbortController();
|
|
53447
53679
|
function useForceUpdate() {
|
|
53448
53680
|
const [_, setCount] = useState(0);
|
|
53449
53681
|
return useCallback(() => setCount((prevCount) => prevCount + 1), []);
|
|
@@ -53607,7 +53839,7 @@ function adjustLayoutByDelta({
|
|
|
53607
53839
|
if (!fuzzyNumbersEqual(prevSize, safeSize)) {
|
|
53608
53840
|
deltaApplied += prevSize - safeSize;
|
|
53609
53841
|
nextLayout[index2] = safeSize;
|
|
53610
|
-
if (deltaApplied.
|
|
53842
|
+
if (deltaApplied.toFixed(3).localeCompare(Math.abs(delta).toFixed(3), void 0, {
|
|
53611
53843
|
numeric: true
|
|
53612
53844
|
}) >= 0) {
|
|
53613
53845
|
break;
|
|
@@ -53716,9 +53948,14 @@ function determinePivotIndices(groupId, dragHandleId, panelGroupElement) {
|
|
|
53716
53948
|
const index2 = getResizeHandleElementIndex(groupId, dragHandleId, panelGroupElement);
|
|
53717
53949
|
return index2 != null ? [index2, index2 + 1] : [-1, -1];
|
|
53718
53950
|
}
|
|
53951
|
+
function isHTMLElement(target) {
|
|
53952
|
+
if (target instanceof HTMLElement) {
|
|
53953
|
+
return true;
|
|
53954
|
+
}
|
|
53955
|
+
return typeof target === "object" && target !== null && "tagName" in target && "getAttribute" in target;
|
|
53956
|
+
}
|
|
53719
53957
|
function getPanelGroupElement(id, rootElement = document) {
|
|
53720
|
-
|
|
53721
|
-
if (rootElement instanceof HTMLElement && (rootElement === null || rootElement === void 0 ? void 0 : (_dataset = rootElement.dataset) === null || _dataset === void 0 ? void 0 : _dataset.panelGroupId) == id) {
|
|
53958
|
+
if (isHTMLElement(rootElement) && rootElement.dataset.panelGroupId == id) {
|
|
53722
53959
|
return rootElement;
|
|
53723
53960
|
}
|
|
53724
53961
|
const element2 = rootElement.querySelector(`[data-panel-group][data-panel-group-id="${id}"]`);
|
|
@@ -54036,11 +54273,11 @@ function computePanelFlexBoxStyle({
|
|
|
54036
54273
|
const size = layout[panelIndex];
|
|
54037
54274
|
let flexGrow;
|
|
54038
54275
|
if (size == null) {
|
|
54039
|
-
flexGrow = defaultSize != null ? defaultSize.
|
|
54276
|
+
flexGrow = defaultSize != null ? defaultSize.toFixed(precision) : "1";
|
|
54040
54277
|
} else if (panelData.length === 1) {
|
|
54041
54278
|
flexGrow = "1";
|
|
54042
54279
|
} else {
|
|
54043
|
-
flexGrow = size.
|
|
54280
|
+
flexGrow = size.toFixed(precision);
|
|
54044
54281
|
}
|
|
54045
54282
|
return {
|
|
54046
54283
|
flexBasis: 0,
|
|
@@ -54822,23 +55059,26 @@ function panelDataHelper(panelDataArray, panelData, layout) {
|
|
|
54822
55059
|
pivotIndices
|
|
54823
55060
|
};
|
|
54824
55061
|
}
|
|
54825
|
-
function
|
|
55062
|
+
function C(e2) {
|
|
54826
55063
|
return { "--panel-background": e2.colors.background, "--panel-border": e2.colors.border, "--panel-handle": e2.colors.backgroundSecondary, "--panel-handle-hover": e2.colors.backgroundHover, "--panel-handle-active": e2.colors.primary, "--panel-button-bg": e2.colors.surface, "--panel-button-hover": e2.colors.backgroundHover, "--panel-button-border": e2.colors.border, "--panel-button-icon": e2.colors.textSecondary, "--panel-accent-bg": e2.colors.primary + "15" };
|
|
54827
55064
|
}
|
|
54828
|
-
var
|
|
54829
|
-
const
|
|
54830
|
-
useImperativeHandle(
|
|
54831
|
-
if (!
|
|
55065
|
+
var z = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minPanelWidth: u2 = 350, idealPanelWidth: p2 = 0.333, showSeparator: h2 = false, onPanelChange: m2, preventKeyboardScroll: f2 = true, disableSwipe: g = false }, v) => {
|
|
55066
|
+
const b = useRef(null), y2 = useRef(false), w2 = useRef(null), x2 = C(d2);
|
|
55067
|
+
useImperativeHandle(v, () => ({ scrollToPanel: (e2) => {
|
|
55068
|
+
if (!b.current)
|
|
54832
55069
|
return;
|
|
54833
|
-
const t2 =
|
|
55070
|
+
const t2 = b.current, n2 = t2.children[e2];
|
|
54834
55071
|
if (n2) {
|
|
55072
|
+
y2.current = true, w2.current && clearTimeout(w2.current);
|
|
54835
55073
|
const e3 = n2.offsetLeft;
|
|
54836
|
-
t2.scrollTo({ left: e3, behavior: "smooth" })
|
|
55074
|
+
t2.scrollTo({ left: e3, behavior: "smooth" }), w2.current = setTimeout(() => {
|
|
55075
|
+
y2.current = false;
|
|
55076
|
+
}, 500);
|
|
54837
55077
|
}
|
|
54838
55078
|
}, getCurrentPanel: () => {
|
|
54839
|
-
if (!
|
|
55079
|
+
if (!b.current || b.current.children.length === 0)
|
|
54840
55080
|
return 0;
|
|
54841
|
-
const e2 =
|
|
55081
|
+
const e2 = b.current, t2 = e2.getBoundingClientRect().left;
|
|
54842
55082
|
let n2 = 0, r2 = 1 / 0;
|
|
54843
55083
|
for (let o3 = 0; o3 < e2.children.length; o3++) {
|
|
54844
55084
|
const i2 = e2.children[o3].getBoundingClientRect(), a3 = Math.abs(i2.left - t2);
|
|
@@ -54847,9 +55087,9 @@ var M = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minP
|
|
|
54847
55087
|
return n2;
|
|
54848
55088
|
} }));
|
|
54849
55089
|
useEffect(() => {
|
|
54850
|
-
if (!f2 || !
|
|
55090
|
+
if (!f2 || !b.current)
|
|
54851
55091
|
return;
|
|
54852
|
-
const e2 =
|
|
55092
|
+
const e2 = b.current, t2 = (e3) => {
|
|
54853
55093
|
const t3 = e3.target;
|
|
54854
55094
|
if (t3.tagName === "INPUT" || t3.tagName === "TEXTAREA" || t3.tagName === "SELECT" || t3.isContentEditable || t3.closest(".xterm") !== null || t3.closest('[contenteditable="true"]') !== null)
|
|
54855
55095
|
return;
|
|
@@ -54858,74 +55098,78 @@ var M = forwardRef(({ panels: o2, className: a2 = "", style: s2, theme: d2, minP
|
|
|
54858
55098
|
return e2.addEventListener("keydown", t2), () => {
|
|
54859
55099
|
e2.removeEventListener("keydown", t2);
|
|
54860
55100
|
};
|
|
54861
|
-
}, [f2])
|
|
54862
|
-
|
|
54863
|
-
|
|
54864
|
-
|
|
54865
|
-
|
|
55101
|
+
}, [f2]), useEffect(() => () => {
|
|
55102
|
+
w2.current && clearTimeout(w2.current);
|
|
55103
|
+
}, []);
|
|
55104
|
+
const S = o2.length, R2 = 2 * u2;
|
|
55105
|
+
let N;
|
|
55106
|
+
N = S === 1 || S === 2 ? "100%" : `max(${u2}px, ${100 * p2}%)`;
|
|
55107
|
+
const E = React2__default.useId().replace(/:/g, "_");
|
|
54866
55108
|
return jsxs(Fragment, { children: [
|
|
54867
|
-
|
|
54868
|
-
.snap-carousel-container[data-carousel-id="${
|
|
55109
|
+
S === 2 && /* @__PURE__ */ jsx("style", { children: `
|
|
55110
|
+
.snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
|
|
54869
55111
|
width: 100%;
|
|
54870
55112
|
}
|
|
54871
|
-
@container (min-width: ${
|
|
54872
|
-
.snap-carousel-container[data-carousel-id="${
|
|
55113
|
+
@container (min-width: ${R2}px) {
|
|
55114
|
+
.snap-carousel-container[data-carousel-id="${E}"][data-panel-count="2"] .snap-carousel-panel {
|
|
54873
55115
|
width: 50%;
|
|
54874
55116
|
}
|
|
54875
55117
|
}
|
|
54876
55118
|
` }),
|
|
54877
|
-
/* @__PURE__ */ jsx("div", { ref:
|
|
54878
|
-
if (!m2 || !
|
|
55119
|
+
/* @__PURE__ */ jsx("div", { ref: b, className: `snap-carousel-container ${g ? "swipe-disabled" : ""} ${a2}`, style: { ...x2, ...s2, "--snap-carousel-min-width": `${u2}px`, "--snap-carousel-ideal-width": 100 * p2 + "%", "--snap-carousel-gap": h2 ? "1px" : "0px", "--snap-carousel-panel-width": N, "--snap-carousel-panel-count": S, "--snap-carousel-two-panel-threshold": `${R2}px` }, onScroll: (e2) => {
|
|
55120
|
+
if (!m2 || !b.current || b.current.children.length === 0)
|
|
55121
|
+
return;
|
|
55122
|
+
if (y2.current)
|
|
54879
55123
|
return;
|
|
54880
|
-
const t2 =
|
|
55124
|
+
const t2 = b.current, n2 = t2.getBoundingClientRect().left;
|
|
54881
55125
|
let r2 = 0, o3 = 1 / 0;
|
|
54882
55126
|
for (let i2 = 0; i2 < t2.children.length; i2++) {
|
|
54883
55127
|
const e3 = t2.children[i2].getBoundingClientRect(), a3 = Math.abs(e3.left - n2);
|
|
54884
55128
|
a3 < o3 && (o3 = a3, r2 = i2);
|
|
54885
55129
|
}
|
|
54886
55130
|
m2(r2);
|
|
54887
|
-
}, "data-panel-count":
|
|
55131
|
+
}, "data-panel-count": S, "data-carousel-id": E, children: o2.map((t2, n2) => /* @__PURE__ */ jsx("div", { className: "snap-carousel-panel", children: t2 }, n2)) })
|
|
54888
55132
|
] });
|
|
54889
55133
|
});
|
|
54890
|
-
|
|
55134
|
+
z.displayName = "SnapCarousel";
|
|
55135
|
+
var le;
|
|
54891
55136
|
var se;
|
|
54892
|
-
|
|
54893
|
-
|
|
54894
|
-
var ue = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
|
|
55137
|
+
(se = le || (le = {})).DragStart = "dragStart", se.DragMove = "dragMove", se.DragEnd = "dragEnd", se.DragCancel = "dragCancel", se.DragOver = "dragOver", se.RegisterDroppable = "registerDroppable", se.SetDroppableDisabled = "setDroppableDisabled", se.UnregisterDroppable = "unregisterDroppable";
|
|
55138
|
+
var de = /* @__PURE__ */ Object.freeze({ x: 0, y: 0 });
|
|
54895
55139
|
var Te;
|
|
54896
|
-
var
|
|
54897
|
-
(
|
|
55140
|
+
var Ae;
|
|
55141
|
+
(Ae = Te || (Te = {}))[Ae.Forward = 1] = "Forward", Ae[Ae.Backward = -1] = "Backward";
|
|
55142
|
+
var _e;
|
|
54898
55143
|
var je;
|
|
54899
55144
|
var He;
|
|
54900
55145
|
var Ke;
|
|
54901
|
-
|
|
54902
|
-
(
|
|
54903
|
-
|
|
55146
|
+
(je = _e || (_e = {})).Click = "click", je.DragStart = "dragstart", je.Keydown = "keydown", je.ContextMenu = "contextmenu", je.Resize = "resize", je.SelectionChange = "selectionchange", je.VisibilityChange = "visibilitychange", (Ke = He || (He = {})).Space = "Space", Ke.Down = "ArrowDown", Ke.Right = "ArrowRight", Ke.Left = "ArrowLeft", Ke.Up = "ArrowUp", Ke.Esc = "Escape", Ke.Enter = "Enter", Ke.Tab = "Tab";
|
|
55147
|
+
({ start: [He.Space, He.Enter], cancel: [He.Esc], end: [He.Space, He.Enter, He.Tab] });
|
|
55148
|
+
var rt;
|
|
54904
55149
|
var ot;
|
|
54905
|
-
|
|
54906
|
-
|
|
55150
|
+
(ot = rt || (rt = {}))[ot.RightClick = 2] = "RightClick";
|
|
55151
|
+
var at;
|
|
54907
55152
|
var lt;
|
|
54908
55153
|
var st;
|
|
54909
55154
|
var ct;
|
|
54910
|
-
|
|
54911
|
-
(st = lt || (lt = {}))[st.Pointer = 0] = "Pointer", st[st.DraggableRect = 1] = "DraggableRect", (dt = ct || (ct = {}))[dt.TreeOrder = 0] = "TreeOrder", dt[dt.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
55155
|
+
(lt = at || (at = {}))[lt.Pointer = 0] = "Pointer", lt[lt.DraggableRect = 1] = "DraggableRect", (ct = st || (st = {}))[ct.TreeOrder = 0] = "TreeOrder", ct[ct.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
54912
55156
|
({ x: { [Te.Backward]: false, [Te.Forward]: false }, y: { [Te.Backward]: false, [Te.Forward]: false } });
|
|
55157
|
+
var pt;
|
|
54913
55158
|
var ht;
|
|
54914
55159
|
var mt;
|
|
54915
|
-
|
|
54916
|
-
(
|
|
54917
|
-
({
|
|
54918
|
-
|
|
55160
|
+
(ht = pt || (pt = {}))[ht.Always = 0] = "Always", ht[ht.BeforeDragging = 1] = "BeforeDragging", ht[ht.WhileDragging = 2] = "WhileDragging", (mt || (mt = {})).Optimized = "optimized";
|
|
55161
|
+
({ droppable: { strategy: pt.WhileDragging, frequency: mt.Optimized } });
|
|
55162
|
+
/* @__PURE__ */ createContext({ ...de, scaleX: 1, scaleY: 1 });
|
|
55163
|
+
var $t;
|
|
54919
55164
|
var Bt;
|
|
54920
|
-
|
|
54921
|
-
|
|
54922
|
-
var Vt;
|
|
55165
|
+
(Bt = $t || ($t = {}))[Bt.Uninitialized = 0] = "Uninitialized", Bt[Bt.Initializing = 1] = "Initializing", Bt[Bt.Initialized = 2] = "Initialized";
|
|
55166
|
+
var Ut;
|
|
54923
55167
|
(() => {
|
|
54924
55168
|
if (typeof window != "undefined") {
|
|
54925
55169
|
const e2 = window;
|
|
54926
55170
|
return e2.__principlemd_theme_context__ || (e2.__principlemd_theme_context__ = createContext(void 0)), e2.__principlemd_theme_context__;
|
|
54927
55171
|
}
|
|
54928
|
-
return
|
|
55172
|
+
return Ut || (Ut = createContext(void 0)), Ut;
|
|
54929
55173
|
})();
|
|
54930
55174
|
var DocumentView = ({
|
|
54931
55175
|
content: content2,
|