@digi-frontend/dgate-api-documentation 1.0.31 → 1.0.32

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.
Files changed (104) hide show
  1. package/.editorconfig +12 -12
  2. package/.prettierignore +7 -7
  3. package/.prettierrc +15 -15
  4. package/dist/{2e10bbdb265df50e.svg → 43595976d1fdccbf.svg} +4 -4
  5. package/dist/{8789eb84283ea95b.svg → 56dc416b683db280.svg} +5 -5
  6. package/dist/{bb8b87cace25e052.svg → 64efc2716808c4a4.svg} +3 -3
  7. package/dist/{d32ce84bbd78babd.svg → 72db3b05a96dd600.svg} +3 -3
  8. package/dist/{d501922060662842.svg → 844eba3f2e42a9eb.svg} +3 -3
  9. package/dist/_virtual/index3.js +1 -1
  10. package/dist/_virtual/index4.js +1 -1
  11. package/dist/_virtual/index5.js +1 -1
  12. package/dist/_virtual/index6.js +1 -1
  13. package/dist/{070dc6ecd197bc80.svg → a7568b270e175038.svg} +8 -8
  14. package/dist/{9bdff13f8d8fa48a.svg → af16a554be8c4d69.svg} +3 -3
  15. package/dist/{7f54eeb0bb2d1150.svg → b82c7612e73342f3.svg} +3 -3
  16. package/dist/node_modules/toposort/index.js +1 -1
  17. package/dist/node_modules/yup/index.esm.js +1 -1
  18. package/dist/src/assets/icons/AddRow.svg.js +1 -1
  19. package/dist/src/assets/icons/AddRow.svg.js.map +1 -1
  20. package/dist/src/assets/icons/CheckMarkSquare.svg.js +1 -1
  21. package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +1 -1
  22. package/dist/src/assets/icons/CloseIcon.svg.js +1 -1
  23. package/dist/src/assets/icons/CloseIcon.svg.js.map +1 -1
  24. package/dist/src/assets/icons/DeleteIcon.svg.js +1 -1
  25. package/dist/src/assets/icons/DeleteIcon.svg.js.map +1 -1
  26. package/dist/src/assets/icons/DownArrow.svg.js +1 -1
  27. package/dist/src/assets/icons/DownArrow.svg.js.map +1 -1
  28. package/dist/src/assets/icons/EditIcon.svg.js +1 -1
  29. package/dist/src/assets/icons/EditIcon.svg.js.map +1 -1
  30. package/dist/src/assets/icons/UpArrow.svg.js +1 -1
  31. package/dist/src/assets/icons/UpArrow.svg.js.map +1 -1
  32. package/dist/src/assets/icons/deleteOutlinedIcon.svg.js +1 -1
  33. package/dist/src/assets/icons/deleteOutlinedIcon.svg.js.map +1 -1
  34. package/dist/src/components/Chips/Chips.js.map +1 -1
  35. package/dist/src/components/InfoForm/InfoForm.js +1 -1
  36. package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
  37. package/dist/src/components/JsonInput/JsonInput.js.map +1 -1
  38. package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
  39. package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
  40. package/dist/src/components/SVGLoader/SVGLoader.js.map +1 -1
  41. package/dist/src/components/SectionHead/SectionHead.js.map +1 -1
  42. package/dist/src/components/SimpleLabelValue/SimpleLabelValue.js.map +1 -1
  43. package/dist/src/components/Tooltip/Tooltip.js.map +1 -1
  44. package/dist/src/components/dialog/index.js.map +1 -1
  45. package/dist/src/components/table/table.js.map +1 -1
  46. package/dist/src/components/table/tags-table.js +1 -1
  47. package/dist/src/components/table/tags-table.js.map +1 -1
  48. package/dist/src/constants/index.js.map +1 -1
  49. package/dist/src/constants/regex.js +1 -1
  50. package/dist/src/constants/regex.js.map +1 -1
  51. package/dist/src/helpers/layout.helper.js.map +1 -1
  52. package/dist/src/helpers/methodAccordion.helper.js.map +1 -1
  53. package/dist/src/layout/layout.js.map +1 -1
  54. package/dist/src/validator/form.scheme.js.map +1 -1
  55. package/dist/styles.css +335 -335
  56. package/package.json +43 -43
  57. package/rollup.config.js +35 -35
  58. package/src/assets/icons/AddRow.svg +3 -3
  59. package/src/assets/icons/CheckMarkSquare.svg +5 -5
  60. package/src/assets/icons/CloseIcon.svg +4 -4
  61. package/src/assets/icons/DeleteIcon.svg +3 -3
  62. package/src/assets/icons/DownArrow.svg +3 -3
  63. package/src/assets/icons/EditIcon.svg +3 -3
  64. package/src/assets/icons/UpArrow.svg +3 -3
  65. package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
  66. package/src/assets/icons/index.ts +8 -8
  67. package/src/components/Chips/Chips.tsx +87 -87
  68. package/src/components/Chips/style.scss +147 -147
  69. package/src/components/InfoForm/InfoForm.module.scss +165 -165
  70. package/src/components/InfoForm/InfoForm.tsx +424 -426
  71. package/src/components/JsonInput/JsonInput.tsx +149 -149
  72. package/src/components/JsonInput/style.module.scss +133 -133
  73. package/src/components/LivePreview/LivePreview.module.scss +24 -24
  74. package/src/components/LivePreview/LivePreview.tsx +184 -184
  75. package/src/components/MethodAccordion/MethodAccordion.module.scss +338 -338
  76. package/src/components/MethodAccordion/MethodAccordion.tsx +515 -515
  77. package/src/components/SVGLoader/SVGLoader.tsx +94 -94
  78. package/src/components/SectionHead/SectionHead.scss +29 -29
  79. package/src/components/SectionHead/SectionHead.tsx +22 -22
  80. package/src/components/SimpleLabelValue/SimpleLabelValue.tsx +31 -31
  81. package/src/components/SimpleLabelValue/index.ts +1 -1
  82. package/src/components/SimpleLabelValue/style.scss +30 -30
  83. package/src/components/Tooltip/Tooltip.scss +133 -133
  84. package/src/components/Tooltip/Tooltip.tsx +85 -85
  85. package/src/components/_global.scss +337 -337
  86. package/src/components/dialog/dialog.ts +54 -54
  87. package/src/components/dialog/index.tsx +85 -85
  88. package/src/components/dialog/style.scss +104 -104
  89. package/src/components/table/style.scss +190 -190
  90. package/src/components/table/table.tsx +327 -327
  91. package/src/components/table/tags-table.tsx +348 -348
  92. package/src/constants/index.ts +93 -93
  93. package/src/constants/regex.ts +7 -7
  94. package/src/global.d.ts +13 -13
  95. package/src/helpers/layout.helper.ts +162 -162
  96. package/src/helpers/methodAccordion.helper.ts +19 -19
  97. package/src/index.ts +1 -1
  98. package/src/layout/layout.module.css +61 -61
  99. package/src/layout/layout.tsx +150 -150
  100. package/src/types/layout.type.ts +30 -30
  101. package/src/types/openApi.ts +108 -108
  102. package/src/types/transformedOpenApi.ts +52 -52
  103. package/src/validator/form.scheme.ts +70 -70
  104. package/tsconfig.json +33 -33
package/dist/styles.css CHANGED
@@ -1,103 +1,121 @@
1
- .containerTitleDrawer {
2
- height: 64px;
3
- min-height: 64px;
1
+ .apiInfoForm {
2
+ display: grid;
3
+ padding: 1.25rem 1.875rem;
4
+ gap: 1.25rem;
5
+ }
6
+ .apiInfoForm .paramsTable .paramDescContainer {
7
+ display: flex;
8
+ }
9
+ .apiInfoForm .paramsTable .paramDescContainer .paramDescContainer_separator {
10
+ height: inherit;
11
+ width: 1px;
12
+ background-color: #d8dae5;
13
+ }
14
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn) svg path {
15
+ stroke-width: 0.1;
16
+ }
17
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn {
18
+ padding: 0;
19
+ margin-right: 1.25rem;
20
+ }
21
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) {
4
22
  display: flex;
5
- flex-direction: row;
6
- justify-content: space-between;
7
23
  align-items: center;
8
- background-color: #f1f2f6;
9
- padding: 0 30px 0 30px;
10
- width: 100%;
24
+ padding: 0;
25
+ font-size: 0.875rem;
11
26
  }
12
- .containerTitleDrawer span {
13
- color: #12131a;
14
- font-weight: 600;
15
- font-size: 18px;
16
- line-height: 25px;
17
- letter-spacing: 0em;
27
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
28
+ margin-block: auto;
18
29
  }
19
- .containerTitleDrawer svg path {
20
- stroke: #000 !important;
30
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg path {
31
+ fill: #12131a;
21
32
  }
22
- .containerTitleDrawer .closeIcon {
23
- cursor: pointer;
24
- }#common-dialog.dialog-content-wrapper {
25
- overflow: visible !important;
26
- max-height: 100%;
27
- width: 22.1875rem;
33
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn {
34
+ padding: 0;
35
+ border-width: 0 !important;
28
36
  }
29
- #common-dialog.dialog-content-wrapper .dialog-content-root {
30
- overflow: visible !important;
31
- border-radius: 0.625rem;
32
- max-height: 100%;
37
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
38
+ margin-block: auto;
33
39
  }
34
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content {
35
- padding: 0 1.875rem !important;
36
- overflow: visible !important;
37
- max-height: 100%;
40
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg {
41
+ width: 1.125rem;
38
42
  }
39
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog {
40
- position: relative;
43
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) {
44
+ margin-block: auto;
41
45
  }
42
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .close-icon {
43
- position: absolute;
44
- z-index: 1;
45
- top: 1.5rem;
46
- right: 0;
47
- transform: translate(0.625rem, -0.625rem);
48
- cursor: pointer;
46
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg {
47
+ width: 1.125rem;
49
48
  }
50
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header {
51
- display: flex;
52
- padding-top: 0.5rem;
53
- position: relative;
49
+ .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg path {
50
+ fill: #3aaa35;
54
51
  }
55
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon {
56
- margin-top: 1rem;
57
- margin-bottom: 1.5rem;
58
- margin-inline: auto;
52
+ .apiInfoForm .paramsTable .externalDocsLink {
53
+ font-size: 0.875rem;
54
+ line-height: 1.25rem;
55
+ cursor: pointer;
56
+ align-self: center;
57
+ margin-right: 2rem;
59
58
  }
60
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info path {
61
- stroke: #12131a;
59
+ .apiInfoForm .paramsTable .editExternalDocs {
60
+ display: flex;
61
+ align-items: center;
62
+ padding-right: 0.625rem;
62
63
  }
63
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info line {
64
- stroke: #12131a;
64
+ .apiInfoForm .paramsTable .editExternalDocs svg {
65
+ cursor: pointer;
65
66
  }
66
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info line + path {
67
+ .apiInfoForm .paramsTable .editExternalDocs svg path {
67
68
  fill: #12131a;
68
69
  }
69
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.warning path {
70
- stroke: #faad14;
70
+ .apiInfoForm .paramsTable .editDescTooltipContent {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 0.625rem;
74
+ padding-bottom: 0.625rem;
71
75
  }
72
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.warning line {
73
- stroke: #faad14;
76
+ .apiInfoForm .paramsTable .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
77
+ margin-inline: 0.625rem;
74
78
  }
75
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error path {
76
- stroke: #da3f3f;
79
+ .apiInfoForm .paramsTable .editDescTooltipContent .editDescTooltipContent_header {
80
+ font-weight: 600;
81
+ font-size: 0.875rem;
82
+ line-height: 1.25rem;
83
+ padding: 0.75rem 1.25rem;
84
+ border-bottom: 1px solid #d8dae5;
77
85
  }
78
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error line {
79
- stroke: #da3f3f;
86
+ .apiInfoForm .paramsTable :global(.requiredParam) :global(.headContainer)::after {
87
+ content: "*";
88
+ color: red;
89
+ transform: translateX(0.125rem);
80
90
  }
81
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error line + path {
82
- fill: #da3f3f;
91
+ .apiInfoForm .apiDocRow {
92
+ display: grid;
93
+ grid-template-columns: 1fr 1fr;
94
+ gap: 1.25rem;
83
95
  }
84
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title {
85
- font-size: 1.5rem;
86
- font-weight: 500;
87
- line-height: 1.875rem;
88
- text-align: center;
89
- margin-bottom: 0.625rem;
96
+ .apiInfoForm .apiInfoForm_tagsChips {
97
+ margin-top: -1.25rem;
90
98
  }
91
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title.error-title {
92
- color: #da3f3f;
99
+ .apiInfoForm .editDescTooltipContent {
100
+ display: flex;
101
+ flex-direction: column;
102
+ gap: 0.625rem;
103
+ padding-bottom: 0.625rem;
93
104
  }
94
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title.warning-title {
95
- color: #faad14;
105
+ .apiInfoForm .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
106
+ margin-inline: 0.625rem;
96
107
  }
97
- #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-footer {
98
- display: flex;
99
- gap: 1.25rem;
100
- margin-top: 1.875rem;
108
+ .apiInfoForm .editDescTooltipContent .editDescTooltipContent_header {
109
+ font-weight: 600;
110
+ font-size: 0.875rem;
111
+ line-height: 1.25rem;
112
+ padding: 0.75rem 1.25rem;
113
+ border-bottom: 1px solid #d8dae5;
114
+ }
115
+ .apiInfoForm :global(.requiredParam) :global(.headContainer)::after {
116
+ content: "*";
117
+ color: red;
118
+ transform: translateX(0.125rem);
101
119
  }.methodAccordion {
102
120
  border: none !important;
103
121
  box-shadow: none !important;
@@ -390,330 +408,312 @@
390
408
  .livePreviewContainer .titleContainer .livePreviewChip {
391
409
  background-color: #ebecf2;
392
410
  color: #12131a;
393
- }.json-editor-container {
394
- overflow: hidden;
395
- border-bottom-right-radius: 0.3125rem;
396
- border-bottom-left-radius: 0.3125rem;
411
+ }.tooltip-custom-wrapper {
412
+ display: flex;
397
413
  }
398
- .json-editor-container .json-editor-label {
399
- font-size: 0.875rem;
400
- font-weight: 600;
401
- line-height: 1.25rem;
402
- margin-bottom: 0.3125rem;
414
+
415
+ [data-tippy-root] {
416
+ z-index: 2 !important;
403
417
  }
404
- .json-editor-container .json-editor {
405
- display: flex;
406
- flex-direction: column;
407
- background-color: #142452;
408
- width: 100%;
409
- outline: 1px solid transparent;
418
+
419
+ .tippy-box {
420
+ background-color: #202f5b;
421
+ font-size: 0.875rem;
422
+ border-radius: 0.3125rem;
423
+ width: max-content;
424
+ max-width: 100%;
425
+ overflow-wrap: break-word;
426
+ word-break: break-word;
410
427
  position: relative;
411
- overflow: hidden;
428
+ border: 1px solid #d8dae5;
429
+ z-index: 2;
412
430
  }
413
- .json-editor-container .json-editor .actions-container {
414
- width: 100%;
415
- height: 5rem;
416
- padding: 1.25rem;
417
- border-radius: 0 0 0.3125rem 0.3125rem;
418
- background: #101e47;
419
- display: flex;
420
- flex-direction: row;
421
- gap: 1.25rem;
422
- align-items: center;
431
+ .tippy-box.function .tippy-content {
432
+ background-color: #fff !important;
433
+ color: #000 !important;
423
434
  }
424
- .json-editor-container .json-editor .actions-container .validate {
425
- color: #fff;
426
- text-align: center;
427
- font-size: 1rem;
428
- font-style: normal;
429
- font-weight: 600;
430
- line-height: 1.25rem;
431
- width: 8.75rem;
432
- padding: 0.625rem 2.25rem;
433
- background-color: rgba(240, 248, 255, 0);
434
- border-radius: 0.3125rem;
435
- border: 0.0625rem solid #4d75d8;
436
- cursor: pointer;
435
+ .tippy-box.function[data-placement] > .tippy-arrow:before {
436
+ color: #fff !important;
437
437
  }
438
- .json-editor-container .json-editor .actions-container .validate:disabled {
439
- color: #babdcc;
440
- border-color: #a2a5b6;
438
+ .tippy-box.info .tippy-arrow {
439
+ color: #202f5b;
441
440
  }
442
- .json-editor-container .json-editor .actions-container .beautify {
443
- color: #fff;
444
- text-align: center;
445
- font-size: 1rem;
446
- font-style: normal;
447
- font-weight: 600;
441
+ .tippy-box.success {
442
+ border-radius: 1.875rem;
443
+ background-color: #3aaa35;
444
+ padding-inline: 0.625rem;
445
+ }
446
+ .tippy-box .tippy-content {
447
+ text-align: justify;
448
+ font-size: 0.875rem;
448
449
  line-height: 1.25rem;
449
- width: 8.75rem;
450
- padding: 0.625rem 2.25rem;
451
- background-color: rgba(240, 248, 255, 0);
452
- border-radius: 0.3125rem;
453
- border: 1px solid #babdcc;
454
- cursor: pointer;
450
+ padding: 0.625rem;
455
451
  }
456
- .json-editor-container .json-editor .actions-container .beautify:disabled {
457
- color: #a2a5b6;
458
- border-color: #a2a5b6;
452
+ .tippy-box .tippy-arrow {
453
+ position: relative;
454
+ width: 1rem;
455
+ height: 1rem;
459
456
  }
460
- .json-editor-container .json-editor textarea {
461
- width: 100%;
462
- padding: 1.25rem;
463
- font-size: 0.875rem;
464
- font-style: normal;
465
- font-weight: 400;
466
- line-height: 1.25rem;
467
- color: white;
468
- height: 25rem;
469
- background-color: #142452;
470
- border: none;
471
- resize: none;
457
+ .tippy-box[data-placement^=top] .tippy-arrow:before {
458
+ bottom: -0.4375rem;
459
+ border-width: 0.5rem 0.5rem 0 !important;
472
460
  }
473
- .json-editor-container .json-editor textarea:focus, .json-editor-container .json-editor textarea:focus-within, .json-editor-container .json-editor textarea:focus-visible .json-editor-container .json-editor textarea:active {
474
- outline: none;
475
- border: none;
461
+ .tippy-box[data-placement^=right] .tippy-arrow:before {
462
+ left: -0.4375rem;
463
+ border-width: 0.5rem 0.5rem 0.5rem 0 !important;
476
464
  }
477
- .json-editor-container .json-editor textarea::-webkit-scrollbar {
478
- width: 0.5rem;
465
+ .tippy-box[data-placement^=bottom] .tippy-arrow:before {
466
+ top: -0.4375rem;
467
+ border-width: 0 0.5rem 0.5rem !important;
479
468
  }
480
- .json-editor-container .json-editor textarea::-webkit-scrollbar-track {
481
- background-color: #828699;
482
- border: none;
483
- border-color: transparent;
484
- border-top-left-radius: 0;
469
+ .tippy-box[data-placement^=left] .tippy-arrow:before {
470
+ right: -0.4375rem;
471
+ border-width: 0.5rem 0 0.5rem 0.5rem !important;
485
472
  }
486
- .json-editor-container .json-editor textarea::-webkit-scrollbar-thumb {
487
- background-color: #d8dae5;
488
- border: none;
489
- border-color: transparent;
490
- border-radius: 0;
473
+ .tippy-box[data-placement^=bottom-start] .tippy-arrow {
474
+ transform: translate(0.937rem, 0) !important;
491
475
  }
492
- .json-editor-container .json-editor.invalid {
493
- outline: 1px solid #ce2828 !important;
476
+ .tippy-box[data-placement^=bottom-end] .tippy-arrow {
477
+ margin-left: calc(100% - 1.937rem);
478
+ transform: translate(0, 0) !important;
494
479
  }
495
- .json-editor-container .error-message {
496
- color: #ce2828;
497
- font-size: 0.75rem;
498
- line-height: 1.25rem;
499
- margin-top: 0.625rem;
480
+ .tippy-box[data-placement^=top-start] .tippy-arrow {
481
+ transform: translate(0.937rem, 0) !important;
500
482
  }
501
- .json-editor-container.disabled .json-editor textarea {
483
+ .tippy-box[data-placement^=top-end] .tippy-arrow {
484
+ transform: translate(0.937rem, 0) !important;
485
+ }
486
+ .tippy-box.arrow-with-border {
487
+ border: 1px solid #d8dae5;
488
+ }
489
+ .tippy-box.arrow-with-border[data-placement] .tippy-arrow {
490
+ top: 1px;
502
491
  background-color: white;
503
- color: #12131a;
504
- }.apiInfoForm {
505
- display: grid;
506
- padding: 1.25rem 1.875rem;
507
- gap: 1.25rem;
492
+ z-index: 2;
493
+ height: 1px;
508
494
  }
509
- .apiInfoForm .paramsTable .paramDescContainer {
510
- display: flex;
495
+ .tippy-box.arrow-with-border[data-placement] .tippy-arrow:before {
496
+ width: 0.625rem;
497
+ height: 0.625rem;
498
+ background-color: white;
499
+ transform: rotate(45deg);
500
+ border: none;
501
+ border-left: 1px solid #d8dae5 !important;
502
+ border-top: 1px solid #d8dae5 !important;
503
+ z-index: 2;
504
+ top: -0.45rem;
505
+ transform-origin: center !important;
506
+ }#common-dialog.dialog-content-wrapper {
507
+ overflow: visible !important;
508
+ max-height: 100%;
509
+ width: 22.1875rem;
511
510
  }
512
- .apiInfoForm .paramsTable .paramDescContainer .paramDescContainer_separator {
513
- height: inherit;
514
- width: 1px;
515
- background-color: #d8dae5;
511
+ #common-dialog.dialog-content-wrapper .dialog-content-root {
512
+ overflow: visible !important;
513
+ border-radius: 0.625rem;
514
+ max-height: 100%;
516
515
  }
517
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn) svg path {
518
- stroke-width: 0.1;
516
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content {
517
+ padding: 0 1.875rem !important;
518
+ overflow: visible !important;
519
+ max-height: 100%;
519
520
  }
520
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn {
521
- padding: 0;
522
- margin-right: 1.25rem;
521
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog {
522
+ position: relative;
523
523
  }
524
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) {
524
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .close-icon {
525
+ position: absolute;
526
+ z-index: 1;
527
+ top: 1.5rem;
528
+ right: 0;
529
+ transform: translate(0.625rem, -0.625rem);
530
+ cursor: pointer;
531
+ }
532
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header {
525
533
  display: flex;
526
- align-items: center;
527
- padding: 0;
528
- font-size: 0.875rem;
534
+ padding-top: 0.5rem;
535
+ position: relative;
529
536
  }
530
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
531
- margin-block: auto;
537
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon {
538
+ margin-top: 1rem;
539
+ margin-bottom: 1.5rem;
540
+ margin-inline: auto;
532
541
  }
533
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg path {
534
- fill: #12131a;
542
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info path {
543
+ stroke: #12131a;
535
544
  }
536
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn {
537
- padding: 0;
538
- border-width: 0 !important;
545
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info line {
546
+ stroke: #12131a;
539
547
  }
540
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
541
- margin-block: auto;
548
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.info line + path {
549
+ fill: #12131a;
542
550
  }
543
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg {
544
- width: 1.125rem;
551
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.warning path {
552
+ stroke: #faad14;
545
553
  }
546
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) {
547
- margin-block: auto;
554
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.warning line {
555
+ stroke: #faad14;
548
556
  }
549
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg {
550
- width: 1.125rem;
557
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error path {
558
+ stroke: #da3f3f;
551
559
  }
552
- .apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg path {
553
- fill: #3aaa35;
560
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error line {
561
+ stroke: #da3f3f;
554
562
  }
555
- .apiInfoForm .paramsTable .externalDocsLink {
556
- font-size: 0.875rem;
557
- line-height: 1.25rem;
558
- cursor: pointer;
559
- align-self: center;
560
- margin-right: 2rem;
563
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-header .icon.error line + path {
564
+ fill: #da3f3f;
561
565
  }
562
- .apiInfoForm .paramsTable .editExternalDocs {
563
- display: flex;
564
- align-items: center;
565
- padding-right: 0.625rem;
566
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title {
567
+ font-size: 1.5rem;
568
+ font-weight: 500;
569
+ line-height: 1.875rem;
570
+ text-align: center;
571
+ margin-bottom: 0.625rem;
566
572
  }
567
- .apiInfoForm .paramsTable .editExternalDocs svg {
568
- cursor: pointer;
573
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title.error-title {
574
+ color: #da3f3f;
569
575
  }
570
- .apiInfoForm .paramsTable .editExternalDocs svg path {
571
- fill: #12131a;
576
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-title.warning-title {
577
+ color: #faad14;
572
578
  }
573
- .apiInfoForm .paramsTable .editDescTooltipContent {
579
+ #common-dialog.dialog-content-wrapper .dialog-content-root .dialog-content .common-dialog .confirmation-dialog-footer {
574
580
  display: flex;
575
- flex-direction: column;
576
- gap: 0.625rem;
577
- padding-bottom: 0.625rem;
578
- }
579
- .apiInfoForm .paramsTable .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
580
- margin-inline: 0.625rem;
581
+ gap: 1.25rem;
582
+ margin-top: 1.875rem;
583
+ }.json-editor-container {
584
+ overflow: hidden;
585
+ border-bottom-right-radius: 0.3125rem;
586
+ border-bottom-left-radius: 0.3125rem;
581
587
  }
582
- .apiInfoForm .paramsTable .editDescTooltipContent .editDescTooltipContent_header {
583
- font-weight: 600;
588
+ .json-editor-container .json-editor-label {
584
589
  font-size: 0.875rem;
590
+ font-weight: 600;
585
591
  line-height: 1.25rem;
586
- padding: 0.75rem 1.25rem;
587
- border-bottom: 1px solid #d8dae5;
588
- }
589
- .apiInfoForm .paramsTable :global(.requiredParam) :global(.headContainer)::after {
590
- content: "*";
591
- color: red;
592
- transform: translateX(0.125rem);
593
- }
594
- .apiInfoForm .apiDocRow {
595
- display: grid;
596
- grid-template-columns: 1fr 1fr;
597
- gap: 1.25rem;
598
- }
599
- .apiInfoForm .apiInfoForm_tagsChips {
600
- margin-top: -1.25rem;
592
+ margin-bottom: 0.3125rem;
601
593
  }
602
- .apiInfoForm .editDescTooltipContent {
594
+ .json-editor-container .json-editor {
603
595
  display: flex;
604
596
  flex-direction: column;
605
- gap: 0.625rem;
606
- padding-bottom: 0.625rem;
597
+ background-color: #142452;
598
+ width: 100%;
599
+ outline: 1px solid transparent;
600
+ position: relative;
601
+ overflow: hidden;
607
602
  }
608
- .apiInfoForm .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
609
- margin-inline: 0.625rem;
603
+ .json-editor-container .json-editor .actions-container {
604
+ width: 100%;
605
+ height: 5rem;
606
+ padding: 1.25rem;
607
+ border-radius: 0 0 0.3125rem 0.3125rem;
608
+ background: #101e47;
609
+ display: flex;
610
+ flex-direction: row;
611
+ gap: 1.25rem;
612
+ align-items: center;
610
613
  }
611
- .apiInfoForm .editDescTooltipContent .editDescTooltipContent_header {
614
+ .json-editor-container .json-editor .actions-container .validate {
615
+ color: #fff;
616
+ text-align: center;
617
+ font-size: 1rem;
618
+ font-style: normal;
612
619
  font-weight: 600;
613
- font-size: 0.875rem;
614
620
  line-height: 1.25rem;
615
- padding: 0.75rem 1.25rem;
616
- border-bottom: 1px solid #d8dae5;
617
- }
618
- .apiInfoForm :global(.requiredParam) :global(.headContainer)::after {
619
- content: "*";
620
- color: red;
621
- transform: translateX(0.125rem);
622
- }.tooltip-custom-wrapper {
623
- display: flex;
624
- }
625
-
626
- [data-tippy-root] {
627
- z-index: 2 !important;
628
- }
629
-
630
- .tippy-box {
631
- background-color: #202f5b;
632
- font-size: 0.875rem;
621
+ width: 8.75rem;
622
+ padding: 0.625rem 2.25rem;
623
+ background-color: rgba(240, 248, 255, 0);
633
624
  border-radius: 0.3125rem;
634
- width: max-content;
635
- max-width: 100%;
636
- overflow-wrap: break-word;
637
- word-break: break-word;
638
- position: relative;
639
- border: 1px solid #d8dae5;
640
- z-index: 2;
641
- }
642
- .tippy-box.function .tippy-content {
643
- background-color: #fff !important;
644
- color: #000 !important;
625
+ border: 0.0625rem solid #4d75d8;
626
+ cursor: pointer;
645
627
  }
646
- .tippy-box.function[data-placement] > .tippy-arrow:before {
647
- color: #fff !important;
628
+ .json-editor-container .json-editor .actions-container .validate:disabled {
629
+ color: #babdcc;
630
+ border-color: #a2a5b6;
648
631
  }
649
- .tippy-box.info .tippy-arrow {
650
- color: #202f5b;
632
+ .json-editor-container .json-editor .actions-container .beautify {
633
+ color: #fff;
634
+ text-align: center;
635
+ font-size: 1rem;
636
+ font-style: normal;
637
+ font-weight: 600;
638
+ line-height: 1.25rem;
639
+ width: 8.75rem;
640
+ padding: 0.625rem 2.25rem;
641
+ background-color: rgba(240, 248, 255, 0);
642
+ border-radius: 0.3125rem;
643
+ border: 1px solid #babdcc;
644
+ cursor: pointer;
651
645
  }
652
- .tippy-box.success {
653
- border-radius: 1.875rem;
654
- background-color: #3aaa35;
655
- padding-inline: 0.625rem;
646
+ .json-editor-container .json-editor .actions-container .beautify:disabled {
647
+ color: #a2a5b6;
648
+ border-color: #a2a5b6;
656
649
  }
657
- .tippy-box .tippy-content {
658
- text-align: justify;
650
+ .json-editor-container .json-editor textarea {
651
+ width: 100%;
652
+ padding: 1.25rem;
659
653
  font-size: 0.875rem;
654
+ font-style: normal;
655
+ font-weight: 400;
660
656
  line-height: 1.25rem;
661
- padding: 0.625rem;
662
- }
663
- .tippy-box .tippy-arrow {
664
- position: relative;
665
- width: 1rem;
666
- height: 1rem;
667
- }
668
- .tippy-box[data-placement^=top] .tippy-arrow:before {
669
- bottom: -0.4375rem;
670
- border-width: 0.5rem 0.5rem 0 !important;
657
+ color: white;
658
+ height: 25rem;
659
+ background-color: #142452;
660
+ border: none;
661
+ resize: none;
671
662
  }
672
- .tippy-box[data-placement^=right] .tippy-arrow:before {
673
- left: -0.4375rem;
674
- border-width: 0.5rem 0.5rem 0.5rem 0 !important;
663
+ .json-editor-container .json-editor textarea:focus, .json-editor-container .json-editor textarea:focus-within, .json-editor-container .json-editor textarea:focus-visible .json-editor-container .json-editor textarea:active {
664
+ outline: none;
665
+ border: none;
675
666
  }
676
- .tippy-box[data-placement^=bottom] .tippy-arrow:before {
677
- top: -0.4375rem;
678
- border-width: 0 0.5rem 0.5rem !important;
667
+ .json-editor-container .json-editor textarea::-webkit-scrollbar {
668
+ width: 0.5rem;
679
669
  }
680
- .tippy-box[data-placement^=left] .tippy-arrow:before {
681
- right: -0.4375rem;
682
- border-width: 0.5rem 0 0.5rem 0.5rem !important;
670
+ .json-editor-container .json-editor textarea::-webkit-scrollbar-track {
671
+ background-color: #828699;
672
+ border: none;
673
+ border-color: transparent;
674
+ border-top-left-radius: 0;
683
675
  }
684
- .tippy-box[data-placement^=bottom-start] .tippy-arrow {
685
- transform: translate(0.937rem, 0) !important;
676
+ .json-editor-container .json-editor textarea::-webkit-scrollbar-thumb {
677
+ background-color: #d8dae5;
678
+ border: none;
679
+ border-color: transparent;
680
+ border-radius: 0;
686
681
  }
687
- .tippy-box[data-placement^=bottom-end] .tippy-arrow {
688
- margin-left: calc(100% - 1.937rem);
689
- transform: translate(0, 0) !important;
682
+ .json-editor-container .json-editor.invalid {
683
+ outline: 1px solid #ce2828 !important;
690
684
  }
691
- .tippy-box[data-placement^=top-start] .tippy-arrow {
692
- transform: translate(0.937rem, 0) !important;
685
+ .json-editor-container .error-message {
686
+ color: #ce2828;
687
+ font-size: 0.75rem;
688
+ line-height: 1.25rem;
689
+ margin-top: 0.625rem;
693
690
  }
694
- .tippy-box[data-placement^=top-end] .tippy-arrow {
695
- transform: translate(0.937rem, 0) !important;
691
+ .json-editor-container.disabled .json-editor textarea {
692
+ background-color: white;
693
+ color: #12131a;
694
+ }.containerTitleDrawer {
695
+ height: 64px;
696
+ min-height: 64px;
697
+ display: flex;
698
+ flex-direction: row;
699
+ justify-content: space-between;
700
+ align-items: center;
701
+ background-color: #f1f2f6;
702
+ padding: 0 30px 0 30px;
703
+ width: 100%;
696
704
  }
697
- .tippy-box.arrow-with-border {
698
- border: 1px solid #d8dae5;
705
+ .containerTitleDrawer span {
706
+ color: #12131a;
707
+ font-weight: 600;
708
+ font-size: 18px;
709
+ line-height: 25px;
710
+ letter-spacing: 0em;
699
711
  }
700
- .tippy-box.arrow-with-border[data-placement] .tippy-arrow {
701
- top: 1px;
702
- background-color: white;
703
- z-index: 2;
704
- height: 1px;
712
+ .containerTitleDrawer svg path {
713
+ stroke: #000 !important;
705
714
  }
706
- .tippy-box.arrow-with-border[data-placement] .tippy-arrow:before {
707
- width: 0.625rem;
708
- height: 0.625rem;
709
- background-color: white;
710
- transform: rotate(45deg);
711
- border: none;
712
- border-left: 1px solid #d8dae5 !important;
713
- border-top: 1px solid #d8dae5 !important;
714
- z-index: 2;
715
- top: -0.45rem;
716
- transform-origin: center !important;
715
+ .containerTitleDrawer .closeIcon {
716
+ cursor: pointer;
717
717
  }:root {
718
718
  --white: #fff;
719
719
  --Gray-5: #f1f2f6;