@digi-frontend/dgate-api-documentation 1.0.1 → 1.0.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/.editorconfig +12 -12
- package/.prettierignore +7 -7
- package/.prettierrc +15 -15
- package/dist/{2e10bbdb265df50e.svg → 43595976d1fdccbf.svg} +4 -4
- package/dist/{8789eb84283ea95b.svg → 56dc416b683db280.svg} +5 -5
- package/dist/{bb8b87cace25e052.svg → 64efc2716808c4a4.svg} +3 -3
- package/dist/{d32ce84bbd78babd.svg → 72db3b05a96dd600.svg} +3 -3
- package/dist/{d501922060662842.svg → 844eba3f2e42a9eb.svg} +3 -3
- package/dist/_virtual/index10.js +1 -1
- package/dist/_virtual/index21.js +2 -0
- package/dist/_virtual/index21.js.map +1 -0
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index7.js +1 -1
- package/dist/_virtual/index8.js +1 -1
- package/dist/_virtual/index9.js +1 -1
- package/dist/_virtual/node2.js +2 -0
- package/dist/_virtual/node2.js.map +1 -0
- package/dist/_virtual/node3.js +2 -0
- package/dist/_virtual/node3.js.map +1 -0
- package/dist/{070dc6ecd197bc80.svg → a7568b270e175038.svg} +8 -8
- package/dist/{9bdff13f8d8fa48a.svg → af16a554be8c4d69.svg} +3 -3
- package/dist/{7f54eeb0bb2d1150.svg → b82c7612e73342f3.svg} +3 -3
- package/dist/node_modules/digitinary-ui/dist/index.js +1 -1
- package/dist/node_modules/digitinary-ui/dist/index.js.map +1 -1
- package/dist/node_modules/domelementtype/lib/index.js +1 -1
- package/dist/node_modules/formik/dist/formik.esm.js +1 -1
- package/dist/node_modules/html-dom-parser/lib/index.js +1 -1
- 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-dom-parser/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/html-react-parser/esm/index.mjs.js +1 -1
- package/dist/node_modules/html-react-parser/esm/index.mjs.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/html-react-parser/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js.map +1 -0
- 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/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
- package/dist/node_modules/react-fast-compare/index.js +1 -1
- package/dist/node_modules/react-fast-compare/index.js.map +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-property/lib/index.js +1 -1
- package/dist/node_modules/react-property/lib/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/node_modules/yup/index.esm.js.map +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/CheckMarkSquare.svg.js +2 -0
- package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +1 -0
- package/dist/src/assets/icons/CloseIcon.svg.js +1 -1
- package/dist/src/assets/icons/CloseIcon.svg.js.map +1 -1
- 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/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/UpArrow.svg.js +1 -1
- package/dist/src/assets/icons/UpArrow.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/components/Chips/Chips.js +2 -0
- package/dist/src/components/Chips/Chips.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/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/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/regex.js +1 -1
- 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/layout.js +1 -1
- package/dist/src/layout/layout.js.map +1 -1
- package/dist/src/layout/layout.module.css.js +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 +500 -2036
- package/dist/types/assets/icons/index.d.ts +1 -17
- package/dist/types/components/InfoForm/InfoForm.d.ts +1 -3
- package/dist/types/components/LivePreview/LivePreview.d.ts +0 -1
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +3 -7
- package/dist/types/components/Tooltip/Tooltip.d.ts +2 -2
- package/dist/types/components/dialog/dialog.d.ts +0 -6
- package/dist/types/components/dialog/index.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +1 -2
- package/dist/types/constants/index.d.ts +4 -23
- package/dist/types/constants/regex.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/layout/layout.d.ts +1 -4
- package/dist/types/types/index.d.ts +16 -25
- package/dist/types/types/layout.type.d.ts +1 -11
- package/dist/types/types/openApi.d.ts +5 -18
- package/dist/types/validator/form.scheme.d.ts +3 -12
- package/package.json +42 -47
- package/rollup.config.js +35 -37
- package/src/assets/icons/AddRow.svg +3 -3
- package/src/assets/icons/CheckMarkSquare.svg +5 -5
- package/src/assets/icons/CloseIcon.svg +4 -4
- package/src/assets/icons/DeleteIcon.svg +3 -3
- package/src/assets/icons/DownArrow.svg +3 -3
- package/src/assets/icons/EditIcon.svg +3 -3
- package/src/assets/icons/UpArrow.svg +3 -3
- package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
- package/src/assets/icons/index.ts +8 -24
- package/src/components/Chips/Chips.tsx +87 -87
- package/src/components/Chips/style.scss +147 -147
- package/src/components/InfoForm/InfoForm.module.scss +20 -165
- package/src/components/InfoForm/InfoForm.tsx +138 -424
- package/src/components/LivePreview/LivePreview.module.scss +5 -181
- package/src/components/LivePreview/LivePreview.tsx +80 -224
- package/src/components/MethodAccordion/MethodAccordion.module.scss +289 -399
- package/src/components/MethodAccordion/MethodAccordion.tsx +431 -1063
- package/src/components/SVGLoader/SVGLoader.tsx +94 -96
- 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 +130 -133
- package/src/components/Tooltip/Tooltip.tsx +86 -85
- package/src/components/_global.scss +337 -337
- package/src/components/dialog/dialog.ts +54 -61
- package/src/components/dialog/index.tsx +85 -88
- package/src/components/dialog/style.scss +104 -188
- package/src/components/table/style.scss +179 -223
- package/src/components/table/table.tsx +307 -490
- package/src/constants/index.ts +66 -95
- package/src/constants/regex.ts +5 -7
- package/src/global.d.ts +13 -13
- package/src/helpers/layout.helper.ts +118 -187
- package/src/helpers/methodAccordion.helper.ts +19 -19
- package/src/index.ts +1 -2
- package/src/layout/layout.module.css +38 -65
- package/src/layout/layout.tsx +75 -181
- package/src/types/index.ts +0 -28
- package/src/types/layout.type.ts +22 -32
- package/src/types/openApi.ts +95 -109
- package/src/types/transformedOpenApi.ts +52 -52
- package/src/validator/form.scheme.ts +70 -96
- package/tsconfig.json +33 -33
- package/dist/16702d92fd6d1730.svg +0 -6
- package/dist/2b546d6e9fdf604a.svg +0 -3
- package/dist/2c3c6c2c3b835504.svg +0 -5
- package/dist/55b5994c5781482b.svg +0 -5
- package/dist/60bef8083c55f46b.svg +0 -6
- package/dist/68c710e0583e19e6.svg +0 -5
- package/dist/731221b3f242672d.svg +0 -4
- package/dist/8520b6792278d9df.svg +0 -6
- package/dist/9506ef7a26a74147.svg +0 -12
- package/dist/9b7aee27757b5036.svg +0 -3
- package/dist/_virtual/core.js +0 -2
- package/dist/_virtual/core.js.map +0 -1
- package/dist/_virtual/core2.js +0 -2
- package/dist/_virtual/core2.js.map +0 -1
- package/dist/_virtual/format.js +0 -2
- package/dist/_virtual/format.js.map +0 -1
- package/dist/_virtual/json.js +0 -2
- package/dist/_virtual/json.js.map +0 -1
- package/dist/cceb1e5dc06b0b85.svg +0 -4
- package/dist/d140a601c85bac25.svg +0 -3
- package/dist/d6d0a98ec38e6b77.svg +0 -3
- package/dist/e04479ad425e7d58.svg +0 -4
- package/dist/f4452c3ebcf0d5da.svg +0 -4
- package/dist/f4a32992f02af522.svg +0 -5
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/dist/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +0 -1
- package/dist/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/node_modules/domutils/lib/index.js +0 -2
- package/dist/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/node_modules/domutils/lib/querying.js +0 -2
- package/dist/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/decode.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/decode.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/fast-json-stable-stringify/index.js +0 -2
- package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
- package/dist/node_modules/fault/index.js +0 -2
- package/dist/node_modules/fault/index.js.map +0 -1
- package/dist/node_modules/format/format.js +0 -2
- package/dist/node_modules/format/format.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.js +0 -2
- package/dist/node_modules/highlight.js/lib/core.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/json.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/json.js.map +0 -1
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs.js +0 -3
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs.js.map +0 -1
- package/dist/node_modules/lowlight/lib/core.js +0 -2
- package/dist/node_modules/lowlight/lib/core.js.map +0 -1
- package/dist/node_modules/nanoid/index.js +0 -2
- package/dist/node_modules/nanoid/index.js.map +0 -1
- package/dist/node_modules/nanoid/url-alphabet/index.js +0 -2
- package/dist/node_modules/nanoid/url-alphabet/index.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js.map +0 -1
- package/dist/src/assets/icons/ApiIcon.svg.js +0 -2
- package/dist/src/assets/icons/ApiIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/ArrowBack.svg.js +0 -2
- package/dist/src/assets/icons/ArrowBack.svg.js.map +0 -1
- package/dist/src/assets/icons/BookIcon.svg.js +0 -2
- package/dist/src/assets/icons/BookIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/CopySticker.svg.js +0 -2
- package/dist/src/assets/icons/CopySticker.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/assets/icons/FilterIcon.svg.js +0 -2
- package/dist/src/assets/icons/FilterIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/Plus.svg.js +0 -2
- package/dist/src/assets/icons/Plus.svg.js.map +0 -1
- package/dist/src/assets/icons/PlusSquare.svg.js +0 -2
- package/dist/src/assets/icons/PlusSquare.svg.js.map +0 -1
- package/dist/src/assets/icons/RequestOption.svg.js +0 -2
- package/dist/src/assets/icons/RequestOption.svg.js.map +0 -1
- package/dist/src/assets/icons/arrowDownGray.svg.js +0 -2
- package/dist/src/assets/icons/arrowDownGray.svg.js.map +0 -1
- package/dist/src/assets/icons/arrowRightGray.svg.js +0 -2
- package/dist/src/assets/icons/arrowRightGray.svg.js.map +0 -1
- package/dist/src/assets/icons/close-circle.svg.js +0 -2
- package/dist/src/assets/icons/close-circle.svg.js.map +0 -1
- package/dist/src/assets/icons/copy.svg.js +0 -2
- package/dist/src/assets/icons/copy.svg.js.map +0 -1
- package/dist/src/assets/icons/document.svg.js +0 -2
- package/dist/src/assets/icons/document.svg.js.map +0 -1
- package/dist/src/assets/icons/eye.svg.js +0 -2
- package/dist/src/assets/icons/eye.svg.js.map +0 -1
- package/dist/src/assets/icons/infoIcon.svg.js +0 -2
- package/dist/src/assets/icons/infoIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/searchIcon.svg.js +0 -2
- package/dist/src/assets/icons/searchIcon.svg.js.map +0 -1
- package/dist/src/components/JsonInput/JsonInput.js +0 -2
- package/dist/src/components/JsonInput/JsonInput.js.map +0 -1
- package/dist/src/components/JsonInput/style.module.scss.js +0 -2
- package/dist/src/components/JsonInput/style.module.scss.js.map +0 -1
- package/dist/src/components/table/tags-table.js +0 -2
- package/dist/src/components/table/tags-table.js.map +0 -1
- package/dist/src/constants/methods.constant.js +0 -2
- package/dist/src/constants/methods.constant.js.map +0 -1
- package/dist/src/context/SectionToggleContext.js +0 -2
- package/dist/src/context/SectionToggleContext.js.map +0 -1
- package/dist/src/helpers/docs.helper.js +0 -2
- package/dist/src/helpers/docs.helper.js.map +0 -1
- package/dist/src/layout/docsComponents/Codebox/Codebox.js +0 -2
- package/dist/src/layout/docsComponents/Codebox/Codebox.js.map +0 -1
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js +0 -2
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js +0 -2
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js +0 -2
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js.map +0 -1
- package/dist/src/layout/docsComponents/index.js +0 -2
- package/dist/src/layout/docsComponents/index.js.map +0 -1
- package/dist/src/layout/docsLayout.js +0 -2
- package/dist/src/layout/docsLayout.js.map +0 -1
- package/dist/src/utils/index.js +0 -2
- package/dist/src/utils/index.js.map +0 -1
- package/dist/types/components/JsonInput/JsonInput.d.ts +0 -14
- package/dist/types/components/table/tags-table.d.ts +0 -11
- package/dist/types/constants/methods.constant.d.ts +0 -16
- package/dist/types/context/SectionToggleContext.d.ts +0 -37
- package/dist/types/helpers/docs.helper.d.ts +0 -3
- package/dist/types/layout/docsComponents/Codebox/Codebox.d.ts +0 -4
- package/dist/types/layout/docsComponents/DocsAside/DocsAside.d.ts +0 -5
- package/dist/types/layout/docsComponents/DocsContent/DocsContent.d.ts +0 -12
- package/dist/types/layout/docsComponents/DocsContent/EndpointPage/index.d.ts +0 -7
- package/dist/types/layout/docsComponents/DocsContent/OverviewPage/index.d.ts +0 -9
- package/dist/types/layout/docsComponents/DocsHeader/DocsHeader.d.ts +0 -6
- package/dist/types/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.d.ts +0 -18
- package/dist/types/layout/docsComponents/index.d.ts +0 -17
- package/dist/types/layout/docsLayout.d.ts +0 -31
- package/dist/types/types/docsLayout.type.d.ts +0 -7
- package/dist/types/utils/index.d.ts +0 -2
- package/src/assets/icons/ApiIcon.svg +0 -12
- package/src/assets/icons/ArrowBack.svg +0 -3
- package/src/assets/icons/BookIcon.svg +0 -6
- package/src/assets/icons/CopySticker.svg +0 -6
- package/src/assets/icons/DeleteOutlinedIcon.svg +0 -8
- package/src/assets/icons/FilterIcon.svg +0 -4
- package/src/assets/icons/Plus.svg +0 -5
- package/src/assets/icons/PlusSquare.svg +0 -3
- package/src/assets/icons/RequestOption.svg +0 -5
- package/src/assets/icons/arrowDownGray.svg +0 -3
- package/src/assets/icons/arrowRightGray.svg +0 -3
- package/src/assets/icons/close-circle.svg +0 -5
- package/src/assets/icons/copy.svg +0 -4
- package/src/assets/icons/document.svg +0 -6
- package/src/assets/icons/eye.svg +0 -4
- package/src/assets/icons/infoIcon.svg +0 -5
- package/src/assets/icons/searchIcon.svg +0 -4
- package/src/components/JsonInput/JsonInput.tsx +0 -149
- package/src/components/JsonInput/style.module.scss +0 -133
- package/src/components/table/tags-table.tsx +0 -348
- package/src/constants/methods.constant.ts +0 -26
- package/src/context/SectionToggleContext.tsx +0 -121
- package/src/helpers/docs.helper.ts +0 -42
- package/src/layout/docsComponents/Codebox/Codebox.tsx +0 -61
- package/src/layout/docsComponents/Codebox/style.module.scss +0 -43
- package/src/layout/docsComponents/DocsAside/DocsAside.tsx +0 -93
- package/src/layout/docsComponents/DocsAside/style.module.scss +0 -113
- package/src/layout/docsComponents/DocsContent/DocsContent.tsx +0 -51
- package/src/layout/docsComponents/DocsContent/EndpointPage/index.tsx +0 -236
- package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +0 -309
- package/src/layout/docsComponents/DocsContent/OverviewPage/index.tsx +0 -192
- package/src/layout/docsComponents/DocsContent/OverviewPage/style.scss +0 -284
- package/src/layout/docsComponents/DocsContent/style.scss +0 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +0 -270
- package/src/layout/docsComponents/DocsHeader/DocsHeader.tsx +0 -187
- package/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.tsx +0 -229
- package/src/layout/docsComponents/DocsSideMenuTree/style.scss +0 -195
- package/src/layout/docsComponents/index.scss +0 -49
- package/src/layout/docsComponents/index.tsx +0 -28
- package/src/layout/docsLayout.tsx +0 -120
- package/src/types/docsLayout.type.ts +0 -7
- package/src/utils/index.ts +0 -12
- package/the_npm_commands.sh +0 -12
- package/variables.txt +0 -4
|
@@ -1,270 +0,0 @@
|
|
|
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
|
-
.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
|
-
&:hover {
|
|
34
|
-
color: #000;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
svg {
|
|
38
|
-
margin-left: 0.5rem;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:global(.guide-btn) {
|
|
43
|
-
background-color: #ffffff !important;
|
|
44
|
-
border: 0.82px solid #b8bfca !important;
|
|
45
|
-
width: 5.658rem;
|
|
46
|
-
font-size: 0.9175rem;
|
|
47
|
-
font-weight: 400;
|
|
48
|
-
line-height: 1.234rem;
|
|
49
|
-
height: 2.25rem;
|
|
50
|
-
|
|
51
|
-
&:disabled {
|
|
52
|
-
opacity: 0.7;
|
|
53
|
-
background-color: #ffffff !important;
|
|
54
|
-
color: #667085 !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
svg {
|
|
58
|
-
margin-right: 0.4075rem;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.api_btn {
|
|
63
|
-
background-color: #ffffff !important;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: row;
|
|
66
|
-
align-items: center;
|
|
67
|
-
border: none !important;
|
|
68
|
-
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
69
|
-
padding: 0.4rem;
|
|
70
|
-
width: 8.4875rem;
|
|
71
|
-
font-size: 0.8125rem;
|
|
72
|
-
font-weight: 400;
|
|
73
|
-
line-height: 1.234rem;
|
|
74
|
-
height: 2.25rem;
|
|
75
|
-
|
|
76
|
-
&:hover:not(:disabled) {
|
|
77
|
-
color: #000000;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
svg {
|
|
81
|
-
margin-right: 0.4075rem;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.tippy_box_color {
|
|
87
|
-
margin-left: 2rem;
|
|
88
|
-
background-color: #000 !important;
|
|
89
|
-
border: none;
|
|
90
|
-
height: 1.875rem;
|
|
91
|
-
border-radius: 0.75rem;
|
|
92
|
-
margin-top: -0.5rem;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
:global(.tippy-arrow) {
|
|
96
|
-
transform: translateX(12px) !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
:global(.tippy-content) {
|
|
100
|
-
padding: 0.5rem;
|
|
101
|
-
text-align: center;
|
|
102
|
-
font-size: 0.875rem;
|
|
103
|
-
font-weight: 600;
|
|
104
|
-
color: #ffffff;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Global styles */
|
|
108
|
-
:global {
|
|
109
|
-
.search-filter-form {
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: column;
|
|
112
|
-
width: 100%;
|
|
113
|
-
gap: 2.25rem;
|
|
114
|
-
padding: 1.75rem 1.75rem 0rem 1.75rem;
|
|
115
|
-
min-height: 17.687rem;
|
|
116
|
-
transition: min-height 0.3s ease;
|
|
117
|
-
&.expanded {
|
|
118
|
-
min-height: 34.375rem;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.search-filter-form.expanded {
|
|
123
|
-
min-height: 34.375rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.search-filter-form__header {
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: space-between;
|
|
130
|
-
margin-bottom: 0.5rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.search-filter-form__header__title {
|
|
134
|
-
font-size: 1.25rem;
|
|
135
|
-
font-weight: 400;
|
|
136
|
-
line-height: 1.75rem;
|
|
137
|
-
color: #9ca1aa;
|
|
138
|
-
margin: 0;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.search-filter-form__header svg {
|
|
142
|
-
cursor: pointer;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.name-input {
|
|
146
|
-
// border-color: #bbbec5 !important;
|
|
147
|
-
width: 27.875rem;
|
|
148
|
-
height: 2.5rem;
|
|
149
|
-
border-radius: 0.5rem;
|
|
150
|
-
border: 0.0625rem solid #bbbec5;
|
|
151
|
-
padding-top: 0.5rem;
|
|
152
|
-
padding-bottom: 0.5rem;
|
|
153
|
-
|
|
154
|
-
> div.inputWrapper {
|
|
155
|
-
border: 0px !important;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.methodList {
|
|
160
|
-
width: 27.875rem;
|
|
161
|
-
border-radius: 0.5rem;
|
|
162
|
-
border: 0.0625rem solid #f0f1f2;
|
|
163
|
-
|
|
164
|
-
.method-item {
|
|
165
|
-
display: flex;
|
|
166
|
-
flex-direction: row;
|
|
167
|
-
justify-content: flex-start;
|
|
168
|
-
align-items: center;
|
|
169
|
-
gap: 0.5rem;
|
|
170
|
-
padding-left: 0.75rem;
|
|
171
|
-
padding-right: 0.75rem;
|
|
172
|
-
padding-top: 0.5rem;
|
|
173
|
-
border-radius: 0.5rem;
|
|
174
|
-
padding-bottom: 0.5rem;
|
|
175
|
-
border-bottom: 1px solid #f0f1f2;
|
|
176
|
-
span {
|
|
177
|
-
font-weight: 400;
|
|
178
|
-
font-size: 0.875rem;
|
|
179
|
-
}
|
|
180
|
-
input {
|
|
181
|
-
cursor: pointer;
|
|
182
|
-
width: 1.25rem;
|
|
183
|
-
height: 1.25rem;
|
|
184
|
-
border-radius: 0.25rem;
|
|
185
|
-
border: 1px solid #64748b;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.method-container {
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: column;
|
|
193
|
-
gap: 0.5rem;
|
|
194
|
-
position: relative;
|
|
195
|
-
z-index: 10;
|
|
196
|
-
|
|
197
|
-
.typeDdl {
|
|
198
|
-
cursor: pointer;
|
|
199
|
-
width: 27.875rem;
|
|
200
|
-
height: 2.5rem;
|
|
201
|
-
border-radius: 0.5rem;
|
|
202
|
-
border: 0.0625rem solid #bbbec5;
|
|
203
|
-
padding-top: 0.5rem;
|
|
204
|
-
padding-bottom: 0.5rem;
|
|
205
|
-
padding-left: 1.3rem;
|
|
206
|
-
padding-right: 0.75rem;
|
|
207
|
-
display: flex;
|
|
208
|
-
justify-content: space-between;
|
|
209
|
-
align-items: center;
|
|
210
|
-
|
|
211
|
-
span {
|
|
212
|
-
font-weight: 400;
|
|
213
|
-
font-size: 0.875rem;
|
|
214
|
-
color: #8390a2;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.method-container label {
|
|
220
|
-
font-size: 0.75rem;
|
|
221
|
-
font-weight: 400;
|
|
222
|
-
color: #000000;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
#react-select-menu-portal {
|
|
226
|
-
z-index: 9999 !important;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.button-container {
|
|
230
|
-
display: flex;
|
|
231
|
-
justify-content: center;
|
|
232
|
-
width: 100%;
|
|
233
|
-
padding-top: 0 !important;
|
|
234
|
-
padding: 1.5rem 0;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.dialog-submit-btn {
|
|
238
|
-
width: 100% !important;
|
|
239
|
-
background-color: #4d75d9 !important;
|
|
240
|
-
color: white !important;
|
|
241
|
-
border-radius: 0.5rem !important;
|
|
242
|
-
height: 2.25rem !important;
|
|
243
|
-
box-shadow: 1px 1px 0.25rem 0px #00000040 inset !important;
|
|
244
|
-
font-weight: 400;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.close-icon {
|
|
248
|
-
top: 3.2rem !important;
|
|
249
|
-
right: 3rem !important;
|
|
250
|
-
cursor: pointer !important;
|
|
251
|
-
}
|
|
252
|
-
.custom-select-border > div {
|
|
253
|
-
border: 1px solid #f0f1f2 !important;
|
|
254
|
-
border-radius: 0.5rem !important;
|
|
255
|
-
}
|
|
256
|
-
.multiSelectGroup .optionsList .option {
|
|
257
|
-
border-top: 1px solid #f0f1f2 !important;
|
|
258
|
-
}
|
|
259
|
-
.multiSelectGroup .optionsList .optionsContainer.optionsContainerWithSearch {
|
|
260
|
-
max-height: 56.25rem !important;
|
|
261
|
-
}
|
|
262
|
-
.inputContainer .inputWrapper {
|
|
263
|
-
border: 1px solid #f0f1f2 !important;
|
|
264
|
-
}
|
|
265
|
-
.rootContentWrapper {
|
|
266
|
-
opacity: 1 !important;
|
|
267
|
-
backdrop-filter: blur(0.5rem);
|
|
268
|
-
background-color: rgba(0, 0, 0, 0.281) !important;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import React, { useState, useRef } from 'react'
|
|
2
|
-
import { Button, Size, Input } from 'digitinary-ui'
|
|
3
|
-
import SVGLoader from '../../../components/SVGLoader/SVGLoader'
|
|
4
|
-
import {
|
|
5
|
-
FilterIcon,
|
|
6
|
-
BookIcon,
|
|
7
|
-
ApiIcon,
|
|
8
|
-
SearchIcon,
|
|
9
|
-
UpArrowIcon,
|
|
10
|
-
DownArrowIcon,
|
|
11
|
-
} from '../../../assets/icons'
|
|
12
|
-
import Tooltip from '../../../components/Tooltip/Tooltip'
|
|
13
|
-
import CommonDialog from '../../../components/dialog/index'
|
|
14
|
-
import { METHOD_OPTIONS } from '../../../constants/methods.constant'
|
|
15
|
-
import styles from './DocsHeader.module.scss'
|
|
16
|
-
import { OverviewData } from '../../../../src/layout/docsLayout'
|
|
17
|
-
|
|
18
|
-
const DocsHeader = ({
|
|
19
|
-
transformedOpenApis,
|
|
20
|
-
updateFilteredData,
|
|
21
|
-
}: {
|
|
22
|
-
transformedOpenApis: OverviewData[]
|
|
23
|
-
updateFilteredData: (filteredItems: OverviewData[], isReset?: boolean) => void
|
|
24
|
-
}) => {
|
|
25
|
-
const [showSearchFilter, setShowSearchFilter] = useState<boolean>(false)
|
|
26
|
-
const [apiName, setApiName] = useState<string>('')
|
|
27
|
-
const [selectedMethods, setSelectedMethods] = useState<any[]>([])
|
|
28
|
-
const [isMethodDropdownOpen, setIsMethodDropdownOpen] = useState<boolean>(false)
|
|
29
|
-
|
|
30
|
-
const handleOpenSearchFilter = (): void => {
|
|
31
|
-
setShowSearchFilter(true)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const handleCloseSearchFilter = (): void => {
|
|
35
|
-
setShowSearchFilter(false)
|
|
36
|
-
setIsMethodDropdownOpen(false)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const handleApplyFilters = (): void => {
|
|
40
|
-
// Reset: no filters applied
|
|
41
|
-
if (!apiName?.trim() && (!selectedMethods || selectedMethods.length === 0)) {
|
|
42
|
-
updateFilteredData(transformedOpenApis, true)
|
|
43
|
-
setShowSearchFilter(false)
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
let filteredItems = [...transformedOpenApis]
|
|
48
|
-
|
|
49
|
-
// Filter by API name
|
|
50
|
-
if (apiName?.trim()) {
|
|
51
|
-
const lowerApiName = apiName.toLowerCase()
|
|
52
|
-
filteredItems = filteredItems.filter((api) => api.title.toLowerCase().includes(lowerApiName))
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Filter by selected HTTP methods
|
|
56
|
-
if (selectedMethods?.length) {
|
|
57
|
-
filteredItems = filteredItems.filter((api) => {
|
|
58
|
-
const allMethods = Object.values(api.tags || {})
|
|
59
|
-
.flat()
|
|
60
|
-
.map((endpoint: any) => endpoint.method?.toLowerCase())
|
|
61
|
-
|
|
62
|
-
return selectedMethods.some((method) => allMethods.includes(method.toLowerCase()))
|
|
63
|
-
})
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
updateFilteredData(filteredItems)
|
|
67
|
-
setShowSearchFilter(false)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
const handleCheckMethod = (e, method: (typeof METHOD_OPTIONS)[0]) => {
|
|
71
|
-
const {
|
|
72
|
-
target: { checked },
|
|
73
|
-
} = e
|
|
74
|
-
if (checked) {
|
|
75
|
-
setSelectedMethods((prev) => [...prev, method.value])
|
|
76
|
-
} else {
|
|
77
|
-
if (selectedMethods.includes(method.value)) {
|
|
78
|
-
setSelectedMethods((prev) => prev.filter((_m) => _m != method.value))
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return (
|
|
84
|
-
<>
|
|
85
|
-
<header className={styles.api_docs_header}>
|
|
86
|
-
<div className={styles.header_content}>
|
|
87
|
-
<Button
|
|
88
|
-
variant="outlined"
|
|
89
|
-
size="small"
|
|
90
|
-
className={styles.search_filter_btn}
|
|
91
|
-
onClick={handleOpenSearchFilter}
|
|
92
|
-
>
|
|
93
|
-
Search & Filter
|
|
94
|
-
<SVGLoader src={FilterIcon} />
|
|
95
|
-
</Button>
|
|
96
|
-
<div className={styles.nav_buttons}>
|
|
97
|
-
<Tooltip
|
|
98
|
-
placement="bottom"
|
|
99
|
-
delay={[0, 0]}
|
|
100
|
-
className={`guides-tooltip ${styles.tippy_box_color}`}
|
|
101
|
-
content={<div>Coming Soon</div>}
|
|
102
|
-
>
|
|
103
|
-
<Button variant="outlined" size="small" className="guide-btn" disabled={true}>
|
|
104
|
-
<SVGLoader src={BookIcon} />
|
|
105
|
-
GUIDES
|
|
106
|
-
</Button>
|
|
107
|
-
</Tooltip>
|
|
108
|
-
<Button variant="outlined" size="small" className={styles.api_btn}>
|
|
109
|
-
<SVGLoader src={ApiIcon} /> API reference
|
|
110
|
-
</Button>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
</header>
|
|
114
|
-
<CommonDialog
|
|
115
|
-
size="sm"
|
|
116
|
-
open={showSearchFilter}
|
|
117
|
-
onClose={handleCloseSearchFilter}
|
|
118
|
-
icon={false}
|
|
119
|
-
withClose={false}
|
|
120
|
-
noActions
|
|
121
|
-
content={
|
|
122
|
-
<div className={`search-filter-form ${isMethodDropdownOpen ? 'expanded' : ''}`}>
|
|
123
|
-
<div className="search-filter-form__header">
|
|
124
|
-
<p className="search-filter-form__header__title">Search & Filter</p>
|
|
125
|
-
</div>
|
|
126
|
-
<Input
|
|
127
|
-
className="name-input"
|
|
128
|
-
placeholder="Search by API name"
|
|
129
|
-
value={apiName}
|
|
130
|
-
onChange={(value) => setApiName(value as string)}
|
|
131
|
-
size={Size.Medium}
|
|
132
|
-
clearable
|
|
133
|
-
endAdornment={<SVGLoader src={SearchIcon} />}
|
|
134
|
-
/>
|
|
135
|
-
<div className="method-container">
|
|
136
|
-
<label>Method</label>
|
|
137
|
-
{/* <SelectGroup
|
|
138
|
-
isMultiple={true}
|
|
139
|
-
size={Size.Medium}
|
|
140
|
-
placeholder="Select Method"
|
|
141
|
-
value={selectedMethods}
|
|
142
|
-
onChange={(value) => setSelectedMethods(value || [])}
|
|
143
|
-
options={[
|
|
144
|
-
|
|
145
|
-
]}
|
|
146
|
-
withSearch={false}
|
|
147
|
-
className="method-select custom-select-border"
|
|
148
|
-
/> */}
|
|
149
|
-
<div className="typeDdl" onClick={() => setIsMethodDropdownOpen((prev) => !prev)}>
|
|
150
|
-
<span>Select Method</span>
|
|
151
|
-
<SVGLoader src={!isMethodDropdownOpen ? DownArrowIcon : UpArrowIcon} />
|
|
152
|
-
</div>
|
|
153
|
-
{isMethodDropdownOpen && (
|
|
154
|
-
<div className="methodList">
|
|
155
|
-
{METHOD_OPTIONS.map((_m) => (
|
|
156
|
-
<div className="method-item">
|
|
157
|
-
<input
|
|
158
|
-
type="checkbox"
|
|
159
|
-
className="agreement-checkbox"
|
|
160
|
-
checked={selectedMethods.includes(_m.value)}
|
|
161
|
-
onChange={(e) => handleCheckMethod(e, _m)}
|
|
162
|
-
/>
|
|
163
|
-
<span style={{ color: _m.color }}>{_m.label}</span>
|
|
164
|
-
</div>
|
|
165
|
-
))}
|
|
166
|
-
</div>
|
|
167
|
-
)}
|
|
168
|
-
</div>
|
|
169
|
-
<div className="button-container">
|
|
170
|
-
<Button
|
|
171
|
-
variant="contained"
|
|
172
|
-
color="primary"
|
|
173
|
-
size="large"
|
|
174
|
-
onClick={handleApplyFilters}
|
|
175
|
-
className="dialog-submit-btn"
|
|
176
|
-
>
|
|
177
|
-
Apply
|
|
178
|
-
</Button>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
}
|
|
182
|
-
/>
|
|
183
|
-
</>
|
|
184
|
-
)
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export default DocsHeader
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import './style.scss'
|
|
2
|
-
import React, { useEffect, useRef } from 'react'
|
|
3
|
-
import SVGLoader from '../../../components/SVGLoader/SVGLoader'
|
|
4
|
-
import { arrowDownGray, arrowRightGray, document, eye } from '../../../assets/icons'
|
|
5
|
-
import { EndpointData, OverviewData } from 'src/layout/docsLayout'
|
|
6
|
-
import { SectionEnum, useSectionToggle } from '../../../../src/context/SectionToggleContext'
|
|
7
|
-
|
|
8
|
-
const DocsSideMenuTree = ({
|
|
9
|
-
apis,
|
|
10
|
-
setActiveItemData,
|
|
11
|
-
isFirstApiExpanded,
|
|
12
|
-
setIsFirstApiExpanded,
|
|
13
|
-
setActiveType,
|
|
14
|
-
canSelectFirstApi,
|
|
15
|
-
canFocusSection,
|
|
16
|
-
setCanFocusSection,
|
|
17
|
-
activeApiId,
|
|
18
|
-
setCanSelectFirstApi,
|
|
19
|
-
}: {
|
|
20
|
-
apis: OverviewData[]
|
|
21
|
-
setActiveItemData: React.Dispatch<React.SetStateAction<OverviewData | EndpointData>>
|
|
22
|
-
activeItemData: OverviewData | EndpointData
|
|
23
|
-
isFirstApiExpanded: boolean
|
|
24
|
-
setIsFirstApiExpanded: React.Dispatch<React.SetStateAction<boolean>>
|
|
25
|
-
setActiveType: React.Dispatch<React.SetStateAction<'OVERVIEW' | 'ENDPOINT'>>
|
|
26
|
-
activeType: 'OVERVIEW' | 'ENDPOINT'
|
|
27
|
-
canSelectFirstApi?: boolean
|
|
28
|
-
canFocusSection: boolean
|
|
29
|
-
setCanFocusSection: React.Dispatch<React.SetStateAction<boolean>>
|
|
30
|
-
activeApiId: string
|
|
31
|
-
setCanSelectFirstApi: React.Dispatch<React.SetStateAction<boolean>>
|
|
32
|
-
}) => {
|
|
33
|
-
const { expandedSections, toggleSection, generateSectionKey } = useSectionToggle()
|
|
34
|
-
const sectionRefs = useRef<Record<string, HTMLDivElement | null>>({})
|
|
35
|
-
|
|
36
|
-
// Auto-expand first API only once
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
if (canSelectFirstApi || !apis?.length || !isFirstApiExpanded) return
|
|
39
|
-
|
|
40
|
-
const firstApi = apis[0]
|
|
41
|
-
toggleSection(firstApi?.apiSpecId, [
|
|
42
|
-
{ type: SectionEnum.API_SECTION, setTo: true },
|
|
43
|
-
{ type: SectionEnum.OVERVIEW, setTo: true },
|
|
44
|
-
])
|
|
45
|
-
|
|
46
|
-
setActiveItemData(firstApi)
|
|
47
|
-
setActiveType('OVERVIEW')
|
|
48
|
-
setIsFirstApiExpanded(false)
|
|
49
|
-
}, [apis, isFirstApiExpanded])
|
|
50
|
-
|
|
51
|
-
useEffect(() => {
|
|
52
|
-
const activeApi = apis?.find((api) => api.apiSpecId === activeApiId)
|
|
53
|
-
if (activeApiId && apis.length > 0 && !!activeApi) {
|
|
54
|
-
toggleSection(activeApi.apiSpecId, [
|
|
55
|
-
{ type: SectionEnum.API_SECTION, setTo: true },
|
|
56
|
-
{ type: SectionEnum.OVERVIEW, setTo: true },
|
|
57
|
-
])
|
|
58
|
-
|
|
59
|
-
setActiveItemData(activeApi)
|
|
60
|
-
setActiveType('OVERVIEW')
|
|
61
|
-
setIsFirstApiExpanded(false)
|
|
62
|
-
setCanSelectFirstApi(true)
|
|
63
|
-
setCanFocusSection(true)
|
|
64
|
-
}
|
|
65
|
-
}, [activeApiId, apis])
|
|
66
|
-
|
|
67
|
-
const renderEndpoints = (endpoints: EndpointData[], api: OverviewData) =>
|
|
68
|
-
endpoints.map((endpoint, index) => {
|
|
69
|
-
const key = generateSectionKey({
|
|
70
|
-
apiId: api.apiSpecId,
|
|
71
|
-
type: SectionEnum.RESOURCE,
|
|
72
|
-
id: endpoint.id,
|
|
73
|
-
})
|
|
74
|
-
const isExpanded = expandedSections[key]
|
|
75
|
-
|
|
76
|
-
return (
|
|
77
|
-
<div
|
|
78
|
-
key={index}
|
|
79
|
-
className={`api-docs-api-tree__endpoint api-docs-api-tree__endpoint--${endpoint.method.toLowerCase()}`}
|
|
80
|
-
onClick={() => {
|
|
81
|
-
if (!isExpanded) {
|
|
82
|
-
setActiveItemData({
|
|
83
|
-
...endpoint,
|
|
84
|
-
api,
|
|
85
|
-
})
|
|
86
|
-
setActiveType('ENDPOINT')
|
|
87
|
-
toggleSection(api.apiSpecId, [{ type: SectionEnum.RESOURCE, id: endpoint.id }], {
|
|
88
|
-
resetOthers: true,
|
|
89
|
-
filterKeys: [SectionEnum.RESOURCE, SectionEnum.OVERVIEW],
|
|
90
|
-
})
|
|
91
|
-
}
|
|
92
|
-
}}
|
|
93
|
-
data-active={isExpanded}
|
|
94
|
-
>
|
|
95
|
-
<span className="api-docs-api-tree__endpoint-method">{endpoint.method}</span>
|
|
96
|
-
<span className="api-docs-api-tree__endpoint-name">{endpoint.path}</span>
|
|
97
|
-
</div>
|
|
98
|
-
)
|
|
99
|
-
})
|
|
100
|
-
|
|
101
|
-
const renderSubSection = (
|
|
102
|
-
tagName: string,
|
|
103
|
-
data: EndpointData[],
|
|
104
|
-
api: OverviewData,
|
|
105
|
-
sectionIndex: number
|
|
106
|
-
) => {
|
|
107
|
-
const sectionKey = generateSectionKey({
|
|
108
|
-
apiId: api.apiSpecId,
|
|
109
|
-
type: SectionEnum.TAG_SECTION,
|
|
110
|
-
index: sectionIndex,
|
|
111
|
-
})
|
|
112
|
-
const isSectionExpanded = expandedSections[sectionKey]
|
|
113
|
-
|
|
114
|
-
return (
|
|
115
|
-
<div key={sectionKey} className="api-docs-api-tree__subsection">
|
|
116
|
-
<div
|
|
117
|
-
className="api-docs-api-tree__subsection-header"
|
|
118
|
-
onClick={() =>
|
|
119
|
-
toggleSection(api.apiSpecId, [{ type: SectionEnum.TAG_SECTION, index: sectionIndex }])
|
|
120
|
-
}
|
|
121
|
-
>
|
|
122
|
-
{isSectionExpanded ? (
|
|
123
|
-
<SVGLoader src={arrowDownGray} />
|
|
124
|
-
) : (
|
|
125
|
-
<SVGLoader src={arrowRightGray} />
|
|
126
|
-
)}
|
|
127
|
-
<span className="api-docs-api-tree__subsection-title">{tagName}</span>
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
{isSectionExpanded && (
|
|
131
|
-
<div className="api-docs-api-tree__endpoints">{renderEndpoints(data, api)}</div>
|
|
132
|
-
)}
|
|
133
|
-
</div>
|
|
134
|
-
)
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
const renderApiSection = (api: OverviewData) => {
|
|
138
|
-
const sectionKey = generateSectionKey({ apiId: api.apiSpecId, type: SectionEnum.API_SECTION })
|
|
139
|
-
const endpointsKey = generateSectionKey({
|
|
140
|
-
apiId: api.apiSpecId,
|
|
141
|
-
type: SectionEnum.ENDPOINTS_SECTION,
|
|
142
|
-
})
|
|
143
|
-
const overviewKey = generateSectionKey({ apiId: api.apiSpecId, type: SectionEnum.OVERVIEW })
|
|
144
|
-
|
|
145
|
-
const isApiExpanded = expandedSections[sectionKey]
|
|
146
|
-
const isEndpointActive = expandedSections[endpointsKey]
|
|
147
|
-
const isOverviewExpanded = expandedSections[overviewKey]
|
|
148
|
-
// Scroll to the section if it's expanded
|
|
149
|
-
if (canFocusSection) {
|
|
150
|
-
const sectionEl = sectionRefs.current[api.apiSpecId]
|
|
151
|
-
sectionEl?.scrollIntoView({ behavior: 'smooth', block: 'start' })
|
|
152
|
-
setCanFocusSection(false)
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
return (
|
|
156
|
-
<div
|
|
157
|
-
key={api.apiSpecId}
|
|
158
|
-
className="api-docs-api-tree__section"
|
|
159
|
-
data-active={isEndpointActive || isOverviewExpanded}
|
|
160
|
-
ref={(el) => {
|
|
161
|
-
sectionRefs.current[api.apiSpecId] = el
|
|
162
|
-
}}
|
|
163
|
-
>
|
|
164
|
-
<div
|
|
165
|
-
className="api-docs-api-tree__section-header"
|
|
166
|
-
onClick={() => toggleSection(api.apiSpecId, [{ type: SectionEnum.API_SECTION }])}
|
|
167
|
-
>
|
|
168
|
-
{isApiExpanded ? <SVGLoader src={arrowDownGray} /> : <SVGLoader src={arrowRightGray} />}
|
|
169
|
-
<SVGLoader src={document} />
|
|
170
|
-
<span className="api-docs-api-tree__section-title">{api.title}</span>
|
|
171
|
-
</div>
|
|
172
|
-
|
|
173
|
-
{isApiExpanded && (
|
|
174
|
-
<>
|
|
175
|
-
<div
|
|
176
|
-
className="api-docs-api-tree__section__overview"
|
|
177
|
-
onClick={() => {
|
|
178
|
-
if (!isOverviewExpanded) {
|
|
179
|
-
toggleSection(api.apiSpecId, [{ type: SectionEnum.OVERVIEW }], {
|
|
180
|
-
resetOthers: true,
|
|
181
|
-
filterKeys: [SectionEnum.RESOURCE],
|
|
182
|
-
})
|
|
183
|
-
setActiveItemData(api)
|
|
184
|
-
setActiveType('OVERVIEW')
|
|
185
|
-
}
|
|
186
|
-
}}
|
|
187
|
-
data-active={isOverviewExpanded}
|
|
188
|
-
>
|
|
189
|
-
<SVGLoader src={eye} />
|
|
190
|
-
<span>Overview</span>
|
|
191
|
-
</div>
|
|
192
|
-
|
|
193
|
-
<div
|
|
194
|
-
className="api-docs-api-tree__section__endpoints"
|
|
195
|
-
onClick={() =>
|
|
196
|
-
toggleSection(api.apiSpecId, [{ type: SectionEnum.ENDPOINTS_SECTION }])
|
|
197
|
-
}
|
|
198
|
-
data-active={isEndpointActive && !isOverviewExpanded}
|
|
199
|
-
>
|
|
200
|
-
{expandedSections[endpointsKey] ? (
|
|
201
|
-
<SVGLoader src={arrowDownGray} />
|
|
202
|
-
) : (
|
|
203
|
-
<SVGLoader src={arrowRightGray} />
|
|
204
|
-
)}
|
|
205
|
-
<span>Endpoints</span>
|
|
206
|
-
</div>
|
|
207
|
-
|
|
208
|
-
{expandedSections[endpointsKey] && (
|
|
209
|
-
<div className="api-docs-api-tree__subsections">
|
|
210
|
-
{Object.entries(api.tags)
|
|
211
|
-
.filter(([, endpoints]) => endpoints.length > 0)
|
|
212
|
-
.sort(([a], [b]) =>
|
|
213
|
-
a === 'default' ? 1 : b === 'default' ? -1 : a.localeCompare(b)
|
|
214
|
-
)
|
|
215
|
-
.map(([tagName, data], i) =>
|
|
216
|
-
renderSubSection(tagName, data as EndpointData[], api, i)
|
|
217
|
-
)}
|
|
218
|
-
</div>
|
|
219
|
-
)}
|
|
220
|
-
</>
|
|
221
|
-
)}
|
|
222
|
-
</div>
|
|
223
|
-
)
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
return <aside className="api-docs-api-tree">{apis.map((api) => renderApiSection(api))}</aside>
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export default DocsSideMenuTree
|