@vinena/knobs 0.5.2 → 0.6.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.
- package/CHANGELOG.md +39 -0
- package/README.md +7 -6
- package/dist/context-amfyasb5.js +23 -0
- package/dist/context-svtr7vwt.js +22 -0
- package/dist/early.global.js +6 -6
- package/dist/edit/css.d.ts +59 -0
- package/dist/edit/html.d.ts +91 -0
- package/dist/edit/keep.d.ts +175 -0
- package/dist/edit/log.d.ts +107 -0
- package/dist/edit/replay.d.ts +28 -0
- package/dist/edit/risk.d.ts +33 -0
- package/dist/edit/rule.d.ts +31 -0
- package/dist/edit/source.d.ts +12 -0
- package/dist/edit/text.d.ts +66 -0
- package/dist/elementsview-fyc06wjt.js +3702 -0
- package/dist/elementsview-k6zvvcne.js +3701 -0
- package/dist/engine/browserdraw.d.ts +5 -0
- package/dist/engine/browserkit.d.ts +2 -0
- package/dist/engine/devices.d.ts +3 -2
- package/dist/engine/dock.d.ts +3 -4
- package/dist/engine/frame.d.ts +1 -1
- package/dist/engine/frames.d.ts +1 -0
- package/dist/engine/identity.d.ts +5 -1
- package/dist/engine/index.d.ts +2 -0
- package/dist/engine/mock.d.ts +0 -2
- package/dist/engine/mockdata.d.ts +4 -3
- package/dist/engine/mockdraw.d.ts +2 -14
- package/dist/engine/morphrun.d.ts +4 -0
- package/dist/engine/native.d.ts +31 -3
- package/dist/engine/notice.d.ts +1 -2
- package/dist/engine/style.d.ts +15 -0
- package/dist/engine/width.d.ts +3 -0
- package/dist/{framekit-w0v516w5.js → framekit-622h6w1f.js} +264 -105
- package/dist/{framekit-te90cjs0.js → framekit-yx612r28.js} +264 -105
- package/dist/index-0zp9py56.js +859 -0
- package/dist/{index-9re7sv56.js → index-1mstjadm.js} +126 -2167
- package/dist/{index-30fc6php.js → index-4a4x1bt2.js} +1 -1
- package/dist/index-58jdczmj.js +44 -0
- package/dist/index-5tv6sr74.js +23 -0
- package/dist/index-6bc2ztfd.js +688 -0
- package/dist/index-7cb4x1vj.js +1885 -0
- package/dist/index-a974q3aa.js +34 -0
- package/dist/{index-r72tz2vn.js → index-aymfvd8s.js} +1 -1
- package/dist/{index-trx7bxdk.js → index-aynkv7qk.js} +11 -8
- package/dist/{index-xjhwp5cj.js → index-dzm8ywq0.js} +504 -2362
- package/dist/{index-dan2kpsd.js → index-f60yax1j.js} +13 -8
- package/dist/index-f67wctn3.js +1858 -0
- package/dist/{index-agwr37gw.js → index-ftjdt358.js} +8 -171
- package/dist/{index-pewcdh28.js → index-gm51cthv.js} +2 -45
- package/dist/index-kfdzsyyw.js +1859 -0
- package/dist/index-t4kssacm.js +208 -0
- package/dist/index-v0ht9q0g.js +1518 -0
- package/dist/{index-sxe5079a.js → index-x59vz1xx.js} +262 -901
- package/dist/index-xh39jtkq.js +32 -0
- package/dist/index-yb7fc59g.js +718 -0
- package/dist/index-zd6adby9.js +496 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.global.js +447 -160
- package/dist/index.js +533 -485
- package/dist/react-0wepdf60.js +1519 -0
- package/dist/{react-4pvp6amm.js → react-1gqwa2yw.js} +1 -1
- package/dist/{index-hv02xka3.js → react-3mfz1x2a.js} +126 -2167
- package/dist/react-4rbjw9af.js +33 -0
- package/dist/react-5rq7bnsy.js +210 -0
- package/dist/react-6bz05qk1.js +860 -0
- package/dist/{react-05jh9jv5.js → react-6fnxxs30.js} +8 -171
- package/dist/react-6q2cw2ya.js +689 -0
- package/dist/{react-sw8d8c94.js → react-6t4dbdzn.js} +11 -8
- package/dist/react-88es9b5q.js +719 -0
- package/dist/react-97b5b8j4.js +46 -0
- package/dist/{react-16spgn0h.js → react-bxzn8vq5.js} +1 -1
- package/dist/{react-ayg1bgw3.js → react-cs62p9qh.js} +83 -722
- package/dist/react-ethftdxp.js +497 -0
- package/dist/react-fp73vhyd.js +36 -0
- package/dist/{react-exjcpxma.js → react-me102s1a.js} +2 -45
- package/dist/react-t2qnewz2.js +24 -0
- package/dist/react-ttj8f9qp.js +1886 -0
- package/dist/{react-zy1mmhgz.js → react-v8497a41.js} +13 -8
- package/dist/{react-fm9y8dbn.js → react-wqn4sx0n.js} +276 -2133
- package/dist/react.js +529 -485
- package/dist/replay-j18rw92k.js +258 -0
- package/dist/replay-vtg0vqj2.js +257 -0
- package/dist/{storageview-s7heg93p.js → storageview-6xj7zb63.js} +11 -7
- package/dist/{storageview-r595qpt9.js → storageview-pzn8yaad.js} +11 -7
- package/dist/styles/force.d.ts +66 -0
- package/dist/types.d.ts +7 -0
- package/dist/ui/bindings.d.ts +31 -5
- package/dist/ui/changes.d.ts +49 -0
- package/dist/ui/cssauto.d.ts +119 -0
- package/dist/ui/cssedit.d.ts +80 -0
- package/dist/ui/domedit.d.ts +99 -0
- package/dist/ui/domtree.d.ts +26 -1
- package/dist/ui/elementsview.d.ts +19 -2
- package/dist/ui/htmledit.d.ts +62 -0
- package/dist/ui/inspector.d.ts +6 -1
- package/dist/ui/keys.d.ts +12 -8
- package/dist/ui/pane.d.ts +0 -2
- package/dist/ui/panel.d.ts +3 -0
- package/dist/ui/prefs.d.ts +30 -10
- package/dist/ui/settings.d.ts +10 -0
- package/dist/ui/size.d.ts +14 -22
- package/dist/ui/stylesview.d.ts +30 -1
- package/package.json +1 -1
- package/skills/devknobs/SKILL.md +95 -0
- package/dist/elementsview-2z4pkrdz.js +0 -2873
- package/dist/elementsview-qn8qyksa.js +0 -2874
- package/dist/index-78r0f8pw.js +0 -27
- package/dist/react-adky72h9.js +0 -29
|
@@ -1,43 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
DEFAULT_STATE,
|
|
3
2
|
DOT_LOOK,
|
|
4
|
-
EXITED,
|
|
5
3
|
MARK_EVENT,
|
|
4
|
+
apply as apply4,
|
|
5
|
+
apply1 as apply5,
|
|
6
|
+
apply2 as apply6,
|
|
7
|
+
apply3 as apply7,
|
|
8
|
+
drive,
|
|
9
|
+
driveUa,
|
|
10
|
+
dropEarly,
|
|
11
|
+
enableNative,
|
|
12
|
+
framing,
|
|
13
|
+
inPage,
|
|
14
|
+
keepOwn,
|
|
15
|
+
nativeEnabled,
|
|
16
|
+
nativeViewport,
|
|
17
|
+
release,
|
|
18
|
+
reset as reset3,
|
|
19
|
+
reset1 as reset4,
|
|
20
|
+
reset2 as reset5,
|
|
21
|
+
reset3 as reset6,
|
|
22
|
+
resume,
|
|
23
|
+
screenSizeOf,
|
|
24
|
+
uaPreset
|
|
25
|
+
} from "./index-7cb4x1vj.js";
|
|
26
|
+
import {
|
|
27
|
+
composedParent,
|
|
28
|
+
isDevknobs
|
|
29
|
+
} from "./index-6bc2ztfd.js";
|
|
30
|
+
import {
|
|
31
|
+
DEFAULT_STATE,
|
|
32
|
+
EXITED,
|
|
6
33
|
NOW_READERS,
|
|
7
34
|
NativeDate,
|
|
8
|
-
QUIET,
|
|
9
|
-
SHARED_VERSION,
|
|
10
|
-
__export,
|
|
11
|
-
__require,
|
|
12
35
|
addStyle,
|
|
13
36
|
apply,
|
|
14
37
|
apply1 as apply2,
|
|
15
38
|
apply2 as apply3,
|
|
16
|
-
apply3 as apply4,
|
|
17
|
-
apply4 as apply5,
|
|
18
|
-
apply5 as apply6,
|
|
19
|
-
apply6 as apply7,
|
|
20
39
|
clockOn,
|
|
21
40
|
destroy,
|
|
22
|
-
drive,
|
|
23
|
-
driveUa,
|
|
24
|
-
dropEarly,
|
|
25
|
-
enableNative,
|
|
26
41
|
ensureStyle,
|
|
27
|
-
evict,
|
|
28
42
|
framed,
|
|
29
|
-
framing,
|
|
30
43
|
hasTouch,
|
|
31
|
-
inPage,
|
|
32
44
|
isDevknobsFrame,
|
|
33
|
-
keepOwn,
|
|
34
45
|
keepPlace,
|
|
35
46
|
leaveFor,
|
|
36
47
|
load,
|
|
37
48
|
merge,
|
|
38
|
-
nativeEnabled,
|
|
39
49
|
nativeScheme,
|
|
40
|
-
nativeViewport,
|
|
41
50
|
needsFrame,
|
|
42
51
|
newer,
|
|
43
52
|
now,
|
|
@@ -46,30 +55,31 @@ import {
|
|
|
46
55
|
readMessage,
|
|
47
56
|
readNow,
|
|
48
57
|
realNow,
|
|
49
|
-
release,
|
|
50
58
|
removeStyle,
|
|
51
59
|
reset,
|
|
52
60
|
reset1 as reset2,
|
|
53
|
-
reset2 as reset3,
|
|
54
|
-
reset3 as reset4,
|
|
55
|
-
reset4 as reset5,
|
|
56
|
-
reset5 as reset6,
|
|
57
61
|
resetState,
|
|
58
62
|
resolveGeo,
|
|
59
|
-
resume,
|
|
60
63
|
save,
|
|
61
|
-
screenSizeOf,
|
|
62
64
|
setClock,
|
|
63
|
-
share,
|
|
64
|
-
shared,
|
|
65
65
|
stamped,
|
|
66
66
|
styleNode,
|
|
67
67
|
takeOver,
|
|
68
68
|
temporalNow,
|
|
69
|
-
uaPreset,
|
|
70
69
|
webStorage,
|
|
71
70
|
wrapDate
|
|
72
|
-
} from "./index-
|
|
71
|
+
} from "./index-dzm8ywq0.js";
|
|
72
|
+
import {
|
|
73
|
+
QUIET,
|
|
74
|
+
SHARED_VERSION,
|
|
75
|
+
evict,
|
|
76
|
+
share,
|
|
77
|
+
shared
|
|
78
|
+
} from "./index-a974q3aa.js";
|
|
79
|
+
import {
|
|
80
|
+
__export,
|
|
81
|
+
__require
|
|
82
|
+
} from "./index-5tv6sr74.js";
|
|
73
83
|
|
|
74
84
|
// src/engine/intl.ts
|
|
75
85
|
var SERVICES = [
|
|
@@ -1120,6 +1130,149 @@ function holdInTopLayer(host, rank) {
|
|
|
1120
1130
|
};
|
|
1121
1131
|
}
|
|
1122
1132
|
|
|
1133
|
+
// src/engine/frames.ts
|
|
1134
|
+
var kit = null;
|
|
1135
|
+
var load2 = () => import("./framekit-yx612r28.js");
|
|
1136
|
+
var loading = null;
|
|
1137
|
+
var down = false;
|
|
1138
|
+
var waiting = [];
|
|
1139
|
+
var before = null;
|
|
1140
|
+
var latest = null;
|
|
1141
|
+
var exit = null;
|
|
1142
|
+
var zoomTo = null;
|
|
1143
|
+
var askWhy = null;
|
|
1144
|
+
var framed2 = null;
|
|
1145
|
+
var loader = null;
|
|
1146
|
+
function arrived(loaded) {
|
|
1147
|
+
kit = loaded;
|
|
1148
|
+
loaded.width.onExit(exit);
|
|
1149
|
+
loaded.width.onZoom(zoomTo);
|
|
1150
|
+
loaded.width.onRefused(askWhy);
|
|
1151
|
+
loaded.width.onFramed(framed2);
|
|
1152
|
+
loaded.width.onLoader(loader);
|
|
1153
|
+
for (const run of waiting.splice(0))
|
|
1154
|
+
run(loaded);
|
|
1155
|
+
for (const state of [before, latest]) {
|
|
1156
|
+
if (!state)
|
|
1157
|
+
continue;
|
|
1158
|
+
loaded.width.apply(state);
|
|
1159
|
+
loaded.width.sync(state);
|
|
1160
|
+
}
|
|
1161
|
+
before = null;
|
|
1162
|
+
latest = null;
|
|
1163
|
+
}
|
|
1164
|
+
function loadFrames() {
|
|
1165
|
+
loading ??= load2().then(arrived);
|
|
1166
|
+
return loading;
|
|
1167
|
+
}
|
|
1168
|
+
function failed(error) {
|
|
1169
|
+
console.error("devknobs: the device frame could not load", error);
|
|
1170
|
+
down = true;
|
|
1171
|
+
before = null;
|
|
1172
|
+
latest = null;
|
|
1173
|
+
dropEarly();
|
|
1174
|
+
exit?.();
|
|
1175
|
+
}
|
|
1176
|
+
function whenIn(watch2) {
|
|
1177
|
+
if (kit)
|
|
1178
|
+
return watch2(kit);
|
|
1179
|
+
let stop = null;
|
|
1180
|
+
const run = (loaded) => {
|
|
1181
|
+
stop = watch2(loaded);
|
|
1182
|
+
};
|
|
1183
|
+
waiting.push(run);
|
|
1184
|
+
return () => {
|
|
1185
|
+
const at = waiting.indexOf(run);
|
|
1186
|
+
if (at >= 0)
|
|
1187
|
+
waiting.splice(at, 1);
|
|
1188
|
+
stop?.();
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
function apply10(state) {
|
|
1192
|
+
if (kit) {
|
|
1193
|
+
kit.width.apply(state);
|
|
1194
|
+
return;
|
|
1195
|
+
}
|
|
1196
|
+
if (latest === null && !needsFrame(state)) {
|
|
1197
|
+
before = state;
|
|
1198
|
+
dropEarly();
|
|
1199
|
+
return;
|
|
1200
|
+
}
|
|
1201
|
+
if (down) {
|
|
1202
|
+
exit?.();
|
|
1203
|
+
return;
|
|
1204
|
+
}
|
|
1205
|
+
latest = state;
|
|
1206
|
+
if (!loading)
|
|
1207
|
+
loadFrames().catch(failed);
|
|
1208
|
+
}
|
|
1209
|
+
function sync(state) {
|
|
1210
|
+
kit?.width.sync(state);
|
|
1211
|
+
}
|
|
1212
|
+
function reset9() {
|
|
1213
|
+
kit?.width.reset();
|
|
1214
|
+
before = null;
|
|
1215
|
+
latest = null;
|
|
1216
|
+
}
|
|
1217
|
+
function onExit(handler) {
|
|
1218
|
+
exit = handler;
|
|
1219
|
+
kit?.width.onExit(handler);
|
|
1220
|
+
}
|
|
1221
|
+
function onZoom(handler) {
|
|
1222
|
+
zoomTo = handler;
|
|
1223
|
+
kit?.width.onZoom(handler);
|
|
1224
|
+
}
|
|
1225
|
+
function onRefused(handler) {
|
|
1226
|
+
askWhy = handler;
|
|
1227
|
+
kit?.width.onRefused(handler);
|
|
1228
|
+
}
|
|
1229
|
+
function onFramed(handler) {
|
|
1230
|
+
framed2 = handler;
|
|
1231
|
+
kit?.width.onFramed(handler);
|
|
1232
|
+
}
|
|
1233
|
+
function onLoader(handler) {
|
|
1234
|
+
loader = handler;
|
|
1235
|
+
kit?.width.onLoader(handler);
|
|
1236
|
+
}
|
|
1237
|
+
function frameWindow() {
|
|
1238
|
+
return kit?.width.frameWindow() ?? null;
|
|
1239
|
+
}
|
|
1240
|
+
function idle() {
|
|
1241
|
+
if (kit)
|
|
1242
|
+
return kit.width.idle();
|
|
1243
|
+
return latest === null;
|
|
1244
|
+
}
|
|
1245
|
+
function panelSized(glide) {
|
|
1246
|
+
kit?.width.panelSized(glide);
|
|
1247
|
+
}
|
|
1248
|
+
function zoomKey(action) {
|
|
1249
|
+
return kit?.width.zoomKey(action) ?? false;
|
|
1250
|
+
}
|
|
1251
|
+
function landSplash() {
|
|
1252
|
+
kit?.landSplash();
|
|
1253
|
+
}
|
|
1254
|
+
function takeHinge(state) {
|
|
1255
|
+
return kit?.takeHinge(state) ?? false;
|
|
1256
|
+
}
|
|
1257
|
+
function moveHinge(target) {
|
|
1258
|
+
return kit?.moveHinge(target) ?? false;
|
|
1259
|
+
}
|
|
1260
|
+
function letGo(stop) {
|
|
1261
|
+
return kit?.letGo(stop) ?? false;
|
|
1262
|
+
}
|
|
1263
|
+
function holdingHinge() {
|
|
1264
|
+
return kit?.holdingHinge() ?? false;
|
|
1265
|
+
}
|
|
1266
|
+
function foldRest() {
|
|
1267
|
+
return kit?.foldRest() ?? null;
|
|
1268
|
+
}
|
|
1269
|
+
function watchFold(watcher) {
|
|
1270
|
+
return whenIn((loaded) => loaded.watchFold(watcher));
|
|
1271
|
+
}
|
|
1272
|
+
function watchHinge(watcher) {
|
|
1273
|
+
return whenIn((loaded) => loaded.watchHinge(watcher));
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1123
1276
|
// src/engine/index.ts
|
|
1124
1277
|
var exports_engine = {};
|
|
1125
1278
|
__export(exports_engine, {
|
|
@@ -1134,6 +1287,7 @@ __export(exports_engine, {
|
|
|
1134
1287
|
ready: () => ready,
|
|
1135
1288
|
nativeSwitch: () => nativeSwitch,
|
|
1136
1289
|
keepPlace: () => keepPlace2,
|
|
1290
|
+
hostSendsUa: () => hostSendsUa,
|
|
1137
1291
|
getState: () => getState,
|
|
1138
1292
|
applyState: () => applyState
|
|
1139
1293
|
});
|
|
@@ -2114,13 +2268,13 @@ function start() {
|
|
|
2114
2268
|
if (shared())
|
|
2115
2269
|
return;
|
|
2116
2270
|
evict();
|
|
2117
|
-
const
|
|
2271
|
+
const framed3 = typeof window !== "undefined" && isDevknobsFrame();
|
|
2118
2272
|
const origin = typeof location === "undefined" ? "" : location.origin;
|
|
2119
2273
|
share(createRecorder({
|
|
2120
|
-
source:
|
|
2274
|
+
source: framed3 ? "frame" : "top",
|
|
2121
2275
|
clock: pageClock(),
|
|
2122
2276
|
origin,
|
|
2123
|
-
above:
|
|
2277
|
+
above: framed3 ? above : undefined
|
|
2124
2278
|
}));
|
|
2125
2279
|
}
|
|
2126
2280
|
function stop() {
|
|
@@ -2209,14 +2363,14 @@ function restore2() {
|
|
|
2209
2363
|
}
|
|
2210
2364
|
installed2 = [];
|
|
2211
2365
|
}
|
|
2212
|
-
function
|
|
2366
|
+
function apply11(value) {
|
|
2213
2367
|
on = sends(value);
|
|
2214
2368
|
if (on)
|
|
2215
2369
|
patch();
|
|
2216
2370
|
else
|
|
2217
2371
|
restore2();
|
|
2218
2372
|
}
|
|
2219
|
-
function
|
|
2373
|
+
function reset10() {
|
|
2220
2374
|
on = false;
|
|
2221
2375
|
restore2();
|
|
2222
2376
|
}
|
|
@@ -2248,7 +2402,7 @@ function connection() {
|
|
|
2248
2402
|
function readConnection(target) {
|
|
2249
2403
|
return CONNECTION_KEYS.map((key) => String(Reflect.get(target, key))).join();
|
|
2250
2404
|
}
|
|
2251
|
-
function
|
|
2405
|
+
function apply12(value) {
|
|
2252
2406
|
const wasOnline = navigator.onLine;
|
|
2253
2407
|
if (value.online === "offline")
|
|
2254
2408
|
shadow(navigator, "onLine", false);
|
|
@@ -2260,7 +2414,7 @@ function apply11(value) {
|
|
|
2260
2414
|
const target = connection();
|
|
2261
2415
|
if (!target)
|
|
2262
2416
|
return;
|
|
2263
|
-
const
|
|
2417
|
+
const before2 = readConnection(target);
|
|
2264
2418
|
if (value.type === "system") {
|
|
2265
2419
|
for (const key of ["effectiveType", "rtt", "downlink"])
|
|
2266
2420
|
unshadow(target, key);
|
|
@@ -2273,25 +2427,25 @@ function apply11(value) {
|
|
|
2273
2427
|
unshadow(target, "saveData");
|
|
2274
2428
|
else
|
|
2275
2429
|
shadow(target, "saveData", value.saveData === "on");
|
|
2276
|
-
if (readConnection(target) !==
|
|
2430
|
+
if (readConnection(target) !== before2)
|
|
2277
2431
|
target.dispatchEvent(new Event("change"));
|
|
2278
2432
|
}
|
|
2279
|
-
function
|
|
2433
|
+
function reset11() {
|
|
2280
2434
|
if (shadowed.size > 0)
|
|
2281
|
-
|
|
2435
|
+
apply12(SYSTEM);
|
|
2282
2436
|
shadowed.clear();
|
|
2283
2437
|
}
|
|
2284
2438
|
|
|
2285
2439
|
// src/engine/outlines.ts
|
|
2286
2440
|
var NAME = "outlines";
|
|
2287
|
-
function
|
|
2441
|
+
function apply13(value) {
|
|
2288
2442
|
if (!value) {
|
|
2289
|
-
|
|
2443
|
+
reset12();
|
|
2290
2444
|
return;
|
|
2291
2445
|
}
|
|
2292
2446
|
ensureStyle(NAME).textContent = "body *:not([data-devknobs],[data-devknobs] *){outline:1px solid rgba(127,127,127,.5)!important}";
|
|
2293
2447
|
}
|
|
2294
|
-
function
|
|
2448
|
+
function reset12() {
|
|
2295
2449
|
removeStyle(NAME);
|
|
2296
2450
|
}
|
|
2297
2451
|
|
|
@@ -2491,9 +2645,9 @@ function start2() {
|
|
|
2491
2645
|
});
|
|
2492
2646
|
update();
|
|
2493
2647
|
}
|
|
2494
|
-
function
|
|
2648
|
+
function apply14(value) {
|
|
2495
2649
|
if (!value) {
|
|
2496
|
-
|
|
2650
|
+
reset13();
|
|
2497
2651
|
return;
|
|
2498
2652
|
}
|
|
2499
2653
|
if (document.body)
|
|
@@ -2501,7 +2655,7 @@ function apply13(value) {
|
|
|
2501
2655
|
else
|
|
2502
2656
|
document.addEventListener("DOMContentLoaded", start2, { once: true });
|
|
2503
2657
|
}
|
|
2504
|
-
function
|
|
2658
|
+
function reset13() {
|
|
2505
2659
|
document.removeEventListener("DOMContentLoaded", start2);
|
|
2506
2660
|
if (!host)
|
|
2507
2661
|
return;
|
|
@@ -2683,11 +2837,11 @@ function start3() {
|
|
|
2683
2837
|
});
|
|
2684
2838
|
}
|
|
2685
2839
|
function whenIdle(run) {
|
|
2686
|
-
let
|
|
2840
|
+
let idle2 = 0;
|
|
2687
2841
|
let timer3 = 0;
|
|
2688
2842
|
const schedule2 = () => {
|
|
2689
2843
|
if (typeof requestIdleCallback === "function")
|
|
2690
|
-
|
|
2844
|
+
idle2 = requestIdleCallback(run, { timeout: 1000 });
|
|
2691
2845
|
else
|
|
2692
2846
|
timer3 = window.setTimeout(run, 200);
|
|
2693
2847
|
};
|
|
@@ -2697,14 +2851,14 @@ function whenIdle(run) {
|
|
|
2697
2851
|
window.addEventListener("load", schedule2, { once: true });
|
|
2698
2852
|
return () => {
|
|
2699
2853
|
window.removeEventListener("load", schedule2);
|
|
2700
|
-
if (
|
|
2701
|
-
cancelIdleCallback(
|
|
2854
|
+
if (idle2)
|
|
2855
|
+
cancelIdleCallback(idle2);
|
|
2702
2856
|
clearTimeout(timer3);
|
|
2703
2857
|
};
|
|
2704
2858
|
}
|
|
2705
|
-
function
|
|
2859
|
+
function apply15(value) {
|
|
2706
2860
|
if (!value) {
|
|
2707
|
-
|
|
2861
|
+
reset14();
|
|
2708
2862
|
return;
|
|
2709
2863
|
}
|
|
2710
2864
|
if (on2 || cancelStart)
|
|
@@ -2714,7 +2868,7 @@ function apply14(value) {
|
|
|
2714
2868
|
function pending() {
|
|
2715
2869
|
return cancelStart !== null;
|
|
2716
2870
|
}
|
|
2717
|
-
function
|
|
2871
|
+
function reset14() {
|
|
2718
2872
|
cancelStart?.();
|
|
2719
2873
|
cancelStart = null;
|
|
2720
2874
|
if (!on2)
|
|
@@ -2867,14 +3021,14 @@ function replay() {
|
|
|
2867
3021
|
var NAME2 = "spacing";
|
|
2868
3022
|
var NOT_OURS = ":not([data-devknobs],[data-devknobs] *)";
|
|
2869
3023
|
var CSS2 = `*${NOT_OURS}{line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important}` + `p${NOT_OURS}{margin-bottom:2em!important}`;
|
|
2870
|
-
function
|
|
3024
|
+
function apply16(value) {
|
|
2871
3025
|
if (!value) {
|
|
2872
|
-
|
|
3026
|
+
reset15();
|
|
2873
3027
|
return;
|
|
2874
3028
|
}
|
|
2875
3029
|
ensureStyle(NAME2).textContent = CSS2;
|
|
2876
3030
|
}
|
|
2877
|
-
function
|
|
3031
|
+
function reset15() {
|
|
2878
3032
|
removeStyle(NAME2);
|
|
2879
3033
|
}
|
|
2880
3034
|
|
|
@@ -3011,7 +3165,7 @@ function createTabIcon(env) {
|
|
|
3011
3165
|
let on3 = false;
|
|
3012
3166
|
let observer3 = null;
|
|
3013
3167
|
const drawn = new Map;
|
|
3014
|
-
const
|
|
3168
|
+
const loading2 = new Map;
|
|
3015
3169
|
let added = null;
|
|
3016
3170
|
let told = false;
|
|
3017
3171
|
function iconLinks() {
|
|
@@ -3025,13 +3179,13 @@ function createTabIcon(env) {
|
|
|
3025
3179
|
return;
|
|
3026
3180
|
const mine = drawn.get(link);
|
|
3027
3181
|
const href = mine?.url === current ? mine.original : current;
|
|
3028
|
-
if (
|
|
3182
|
+
if (loading2.get(link) === href)
|
|
3029
3183
|
return;
|
|
3030
|
-
|
|
3184
|
+
loading2.set(link, href);
|
|
3031
3185
|
env.load(href).then((source) => {
|
|
3032
|
-
if (
|
|
3186
|
+
if (loading2.get(link) !== href)
|
|
3033
3187
|
return;
|
|
3034
|
-
|
|
3188
|
+
loading2.delete(link);
|
|
3035
3189
|
if (!on3 || link.getAttribute("href") !== current)
|
|
3036
3190
|
return;
|
|
3037
3191
|
const url = source ? env.render(source, iconSize(link)) : null;
|
|
@@ -3047,7 +3201,7 @@ function createTabIcon(env) {
|
|
|
3047
3201
|
});
|
|
3048
3202
|
}
|
|
3049
3203
|
function forget(link) {
|
|
3050
|
-
|
|
3204
|
+
loading2.delete(link);
|
|
3051
3205
|
const mine = drawn.get(link);
|
|
3052
3206
|
if (!mine)
|
|
3053
3207
|
return;
|
|
@@ -3131,7 +3285,7 @@ function createTabIcon(env) {
|
|
|
3131
3285
|
on3 = false;
|
|
3132
3286
|
observer3?.disconnect();
|
|
3133
3287
|
observer3 = null;
|
|
3134
|
-
|
|
3288
|
+
loading2.clear();
|
|
3135
3289
|
for (const [link, { url, original }] of drawn) {
|
|
3136
3290
|
if (link.getAttribute("href") === url)
|
|
3137
3291
|
link.setAttribute("href", original);
|
|
@@ -3167,9 +3321,9 @@ function renderPng(source, size) {
|
|
|
3167
3321
|
}
|
|
3168
3322
|
}
|
|
3169
3323
|
var live = null;
|
|
3170
|
-
function
|
|
3324
|
+
function apply17(on3) {
|
|
3171
3325
|
if (!on3) {
|
|
3172
|
-
|
|
3326
|
+
reset16();
|
|
3173
3327
|
return;
|
|
3174
3328
|
}
|
|
3175
3329
|
if (live || typeof document === "undefined")
|
|
@@ -3182,7 +3336,7 @@ function apply16(on3) {
|
|
|
3182
3336
|
});
|
|
3183
3337
|
live.start();
|
|
3184
3338
|
}
|
|
3185
|
-
function
|
|
3339
|
+
function reset16() {
|
|
3186
3340
|
live?.stop();
|
|
3187
3341
|
live = null;
|
|
3188
3342
|
}
|
|
@@ -3291,10 +3445,10 @@ function restoreAnimate() {
|
|
|
3291
3445
|
nativeAnimate = null;
|
|
3292
3446
|
patchedAnimate = null;
|
|
3293
3447
|
}
|
|
3294
|
-
function
|
|
3448
|
+
function apply18(value) {
|
|
3295
3449
|
const next = Number.isFinite(value) && value >= 0 ? value : 1;
|
|
3296
3450
|
if (next === 1) {
|
|
3297
|
-
|
|
3451
|
+
reset17();
|
|
3298
3452
|
return;
|
|
3299
3453
|
}
|
|
3300
3454
|
if (next === rate && frame2)
|
|
@@ -3313,7 +3467,7 @@ function apply17(value) {
|
|
|
3313
3467
|
if (!frame2)
|
|
3314
3468
|
frame2 = requestAnimationFrame(tick);
|
|
3315
3469
|
}
|
|
3316
|
-
function
|
|
3470
|
+
function reset17() {
|
|
3317
3471
|
rate = 1;
|
|
3318
3472
|
if (frame2) {
|
|
3319
3473
|
cancelAnimationFrame(frame2);
|
|
@@ -3332,137 +3486,6 @@ function reset16() {
|
|
|
3332
3486
|
restoreGsap();
|
|
3333
3487
|
}
|
|
3334
3488
|
|
|
3335
|
-
// src/grab/hit.ts
|
|
3336
|
-
var MAX_DEPTH = 32;
|
|
3337
|
-
var MAX_LAYERS = 8;
|
|
3338
|
-
var REPLACED = new Set([
|
|
3339
|
-
"audio",
|
|
3340
|
-
"br",
|
|
3341
|
-
"canvas",
|
|
3342
|
-
"embed",
|
|
3343
|
-
"hr",
|
|
3344
|
-
"iframe",
|
|
3345
|
-
"img",
|
|
3346
|
-
"input",
|
|
3347
|
-
"meter",
|
|
3348
|
-
"object",
|
|
3349
|
-
"progress",
|
|
3350
|
-
"select",
|
|
3351
|
-
"svg",
|
|
3352
|
-
"textarea",
|
|
3353
|
-
"video"
|
|
3354
|
-
]);
|
|
3355
|
-
var CLEAR_COLOR = /^transparent$|[,/]\s*0\)$/;
|
|
3356
|
-
function composedParent(element) {
|
|
3357
|
-
if (element.parentElement)
|
|
3358
|
-
return element.parentElement;
|
|
3359
|
-
const root = element.getRootNode?.();
|
|
3360
|
-
return root && "host" in root ? root.host : null;
|
|
3361
|
-
}
|
|
3362
|
-
function isDevknobs(element) {
|
|
3363
|
-
for (let current = element;current; current = composedParent(current)) {
|
|
3364
|
-
if (current.hasAttribute("data-devknobs"))
|
|
3365
|
-
return true;
|
|
3366
|
-
}
|
|
3367
|
-
return false;
|
|
3368
|
-
}
|
|
3369
|
-
function isRoot(element) {
|
|
3370
|
-
const tag2 = element.tagName.toLowerCase();
|
|
3371
|
-
return tag2 === "html" || tag2 === "body";
|
|
3372
|
-
}
|
|
3373
|
-
function isGrabbable(element) {
|
|
3374
|
-
return element !== null && !isRoot(element) && !isDevknobs(element);
|
|
3375
|
-
}
|
|
3376
|
-
function styleOf(element) {
|
|
3377
|
-
return element.ownerDocument.defaultView?.getComputedStyle(element) ?? null;
|
|
3378
|
-
}
|
|
3379
|
-
function inside(rect, x, y) {
|
|
3380
|
-
return x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom;
|
|
3381
|
-
}
|
|
3382
|
-
function holds(element, x, y) {
|
|
3383
|
-
if (!inside(element.getBoundingClientRect(), x, y))
|
|
3384
|
-
return false;
|
|
3385
|
-
const rects = element.getClientRects();
|
|
3386
|
-
for (let index = 0;index < rects.length; index++) {
|
|
3387
|
-
const rect = rects[index];
|
|
3388
|
-
if (rect && rect.width > 0 && rect.height > 0 && inside(rect, x, y))
|
|
3389
|
-
return true;
|
|
3390
|
-
}
|
|
3391
|
-
return false;
|
|
3392
|
-
}
|
|
3393
|
-
function area(element) {
|
|
3394
|
-
const rect = element.getBoundingClientRect();
|
|
3395
|
-
return rect.width * rect.height;
|
|
3396
|
-
}
|
|
3397
|
-
function isHidden(element) {
|
|
3398
|
-
const visibility = styleOf(element)?.visibility;
|
|
3399
|
-
return visibility !== undefined && visibility !== "visible";
|
|
3400
|
-
}
|
|
3401
|
-
function isClearLayer(element) {
|
|
3402
|
-
if (element.children.length > 0 || element.shadowRoot)
|
|
3403
|
-
return false;
|
|
3404
|
-
if (REPLACED.has(element.tagName.toLowerCase()) || element.textContent?.trim())
|
|
3405
|
-
return false;
|
|
3406
|
-
const style = styleOf(element);
|
|
3407
|
-
if (!style)
|
|
3408
|
-
return false;
|
|
3409
|
-
return style.backgroundImage === "none" && CLEAR_COLOR.test(style.backgroundColor);
|
|
3410
|
-
}
|
|
3411
|
-
function under(root, top, x, y) {
|
|
3412
|
-
if (!root.elementsFromPoint || holds(top, x, y) && !isClearLayer(top))
|
|
3413
|
-
return top;
|
|
3414
|
-
for (const element of root.elementsFromPoint(x, y).slice(0, MAX_LAYERS)) {
|
|
3415
|
-
if (element === top || !isGrabbable(element))
|
|
3416
|
-
continue;
|
|
3417
|
-
if (holds(element, x, y) && !isClearLayer(element))
|
|
3418
|
-
return element;
|
|
3419
|
-
}
|
|
3420
|
-
return top;
|
|
3421
|
-
}
|
|
3422
|
-
function descend(start4, x, y) {
|
|
3423
|
-
let current = start4;
|
|
3424
|
-
for (let depth = 0;depth < MAX_DEPTH; depth += 1) {
|
|
3425
|
-
let best = null;
|
|
3426
|
-
let smallest = Number.POSITIVE_INFINITY;
|
|
3427
|
-
for (const children of [current.children, current.shadowRoot?.children]) {
|
|
3428
|
-
if (!children)
|
|
3429
|
-
continue;
|
|
3430
|
-
for (let index = 0;index < children.length; index++) {
|
|
3431
|
-
const child = children[index];
|
|
3432
|
-
if (!child || child.hasAttribute("data-devknobs") || !holds(child, x, y))
|
|
3433
|
-
continue;
|
|
3434
|
-
if (isHidden(child) || isClearLayer(child))
|
|
3435
|
-
continue;
|
|
3436
|
-
const size = area(child);
|
|
3437
|
-
if (size > smallest)
|
|
3438
|
-
continue;
|
|
3439
|
-
best = child;
|
|
3440
|
-
smallest = size;
|
|
3441
|
-
}
|
|
3442
|
-
}
|
|
3443
|
-
if (!best)
|
|
3444
|
-
break;
|
|
3445
|
-
current = best;
|
|
3446
|
-
}
|
|
3447
|
-
return current;
|
|
3448
|
-
}
|
|
3449
|
-
function deepElementAt(root, x, y) {
|
|
3450
|
-
let element = root.elementFromPoint(x, y);
|
|
3451
|
-
while (element?.shadowRoot) {
|
|
3452
|
-
const inner = element.shadowRoot.elementFromPoint(x, y);
|
|
3453
|
-
if (!inner || inner === element)
|
|
3454
|
-
break;
|
|
3455
|
-
element = inner;
|
|
3456
|
-
}
|
|
3457
|
-
if (!isGrabbable(element))
|
|
3458
|
-
return element;
|
|
3459
|
-
return descend(under(root, element, x, y), x, y);
|
|
3460
|
-
}
|
|
3461
|
-
function grabTargetAt(root, x, y) {
|
|
3462
|
-
const element = deepElementAt(root, x, y);
|
|
3463
|
-
return isGrabbable(element) ? element : null;
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
3489
|
// src/engine/touchpointer.ts
|
|
3467
3490
|
var SLOP = 10;
|
|
3468
3491
|
var VELOCITY_WINDOW = 100;
|
|
@@ -3836,9 +3859,9 @@ function flingStep(time) {
|
|
|
3836
3859
|
return;
|
|
3837
3860
|
const { scroller } = fling;
|
|
3838
3861
|
const step = inertiaStep(fling.velocity, Math.max(0, time - fling.at));
|
|
3839
|
-
const
|
|
3862
|
+
const before2 = [scroller.element.scrollLeft, scroller.element.scrollTop];
|
|
3840
3863
|
scrollBy(scroller, step.move.x, step.move.y);
|
|
3841
|
-
const moved = scroller.element.scrollLeft !==
|
|
3864
|
+
const moved = scroller.element.scrollLeft !== before2[0] || scroller.element.scrollTop !== before2[1];
|
|
3842
3865
|
fling.velocity = step.velocity;
|
|
3843
3866
|
fling.at = time;
|
|
3844
3867
|
if (step.done || !moved && (step.move.x !== 0 || step.move.y !== 0)) {
|
|
@@ -4072,7 +4095,7 @@ function hideCursor() {
|
|
|
4072
4095
|
handUp(mark);
|
|
4073
4096
|
unmountDot();
|
|
4074
4097
|
}
|
|
4075
|
-
function
|
|
4098
|
+
function apply19(on3) {
|
|
4076
4099
|
if (on3 === active)
|
|
4077
4100
|
return;
|
|
4078
4101
|
active = on3;
|
|
@@ -4089,8 +4112,8 @@ function apply18(on3) {
|
|
|
4089
4112
|
stopFling();
|
|
4090
4113
|
hideCursor();
|
|
4091
4114
|
}
|
|
4092
|
-
function
|
|
4093
|
-
|
|
4115
|
+
function reset18() {
|
|
4116
|
+
apply19(false);
|
|
4094
4117
|
}
|
|
4095
4118
|
function pause(on3) {
|
|
4096
4119
|
if (on3 === paused)
|
|
@@ -4106,149 +4129,13 @@ function pause(on3) {
|
|
|
4106
4129
|
showCursor();
|
|
4107
4130
|
}
|
|
4108
4131
|
|
|
4109
|
-
// src/engine/frames.ts
|
|
4110
|
-
var kit = null;
|
|
4111
|
-
var load2 = () => import("./framekit-te90cjs0.js");
|
|
4112
|
-
var loading = null;
|
|
4113
|
-
var down = false;
|
|
4114
|
-
var waiting = [];
|
|
4115
|
-
var before = null;
|
|
4116
|
-
var latest = null;
|
|
4117
|
-
var exit = null;
|
|
4118
|
-
var zoomTo = null;
|
|
4119
|
-
var askWhy = null;
|
|
4120
|
-
var framed2 = null;
|
|
4121
|
-
function arrived(loaded) {
|
|
4122
|
-
kit = loaded;
|
|
4123
|
-
loaded.width.onExit(exit);
|
|
4124
|
-
loaded.width.onZoom(zoomTo);
|
|
4125
|
-
loaded.width.onRefused(askWhy);
|
|
4126
|
-
loaded.width.onFramed(framed2);
|
|
4127
|
-
for (const run of waiting.splice(0))
|
|
4128
|
-
run(loaded);
|
|
4129
|
-
for (const state of [before, latest]) {
|
|
4130
|
-
if (!state)
|
|
4131
|
-
continue;
|
|
4132
|
-
loaded.width.apply(state);
|
|
4133
|
-
loaded.width.sync(state);
|
|
4134
|
-
}
|
|
4135
|
-
before = null;
|
|
4136
|
-
latest = null;
|
|
4137
|
-
}
|
|
4138
|
-
function loadFrames() {
|
|
4139
|
-
loading ??= load2().then(arrived);
|
|
4140
|
-
return loading;
|
|
4141
|
-
}
|
|
4142
|
-
function failed(error) {
|
|
4143
|
-
console.error("devknobs: the device frame could not load", error);
|
|
4144
|
-
down = true;
|
|
4145
|
-
before = null;
|
|
4146
|
-
latest = null;
|
|
4147
|
-
dropEarly();
|
|
4148
|
-
exit?.();
|
|
4149
|
-
}
|
|
4150
|
-
function whenIn(watch3) {
|
|
4151
|
-
if (kit)
|
|
4152
|
-
return watch3(kit);
|
|
4153
|
-
let stop2 = null;
|
|
4154
|
-
const run = (loaded) => {
|
|
4155
|
-
stop2 = watch3(loaded);
|
|
4156
|
-
};
|
|
4157
|
-
waiting.push(run);
|
|
4158
|
-
return () => {
|
|
4159
|
-
const at = waiting.indexOf(run);
|
|
4160
|
-
if (at >= 0)
|
|
4161
|
-
waiting.splice(at, 1);
|
|
4162
|
-
stop2?.();
|
|
4163
|
-
};
|
|
4164
|
-
}
|
|
4165
|
-
function apply19(state) {
|
|
4166
|
-
if (kit) {
|
|
4167
|
-
kit.width.apply(state);
|
|
4168
|
-
return;
|
|
4169
|
-
}
|
|
4170
|
-
if (latest === null && !needsFrame(state)) {
|
|
4171
|
-
before = state;
|
|
4172
|
-
dropEarly();
|
|
4173
|
-
return;
|
|
4174
|
-
}
|
|
4175
|
-
if (down) {
|
|
4176
|
-
exit?.();
|
|
4177
|
-
return;
|
|
4178
|
-
}
|
|
4179
|
-
latest = state;
|
|
4180
|
-
if (!loading)
|
|
4181
|
-
loadFrames().catch(failed);
|
|
4182
|
-
}
|
|
4183
|
-
function sync(state) {
|
|
4184
|
-
kit?.width.sync(state);
|
|
4185
|
-
}
|
|
4186
|
-
function reset18() {
|
|
4187
|
-
kit?.width.reset();
|
|
4188
|
-
before = null;
|
|
4189
|
-
latest = null;
|
|
4190
|
-
}
|
|
4191
|
-
function onExit(handler) {
|
|
4192
|
-
exit = handler;
|
|
4193
|
-
kit?.width.onExit(handler);
|
|
4194
|
-
}
|
|
4195
|
-
function onZoom(handler) {
|
|
4196
|
-
zoomTo = handler;
|
|
4197
|
-
kit?.width.onZoom(handler);
|
|
4198
|
-
}
|
|
4199
|
-
function onRefused(handler) {
|
|
4200
|
-
askWhy = handler;
|
|
4201
|
-
kit?.width.onRefused(handler);
|
|
4202
|
-
}
|
|
4203
|
-
function onFramed(handler) {
|
|
4204
|
-
framed2 = handler;
|
|
4205
|
-
kit?.width.onFramed(handler);
|
|
4206
|
-
}
|
|
4207
|
-
function frameWindow() {
|
|
4208
|
-
return kit?.width.frameWindow() ?? null;
|
|
4209
|
-
}
|
|
4210
|
-
function idle() {
|
|
4211
|
-
if (kit)
|
|
4212
|
-
return kit.width.idle();
|
|
4213
|
-
return latest === null;
|
|
4214
|
-
}
|
|
4215
|
-
function panelSized(glide) {
|
|
4216
|
-
kit?.width.panelSized(glide);
|
|
4217
|
-
}
|
|
4218
|
-
function zoomKey(action) {
|
|
4219
|
-
return kit?.width.zoomKey(action) ?? false;
|
|
4220
|
-
}
|
|
4221
|
-
function landSplash() {
|
|
4222
|
-
kit?.landSplash();
|
|
4223
|
-
}
|
|
4224
|
-
function takeHinge(state) {
|
|
4225
|
-
return kit?.takeHinge(state) ?? false;
|
|
4226
|
-
}
|
|
4227
|
-
function moveHinge(target) {
|
|
4228
|
-
return kit?.moveHinge(target) ?? false;
|
|
4229
|
-
}
|
|
4230
|
-
function letGo(stop2) {
|
|
4231
|
-
return kit?.letGo(stop2) ?? false;
|
|
4232
|
-
}
|
|
4233
|
-
function holdingHinge() {
|
|
4234
|
-
return kit?.holdingHinge() ?? false;
|
|
4235
|
-
}
|
|
4236
|
-
function foldRest() {
|
|
4237
|
-
return kit?.foldRest() ?? null;
|
|
4238
|
-
}
|
|
4239
|
-
function watchFold(watcher) {
|
|
4240
|
-
return whenIn((loaded) => loaded.watchFold(watcher));
|
|
4241
|
-
}
|
|
4242
|
-
function watchHinge(watcher) {
|
|
4243
|
-
return whenIn((loaded) => loaded.watchHinge(watcher));
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4246
4132
|
// src/engine/index.ts
|
|
4247
4133
|
var state = { ...DEFAULT_STATE };
|
|
4248
4134
|
var persist = true;
|
|
4249
4135
|
var running = false;
|
|
4250
4136
|
var native2 = null;
|
|
4251
4137
|
var nativeNote = null;
|
|
4138
|
+
var toldRealPhone = false;
|
|
4252
4139
|
var inFrame = false;
|
|
4253
4140
|
var stopRelay = null;
|
|
4254
4141
|
var panelMoving = null;
|
|
@@ -4267,6 +4154,10 @@ function driver() {
|
|
|
4267
4154
|
}
|
|
4268
4155
|
function applyState(next) {
|
|
4269
4156
|
state = inFrame ? framed(next) : next;
|
|
4157
|
+
if (running && !inFrame && native2?.realPhone && toldRealPhone !== state.panel.realPhone) {
|
|
4158
|
+
toldRealPhone = state.panel.realPhone;
|
|
4159
|
+
native2.realPhone(toldRealPhone);
|
|
4160
|
+
}
|
|
4270
4161
|
const active2 = driver();
|
|
4271
4162
|
const page = inPage(state, active2);
|
|
4272
4163
|
const scheme = inFrame && nativeScheme(page.scheme) ? "system" : page.scheme;
|
|
@@ -4283,28 +4174,28 @@ function applyState(next) {
|
|
|
4283
4174
|
on: touchScreen || nativeTouch,
|
|
4284
4175
|
points: !nativeTouch && uaPreset(state.ua.preset) === undefined
|
|
4285
4176
|
});
|
|
4286
|
-
|
|
4177
|
+
apply19(touchScreen && state.touchPointer);
|
|
4287
4178
|
apply5(inFrame ? screenSizeOf(state) : null);
|
|
4288
4179
|
apply6(touchScreen);
|
|
4289
|
-
|
|
4180
|
+
apply18(state.speed);
|
|
4290
4181
|
apply8(state.locale);
|
|
4291
|
-
|
|
4182
|
+
apply15(state.pseudo);
|
|
4292
4183
|
apply(state.geo);
|
|
4293
4184
|
apply9(resolveTimeZone(state.timeZone, state.geo), state.clock);
|
|
4294
|
-
|
|
4295
|
-
|
|
4185
|
+
apply11(state.clock);
|
|
4186
|
+
apply12(page.network);
|
|
4296
4187
|
apply2(page.text);
|
|
4297
4188
|
if (active2 && !inFrame)
|
|
4298
4189
|
drive(active2, state);
|
|
4299
4190
|
else if (native2 && !inFrame)
|
|
4300
4191
|
driveUa(native2, state);
|
|
4301
|
-
|
|
4302
|
-
apply4(state.ua);
|
|
4192
|
+
apply16(state.spacing);
|
|
4303
4193
|
const sized2 = inFrame ? state : framing(state, active2);
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4194
|
+
apply4(!inFrame && needsFrame(sized2) ? DEFAULT_STATE.ua : state.ua);
|
|
4195
|
+
apply10(sized2);
|
|
4196
|
+
apply14(state.overflow && !needsFrame(sized2));
|
|
4197
|
+
apply13(state.outlines);
|
|
4198
|
+
apply17(!inFrame && shownHere(state.panel.devIcon));
|
|
4308
4199
|
if (persist)
|
|
4309
4200
|
save(state);
|
|
4310
4201
|
sync(sized2);
|
|
@@ -4321,6 +4212,9 @@ function setNative(on3, note) {
|
|
|
4321
4212
|
if (running && (changed || note !== undefined))
|
|
4322
4213
|
applyState(state);
|
|
4323
4214
|
}
|
|
4215
|
+
function hostSendsUa() {
|
|
4216
|
+
return native2?.ua !== undefined && native2.realPhone !== undefined;
|
|
4217
|
+
}
|
|
4324
4218
|
function nativeSwitch() {
|
|
4325
4219
|
if (!native2?.setting)
|
|
4326
4220
|
return null;
|
|
@@ -4389,7 +4283,10 @@ function start4(options = {}) {
|
|
|
4389
4283
|
onZoom((zoom) => setState({ zoom }));
|
|
4390
4284
|
onRefused(native2?.refused ?? null);
|
|
4391
4285
|
onFramed(native2?.framed ?? null);
|
|
4392
|
-
|
|
4286
|
+
onLoader(native2?.load ?? null);
|
|
4287
|
+
const first = merge(stored ? load() : { ...DEFAULT_STATE }, options.state ?? {});
|
|
4288
|
+
toldRealPhone = first.panel.realPhone;
|
|
4289
|
+
applyState(first);
|
|
4393
4290
|
if (!inFrame)
|
|
4394
4291
|
return;
|
|
4395
4292
|
relay(overflowCount());
|
|
@@ -4409,25 +4306,26 @@ function stop2() {
|
|
|
4409
4306
|
onZoom(null);
|
|
4410
4307
|
onRefused(null);
|
|
4411
4308
|
onFramed(null);
|
|
4309
|
+
onLoader(null);
|
|
4412
4310
|
destroy();
|
|
4413
4311
|
reset6();
|
|
4414
|
-
|
|
4312
|
+
reset18();
|
|
4415
4313
|
reset4();
|
|
4416
4314
|
reset5();
|
|
4417
|
-
|
|
4315
|
+
reset17();
|
|
4418
4316
|
reset7();
|
|
4419
|
-
|
|
4317
|
+
reset14();
|
|
4420
4318
|
reset();
|
|
4421
4319
|
reset8();
|
|
4422
|
-
reset9();
|
|
4423
4320
|
reset10();
|
|
4321
|
+
reset11();
|
|
4424
4322
|
reset2();
|
|
4425
|
-
|
|
4323
|
+
reset15();
|
|
4426
4324
|
reset3();
|
|
4427
|
-
|
|
4325
|
+
reset9();
|
|
4326
|
+
reset13();
|
|
4428
4327
|
reset12();
|
|
4429
|
-
|
|
4430
|
-
reset15();
|
|
4328
|
+
reset16();
|
|
4431
4329
|
if (native2)
|
|
4432
4330
|
release(native2);
|
|
4433
4331
|
native2 = null;
|
|
@@ -4441,541 +4339,4 @@ function replay2() {
|
|
|
4441
4339
|
post(frameWindow(), { source: "devknobs", type: "replay" });
|
|
4442
4340
|
}
|
|
4443
4341
|
|
|
4444
|
-
|
|
4445
|
-
function hotkeyOf(hotkey) {
|
|
4446
|
-
return (hotkey ?? "k").toLowerCase();
|
|
4447
|
-
}
|
|
4448
|
-
var MODIFIER_NAMES = {
|
|
4449
|
-
meta: "meta",
|
|
4450
|
-
cmd: "meta",
|
|
4451
|
-
command: "meta",
|
|
4452
|
-
ctrl: "ctrl",
|
|
4453
|
-
control: "ctrl",
|
|
4454
|
-
shift: "shift",
|
|
4455
|
-
alt: "alt",
|
|
4456
|
-
option: "alt",
|
|
4457
|
-
opt: "alt"
|
|
4458
|
-
};
|
|
4459
|
-
function parseCombo(spec) {
|
|
4460
|
-
if (!spec?.trim())
|
|
4461
|
-
return null;
|
|
4462
|
-
const parsed = { meta: false, ctrl: false, shift: false, alt: false, key: "" };
|
|
4463
|
-
for (const raw of spec.split("+")) {
|
|
4464
|
-
const part = raw.trim().toLowerCase();
|
|
4465
|
-
const modifier = MODIFIER_NAMES[part];
|
|
4466
|
-
if (modifier)
|
|
4467
|
-
parsed[modifier] = true;
|
|
4468
|
-
else if (part && !parsed.key)
|
|
4469
|
-
parsed.key = part;
|
|
4470
|
-
else
|
|
4471
|
-
return null;
|
|
4472
|
-
}
|
|
4473
|
-
return parsed.key ? parsed : null;
|
|
4474
|
-
}
|
|
4475
|
-
function comboText(combo) {
|
|
4476
|
-
const names = [
|
|
4477
|
-
combo.meta && "meta",
|
|
4478
|
-
combo.ctrl && "ctrl",
|
|
4479
|
-
combo.alt && "alt",
|
|
4480
|
-
combo.shift && "shift"
|
|
4481
|
-
];
|
|
4482
|
-
return [...names.filter((name) => Boolean(name)), combo.key].join("+");
|
|
4483
|
-
}
|
|
4484
|
-
function withShift(key2) {
|
|
4485
|
-
return { meta: false, ctrl: false, shift: true, alt: false, key: key2 };
|
|
4486
|
-
}
|
|
4487
|
-
function isFunctionKey(key2) {
|
|
4488
|
-
return /^f([1-9]|1[0-2])$/.test(key2);
|
|
4489
|
-
}
|
|
4490
|
-
function deletes(key2) {
|
|
4491
|
-
return key2 === "backspace" || key2 === "delete";
|
|
4492
|
-
}
|
|
4493
|
-
var KEY_GLYPHS = { backspace: "⌫", delete: "⌦" };
|
|
4494
|
-
var KEY_NAMES = { backspace: "Backspace", delete: "Delete" };
|
|
4495
|
-
function comboLabel(combo, mac) {
|
|
4496
|
-
const key2 = combo.key;
|
|
4497
|
-
if (mac) {
|
|
4498
|
-
const marks = `${combo.ctrl ? "⌃" : ""}${combo.alt ? "⌥" : ""}${combo.shift ? "⇧" : ""}${combo.meta ? "⌘" : ""}`;
|
|
4499
|
-
return `${marks}${KEY_GLYPHS[key2] ?? key2.toUpperCase()}`;
|
|
4500
|
-
}
|
|
4501
|
-
const names = [
|
|
4502
|
-
combo.ctrl && "Ctrl",
|
|
4503
|
-
combo.alt && "Alt",
|
|
4504
|
-
combo.shift && "Shift",
|
|
4505
|
-
combo.meta && "Meta"
|
|
4506
|
-
];
|
|
4507
|
-
const name = KEY_NAMES[key2] ?? key2.toUpperCase();
|
|
4508
|
-
return [...names.filter((part) => Boolean(part)), name].join(" ");
|
|
4509
|
-
}
|
|
4510
|
-
function comboSpoken(combo) {
|
|
4511
|
-
return comboText(combo).replaceAll("+", " ");
|
|
4512
|
-
}
|
|
4513
|
-
var INSPECT_KEYS = ["c", "i", "y"];
|
|
4514
|
-
function defaultKeys(options = {}) {
|
|
4515
|
-
const panel = withShift(hotkeyOf(options.hotkey));
|
|
4516
|
-
const grab = parseCombo(options.grabKey) ?? withShift("g");
|
|
4517
|
-
const taken = [panel, grab].map(comboText);
|
|
4518
|
-
const free = INSPECT_KEYS.find((key2) => !taken.includes(comboText(withShift(key2))));
|
|
4519
|
-
return {
|
|
4520
|
-
panel,
|
|
4521
|
-
grab,
|
|
4522
|
-
inspect: withShift(free ?? "c"),
|
|
4523
|
-
replay: withShift(REPLAY_KEY),
|
|
4524
|
-
requests: withShift(REQUESTS_KEY),
|
|
4525
|
-
storage: withShift(STORAGE_KEY),
|
|
4526
|
-
reset: withShift("backspace")
|
|
4527
|
-
};
|
|
4528
|
-
}
|
|
4529
|
-
var KEYS_FIELD = "data-devknobs-keys";
|
|
4530
|
-
function isTyping(node) {
|
|
4531
|
-
const element = node;
|
|
4532
|
-
const tag2 = element?.tagName;
|
|
4533
|
-
if (tag2 === "INPUT" || tag2 === "TEXTAREA")
|
|
4534
|
-
return true;
|
|
4535
|
-
return element?.isContentEditable === true;
|
|
4536
|
-
}
|
|
4537
|
-
function focusInClosedRoot(node) {
|
|
4538
|
-
if (typeof HTMLElement === "undefined" || !(node instanceof HTMLElement))
|
|
4539
|
-
return false;
|
|
4540
|
-
if (!node.tagName.includes("-"))
|
|
4541
|
-
return false;
|
|
4542
|
-
if (node.shadowRoot !== null || node.hasAttribute("tabindex") || node.tabIndex >= 0)
|
|
4543
|
-
return false;
|
|
4544
|
-
const root = node.getRootNode();
|
|
4545
|
-
if (root instanceof Document) {
|
|
4546
|
-
if (node === root.body || node === root.documentElement)
|
|
4547
|
-
return false;
|
|
4548
|
-
} else if (!(root instanceof ShadowRoot)) {
|
|
4549
|
-
return false;
|
|
4550
|
-
}
|
|
4551
|
-
return root.activeElement === node;
|
|
4552
|
-
}
|
|
4553
|
-
function isEditable(node) {
|
|
4554
|
-
return isTyping(node) || node?.tagName === "SELECT" || focusInClosedRoot(node);
|
|
4555
|
-
}
|
|
4556
|
-
function typesInField(event) {
|
|
4557
|
-
const target = event.composedPath?.()[0] ?? event.target;
|
|
4558
|
-
if (!isEditable(target))
|
|
4559
|
-
return false;
|
|
4560
|
-
return target?.hasAttribute?.(KEYS_FIELD) !== true;
|
|
4561
|
-
}
|
|
4562
|
-
function lowerKey(key2) {
|
|
4563
|
-
return key2 === "İ" ? "i" : key2.toLowerCase();
|
|
4564
|
-
}
|
|
4565
|
-
function letterMatches(event, letter) {
|
|
4566
|
-
const key2 = lowerKey(event.key);
|
|
4567
|
-
if (key2 === letter)
|
|
4568
|
-
return true;
|
|
4569
|
-
return [...key2].length === 1 && !/\p{Script=Latin}/u.test(key2) && event.code === `Key${letter.toUpperCase()}`;
|
|
4570
|
-
}
|
|
4571
|
-
function keyIs(event, key2) {
|
|
4572
|
-
if (/^[a-z]$/.test(key2)) {
|
|
4573
|
-
return letterMatches(event, key2) || event.altKey && event.code === `Key${key2.toUpperCase()}`;
|
|
4574
|
-
}
|
|
4575
|
-
if (event.key.toLowerCase() === key2)
|
|
4576
|
-
return true;
|
|
4577
|
-
if (/^[0-9]$/.test(key2))
|
|
4578
|
-
return event.code === `Digit${key2}`;
|
|
4579
|
-
return key2 === "backspace" && event.key === "Delete";
|
|
4580
|
-
}
|
|
4581
|
-
function comboMatches(event, combo) {
|
|
4582
|
-
return event.isComposing !== true && event.metaKey === combo.meta && event.ctrlKey === combo.ctrl && event.shiftKey === combo.shift && event.altKey === combo.alt && keyIs(event, combo.key);
|
|
4583
|
-
}
|
|
4584
|
-
function actsHere(event, combo) {
|
|
4585
|
-
if (isFunctionKey(combo.key))
|
|
4586
|
-
return true;
|
|
4587
|
-
if (deletes(combo.key))
|
|
4588
|
-
return !isEditable(event.composedPath?.()[0] ?? event.target);
|
|
4589
|
-
return !typesInField(event);
|
|
4590
|
-
}
|
|
4591
|
-
var REPLAY_KEY = "r";
|
|
4592
|
-
var REQUESTS_KEY = "n";
|
|
4593
|
-
var STORAGE_KEY = "s";
|
|
4594
|
-
function keyAction(event, keys) {
|
|
4595
|
-
if (event.key === "Escape")
|
|
4596
|
-
return "close";
|
|
4597
|
-
const steps = [
|
|
4598
|
-
["toggle", keys.panel],
|
|
4599
|
-
["replay", keys.replay],
|
|
4600
|
-
["requests", keys.requests],
|
|
4601
|
-
["reset", keys.reset],
|
|
4602
|
-
["storage", keys.storage]
|
|
4603
|
-
];
|
|
4604
|
-
for (const [action, combo] of steps) {
|
|
4605
|
-
if (combo && comboMatches(event, combo))
|
|
4606
|
-
return actsHere(event, combo) ? action : null;
|
|
4607
|
-
}
|
|
4608
|
-
return null;
|
|
4609
|
-
}
|
|
4610
|
-
function isSearchKey(event) {
|
|
4611
|
-
if (event.key !== "/" || event.altKey || event.ctrlKey || event.metaKey)
|
|
4612
|
-
return false;
|
|
4613
|
-
const target = event.composedPath?.()[0] ?? event.target;
|
|
4614
|
-
return !isEditable(target);
|
|
4615
|
-
}
|
|
4616
|
-
function typeAhead(event) {
|
|
4617
|
-
if (event.altKey || event.ctrlKey || event.metaKey || event.isComposing === true)
|
|
4618
|
-
return null;
|
|
4619
|
-
if ([...event.key].length !== 1 || event.key === " " || event.key === "/")
|
|
4620
|
-
return null;
|
|
4621
|
-
return isEditable(event.composedPath?.()[0] ?? event.target) ? null : event.key;
|
|
4622
|
-
}
|
|
4623
|
-
function zoomAction(event) {
|
|
4624
|
-
if (!event.metaKey && !event.ctrlKey || event.altKey)
|
|
4625
|
-
return null;
|
|
4626
|
-
if (isTyping(event.composedPath?.()[0] ?? event.target))
|
|
4627
|
-
return null;
|
|
4628
|
-
if (event.key === "=" || event.key === "+")
|
|
4629
|
-
return "zoom-in";
|
|
4630
|
-
if (event.key === "-" || event.key === "_")
|
|
4631
|
-
return "zoom-out";
|
|
4632
|
-
return event.key === "0" ? "zoom-fit" : null;
|
|
4633
|
-
}
|
|
4634
|
-
function escapeStep(scene) {
|
|
4635
|
-
if (scene.search)
|
|
4636
|
-
return "search";
|
|
4637
|
-
if (scene.filter)
|
|
4638
|
-
return "filter";
|
|
4639
|
-
if (scene.keys)
|
|
4640
|
-
return "keys";
|
|
4641
|
-
if (scene.view)
|
|
4642
|
-
return "view";
|
|
4643
|
-
if (scene.editor)
|
|
4644
|
-
return "editor";
|
|
4645
|
-
return "panel";
|
|
4646
|
-
}
|
|
4647
|
-
function highlightAt(cursor, count2, newQuery = false) {
|
|
4648
|
-
return Math.min(Math.max(newQuery ? 0 : cursor, 0), count2 - 1);
|
|
4649
|
-
}
|
|
4650
|
-
function paletteMove(key2, cursor, count2) {
|
|
4651
|
-
if (key2 === "ArrowDown" || key2 === "ArrowUp") {
|
|
4652
|
-
return { cursor: highlightAt(cursor + (key2 === "ArrowDown" ? 1 : -1), count2), pick: false };
|
|
4653
|
-
}
|
|
4654
|
-
if (key2 === "Enter")
|
|
4655
|
-
return { cursor: highlightAt(cursor, count2), pick: count2 > 0 };
|
|
4656
|
-
return null;
|
|
4657
|
-
}
|
|
4658
|
-
function radioMove(key2, index, count2) {
|
|
4659
|
-
if (count2 === 0)
|
|
4660
|
-
return null;
|
|
4661
|
-
if (key2 === "ArrowRight" || key2 === "ArrowDown")
|
|
4662
|
-
return (index + 1) % count2;
|
|
4663
|
-
if (key2 === "ArrowLeft" || key2 === "ArrowUp")
|
|
4664
|
-
return (index - 1 + count2) % count2;
|
|
4665
|
-
if (key2 === "Home")
|
|
4666
|
-
return 0;
|
|
4667
|
-
return key2 === "End" ? count2 - 1 : null;
|
|
4668
|
-
}
|
|
4669
|
-
function forwardKeys(keys = () => defaultKeys(), open = () => true) {
|
|
4670
|
-
function onKeydown(event) {
|
|
4671
|
-
const zoom = zoomAction(event);
|
|
4672
|
-
const search = isSearchKey(event) && open();
|
|
4673
|
-
const panelAction = keyAction(event, keys());
|
|
4674
|
-
if (zoom || search || panelAction && panelAction !== "close")
|
|
4675
|
-
event.preventDefault();
|
|
4676
|
-
const action = panelAction ?? zoom ?? (search ? "search" : null);
|
|
4677
|
-
if (action)
|
|
4678
|
-
post(window.parent, { source: "devknobs", type: "key", action });
|
|
4679
|
-
}
|
|
4680
|
-
window.addEventListener("keydown", onKeydown, true);
|
|
4681
|
-
return () => window.removeEventListener("keydown", onKeydown, true);
|
|
4682
|
-
}
|
|
4683
|
-
|
|
4684
|
-
// src/ui/icons.ts
|
|
4685
|
-
var SVG = "http://www.w3.org/2000/svg";
|
|
4686
|
-
var p = (d) => ["path", { d }];
|
|
4687
|
-
var c = (cx, cy, r) => ["circle", { cx, cy, r }];
|
|
4688
|
-
var ICONS = {
|
|
4689
|
-
"half-sun-moon": [
|
|
4690
|
-
p("M12 7a5 5 0 0 0 0 10"),
|
|
4691
|
-
p("M12 3a9 9 0 0 1 0 18 12 12 0 0 0 0-18z"),
|
|
4692
|
-
p("M3 12h2"),
|
|
4693
|
-
p("m5.64 5.64 1.41 1.41"),
|
|
4694
|
-
p("m5.64 18.36 1.41-1.41")
|
|
4695
|
-
],
|
|
4696
|
-
contrast: [c("12", "12", "10"), p("M12 18a6 6 0 0 0 0-12v12z")],
|
|
4697
|
-
blend: [c("15", "9", "7"), c("9", "15", "7")],
|
|
4698
|
-
eye: [
|
|
4699
|
-
p("M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"),
|
|
4700
|
-
c("12", "12", "3")
|
|
4701
|
-
],
|
|
4702
|
-
type: [p("M12 4v16"), p("M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2"), p("M9 20h6")],
|
|
4703
|
-
wind: [
|
|
4704
|
-
p("M12.8 19.6A2 2 0 1 0 14 16H2"),
|
|
4705
|
-
p("M17.5 8a2.5 2.5 0 1 1 2 4H2"),
|
|
4706
|
-
p("M9.8 4.4A2 2 0 1 1 11 8H2")
|
|
4707
|
-
],
|
|
4708
|
-
languages: [
|
|
4709
|
-
p("m5 8 6 6"),
|
|
4710
|
-
p("m4 14 6-6 2-3"),
|
|
4711
|
-
p("M2 5h12"),
|
|
4712
|
-
p("M7 2h1"),
|
|
4713
|
-
p("m22 22-5-10-5 10"),
|
|
4714
|
-
p("M14 18h6")
|
|
4715
|
-
],
|
|
4716
|
-
"map-pin": [
|
|
4717
|
-
p("M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"),
|
|
4718
|
-
c("12", "10", "3")
|
|
4719
|
-
],
|
|
4720
|
-
clock: [c("12", "12", "10"), p("M12 6v6l4 2")],
|
|
4721
|
-
wifi: [
|
|
4722
|
-
p("M12 20h.01"),
|
|
4723
|
-
p("M2 8.82a15 15 0 0 1 20 0"),
|
|
4724
|
-
p("M5 12.859a10 10 0 0 1 14 0"),
|
|
4725
|
-
p("M8.5 16.429a5 5 0 0 1 7 0")
|
|
4726
|
-
],
|
|
4727
|
-
smartphone: [
|
|
4728
|
-
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2" }],
|
|
4729
|
-
p("M12 18h.01")
|
|
4730
|
-
],
|
|
4731
|
-
ruler: [
|
|
4732
|
-
p("M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"),
|
|
4733
|
-
p("m14.5 12.5 2-2"),
|
|
4734
|
-
p("m11.5 9.5 2-2"),
|
|
4735
|
-
p("m8.5 6.5 2-2"),
|
|
4736
|
-
p("m17.5 15.5 2-2")
|
|
4737
|
-
],
|
|
4738
|
-
bug: [
|
|
4739
|
-
p("M12 20v-9"),
|
|
4740
|
-
p("M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z"),
|
|
4741
|
-
p("M14.12 3.88 16 2"),
|
|
4742
|
-
p("M21 21a4 4 0 0 0-3.81-4"),
|
|
4743
|
-
p("M21 5a4 4 0 0 1-3.55 3.97"),
|
|
4744
|
-
p("M22 13h-4"),
|
|
4745
|
-
p("M3 21a4 4 0 0 1 3.81-4"),
|
|
4746
|
-
p("M3 5a4 4 0 0 0 3.55 3.97"),
|
|
4747
|
-
p("M6 13H2"),
|
|
4748
|
-
p("m8 2 1.88 1.88"),
|
|
4749
|
-
p("M9 7.13V6a3 3 0 1 1 6 0v1.13")
|
|
4750
|
-
],
|
|
4751
|
-
"square-dashed-mouse-pointer": [
|
|
4752
|
-
p("M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"),
|
|
4753
|
-
p("M5 3a2 2 0 0 0-2 2"),
|
|
4754
|
-
p("M19 3a2 2 0 0 1 2 2"),
|
|
4755
|
-
p("M5 21a2 2 0 0 1-2-2"),
|
|
4756
|
-
p("M9 3h1"),
|
|
4757
|
-
p("M9 21h2"),
|
|
4758
|
-
p("M14 3h1"),
|
|
4759
|
-
p("M3 9v1"),
|
|
4760
|
-
p("M21 9v2"),
|
|
4761
|
-
p("M3 14v1")
|
|
4762
|
-
],
|
|
4763
|
-
braces: [
|
|
4764
|
-
p("M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"),
|
|
4765
|
-
p("M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1")
|
|
4766
|
-
],
|
|
4767
|
-
settings: [
|
|
4768
|
-
p("M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"),
|
|
4769
|
-
c("12", "12", "3")
|
|
4770
|
-
],
|
|
4771
|
-
"panel-right": [
|
|
4772
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
4773
|
-
p("M15 3v18")
|
|
4774
|
-
],
|
|
4775
|
-
"panel-left": [
|
|
4776
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
4777
|
-
p("M9 3v18")
|
|
4778
|
-
],
|
|
4779
|
-
"panel-right-close": [
|
|
4780
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
4781
|
-
p("M15 3v18"),
|
|
4782
|
-
p("m8 9 3 3-3 3")
|
|
4783
|
-
],
|
|
4784
|
-
"panel-right-open": [
|
|
4785
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
4786
|
-
p("M15 3v18"),
|
|
4787
|
-
p("m10 15-3-3 3-3")
|
|
4788
|
-
],
|
|
4789
|
-
pin: [
|
|
4790
|
-
p("M12 17v5"),
|
|
4791
|
-
p("M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z")
|
|
4792
|
-
],
|
|
4793
|
-
"pin-off": [
|
|
4794
|
-
p("M12 17v5"),
|
|
4795
|
-
p("M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89"),
|
|
4796
|
-
p("m2 2 20 20"),
|
|
4797
|
-
p("M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11")
|
|
4798
|
-
],
|
|
4799
|
-
eraser: [
|
|
4800
|
-
p("M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"),
|
|
4801
|
-
p("m5.082 11.09 8.828 8.828")
|
|
4802
|
-
],
|
|
4803
|
-
"rotate-ccw": [p("M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"), p("M3 3v5h5")],
|
|
4804
|
-
"arrow-up-down": [p("m21 16-4 4-4-4"), p("M17 20V4"), p("m3 8 4-4 4 4"), p("M7 4v16")],
|
|
4805
|
-
ban: [c("12", "12", "10"), p("M4.929 4.929 19.07 19.071")],
|
|
4806
|
-
copy: [
|
|
4807
|
-
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }],
|
|
4808
|
-
p("M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2")
|
|
4809
|
-
],
|
|
4810
|
-
"refresh-cw": [
|
|
4811
|
-
p("M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"),
|
|
4812
|
-
p("M21 3v5h-5"),
|
|
4813
|
-
p("M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"),
|
|
4814
|
-
p("M8 16H3v5")
|
|
4815
|
-
],
|
|
4816
|
-
database: [
|
|
4817
|
-
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }],
|
|
4818
|
-
p("M3 5V19A9 3 0 0 0 21 19V5"),
|
|
4819
|
-
p("M3 12A9 3 0 0 0 21 12")
|
|
4820
|
-
],
|
|
4821
|
-
"trash-2": [
|
|
4822
|
-
p("M10 11v6"),
|
|
4823
|
-
p("M14 11v6"),
|
|
4824
|
-
p("M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"),
|
|
4825
|
-
p("M3 6h18"),
|
|
4826
|
-
p("M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2")
|
|
4827
|
-
],
|
|
4828
|
-
check: [p("M20 6 9 17l-5-5")],
|
|
4829
|
-
"chevron-left": [p("m15 18-6-6 6-6")],
|
|
4830
|
-
"chevrons-left-right": [p("m9 7-5 5 5 5"), p("m15 7 5 5-5 5")],
|
|
4831
|
-
plus: [p("M5 12h14"), p("M12 5v14")],
|
|
4832
|
-
x: [p("M18 6 6 18"), p("m6 6 12 12")],
|
|
4833
|
-
"grip-vertical": [
|
|
4834
|
-
c("9", "12", "1"),
|
|
4835
|
-
c("9", "5", "1"),
|
|
4836
|
-
c("9", "19", "1"),
|
|
4837
|
-
c("15", "12", "1"),
|
|
4838
|
-
c("15", "5", "1"),
|
|
4839
|
-
c("15", "19", "1")
|
|
4840
|
-
],
|
|
4841
|
-
image: [
|
|
4842
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }],
|
|
4843
|
-
c("9", "9", "2"),
|
|
4844
|
-
p("m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21")
|
|
4845
|
-
],
|
|
4846
|
-
film: [
|
|
4847
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
4848
|
-
p("M7 3v18"),
|
|
4849
|
-
p("M3 7.5h4"),
|
|
4850
|
-
p("M3 12h18"),
|
|
4851
|
-
p("M3 16.5h4"),
|
|
4852
|
-
p("M17 3v18"),
|
|
4853
|
-
p("M17 7.5h4"),
|
|
4854
|
-
p("M17 16.5h4")
|
|
4855
|
-
],
|
|
4856
|
-
file: [
|
|
4857
|
-
p("M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"),
|
|
4858
|
-
p("M14 2v5a1 1 0 0 0 1 1h5")
|
|
4859
|
-
],
|
|
4860
|
-
"table-2": [
|
|
4861
|
-
p("M3 9h18"),
|
|
4862
|
-
p("M9 3v18"),
|
|
4863
|
-
["rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }]
|
|
4864
|
-
],
|
|
4865
|
-
cookie: [
|
|
4866
|
-
p("M11 17h.01"),
|
|
4867
|
-
p("M11.496 2c.324-.016.558.292.529.615a4 4 0 004.235 4.368.713.713 0 01.758.757 4 4 0 004.366 4.237c.323-.03.63.204.614.527a10 10 0 01-2.915 6.566A1 1 0 114.93 4.918 10 10 0 0111.496 2"),
|
|
4868
|
-
p("M12 12h.01"),
|
|
4869
|
-
p("M16 16h.01"),
|
|
4870
|
-
p("M16 3h.01"),
|
|
4871
|
-
p("M21 4h.01"),
|
|
4872
|
-
p("M21 8h.01"),
|
|
4873
|
-
p("M7 14h.01"),
|
|
4874
|
-
p("M9 8h.01")
|
|
4875
|
-
],
|
|
4876
|
-
"hard-drive": [
|
|
4877
|
-
p("M10 16h.01"),
|
|
4878
|
-
p("M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"),
|
|
4879
|
-
p("M21.946 12.013H2.054"),
|
|
4880
|
-
p("M6 16h.01")
|
|
4881
|
-
],
|
|
4882
|
-
bookmark: [
|
|
4883
|
-
p("M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z")
|
|
4884
|
-
]
|
|
4885
|
-
};
|
|
4886
|
-
var BRANDS = {
|
|
4887
|
-
javascript: [
|
|
4888
|
-
"#F7DF1E",
|
|
4889
|
-
"M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z",
|
|
4890
|
-
["#000", "M1 1h22v22H1z"]
|
|
4891
|
-
],
|
|
4892
|
-
css: [
|
|
4893
|
-
"#663399",
|
|
4894
|
-
"M0 0v20.16A3.84 3.84 0 0 0 3.84 24h16.32A3.84 3.84 0 0 0 24 20.16V3.84A3.84 3.84 0 0 0 20.16 0Zm14.256 13.08c1.56 0 2.28 1.08 2.304 2.64h-1.608c.024-.288-.048-.6-.144-.84-.096-.192-.288-.264-.552-.264-.456 0-.696.264-.696.84-.024.576.288.888.768 1.08.72.288 1.608.744 1.92 1.296q.432.648.432 1.656c0 1.608-.912 2.592-2.496 2.592-1.656 0-2.4-1.032-2.424-2.688h1.68c0 .792.264 1.176.792 1.176.264 0 .456-.072.552-.24.192-.312.24-1.176-.048-1.512-.312-.408-.912-.6-1.32-.816q-.828-.396-1.224-.936c-.24-.36-.36-.888-.36-1.536 0-1.44.936-2.472 2.424-2.448m5.4 0c1.584 0 2.304 1.08 2.328 2.64h-1.608c0-.288-.048-.6-.168-.84-.096-.192-.264-.264-.528-.264-.48 0-.72.264-.72.84s.288.888.792 1.08c.696.288 1.608.744 1.92 1.296.264.432.408.984.408 1.656.024 1.608-.888 2.592-2.472 2.592-1.68 0-2.424-1.056-2.448-2.688h1.68c0 .744.264 1.176.792 1.176.264 0 .456-.072.552-.24.216-.312.264-1.176-.048-1.512-.288-.408-.888-.6-1.32-.816-.552-.264-.96-.576-1.2-.936s-.36-.888-.36-1.536c-.024-1.44.912-2.472 2.4-2.448m-11.031.018c.711-.006 1.419.198 1.839.63.432.432.672 1.128.648 1.992H9.336c.024-.456-.096-.792-.432-.96-.312-.144-.768-.048-.888.24-.12.264-.192.576-.168.864v3.504c0 .744.264 1.128.768 1.128a.65.65 0 0 0 .552-.264c.168-.24.192-.552.168-.84h1.776c.096 1.632-.984 2.712-2.568 2.688-1.536 0-2.496-.864-2.472-2.472v-4.032c0-.816.24-1.44.696-1.848.432-.408 1.146-.624 1.857-.63",
|
|
4895
|
-
["#fff", "M4 12h18v11.3H4z"]
|
|
4896
|
-
],
|
|
4897
|
-
html5: [
|
|
4898
|
-
"#E34F26",
|
|
4899
|
-
"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z",
|
|
4900
|
-
["#fff", "M5 4h14v16H5z"]
|
|
4901
|
-
],
|
|
4902
|
-
webassembly: [
|
|
4903
|
-
"#654FF0",
|
|
4904
|
-
"M14.745,0c0,0.042,0,0.085,0,0.129c0,1.52-1.232,2.752-2.752,2.752c-1.52,0-2.752-1.232-2.752-2.752 c0-0.045,0-0.087,0-0.129H0v24h24V0H14.745z M11.454,21.431l-1.169-5.783h-0.02l-1.264,5.783H7.39l-1.824-8.497h1.59l1.088,5.783 h0.02l1.311-5.783h1.487l1.177,5.854h0.02l1.242-5.854h1.561l-2.027,8.497H11.454z M20.209,21.431l-0.542-1.891h-2.861l-0.417,1.891 h-1.59l2.056-8.497h2.509l2.5,8.497H20.209z M17.812,15.028l-0.694,3.118h2.159l-0.796-3.118H17.812z",
|
|
4905
|
-
["#fff", "M4 12h19v10H4z"]
|
|
4906
|
-
],
|
|
4907
|
-
json: [
|
|
4908
|
-
"currentColor",
|
|
4909
|
-
"M12.043 23.968c.479-.004.953-.029 1.426-.094a11.805 11.805 0 003.146-.863 12.404 12.404 0 003.793-2.542 11.977 11.977 0 002.44-3.427 11.794 11.794 0 001.02-3.476c.149-1.16.135-2.346-.045-3.499a11.96 11.96 0 00-.793-2.788 11.197 11.197 0 00-.854-1.617c-1.168-1.837-2.861-3.314-4.81-4.3a12.835 12.835 0 00-2.172-.87h-.005c.119.063.24.132.345.201.12.074.239.146.351.225a8.93 8.93 0 011.559 1.33c1.063 1.145 1.797 2.548 2.218 4.041.284.982.434 1.998.495 3.017.044.743.044 1.491-.047 2.229-.149 1.27-.554 2.51-1.228 3.596a7.475 7.475 0 01-1.903 2.084c-1.244.928-2.877 1.482-4.436 1.114a3.916 3.916 0 01-.748-.258 4.692 4.692 0 01-.779-.45 6.08 6.08 0 01-1.244-1.105 6.507 6.507 0 01-1.049-1.747 7.366 7.366 0 01-.494-2.54c-.03-1.273.225-2.553.854-3.67a6.43 6.43 0 011.663-1.918c.225-.178.464-.333.704-.479l.016-.007a5.121 5.121 0 00-1.441-.12 4.963 4.963 0 00-1.228.24c-.359.12-.704.27-1.019.45a6.146 6.146 0 00-.733.494c-.211.18-.42.36-.615.555-1.123 1.153-1.768 2.682-2.022 4.256-.15.973-.15 1.96-.091 2.95.105 1.395.391 2.787.945 4.062a8.518 8.518 0 001.348 2.173 8.14 8.14 0 003.132 2.23 7.934 7.934 0 002.113.54c.074.015.149.015.209.015zm-2.934-.398a4.102 4.102 0 01-.45-.228 8.5 8.5 0 01-2.038-1.534c-1.094-1.137-1.827-2.566-2.247-4.08a15.184 15.184 0 01-.495-3.172 12.14 12.14 0 01.046-2.082c.135-1.257.495-2.501 1.124-3.58a6.889 6.889 0 011.783-2.053 6.23 6.23 0 011.633-.9 5.363 5.363 0 013.522-.045c.029 0 .029 0 .045.03.015.015.045.015.06.03.045.016.104.045.165.074.239.12.479.271.704.42a6.294 6.294 0 012.097 2.502c.42.914.615 1.934.631 2.938.014 1.079-.18 2.157-.645 3.146a6.42 6.42 0 01-2.638 2.832c.09.03.18.045.271.075.225.044.449.074.688.074 1.468.045 2.892-.66 3.94-1.647.195-.18.375-.375.54-.585.225-.27.435-.54.614-.823.239-.375.435-.75.614-1.154a8.112 8.112 0 00.509-1.664c.196-1.004.211-2.022.149-3.026-.135-2.022-.673-4.045-1.842-5.724a9.054 9.054 0 00-.555-.719 9.868 9.868 0 00-1.063-1.034 8.477 8.477 0 00-1.363-.915 9.927 9.927 0 00-1.692-.598l-.3-.06c-.209-.03-.42-.044-.634-.06a8.453 8.453 0 00-1.015.016c-.704.045-1.412.16-2.112.337C5.799 1.227 2.863 3.566 1.3 6.67A11.834 11.834 0 00.238 9.801a11.81 11.81 0 00-.104 3.775c.12 1.02.374 2.023.778 2.977.227.57.511 1.124.825 1.648 1.094 1.783 2.683 3.236 4.51 4.24.688.39 1.408.69 2.157.944.226.074.45.15.689.21z"
|
|
4910
|
-
]
|
|
4911
|
-
};
|
|
4912
|
-
var ROW_ICONS = {
|
|
4913
|
-
scheme: "half-sun-moon",
|
|
4914
|
-
contrast: "contrast",
|
|
4915
|
-
transparency: "blend",
|
|
4916
|
-
vision: "eye",
|
|
4917
|
-
text: "type",
|
|
4918
|
-
motion: "wind",
|
|
4919
|
-
locale: "languages",
|
|
4920
|
-
location: "map-pin",
|
|
4921
|
-
clock: "clock",
|
|
4922
|
-
network: "wifi",
|
|
4923
|
-
device: "smartphone",
|
|
4924
|
-
viewport: "ruler",
|
|
4925
|
-
debug: "bug"
|
|
4926
|
-
};
|
|
4927
|
-
function rowIcon(row) {
|
|
4928
|
-
return row.action ? row.action.icon : ROW_ICONS[row.id];
|
|
4929
|
-
}
|
|
4930
|
-
var BINDING_ICONS = {
|
|
4931
|
-
panel: "panel-right-open",
|
|
4932
|
-
grab: "square-dashed-mouse-pointer",
|
|
4933
|
-
inspect: "braces",
|
|
4934
|
-
replay: "rotate-ccw",
|
|
4935
|
-
requests: "arrow-up-down",
|
|
4936
|
-
storage: "database",
|
|
4937
|
-
reset: "eraser"
|
|
4938
|
-
};
|
|
4939
|
-
function frame3(size) {
|
|
4940
|
-
const svg = document.createElementNS(SVG, "svg");
|
|
4941
|
-
svg.setAttribute("class", "glyph");
|
|
4942
|
-
svg.setAttribute("viewBox", "0 0 24 24");
|
|
4943
|
-
svg.setAttribute("width", String(size));
|
|
4944
|
-
svg.setAttribute("height", String(size));
|
|
4945
|
-
svg.setAttribute("aria-hidden", "true");
|
|
4946
|
-
return svg;
|
|
4947
|
-
}
|
|
4948
|
-
function icon(name, size = 14) {
|
|
4949
|
-
const svg = frame3(size);
|
|
4950
|
-
svg.setAttribute("fill", "none");
|
|
4951
|
-
svg.setAttribute("stroke", "currentColor");
|
|
4952
|
-
svg.setAttribute("stroke-width", "1.5");
|
|
4953
|
-
svg.setAttribute("stroke-linecap", "round");
|
|
4954
|
-
svg.setAttribute("stroke-linejoin", "round");
|
|
4955
|
-
for (const [tag2, attributes2] of ICONS[name]) {
|
|
4956
|
-
const shape = document.createElementNS(SVG, tag2);
|
|
4957
|
-
for (const [key2, value] of Object.entries(attributes2))
|
|
4958
|
-
shape.setAttribute(key2, value);
|
|
4959
|
-
svg.append(shape);
|
|
4960
|
-
}
|
|
4961
|
-
return svg;
|
|
4962
|
-
}
|
|
4963
|
-
function brand(name, size = 14) {
|
|
4964
|
-
const svg = frame3(size);
|
|
4965
|
-
const [fill, d, behind] = BRANDS[name];
|
|
4966
|
-
for (const [color, path] of behind ? [behind, [fill, d]] : [[fill, d]]) {
|
|
4967
|
-
const shape = document.createElementNS(SVG, "path");
|
|
4968
|
-
shape.setAttribute("fill", color);
|
|
4969
|
-
shape.setAttribute("d", path);
|
|
4970
|
-
svg.append(shape);
|
|
4971
|
-
}
|
|
4972
|
-
return svg;
|
|
4973
|
-
}
|
|
4974
|
-
function isBrand(name) {
|
|
4975
|
-
return name in BRANDS;
|
|
4976
|
-
}
|
|
4977
|
-
function glyph(name, size = 14) {
|
|
4978
|
-
return isBrand(name) ? brand(name, size) : icon(name, size);
|
|
4979
|
-
}
|
|
4980
|
-
|
|
4981
|
-
export { BODY_CAP, READ_MS, requestLog, sends, canonicalTag, LOCALE_PRESETS, overflowCount, onCount, devIconShown, devIconFor, SPEED_MIN, SPEED_MAX, TIME_ZONE_PRESETS, canonicalZone, resolveTimeZone, composedParent, isDevknobs, isGrabbable, grabTargetAt, LAYER, HOST_RESET, holdInTopLayer, pause, frameWindow, panelSized, zoomKey, landSplash, takeHinge, moveHinge, letGo, holdingHinge, foldRest, watchFold, watchHinge, getState, subscribe, setNative, nativeSwitch, setState, ready, watchPanel, keepPlace2 as keepPlace, reset19 as reset, start4 as start, stop2 as stop, replay2 as replay, exports_engine, parseCombo, comboText, withShift, isFunctionKey, comboLabel, comboSpoken, defaultKeys, KEYS_FIELD, typesInField, lowerKey, keyIs, keyAction, isSearchKey, typeAhead, zoomAction, escapeStep, highlightAt, paletteMove, radioMove, forwardKeys, ROW_ICONS, rowIcon, BINDING_ICONS, icon, glyph };
|
|
4342
|
+
export { BODY_CAP, READ_MS, requestLog, sends, canonicalTag, LOCALE_PRESETS, overflowCount, onCount, devIconShown, devIconFor, SPEED_MIN, SPEED_MAX, TIME_ZONE_PRESETS, canonicalZone, resolveTimeZone, LAYER, HOST_RESET, holdInTopLayer, pause, frameWindow, panelSized, zoomKey, landSplash, takeHinge, moveHinge, letGo, holdingHinge, foldRest, watchFold, watchHinge, getState, subscribe, setNative, hostSendsUa, nativeSwitch, setState, ready, watchPanel, keepPlace2 as keepPlace, reset19 as reset, start4 as start, stop2 as stop, replay2 as replay, exports_engine };
|