@digi-frontend/dgate-api-documentation 1.4.97 → 2.0.0

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 (36) hide show
  1. package/README.md +333 -0
  2. package/dist/index.cjs +983 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +793 -0
  5. package/dist/index.d.cts.map +1 -0
  6. package/dist/index.d.ts +792 -8
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +951 -43
  9. package/dist/index.js.map +1 -1
  10. package/package.json +53 -70
  11. package/dist/index.css +0 -12
  12. package/dist/index.css.map +0 -1
  13. package/dist/index.d.mts +0 -9
  14. package/dist/index.mjs +0 -25
  15. package/dist/index.mjs.map +0 -1
  16. package/src/components/Chips/style.scss +0 -147
  17. package/src/components/InfoForm/InfoForm.module.scss +0 -165
  18. package/src/components/JsonInput/style.module.scss +0 -133
  19. package/src/components/LivePreview/LivePreview.module.scss +0 -181
  20. package/src/components/MethodAccordion/MethodAccordion.module.scss +0 -399
  21. package/src/components/SectionHead/SectionHead.scss +0 -29
  22. package/src/components/SimpleLabelValue/style.scss +0 -30
  23. package/src/components/Tooltip/Tooltip.scss +0 -133
  24. package/src/components/_global.scss +0 -338
  25. package/src/components/dialog/style.scss +0 -188
  26. package/src/components/table/style.scss +0 -223
  27. package/src/layout/docsComponents/Codebox/style.module.scss +0 -43
  28. package/src/layout/docsComponents/DocsAside/style.module.scss +0 -113
  29. package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +0 -382
  30. package/src/layout/docsComponents/DocsContent/OverviewPage/style.scss +0 -332
  31. package/src/layout/docsComponents/DocsContent/style.scss +0 -0
  32. package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +0 -297
  33. package/src/layout/docsComponents/DocsSideMenuTree/style.scss +0 -202
  34. package/src/layout/docsComponents/index.scss +0 -49
  35. package/src/test.scss +0 -3
  36. package/src/test2.module.scss +0 -5
@@ -1,399 +0,0 @@
1
- .methodAccordion {
2
- border: none !important;
3
- box-shadow: none !important;
4
- margin-bottom: 0 !important;
5
-
6
- :global(.accordion-header) {
7
- padding: 0 !important;
8
- margin: 1.25rem 1.875rem 0 1.875rem !important;
9
- height: 2.625rem;
10
- border: none !important;
11
- background-color: transparent !important;
12
- }
13
-
14
- :global(.iconContainer .dropdownIcon) {
15
- display: none !important;
16
- }
17
-
18
- :global(.accordion-details.expanded) {
19
- border: none !important;
20
- padding: 0 !important;
21
- }
22
-
23
- :global(.enumText) {
24
- font-family: 'Cairo';
25
- font-weight: 400;
26
- font-size: 0.875rem;
27
- line-height: 1.25rem;
28
- max-width: 5.5625rem;
29
- white-space: normal;
30
- }
31
-
32
- .methodSummaryContainer {
33
- display: flex;
34
- align-items: center;
35
- gap: 0.9375rem;
36
- margin-bottom: 1.25rem;
37
-
38
- .methodSummary {
39
- display: flex;
40
- align-items: center;
41
- gap: 0.3125rem;
42
- background-color: #f8f9fb;
43
- width: 100%;
44
- padding: 0.3125rem;
45
- border-radius: 0.3125rem;
46
- font-size: 0.875rem;
47
-
48
- .methodLabel {
49
- display: grid;
50
- place-content: center;
51
- width: 5rem;
52
- height: 2rem;
53
- color: white;
54
- border-radius: 0.1875rem;
55
- text-transform: capitalize;
56
- }
57
-
58
- .methodPath {
59
- display: block;
60
- line-height: 1.25rem !important;
61
- }
62
- }
63
-
64
- .methodExpandArrowContainer {
65
- display: grid;
66
- place-content: center;
67
- width: 2.25rem;
68
- aspect-ratio: 1 / 1;
69
- border-radius: 100%;
70
- background-color: #f8f9fb;
71
- margin-left: auto;
72
-
73
- &.expanded {
74
- svg {
75
- rotate: 180deg;
76
- }
77
- }
78
-
79
- svg {
80
- transition: rotate 0.3s ease-in-out;
81
- }
82
- }
83
- }
84
-
85
- .methodAccordionContent {
86
- display: flex;
87
- flex-direction: column;
88
- padding-inline: 1.875rem;
89
-
90
- .multiLineText {
91
- word-break: break-word;
92
- }
93
-
94
- .methodDesc {
95
- margin-top: 1.25rem;
96
- }
97
-
98
- .paramsTable {
99
- margin-top: 1.875rem;
100
- .paramsTableBodyHead {
101
- font-weight: 600;
102
- font-family: 'Cairo';
103
- font-size: 1.875rem;
104
- line-height: 2.5rem;
105
- margin: 0;
106
- margin-bottom: 1.25rem;
107
- }
108
- .responseHeader {
109
- display: flex;
110
- flex-direction: row;
111
- justify-content: space-between;
112
- align-items: center;
113
- display: flex;
114
- align-items: center;
115
-
116
- :global(.multiSelectGroup .optionsList) {
117
- width: 8rem !important;
118
- min-width: 8rem !important;
119
- }
120
-
121
- :global(.multiSelectGroup) {
122
- width: 8rem;
123
- margin-left: auto;
124
-
125
- :global(.selectDisplay) {
126
- height: 2.0625rem !important;
127
- min-height: 2.0625rem !important;
128
- padding: 0;
129
- padding-left: 0.625rem;
130
- }
131
- }
132
-
133
- .statusCodeOptionContainer {
134
- display: grid;
135
- grid-template-columns: min-content min-content;
136
- align-items: center;
137
- gap: 0.625rem;
138
-
139
- .statusCodeOptionCircle {
140
- width: 0.625rem;
141
- aspect-ratio: 1 / 1;
142
- border-radius: 100%;
143
- }
144
- }
145
- }
146
- .paramDescContainer {
147
- display: flex;
148
-
149
- .paramDescContainer_separator {
150
- height: inherit;
151
- width: 1px;
152
- background-color: #d8dae5;
153
- }
154
-
155
- :global(.customBtn) {
156
- svg {
157
- path {
158
- stroke-width: 0.1;
159
- }
160
- }
161
-
162
- &.editDescBtn {
163
- padding: 0;
164
- margin-right: 1.25rem;
165
-
166
- :global(.btnContentWrapper) {
167
- display: flex;
168
- align-items: center;
169
- padding: 0;
170
- color: #12131a;
171
-
172
- :global(.endBtnIcon) {
173
- margin-block: auto;
174
-
175
- svg {
176
- align-self: center;
177
- path {
178
- fill: #12131a;
179
- }
180
- }
181
- }
182
- }
183
- }
184
-
185
- &.deleteParamBtn {
186
- padding: 0;
187
-
188
- :global(.btnContentWrapper) {
189
- :global(.endBtnIcon) {
190
- margin-block: auto;
191
-
192
- svg {
193
- width: 1.125rem;
194
- }
195
- }
196
- }
197
-
198
- &:not(:global(.disabled)):global(.success) {
199
- :global(.endBtnIcon) {
200
- margin-block: auto;
201
-
202
- svg {
203
- width: 1.125rem;
204
- path {
205
- fill: #3aaa35;
206
- }
207
- }
208
- }
209
- }
210
- }
211
- }
212
- }
213
-
214
- .editDescTooltipContent {
215
- display: flex;
216
- flex-direction: column;
217
- gap: 0.625rem;
218
- padding-bottom: 0.625rem;
219
-
220
- > *:not(.editDescTooltipContent_header) {
221
- margin-inline: 0.625rem;
222
- }
223
-
224
- .editDescTooltipContent_header {
225
- font-weight: 600;
226
- font-size: 0.875rem;
227
- line-height: 1.25rem;
228
- padding: 0.75rem 1.25rem;
229
- border-bottom: 1px solid #d8dae5;
230
- }
231
- }
232
-
233
- :global(.requiredParam) {
234
- :global(.headContainer) {
235
- &::after {
236
- content: '*';
237
- color: red;
238
- transform: translateX(0.125rem);
239
- }
240
- }
241
- }
242
- }
243
-
244
- .requestAccordion,
245
- .responseAccordion {
246
- border: 1px solid #babdcc;
247
- border-radius: 0.3125rem !important;
248
- box-shadow: none !important;
249
- margin-bottom: 0 !important;
250
- cursor: default !important;
251
- margin-top: 1.25rem;
252
-
253
- :global(.accordion-header) {
254
- display: flex;
255
- align-items: center;
256
- justify-content: space-between;
257
- margin: 0 !important;
258
- padding: 0 !important;
259
- height: 4.0625rem !important;
260
- border-radius: 0.3125rem !important;
261
- background-color: white !important;
262
- }
263
-
264
- :global(.accordion-details.expanded) {
265
- border-top: 1px solid #babdcc !important;
266
- padding: 1.25rem !important;
267
- padding: 0 !important;
268
-
269
- :global(.jsonField) {
270
- div {
271
- textarea {
272
- border-top-right-radius: 0;
273
- border-top-left-radius: 0;
274
- height: 10rem;
275
- }
276
- }
277
- }
278
- }
279
-
280
- :global(.accordion-details.expanded .textArea .containerTextArea) {
281
- display: flex;
282
- }
283
-
284
- :global(.accordion-details.expanded .textArea .containerTextArea .inputField) {
285
- height: 100%;
286
- padding: 1.25rem;
287
- }
288
-
289
- .requestAccordionSummary,
290
- .responseAccordionSummary {
291
- width: 100%;
292
- display: flex;
293
- justify-content: space-between;
294
- font-weight: 700;
295
- font-size: 1.125rem;
296
- line-height: 1.5rem;
297
- display: flex;
298
- align-items: center;
299
- cursor: default !important;
300
- margin-inline: 0.625rem 1.25rem;
301
- }
302
-
303
- .responseAccordionSummary_title,
304
- .requestAccordionSummary_title {
305
- display: flex;
306
- align-items: center;
307
- cursor: pointer;
308
-
309
- svg {
310
- transition: rotate 0.2s ease-in-out;
311
- }
312
-
313
- .expanded {
314
- rotate: 180deg;
315
- }
316
- }
317
-
318
- :global(.accordion-details) {
319
- :global(.textArea .inputField) {
320
- padding: 0;
321
- border: none;
322
- }
323
- }
324
-
325
- :global(.accordion-header .iconContainer .dropdownIcon) {
326
- display: none !important;
327
- }
328
-
329
- :global(.accordion-header) {
330
- cursor: default;
331
- }
332
- }
333
-
334
- .responseAccordion {
335
- .responseAccordionSummary {
336
- display: flex;
337
- align-items: center;
338
-
339
- :global(.multiSelectGroup .optionsList) {
340
- width: 8rem !important;
341
- min-width: 8rem !important;
342
- }
343
-
344
- :global(.multiSelectGroup) {
345
- width: 8rem;
346
- margin-left: auto;
347
-
348
- :global(.selectDisplay) {
349
- height: 2.0625rem !important;
350
- min-height: 2.0625rem !important;
351
- padding: 0;
352
- padding-left: 0.625rem;
353
- }
354
- }
355
- }
356
-
357
- :global(.accordion-header) {
358
- overflow: visible;
359
- cursor: default;
360
- }
361
-
362
- .statusCodeOptionContainer {
363
- display: grid;
364
- grid-template-columns: min-content min-content;
365
- align-items: center;
366
- gap: 0.625rem;
367
-
368
- .statusCodeOptionCircle {
369
- width: 0.625rem;
370
- aspect-ratio: 1 / 1;
371
- border-radius: 100%;
372
- }
373
- }
374
- }
375
- }
376
-
377
- &.readOnly {
378
- .methodAccordionContent {
379
- padding: 0;
380
- }
381
- :global(.accordion-header) {
382
- margin: 1.25rem 0 0 0 !important;
383
- }
384
-
385
- :global(.accordion-details) {
386
- background-color: transparent !important;
387
- }
388
-
389
- .methodSummaryContainer {
390
- .methodSummary {
391
- background-color: #ebecf2;
392
- }
393
-
394
- .methodExpandArrowContainer {
395
- background-color: #ebecf2;
396
- }
397
- }
398
- }
399
- }
@@ -1,29 +0,0 @@
1
- .containerTitleDrawer {
2
- height: 64px;
3
- min-height: 64px;
4
- display: flex;
5
- flex-direction: row;
6
- justify-content: space-between;
7
- align-items: center;
8
- background-color: #f1f2f6;
9
- padding: 0 30px 0 30px;
10
- width: 100%;
11
-
12
- span {
13
- color: #12131a;
14
- font-weight: 600;
15
- font-size: 18px;
16
- line-height: 25px;
17
- letter-spacing: 0em;
18
- }
19
-
20
- svg {
21
- path {
22
- stroke: #000 !important;
23
- }
24
- }
25
-
26
- .closeIcon {
27
- cursor: pointer;
28
- }
29
- }
@@ -1,30 +0,0 @@
1
- @import '../global';
2
-
3
- .drawerItemContainer {
4
- display: flex;
5
- flex-direction: column;
6
-
7
- .title {
8
- color: #000;
9
- font-weight: 600;
10
- font-size: 24px;
11
- line-height: 35px;
12
- margin-bottom: 3px;
13
- margin-top: 1.5rem;
14
- }
15
-
16
- .text {
17
- color: #000;
18
- font-weight: 400;
19
- font-size: 24px;
20
- line-height: 25px;
21
- }
22
-
23
- .color-green {
24
- color: $success-static;
25
- }
26
-
27
- .color-red {
28
- color: $error-static;
29
- }
30
- }
@@ -1,133 +0,0 @@
1
- .tooltip-custom-wrapper {
2
- display: flex;
3
- }
4
- [data-tippy-root] {
5
- z-index: 2 !important;
6
- }
7
- .tippy-box {
8
- background-color: #202f5b;
9
- font-size: 0.875rem;
10
- border-radius: 0.3125rem;
11
- width: max-content;
12
- max-width: 100%;
13
- overflow-wrap: break-word;
14
- word-break: break-word;
15
- position: relative;
16
- border: 1px solid #d8dae5;
17
- z-index: 2;
18
-
19
- &.function {
20
- .tippy-content {
21
- background-color: #fff !important;
22
- color: #000 !important;
23
- }
24
-
25
- &[data-placement] > .tippy-arrow:before {
26
- color: #fff !important;
27
- }
28
- }
29
-
30
- &.info {
31
- .tippy-arrow {
32
- color: #202f5b;
33
- }
34
- }
35
-
36
- &.success {
37
- border-radius: 1.875rem;
38
- background-color: #3aaa35;
39
- padding-inline: 0.625rem;
40
- }
41
-
42
- .tippy-content {
43
- text-align: justify;
44
- font-size: 0.875rem;
45
- line-height: 1.25rem;
46
- padding: 0.625rem;
47
- }
48
-
49
- .tippy-arrow {
50
- position: relative;
51
- width: 1rem;
52
- height: 1rem;
53
- }
54
-
55
- &[data-placement^='top'] {
56
- .tippy-arrow:before {
57
- bottom: -0.4375rem;
58
- border-width: 0.5rem 0.5rem 0 !important;
59
- }
60
- }
61
-
62
- &[data-placement^='right'] {
63
- .tippy-arrow:before {
64
- left: -0.4375rem;
65
- border-width: 0.5rem 0.5rem 0.5rem 0 !important;
66
- }
67
- }
68
-
69
- &[data-placement^='bottom'] {
70
- .tippy-arrow:before {
71
- top: -0.4375rem;
72
- border-width: 0 0.5rem 0.5rem !important;
73
- }
74
- }
75
-
76
- &[data-placement^='left'] {
77
- .tippy-arrow:before {
78
- right: -0.4375rem;
79
- border-width: 0.5rem 0 0.5rem 0.5rem !important;
80
- }
81
- }
82
-
83
- &[data-placement^='bottom-start'] {
84
- .tippy-arrow {
85
- transform: translate(0.937rem, 0) !important;
86
- }
87
- }
88
-
89
- &[data-placement^='bottom-end'] {
90
- .tippy-arrow {
91
- margin-left: calc(100% - 1.937rem);
92
- transform: translate(0, 0) !important;
93
- }
94
- }
95
-
96
- &[data-placement^='top-start'] {
97
- .tippy-arrow {
98
- transform: translate(0.937rem, 0) !important;
99
- }
100
- }
101
-
102
- &[data-placement^='top-end'] {
103
- .tippy-arrow {
104
- transform: translate(0.937rem, 0) !important;
105
- }
106
- }
107
-
108
- &.arrow-with-border {
109
- border: 1px solid #d8dae5;
110
-
111
- &[data-placement] {
112
- .tippy-arrow {
113
- top: 1px;
114
- background-color: white;
115
- z-index: 2;
116
- height: 1px;
117
-
118
- &:before {
119
- width: 0.625rem;
120
- height: 0.625rem;
121
- background-color: white;
122
- transform: rotate(45deg);
123
- border: none;
124
- border-left: 1px solid #d8dae5 !important;
125
- border-top: 1px solid #d8dae5 !important;
126
- z-index: 2;
127
- top: -0.45rem;
128
- transform-origin: center !important;
129
- }
130
- }
131
- }
132
- }
133
- }