@digi-frontend/dgate-api-documentation 1.0.39 → 1.0.47
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/.editorconfig +12 -12
- package/.prettierignore +7 -7
- package/.prettierrc +15 -15
- package/dist/{a7568b270e175038.svg → 070dc6ecd197bc80.svg} +8 -8
- package/dist/16702d92fd6d1730.svg +6 -0
- package/dist/2b546d6e9fdf604a.svg +3 -0
- package/dist/2c3c6c2c3b835504.svg +5 -0
- package/dist/{43595976d1fdccbf.svg → 2e10bbdb265df50e.svg} +4 -4
- package/dist/55b5994c5781482b.svg +5 -0
- package/dist/60bef8083c55f46b.svg +6 -0
- package/dist/68c710e0583e19e6.svg +5 -0
- package/dist/731221b3f242672d.svg +4 -0
- package/dist/{b82c7612e73342f3.svg → 7f54eeb0bb2d1150.svg} +3 -3
- package/dist/8520b6792278d9df.svg +6 -0
- package/dist/{56dc416b683db280.svg → 8789eb84283ea95b.svg} +5 -5
- package/dist/9506ef7a26a74147.svg +12 -0
- package/dist/9b7aee27757b5036.svg +3 -0
- package/dist/{af16a554be8c4d69.svg → 9bdff13f8d8fa48a.svg} +3 -3
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/{64efc2716808c4a4.svg → bb8b87cace25e052.svg} +3 -3
- package/dist/cceb1e5dc06b0b85.svg +4 -0
- package/dist/d140a601c85bac25.svg +3 -0
- package/dist/{72db3b05a96dd600.svg → d32ce84bbd78babd.svg} +3 -3
- package/dist/{844eba3f2e42a9eb.svg → d501922060662842.svg} +3 -3
- package/dist/d6d0a98ec38e6b77.svg +3 -0
- package/dist/e04479ad425e7d58.svg +4 -0
- package/dist/f4a32992f02af522.svg +5 -0
- package/dist/node_modules/dom-serializer/lib/foreignNames.js +2 -0
- package/dist/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/node_modules/dom-serializer/lib/index.js +2 -0
- package/dist/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +1 -0
- package/dist/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/domutils/lib/feeds.js +2 -0
- package/dist/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/node_modules/domutils/lib/helpers.js +2 -0
- package/dist/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/node_modules/domutils/lib/index.js +2 -0
- package/dist/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/node_modules/domutils/lib/legacy.js +2 -0
- package/dist/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/node_modules/domutils/lib/manipulation.js +2 -0
- package/dist/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/node_modules/domutils/lib/querying.js +2 -0
- package/dist/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/node_modules/domutils/lib/stringify.js +2 -0
- package/dist/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/node_modules/domutils/lib/traversal.js +2 -0
- package/dist/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js +1 -1
- package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -1
- package/dist/node_modules/html-react-parser/lib/index.js +1 -1
- package/dist/node_modules/html-react-parser/lib/index.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/index.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/toposort/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +1 -1
- package/dist/src/assets/icons/AddRow.svg.js +1 -1
- package/dist/src/assets/icons/AddRow.svg.js.map +1 -1
- package/dist/src/assets/icons/ApiIcon.svg.js +2 -0
- package/dist/src/assets/icons/ApiIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/ArrowBack.svg.js +2 -0
- package/dist/src/assets/icons/ArrowBack.svg.js.map +1 -0
- package/dist/src/assets/icons/BookIcon.svg.js +2 -0
- package/dist/src/assets/icons/BookIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/CopySticker.svg.js +2 -0
- package/dist/src/assets/icons/CopySticker.svg.js.map +1 -0
- package/dist/src/assets/icons/DeleteIcon.svg.js +1 -1
- package/dist/src/assets/icons/DeleteIcon.svg.js.map +1 -1
- package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js +2 -0
- package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/DownArrow.svg.js +1 -1
- package/dist/src/assets/icons/DownArrow.svg.js.map +1 -1
- package/dist/src/assets/icons/EditIcon.svg.js +1 -1
- package/dist/src/assets/icons/EditIcon.svg.js.map +1 -1
- package/dist/src/assets/icons/FilterIcon.svg.js +2 -0
- package/dist/src/assets/icons/FilterIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/Plus.svg.js +2 -0
- package/dist/src/assets/icons/Plus.svg.js.map +1 -0
- package/dist/src/assets/icons/PlusSquare.svg.js +2 -0
- package/dist/src/assets/icons/PlusSquare.svg.js.map +1 -0
- package/dist/src/assets/icons/RequestOption.svg.js +2 -0
- package/dist/src/assets/icons/RequestOption.svg.js.map +1 -0
- package/dist/src/assets/icons/arrowDownGray.svg.js +2 -0
- package/dist/src/assets/icons/arrowDownGray.svg.js.map +1 -0
- package/dist/src/assets/icons/arrowRightGray.svg.js +2 -0
- package/dist/src/assets/icons/arrowRightGray.svg.js.map +1 -0
- package/dist/src/assets/icons/close-circle.svg.js +2 -0
- package/dist/src/assets/icons/close-circle.svg.js.map +1 -0
- package/dist/src/assets/icons/document.svg.js +2 -0
- package/dist/src/assets/icons/document.svg.js.map +1 -0
- package/dist/src/assets/icons/eye.svg.js +2 -0
- package/dist/src/assets/icons/eye.svg.js.map +1 -0
- package/dist/src/assets/icons/infoIcon.svg.js +2 -0
- package/dist/src/assets/icons/infoIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/searchIcon.svg.js +2 -0
- package/dist/src/assets/icons/searchIcon.svg.js.map +1 -0
- package/dist/src/components/InfoForm/InfoForm.js +1 -1
- package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
- package/dist/src/components/JsonInput/JsonInput.js.map +1 -1
- package/dist/src/components/LivePreview/LivePreview.js +1 -1
- package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
- package/dist/src/components/SVGLoader/SVGLoader.js.map +1 -1
- package/dist/src/components/SectionHead/SectionHead.js.map +1 -1
- package/dist/src/components/SimpleLabelValue/SimpleLabelValue.js.map +1 -1
- package/dist/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/src/components/dialog/index.js +1 -1
- package/dist/src/components/dialog/index.js.map +1 -1
- package/dist/src/components/table/table.js +1 -1
- package/dist/src/components/table/table.js.map +1 -1
- package/dist/src/components/table/tags-table.js.map +1 -1
- package/dist/src/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/methods.constant.js +2 -0
- package/dist/src/constants/methods.constant.js.map +1 -0
- package/dist/src/constants/regex.js.map +1 -1
- package/dist/src/helpers/layout.helper.js +1 -1
- package/dist/src/helpers/layout.helper.js.map +1 -1
- package/dist/src/helpers/methodAccordion.helper.js.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js +2 -0
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js +2 -0
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js +2 -0
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js +2 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js +2 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js +2 -0
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js.map +1 -0
- package/dist/src/layout/docsComponents/index.js +2 -0
- package/dist/src/layout/docsComponents/index.js.map +1 -0
- package/dist/src/layout/docsLayout.js +2 -0
- package/dist/src/layout/docsLayout.js.map +1 -0
- package/dist/src/layout/layout.js +1 -1
- package/dist/src/layout/layout.js.map +1 -1
- package/dist/src/validator/form.scheme.js +1 -1
- package/dist/src/validator/form.scheme.js.map +1 -1
- package/dist/styles.css +1436 -368
- package/dist/types/assets/icons/index.d.ts +16 -1
- package/dist/types/components/LivePreview/LivePreview.d.ts +1 -0
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +2 -1
- package/dist/types/components/dialog/dialog.d.ts +3 -0
- package/dist/types/components/table/table.d.ts +2 -1
- package/dist/types/constants/methods.constant.d.ts +16 -0
- package/dist/types/helpers/docs.helper.d.ts +3 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/layout/docsComponents/DocsAside/DocsAside.d.ts +3 -0
- package/dist/types/layout/docsComponents/DocsContent/DocsContent.d.ts +3 -0
- package/dist/types/layout/docsComponents/DocsContent/EndpointPage/index.d.ts +2 -0
- package/dist/types/layout/docsComponents/DocsContent/TagPage/index.d.ts +2 -0
- package/dist/types/layout/docsComponents/DocsHeader/DocsHeader.d.ts +3 -0
- package/dist/types/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.d.ts +8 -0
- package/dist/types/layout/docsComponents/index.d.ts +17 -0
- package/dist/types/layout/docsLayout.d.ts +33 -0
- package/dist/types/layout/layout.d.ts +2 -1
- package/dist/types/types/layout.type.d.ts +1 -0
- package/dist/types/types/openApi.d.ts +4 -4
- package/dist/types/validator/form.scheme.d.ts +10 -2
- package/package.json +45 -43
- package/rollup.config.js +35 -35
- package/src/assets/icons/AddRow.svg +3 -3
- package/src/assets/icons/ApiIcon.svg +12 -0
- package/src/assets/icons/ArrowBack.svg +3 -0
- package/src/assets/icons/BookIcon.svg +6 -0
- package/src/assets/icons/CheckMarkSquare.svg +5 -5
- package/src/assets/icons/CloseIcon.svg +4 -4
- package/src/assets/icons/CopySticker.svg +6 -0
- package/src/assets/icons/DeleteIcon.svg +3 -3
- package/src/assets/icons/DeleteOutlinedIcon.svg +8 -0
- package/src/assets/icons/DownArrow.svg +3 -3
- package/src/assets/icons/EditIcon.svg +3 -3
- package/src/assets/icons/FilterIcon.svg +4 -0
- package/src/assets/icons/Plus.svg +5 -0
- package/src/assets/icons/PlusSquare.svg +3 -0
- package/src/assets/icons/RequestOption.svg +5 -0
- package/src/assets/icons/UpArrow.svg +3 -3
- package/src/assets/icons/arrowDownGray.svg +3 -0
- package/src/assets/icons/arrowRightGray.svg +3 -0
- package/src/assets/icons/close-circle.svg +5 -0
- package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
- package/src/assets/icons/document.svg +6 -0
- package/src/assets/icons/eye.svg +4 -0
- package/src/assets/icons/index.ts +23 -8
- package/src/assets/icons/infoIcon.svg +5 -0
- package/src/assets/icons/searchIcon.svg +4 -0
- package/src/components/Chips/Chips.tsx +87 -87
- package/src/components/Chips/style.scss +147 -147
- package/src/components/InfoForm/InfoForm.module.scss +165 -165
- package/src/components/InfoForm/InfoForm.tsx +423 -428
- package/src/components/JsonInput/JsonInput.tsx +149 -149
- package/src/components/JsonInput/style.module.scss +133 -133
- package/src/components/LivePreview/LivePreview.module.scss +180 -24
- package/src/components/LivePreview/LivePreview.tsx +226 -191
- package/src/components/MethodAccordion/MethodAccordion.module.scss +386 -338
- package/src/components/MethodAccordion/MethodAccordion.tsx +670 -514
- package/src/components/SVGLoader/SVGLoader.tsx +96 -94
- package/src/components/SectionHead/SectionHead.scss +29 -29
- package/src/components/SectionHead/SectionHead.tsx +22 -22
- package/src/components/SimpleLabelValue/SimpleLabelValue.tsx +31 -31
- package/src/components/SimpleLabelValue/index.ts +1 -1
- package/src/components/SimpleLabelValue/style.scss +30 -30
- package/src/components/Tooltip/Tooltip.scss +133 -133
- package/src/components/Tooltip/Tooltip.tsx +85 -85
- package/src/components/_global.scss +337 -337
- package/src/components/dialog/dialog.ts +57 -54
- package/src/components/dialog/index.tsx +86 -85
- package/src/components/dialog/style.scss +188 -104
- package/src/components/table/style.scss +217 -190
- package/src/components/table/table.tsx +489 -327
- package/src/components/table/tags-table.tsx +348 -348
- package/src/constants/index.ts +95 -93
- package/src/constants/methods.constant.ts +26 -0
- package/src/constants/regex.ts +7 -7
- package/src/global.d.ts +13 -13
- package/src/helpers/docs.helper.ts +28 -0
- package/src/helpers/layout.helper.ts +176 -174
- package/src/helpers/methodAccordion.helper.ts +19 -19
- package/src/index.ts +2 -1
- package/src/layout/docsComponents/DocsAside/DocsAside.tsx +8 -0
- package/src/layout/docsComponents/DocsAside/style.scss +3 -0
- package/src/layout/docsComponents/DocsContent/DocsContent.tsx +13 -0
- package/src/layout/docsComponents/DocsContent/EndpointPage/index.tsx +183 -0
- package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +230 -0
- package/src/layout/docsComponents/DocsContent/TagPage/index.tsx +111 -0
- package/src/layout/docsComponents/DocsContent/TagPage/style.scss +246 -0
- package/src/layout/docsComponents/DocsContent/style.scss +0 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +198 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.tsx +119 -0
- package/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.tsx +183 -0
- package/src/layout/docsComponents/DocsSideMenuTree/style.scss +195 -0
- package/src/layout/docsComponents/index.scss +47 -0
- package/src/layout/docsComponents/index.tsx +28 -0
- package/src/layout/docsLayout.tsx +69 -0
- package/src/layout/layout.module.css +61 -61
- package/src/layout/layout.tsx +162 -150
- package/src/types/layout.type.ts +31 -30
- package/src/types/openApi.ts +108 -108
- package/src/types/transformedOpenApi.ts +52 -52
- package/src/validator/form.scheme.ts +88 -70
- package/tsconfig.json +33 -33
- package/dist/_virtual/index20.js +0 -2
- package/dist/_virtual/index20.js.map +0 -1
- package/dist/_virtual/index21.js +0 -2
- package/dist/_virtual/index21.js.map +0 -1
- package/dist/_virtual/node2.js +0 -2
- package/dist/_virtual/node2.js.map +0 -1
- package/dist/_virtual/node3.js +0 -2
- package/dist/_virtual/node3.js.map +0 -1
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
- package/dist/src/assets/icons/CheckMarkSquare.svg.js +0 -2
- package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +0 -1
- package/dist/src/assets/icons/CloseIcon.svg.js +0 -2
- package/dist/src/assets/icons/CloseIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/UpArrow.svg.js +0 -2
- package/dist/src/assets/icons/UpArrow.svg.js.map +0 -1
- package/dist/src/assets/icons/deleteOutlinedIcon.svg.js +0 -2
- package/dist/src/assets/icons/deleteOutlinedIcon.svg.js.map +0 -1
- package/dist/src/components/Chips/Chips.js +0 -2
- package/dist/src/components/Chips/Chips.js.map +0 -1
- package/dist/types/types/index.d.ts +0 -18
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
.api-details-page {
|
|
2
|
+
padding: 2rem;
|
|
3
|
+
|
|
4
|
+
.welcome {
|
|
5
|
+
font-size: 1.2rem;
|
|
6
|
+
color: #616874;
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
font-size: 1.125rem;
|
|
9
|
+
letter-spacing: 0px;
|
|
10
|
+
line-height: 1.5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.api-title {
|
|
14
|
+
font-size: 2rem;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
color: #4d75d9;
|
|
17
|
+
font-size: 3rem;
|
|
18
|
+
letter-spacing: -1px;
|
|
19
|
+
margin-bottom: 0.5rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.api-version {
|
|
23
|
+
font-size: 1.25rem;
|
|
24
|
+
color: #3b3f46;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
letter-spacing: 0px;
|
|
27
|
+
line-height: 1.75rem;
|
|
28
|
+
}
|
|
29
|
+
.custom-url-input {
|
|
30
|
+
margin-top: 1.5rem;
|
|
31
|
+
width: 50%;
|
|
32
|
+
|
|
33
|
+
.input-label {
|
|
34
|
+
display: block;
|
|
35
|
+
margin-bottom: 0.5rem;
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
color: #4d4f5c;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input-wrapper {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
background-color: #edf1fb;
|
|
45
|
+
border: 1px solid #fff;
|
|
46
|
+
border-radius: 0.375rem;
|
|
47
|
+
padding: 0 0.75rem;
|
|
48
|
+
|
|
49
|
+
input {
|
|
50
|
+
flex: 1;
|
|
51
|
+
padding: 0.5rem 0.5rem;
|
|
52
|
+
border: none;
|
|
53
|
+
background: transparent;
|
|
54
|
+
line-height: 1.75rem;
|
|
55
|
+
letter-spacing: 0px;
|
|
56
|
+
font-size: 1.125rem;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
opacity: 0.5;
|
|
59
|
+
|
|
60
|
+
color: #000000;
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.icon {
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
color: #4d75d9;
|
|
70
|
+
font-size: 1rem;
|
|
71
|
+
margin-left: 0.5rem;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
color: #2f54eb;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.api-desc {
|
|
80
|
+
padding: 1.125rem 0;
|
|
81
|
+
color: #000000;
|
|
82
|
+
font-weight: 400;
|
|
83
|
+
line-height: 1.125rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.api-product-tag {
|
|
87
|
+
margin: 1rem 0;
|
|
88
|
+
font-size: 0.9rem;
|
|
89
|
+
font-size: 1rem;
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
color: #616874;
|
|
92
|
+
line-height: 1.125rem;
|
|
93
|
+
letter-spacing: 0px;
|
|
94
|
+
|
|
95
|
+
.product-tag {
|
|
96
|
+
background: #f1f1f1;
|
|
97
|
+
padding: 0.25rem 0.5rem;
|
|
98
|
+
border-radius: 0.25rem;
|
|
99
|
+
border: 1px solid #bbbec5;
|
|
100
|
+
font-weight: 400;
|
|
101
|
+
font-size: 0.75rem;
|
|
102
|
+
letter-spacing: 0px;
|
|
103
|
+
margin-left: 0.5rem;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.section-title {
|
|
108
|
+
margin-top: 2rem;
|
|
109
|
+
color: #4d75d9;
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
font-size: 1.75rem;
|
|
112
|
+
letter-spacing: -0.5px;
|
|
113
|
+
line-height: 2.25rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.endpoint-group {
|
|
117
|
+
margin-top: 1.5rem;
|
|
118
|
+
gap: 1rem;
|
|
119
|
+
|
|
120
|
+
.tag-title {
|
|
121
|
+
font-size: 1.125rem;
|
|
122
|
+
margin-bottom: 1rem;
|
|
123
|
+
border-bottom: 1px solid #ddd;
|
|
124
|
+
padding-bottom: 0.5rem;
|
|
125
|
+
line-height: 1.5rem;
|
|
126
|
+
letter-spacing: 0px;
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
color: #616874;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.endpoint-list {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
|
|
134
|
+
gap: 1rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.endpoint-card {
|
|
138
|
+
border: 1px solid #ddd;
|
|
139
|
+
border-radius: 0.5rem;
|
|
140
|
+
padding: 1rem;
|
|
141
|
+
background-color: #fff;
|
|
142
|
+
|
|
143
|
+
.endpoint-card-header {
|
|
144
|
+
display: flex;
|
|
145
|
+
gap: 1.5rem;
|
|
146
|
+
align-items: flex-start;
|
|
147
|
+
|
|
148
|
+
h5 {
|
|
149
|
+
font-size: 1rem;
|
|
150
|
+
font-weight: 400;
|
|
151
|
+
line-height: 1.25rem;
|
|
152
|
+
letter-spacing: 0px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.method-label {
|
|
157
|
+
font-size: 0.875rem;
|
|
158
|
+
font-weight: 400;
|
|
159
|
+
letter-spacing: 0px;
|
|
160
|
+
line-height: 1rem;
|
|
161
|
+
padding: 0.275rem 1.563rem;
|
|
162
|
+
border-radius: 0.188rem;
|
|
163
|
+
display: inline-block;
|
|
164
|
+
margin-bottom: 0.5rem;
|
|
165
|
+
text-transform: uppercase;
|
|
166
|
+
|
|
167
|
+
&.get {
|
|
168
|
+
background-color: #3a6cd1;
|
|
169
|
+
color: #ffffff;
|
|
170
|
+
}
|
|
171
|
+
&.post {
|
|
172
|
+
background-color: #3aaa35;
|
|
173
|
+
color: #ffffff;
|
|
174
|
+
}
|
|
175
|
+
&.put {
|
|
176
|
+
background-color: #faad14;
|
|
177
|
+
color: #ffffff;
|
|
178
|
+
}
|
|
179
|
+
&.patch {
|
|
180
|
+
background-color: #58e2c2;
|
|
181
|
+
color: #ffffff;
|
|
182
|
+
}
|
|
183
|
+
&.delete {
|
|
184
|
+
background-color: #da3f3f;
|
|
185
|
+
color: #ffffff;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.endpoint-meta {
|
|
190
|
+
h5 {
|
|
191
|
+
font-size: 1rem;
|
|
192
|
+
font-weight: 400;
|
|
193
|
+
line-height: 1.25rem;
|
|
194
|
+
letter-spacing: 0px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
p {
|
|
198
|
+
color: #616874;
|
|
199
|
+
font-weight: 400;
|
|
200
|
+
font-size: 0.85rem;
|
|
201
|
+
letter-spacing: 0px;
|
|
202
|
+
line-height: 1rem;
|
|
203
|
+
margin: 0.25rem 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.description {
|
|
207
|
+
color: #3b3f46;
|
|
208
|
+
line-height: 1rem;
|
|
209
|
+
font-weight: 400;
|
|
210
|
+
letter-spacing: 0px;
|
|
211
|
+
margin-top: 1rem;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.versions-section {
|
|
218
|
+
margin-top: 2rem;
|
|
219
|
+
|
|
220
|
+
h4 {
|
|
221
|
+
color: #4d75d9;
|
|
222
|
+
font-weight: 600;
|
|
223
|
+
font-size: 1.75rem;
|
|
224
|
+
letter-spacing: -0.5px;
|
|
225
|
+
line-height: 2.25rem;
|
|
226
|
+
|
|
227
|
+
margin-bottom: 0.75rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.version-list {
|
|
231
|
+
display: flex;
|
|
232
|
+
flex-wrap: wrap;
|
|
233
|
+
gap: 0.5rem;
|
|
234
|
+
|
|
235
|
+
.version-btn {
|
|
236
|
+
padding: 0.4rem 0.8rem;
|
|
237
|
+
border: 1px solid #4d75d9;
|
|
238
|
+
border-radius: 0.375rem;
|
|
239
|
+
background-color: #fff;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
font-size: 0.875rem;
|
|
242
|
+
color: #4d75d9;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
.api_docs_header {
|
|
2
|
+
height: 2.625rem;
|
|
3
|
+
background-color: #f0f1f2;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: 0 1rem;
|
|
7
|
+
|
|
8
|
+
.header_content {
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.nav_buttons {
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: 1rem;
|
|
17
|
+
margin-left: 2.9375rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:global(.search-filter-btn) {
|
|
21
|
+
background-color: #ffffff !important;
|
|
22
|
+
border: 1px solid #e8e9ee !important;
|
|
23
|
+
width: 10.4375rem;
|
|
24
|
+
height: 2.25rem;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
font-size: 1rem;
|
|
27
|
+
line-height: 1.25rem;
|
|
28
|
+
|
|
29
|
+
&:hover:not(:disabled) {
|
|
30
|
+
color: #000000;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
svg {
|
|
34
|
+
margin-left: 0.5rem;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:global(.guide-btn) {
|
|
39
|
+
background-color: #ffffff !important;
|
|
40
|
+
border: 0.82px solid #b8bfca !important;
|
|
41
|
+
width: 5.658rem;
|
|
42
|
+
font-size: 0.9175rem;
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
line-height: 1.234rem;
|
|
45
|
+
height: 2.25rem;
|
|
46
|
+
|
|
47
|
+
&:disabled {
|
|
48
|
+
opacity: 0.7;
|
|
49
|
+
background-color: #ffffff !important;
|
|
50
|
+
color: #667085 !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
svg {
|
|
54
|
+
margin-right: 0.4075rem;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:global(.api-btn) {
|
|
59
|
+
background-color: #ffffff !important;
|
|
60
|
+
border: none !important;
|
|
61
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
62
|
+
padding: 0.4rem;
|
|
63
|
+
width: 8.5rem;
|
|
64
|
+
font-size: 0.9175rem;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
line-height: 1.234rem;
|
|
67
|
+
height: 2.25rem;
|
|
68
|
+
|
|
69
|
+
&:hover:not(:disabled) {
|
|
70
|
+
color: #000000;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
svg {
|
|
74
|
+
margin-right: 0.4075rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.tippy_box_color {
|
|
80
|
+
margin-left: 2rem;
|
|
81
|
+
background-color: #000 !important;
|
|
82
|
+
border: none;
|
|
83
|
+
height: 1.875rem;
|
|
84
|
+
border-radius: 0.75rem;
|
|
85
|
+
margin-top: -0.5rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:global(.tippy-arrow) {
|
|
89
|
+
transform: translateX(12px) !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:global(.tippy-content) {
|
|
93
|
+
padding: 0.5rem;
|
|
94
|
+
text-align: center;
|
|
95
|
+
font-size: 0.875rem;
|
|
96
|
+
font-weight: 600;
|
|
97
|
+
color: #ffffff;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Global styles */
|
|
101
|
+
:global {
|
|
102
|
+
.search-filter-form {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
width: 100%;
|
|
106
|
+
gap: 2.25rem;
|
|
107
|
+
padding: 1.75rem 1.75rem 0rem 1.75rem;
|
|
108
|
+
min-height: 17.687rem;
|
|
109
|
+
transition: min-height 0.3s ease;
|
|
110
|
+
&.expanded {
|
|
111
|
+
min-height: 34.375rem;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.search-filter-form.expanded {
|
|
116
|
+
min-height: 34.375rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.search-filter-form__header {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: space-between;
|
|
123
|
+
margin-bottom: 0.5rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.search-filter-form__header__title {
|
|
127
|
+
font-size: 1.25rem;
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
line-height: 1.75rem;
|
|
130
|
+
color: #9ca1aa;
|
|
131
|
+
margin: 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.search-filter-form__header svg {
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.method-container {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
gap: 0.5rem;
|
|
142
|
+
position: relative;
|
|
143
|
+
z-index: 10;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.method-container label {
|
|
147
|
+
font-size: 0.75rem;
|
|
148
|
+
font-weight: 400;
|
|
149
|
+
color: #000000;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
#react-select-menu-portal {
|
|
153
|
+
z-index: 9999 !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.button-container {
|
|
157
|
+
display: flex;
|
|
158
|
+
justify-content: center;
|
|
159
|
+
width: 100%;
|
|
160
|
+
margin-top: auto;
|
|
161
|
+
padding: 1.5rem 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.dialog-submit-btn {
|
|
165
|
+
width: 100% !important;
|
|
166
|
+
background-color: #4d75d9 !important;
|
|
167
|
+
color: white !important;
|
|
168
|
+
border-radius: 0.5rem !important;
|
|
169
|
+
height: 2.25rem !important;
|
|
170
|
+
box-shadow: 1px 1px 0.25rem 0px #00000040 inset !important;
|
|
171
|
+
font-weight: 400;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.close-icon {
|
|
175
|
+
position: absolute !important;
|
|
176
|
+
top: 3.2rem !important;
|
|
177
|
+
right: 3rem !important;
|
|
178
|
+
cursor: pointer !important;
|
|
179
|
+
}
|
|
180
|
+
.custom-select-border > div {
|
|
181
|
+
border: 1px solid #f0f1f2 !important;
|
|
182
|
+
border-radius: 0.5rem !important;
|
|
183
|
+
}
|
|
184
|
+
.multiSelectGroup .optionsList .option {
|
|
185
|
+
border-top: 1px solid #f0f1f2 !important;
|
|
186
|
+
}
|
|
187
|
+
.multiSelectGroup .optionsList .optionsContainer.optionsContainerWithSearch {
|
|
188
|
+
max-height: 56.25rem !important;
|
|
189
|
+
}
|
|
190
|
+
.inputContainer .inputWrapper {
|
|
191
|
+
border: 1px solid #f0f1f2 !important;
|
|
192
|
+
}
|
|
193
|
+
.rootContentWrapper {
|
|
194
|
+
opacity: 1 !important;
|
|
195
|
+
backdrop-filter: blur(0.5rem);
|
|
196
|
+
background-color: rgba(0, 0, 0, 0.281) !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import React, { useState, useRef } from 'react'
|
|
2
|
+
import { Button, Size, Input, SelectGroup } from 'digitinary-ui'
|
|
3
|
+
import SVGLoader from '../../../components/SVGLoader/SVGLoader'
|
|
4
|
+
import { FilterIcon, BookIcon, ApiIcon, SearchIcon } from '../../../assets/icons'
|
|
5
|
+
import Tooltip from '../../../components/Tooltip/Tooltip'
|
|
6
|
+
import CommonDialog from '../../../components/dialog/index'
|
|
7
|
+
import { METHOD_OPTIONS } from '../../../constants/methods.constant'
|
|
8
|
+
import styles from './DocsHeader.module.scss'
|
|
9
|
+
|
|
10
|
+
const DocsHeader: React.FC = () => {
|
|
11
|
+
const [showSearchFilter, setShowSearchFilter] = useState<boolean>(false)
|
|
12
|
+
const [apiName, setApiName] = useState<string>('')
|
|
13
|
+
const [selectedMethods, setSelectedMethods] = useState<any[]>([])
|
|
14
|
+
const [isMethodDropdownOpen, setIsMethodDropdownOpen] = useState<boolean>(false)
|
|
15
|
+
const selectRef = useRef<any>(null)
|
|
16
|
+
|
|
17
|
+
const handleOpenSearchFilter = (): void => {
|
|
18
|
+
setShowSearchFilter(true)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const handleCloseSearchFilter = (): void => {
|
|
22
|
+
setShowSearchFilter(false)
|
|
23
|
+
setIsMethodDropdownOpen(false)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const handleApplyFilters = (): void => {
|
|
27
|
+
setShowSearchFilter(false)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<>
|
|
32
|
+
<header className={styles.api_docs_header}>
|
|
33
|
+
<div className={styles.header_content}>
|
|
34
|
+
<Button
|
|
35
|
+
variant="outlined"
|
|
36
|
+
size="small"
|
|
37
|
+
className="search-filter-btn"
|
|
38
|
+
onClick={handleOpenSearchFilter}
|
|
39
|
+
>
|
|
40
|
+
Search & Filter
|
|
41
|
+
<SVGLoader src={FilterIcon} />
|
|
42
|
+
</Button>
|
|
43
|
+
<div className={styles.nav_buttons}>
|
|
44
|
+
<Tooltip
|
|
45
|
+
placement="bottom"
|
|
46
|
+
delay={[0, 0]}
|
|
47
|
+
className={`guides-tooltip ${styles.tippy_box_color}`}
|
|
48
|
+
content={<div>Coming Soon</div>}
|
|
49
|
+
>
|
|
50
|
+
<Button variant="outlined" size="small" className="guide-btn" disabled={true}>
|
|
51
|
+
<SVGLoader src={BookIcon} />
|
|
52
|
+
GUIDES
|
|
53
|
+
</Button>
|
|
54
|
+
</Tooltip>
|
|
55
|
+
<Button variant="outlined" size="small" className="api-btn">
|
|
56
|
+
<SVGLoader src={ApiIcon} />
|
|
57
|
+
API reference
|
|
58
|
+
</Button>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</header>
|
|
62
|
+
<CommonDialog
|
|
63
|
+
size="sm"
|
|
64
|
+
open={showSearchFilter}
|
|
65
|
+
onClose={handleCloseSearchFilter}
|
|
66
|
+
icon={false}
|
|
67
|
+
withClose={false}
|
|
68
|
+
content={
|
|
69
|
+
<div className={`search-filter-form ${isMethodDropdownOpen ? 'expanded' : ''}`}>
|
|
70
|
+
<div className="search-filter-form__header">
|
|
71
|
+
<p className="search-filter-form__header__title">Search & Filter</p>
|
|
72
|
+
</div>
|
|
73
|
+
<Input
|
|
74
|
+
placeholder="Search by API name"
|
|
75
|
+
value={apiName}
|
|
76
|
+
onChange={(value) => setApiName(value as string)}
|
|
77
|
+
size={Size.Medium}
|
|
78
|
+
clearable
|
|
79
|
+
endAdornment={<SVGLoader src={SearchIcon} />}
|
|
80
|
+
/>
|
|
81
|
+
<div className="method-container">
|
|
82
|
+
<label>Method</label>
|
|
83
|
+
<SelectGroup
|
|
84
|
+
isMultiple={true}
|
|
85
|
+
size={Size.Medium}
|
|
86
|
+
placeholder="Select Method"
|
|
87
|
+
value={selectedMethods}
|
|
88
|
+
onChange={(value) => setSelectedMethods(value || [])}
|
|
89
|
+
options={[
|
|
90
|
+
{
|
|
91
|
+
list: METHOD_OPTIONS.map((method) => ({
|
|
92
|
+
label: <span style={{ color: method.color }}>{method.label}</span>,
|
|
93
|
+
value: method.value,
|
|
94
|
+
data: method,
|
|
95
|
+
})),
|
|
96
|
+
},
|
|
97
|
+
]}
|
|
98
|
+
className="method-select custom-select-border"
|
|
99
|
+
/>
|
|
100
|
+
</div>
|
|
101
|
+
<div className="button-container">
|
|
102
|
+
<Button
|
|
103
|
+
variant="contained"
|
|
104
|
+
color="primary"
|
|
105
|
+
size="large"
|
|
106
|
+
onClick={handleApplyFilters}
|
|
107
|
+
className="dialog-submit-btn"
|
|
108
|
+
>
|
|
109
|
+
Apply
|
|
110
|
+
</Button>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
}
|
|
114
|
+
/>
|
|
115
|
+
</>
|
|
116
|
+
)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export default DocsHeader
|