@digi-frontend/dgate-api-documentation 3.1.2 → 3.1.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/dist/{index-DKRnDjk5.d.ts → index-2gCYXQ3k.d.cts} +3 -3
- package/dist/index-2gCYXQ3k.d.cts.map +1 -0
- package/dist/{index-CcMSs7Hg.d.cts → index-6jjqvQ2J.d.ts} +3 -3
- package/dist/index-6jjqvQ2J.d.ts.map +1 -0
- package/dist/index.cjs +250 -256
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +250 -256
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-CcMSs7Hg.d.cts.map +0 -1
- package/dist/index-DKRnDjk5.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -545,17 +545,33 @@ const darkerMethodColors = {
|
|
|
545
545
|
const buildTreeDataStructure = (data) => {
|
|
546
546
|
if (!data) return [];
|
|
547
547
|
return data.map((api) => {
|
|
548
|
+
const tagEntries = Object.entries(api.tags);
|
|
549
|
+
const hasOnlyDefaultTag = tagEntries.length === 1 && tagEntries[0][0] === "default";
|
|
548
550
|
return {
|
|
549
551
|
title: api.title,
|
|
550
552
|
key: api.id,
|
|
551
553
|
selectable: true,
|
|
552
554
|
data: api,
|
|
553
|
-
children:
|
|
555
|
+
children: hasOnlyDefaultTag ? tagEntries[0][1].map((endpoint) => {
|
|
556
|
+
return {
|
|
557
|
+
title: endpoint.summary,
|
|
558
|
+
key: endpoint.id,
|
|
559
|
+
isLeaf: true,
|
|
560
|
+
selectable: true,
|
|
561
|
+
method: endpoint.method,
|
|
562
|
+
data: {
|
|
563
|
+
endpoint,
|
|
564
|
+
api,
|
|
565
|
+
tagName: "default",
|
|
566
|
+
parentApiId: api.id
|
|
567
|
+
}
|
|
568
|
+
};
|
|
569
|
+
}) : tagEntries.map(([tag, endpoints]) => {
|
|
554
570
|
const tagId = `tag-${api.id}-${tag.replace(/\s+/g, "-").toLowerCase()}`;
|
|
555
571
|
return {
|
|
556
572
|
title: tag,
|
|
557
573
|
key: tagId,
|
|
558
|
-
selectable:
|
|
574
|
+
selectable: true,
|
|
559
575
|
data: {
|
|
560
576
|
tagName: tag,
|
|
561
577
|
apiData: api
|
|
@@ -767,7 +783,7 @@ const convertToRenderableTreeData = (treeDataStructure, selectedEndpoint, cx) =>
|
|
|
767
783
|
//#endregion
|
|
768
784
|
//#region src/hooks/useNodeSelection.ts
|
|
769
785
|
const useNodeSelection = () => {
|
|
770
|
-
const { setSelectedNodeKey, setFocusedContent, setSelectedApi, setSelectedEndpoint, setExpandedKeys, expandedKeys, builtTreeData } = useStore(({ view }) => view);
|
|
786
|
+
const { setSelectedNodeKey, setFocusedContent, setSelectedApi, setSelectedEndpoint, setExpandedKeys, expandedKeys, builtTreeData, setFocusedTag } = useStore(({ view }) => view);
|
|
771
787
|
const handleNodeSelection = (nodeData, nodeKey) => {
|
|
772
788
|
if (!nodeData) return null;
|
|
773
789
|
if (nodeKey.startsWith("endpoint-")) {
|
|
@@ -783,7 +799,7 @@ const useNodeSelection = () => {
|
|
|
783
799
|
endpointNodeData.parentApiId,
|
|
784
800
|
endpointNodeData.tagId,
|
|
785
801
|
endpointNodeData.api.id
|
|
786
|
-
];
|
|
802
|
+
].filter((key) => !!key);
|
|
787
803
|
const expanded = [...expandedKeys];
|
|
788
804
|
toExpand.forEach((key) => {
|
|
789
805
|
if (key && expanded.indexOf(key) < 0) expanded.push(key);
|
|
@@ -806,6 +822,10 @@ const useNodeSelection = () => {
|
|
|
806
822
|
};
|
|
807
823
|
} else {
|
|
808
824
|
const tagData = nodeData;
|
|
825
|
+
setSelectedApi(tagData.apiData);
|
|
826
|
+
setSelectedEndpoint(null);
|
|
827
|
+
setFocusedContent("API");
|
|
828
|
+
setFocusedTag(tagData.tagName);
|
|
809
829
|
return {
|
|
810
830
|
type: "tag",
|
|
811
831
|
tag: tagData.tagName,
|
|
@@ -830,8 +850,8 @@ const useNodeSelection = () => {
|
|
|
830
850
|
const apiNodeById = treeData.find((node) => node.data && "id" in node.data && "tags" in node.data && !("endpoint" in node.data) && !("tagName" in node.data) && node?.data?.currentVersion === apiId);
|
|
831
851
|
if (apiNodeById) {
|
|
832
852
|
const keysToExpand = [apiNodeById.key];
|
|
833
|
-
if (apiNodeById.children) apiNodeById.children.forEach((
|
|
834
|
-
keysToExpand.push(
|
|
853
|
+
if (apiNodeById.children) apiNodeById.children.forEach((node) => {
|
|
854
|
+
if (node.selectable === false) keysToExpand.push(node.key);
|
|
835
855
|
});
|
|
836
856
|
setExpandedKeys([...expandedKeys, ...keysToExpand.filter((key) => !expandedKeys.includes(key))]);
|
|
837
857
|
return selectNodeByKey(apiNodeById.key);
|
|
@@ -843,8 +863,8 @@ const useNodeSelection = () => {
|
|
|
843
863
|
const firstApiNode = treeData.find((node) => node.data && "id" in node.data && "tags" in node.data && !("endpoint" in node.data) && !("tagName" in node.data));
|
|
844
864
|
if (firstApiNode) {
|
|
845
865
|
const keysToExpand = [firstApiNode.key];
|
|
846
|
-
if (firstApiNode.children) firstApiNode.children.forEach((
|
|
847
|
-
keysToExpand.push(
|
|
866
|
+
if (firstApiNode.children) firstApiNode.children.forEach((node) => {
|
|
867
|
+
if (node.selectable === false) keysToExpand.push(node.key);
|
|
848
868
|
});
|
|
849
869
|
setExpandedKeys([...expandedKeys, ...keysToExpand.filter((key) => !expandedKeys.includes(key))]);
|
|
850
870
|
return selectNodeByKey(firstApiNode.key);
|
|
@@ -868,23 +888,23 @@ const useNodeSelection = () => {
|
|
|
868
888
|
|
|
869
889
|
//#endregion
|
|
870
890
|
//#region src/assets/Minify.svg
|
|
871
|
-
var _path$
|
|
872
|
-
function _extends$
|
|
873
|
-
return _extends$
|
|
891
|
+
var _path$6;
|
|
892
|
+
function _extends$6() {
|
|
893
|
+
return _extends$6 = Object.assign ? Object.assign.bind() : function(n) {
|
|
874
894
|
for (var e = 1; e < arguments.length; e++) {
|
|
875
895
|
var t = arguments[e];
|
|
876
896
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
877
897
|
}
|
|
878
898
|
return n;
|
|
879
|
-
}, _extends$
|
|
899
|
+
}, _extends$6.apply(null, arguments);
|
|
880
900
|
}
|
|
881
901
|
var SvgMinify = function SvgMinify$1(props) {
|
|
882
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
902
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$6({
|
|
883
903
|
xmlns: "http://www.w3.org/2000/svg",
|
|
884
904
|
width: 16,
|
|
885
905
|
height: 16,
|
|
886
906
|
fill: "none"
|
|
887
|
-
}, props), _path$
|
|
907
|
+
}, props), _path$6 || (_path$6 = /* @__PURE__ */ React.createElement("path", {
|
|
888
908
|
stroke: "currentcolor",
|
|
889
909
|
d: "m6 11.334 2-2 2 2M6 4.666l2 2 2-2"
|
|
890
910
|
})));
|
|
@@ -892,105 +912,173 @@ var SvgMinify = function SvgMinify$1(props) {
|
|
|
892
912
|
var Minify_default = SvgMinify;
|
|
893
913
|
|
|
894
914
|
//#endregion
|
|
895
|
-
//#region src/
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
return n;
|
|
904
|
-
}, _extends$7.apply(null, arguments);
|
|
905
|
-
}
|
|
906
|
-
var SvgNoDataSm = function SvgNoDataSm$1(props) {
|
|
907
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$7({
|
|
915
|
+
//#region src/view/components/NoDataIcon.tsx
|
|
916
|
+
const NoDataIcon = ({ width = 298, height = 237, fill = "#F1F5FD", stroke = "#E0E9F9", ...props }) => {
|
|
917
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
918
|
+
width,
|
|
919
|
+
height,
|
|
920
|
+
viewBox: "0 0 298 237",
|
|
921
|
+
fill,
|
|
908
922
|
xmlns: "http://www.w3.org/2000/svg",
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
923
|
+
...props,
|
|
924
|
+
children: [
|
|
925
|
+
/* @__PURE__ */ jsx("path", {
|
|
926
|
+
d: "M174.518 85.777C156.105 85.887 137.407 85.0293 119.917 80.1689C102.427 75.3086 86.959 66.1378 72.8969 55.4275C63.6906 48.456 55.3192 42.9139 43.3664 43.7496C31.6796 44.3644 20.5009 48.7289 11.485 56.1973C-3.71966 69.5246 -1.4126 94.1561 4.65169 111.486C13.7921 137.591 41.6087 155.713 65.2286 167.523C92.5399 181.18 122.532 189.119 152.611 193.671C178.978 197.674 212.837 200.599 235.666 183.357C256.649 167.545 262.406 131.389 257.264 106.978C256.013 99.7674 252.177 93.2616 246.476 88.68C231.733 77.9037 209.761 85.0952 193.194 85.4691C187.152 85.6011 180.802 85.755 174.518 85.777Z",
|
|
927
|
+
fill
|
|
928
|
+
}),
|
|
929
|
+
/* @__PURE__ */ jsx("path", {
|
|
930
|
+
d: "M84.7402 0.424805V9.88152",
|
|
931
|
+
stroke: "#E0E9F9",
|
|
932
|
+
strokeWidth: "0.85",
|
|
933
|
+
strokeLinecap: "round",
|
|
934
|
+
strokeLinejoin: "round"
|
|
935
|
+
}),
|
|
936
|
+
/* @__PURE__ */ jsx("path", {
|
|
937
|
+
d: "M80.0156 5.15332H89.4636",
|
|
938
|
+
stroke: "#E0E9F9",
|
|
939
|
+
strokeWidth: "0.85",
|
|
940
|
+
strokeLinecap: "round",
|
|
941
|
+
strokeLinejoin: "round"
|
|
942
|
+
}),
|
|
943
|
+
/* @__PURE__ */ jsx("path", {
|
|
944
|
+
d: "M263.988 188.921V198.378",
|
|
945
|
+
stroke: "#E0E9F9",
|
|
946
|
+
strokeWidth: "0.85",
|
|
947
|
+
strokeLinecap: "round",
|
|
948
|
+
strokeLinejoin: "round"
|
|
949
|
+
}),
|
|
950
|
+
/* @__PURE__ */ jsx("path", {
|
|
951
|
+
d: "M259.264 193.649H268.712",
|
|
952
|
+
stroke: "#E0E9F9",
|
|
953
|
+
strokeWidth: "0.85",
|
|
954
|
+
strokeLinecap: "round",
|
|
955
|
+
strokeLinejoin: "round"
|
|
956
|
+
}),
|
|
957
|
+
/* @__PURE__ */ jsx("path", {
|
|
958
|
+
d: "M13.3525 148.081C14.5417 148.081 15.5057 147.117 15.5057 145.926C15.5057 144.736 14.5417 143.771 13.3525 143.771C12.1633 143.771 11.1992 144.736 11.1992 145.926C11.1992 147.117 12.1633 148.081 13.3525 148.081Z",
|
|
959
|
+
fill: "#E0E9F9"
|
|
960
|
+
}),
|
|
961
|
+
/* @__PURE__ */ jsx("path", {
|
|
962
|
+
d: "M196.686 10.1894C197.876 10.1894 198.84 9.22447 198.84 8.03416C198.84 6.84385 197.876 5.87891 196.686 5.87891C195.497 5.87891 194.533 6.84385 194.533 8.03416C194.533 9.22447 195.497 10.1894 196.686 10.1894Z",
|
|
963
|
+
fill: "#E0E9F9"
|
|
964
|
+
}),
|
|
965
|
+
/* @__PURE__ */ jsx("path", {
|
|
966
|
+
d: "M137.01 236.425C181.545 236.425 217.648 234.18 217.648 231.411C217.648 228.641 181.545 226.396 137.01 226.396C92.4757 226.396 56.373 228.641 56.373 231.411C56.373 234.18 92.4757 236.425 137.01 236.425Z",
|
|
967
|
+
fill
|
|
968
|
+
}),
|
|
969
|
+
/* @__PURE__ */ jsx("path", {
|
|
970
|
+
d: "M74.8972 26.1118H192.008C194.922 26.1118 197.716 27.2703 199.777 29.3325C201.837 31.3947 202.994 34.1916 202.994 37.108V176.562C202.994 179.478 201.837 182.275 199.777 184.337C197.716 186.399 194.922 187.558 192.008 187.558H59.8903C56.9766 187.558 54.1823 186.399 52.122 184.337C50.0617 182.275 48.9043 179.478 48.9043 176.562V52.3927L74.8972 26.1118Z",
|
|
971
|
+
fill: "white",
|
|
972
|
+
stroke,
|
|
973
|
+
strokeLinecap: "round",
|
|
974
|
+
strokeLinejoin: "round"
|
|
975
|
+
}),
|
|
976
|
+
/* @__PURE__ */ jsx("path", {
|
|
977
|
+
d: "M202.465 94.0684H81.707V188.899H202.465V94.0684Z",
|
|
978
|
+
fill
|
|
979
|
+
}),
|
|
980
|
+
/* @__PURE__ */ jsx("path", {
|
|
981
|
+
d: "M48.9043 52.3927H70.1952C71.4443 52.3869 72.6402 51.8861 73.5214 51C74.4026 50.1139 74.8972 48.9146 74.8972 47.6643V26.1118L48.9043 52.3927Z",
|
|
982
|
+
fill: "white",
|
|
983
|
+
stroke,
|
|
984
|
+
strokeLinecap: "round",
|
|
985
|
+
strokeLinejoin: "round"
|
|
986
|
+
}),
|
|
987
|
+
/* @__PURE__ */ jsx("path", {
|
|
988
|
+
d: "M201.873 63.7852H82.4329C77.7852 63.7852 74.0176 67.5563 74.0176 72.2082V97.7853C74.0176 102.437 77.7852 106.208 82.4329 106.208H201.873C206.521 106.208 210.288 102.437 210.288 97.7853V72.2082C210.288 67.5563 206.521 63.7852 201.873 63.7852Z",
|
|
989
|
+
fill: "white",
|
|
990
|
+
stroke,
|
|
991
|
+
strokeLinecap: "round",
|
|
992
|
+
strokeLinejoin: "round"
|
|
993
|
+
}),
|
|
994
|
+
/* @__PURE__ */ jsx("path", {
|
|
995
|
+
d: "M97.2195 92.397C101.273 92.397 104.558 89.1083 104.558 85.0515C104.558 80.9947 101.273 77.7061 97.2195 77.7061C93.1665 77.7061 89.8809 80.9947 89.8809 85.0515C89.8809 89.1083 93.1665 92.397 97.2195 92.397Z",
|
|
996
|
+
fill
|
|
997
|
+
}),
|
|
998
|
+
/* @__PURE__ */ jsx("path", {
|
|
999
|
+
d: "M120.29 92.397C124.343 92.397 127.629 89.1083 127.629 85.0515C127.629 80.9947 124.343 77.7061 120.29 77.7061C116.237 77.7061 112.951 80.9947 112.951 85.0515C112.951 89.1083 116.237 92.397 120.29 92.397Z",
|
|
1000
|
+
fill
|
|
1001
|
+
}),
|
|
1002
|
+
/* @__PURE__ */ jsx("path", {
|
|
1003
|
+
d: "M143.339 92.397C147.392 92.397 150.677 89.1083 150.677 85.0515C150.677 80.9947 147.392 77.7061 143.339 77.7061C139.286 77.7061 136 80.9947 136 85.0515C136 89.1083 139.286 92.397 143.339 92.397Z",
|
|
1004
|
+
fill
|
|
1005
|
+
}),
|
|
1006
|
+
/* @__PURE__ */ jsx("path", {
|
|
1007
|
+
d: "M201.873 110.805H82.4329C77.7852 110.805 74.0176 114.576 74.0176 119.228V144.805C74.0176 149.457 77.7852 153.228 82.4329 153.228H201.873C206.521 153.228 210.288 149.457 210.288 144.805V119.228C210.288 114.576 206.521 110.805 201.873 110.805Z",
|
|
1008
|
+
fill: "white",
|
|
1009
|
+
stroke,
|
|
1010
|
+
strokeLinecap: "round",
|
|
1011
|
+
strokeLinejoin: "round"
|
|
1012
|
+
}),
|
|
1013
|
+
/* @__PURE__ */ jsx("path", {
|
|
1014
|
+
d: "M97.2195 139.438C101.273 139.438 104.558 136.15 104.558 132.093C104.558 128.036 101.273 124.748 97.2195 124.748C93.1665 124.748 89.8809 128.036 89.8809 132.093C89.8809 136.15 93.1665 139.438 97.2195 139.438Z",
|
|
1015
|
+
fill
|
|
1016
|
+
}),
|
|
1017
|
+
/* @__PURE__ */ jsx("path", {
|
|
1018
|
+
d: "M120.29 139.438C124.343 139.438 127.629 136.15 127.629 132.093C127.629 128.036 124.343 124.748 120.29 124.748C116.237 124.748 112.951 128.036 112.951 132.093C112.951 136.15 116.237 139.438 120.29 139.438Z",
|
|
1019
|
+
fill
|
|
1020
|
+
}),
|
|
1021
|
+
/* @__PURE__ */ jsx("path", {
|
|
1022
|
+
d: "M143.339 139.438C147.392 139.438 150.677 136.15 150.677 132.093C150.677 128.036 147.392 124.748 143.339 124.748C139.286 124.748 136 128.036 136 132.093C136 136.15 139.286 139.438 143.339 139.438Z",
|
|
1023
|
+
fill
|
|
1024
|
+
}),
|
|
1025
|
+
/* @__PURE__ */ jsx("path", {
|
|
1026
|
+
d: "M201.873 157.846H82.4329C77.7852 157.846 74.0176 161.617 74.0176 166.269V191.846C74.0176 196.498 77.7852 200.269 82.4329 200.269H201.873C206.521 200.269 210.288 196.498 210.288 191.846V166.269C210.288 161.617 206.521 157.846 201.873 157.846Z",
|
|
1027
|
+
fill: "white",
|
|
1028
|
+
stroke,
|
|
1029
|
+
strokeLinecap: "round",
|
|
1030
|
+
strokeLinejoin: "round"
|
|
1031
|
+
}),
|
|
1032
|
+
/* @__PURE__ */ jsx("path", {
|
|
1033
|
+
d: "M97.2195 186.458C101.273 186.458 104.558 183.17 104.558 179.113C104.558 175.056 101.273 171.768 97.2195 171.768C93.1665 171.768 89.8809 175.056 89.8809 179.113C89.8809 183.17 93.1665 186.458 97.2195 186.458Z",
|
|
1034
|
+
fill
|
|
1035
|
+
}),
|
|
1036
|
+
/* @__PURE__ */ jsx("path", {
|
|
1037
|
+
d: "M120.29 186.458C124.343 186.458 127.629 183.17 127.629 179.113C127.629 175.056 124.343 171.768 120.29 171.768C116.237 171.768 112.951 175.056 112.951 179.113C112.951 183.17 116.237 186.458 120.29 186.458Z",
|
|
1038
|
+
fill
|
|
1039
|
+
}),
|
|
1040
|
+
/* @__PURE__ */ jsx("path", {
|
|
1041
|
+
d: "M143.339 186.458C147.392 186.458 150.677 183.17 150.677 179.113C150.677 175.056 147.392 171.768 143.339 171.768C139.286 171.768 136 175.056 136 179.113C136 183.17 139.286 186.458 143.339 186.458Z",
|
|
1042
|
+
fill
|
|
1043
|
+
}),
|
|
1044
|
+
/* @__PURE__ */ jsx("path", {
|
|
1045
|
+
d: "M212.923 117.908C238.079 117.908 258.471 97.4964 258.471 72.3177C258.471 47.1389 238.079 26.7275 212.923 26.7275C187.768 26.7275 167.375 47.1389 167.375 72.3177C167.375 97.4964 187.768 117.908 212.923 117.908Z",
|
|
1046
|
+
fill: "white",
|
|
1047
|
+
stroke,
|
|
1048
|
+
strokeLinecap: "round",
|
|
1049
|
+
strokeLinejoin: "round"
|
|
1050
|
+
}),
|
|
1051
|
+
/* @__PURE__ */ jsx("path", {
|
|
1052
|
+
d: "M213.452 99.3023C228.05 99.3023 239.884 87.4571 239.884 72.8455C239.884 58.2338 228.05 46.3887 213.452 46.3887C198.854 46.3887 187.02 58.2338 187.02 72.8455C187.02 87.4571 198.854 99.3023 213.452 99.3023Z",
|
|
1053
|
+
fill: "white",
|
|
1054
|
+
stroke,
|
|
1055
|
+
strokeLinecap: "round",
|
|
1056
|
+
strokeLinejoin: "round"
|
|
1057
|
+
}),
|
|
1058
|
+
/* @__PURE__ */ jsx("path", {
|
|
1059
|
+
d: "M199.387 58.7437C199.939 59.893 227.519 86.9245 227.519 86.9245Z",
|
|
1060
|
+
fill: "white"
|
|
1061
|
+
}),
|
|
1062
|
+
/* @__PURE__ */ jsx("path", {
|
|
1063
|
+
d: "M199.387 58.7437C199.939 59.893 227.519 86.9245 227.519 86.9245",
|
|
1064
|
+
stroke,
|
|
1065
|
+
strokeLinecap: "round",
|
|
1066
|
+
strokeLinejoin: "round"
|
|
1067
|
+
}),
|
|
1068
|
+
/* @__PURE__ */ jsx("path", {
|
|
1069
|
+
d: "M227.519 58.7437C226.945 59.893 199.387 86.9245 199.387 86.9245Z",
|
|
1070
|
+
fill: "white"
|
|
1071
|
+
}),
|
|
1072
|
+
/* @__PURE__ */ jsx("path", {
|
|
1073
|
+
d: "M227.519 58.7437C226.945 59.893 199.387 86.9245 199.387 86.9245",
|
|
1074
|
+
stroke,
|
|
1075
|
+
strokeLinecap: "round",
|
|
1076
|
+
strokeLinejoin: "round"
|
|
1077
|
+
})
|
|
1078
|
+
]
|
|
1079
|
+
});
|
|
992
1080
|
};
|
|
993
|
-
var
|
|
1081
|
+
var NoDataIcon_default = NoDataIcon;
|
|
994
1082
|
|
|
995
1083
|
//#endregion
|
|
996
1084
|
//#region src/view/components/Sidebar.tsx
|
|
@@ -1109,10 +1197,11 @@ const Sidebar = ({ searchValue, setSearchValue }) => {
|
|
|
1109
1197
|
gap: token$1.marginSM,
|
|
1110
1198
|
vertical: true,
|
|
1111
1199
|
style: { marginTop: token$1.paddingXL },
|
|
1112
|
-
children: [/* @__PURE__ */ jsx(
|
|
1200
|
+
children: [/* @__PURE__ */ jsx(NoDataIcon_default, {
|
|
1201
|
+
stroke: token$1.colorPrimaryHover,
|
|
1202
|
+
fill: token$1.colorPrimaryBg,
|
|
1113
1203
|
width: "10.375rem",
|
|
1114
|
-
height: "8.1875rem"
|
|
1115
|
-
style: { backgroundSize: "cover" }
|
|
1204
|
+
height: "8.1875rem"
|
|
1116
1205
|
}), searchValue.length ? /* @__PURE__ */ jsx(Text, {
|
|
1117
1206
|
style: {
|
|
1118
1207
|
textAlign: "center",
|
|
@@ -1143,18 +1232,18 @@ const Sidebar = ({ searchValue, setSearchValue }) => {
|
|
|
1143
1232
|
|
|
1144
1233
|
//#endregion
|
|
1145
1234
|
//#region src/assets/grid.svg
|
|
1146
|
-
var _mask, _path$
|
|
1147
|
-
function _extends$
|
|
1148
|
-
return _extends$
|
|
1235
|
+
var _mask, _path$5, _path2$4;
|
|
1236
|
+
function _extends$5() {
|
|
1237
|
+
return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
|
|
1149
1238
|
for (var e = 1; e < arguments.length; e++) {
|
|
1150
1239
|
var t = arguments[e];
|
|
1151
1240
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
1152
1241
|
}
|
|
1153
1242
|
return n;
|
|
1154
|
-
}, _extends$
|
|
1243
|
+
}, _extends$5.apply(null, arguments);
|
|
1155
1244
|
}
|
|
1156
1245
|
var SvgGrid = function SvgGrid$1(props) {
|
|
1157
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
1246
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$5({
|
|
1158
1247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1159
1248
|
width: 16,
|
|
1160
1249
|
height: 16,
|
|
@@ -1162,10 +1251,10 @@ var SvgGrid = function SvgGrid$1(props) {
|
|
|
1162
1251
|
}, props), _mask || (_mask = /* @__PURE__ */ React.createElement("mask", {
|
|
1163
1252
|
id: "grid_svg__a",
|
|
1164
1253
|
fill: "#fff"
|
|
1165
|
-
}, /* @__PURE__ */ React.createElement("path", { d: "M3.333 2.5a.833.833 0 0 0-.833.833v3.334c0 .46.373.833.833.833h2c.46 0 .834-.373.834-.833V3.333a.833.833 0 0 0-.834-.833zM1.5 3.333c0-1.012.82-1.833 1.833-1.833h2c1.013 0 1.834.82 1.834 1.833v3.334c0 1.012-.82 1.833-1.834 1.833h-2A1.833 1.833 0 0 1 1.5 6.667zm8.333 0c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v1.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v1.334c0 1.012.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V3.333c0-1.012-.82-1.833-1.833-1.833zm-.834 7.833c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v3.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v3.334c0 1.013.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V9.333c0-1.012-.82-1.833-1.833-1.833zM2.5 11.333c0-.46.373-.833.833-.833h2c.46 0 .834.373.834.833v1.334c0 .46-.373.833-.834.833h-2a.833.833 0 0 1-.833-.833zM3.333 9.5c-1.012 0-1.833.82-1.833 1.833v1.334c0 1.013.82 1.833 1.833 1.833h2c1.013 0 1.834-.82 1.834-1.833v-1.334c0-1.013-.82-1.833-1.834-1.833z" }))), _path$
|
|
1254
|
+
}, /* @__PURE__ */ React.createElement("path", { d: "M3.333 2.5a.833.833 0 0 0-.833.833v3.334c0 .46.373.833.833.833h2c.46 0 .834-.373.834-.833V3.333a.833.833 0 0 0-.834-.833zM1.5 3.333c0-1.012.82-1.833 1.833-1.833h2c1.013 0 1.834.82 1.834 1.833v3.334c0 1.012-.82 1.833-1.834 1.833h-2A1.833 1.833 0 0 1 1.5 6.667zm8.333 0c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v1.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v1.334c0 1.012.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V3.333c0-1.012-.82-1.833-1.833-1.833zm-.834 7.833c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v3.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v3.334c0 1.013.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V9.333c0-1.012-.82-1.833-1.833-1.833zM2.5 11.333c0-.46.373-.833.833-.833h2c.46 0 .834.373.834.833v1.334c0 .46-.373.833-.834.833h-2a.833.833 0 0 1-.833-.833zM3.333 9.5c-1.012 0-1.833.82-1.833 1.833v1.334c0 1.013.82 1.833 1.833 1.833h2c1.013 0 1.834-.82 1.834-1.833v-1.334c0-1.013-.82-1.833-1.834-1.833z" }))), _path$5 || (_path$5 = /* @__PURE__ */ React.createElement("path", {
|
|
1166
1255
|
fill: "#D9D9D9",
|
|
1167
1256
|
d: "M3.333 2.5a.833.833 0 0 0-.833.833v3.334c0 .46.373.833.833.833h2c.46 0 .834-.373.834-.833V3.333a.833.833 0 0 0-.834-.833zM1.5 3.333c0-1.012.82-1.833 1.833-1.833h2c1.013 0 1.834.82 1.834 1.833v3.334c0 1.012-.82 1.833-1.834 1.833h-2A1.833 1.833 0 0 1 1.5 6.667zm8.333 0c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v1.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v1.334c0 1.012.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V3.333c0-1.012-.82-1.833-1.833-1.833zm-.834 7.833c0-.46.373-.833.834-.833h2c.46 0 .833.373.833.833v3.334c0 .46-.373.833-.833.833h-2a.833.833 0 0 1-.834-.833zm.834-1.833c-1.013 0-1.834.82-1.834 1.833v3.334c0 1.013.82 1.833 1.834 1.833h2c1.013 0 1.833-.82 1.833-1.833V9.333c0-1.012-.82-1.833-1.833-1.833zM2.5 11.333c0-.46.373-.833.833-.833h2c.46 0 .834.373.834.833v1.334c0 .46-.373.833-.834.833h-2a.833.833 0 0 1-.833-.833zM3.333 9.5c-1.012 0-1.833.82-1.833 1.833v1.334c0 1.013.82 1.833 1.833 1.833h2c1.013 0 1.834-.82 1.834-1.833v-1.334c0-1.013-.82-1.833-1.834-1.833z"
|
|
1168
|
-
})), _path2$
|
|
1257
|
+
})), _path2$4 || (_path2$4 = /* @__PURE__ */ React.createElement("path", {
|
|
1169
1258
|
fill: "#769DE4",
|
|
1170
1259
|
d: "M3.333 2.5v-1C2.321 1.5 1.5 2.32 1.5 3.333h2a.167.167 0 0 1-.167.167zm-.833.833h-1v3.334h2V3.333zm0 3.334h-1c0 1.012.82 1.833 1.833 1.833v-2c.092 0 .167.075.167.167zm.833.833v1h2v-2h-2zm2 0v1c1.013 0 1.834-.82 1.834-1.833h-2c0-.092.075-.167.166-.167zm.834-.833h1V3.333h-2v3.334zm0-3.334h1c0-1.012-.82-1.833-1.834-1.833v2a.167.167 0 0 1-.166-.167zM5.333 2.5v-1h-2v2h2zM1.5 3.333h1c0-.46.373-.833.833-.833v-2A2.833 2.833 0 0 0 .5 3.333zM3.333 1.5v1h2v-2h-2zm2 0v1c.46 0 .834.373.834.833h2A2.833 2.833 0 0 0 5.333.5zm1.834 1.833h-1v3.334h2V3.333zm0 3.334h-1c0 .46-.373.833-.834.833v2a2.833 2.833 0 0 0 2.834-2.833zM5.333 8.5v-1h-2v2h2zm-2 0v-1a.833.833 0 0 1-.833-.833h-2A2.833 2.833 0 0 0 3.333 9.5zM1.5 6.667h1V3.333h-2v3.334zm8.333-3.334h1a.167.167 0 0 1-.166.167v-2c-1.013 0-1.834.82-1.834 1.833zm.834-.833v1h2v-2h-2zm2 0v1a.167.167 0 0 1-.167-.167h2c0-1.012-.82-1.833-1.833-1.833zm.833.833h-1v1.334h2V3.333zm0 1.334h-1c0-.092.075-.167.167-.167v2c1.013 0 1.833-.82 1.833-1.833zm-.833.833v-1h-2v2h2zm-2 0v-1c.091 0 .166.075.166.167h-2c0 1.012.82 1.833 1.834 1.833zm-.834-.833h1V3.333h-2v1.334zm.834-3.167v-1a2.833 2.833 0 0 0-2.834 2.833h2c0-.46.373-.833.834-.833zM8.833 3.333h-1v1.334h2V3.333zm0 1.334h-1A2.833 2.833 0 0 0 10.667 7.5v-2a.833.833 0 0 1-.834-.833zM10.667 6.5v1h2v-2h-2zm2 0v1A2.833 2.833 0 0 0 15.5 4.667h-2c0 .46-.373.833-.833.833zM14.5 4.667h1V3.333h-2v1.334zm0-1.334h1A2.833 2.833 0 0 0 12.667.5v2c.46 0 .833.373.833.833zM12.667 1.5v-1h-2v2h2zM9.833 9.333h1a.167.167 0 0 1-.166.167v-2c-1.013 0-1.834.82-1.834 1.833zm.834-.833v1h2v-2h-2zm2 0v1a.167.167 0 0 1-.167-.167h2c0-1.012-.82-1.833-1.833-1.833zm.833.833h-1v3.334h2V9.333zm0 3.334h-1c0-.092.075-.167.167-.167v2c1.013 0 1.833-.82 1.833-1.833zm-.833.833v-1h-2v2h2zm-2 0v-1c.091 0 .166.075.166.167h-2c0 1.013.82 1.833 1.834 1.833zm-.834-.833h1V9.333h-2v3.334zm.834-5.167v-1a2.833 2.833 0 0 0-2.834 2.833h2c0-.46.373-.833.834-.833zM8.833 9.333h-1v3.334h2V9.333zm0 3.334h-1a2.833 2.833 0 0 0 2.834 2.833v-2a.833.833 0 0 1-.834-.833zm1.834 1.833v1h2v-2h-2zm2 0v1a2.833 2.833 0 0 0 2.833-2.833h-2c0 .46-.373.833-.833.833zm1.833-1.833h1V9.333h-2v3.334zm0-3.334h1A2.833 2.833 0 0 0 12.667 6.5v2c.46 0 .833.373.833.833zM12.667 7.5v-1h-2v2h2zM2.5 11.333h1a.167.167 0 0 1-.167.167v-2c-1.012 0-1.833.82-1.833 1.833zm.833-.833v1h2v-2h-2zm2 0v1a.167.167 0 0 1-.166-.167h2c0-1.013-.82-1.833-1.834-1.833zm.834.833h-1v1.334h2v-1.334zm0 1.334h-1c0-.092.075-.167.166-.167v2c1.013 0 1.834-.82 1.834-1.833zm-.834.833v-1h-2v2h2zm-2 0v-1c.092 0 .167.075.167.167h-2c0 1.013.82 1.833 1.833 1.833zm-.833-.833h1v-1.334h-2v1.334zM3.333 9.5v-1A2.833 2.833 0 0 0 .5 11.333h2c0-.46.373-.833.833-.833zM1.5 11.333h-1v1.334h2v-1.334zm0 1.334h-1A2.833 2.833 0 0 0 3.333 15.5v-2a.833.833 0 0 1-.833-.833zM3.333 14.5v1h2v-2h-2zm2 0v1a2.833 2.833 0 0 0 2.834-2.833h-2c0 .46-.373.833-.834.833zm1.834-1.833h1v-1.334h-2v1.334zm0-1.334h1A2.833 2.833 0 0 0 5.333 8.5v2c.46 0 .834.373.834.833zM5.333 9.5v-1h-2v2h2z",
|
|
1171
1260
|
mask: "url(#grid_svg__a)"
|
|
@@ -1175,23 +1264,23 @@ var grid_default = SvgGrid;
|
|
|
1175
1264
|
|
|
1176
1265
|
//#endregion
|
|
1177
1266
|
//#region src/assets/list.svg
|
|
1178
|
-
var _path$
|
|
1179
|
-
function _extends$
|
|
1180
|
-
return _extends$
|
|
1267
|
+
var _path$4;
|
|
1268
|
+
function _extends$4() {
|
|
1269
|
+
return _extends$4 = Object.assign ? Object.assign.bind() : function(n) {
|
|
1181
1270
|
for (var e = 1; e < arguments.length; e++) {
|
|
1182
1271
|
var t = arguments[e];
|
|
1183
1272
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
1184
1273
|
}
|
|
1185
1274
|
return n;
|
|
1186
|
-
}, _extends$
|
|
1275
|
+
}, _extends$4.apply(null, arguments);
|
|
1187
1276
|
}
|
|
1188
1277
|
var SvgList = function SvgList$1(props) {
|
|
1189
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
1278
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$4({
|
|
1190
1279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1191
1280
|
width: 16,
|
|
1192
1281
|
height: 16,
|
|
1193
1282
|
fill: "none"
|
|
1194
|
-
}, props), _path$
|
|
1283
|
+
}, props), _path$4 || (_path$4 = /* @__PURE__ */ React.createElement("path", {
|
|
1195
1284
|
stroke: "#000",
|
|
1196
1285
|
strokeLinecap: "round",
|
|
1197
1286
|
strokeLinejoin: "round",
|
|
@@ -1203,26 +1292,26 @@ var list_default = SvgList;
|
|
|
1203
1292
|
|
|
1204
1293
|
//#endregion
|
|
1205
1294
|
//#region src/assets/link.svg
|
|
1206
|
-
var _path$
|
|
1207
|
-
function _extends$
|
|
1208
|
-
return _extends$
|
|
1295
|
+
var _path$3, _path2$3;
|
|
1296
|
+
function _extends$3() {
|
|
1297
|
+
return _extends$3 = Object.assign ? Object.assign.bind() : function(n) {
|
|
1209
1298
|
for (var e = 1; e < arguments.length; e++) {
|
|
1210
1299
|
var t = arguments[e];
|
|
1211
1300
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
1212
1301
|
}
|
|
1213
1302
|
return n;
|
|
1214
|
-
}, _extends$
|
|
1303
|
+
}, _extends$3.apply(null, arguments);
|
|
1215
1304
|
}
|
|
1216
1305
|
var SvgLink = function SvgLink$1(props) {
|
|
1217
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
1306
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$3({
|
|
1218
1307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1219
1308
|
width: 12,
|
|
1220
1309
|
height: 12,
|
|
1221
1310
|
fill: "none"
|
|
1222
|
-
}, props), _path$
|
|
1311
|
+
}, props), _path$3 || (_path$3 = /* @__PURE__ */ React.createElement("path", {
|
|
1223
1312
|
fill: "#4D75D9",
|
|
1224
1313
|
d: "M3.875 9.25C2.085 9.25.625 7.79.625 6s1.46-3.25 3.25-3.25c.205 0 .375.17.375.375s-.17.375-.375.375a2.5 2.5 0 0 0 0 5 2.5 2.5 0 0 0 2.5-2.5c0-.205.17-.375.375-.375s.375.17.375.375c0 1.79-1.46 3.25-3.25 3.25"
|
|
1225
|
-
})), _path2$
|
|
1314
|
+
})), _path2$3 || (_path2$3 = /* @__PURE__ */ React.createElement("path", {
|
|
1226
1315
|
fill: "#4D75D9",
|
|
1227
1316
|
d: "M8 9.375A.38.38 0 0 1 7.625 9c0-.205.17-.375.375-.375A2.63 2.63 0 0 0 10.625 6 2.63 2.63 0 0 0 8 3.375 2.63 2.63 0 0 0 5.375 6c0 .205-.17.375-.375.375A.38.38 0 0 1 4.625 6 3.38 3.38 0 0 1 8 2.625 3.38 3.38 0 0 1 11.375 6 3.38 3.38 0 0 1 8 9.375"
|
|
1228
1317
|
})));
|
|
@@ -1454,29 +1543,29 @@ const handleStatusColor = (code) => {
|
|
|
1454
1543
|
|
|
1455
1544
|
//#endregion
|
|
1456
1545
|
//#region src/assets/securitySafe.svg
|
|
1457
|
-
var _path$
|
|
1458
|
-
function _extends$
|
|
1459
|
-
return _extends$
|
|
1546
|
+
var _path$2, _path2$2, _path3;
|
|
1547
|
+
function _extends$2() {
|
|
1548
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
1460
1549
|
for (var e = 1; e < arguments.length; e++) {
|
|
1461
1550
|
var t = arguments[e];
|
|
1462
1551
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
1463
1552
|
}
|
|
1464
1553
|
return n;
|
|
1465
|
-
}, _extends$
|
|
1554
|
+
}, _extends$2.apply(null, arguments);
|
|
1466
1555
|
}
|
|
1467
1556
|
var SvgSecuritySafe = function SvgSecuritySafe$1(props) {
|
|
1468
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
1557
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$2({
|
|
1469
1558
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1470
1559
|
width: 12,
|
|
1471
1560
|
height: 12,
|
|
1472
1561
|
fill: "none"
|
|
1473
|
-
}, props), _path$
|
|
1562
|
+
}, props), _path$2 || (_path$2 = /* @__PURE__ */ React.createElement("path", {
|
|
1474
1563
|
fill: "currentcolor",
|
|
1475
1564
|
d: "M6 11.375q-.181.001-.355-.05C3.05 10.61 1.17 8.185 1.17 5.555V3.36c0-.56.405-1.165.925-1.38L4.88.84a2.95 2.95 0 0 1 2.24 0l2.785 1.14c.52.215.925.82.925 1.38v2.195c0 2.625-1.885 5.05-4.475 5.77q-.174.051-.355.05m0-10a2.2 2.2 0 0 0-.835.165L2.38 2.68c-.24.1-.46.425-.46.685V5.56c0 2.295 1.65 4.415 3.925 5.045.1.03.21.03.31 0 2.275-.63 3.925-2.75 3.925-5.045V3.365c0-.26-.22-.585-.46-.685L6.835 1.54A2.2 2.2 0 0 0 6 1.375"
|
|
1476
|
-
})), _path2$
|
|
1565
|
+
})), _path2$2 || (_path2$2 = /* @__PURE__ */ React.createElement("path", {
|
|
1477
1566
|
fill: "currentcolor",
|
|
1478
1567
|
d: "M6 6.625a1.374 1.374 0 1 1-.002-2.748A1.374 1.374 0 0 1 6 6.625m0-2a.625.625 0 1 0 0 1.25.625.625 0 0 0 0-1.25"
|
|
1479
|
-
})), _path3
|
|
1568
|
+
})), _path3 || (_path3 = /* @__PURE__ */ React.createElement("path", {
|
|
1480
1569
|
fill: "currentcolor",
|
|
1481
1570
|
d: "M6 8.125a.38.38 0 0 1-.375-.375v-1.5c0-.205.17-.375.375-.375s.375.17.375.375v1.5c0 .205-.17.375-.375.375"
|
|
1482
1571
|
})));
|
|
@@ -1502,7 +1591,11 @@ const APIPage = () => {
|
|
|
1502
1591
|
if (element) element.scrollIntoView({ behavior: "smooth" });
|
|
1503
1592
|
setFocusedTag(null);
|
|
1504
1593
|
}
|
|
1505
|
-
}, [
|
|
1594
|
+
}, [
|
|
1595
|
+
focusedTag,
|
|
1596
|
+
setFocusedTag,
|
|
1597
|
+
selectedApi
|
|
1598
|
+
]);
|
|
1506
1599
|
useEffect(() => {
|
|
1507
1600
|
if (!!urlsOptions?.length) setSelectedUrl(urlsOptions[0]?.value);
|
|
1508
1601
|
}, [selectedApi, urlsOptions]);
|
|
@@ -1968,107 +2061,6 @@ const EndpointPage = () => {
|
|
|
1968
2061
|
});
|
|
1969
2062
|
};
|
|
1970
2063
|
|
|
1971
|
-
//#endregion
|
|
1972
|
-
//#region src/assets/NoData.svg
|
|
1973
|
-
var _path$2, _path2$2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0, _path1, _path10, _path11, _path12, _path13, _path14, _path15, _path16;
|
|
1974
|
-
function _extends$2() {
|
|
1975
|
-
return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
1976
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
1977
|
-
var t = arguments[e];
|
|
1978
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
1979
|
-
}
|
|
1980
|
-
return n;
|
|
1981
|
-
}, _extends$2.apply(null, arguments);
|
|
1982
|
-
}
|
|
1983
|
-
var SvgNoData = function SvgNoData$1(props) {
|
|
1984
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$2({
|
|
1985
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1986
|
-
width: 298,
|
|
1987
|
-
height: 237,
|
|
1988
|
-
fill: "none"
|
|
1989
|
-
}, props), _path$2 || (_path$2 = /* @__PURE__ */ React.createElement("path", {
|
|
1990
|
-
fill: "#F1F5FD",
|
|
1991
|
-
d: "M174.518 86.353c-18.413.11-37.111-.748-54.601-5.608s-32.958-14.031-47.02-24.741c-9.206-6.972-17.578-12.514-29.53-11.678a54.46 54.46 0 0 0-31.882 12.447C-3.72 70.101-1.413 94.733 4.652 112.062c9.14 26.105 36.957 44.227 60.577 56.037 27.31 13.657 57.303 21.596 87.382 26.149 26.367 4.002 60.226 6.927 83.055-10.315 20.983-15.812 26.74-51.968 21.598-76.379a30.07 30.07 0 0 0-10.788-18.298c-14.743-10.776-36.715-3.585-53.282-3.21-6.042.131-12.392.285-18.676.307"
|
|
1992
|
-
})), _path2$2 || (_path2$2 = /* @__PURE__ */ React.createElement("path", {
|
|
1993
|
-
stroke: "#E0E9F9",
|
|
1994
|
-
strokeLinecap: "round",
|
|
1995
|
-
strokeLinejoin: "round",
|
|
1996
|
-
strokeWidth: .85,
|
|
1997
|
-
d: "M84.74 1v9.457M80.016 5.729h9.448M263.987 189.496v9.457M259.264 194.225h9.448"
|
|
1998
|
-
})), _path3 || (_path3 = /* @__PURE__ */ React.createElement("path", {
|
|
1999
|
-
fill: "#E0E9F9",
|
|
2000
|
-
d: "M13.353 148.656a2.154 2.154 0 1 0-.002-4.308 2.154 2.154 0 0 0 .001 4.308M196.687 10.764a2.154 2.154 0 1 0 0-4.31 2.154 2.154 0 0 0 0 4.31"
|
|
2001
|
-
})), _path4 || (_path4 = /* @__PURE__ */ React.createElement("path", {
|
|
2002
|
-
fill: "#F1F5FD",
|
|
2003
|
-
d: "M137.011 236.999c44.535 0 80.638-2.245 80.638-5.014s-36.103-5.014-80.638-5.014c-44.534 0-80.637 2.245-80.637 5.014s36.103 5.014 80.637 5.014"
|
|
2004
|
-
})), _path5 || (_path5 = /* @__PURE__ */ React.createElement("path", {
|
|
2005
|
-
fill: "#fff",
|
|
2006
|
-
stroke: "#769DE4",
|
|
2007
|
-
strokeLinecap: "round",
|
|
2008
|
-
strokeLinejoin: "round",
|
|
2009
|
-
d: "M74.896 26.688h117.111c2.914 0 5.708 1.158 7.769 3.22a11 11 0 0 1 3.217 7.776v139.453c0 2.917-1.157 5.714-3.217 7.776a10.98 10.98 0 0 1-7.769 3.22H59.889a10.98 10.98 0 0 1-7.768-3.22 11 11 0 0 1-3.218-7.776V52.968z"
|
|
2010
|
-
})), _path6 || (_path6 = /* @__PURE__ */ React.createElement("path", {
|
|
2011
|
-
fill: "#F1F5FD",
|
|
2012
|
-
d: "M202.465 94.645H81.707v94.831h120.758z"
|
|
2013
|
-
})), _path7 || (_path7 = /* @__PURE__ */ React.createElement("path", {
|
|
2014
|
-
fill: "#fff",
|
|
2015
|
-
stroke: "#769DE4",
|
|
2016
|
-
strokeLinecap: "round",
|
|
2017
|
-
strokeLinejoin: "round",
|
|
2018
|
-
d: "M48.903 52.968h21.291a4.73 4.73 0 0 0 4.702-4.728V26.687zM201.873 64.36H82.433c-4.648 0-8.415 3.77-8.415 8.422V98.36c0 4.651 3.767 8.423 8.415 8.423h119.44c4.648 0 8.415-3.772 8.415-8.423V72.782c0-4.651-3.767-8.423-8.415-8.423"
|
|
2019
|
-
})), _path8 || (_path8 = /* @__PURE__ */ React.createElement("path", {
|
|
2020
|
-
fill: "#F1F5FD",
|
|
2021
|
-
d: "M97.22 92.972a7.34 7.34 0 0 0 7.338-7.345 7.34 7.34 0 0 0-7.339-7.346 7.34 7.34 0 0 0-7.338 7.346 7.34 7.34 0 0 0 7.338 7.345M120.291 92.972a7.34 7.34 0 0 0 7.338-7.345c0-4.057-3.285-7.346-7.338-7.346a7.34 7.34 0 0 0-7.339 7.346 7.34 7.34 0 0 0 7.339 7.345M143.339 92.972a7.34 7.34 0 0 0 7.338-7.345c0-4.057-3.285-7.346-7.338-7.346A7.34 7.34 0 0 0 136 85.627a7.34 7.34 0 0 0 7.339 7.345"
|
|
2022
|
-
})), _path9 || (_path9 = /* @__PURE__ */ React.createElement("path", {
|
|
2023
|
-
fill: "#fff",
|
|
2024
|
-
stroke: "#769DE4",
|
|
2025
|
-
strokeLinecap: "round",
|
|
2026
|
-
strokeLinejoin: "round",
|
|
2027
|
-
d: "M201.873 111.379H82.433c-4.648 0-8.415 3.771-8.415 8.423v25.577c0 4.652 3.767 8.423 8.415 8.423h119.44c4.648 0 8.415-3.771 8.415-8.423v-25.577c0-4.652-3.767-8.423-8.415-8.423"
|
|
2028
|
-
})), _path0 || (_path0 = /* @__PURE__ */ React.createElement("path", {
|
|
2029
|
-
fill: "#F1F5FD",
|
|
2030
|
-
d: "M97.22 140.013a7.34 7.34 0 0 0 7.338-7.345c0-4.057-3.285-7.346-7.339-7.346-4.052 0-7.338 3.289-7.338 7.346a7.34 7.34 0 0 0 7.338 7.345M120.291 140.013c4.053 0 7.338-3.289 7.338-7.345 0-4.057-3.285-7.346-7.338-7.346a7.343 7.343 0 0 0-7.339 7.346 7.34 7.34 0 0 0 7.339 7.345M143.339 140.013c4.053 0 7.338-3.289 7.338-7.345 0-4.057-3.285-7.346-7.338-7.346a7.343 7.343 0 0 0-7.339 7.346 7.34 7.34 0 0 0 7.339 7.345"
|
|
2031
|
-
})), _path1 || (_path1 = /* @__PURE__ */ React.createElement("path", {
|
|
2032
|
-
fill: "#fff",
|
|
2033
|
-
stroke: "#769DE4",
|
|
2034
|
-
strokeLinecap: "round",
|
|
2035
|
-
strokeLinejoin: "round",
|
|
2036
|
-
d: "M201.873 158.422H82.433c-4.648 0-8.415 3.771-8.415 8.423v25.577c0 4.652 3.767 8.423 8.415 8.423h119.44c4.648 0 8.415-3.771 8.415-8.423v-25.577c0-4.652-3.767-8.423-8.415-8.423"
|
|
2037
|
-
})), _path10 || (_path10 = /* @__PURE__ */ React.createElement("path", {
|
|
2038
|
-
fill: "#F1F5FD",
|
|
2039
|
-
d: "M97.22 187.033c4.053 0 7.338-3.289 7.338-7.346a7.34 7.34 0 0 0-7.339-7.345 7.34 7.34 0 0 0-7.338 7.345c0 4.057 3.285 7.346 7.338 7.346M120.291 187.033c4.053 0 7.338-3.289 7.338-7.346a7.34 7.34 0 0 0-7.338-7.345 7.34 7.34 0 0 0-7.339 7.345 7.343 7.343 0 0 0 7.339 7.346M143.339 187.033c4.053 0 7.338-3.289 7.338-7.346a7.34 7.34 0 0 0-7.338-7.345 7.34 7.34 0 0 0-7.339 7.345 7.343 7.343 0 0 0 7.339 7.346"
|
|
2040
|
-
})), _path11 || (_path11 = /* @__PURE__ */ React.createElement("path", {
|
|
2041
|
-
fill: "#fff",
|
|
2042
|
-
stroke: "#769DE4",
|
|
2043
|
-
strokeLinecap: "round",
|
|
2044
|
-
strokeLinejoin: "round",
|
|
2045
|
-
d: "M212.924 118.483c25.156 0 45.548-20.411 45.548-45.59s-20.392-45.59-45.548-45.59c-25.155 0-45.548 20.411-45.548 45.59s20.393 45.59 45.548 45.59"
|
|
2046
|
-
})), _path12 || (_path12 = /* @__PURE__ */ React.createElement("path", {
|
|
2047
|
-
fill: "#fff",
|
|
2048
|
-
stroke: "#769DE4",
|
|
2049
|
-
strokeLinecap: "round",
|
|
2050
|
-
strokeLinejoin: "round",
|
|
2051
|
-
d: "M213.451 99.878c14.598 0 26.432-11.845 26.432-26.456 0-14.612-11.834-26.457-26.432-26.457s-26.432 11.845-26.432 26.457 11.834 26.456 26.432 26.456"
|
|
2052
|
-
})), _path13 || (_path13 = /* @__PURE__ */ React.createElement("path", {
|
|
2053
|
-
fill: "#fff",
|
|
2054
|
-
d: "M199.385 59.32c.552 1.15 28.132 28.181 28.132 28.181z"
|
|
2055
|
-
})), _path14 || (_path14 = /* @__PURE__ */ React.createElement("path", {
|
|
2056
|
-
stroke: "#769DE4",
|
|
2057
|
-
strokeLinecap: "round",
|
|
2058
|
-
strokeLinejoin: "round",
|
|
2059
|
-
d: "M199.385 59.32c.552 1.15 28.132 28.181 28.132 28.181"
|
|
2060
|
-
})), _path15 || (_path15 = /* @__PURE__ */ React.createElement("path", {
|
|
2061
|
-
fill: "#fff",
|
|
2062
|
-
d: "M227.517 59.32c-.574 1.15-28.132 28.181-28.132 28.181z"
|
|
2063
|
-
})), _path16 || (_path16 = /* @__PURE__ */ React.createElement("path", {
|
|
2064
|
-
stroke: "#769DE4",
|
|
2065
|
-
strokeLinecap: "round",
|
|
2066
|
-
strokeLinejoin: "round",
|
|
2067
|
-
d: "M227.517 59.32c-.574 1.15-28.132 28.181-28.132 28.181"
|
|
2068
|
-
})));
|
|
2069
|
-
};
|
|
2070
|
-
var NoData_default = SvgNoData;
|
|
2071
|
-
|
|
2072
2064
|
//#endregion
|
|
2073
2065
|
//#region src/assets/mouseSquare.svg
|
|
2074
2066
|
var _path$1, _path2$1;
|
|
@@ -2107,15 +2099,15 @@ var mouseSquare_default = SvgMouseSquare;
|
|
|
2107
2099
|
//#region src/view/components/MainContent.tsx
|
|
2108
2100
|
const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage }) => {
|
|
2109
2101
|
const { focusedContent, transformedData } = store_default(({ view }) => view);
|
|
2110
|
-
const { wrapSSR, cx } = useStyle("MainContent", (token$
|
|
2102
|
+
const { wrapSSR, cx, token: token$1 } = useStyle("MainContent", (token$2, scope) => ({
|
|
2111
2103
|
[scope("inner-doc-container")]: {
|
|
2112
|
-
backgroundColor: token$
|
|
2104
|
+
backgroundColor: token$2.colorBgContainer,
|
|
2113
2105
|
height: "100%",
|
|
2114
2106
|
width: "100%",
|
|
2115
2107
|
maxHeight: "100%",
|
|
2116
2108
|
overflow: "auto",
|
|
2117
|
-
borderRadius: token$
|
|
2118
|
-
padding: token$
|
|
2109
|
+
borderRadius: token$2.borderRadius,
|
|
2110
|
+
padding: token$2.paddingXL
|
|
2119
2111
|
},
|
|
2120
2112
|
[scope("centered")]: {
|
|
2121
2113
|
display: "flex",
|
|
@@ -2126,26 +2118,26 @@ const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage
|
|
|
2126
2118
|
padding: 0
|
|
2127
2119
|
},
|
|
2128
2120
|
[scope("title")]: {
|
|
2129
|
-
fontFamily: token$
|
|
2121
|
+
fontFamily: token$2.fontFamily,
|
|
2130
2122
|
fontWeight: 600,
|
|
2131
|
-
fontSize: token$
|
|
2123
|
+
fontSize: token$2.fontSizeHeading4,
|
|
2132
2124
|
color: "rgba(0, 0, 0, 0.88)"
|
|
2133
2125
|
},
|
|
2134
2126
|
[scope("text")]: {
|
|
2135
2127
|
color: "rgba(0, 0, 0, 0.88)",
|
|
2136
|
-
fontFamily: token$
|
|
2128
|
+
fontFamily: token$2.fontFamily
|
|
2137
2129
|
},
|
|
2138
2130
|
[scope("visit-landing-button")]: {
|
|
2139
2131
|
width: "12.25rem",
|
|
2140
2132
|
height: "2.5rem",
|
|
2141
|
-
borderRadius: token$
|
|
2133
|
+
borderRadius: token$2.borderRadiusLG
|
|
2142
2134
|
},
|
|
2143
2135
|
[scope("reset-button")]: {
|
|
2144
2136
|
width: "8.125rem",
|
|
2145
2137
|
height: "2.5rem",
|
|
2146
|
-
borderRadius: token$
|
|
2147
|
-
backgroundColor: token$
|
|
2148
|
-
fontSize: token$
|
|
2138
|
+
borderRadius: token$2.borderRadiusLG,
|
|
2139
|
+
backgroundColor: token$2?.Button?.primaryColor,
|
|
2140
|
+
fontSize: token$2.Button?.contentFontSizeLG
|
|
2149
2141
|
}
|
|
2150
2142
|
}));
|
|
2151
2143
|
return wrapSSR(/* @__PURE__ */ jsx("div", {
|
|
@@ -2157,7 +2149,9 @@ const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage
|
|
|
2157
2149
|
vertical: true,
|
|
2158
2150
|
flex: 1,
|
|
2159
2151
|
children: [
|
|
2160
|
-
/* @__PURE__ */ jsx(
|
|
2152
|
+
/* @__PURE__ */ jsx(NoDataIcon_default, {
|
|
2153
|
+
stroke: token$1.colorPrimaryHover,
|
|
2154
|
+
fill: token$1.colorPrimaryBg,
|
|
2161
2155
|
width: "18.625rem",
|
|
2162
2156
|
height: "14.75rem"
|
|
2163
2157
|
}),
|