@digi-frontend/dgate-api-documentation 3.1.4 → 3.1.6

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.js CHANGED
@@ -888,23 +888,23 @@ const useNodeSelection = () => {
888
888
 
889
889
  //#endregion
890
890
  //#region src/assets/Minify.svg
891
- var _path$6;
892
- function _extends$6() {
893
- return _extends$6 = Object.assign ? Object.assign.bind() : function(n) {
891
+ var _path$4;
892
+ function _extends$4() {
893
+ return _extends$4 = Object.assign ? Object.assign.bind() : function(n) {
894
894
  for (var e = 1; e < arguments.length; e++) {
895
895
  var t = arguments[e];
896
896
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
897
897
  }
898
898
  return n;
899
- }, _extends$6.apply(null, arguments);
899
+ }, _extends$4.apply(null, arguments);
900
900
  }
901
901
  var SvgMinify = function SvgMinify$1(props) {
902
- return /* @__PURE__ */ React.createElement("svg", _extends$6({
902
+ return /* @__PURE__ */ React.createElement("svg", _extends$4({
903
903
  xmlns: "http://www.w3.org/2000/svg",
904
904
  width: 16,
905
905
  height: 16,
906
906
  fill: "none"
907
- }, props), _path$6 || (_path$6 = /* @__PURE__ */ React.createElement("path", {
907
+ }, props), _path$4 || (_path$4 = /* @__PURE__ */ React.createElement("path", {
908
908
  stroke: "currentcolor",
909
909
  d: "m6 11.334 2-2 2 2M6 4.666l2 2 2-2"
910
910
  })));
@@ -1231,64 +1231,49 @@ const Sidebar = ({ searchValue, setSearchValue }) => {
1231
1231
  };
1232
1232
 
1233
1233
  //#endregion
1234
- //#region src/assets/grid.svg
1235
- var _mask, _path$5, _path2$4;
1236
- function _extends$5() {
1237
- return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
1238
- for (var e = 1; e < arguments.length; e++) {
1239
- var t = arguments[e];
1240
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1241
- }
1242
- return n;
1243
- }, _extends$5.apply(null, arguments);
1244
- }
1245
- var SvgGrid = function SvgGrid$1(props) {
1246
- return /* @__PURE__ */ React.createElement("svg", _extends$5({
1234
+ //#region src/view/components/ApiPage/components/GridLayoutIcon.tsx
1235
+ const GridLayoutIcon = ({ width = 16, height = 16, ...props }) => {
1236
+ return /* @__PURE__ */ jsx("svg", {
1237
+ width,
1238
+ height,
1239
+ viewBox: "0 0 16 16",
1240
+ fill: "none",
1247
1241
  xmlns: "http://www.w3.org/2000/svg",
1248
- width: 16,
1249
- height: 16,
1250
- fill: "none"
1251
- }, props), _mask || (_mask = /* @__PURE__ */ React.createElement("mask", {
1252
- id: "grid_svg__a",
1253
- fill: "#fff"
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", {
1255
- fill: "#D9D9D9",
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"
1257
- })), _path2$4 || (_path2$4 = /* @__PURE__ */ React.createElement("path", {
1258
- fill: "#769DE4",
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",
1260
- mask: "url(#grid_svg__a)"
1261
- })));
1242
+ ...props,
1243
+ children: /* @__PURE__ */ jsx("path", {
1244
+ d: "M3.33333 2.5C2.87281 2.5 2.5 2.87281 2.5 3.33333V6.66667C2.5 7.1272 2.87281 7.5 3.33333 7.5H5.33333C5.79386 7.5 6.16667 7.1272 6.16667 6.66667V3.33333C6.16667 2.87281 5.79386 2.5 5.33333 2.5H3.33333ZM1.5 3.33333C1.5 2.32053 2.32053 1.5 3.33333 1.5H5.33333C6.34614 1.5 7.16667 2.32053 7.16667 3.33333V6.66667C7.16667 7.67947 6.34614 8.5 5.33333 8.5H3.33333C2.32053 8.5 1.5 7.67947 1.5 6.66667V3.33333ZM9.83333 3.33333C9.83333 2.87281 10.2061 2.5 10.6667 2.5H12.6667C13.1272 2.5 13.5 2.87281 13.5 3.33333V4.66667C13.5 5.12719 13.1272 5.5 12.6667 5.5H10.6667C10.2061 5.5 9.83333 5.12719 9.83333 4.66667V3.33333ZM10.6667 1.5C9.65387 1.5 8.83333 2.32053 8.83333 3.33333V4.66667C8.83333 5.67947 9.65387 6.5 10.6667 6.5H12.6667C13.6795 6.5 14.5 5.67947 14.5 4.66667V3.33333C14.5 2.32053 13.6795 1.5 12.6667 1.5H10.6667ZM9.83333 9.33333C9.83333 8.8728 10.2061 8.5 10.6667 8.5H12.6667C13.1272 8.5 13.5 8.8728 13.5 9.33333V12.6667C13.5 13.1272 13.1272 13.5 12.6667 13.5H10.6667C10.2061 13.5 9.83333 13.1272 9.83333 12.6667V9.33333ZM10.6667 7.5C9.65387 7.5 8.83333 8.32053 8.83333 9.33333V12.6667C8.83333 13.6795 9.65387 14.5 10.6667 14.5H12.6667C13.6795 14.5 14.5 13.6795 14.5 12.6667V9.33333C14.5 8.32053 13.6795 7.5 12.6667 7.5H10.6667ZM2.5 11.3333C2.5 10.8728 2.87281 10.5 3.33333 10.5H5.33333C5.79386 10.5 6.16667 10.8728 6.16667 11.3333V12.6667C6.16667 13.1272 5.79386 13.5 5.33333 13.5H3.33333C2.87281 13.5 2.5 13.1272 2.5 12.6667V11.3333ZM3.33333 9.5C2.32053 9.5 1.5 10.3205 1.5 11.3333V12.6667C1.5 13.6795 2.32053 14.5 3.33333 14.5H5.33333C6.34614 14.5 7.16667 13.6795 7.16667 12.6667V11.3333C7.16667 10.3205 6.34614 9.5 5.33333 9.5H3.33333Z",
1245
+ fill: "currentColor"
1246
+ })
1247
+ });
1262
1248
  };
1263
- var grid_default = SvgGrid;
1249
+ var GridLayoutIcon_default = GridLayoutIcon;
1264
1250
 
1265
1251
  //#endregion
1266
- //#region src/assets/list.svg
1267
- var _path$4;
1268
- function _extends$4() {
1269
- return _extends$4 = Object.assign ? Object.assign.bind() : function(n) {
1270
- for (var e = 1; e < arguments.length; e++) {
1271
- var t = arguments[e];
1272
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1273
- }
1274
- return n;
1275
- }, _extends$4.apply(null, arguments);
1276
- }
1277
- var SvgList = function SvgList$1(props) {
1278
- return /* @__PURE__ */ React.createElement("svg", _extends$4({
1252
+ //#region src/view/components/ApiPage/components/RowVerticalIcon.tsx
1253
+ const RowVerticalIcon = ({ width = 16, height = 16, ...props }) => {
1254
+ return /* @__PURE__ */ jsxs("svg", {
1255
+ width,
1256
+ height,
1257
+ viewBox: "0 0 16 16",
1258
+ fill: "none",
1279
1259
  xmlns: "http://www.w3.org/2000/svg",
1280
- width: 16,
1281
- height: 16,
1282
- fill: "none"
1283
- }, props), _path$4 || (_path$4 = /* @__PURE__ */ React.createElement("path", {
1284
- stroke: "#000",
1285
- strokeLinecap: "round",
1286
- strokeLinejoin: "round",
1287
- strokeOpacity: .25,
1288
- d: "M13.267 9H2.734c-1 0-1.4.427-1.4 1.487v2.693c0 1.06.4 1.487 1.4 1.487h10.533c1 0 1.4-.427 1.4-1.487v-2.693c0-1.06-.4-1.487-1.4-1.487M13.267 1.334H2.734c-1 0-1.4.427-1.4 1.487v2.693c0 1.06.4 1.487 1.4 1.487h10.533c1 0 1.4-.427 1.4-1.487V2.821c0-1.06-.4-1.487-1.4-1.487"
1289
- })));
1260
+ ...props,
1261
+ children: [/* @__PURE__ */ jsx("path", {
1262
+ d: "M13.2666 9H2.73331C1.73331 9 1.33331 9.42667 1.33331 10.4867V13.18C1.33331 14.24 1.73331 14.6667 2.73331 14.6667H13.2666C14.2666 14.6667 14.6666 14.24 14.6666 13.18V10.4867C14.6666 9.42667 14.2666 9 13.2666 9Z",
1263
+ stroke: "currentColor",
1264
+ strokeOpacity: "0.25",
1265
+ strokeLinecap: "round",
1266
+ strokeLinejoin: "round"
1267
+ }), /* @__PURE__ */ jsx("path", {
1268
+ d: "M13.2666 1.33203H2.73331C1.73331 1.33203 1.33331 1.7587 1.33331 2.8187V5.51203C1.33331 6.57203 1.73331 6.9987 2.73331 6.9987H13.2666C14.2666 6.9987 14.6666 6.57203 14.6666 5.51203V2.8187C14.6666 1.7587 14.2666 1.33203 13.2666 1.33203Z",
1269
+ stroke: "currentColor",
1270
+ strokeOpacity: "0.25",
1271
+ strokeLinecap: "round",
1272
+ strokeLinejoin: "round"
1273
+ })]
1274
+ });
1290
1275
  };
1291
- var list_default = SvgList;
1276
+ var RowVerticalIcon_default = RowVerticalIcon;
1292
1277
 
1293
1278
  //#endregion
1294
1279
  //#region src/assets/link.svg
@@ -1415,7 +1400,8 @@ const ApiCard = ({ api, viewStyle }) => {
1415
1400
  alignSelf: "stretch",
1416
1401
  flexDirection: "row",
1417
1402
  borderRadius: token$2.borderRadiusSM,
1418
- border: `1px solid ${token$2.colorBorderSecondary}`
1403
+ border: `1px solid ${token$2.colorBorderSecondary}`,
1404
+ svg: { path: { fill: token$2.colorPrimary } }
1419
1405
  },
1420
1406
  [scope("grid-path-name")]: {
1421
1407
  color: token$2.colorText,
@@ -1626,45 +1612,6 @@ const APIPage = () => {
1626
1612
  });
1627
1613
  return filtered;
1628
1614
  };
1629
- const APIsRenderer = ({ apis, withTitle, tagName, haveUnderLine, contextPath }) => {
1630
- return /* @__PURE__ */ jsxs(Flex, {
1631
- gap: viewStyle == "grid" ? token$1.marginXS : 0,
1632
- style: {
1633
- marginBottom: 0,
1634
- paddingBottom: 0
1635
- },
1636
- vertical: true,
1637
- children: [
1638
- withTitle && /* @__PURE__ */ jsx(Title, {
1639
- id: tagName,
1640
- style: { marginBottom: 0 },
1641
- level: 4,
1642
- children: tagName
1643
- }),
1644
- /* @__PURE__ */ jsx(Flex, {
1645
- wrap: "wrap",
1646
- gap: viewStyle == "grid" ? "1.5rem" : 0,
1647
- vertical: viewStyle == "list",
1648
- children: apis.map((item) => /* @__PURE__ */ jsx(ApiCard_default, {
1649
- api: item,
1650
- viewStyle
1651
- }, `${tagName}_renderer_${item.method}_${contextPath}`))
1652
- }),
1653
- haveUnderLine && /* @__PURE__ */ jsx(Divider, { style: {
1654
- marginTop: token$1.marginSM,
1655
- marginBottom: token$1.marginSM
1656
- } })
1657
- ]
1658
- }, `${tagName}_renderer_${contextPath}`);
1659
- };
1660
- function formatAuthType(authType) {
1661
- if (!authType) return "N/A";
1662
- switch (authType) {
1663
- case "OAUTH": return "OAuth2";
1664
- case "API_KEY": return "API Key";
1665
- default: return authType.replaceAll("_", " ").toLowerCase().replace(/\b\w/g, (char) => char.toUpperCase());
1666
- }
1667
- }
1668
1615
  return wrapSSR(/* @__PURE__ */ jsxs(Flex, {
1669
1616
  vertical: true,
1670
1617
  gap: token$1.margin,
@@ -1743,14 +1690,14 @@ const APIPage = () => {
1743
1690
  display: "flex",
1744
1691
  alignItems: "center"
1745
1692
  },
1746
- children: /* @__PURE__ */ jsx(grid_default, {})
1693
+ children: /* @__PURE__ */ jsx(GridLayoutIcon_default, {})
1747
1694
  }), /* @__PURE__ */ jsx(Radio.Button, {
1748
1695
  value: "list",
1749
1696
  style: {
1750
1697
  display: "flex",
1751
1698
  alignItems: "center"
1752
1699
  },
1753
- children: /* @__PURE__ */ jsx(list_default, {})
1700
+ children: /* @__PURE__ */ jsx(RowVerticalIcon_default, {})
1754
1701
  })]
1755
1702
  })
1756
1703
  ] }),
@@ -1768,23 +1715,58 @@ const APIPage = () => {
1768
1715
  if (b.toLowerCase() === "default") return -1;
1769
1716
  return 0;
1770
1717
  }).map(([key, endpoints], index, arr) => {
1771
- if (key.toLowerCase() === "default" && arr.length <= 1) return /* @__PURE__ */ jsx(APIsRenderer, {
1772
- apis: endpoints,
1773
- tagName: key,
1774
- withTitle: false,
1775
- contextPath: selectedApi?.contextPath
1776
- }, `${selectedApi}_${selectedApi?.contextPath}`);
1777
1718
  return /* @__PURE__ */ jsx(APIsRenderer, {
1778
1719
  apis: endpoints,
1779
1720
  tagName: key,
1780
- withTitle: true,
1721
+ withTitle: !(key.toLowerCase() === "default") || arr.length > 1,
1781
1722
  haveUnderLine: index < arr.length - 1,
1782
- contextPath: selectedApi?.contextPath
1783
- }, `${selectedApi}_${selectedApi?.contextPath}`);
1723
+ contextPath: selectedApi?.contextPath,
1724
+ viewStyle,
1725
+ token: token$1
1726
+ }, `${selectedApi?.id}_${key}`);
1784
1727
  })
1785
1728
  ]
1786
1729
  }));
1787
1730
  };
1731
+ const APIsRenderer = ({ apis, withTitle, tagName, haveUnderLine, contextPath, viewStyle, token: token$1 }) => {
1732
+ return /* @__PURE__ */ jsxs(Flex, {
1733
+ gap: viewStyle === "grid" ? token$1.marginXS : 0,
1734
+ style: {
1735
+ marginBottom: 0,
1736
+ paddingBottom: 0
1737
+ },
1738
+ vertical: true,
1739
+ children: [
1740
+ withTitle && /* @__PURE__ */ jsx(Title, {
1741
+ id: tagName,
1742
+ style: { marginBottom: 0 },
1743
+ level: 4,
1744
+ children: tagName
1745
+ }),
1746
+ /* @__PURE__ */ jsx(Flex, {
1747
+ wrap: "wrap",
1748
+ gap: viewStyle === "grid" ? "1.5rem" : 0,
1749
+ vertical: viewStyle === "list",
1750
+ children: apis.map((item) => /* @__PURE__ */ jsx(ApiCard_default, {
1751
+ api: item,
1752
+ viewStyle
1753
+ }, `${tagName}_renderer_${item.id}_${item.method}_${item.path}`))
1754
+ }),
1755
+ haveUnderLine && /* @__PURE__ */ jsx(Divider, { style: {
1756
+ marginTop: token$1.marginSM,
1757
+ marginBottom: token$1.marginSM
1758
+ } })
1759
+ ]
1760
+ }, `${tagName}_renderer_${contextPath}`);
1761
+ };
1762
+ function formatAuthType(authType) {
1763
+ if (!authType) return "N/A";
1764
+ switch (authType) {
1765
+ case "OAUTH": return "OAuth2";
1766
+ case "API_KEY": return "API Key";
1767
+ default: return authType.replaceAll("_", " ").toLowerCase().replace(/\b\w/g, (char) => char.toUpperCase());
1768
+ }
1769
+ }
1788
1770
 
1789
1771
  //#endregion
1790
1772
  //#region src/view/components/EndpointPage/EndpointPage.tsx