@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.cjs CHANGED
@@ -576,17 +576,33 @@ const darkerMethodColors = {
576
576
  const buildTreeDataStructure = (data) => {
577
577
  if (!data) return [];
578
578
  return data.map((api) => {
579
+ const tagEntries = Object.entries(api.tags);
580
+ const hasOnlyDefaultTag = tagEntries.length === 1 && tagEntries[0][0] === "default";
579
581
  return {
580
582
  title: api.title,
581
583
  key: api.id,
582
584
  selectable: true,
583
585
  data: api,
584
- children: Object.entries(api.tags).map(([tag, endpoints]) => {
586
+ children: hasOnlyDefaultTag ? tagEntries[0][1].map((endpoint) => {
587
+ return {
588
+ title: endpoint.summary,
589
+ key: endpoint.id,
590
+ isLeaf: true,
591
+ selectable: true,
592
+ method: endpoint.method,
593
+ data: {
594
+ endpoint,
595
+ api,
596
+ tagName: "default",
597
+ parentApiId: api.id
598
+ }
599
+ };
600
+ }) : tagEntries.map(([tag, endpoints]) => {
585
601
  const tagId = `tag-${api.id}-${tag.replace(/\s+/g, "-").toLowerCase()}`;
586
602
  return {
587
603
  title: tag,
588
604
  key: tagId,
589
- selectable: false,
605
+ selectable: true,
590
606
  data: {
591
607
  tagName: tag,
592
608
  apiData: api
@@ -798,7 +814,7 @@ const convertToRenderableTreeData = (treeDataStructure, selectedEndpoint, cx) =>
798
814
  //#endregion
799
815
  //#region src/hooks/useNodeSelection.ts
800
816
  const useNodeSelection = () => {
801
- const { setSelectedNodeKey, setFocusedContent, setSelectedApi, setSelectedEndpoint, setExpandedKeys, expandedKeys, builtTreeData } = useStore(({ view }) => view);
817
+ const { setSelectedNodeKey, setFocusedContent, setSelectedApi, setSelectedEndpoint, setExpandedKeys, expandedKeys, builtTreeData, setFocusedTag } = useStore(({ view }) => view);
802
818
  const handleNodeSelection = (nodeData, nodeKey) => {
803
819
  if (!nodeData) return null;
804
820
  if (nodeKey.startsWith("endpoint-")) {
@@ -814,7 +830,7 @@ const useNodeSelection = () => {
814
830
  endpointNodeData.parentApiId,
815
831
  endpointNodeData.tagId,
816
832
  endpointNodeData.api.id
817
- ];
833
+ ].filter((key) => !!key);
818
834
  const expanded = [...expandedKeys];
819
835
  toExpand.forEach((key) => {
820
836
  if (key && expanded.indexOf(key) < 0) expanded.push(key);
@@ -837,6 +853,10 @@ const useNodeSelection = () => {
837
853
  };
838
854
  } else {
839
855
  const tagData = nodeData;
856
+ setSelectedApi(tagData.apiData);
857
+ setSelectedEndpoint(null);
858
+ setFocusedContent("API");
859
+ setFocusedTag(tagData.tagName);
840
860
  return {
841
861
  type: "tag",
842
862
  tag: tagData.tagName,
@@ -861,8 +881,8 @@ const useNodeSelection = () => {
861
881
  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);
862
882
  if (apiNodeById) {
863
883
  const keysToExpand = [apiNodeById.key];
864
- if (apiNodeById.children) apiNodeById.children.forEach((tagNode) => {
865
- keysToExpand.push(tagNode.key);
884
+ if (apiNodeById.children) apiNodeById.children.forEach((node) => {
885
+ if (node.selectable === false) keysToExpand.push(node.key);
866
886
  });
867
887
  setExpandedKeys([...expandedKeys, ...keysToExpand.filter((key) => !expandedKeys.includes(key))]);
868
888
  return selectNodeByKey(apiNodeById.key);
@@ -874,8 +894,8 @@ const useNodeSelection = () => {
874
894
  const firstApiNode = treeData.find((node) => node.data && "id" in node.data && "tags" in node.data && !("endpoint" in node.data) && !("tagName" in node.data));
875
895
  if (firstApiNode) {
876
896
  const keysToExpand = [firstApiNode.key];
877
- if (firstApiNode.children) firstApiNode.children.forEach((tagNode) => {
878
- keysToExpand.push(tagNode.key);
897
+ if (firstApiNode.children) firstApiNode.children.forEach((node) => {
898
+ if (node.selectable === false) keysToExpand.push(node.key);
879
899
  });
880
900
  setExpandedKeys([...expandedKeys, ...keysToExpand.filter((key) => !expandedKeys.includes(key))]);
881
901
  return selectNodeByKey(firstApiNode.key);
@@ -899,23 +919,23 @@ const useNodeSelection = () => {
899
919
 
900
920
  //#endregion
901
921
  //#region src/assets/Minify.svg
902
- var _path$8;
903
- function _extends$8() {
904
- return _extends$8 = Object.assign ? Object.assign.bind() : function(n) {
922
+ var _path$6;
923
+ function _extends$6() {
924
+ return _extends$6 = Object.assign ? Object.assign.bind() : function(n) {
905
925
  for (var e = 1; e < arguments.length; e++) {
906
926
  var t = arguments[e];
907
927
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
908
928
  }
909
929
  return n;
910
- }, _extends$8.apply(null, arguments);
930
+ }, _extends$6.apply(null, arguments);
911
931
  }
912
932
  var SvgMinify = function SvgMinify$1(props) {
913
- return /* @__PURE__ */ react.createElement("svg", _extends$8({
933
+ return /* @__PURE__ */ react.createElement("svg", _extends$6({
914
934
  xmlns: "http://www.w3.org/2000/svg",
915
935
  width: 16,
916
936
  height: 16,
917
937
  fill: "none"
918
- }, props), _path$8 || (_path$8 = /* @__PURE__ */ react.createElement("path", {
938
+ }, props), _path$6 || (_path$6 = /* @__PURE__ */ react.createElement("path", {
919
939
  stroke: "currentcolor",
920
940
  d: "m6 11.334 2-2 2 2M6 4.666l2 2 2-2"
921
941
  })));
@@ -923,105 +943,173 @@ var SvgMinify = function SvgMinify$1(props) {
923
943
  var Minify_default = SvgMinify;
924
944
 
925
945
  //#endregion
926
- //#region src/assets/NoDataSM.svg
927
- var _path$7, _path2$6, _path3$2, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path0$1, _path1$1, _path10$1, _path11$1, _path12$1, _path13$1, _path14$1, _path15$1, _path16$1;
928
- function _extends$7() {
929
- return _extends$7 = Object.assign ? Object.assign.bind() : function(n) {
930
- for (var e = 1; e < arguments.length; e++) {
931
- var t = arguments[e];
932
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
933
- }
934
- return n;
935
- }, _extends$7.apply(null, arguments);
936
- }
937
- var SvgNoDataSm = function SvgNoDataSm$1(props) {
938
- return /* @__PURE__ */ react.createElement("svg", _extends$7({
946
+ //#region src/view/components/NoDataIcon.tsx
947
+ const NoDataIcon = ({ width = 298, height = 237, fill = "#F1F5FD", stroke = "#E0E9F9", ...props }) => {
948
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
949
+ width,
950
+ height,
951
+ viewBox: "0 0 298 237",
952
+ fill,
939
953
  xmlns: "http://www.w3.org/2000/svg",
940
- width: 166,
941
- height: 132,
942
- fill: "none"
943
- }, props), _path$7 || (_path$7 = /* @__PURE__ */ react.createElement("path", {
944
- fill: "#F1F5FD",
945
- d: "M97.215 48.377c-10.257.061-20.673-.415-30.416-3.113-9.742-2.698-18.359-7.788-26.192-13.733-5.128-3.87-9.792-6.946-16.45-6.483a30.4 30.4 0 0 0-17.76 6.91c-8.469 7.398-7.184 21.07-3.806 30.69 5.092 14.49 20.587 24.55 33.744 31.105 15.214 7.581 31.92 11.988 48.677 14.515 14.687 2.222 33.548 3.845 46.265-5.726 11.689-8.777 14.895-28.846 12.031-42.397a16.68 16.68 0 0 0-6.009-10.157c-8.213-5.981-20.452-1.99-29.681-1.782-3.366.073-6.903.159-10.403.171"
946
- })), _path2$6 || (_path2$6 = /* @__PURE__ */ react.createElement("path", {
947
- stroke: "#E0E9F9",
948
- strokeLinecap: "round",
949
- strokeLinejoin: "round",
950
- strokeWidth: .85,
951
- d: "M47.204 1v5.25M44.572 3.625h5.263M147.054 105.631v5.249M144.422 108.256h5.263"
952
- })), _path3$2 || (_path3$2 = /* @__PURE__ */ react.createElement("path", {
953
- fill: "#E0E9F9",
954
- d: "M7.438 82.963c.662 0 1.2-.536 1.2-1.196 0-.661-.538-1.197-1.2-1.197a1.198 1.198 0 1 0 0 2.393M109.564 6.42c.662 0 1.199-.536 1.199-1.196 0-.661-.537-1.197-1.199-1.197-.663 0-1.2.536-1.2 1.197 0 .66.537 1.196 1.2 1.196"
955
- })), _path4$1 || (_path4$1 = /* @__PURE__ */ react.createElement("path", {
956
- fill: "#F1F5FD",
957
- d: "M76.321 132c24.808 0 44.919-1.246 44.919-2.783s-20.111-2.783-44.919-2.783-44.919 1.246-44.919 2.783S51.513 132 76.322 132"
958
- })), _path5$1 || (_path5$1 = /* @__PURE__ */ react.createElement("path", {
959
- fill: "#fff",
960
- stroke: "#769DE4",
961
- strokeLinecap: "round",
962
- strokeLinejoin: "round",
963
- d: "M41.72 15.258h65.237c1.623 0 3.179.643 4.327 1.788a6.1 6.1 0 0 1 1.793 4.316V98.77a6.1 6.1 0 0 1-1.793 4.316 6.13 6.13 0 0 1-4.327 1.788H33.361a6.13 6.13 0 0 1-4.327-1.788 6.1 6.1 0 0 1-1.793-4.316V29.846z"
964
- })), _path6$1 || (_path6$1 = /* @__PURE__ */ react.createElement("path", {
965
- fill: "#F1F5FD",
966
- d: "M112.783 52.98H45.515v52.64h67.268z"
967
- })), _path7$1 || (_path7$1 = /* @__PURE__ */ react.createElement("path", {
968
- fill: "#fff",
969
- stroke: "#769DE4",
970
- strokeLinecap: "round",
971
- strokeLinejoin: "round",
972
- d: "M27.241 29.846h11.86a2.64 2.64 0 0 0 1.853-.773c.49-.492.767-1.158.767-1.852V15.258zM112.453 36.17H45.919a4.68 4.68 0 0 0-4.688 4.675v14.198a4.68 4.68 0 0 0 4.688 4.675h66.534a4.68 4.68 0 0 0 4.688-4.675V40.845a4.68 4.68 0 0 0-4.688-4.675"
973
- })), _path8$1 || (_path8$1 = /* @__PURE__ */ react.createElement("path", {
974
- fill: "#F1F5FD",
975
- d: "M54.156 52.053a4.083 4.083 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.083 4.083 0 0 0 4.088 4.077M67.007 52.053a4.083 4.083 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.083 4.083 0 0 0 4.088 4.077M79.847 52.053a4.083 4.083 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.083 4.083 0 0 0 4.088 4.077"
976
- })), _path9$1 || (_path9$1 = /* @__PURE__ */ react.createElement("path", {
977
- fill: "#fff",
978
- stroke: "#769DE4",
979
- strokeLinecap: "round",
980
- strokeLinejoin: "round",
981
- d: "M112.453 62.27H45.919a4.68 4.68 0 0 0-4.688 4.675v14.198a4.68 4.68 0 0 0 4.688 4.675h66.534a4.68 4.68 0 0 0 4.688-4.675V66.945a4.68 4.68 0 0 0-4.688-4.675"
982
- })), _path0$1 || (_path0$1 = /* @__PURE__ */ react.createElement("path", {
983
- fill: "#F1F5FD",
984
- d: "M54.156 78.165a4.083 4.083 0 0 0 4.088-4.078 4.083 4.083 0 0 0-4.088-4.077 4.083 4.083 0 0 0-4.088 4.077 4.083 4.083 0 0 0 4.088 4.078M67.007 78.165a4.083 4.083 0 0 0 4.088-4.078 4.083 4.083 0 0 0-4.088-4.077 4.083 4.083 0 0 0-4.088 4.077 4.083 4.083 0 0 0 4.088 4.078M79.847 78.165a4.083 4.083 0 0 0 4.088-4.078 4.083 4.083 0 0 0-4.088-4.077 4.083 4.083 0 0 0-4.088 4.077 4.083 4.083 0 0 0 4.088 4.078"
985
- })), _path1$1 || (_path1$1 = /* @__PURE__ */ react.createElement("path", {
986
- fill: "#fff",
987
- stroke: "#769DE4",
988
- strokeLinecap: "round",
989
- strokeLinejoin: "round",
990
- d: "M112.453 88.383H45.919a4.68 4.68 0 0 0-4.688 4.675v14.198a4.68 4.68 0 0 0 4.688 4.675h66.534a4.68 4.68 0 0 0 4.688-4.675V93.058a4.68 4.68 0 0 0-4.688-4.675"
991
- })), _path10$1 || (_path10$1 = /* @__PURE__ */ react.createElement("path", {
992
- fill: "#F1F5FD",
993
- d: "M54.156 104.264a4.08 4.08 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.08 4.08 0 0 0 4.088 4.077M67.007 104.264a4.08 4.08 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.08 4.08 0 0 0 4.088 4.077M79.847 104.264a4.08 4.08 0 0 0 4.088-4.077 4.083 4.083 0 0 0-4.088-4.078 4.083 4.083 0 0 0-4.088 4.078 4.08 4.08 0 0 0 4.088 4.077"
994
- })), _path11$1 || (_path11$1 = /* @__PURE__ */ react.createElement("path", {
995
- fill: "#fff",
996
- stroke: "#769DE4",
997
- strokeLinecap: "round",
998
- strokeLinejoin: "round",
999
- d: "M118.609 66.212c14.013 0 25.372-11.33 25.372-25.306S132.622 15.6 118.609 15.6 93.236 26.93 93.236 40.906s11.36 25.306 25.373 25.306"
1000
- })), _path12$1 || (_path12$1 = /* @__PURE__ */ react.createElement("path", {
1001
- fill: "#fff",
1002
- stroke: "#769DE4",
1003
- strokeLinecap: "round",
1004
- strokeLinejoin: "round",
1005
- d: "M118.903 55.885c8.132 0 14.724-6.575 14.724-14.686 0-8.11-6.592-14.685-14.724-14.685s-14.724 6.575-14.724 14.685c0 8.111 6.592 14.686 14.724 14.686"
1006
- })), _path13$1 || (_path13$1 = /* @__PURE__ */ react.createElement("path", {
1007
- fill: "#fff",
1008
- d: "M111.067 33.371c.308.638 15.672 15.643 15.672 15.643z"
1009
- })), _path14$1 || (_path14$1 = /* @__PURE__ */ react.createElement("path", {
1010
- stroke: "#769DE4",
1011
- strokeLinecap: "round",
1012
- strokeLinejoin: "round",
1013
- d: "M111.067 33.371c.308.638 15.672 15.643 15.672 15.643"
1014
- })), _path15$1 || (_path15$1 = /* @__PURE__ */ react.createElement("path", {
1015
- fill: "#fff",
1016
- d: "M126.739 33.371c-.32.638-15.672 15.643-15.672 15.643z"
1017
- })), _path16$1 || (_path16$1 = /* @__PURE__ */ react.createElement("path", {
1018
- stroke: "#769DE4",
1019
- strokeLinecap: "round",
1020
- strokeLinejoin: "round",
1021
- d: "M126.739 33.371c-.32.638-15.672 15.643-15.672 15.643"
1022
- })));
954
+ ...props,
955
+ children: [
956
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
957
+ 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",
958
+ fill
959
+ }),
960
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
961
+ d: "M84.7402 0.424805V9.88152",
962
+ stroke: "#E0E9F9",
963
+ strokeWidth: "0.85",
964
+ strokeLinecap: "round",
965
+ strokeLinejoin: "round"
966
+ }),
967
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
968
+ d: "M80.0156 5.15332H89.4636",
969
+ stroke: "#E0E9F9",
970
+ strokeWidth: "0.85",
971
+ strokeLinecap: "round",
972
+ strokeLinejoin: "round"
973
+ }),
974
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
975
+ d: "M263.988 188.921V198.378",
976
+ stroke: "#E0E9F9",
977
+ strokeWidth: "0.85",
978
+ strokeLinecap: "round",
979
+ strokeLinejoin: "round"
980
+ }),
981
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
982
+ d: "M259.264 193.649H268.712",
983
+ stroke: "#E0E9F9",
984
+ strokeWidth: "0.85",
985
+ strokeLinecap: "round",
986
+ strokeLinejoin: "round"
987
+ }),
988
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
989
+ 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",
990
+ fill: "#E0E9F9"
991
+ }),
992
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
993
+ 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",
994
+ fill: "#E0E9F9"
995
+ }),
996
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
997
+ 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",
998
+ fill
999
+ }),
1000
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1001
+ 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",
1002
+ fill: "white",
1003
+ stroke,
1004
+ strokeLinecap: "round",
1005
+ strokeLinejoin: "round"
1006
+ }),
1007
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1008
+ d: "M202.465 94.0684H81.707V188.899H202.465V94.0684Z",
1009
+ fill
1010
+ }),
1011
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1012
+ 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",
1013
+ fill: "white",
1014
+ stroke,
1015
+ strokeLinecap: "round",
1016
+ strokeLinejoin: "round"
1017
+ }),
1018
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1019
+ 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",
1020
+ fill: "white",
1021
+ stroke,
1022
+ strokeLinecap: "round",
1023
+ strokeLinejoin: "round"
1024
+ }),
1025
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1026
+ 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",
1027
+ fill
1028
+ }),
1029
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1030
+ 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",
1031
+ fill
1032
+ }),
1033
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1034
+ 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",
1035
+ fill
1036
+ }),
1037
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1038
+ 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",
1039
+ fill: "white",
1040
+ stroke,
1041
+ strokeLinecap: "round",
1042
+ strokeLinejoin: "round"
1043
+ }),
1044
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1045
+ 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",
1046
+ fill
1047
+ }),
1048
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1049
+ 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",
1050
+ fill
1051
+ }),
1052
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1053
+ 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",
1054
+ fill
1055
+ }),
1056
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1057
+ 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",
1058
+ fill: "white",
1059
+ stroke,
1060
+ strokeLinecap: "round",
1061
+ strokeLinejoin: "round"
1062
+ }),
1063
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1064
+ 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",
1065
+ fill
1066
+ }),
1067
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1068
+ 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",
1069
+ fill
1070
+ }),
1071
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1072
+ 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",
1073
+ fill
1074
+ }),
1075
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1076
+ 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",
1077
+ fill: "white",
1078
+ stroke,
1079
+ strokeLinecap: "round",
1080
+ strokeLinejoin: "round"
1081
+ }),
1082
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1083
+ 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",
1084
+ fill: "white",
1085
+ stroke,
1086
+ strokeLinecap: "round",
1087
+ strokeLinejoin: "round"
1088
+ }),
1089
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1090
+ d: "M199.387 58.7437C199.939 59.893 227.519 86.9245 227.519 86.9245Z",
1091
+ fill: "white"
1092
+ }),
1093
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1094
+ d: "M199.387 58.7437C199.939 59.893 227.519 86.9245 227.519 86.9245",
1095
+ stroke,
1096
+ strokeLinecap: "round",
1097
+ strokeLinejoin: "round"
1098
+ }),
1099
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1100
+ d: "M227.519 58.7437C226.945 59.893 199.387 86.9245 199.387 86.9245Z",
1101
+ fill: "white"
1102
+ }),
1103
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
1104
+ d: "M227.519 58.7437C226.945 59.893 199.387 86.9245 199.387 86.9245",
1105
+ stroke,
1106
+ strokeLinecap: "round",
1107
+ strokeLinejoin: "round"
1108
+ })
1109
+ ]
1110
+ });
1023
1111
  };
1024
- var NoDataSM_default = SvgNoDataSm;
1112
+ var NoDataIcon_default = NoDataIcon;
1025
1113
 
1026
1114
  //#endregion
1027
1115
  //#region src/view/components/Sidebar.tsx
@@ -1140,10 +1228,11 @@ const Sidebar = ({ searchValue, setSearchValue }) => {
1140
1228
  gap: token$1.marginSM,
1141
1229
  vertical: true,
1142
1230
  style: { marginTop: token$1.paddingXL },
1143
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(NoDataSM_default, {
1231
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(NoDataIcon_default, {
1232
+ stroke: token$1.colorPrimaryHover,
1233
+ fill: token$1.colorPrimaryBg,
1144
1234
  width: "10.375rem",
1145
- height: "8.1875rem",
1146
- style: { backgroundSize: "cover" }
1235
+ height: "8.1875rem"
1147
1236
  }), searchValue.length ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd_es_typography_Text.default, {
1148
1237
  style: {
1149
1238
  textAlign: "center",
@@ -1174,18 +1263,18 @@ const Sidebar = ({ searchValue, setSearchValue }) => {
1174
1263
 
1175
1264
  //#endregion
1176
1265
  //#region src/assets/grid.svg
1177
- var _mask, _path$6, _path2$5;
1178
- function _extends$6() {
1179
- return _extends$6 = Object.assign ? Object.assign.bind() : function(n) {
1266
+ var _mask, _path$5, _path2$4;
1267
+ function _extends$5() {
1268
+ return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
1180
1269
  for (var e = 1; e < arguments.length; e++) {
1181
1270
  var t = arguments[e];
1182
1271
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1183
1272
  }
1184
1273
  return n;
1185
- }, _extends$6.apply(null, arguments);
1274
+ }, _extends$5.apply(null, arguments);
1186
1275
  }
1187
1276
  var SvgGrid = function SvgGrid$1(props) {
1188
- return /* @__PURE__ */ react.createElement("svg", _extends$6({
1277
+ return /* @__PURE__ */ react.createElement("svg", _extends$5({
1189
1278
  xmlns: "http://www.w3.org/2000/svg",
1190
1279
  width: 16,
1191
1280
  height: 16,
@@ -1193,10 +1282,10 @@ var SvgGrid = function SvgGrid$1(props) {
1193
1282
  }, props), _mask || (_mask = /* @__PURE__ */ react.createElement("mask", {
1194
1283
  id: "grid_svg__a",
1195
1284
  fill: "#fff"
1196
- }, /* @__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$6 || (_path$6 = /* @__PURE__ */ react.createElement("path", {
1285
+ }, /* @__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", {
1197
1286
  fill: "#D9D9D9",
1198
1287
  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"
1199
- })), _path2$5 || (_path2$5 = /* @__PURE__ */ react.createElement("path", {
1288
+ })), _path2$4 || (_path2$4 = /* @__PURE__ */ react.createElement("path", {
1200
1289
  fill: "#769DE4",
1201
1290
  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",
1202
1291
  mask: "url(#grid_svg__a)"
@@ -1206,23 +1295,23 @@ var grid_default = SvgGrid;
1206
1295
 
1207
1296
  //#endregion
1208
1297
  //#region src/assets/list.svg
1209
- var _path$5;
1210
- function _extends$5() {
1211
- return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
1298
+ var _path$4;
1299
+ function _extends$4() {
1300
+ return _extends$4 = Object.assign ? Object.assign.bind() : function(n) {
1212
1301
  for (var e = 1; e < arguments.length; e++) {
1213
1302
  var t = arguments[e];
1214
1303
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1215
1304
  }
1216
1305
  return n;
1217
- }, _extends$5.apply(null, arguments);
1306
+ }, _extends$4.apply(null, arguments);
1218
1307
  }
1219
1308
  var SvgList = function SvgList$1(props) {
1220
- return /* @__PURE__ */ react.createElement("svg", _extends$5({
1309
+ return /* @__PURE__ */ react.createElement("svg", _extends$4({
1221
1310
  xmlns: "http://www.w3.org/2000/svg",
1222
1311
  width: 16,
1223
1312
  height: 16,
1224
1313
  fill: "none"
1225
- }, props), _path$5 || (_path$5 = /* @__PURE__ */ react.createElement("path", {
1314
+ }, props), _path$4 || (_path$4 = /* @__PURE__ */ react.createElement("path", {
1226
1315
  stroke: "#000",
1227
1316
  strokeLinecap: "round",
1228
1317
  strokeLinejoin: "round",
@@ -1234,26 +1323,26 @@ var list_default = SvgList;
1234
1323
 
1235
1324
  //#endregion
1236
1325
  //#region src/assets/link.svg
1237
- var _path$4, _path2$4;
1238
- function _extends$4() {
1239
- return _extends$4 = Object.assign ? Object.assign.bind() : function(n) {
1326
+ var _path$3, _path2$3;
1327
+ function _extends$3() {
1328
+ return _extends$3 = Object.assign ? Object.assign.bind() : function(n) {
1240
1329
  for (var e = 1; e < arguments.length; e++) {
1241
1330
  var t = arguments[e];
1242
1331
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1243
1332
  }
1244
1333
  return n;
1245
- }, _extends$4.apply(null, arguments);
1334
+ }, _extends$3.apply(null, arguments);
1246
1335
  }
1247
1336
  var SvgLink = function SvgLink$1(props) {
1248
- return /* @__PURE__ */ react.createElement("svg", _extends$4({
1337
+ return /* @__PURE__ */ react.createElement("svg", _extends$3({
1249
1338
  xmlns: "http://www.w3.org/2000/svg",
1250
1339
  width: 12,
1251
1340
  height: 12,
1252
1341
  fill: "none"
1253
- }, props), _path$4 || (_path$4 = /* @__PURE__ */ react.createElement("path", {
1342
+ }, props), _path$3 || (_path$3 = /* @__PURE__ */ react.createElement("path", {
1254
1343
  fill: "#4D75D9",
1255
1344
  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"
1256
- })), _path2$4 || (_path2$4 = /* @__PURE__ */ react.createElement("path", {
1345
+ })), _path2$3 || (_path2$3 = /* @__PURE__ */ react.createElement("path", {
1257
1346
  fill: "#4D75D9",
1258
1347
  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"
1259
1348
  })));
@@ -1485,29 +1574,29 @@ const handleStatusColor = (code) => {
1485
1574
 
1486
1575
  //#endregion
1487
1576
  //#region src/assets/securitySafe.svg
1488
- var _path$3, _path2$3, _path3$1;
1489
- function _extends$3() {
1490
- return _extends$3 = Object.assign ? Object.assign.bind() : function(n) {
1577
+ var _path$2, _path2$2, _path3;
1578
+ function _extends$2() {
1579
+ return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
1491
1580
  for (var e = 1; e < arguments.length; e++) {
1492
1581
  var t = arguments[e];
1493
1582
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1494
1583
  }
1495
1584
  return n;
1496
- }, _extends$3.apply(null, arguments);
1585
+ }, _extends$2.apply(null, arguments);
1497
1586
  }
1498
1587
  var SvgSecuritySafe = function SvgSecuritySafe$1(props) {
1499
- return /* @__PURE__ */ react.createElement("svg", _extends$3({
1588
+ return /* @__PURE__ */ react.createElement("svg", _extends$2({
1500
1589
  xmlns: "http://www.w3.org/2000/svg",
1501
1590
  width: 12,
1502
1591
  height: 12,
1503
1592
  fill: "none"
1504
- }, props), _path$3 || (_path$3 = /* @__PURE__ */ react.createElement("path", {
1593
+ }, props), _path$2 || (_path$2 = /* @__PURE__ */ react.createElement("path", {
1505
1594
  fill: "currentcolor",
1506
1595
  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"
1507
- })), _path2$3 || (_path2$3 = /* @__PURE__ */ react.createElement("path", {
1596
+ })), _path2$2 || (_path2$2 = /* @__PURE__ */ react.createElement("path", {
1508
1597
  fill: "currentcolor",
1509
1598
  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"
1510
- })), _path3$1 || (_path3$1 = /* @__PURE__ */ react.createElement("path", {
1599
+ })), _path3 || (_path3 = /* @__PURE__ */ react.createElement("path", {
1511
1600
  fill: "currentcolor",
1512
1601
  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"
1513
1602
  })));
@@ -1533,7 +1622,11 @@ const APIPage = () => {
1533
1622
  if (element) element.scrollIntoView({ behavior: "smooth" });
1534
1623
  setFocusedTag(null);
1535
1624
  }
1536
- }, [focusedTag, setFocusedTag]);
1625
+ }, [
1626
+ focusedTag,
1627
+ setFocusedTag,
1628
+ selectedApi
1629
+ ]);
1537
1630
  (0, react.useEffect)(() => {
1538
1631
  if (!!urlsOptions?.length) setSelectedUrl(urlsOptions[0]?.value);
1539
1632
  }, [selectedApi, urlsOptions]);
@@ -1999,107 +2092,6 @@ const EndpointPage = () => {
1999
2092
  });
2000
2093
  };
2001
2094
 
2002
- //#endregion
2003
- //#region src/assets/NoData.svg
2004
- var _path$2, _path2$2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0, _path1, _path10, _path11, _path12, _path13, _path14, _path15, _path16;
2005
- function _extends$2() {
2006
- return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
2007
- for (var e = 1; e < arguments.length; e++) {
2008
- var t = arguments[e];
2009
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2010
- }
2011
- return n;
2012
- }, _extends$2.apply(null, arguments);
2013
- }
2014
- var SvgNoData = function SvgNoData$1(props) {
2015
- return /* @__PURE__ */ react.createElement("svg", _extends$2({
2016
- xmlns: "http://www.w3.org/2000/svg",
2017
- width: 298,
2018
- height: 237,
2019
- fill: "none"
2020
- }, props), _path$2 || (_path$2 = /* @__PURE__ */ react.createElement("path", {
2021
- fill: "#F1F5FD",
2022
- 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"
2023
- })), _path2$2 || (_path2$2 = /* @__PURE__ */ react.createElement("path", {
2024
- stroke: "#E0E9F9",
2025
- strokeLinecap: "round",
2026
- strokeLinejoin: "round",
2027
- strokeWidth: .85,
2028
- d: "M84.74 1v9.457M80.016 5.729h9.448M263.987 189.496v9.457M259.264 194.225h9.448"
2029
- })), _path3 || (_path3 = /* @__PURE__ */ react.createElement("path", {
2030
- fill: "#E0E9F9",
2031
- 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"
2032
- })), _path4 || (_path4 = /* @__PURE__ */ react.createElement("path", {
2033
- fill: "#F1F5FD",
2034
- 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"
2035
- })), _path5 || (_path5 = /* @__PURE__ */ react.createElement("path", {
2036
- fill: "#fff",
2037
- stroke: "#769DE4",
2038
- strokeLinecap: "round",
2039
- strokeLinejoin: "round",
2040
- 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"
2041
- })), _path6 || (_path6 = /* @__PURE__ */ react.createElement("path", {
2042
- fill: "#F1F5FD",
2043
- d: "M202.465 94.645H81.707v94.831h120.758z"
2044
- })), _path7 || (_path7 = /* @__PURE__ */ react.createElement("path", {
2045
- fill: "#fff",
2046
- stroke: "#769DE4",
2047
- strokeLinecap: "round",
2048
- strokeLinejoin: "round",
2049
- 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"
2050
- })), _path8 || (_path8 = /* @__PURE__ */ react.createElement("path", {
2051
- fill: "#F1F5FD",
2052
- 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"
2053
- })), _path9 || (_path9 = /* @__PURE__ */ react.createElement("path", {
2054
- fill: "#fff",
2055
- stroke: "#769DE4",
2056
- strokeLinecap: "round",
2057
- strokeLinejoin: "round",
2058
- 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"
2059
- })), _path0 || (_path0 = /* @__PURE__ */ react.createElement("path", {
2060
- fill: "#F1F5FD",
2061
- 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"
2062
- })), _path1 || (_path1 = /* @__PURE__ */ react.createElement("path", {
2063
- fill: "#fff",
2064
- stroke: "#769DE4",
2065
- strokeLinecap: "round",
2066
- strokeLinejoin: "round",
2067
- 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"
2068
- })), _path10 || (_path10 = /* @__PURE__ */ react.createElement("path", {
2069
- fill: "#F1F5FD",
2070
- 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"
2071
- })), _path11 || (_path11 = /* @__PURE__ */ react.createElement("path", {
2072
- fill: "#fff",
2073
- stroke: "#769DE4",
2074
- strokeLinecap: "round",
2075
- strokeLinejoin: "round",
2076
- 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"
2077
- })), _path12 || (_path12 = /* @__PURE__ */ react.createElement("path", {
2078
- fill: "#fff",
2079
- stroke: "#769DE4",
2080
- strokeLinecap: "round",
2081
- strokeLinejoin: "round",
2082
- 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"
2083
- })), _path13 || (_path13 = /* @__PURE__ */ react.createElement("path", {
2084
- fill: "#fff",
2085
- d: "M199.385 59.32c.552 1.15 28.132 28.181 28.132 28.181z"
2086
- })), _path14 || (_path14 = /* @__PURE__ */ react.createElement("path", {
2087
- stroke: "#769DE4",
2088
- strokeLinecap: "round",
2089
- strokeLinejoin: "round",
2090
- d: "M199.385 59.32c.552 1.15 28.132 28.181 28.132 28.181"
2091
- })), _path15 || (_path15 = /* @__PURE__ */ react.createElement("path", {
2092
- fill: "#fff",
2093
- d: "M227.517 59.32c-.574 1.15-28.132 28.181-28.132 28.181z"
2094
- })), _path16 || (_path16 = /* @__PURE__ */ react.createElement("path", {
2095
- stroke: "#769DE4",
2096
- strokeLinecap: "round",
2097
- strokeLinejoin: "round",
2098
- d: "M227.517 59.32c-.574 1.15-28.132 28.181-28.132 28.181"
2099
- })));
2100
- };
2101
- var NoData_default = SvgNoData;
2102
-
2103
2095
  //#endregion
2104
2096
  //#region src/assets/mouseSquare.svg
2105
2097
  var _path$1, _path2$1;
@@ -2138,15 +2130,15 @@ var mouseSquare_default = SvgMouseSquare;
2138
2130
  //#region src/view/components/MainContent.tsx
2139
2131
  const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage }) => {
2140
2132
  const { focusedContent, transformedData } = store_default(({ view }) => view);
2141
- const { wrapSSR, cx } = useStyle("MainContent", (token$1, scope) => ({
2133
+ const { wrapSSR, cx, token: token$1 } = useStyle("MainContent", (token$2, scope) => ({
2142
2134
  [scope("inner-doc-container")]: {
2143
- backgroundColor: token$1.colorBgContainer,
2135
+ backgroundColor: token$2.colorBgContainer,
2144
2136
  height: "100%",
2145
2137
  width: "100%",
2146
2138
  maxHeight: "100%",
2147
2139
  overflow: "auto",
2148
- borderRadius: token$1.borderRadius,
2149
- padding: token$1.paddingXL
2140
+ borderRadius: token$2.borderRadius,
2141
+ padding: token$2.paddingXL
2150
2142
  },
2151
2143
  [scope("centered")]: {
2152
2144
  display: "flex",
@@ -2157,26 +2149,26 @@ const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage
2157
2149
  padding: 0
2158
2150
  },
2159
2151
  [scope("title")]: {
2160
- fontFamily: token$1.fontFamily,
2152
+ fontFamily: token$2.fontFamily,
2161
2153
  fontWeight: 600,
2162
- fontSize: token$1.fontSizeHeading4,
2154
+ fontSize: token$2.fontSizeHeading4,
2163
2155
  color: "rgba(0, 0, 0, 0.88)"
2164
2156
  },
2165
2157
  [scope("text")]: {
2166
2158
  color: "rgba(0, 0, 0, 0.88)",
2167
- fontFamily: token$1.fontFamily
2159
+ fontFamily: token$2.fontFamily
2168
2160
  },
2169
2161
  [scope("visit-landing-button")]: {
2170
2162
  width: "12.25rem",
2171
2163
  height: "2.5rem",
2172
- borderRadius: token$1.borderRadiusLG
2164
+ borderRadius: token$2.borderRadiusLG
2173
2165
  },
2174
2166
  [scope("reset-button")]: {
2175
2167
  width: "8.125rem",
2176
2168
  height: "2.5rem",
2177
- borderRadius: token$1.borderRadiusLG,
2178
- backgroundColor: token$1?.Button?.primaryColor,
2179
- fontSize: token$1.Button?.contentFontSizeLG
2169
+ borderRadius: token$2.borderRadiusLG,
2170
+ backgroundColor: token$2?.Button?.primaryColor,
2171
+ fontSize: token$2.Button?.contentFontSizeLG
2180
2172
  }
2181
2173
  }));
2182
2174
  return wrapSSR(/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -2188,7 +2180,9 @@ const MainContent = ({ searchEnabled, handleResetSearch, handleVisitLandingPage
2188
2180
  vertical: true,
2189
2181
  flex: 1,
2190
2182
  children: [
2191
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NoData_default, {
2183
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NoDataIcon_default, {
2184
+ stroke: token$1.colorPrimaryHover,
2185
+ fill: token$1.colorPrimaryBg,
2192
2186
  width: "18.625rem",
2193
2187
  height: "14.75rem"
2194
2188
  }),