@mohsinonxrm/pptb-dataverse-request-studio 1.1.2 → 1.1.3
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/CHANGELOG.md +311 -291
- package/dist/assets/{index-5tMsnF1q.js → index-CCZE1KQi.js} +7 -7
- package/dist/index.html +128 -96
- package/index.html +263 -231
- package/npm-shrinkwrap.json +3832 -3815
- package/package.json +101 -98
package/dist/index.html
CHANGED
|
@@ -1,44 +1,52 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en" data-theme="light">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Dataverse Request Studio</title>
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" data-theme="light">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Dataverse Request Studio</title>
|
|
7
7
|
<style>
|
|
8
|
-
html,
|
|
9
|
-
body
|
|
8
|
+
html,
|
|
9
|
+
body,
|
|
10
|
+
#root {
|
|
11
|
+
height: 100%;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
body {
|
|
16
|
+
font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
|
|
17
|
+
}
|
|
10
18
|
|
|
11
19
|
/* Brand / method colors — CSS-var bridge per gotcha G-001.
|
|
12
20
|
Switched on data-theme attribute on <html>. */
|
|
13
21
|
:root[data-theme='light'] {
|
|
14
|
-
--color-request-read:
|
|
15
|
-
--color-request-write:
|
|
16
|
-
--color-request-relate:
|
|
22
|
+
--color-request-read: #005a9e;
|
|
23
|
+
--color-request-write: #107c10;
|
|
24
|
+
--color-request-relate: #8764b8;
|
|
17
25
|
--color-request-execute: #ca5010;
|
|
18
|
-
--color-request-binary:
|
|
26
|
+
--color-request-binary: #9d432c;
|
|
19
27
|
|
|
20
|
-
--color-method-get:
|
|
21
|
-
--color-method-post:
|
|
22
|
-
--color-method-patch:
|
|
23
|
-
--color-method-put:
|
|
28
|
+
--color-method-get: #005a9e;
|
|
29
|
+
--color-method-post: #107c10;
|
|
30
|
+
--color-method-patch: #ca5010;
|
|
31
|
+
--color-method-put: #9d432c;
|
|
24
32
|
--color-method-delete: #a4262c;
|
|
25
|
-
--color-method-batch:
|
|
33
|
+
--color-method-batch: #8764b8;
|
|
26
34
|
|
|
27
35
|
--canvas-bg: #f0eee9;
|
|
28
36
|
}
|
|
29
37
|
:root[data-theme='dark'] {
|
|
30
|
-
--color-request-read:
|
|
31
|
-
--color-request-write:
|
|
32
|
-
--color-request-relate:
|
|
38
|
+
--color-request-read: #62b1f8;
|
|
39
|
+
--color-request-write: #6ccb5f;
|
|
40
|
+
--color-request-relate: #b4a0ff;
|
|
33
41
|
--color-request-execute: #f7894a;
|
|
34
|
-
--color-request-binary:
|
|
42
|
+
--color-request-binary: #d69c8b;
|
|
35
43
|
|
|
36
|
-
--color-method-get:
|
|
37
|
-
--color-method-post:
|
|
38
|
-
--color-method-patch:
|
|
39
|
-
--color-method-put:
|
|
44
|
+
--color-method-get: #62b1f8;
|
|
45
|
+
--color-method-post: #6ccb5f;
|
|
46
|
+
--color-method-patch: #f7894a;
|
|
47
|
+
--color-method-put: #d69c8b;
|
|
40
48
|
--color-method-delete: #f1707b;
|
|
41
|
-
--color-method-batch:
|
|
49
|
+
--color-method-batch: #b4a0ff;
|
|
42
50
|
|
|
43
51
|
--canvas-bg: #1a1a1a;
|
|
44
52
|
}
|
|
@@ -69,52 +77,52 @@
|
|
|
69
77
|
a no-op cascade for the most common mode group.
|
|
70
78
|
───────────────────────────────────────────────────────────── */
|
|
71
79
|
[data-mode-group='write'] {
|
|
72
|
-
--colorBrandBackground:
|
|
73
|
-
--colorBrandBackgroundHover:
|
|
74
|
-
--colorBrandBackgroundPressed:
|
|
80
|
+
--colorBrandBackground: var(--color-request-write);
|
|
81
|
+
--colorBrandBackgroundHover: var(--color-request-write);
|
|
82
|
+
--colorBrandBackgroundPressed: var(--color-request-write);
|
|
75
83
|
--colorBrandBackgroundSelected: var(--color-request-write);
|
|
76
|
-
--colorBrandStroke1:
|
|
77
|
-
--colorBrandStroke2:
|
|
78
|
-
--colorBrandForeground1:
|
|
79
|
-
--colorBrandForeground2:
|
|
84
|
+
--colorBrandStroke1: var(--color-request-write);
|
|
85
|
+
--colorBrandStroke2: var(--color-request-write);
|
|
86
|
+
--colorBrandForeground1: var(--color-request-write);
|
|
87
|
+
--colorBrandForeground2: var(--color-request-write);
|
|
80
88
|
--colorCompoundBrandBackground: var(--color-request-write);
|
|
81
|
-
--colorCompoundBrandStroke:
|
|
89
|
+
--colorCompoundBrandStroke: var(--color-request-write);
|
|
82
90
|
}
|
|
83
91
|
[data-mode-group='relate'] {
|
|
84
|
-
--colorBrandBackground:
|
|
85
|
-
--colorBrandBackgroundHover:
|
|
86
|
-
--colorBrandBackgroundPressed:
|
|
92
|
+
--colorBrandBackground: var(--color-request-relate);
|
|
93
|
+
--colorBrandBackgroundHover: var(--color-request-relate);
|
|
94
|
+
--colorBrandBackgroundPressed: var(--color-request-relate);
|
|
87
95
|
--colorBrandBackgroundSelected: var(--color-request-relate);
|
|
88
|
-
--colorBrandStroke1:
|
|
89
|
-
--colorBrandStroke2:
|
|
90
|
-
--colorBrandForeground1:
|
|
91
|
-
--colorBrandForeground2:
|
|
96
|
+
--colorBrandStroke1: var(--color-request-relate);
|
|
97
|
+
--colorBrandStroke2: var(--color-request-relate);
|
|
98
|
+
--colorBrandForeground1: var(--color-request-relate);
|
|
99
|
+
--colorBrandForeground2: var(--color-request-relate);
|
|
92
100
|
--colorCompoundBrandBackground: var(--color-request-relate);
|
|
93
|
-
--colorCompoundBrandStroke:
|
|
101
|
+
--colorCompoundBrandStroke: var(--color-request-relate);
|
|
94
102
|
}
|
|
95
103
|
[data-mode-group='execute'] {
|
|
96
|
-
--colorBrandBackground:
|
|
97
|
-
--colorBrandBackgroundHover:
|
|
98
|
-
--colorBrandBackgroundPressed:
|
|
104
|
+
--colorBrandBackground: var(--color-request-execute);
|
|
105
|
+
--colorBrandBackgroundHover: var(--color-request-execute);
|
|
106
|
+
--colorBrandBackgroundPressed: var(--color-request-execute);
|
|
99
107
|
--colorBrandBackgroundSelected: var(--color-request-execute);
|
|
100
|
-
--colorBrandStroke1:
|
|
101
|
-
--colorBrandStroke2:
|
|
102
|
-
--colorBrandForeground1:
|
|
103
|
-
--colorBrandForeground2:
|
|
108
|
+
--colorBrandStroke1: var(--color-request-execute);
|
|
109
|
+
--colorBrandStroke2: var(--color-request-execute);
|
|
110
|
+
--colorBrandForeground1: var(--color-request-execute);
|
|
111
|
+
--colorBrandForeground2: var(--color-request-execute);
|
|
104
112
|
--colorCompoundBrandBackground: var(--color-request-execute);
|
|
105
|
-
--colorCompoundBrandStroke:
|
|
113
|
+
--colorCompoundBrandStroke: var(--color-request-execute);
|
|
106
114
|
}
|
|
107
115
|
[data-mode-group='binary'] {
|
|
108
|
-
--colorBrandBackground:
|
|
109
|
-
--colorBrandBackgroundHover:
|
|
110
|
-
--colorBrandBackgroundPressed:
|
|
116
|
+
--colorBrandBackground: var(--color-request-binary);
|
|
117
|
+
--colorBrandBackgroundHover: var(--color-request-binary);
|
|
118
|
+
--colorBrandBackgroundPressed: var(--color-request-binary);
|
|
111
119
|
--colorBrandBackgroundSelected: var(--color-request-binary);
|
|
112
|
-
--colorBrandStroke1:
|
|
113
|
-
--colorBrandStroke2:
|
|
114
|
-
--colorBrandForeground1:
|
|
115
|
-
--colorBrandForeground2:
|
|
120
|
+
--colorBrandStroke1: var(--color-request-binary);
|
|
121
|
+
--colorBrandStroke2: var(--color-request-binary);
|
|
122
|
+
--colorBrandForeground1: var(--color-request-binary);
|
|
123
|
+
--colorBrandForeground2: var(--color-request-binary);
|
|
116
124
|
--colorCompoundBrandBackground: var(--color-request-binary);
|
|
117
|
-
--colorCompoundBrandStroke:
|
|
125
|
+
--colorCompoundBrandStroke: var(--color-request-binary);
|
|
118
126
|
}
|
|
119
127
|
|
|
120
128
|
/* ─────────────────────────────────────────────────────────────
|
|
@@ -141,7 +149,7 @@
|
|
|
141
149
|
/* Firefox + standards-track Chromium 121+ */
|
|
142
150
|
* {
|
|
143
151
|
scrollbar-width: thin;
|
|
144
|
-
scrollbar-color: rgba(96, 94, 92, 0.
|
|
152
|
+
scrollbar-color: rgba(96, 94, 92, 0.4) transparent;
|
|
145
153
|
}
|
|
146
154
|
|
|
147
155
|
/* WebKit / Blink — finer control */
|
|
@@ -166,7 +174,7 @@
|
|
|
166
174
|
background-clip: content-box;
|
|
167
175
|
}
|
|
168
176
|
*::-webkit-scrollbar-thumb:active {
|
|
169
|
-
background-color: rgba(96, 94, 92, 0.
|
|
177
|
+
background-color: rgba(96, 94, 92, 0.8);
|
|
170
178
|
background-clip: content-box;
|
|
171
179
|
}
|
|
172
180
|
*::-webkit-scrollbar-corner {
|
|
@@ -179,7 +187,7 @@
|
|
|
179
187
|
scrollbar-color: rgba(200, 198, 196, 0.35) transparent;
|
|
180
188
|
}
|
|
181
189
|
:root[data-theme='dark'] *::-webkit-scrollbar-thumb {
|
|
182
|
-
background-color: rgba(200, 198, 196, 0.
|
|
190
|
+
background-color: rgba(200, 198, 196, 0.3);
|
|
183
191
|
background-clip: content-box;
|
|
184
192
|
}
|
|
185
193
|
:root[data-theme='dark'] *::-webkit-scrollbar-thumb:hover {
|
|
@@ -192,42 +200,66 @@
|
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
#boot-splash {
|
|
195
|
-
position: fixed;
|
|
196
|
-
|
|
203
|
+
position: fixed;
|
|
204
|
+
inset: 0;
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
gap: 16px;
|
|
210
|
+
background: var(--canvas-bg);
|
|
211
|
+
z-index: 1;
|
|
197
212
|
}
|
|
198
213
|
#boot-splash .ring {
|
|
199
|
-
width: 32px;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
214
|
+
width: 32px;
|
|
215
|
+
height: 32px;
|
|
216
|
+
border: 3px solid #e0dfde;
|
|
217
|
+
border-top-color: #0f6cbd;
|
|
218
|
+
border-radius: 50%;
|
|
219
|
+
animation: spin 1s linear infinite;
|
|
220
|
+
}
|
|
221
|
+
#boot-splash .label {
|
|
222
|
+
font-size: 13px;
|
|
223
|
+
color: #605e5c;
|
|
224
|
+
}
|
|
225
|
+
#boot-splash.hide {
|
|
226
|
+
opacity: 0;
|
|
227
|
+
pointer-events: none;
|
|
228
|
+
transition: opacity 0.2s;
|
|
229
|
+
}
|
|
230
|
+
@keyframes spin {
|
|
231
|
+
to {
|
|
232
|
+
transform: rotate(360deg);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
</style>
|
|
236
|
+
<script type="module" crossorigin src="/assets/index-CCZE1KQi.js"></script>
|
|
207
237
|
<link rel="modulepreload" crossorigin href="/assets/monaco-editor-ErGqj9vD.js">
|
|
208
238
|
<link rel="stylesheet" crossorigin href="/assets/monaco-editor-I3pIE735.css">
|
|
209
|
-
</head>
|
|
210
|
-
<body>
|
|
211
|
-
<div id="boot-splash">
|
|
212
|
-
<div class="ring"></div>
|
|
213
|
-
<div class="label">Loading Dataverse Request Studio…</div>
|
|
214
|
-
</div>
|
|
215
|
-
<div id="root"></div>
|
|
216
|
-
<!-- Anti-flash theme bootstrap.
|
|
217
|
-
When embedded in PPTB the host appends `?pptb=1&theme=dark` (or light).
|
|
218
|
-
Reading it synchronously here lets us paint the right background before
|
|
219
|
-
the React bundle parses + mounts. Without this the iframe flashes light
|
|
220
|
-
even when the host is in dark mode. -->
|
|
221
|
-
<script>
|
|
222
|
-
(function () {
|
|
223
|
-
try {
|
|
224
|
-
var p = new URLSearchParams(window.location.search);
|
|
225
|
-
var t = p.get('theme');
|
|
226
|
-
if (t === 'dark' || t === 'light') {
|
|
227
|
-
document.documentElement.setAttribute('data-theme', t);
|
|
228
|
-
}
|
|
229
|
-
} catch (e) {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
</
|
|
239
|
+
</head>
|
|
240
|
+
<body>
|
|
241
|
+
<div id="boot-splash">
|
|
242
|
+
<div class="ring"></div>
|
|
243
|
+
<div class="label">Loading Dataverse Request Studio…</div>
|
|
244
|
+
</div>
|
|
245
|
+
<div id="root"></div>
|
|
246
|
+
<!-- Anti-flash theme bootstrap.
|
|
247
|
+
When embedded in PPTB the host appends `?pptb=1&theme=dark` (or light).
|
|
248
|
+
Reading it synchronously here lets us paint the right background before
|
|
249
|
+
the React bundle parses + mounts. Without this the iframe flashes light
|
|
250
|
+
even when the host is in dark mode. -->
|
|
251
|
+
<script>
|
|
252
|
+
(function () {
|
|
253
|
+
try {
|
|
254
|
+
var p = new URLSearchParams(window.location.search);
|
|
255
|
+
var t = p.get('theme');
|
|
256
|
+
if (t === 'dark' || t === 'light') {
|
|
257
|
+
document.documentElement.setAttribute('data-theme', t);
|
|
258
|
+
}
|
|
259
|
+
} catch (e) {
|
|
260
|
+
/* ignore — fall back to default light */
|
|
261
|
+
}
|
|
262
|
+
})();
|
|
263
|
+
</script>
|
|
264
|
+
</body>
|
|
265
|
+
</html>
|