vue-api-request-builder 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.es.js +9042 -10
- package/dist/index.umd.js +159 -1922
- package/package.json +8 -2
- package/dist/abap-D0Neqhq6.js +0 -1404
- package/dist/apex-B5LhxkeG.js +0 -332
- package/dist/assets/css.worker-DNgQEC96.js +0 -84
- package/dist/assets/editor.worker-BKD3YLiN.js +0 -12
- package/dist/assets/html.worker-B7xpmB-M.js +0 -461
- package/dist/assets/json.worker-td2JV8fN.js +0 -49
- package/dist/assets/ts.worker-CqZGdM85.js +0 -51334
- package/dist/azcli-BrBH0QTU.js +0 -74
- package/dist/bat-BfzAov64.js +0 -106
- package/dist/bicep-C3bCSWel.js +0 -108
- package/dist/cameligo-sFL5plcd.js +0 -180
- package/dist/clojure-CfeExRz0.js +0 -767
- package/dist/coffee-Xws5K0WL.js +0 -238
- package/dist/cpp-CqOUEpxN.js +0 -395
- package/dist/csharp-DVLiBOZb.js +0 -332
- package/dist/csp-DVFp9bw5.js +0 -59
- package/dist/css-DwARn2R6.js +0 -193
- package/dist/cssMode-CLL8L5NS.js +0 -1577
- package/dist/cypher-uY0Mffat.js +0 -269
- package/dist/dart-D27H-mX_.js +0 -287
- package/dist/dockerfile-CmV85WZK.js +0 -136
- package/dist/ecl--fKn7yzB.js +0 -462
- package/dist/elixir-DUhH17ON.js +0 -575
- package/dist/flow9-B3Dx2LLe.js +0 -148
- package/dist/freemarker2-DTcNz0NY.js +0 -995
- package/dist/fsharp-SyqBfUAR.js +0 -223
- package/dist/go-BbMR2tdT.js +0 -224
- package/dist/graphql-DDJE6tIl.js +0 -157
- package/dist/handlebars-Cx0-w-7E.js +0 -425
- package/dist/hcl-YBvpaUqf.js +0 -189
- package/dist/html-C5tr3pzc.js +0 -314
- package/dist/htmlMode-CoxRCpNW.js +0 -1587
- package/dist/index-BQj88CBp.js +0 -113063
- package/dist/ini-Ct73dBtM.js +0 -77
- package/dist/java-C_jlkwoG.js +0 -238
- package/dist/javascript-DreDpYLL.js +0 -76
- package/dist/jsonMode-J_5EpjnI.js +0 -2002
- package/dist/julia-D8WE5U1e.js +0 -517
- package/dist/kotlin-Zy9aq5yB.js +0 -259
- package/dist/less-sZ0iHtE8.js +0 -168
- package/dist/lexon-CsdNL29A.js +0 -163
- package/dist/liquid-D4BjZHpf.js +0 -246
- package/dist/lua-C2YJo0zw.js +0 -168
- package/dist/m3-CPLP40SG.js +0 -216
- package/dist/markdown-B1mf5e0R.js +0 -235
- package/dist/mdx-XOAIeZ0T.js +0 -171
- package/dist/mips-DA33BZX1.js +0 -204
- package/dist/msdax-CCYFIQsP.js +0 -381
- package/dist/mysql-hjmIjL-D.js +0 -884
- package/dist/objective-c-RRCpEmqC.js +0 -189
- package/dist/pascal-CeV8XfxB.js +0 -257
- package/dist/pascaligo-IEEGVJAJ.js +0 -170
- package/dist/perl-B5-QbHq_.js +0 -632
- package/dist/pgsql-s6kqEJmi.js +0 -857
- package/dist/php-CWWqzOo8.js +0 -506
- package/dist/pla-FSvb_YP_.js +0 -143
- package/dist/postiats-DQdscQXO.js +0 -913
- package/dist/powerquery-CtA5JA1I.js +0 -896
- package/dist/powershell-DglEq96N.js +0 -245
- package/dist/protobuf-BSepub3e.js +0 -426
- package/dist/pug-B1847F4G.js +0 -408
- package/dist/python-HUeBjc1V.js +0 -307
- package/dist/qsharp-D4i0Nqg9.js +0 -307
- package/dist/r-cdRigKxa.js +0 -249
- package/dist/razor-DIq2UlHM.js +0 -556
- package/dist/redis-D9MFxvE8.js +0 -308
- package/dist/redshift-CmCnsvL-.js +0 -815
- package/dist/restructuredtext-CWy8J51t.js +0 -180
- package/dist/ruby-WP-c36m5.js +0 -517
- package/dist/rust-Q9FLdYpu.js +0 -349
- package/dist/sb-C54-JBGT.js +0 -121
- package/dist/scala-CzbFImc5.js +0 -376
- package/dist/scheme-BhfDmYN3.js +0 -114
- package/dist/scss-CEmiBXpS.js +0 -268
- package/dist/shell-Bmc1VhG0.js +0 -227
- package/dist/solidity-C9Q2I8Hh.js +0 -1373
- package/dist/sophia-jWa1UyKz.js +0 -205
- package/dist/sparql-CM7jctbc.js +0 -207
- package/dist/sql-WzihTkbg.js +0 -859
- package/dist/st-6y7_3aup.js +0 -422
- package/dist/swift-k-0zxG_D.js +0 -318
- package/dist/systemverilog-Pnr5_rIP.js +0 -582
- package/dist/tcl-fNPXval8.js +0 -238
- package/dist/tsMode-CYG-_Z0W.js +0 -895
- package/dist/twig-L2MkztkV.js +0 -398
- package/dist/typescript-_CZvF4eO.js +0 -349
- package/dist/typespec-Cqqo-3Pt.js +0 -123
- package/dist/vb-B5YC2xN9.js +0 -378
- package/dist/wgsl-B-_uRex7.js +0 -445
- package/dist/xml-Bh4P_Mbb.js +0 -101
- package/dist/yaml-CMs-twPQ.js +0 -212
package/README.md
CHANGED
|
@@ -5,6 +5,30 @@ A Vue 3 component for building and testing API requests with a beautiful UI.
|
|
|
5
5
|
# Start of Selection
|
|
6
6
|
[中文文档](README_zh.md)
|
|
7
7
|
|
|
8
|
+
## Workflow
|
|
9
|
+
|
|
10
|
+
```mermaid
|
|
11
|
+
graph TD
|
|
12
|
+
A[Start] --> B[Configure Request]
|
|
13
|
+
B --> C[RequestForm Component]
|
|
14
|
+
C --> D[Set Request Parameters]
|
|
15
|
+
D --> E[URL/Path]
|
|
16
|
+
D --> F[Authentication]
|
|
17
|
+
D --> G[Headers]
|
|
18
|
+
D --> H[Request Body]
|
|
19
|
+
E & F & G & H --> I[Execute Request]
|
|
20
|
+
I --> J[ResponseSection Component]
|
|
21
|
+
J --> K[Display Response]
|
|
22
|
+
K --> L[Status Code]
|
|
23
|
+
K --> M[Response Headers]
|
|
24
|
+
K --> N[Response Body]
|
|
25
|
+
L & M & N --> O[Data Transformation]
|
|
26
|
+
O --> P[DataTransform Component]
|
|
27
|
+
P --> Q[Transform Function]
|
|
28
|
+
Q --> R[Transformed Result]
|
|
29
|
+
R --> S[End]
|
|
30
|
+
```
|
|
31
|
+
|
|
8
32
|
## Installation
|
|
9
33
|
|
|
10
34
|
```bash
|
|
@@ -82,6 +106,19 @@ Displays the response from the API request.
|
|
|
82
106
|
- Response body with formatting
|
|
83
107
|
- Error handling and display
|
|
84
108
|
|
|
109
|
+
### DataTransform
|
|
110
|
+
|
|
111
|
+
Component for configuring and executing data transformation functions.
|
|
112
|
+
|
|
113
|
+
#### Props
|
|
114
|
+
- `modelValue` (string): The transformation function string (v-model)
|
|
115
|
+
|
|
116
|
+
#### Features
|
|
117
|
+
- Code editor interface
|
|
118
|
+
- JavaScript function support
|
|
119
|
+
- Real-time syntax checking
|
|
120
|
+
- Function execution preview
|
|
121
|
+
|
|
85
122
|
### KeyValueInput
|
|
86
123
|
|
|
87
124
|
A reusable component for managing key-value pairs.
|
|
@@ -157,6 +194,17 @@ function executeRequest(
|
|
|
157
194
|
|
|
158
195
|
Executes the API request using either Fetch API or XMLHttpRequest.
|
|
159
196
|
|
|
197
|
+
### executeTransformFunction
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
function executeTransformFunction(
|
|
201
|
+
transformFunctionString: string,
|
|
202
|
+
data: any
|
|
203
|
+
): any
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Executes a data transformation function to convert input data into the desired format.
|
|
207
|
+
|
|
160
208
|
## Dependencies
|
|
161
209
|
|
|
162
210
|
This package requires:
|