@vinena/knobs 0.6.6 → 0.7.1
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 +26 -0
- package/README.md +13 -7
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/dist/cli.d.ts +95 -0
- package/dist/cli.js +527 -0
- package/dist/{context-eawqn680.js → context-2r76ext7.js} +3 -3
- package/dist/{context-vd2xep5t.js → context-h1bdt8w3.js} +3 -3
- package/dist/early.global.js +7 -8
- package/dist/edit/html.d.ts +7 -3
- package/dist/edit/keep.d.ts +2 -2
- package/dist/{elementsview-n26sp8m7.js → elementsview-mcg6d5zp.js} +21 -19
- package/dist/{elementsview-dpm0xmb2.js → elementsview-mwr1s17z.js} +21 -19
- package/dist/engine/bezels.d.ts +2 -2
- package/dist/engine/check.d.ts +2 -2
- package/dist/engine/describe.d.ts +2 -2
- package/dist/engine/devices.d.ts +3 -3
- package/dist/engine/fit.d.ts +4 -4
- package/dist/engine/foldhand.d.ts +2 -2
- package/dist/engine/frame.d.ts +6 -6
- package/dist/engine/frames.d.ts +4 -4
- package/dist/engine/fresh.d.ts +12 -5
- package/dist/engine/header.d.ts +3 -1
- package/dist/engine/identity.d.ts +4 -4
- package/dist/engine/index.d.ts +7 -7
- package/dist/engine/locale.d.ts +2 -2
- package/dist/engine/morph.d.ts +2 -2
- package/dist/engine/native.d.ts +8 -8
- package/dist/engine/placeholder.d.ts +3 -3
- package/dist/engine/reload.d.ts +2 -2
- package/dist/engine/screen.d.ts +2 -2
- package/dist/engine/scrollkeep.d.ts +1 -1
- package/dist/engine/store.d.ts +11 -11
- package/dist/engine/storekeys.d.ts +34 -0
- package/dist/engine/style.d.ts +1 -1
- package/dist/engine/tabicon.d.ts +2 -2
- package/dist/engine/underneath.d.ts +1 -0
- package/dist/engine/width.d.ts +3 -3
- package/dist/{framekit-0as9t6a7.js → framekit-4v7nc3ea.js} +25 -20
- package/dist/{framekit-dknq662p.js → framekit-wyppj1se.js} +25 -20
- package/dist/grab/clipboard.d.ts +2 -0
- package/dist/{index-jfv7vavj.js → index-311fys81.js} +93 -29
- package/dist/index-3dcgysws.js +77 -0
- package/dist/{index-7vb2ct4s.js → index-3s4v7gw5.js} +11 -10
- package/dist/{index-ztnjefrh.js → index-585hs9tp.js} +5 -1
- package/dist/{index-za4ppxay.js → index-6t0w5s7p.js} +1 -1
- package/dist/{index-r1rdj05c.js → index-82y8x8vv.js} +14 -11
- package/dist/{index-dxga6h10.js → index-9targr2f.js} +26 -16
- package/dist/{index-x3sxssbs.js → index-a23nv5j4.js} +65 -45
- package/dist/{index-t4kssacm.js → index-abwqw8jh.js} +6 -1
- package/dist/{index-s6yzsvs4.js → index-bgzyc7rz.js} +22 -15
- package/dist/{index-t4wrs2a3.js → index-c1t6knbf.js} +20 -14
- package/dist/{index-7w0nm76e.js → index-cqymjce4.js} +20 -14
- package/dist/{index-69fvtkcm.js → index-dvtbh3c8.js} +24 -18
- package/dist/{index-ajs4na3f.js → index-k4w5v53q.js} +2 -2
- package/dist/{index-df35z48z.js → index-n31pn4ax.js} +20 -16
- package/dist/{index-ymqm185m.js → index-rps0bdq9.js} +1 -1
- package/dist/{index-a8ffw5ft.js → index-szd9bddn.js} +1 -1
- package/dist/{index-whehz74d.js → index-vhda420r.js} +32 -6
- package/dist/{index-xs29b55n.js → index-vmprrfwe.js} +5 -2
- package/dist/{index-20bc9yrj.js → index-vmz7htwn.js} +1 -1
- package/dist/index.d.ts +14 -8
- package/dist/index.global.js +176 -159
- package/dist/index.js +108 -43
- package/dist/instance.d.ts +7 -1
- package/dist/mark.d.ts +50 -0
- package/dist/{react-msn10fjb.js → react-4ezjf7mq.js} +24 -18
- package/dist/react-4qn9vsjw.js +78 -0
- package/dist/{react-73reavv4.js → react-4tcwpama.js} +1 -1
- package/dist/{react-k4pkm1p5.js → react-7eyps0cg.js} +2 -2
- package/dist/{react-10r2rczp.js → react-7tzwahsm.js} +14 -11
- package/dist/{react-yx3g9k55.js → react-amvrbng8.js} +5 -2
- package/dist/{react-5rq7bnsy.js → react-atw9y8ny.js} +5 -1
- package/dist/{react-4phtr2nd.js → react-dg4bjv3j.js} +1 -1
- package/dist/{react-vbk58f9m.js → react-hdneb4v3.js} +32 -6
- package/dist/{react-h9w04skh.js → react-j87bdhhe.js} +4 -1
- package/dist/{react-wtgvkf6g.js → react-mkafgzqf.js} +1 -1
- package/dist/{react-a1r0nr0g.js → react-ppyj3fg2.js} +65 -45
- package/dist/{react-0r5418av.js → react-rbmk30xk.js} +92 -29
- package/dist/{react-y9gr8yt2.js → react-rxw73n04.js} +1 -1
- package/dist/{react-5h7pxnax.js → react-tet7swk2.js} +22 -15
- package/dist/{react-5ekfj7g3.js → react-w94cfn87.js} +20 -16
- package/dist/{react-v08ywmtw.js → react-wzd3cfg8.js} +11 -10
- package/dist/{react-2b7725je.js → react-x209et38.js} +26 -16
- package/dist/react.d.ts +3 -1
- package/dist/react.js +111 -44
- package/dist/{replay-ehgxp9py.js → replay-3xqgt3xg.js} +8 -8
- package/dist/{replay-461gcdh1.js → replay-48gn27bj.js} +8 -8
- package/dist/storage/onload.d.ts +1 -1
- package/dist/{storageview-5p1y11b5.js → storageview-2rvwk0v7.js} +20 -17
- package/dist/{storageview-kxzpnfvr.js → storageview-6vq7nz02.js} +20 -17
- package/dist/styles/force.d.ts +3 -1
- package/dist/types.d.ts +4 -4
- package/dist/ui/actions.d.ts +3 -3
- package/dist/ui/bindings.d.ts +1 -1
- package/dist/ui/catalog.d.ts +14 -14
- package/dist/ui/changes.d.ts +1 -1
- package/dist/ui/colors.d.ts +1 -1
- package/dist/ui/deviceknobs.d.ts +2 -2
- package/dist/ui/editors.d.ts +3 -3
- package/dist/ui/foldslider.d.ts +2 -2
- package/dist/ui/icons.d.ts +5 -2
- package/dist/ui/keys.d.ts +1 -1
- package/dist/ui/list.d.ts +10 -10
- package/dist/ui/palette.d.ts +2 -2
- package/dist/ui/panel.d.ts +2 -0
- package/dist/ui/pin.d.ts +2 -2
- package/dist/ui/prefs.d.ts +1 -1
- package/dist/ui/rows.d.ts +3 -3
- package/dist/ui/settings.d.ts +11 -1
- package/dist/ui/storageview.d.ts +2 -2
- package/dist/ui/stylesview.d.ts +3 -3
- package/dist/ui/swatches.d.ts +2 -2
- package/package.json +5 -2
- package/skills/{devknobs → knobs}/SKILL.md +52 -51
- package/dist/index-5tv6sr74.js +0 -23
- package/dist/react-t2qnewz2.js +0 -24
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
resume,
|
|
24
24
|
screenSizeOf,
|
|
25
25
|
uaPreset
|
|
26
|
-
} from "./react-
|
|
26
|
+
} from "./react-tet7swk2.js";
|
|
27
27
|
import {
|
|
28
28
|
composedParent,
|
|
29
29
|
isDevknobs
|
|
30
|
-
} from "./react-
|
|
30
|
+
} from "./react-hdneb4v3.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_STATE,
|
|
33
33
|
EXITED,
|
|
@@ -53,9 +53,11 @@ import {
|
|
|
53
53
|
now,
|
|
54
54
|
ownReload,
|
|
55
55
|
post,
|
|
56
|
+
readItem,
|
|
56
57
|
readMessage,
|
|
57
58
|
readNow,
|
|
58
59
|
realNow,
|
|
60
|
+
removeItem,
|
|
59
61
|
removeStyle,
|
|
60
62
|
reset,
|
|
61
63
|
reset1 as reset2,
|
|
@@ -68,8 +70,9 @@ import {
|
|
|
68
70
|
takeOver,
|
|
69
71
|
temporalNow,
|
|
70
72
|
webStorage,
|
|
71
|
-
wrapDate
|
|
72
|
-
|
|
73
|
+
wrapDate,
|
|
74
|
+
writeItem
|
|
75
|
+
} from "./react-rbmk30xk.js";
|
|
73
76
|
import {
|
|
74
77
|
QUIET,
|
|
75
78
|
SHARED_VERSION,
|
|
@@ -78,9 +81,18 @@ import {
|
|
|
78
81
|
shared
|
|
79
82
|
} from "./react-fp73vhyd.js";
|
|
80
83
|
import {
|
|
84
|
+
ATTRIBUTES,
|
|
85
|
+
OLD_MARK,
|
|
86
|
+
OWN_AND_IN,
|
|
81
87
|
__export,
|
|
82
|
-
__require
|
|
83
|
-
|
|
88
|
+
__require,
|
|
89
|
+
either,
|
|
90
|
+
isMarked,
|
|
91
|
+
markOwn,
|
|
92
|
+
ownSelector,
|
|
93
|
+
removeMark,
|
|
94
|
+
setMark
|
|
95
|
+
} from "./react-4qn9vsjw.js";
|
|
84
96
|
|
|
85
97
|
// src/engine/intl.ts
|
|
86
98
|
var SERVICES = [
|
|
@@ -212,9 +224,9 @@ var LOCALE_PRESETS = [
|
|
|
212
224
|
"zh-CN"
|
|
213
225
|
];
|
|
214
226
|
var PARAGLIDE_COOKIE = "PARAGLIDE_LOCALE";
|
|
215
|
-
var OWNER_KEY = "
|
|
227
|
+
var OWNER_KEY = "knobs:locale-stores";
|
|
216
228
|
var OWNER_VERSION = 1;
|
|
217
|
-
var RELOAD_KEY = "
|
|
229
|
+
var RELOAD_KEY = "knobs:locale-reload";
|
|
218
230
|
var RELOAD_VERSION = 1;
|
|
219
231
|
var RELOAD_THROTTLE = 5000;
|
|
220
232
|
var HOLD_BUDGET = 20;
|
|
@@ -317,7 +329,7 @@ function parseOwned(json) {
|
|
|
317
329
|
}
|
|
318
330
|
function readOwned() {
|
|
319
331
|
try {
|
|
320
|
-
return parseOwned(webStorage("session")
|
|
332
|
+
return parseOwned(readItem(webStorage("session"), OWNER_KEY));
|
|
321
333
|
} catch {
|
|
322
334
|
return null;
|
|
323
335
|
}
|
|
@@ -325,7 +337,7 @@ function readOwned() {
|
|
|
325
337
|
function writeOwned(owned) {
|
|
326
338
|
try {
|
|
327
339
|
const session = webStorage("session");
|
|
328
|
-
session
|
|
340
|
+
writeItem(session, OWNER_KEY, JSON.stringify(stamped(owned, OWNER_VERSION)));
|
|
329
341
|
return session !== null;
|
|
330
342
|
} catch {
|
|
331
343
|
return false;
|
|
@@ -333,7 +345,7 @@ function writeOwned(owned) {
|
|
|
333
345
|
}
|
|
334
346
|
function clearOwned() {
|
|
335
347
|
try {
|
|
336
|
-
webStorage("session")
|
|
348
|
+
removeItem(webStorage("session"), OWNER_KEY);
|
|
337
349
|
} catch {}
|
|
338
350
|
}
|
|
339
351
|
function parseReload(text) {
|
|
@@ -357,7 +369,7 @@ function reloadWait() {
|
|
|
357
369
|
const session = webStorage("session");
|
|
358
370
|
if (!session)
|
|
359
371
|
return Infinity;
|
|
360
|
-
const previous = parseReload(session
|
|
372
|
+
const previous = parseReload(readItem(session, RELOAD_KEY));
|
|
361
373
|
if (!(previous > 0))
|
|
362
374
|
return 0;
|
|
363
375
|
return Math.min(RELOAD_THROTTLE, Math.max(0, previous + RELOAD_THROTTLE - realNow()));
|
|
@@ -378,7 +390,7 @@ function reloadOnce() {
|
|
|
378
390
|
const session = webStorage("session");
|
|
379
391
|
if (!session)
|
|
380
392
|
return false;
|
|
381
|
-
session
|
|
393
|
+
writeItem(session, RELOAD_KEY, JSON.stringify(record));
|
|
382
394
|
} catch {
|
|
383
395
|
return false;
|
|
384
396
|
}
|
|
@@ -984,7 +996,7 @@ var HOST_RESET = `
|
|
|
984
996
|
transition: none !important;
|
|
985
997
|
animation: none !important;
|
|
986
998
|
}`;
|
|
987
|
-
var BACKDROP_CSS = "
|
|
999
|
+
var BACKDROP_CSS = `${either(OLD_MARK, "][popover]::backdrop")}{display:none!important}`;
|
|
988
1000
|
var TOP_LAYER = [":popover-open", ":modal", ":fullscreen"];
|
|
989
1001
|
var POINTER = ["pointerover", "pointermove", "pointerdown"];
|
|
990
1002
|
var held2 = [];
|
|
@@ -1172,7 +1184,7 @@ var EVENTS = [
|
|
|
1172
1184
|
"dragstart",
|
|
1173
1185
|
"selectstart"
|
|
1174
1186
|
];
|
|
1175
|
-
var CURSOR_CSS =
|
|
1187
|
+
var CURSOR_CSS = `*:not(${ownSelector()}){cursor:none!important}:where(${ownSelector()}){cursor:auto}`;
|
|
1176
1188
|
var DRAG_CSS = "*{-webkit-user-select:none!important;user-select:none!important}";
|
|
1177
1189
|
var DOT_CSS = `
|
|
1178
1190
|
:host {
|
|
@@ -1325,7 +1337,7 @@ function mountDot() {
|
|
|
1325
1337
|
if (host)
|
|
1326
1338
|
return;
|
|
1327
1339
|
host = document.createElement("div");
|
|
1328
|
-
host
|
|
1340
|
+
markOwn(host, "touch-pointer");
|
|
1329
1341
|
const root = host.attachShadow({ mode: "open" });
|
|
1330
1342
|
addStyle(root, DOT_CSS);
|
|
1331
1343
|
dot = document.createElement("div");
|
|
@@ -1776,7 +1788,7 @@ function pause(on) {
|
|
|
1776
1788
|
|
|
1777
1789
|
// src/engine/frames.ts
|
|
1778
1790
|
var kit = null;
|
|
1779
|
-
var load2 = () => import("./framekit-
|
|
1791
|
+
var load2 = () => import("./framekit-wyppj1se.js");
|
|
1780
1792
|
var loading = null;
|
|
1781
1793
|
var down = false;
|
|
1782
1794
|
var waiting = [];
|
|
@@ -1810,7 +1822,7 @@ function loadFrames() {
|
|
|
1810
1822
|
return loading;
|
|
1811
1823
|
}
|
|
1812
1824
|
function failed(error) {
|
|
1813
|
-
console.error("
|
|
1825
|
+
console.error("knobs: the device frame could not load", error);
|
|
1814
1826
|
down = true;
|
|
1815
1827
|
before = null;
|
|
1816
1828
|
latest = null;
|
|
@@ -2929,7 +2941,9 @@ function requestLog() {
|
|
|
2929
2941
|
}
|
|
2930
2942
|
|
|
2931
2943
|
// src/engine/header.ts
|
|
2932
|
-
var NOW_HEADER = "x-
|
|
2944
|
+
var NOW_HEADER = "x-knobs-now";
|
|
2945
|
+
var OLD_NOW_HEADER = "x-devknobs-now";
|
|
2946
|
+
var NOW_HEADERS = [NOW_HEADER, OLD_NOW_HEADER];
|
|
2933
2947
|
var on = false;
|
|
2934
2948
|
var installed2 = [];
|
|
2935
2949
|
var ownOrigin = new WeakSet;
|
|
@@ -2953,11 +2967,15 @@ function isRequest2(input) {
|
|
|
2953
2967
|
function withHeader(input, init) {
|
|
2954
2968
|
if (isRequest2(input) && init?.headers === undefined) {
|
|
2955
2969
|
const copy = new Request(input);
|
|
2956
|
-
|
|
2970
|
+
const value2 = stamp();
|
|
2971
|
+
for (const name of NOW_HEADERS)
|
|
2972
|
+
copy.headers.set(name, value2);
|
|
2957
2973
|
return [copy, init];
|
|
2958
2974
|
}
|
|
2959
2975
|
const headers = new Headers(init?.headers);
|
|
2960
|
-
|
|
2976
|
+
const value = stamp();
|
|
2977
|
+
for (const name of NOW_HEADERS)
|
|
2978
|
+
headers.set(name, value);
|
|
2961
2979
|
return [input, { ...init, headers }];
|
|
2962
2980
|
}
|
|
2963
2981
|
function install5(target, key, make) {
|
|
@@ -2994,7 +3012,9 @@ function patch() {
|
|
|
2994
3012
|
install5(xhr, "send", (original) => function(...args) {
|
|
2995
3013
|
if (on && ownOrigin.has(this)) {
|
|
2996
3014
|
try {
|
|
2997
|
-
|
|
3015
|
+
const value = stamp();
|
|
3016
|
+
for (const name of NOW_HEADERS)
|
|
3017
|
+
this.setRequestHeader(name, value);
|
|
2998
3018
|
} catch {}
|
|
2999
3019
|
}
|
|
3000
3020
|
return original.apply(this, args);
|
|
@@ -3087,7 +3107,7 @@ function apply14(value) {
|
|
|
3087
3107
|
reset13();
|
|
3088
3108
|
return;
|
|
3089
3109
|
}
|
|
3090
|
-
ensureStyle(NAME).textContent =
|
|
3110
|
+
ensureStyle(NAME).textContent = `body *:not(${OWN_AND_IN}){outline:1px solid rgba(127,127,127,.5)!important}`;
|
|
3091
3111
|
}
|
|
3092
3112
|
function reset13() {
|
|
3093
3113
|
removeStyle(NAME);
|
|
@@ -3097,7 +3117,7 @@ function reset13() {
|
|
|
3097
3117
|
function isOwn2(node) {
|
|
3098
3118
|
let current = node;
|
|
3099
3119
|
while (current) {
|
|
3100
|
-
if (current instanceof Element && current.closest(
|
|
3120
|
+
if (current instanceof Element && current.closest(ownSelector()))
|
|
3101
3121
|
return true;
|
|
3102
3122
|
const root = current.getRootNode();
|
|
3103
3123
|
current = root instanceof ShadowRoot ? root.host : null;
|
|
@@ -3108,7 +3128,7 @@ function walk(visit) {
|
|
|
3108
3128
|
const pending = [document];
|
|
3109
3129
|
for (let root = pending.pop();root; root = pending.pop()) {
|
|
3110
3130
|
for (const element of Array.from(root.querySelectorAll("*"))) {
|
|
3111
|
-
if (element
|
|
3131
|
+
if (isMarked(element))
|
|
3112
3132
|
continue;
|
|
3113
3133
|
visit(element);
|
|
3114
3134
|
if (element.shadowRoot)
|
|
@@ -3218,7 +3238,7 @@ function log(offenders, excess) {
|
|
|
3218
3238
|
if (offenders.length === 0) {
|
|
3219
3239
|
if (excess > 0 && !loggedUnfound) {
|
|
3220
3240
|
loggedUnfound = true;
|
|
3221
|
-
console.warn(`
|
|
3241
|
+
console.warn(`knobs: the page scrolls ${excess}px past the ${width}px viewport, ` + "but no element box sticks out. a pseudo-element or a margin, maybe");
|
|
3222
3242
|
}
|
|
3223
3243
|
return;
|
|
3224
3244
|
}
|
|
@@ -3230,7 +3250,7 @@ function log(offenders, excess) {
|
|
|
3230
3250
|
}
|
|
3231
3251
|
function warning(count2, width, excess) {
|
|
3232
3252
|
const boxes = count2 === 1 ? "1 element sticks" : `${count2} elements stick`;
|
|
3233
|
-
return `
|
|
3253
|
+
return `knobs: ${boxes} out of the ${width}px viewport, the page scrolls ${excess}px sideways`;
|
|
3234
3254
|
}
|
|
3235
3255
|
function draw(offenders) {
|
|
3236
3256
|
if (!layer)
|
|
@@ -3273,7 +3293,7 @@ function start2() {
|
|
|
3273
3293
|
if (host2 || !document.body)
|
|
3274
3294
|
return;
|
|
3275
3295
|
host2 = document.createElement("div");
|
|
3276
|
-
host2
|
|
3296
|
+
markOwn(host2, "overflow");
|
|
3277
3297
|
host2.style.cssText = `position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:${Z_INDEX}`;
|
|
3278
3298
|
layer = host2.attachShadow({ mode: "open" });
|
|
3279
3299
|
sheet = addStyle(layer, CSS);
|
|
@@ -3328,8 +3348,8 @@ var ACCENTED = "áƀçðéƒĝĥîĵķļɱñöþǫŕšţûṽŵẋýžÅƁÇÐÉ
|
|
|
3328
3348
|
var accented = Array.from(ACCENTED);
|
|
3329
3349
|
var ACCENTS = new Map(Array.from(PLAIN, (char, i) => [char, accented[i] ?? char]));
|
|
3330
3350
|
var GROWTH = 0.35;
|
|
3331
|
-
var
|
|
3332
|
-
var SKIPPED =
|
|
3351
|
+
var ATTRIBUTES2 = ["placeholder", "title", "aria-label", "alt"];
|
|
3352
|
+
var SKIPPED = `script,style,noscript,textarea,option:not([value]),${ownSelector()}`;
|
|
3333
3353
|
var LETTER = /\p{L}/u;
|
|
3334
3354
|
function pseudoText(text2) {
|
|
3335
3355
|
const core = text2.trim();
|
|
@@ -3415,7 +3435,7 @@ function swapNode(node) {
|
|
|
3415
3435
|
if (node.nodeType === Node.TEXT_NODE)
|
|
3416
3436
|
swapText(node);
|
|
3417
3437
|
else
|
|
3418
|
-
for (const name of
|
|
3438
|
+
for (const name of ATTRIBUTES2)
|
|
3419
3439
|
swapAttribute(node, name);
|
|
3420
3440
|
}
|
|
3421
3441
|
function swapTree(root) {
|
|
@@ -3477,7 +3497,7 @@ function start3() {
|
|
|
3477
3497
|
subtree: true,
|
|
3478
3498
|
characterData: true,
|
|
3479
3499
|
attributes: true,
|
|
3480
|
-
attributeFilter:
|
|
3500
|
+
attributeFilter: ATTRIBUTES2
|
|
3481
3501
|
});
|
|
3482
3502
|
}
|
|
3483
3503
|
function whenIdle(run) {
|
|
@@ -3533,7 +3553,7 @@ function reset15() {
|
|
|
3533
3553
|
var READY_WAIT = 1e4;
|
|
3534
3554
|
function whenSettled(settled, leaving2, value, mounted, wait = READY_WAIT) {
|
|
3535
3555
|
return new Promise((resolve, reject) => {
|
|
3536
|
-
const notMounted = () => new Error("
|
|
3556
|
+
const notMounted = () => new Error("knobs: not mounted");
|
|
3537
3557
|
if (!mounted()) {
|
|
3538
3558
|
reject(notMounted());
|
|
3539
3559
|
return;
|
|
@@ -3567,7 +3587,7 @@ function whenSettled(settled, leaving2, value, mounted, wait = READY_WAIT) {
|
|
|
3567
3587
|
else if (settled())
|
|
3568
3588
|
resolve(value());
|
|
3569
3589
|
else
|
|
3570
|
-
reject(new Error("
|
|
3590
|
+
reject(new Error("knobs: not settled after 10 seconds"));
|
|
3571
3591
|
}, wait);
|
|
3572
3592
|
frame2 = window.requestAnimationFrame(check);
|
|
3573
3593
|
});
|
|
@@ -3594,7 +3614,7 @@ function collect(roots = shadowRoots()) {
|
|
|
3594
3614
|
}
|
|
3595
3615
|
|
|
3596
3616
|
// src/engine/replay.ts
|
|
3597
|
-
var MARK =
|
|
3617
|
+
var MARK = ATTRIBUTES.replay;
|
|
3598
3618
|
var BOXES = [
|
|
3599
3619
|
["", "self"],
|
|
3600
3620
|
["::before", "before"],
|
|
@@ -3636,7 +3656,7 @@ function restartFinished(live) {
|
|
|
3636
3656
|
const tokens = BOXES.filter(([pseudo]) => finished(element, pseudo, names)).map(([, token]) => token);
|
|
3637
3657
|
if (tokens.length === 0)
|
|
3638
3658
|
return;
|
|
3639
|
-
element
|
|
3659
|
+
setMark(element, MARK, tokens.join(" "));
|
|
3640
3660
|
marked.push(element);
|
|
3641
3661
|
roots.add(element.getRootNode());
|
|
3642
3662
|
});
|
|
@@ -3647,7 +3667,7 @@ function restartFinished(live) {
|
|
|
3647
3667
|
for (const style of styles)
|
|
3648
3668
|
style.remove();
|
|
3649
3669
|
for (const element of marked)
|
|
3650
|
-
element
|
|
3670
|
+
removeMark(element, MARK);
|
|
3651
3671
|
}
|
|
3652
3672
|
function replay() {
|
|
3653
3673
|
const animations = collect();
|
|
@@ -3663,7 +3683,7 @@ function replay() {
|
|
|
3663
3683
|
|
|
3664
3684
|
// src/engine/spacing.ts
|
|
3665
3685
|
var NAME2 = "spacing";
|
|
3666
|
-
var NOT_OURS =
|
|
3686
|
+
var NOT_OURS = `:not(${OWN_AND_IN})`;
|
|
3667
3687
|
var CSS2 = `*${NOT_OURS}{line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important}` + `p${NOT_OURS}{margin-bottom:2em!important}`;
|
|
3668
3688
|
function apply17(value) {
|
|
3669
3689
|
if (!value) {
|
|
@@ -3751,8 +3771,8 @@ function drawDevIcon(context, size, source) {
|
|
|
3751
3771
|
}
|
|
3752
3772
|
|
|
3753
3773
|
// src/engine/tabicon.ts
|
|
3754
|
-
var ORIGINAL_HREF =
|
|
3755
|
-
var ADDED_ICON =
|
|
3774
|
+
var ORIGINAL_HREF = ATTRIBUTES.href;
|
|
3775
|
+
var ADDED_ICON = ATTRIBUTES.icon;
|
|
3756
3776
|
var FALLBACK = "/favicon.ico";
|
|
3757
3777
|
var TOUCH_RELS = ["apple-touch-icon", "apple-touch-icon-precomposed"];
|
|
3758
3778
|
function localHost(hostname) {
|
|
@@ -3835,12 +3855,12 @@ function createTabIcon(env) {
|
|
|
3835
3855
|
const url = source ? env.render(source, iconSize(link)) : null;
|
|
3836
3856
|
if (!url) {
|
|
3837
3857
|
if (!told)
|
|
3838
|
-
console.debug(`
|
|
3858
|
+
console.debug(`knobs: the tab icon ${href} could not be read, so it shows no dev ribbon`);
|
|
3839
3859
|
told = true;
|
|
3840
3860
|
return;
|
|
3841
3861
|
}
|
|
3842
3862
|
drawn.set(link, { url, original: href });
|
|
3843
|
-
link
|
|
3863
|
+
setMark(link, ORIGINAL_HREF, href);
|
|
3844
3864
|
link.setAttribute("href", url);
|
|
3845
3865
|
});
|
|
3846
3866
|
}
|
|
@@ -3852,7 +3872,7 @@ function createTabIcon(env) {
|
|
|
3852
3872
|
drawn.delete(link);
|
|
3853
3873
|
if (link.getAttribute("href") === mine.url)
|
|
3854
3874
|
link.setAttribute("href", mine.original);
|
|
3855
|
-
link
|
|
3875
|
+
removeMark(link, ORIGINAL_HREF);
|
|
3856
3876
|
}
|
|
3857
3877
|
function linksIn(node) {
|
|
3858
3878
|
if (isIconLink(node))
|
|
@@ -3868,7 +3888,7 @@ function createTabIcon(env) {
|
|
|
3868
3888
|
const link = doc.createElement("link");
|
|
3869
3889
|
link.setAttribute("rel", "icon");
|
|
3870
3890
|
link.setAttribute("href", FALLBACK);
|
|
3871
|
-
link
|
|
3891
|
+
setMark(link, ADDED_ICON);
|
|
3872
3892
|
added = link;
|
|
3873
3893
|
(doc.head ?? doc.documentElement).append(link);
|
|
3874
3894
|
swap(link);
|
|
@@ -3933,7 +3953,7 @@ function createTabIcon(env) {
|
|
|
3933
3953
|
for (const [link, { url, original }] of drawn) {
|
|
3934
3954
|
if (link.getAttribute("href") === url)
|
|
3935
3955
|
link.setAttribute("href", original);
|
|
3936
|
-
link
|
|
3956
|
+
removeMark(link, ORIGINAL_HREF);
|
|
3937
3957
|
}
|
|
3938
3958
|
drawn.clear();
|
|
3939
3959
|
added?.remove();
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
ATTRIBUTES,
|
|
4
|
+
findOwn,
|
|
5
|
+
hasMark,
|
|
6
|
+
isMarked,
|
|
7
|
+
markOwn
|
|
8
|
+
} from "./react-4qn9vsjw.js";
|
|
2
9
|
|
|
3
10
|
// src/engine/clock.ts
|
|
4
11
|
var HOUR = 3600000;
|
|
@@ -488,6 +495,60 @@ function stamped(value, v) {
|
|
|
488
495
|
return { v, ...value };
|
|
489
496
|
}
|
|
490
497
|
|
|
498
|
+
// src/engine/storekeys.ts
|
|
499
|
+
var NAME = "knobs";
|
|
500
|
+
var OLD_NAME = "devknobs";
|
|
501
|
+
function oldKey(key) {
|
|
502
|
+
if (key === NAME)
|
|
503
|
+
return OLD_NAME;
|
|
504
|
+
return key.startsWith(`${NAME}:`) ? `${OLD_NAME}${key.slice(NAME.length)}` : key;
|
|
505
|
+
}
|
|
506
|
+
function ownName(key) {
|
|
507
|
+
if (key === NAME || key.startsWith(`${NAME}:`))
|
|
508
|
+
return key;
|
|
509
|
+
if (key === OLD_NAME)
|
|
510
|
+
return NAME;
|
|
511
|
+
return key.startsWith(`${OLD_NAME}:`) ? `${NAME}${key.slice(OLD_NAME.length)}` : null;
|
|
512
|
+
}
|
|
513
|
+
function isOwnKey(key) {
|
|
514
|
+
return ownName(key) !== null;
|
|
515
|
+
}
|
|
516
|
+
function sameItem(eventKey, key) {
|
|
517
|
+
return eventKey === key || eventKey === oldKey(key);
|
|
518
|
+
}
|
|
519
|
+
function readItem(storage, key) {
|
|
520
|
+
if (!storage)
|
|
521
|
+
return null;
|
|
522
|
+
return storage.getItem(oldKey(key));
|
|
523
|
+
}
|
|
524
|
+
function writeItem(storage, key, value) {
|
|
525
|
+
if (!storage)
|
|
526
|
+
return;
|
|
527
|
+
const old = oldKey(key);
|
|
528
|
+
storage.setItem(old, value);
|
|
529
|
+
if (old !== key)
|
|
530
|
+
storage.setItem(key, value);
|
|
531
|
+
}
|
|
532
|
+
function removeItem(storage, key) {
|
|
533
|
+
if (!storage)
|
|
534
|
+
return;
|
|
535
|
+
storage.removeItem(key);
|
|
536
|
+
storage.removeItem(oldKey(key));
|
|
537
|
+
}
|
|
538
|
+
function itemKeys(storage, prefix) {
|
|
539
|
+
const old = oldKey(prefix);
|
|
540
|
+
const keys = [];
|
|
541
|
+
for (let index = 0;index < storage.length; index++) {
|
|
542
|
+
const key = storage.key(index);
|
|
543
|
+
if (key === null || !key.startsWith(old))
|
|
544
|
+
continue;
|
|
545
|
+
const name = ownName(key) ?? key;
|
|
546
|
+
if (name.startsWith(prefix))
|
|
547
|
+
keys.push(name);
|
|
548
|
+
}
|
|
549
|
+
return keys;
|
|
550
|
+
}
|
|
551
|
+
|
|
491
552
|
// src/grab/boxmodel.ts
|
|
492
553
|
var RINGS = ["margin", "border", "padding", "content"];
|
|
493
554
|
var SIDES = ["top", "right", "bottom", "left"];
|
|
@@ -1126,9 +1187,9 @@ function anchorScroll(pointer, scroll, before, after) {
|
|
|
1126
1187
|
}
|
|
1127
1188
|
|
|
1128
1189
|
// src/engine/store.ts
|
|
1129
|
-
var STORAGE_KEY = "
|
|
1190
|
+
var STORAGE_KEY = "knobs";
|
|
1130
1191
|
var STATE_VERSION = 2;
|
|
1131
|
-
var PLACE_KEY = "
|
|
1192
|
+
var PLACE_KEY = "knobs:place";
|
|
1132
1193
|
var PLACE_VERSION = 2;
|
|
1133
1194
|
var DEFAULT_PINNED = ["device", "scheme", "text", "locale"];
|
|
1134
1195
|
var PANEL_START = 128;
|
|
@@ -1387,7 +1448,7 @@ function merge(state, patch) {
|
|
|
1387
1448
|
}
|
|
1388
1449
|
function item(kind, key) {
|
|
1389
1450
|
try {
|
|
1390
|
-
return webStorage(kind)
|
|
1451
|
+
return readItem(webStorage(kind), key);
|
|
1391
1452
|
} catch {
|
|
1392
1453
|
return null;
|
|
1393
1454
|
}
|
|
@@ -1399,17 +1460,17 @@ function load() {
|
|
|
1399
1460
|
function save(state) {
|
|
1400
1461
|
try {
|
|
1401
1462
|
const { realPhone: _, ...panel } = state.panel;
|
|
1402
|
-
webStorage("session")
|
|
1463
|
+
writeItem(webStorage("session"), STORAGE_KEY, JSON.stringify(stamped({ ...state, panel }, STATE_VERSION)));
|
|
1403
1464
|
} catch {}
|
|
1404
1465
|
}
|
|
1405
1466
|
function keepPlace(state) {
|
|
1406
1467
|
try {
|
|
1407
|
-
webStorage("local")
|
|
1468
|
+
writeItem(webStorage("local"), PLACE_KEY, placeText(state));
|
|
1408
1469
|
} catch {}
|
|
1409
1470
|
}
|
|
1410
1471
|
|
|
1411
1472
|
// src/engine/frame.ts
|
|
1412
|
-
var FRAME_ATTRIBUTE =
|
|
1473
|
+
var FRAME_ATTRIBUTE = ATTRIBUTES.frame;
|
|
1413
1474
|
var FRAME_NAME = "devknobs-frame";
|
|
1414
1475
|
var SIZE_MIN = 120;
|
|
1415
1476
|
var SIZE_MAX = 8192;
|
|
@@ -1431,7 +1492,8 @@ var KEY_ACTIONS = [
|
|
|
1431
1492
|
];
|
|
1432
1493
|
function isDevknobsFrame() {
|
|
1433
1494
|
try {
|
|
1434
|
-
|
|
1495
|
+
const owner = window.frameElement;
|
|
1496
|
+
if (owner && hasMark(owner, FRAME_ATTRIBUTE))
|
|
1435
1497
|
return true;
|
|
1436
1498
|
} catch {}
|
|
1437
1499
|
return window.name === FRAME_NAME;
|
|
@@ -1567,23 +1629,24 @@ function post(target, message) {
|
|
|
1567
1629
|
// src/engine/fresh.ts
|
|
1568
1630
|
var FRESH_PARAM = "devknobs";
|
|
1569
1631
|
var FRESH_VALUE = "fresh";
|
|
1570
|
-
var
|
|
1571
|
-
var
|
|
1632
|
+
var KNOBS_FRESH_PARAM = "knobs";
|
|
1633
|
+
var FRESH_ATTRIBUTE = ATTRIBUTES.fresh;
|
|
1634
|
+
var FRESH_RELOAD_KEY = "knobs:fresh-reload";
|
|
1572
1635
|
var FRESH_RELOAD_VERSION = 1;
|
|
1573
1636
|
var FRESH_RELOAD_WINDOW = 1e4;
|
|
1574
|
-
var KEPT = "
|
|
1637
|
+
var KEPT = "knobs:locale-";
|
|
1575
1638
|
var MODE = Symbol.for("devknobs.fresh");
|
|
1576
1639
|
function freshIn(search) {
|
|
1577
1640
|
try {
|
|
1578
|
-
|
|
1641
|
+
const query = new URLSearchParams(search);
|
|
1642
|
+
return [KNOBS_FRESH_PARAM, FRESH_PARAM].some((name) => query.getAll(name).includes(FRESH_VALUE));
|
|
1579
1643
|
} catch {
|
|
1580
1644
|
return false;
|
|
1581
1645
|
}
|
|
1582
1646
|
}
|
|
1583
1647
|
function wiped(key) {
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
return key.startsWith(`${FRESH_PARAM}:`) && !key.startsWith(KEPT);
|
|
1648
|
+
const name = ownName(key);
|
|
1649
|
+
return name !== null && !name.startsWith(KEPT);
|
|
1587
1650
|
}
|
|
1588
1651
|
function reloadAt(text2) {
|
|
1589
1652
|
if (!text2)
|
|
@@ -1601,8 +1664,8 @@ function reloadAt(text2) {
|
|
|
1601
1664
|
function begin() {
|
|
1602
1665
|
try {
|
|
1603
1666
|
const session = window.sessionStorage;
|
|
1604
|
-
const age = realNow() - reloadAt(session
|
|
1605
|
-
|
|
1667
|
+
const age = realNow() - reloadAt(readItem(session, FRESH_RELOAD_KEY));
|
|
1668
|
+
removeItem(session, FRESH_RELOAD_KEY);
|
|
1606
1669
|
if (age >= 0 && age < FRESH_RELOAD_WINDOW)
|
|
1607
1670
|
return;
|
|
1608
1671
|
const keys = [];
|
|
@@ -1617,14 +1680,14 @@ function begin() {
|
|
|
1617
1680
|
}
|
|
1618
1681
|
function settle2() {
|
|
1619
1682
|
try {
|
|
1620
|
-
window.sessionStorage
|
|
1683
|
+
removeItem(window.sessionStorage, FRESH_RELOAD_KEY);
|
|
1621
1684
|
} catch {}
|
|
1622
1685
|
}
|
|
1623
1686
|
function framedFresh() {
|
|
1624
1687
|
try {
|
|
1625
1688
|
const owner = window.frameElement;
|
|
1626
1689
|
if (owner)
|
|
1627
|
-
return owner
|
|
1690
|
+
return hasMark(owner, FRESH_ATTRIBUTE);
|
|
1628
1691
|
} catch {}
|
|
1629
1692
|
return window.name === FRAME_NAME && freshIn(window.location?.search ?? "");
|
|
1630
1693
|
}
|
|
@@ -1690,7 +1753,7 @@ function ownReload() {
|
|
|
1690
1753
|
return;
|
|
1691
1754
|
try {
|
|
1692
1755
|
const record2 = stamped({ at: realNow() }, FRESH_RELOAD_VERSION);
|
|
1693
|
-
window.sessionStorage
|
|
1756
|
+
writeItem(window.sessionStorage, FRESH_RELOAD_KEY, JSON.stringify(record2));
|
|
1694
1757
|
} catch {}
|
|
1695
1758
|
}
|
|
1696
1759
|
|
|
@@ -2116,13 +2179,13 @@ function watchSheets() {
|
|
|
2116
2179
|
observer = new MutationObserver((records) => {
|
|
2117
2180
|
for (const record2 of records) {
|
|
2118
2181
|
const target = record2.target;
|
|
2119
|
-
if (target.nodeName === "STYLE" && !target
|
|
2182
|
+
if (target.nodeName === "STYLE" && !isMarked(target))
|
|
2120
2183
|
schedule();
|
|
2121
2184
|
for (const node of Array.from(record2.addedNodes)) {
|
|
2122
2185
|
const name = node.nodeName;
|
|
2123
2186
|
if (name !== "STYLE" && name !== "LINK")
|
|
2124
2187
|
continue;
|
|
2125
|
-
if (node
|
|
2188
|
+
if (isMarked(node))
|
|
2126
2189
|
continue;
|
|
2127
2190
|
if (name === "LINK")
|
|
2128
2191
|
node.addEventListener("load", schedule, { once: true });
|
|
@@ -2347,7 +2410,7 @@ function ensureObserver() {
|
|
|
2347
2410
|
const name = node.nodeName;
|
|
2348
2411
|
if (name !== "STYLE" && name !== "LINK")
|
|
2349
2412
|
continue;
|
|
2350
|
-
if (node
|
|
2413
|
+
if (isMarked(node))
|
|
2351
2414
|
continue;
|
|
2352
2415
|
if (name === "LINK")
|
|
2353
2416
|
node.addEventListener("load", schedule2, { once: true });
|
|
@@ -2575,7 +2638,7 @@ function destroy() {
|
|
|
2575
2638
|
|
|
2576
2639
|
// src/engine/style.ts
|
|
2577
2640
|
var OWN2 = Symbol.for("devknobs.own");
|
|
2578
|
-
var
|
|
2641
|
+
var NAME2 = Symbol.for("devknobs.name");
|
|
2579
2642
|
var TEXT = Symbol.for("devknobs.text");
|
|
2580
2643
|
var wrapped = new WeakMap;
|
|
2581
2644
|
function isDocument(root) {
|
|
@@ -2622,7 +2685,7 @@ function adopt(root, Sheet, name) {
|
|
|
2622
2685
|
const sheet = new Sheet;
|
|
2623
2686
|
Reflect.set(sheet, OWN2, true);
|
|
2624
2687
|
if (name !== undefined)
|
|
2625
|
-
Reflect.set(sheet,
|
|
2688
|
+
Reflect.set(sheet, NAME2, name);
|
|
2626
2689
|
root.adoptedStyleSheets = [...root.adoptedStyleSheets, sheet];
|
|
2627
2690
|
return wrap(root, sheet);
|
|
2628
2691
|
}
|
|
@@ -2664,7 +2727,7 @@ function switchedSheet(root, name) {
|
|
|
2664
2727
|
};
|
|
2665
2728
|
}
|
|
2666
2729
|
const style = documentOf(root).createElement("style");
|
|
2667
|
-
style
|
|
2730
|
+
markOwn(style, name);
|
|
2668
2731
|
if (isDocument(root))
|
|
2669
2732
|
(root.head ?? root.documentElement).appendChild(style);
|
|
2670
2733
|
else
|
|
@@ -2687,8 +2750,8 @@ function switchedSheet(root, name) {
|
|
|
2687
2750
|
};
|
|
2688
2751
|
}
|
|
2689
2752
|
function findStyle(name, doc = document) {
|
|
2690
|
-
const sheet = "adoptedStyleSheets" in doc ? doc.adoptedStyleSheets.find((own) => Reflect.get(own,
|
|
2691
|
-
return sheet ? wrap(doc, sheet) : doc
|
|
2753
|
+
const sheet = "adoptedStyleSheets" in doc ? doc.adoptedStyleSheets.find((own) => Reflect.get(own, NAME2) === name) : undefined;
|
|
2754
|
+
return sheet ? wrap(doc, sheet) : findOwn(doc, name, "style");
|
|
2692
2755
|
}
|
|
2693
2756
|
function ensureStyle(name, doc = document) {
|
|
2694
2757
|
const existing = findStyle(name, doc);
|
|
@@ -2698,7 +2761,7 @@ function ensureStyle(name, doc = document) {
|
|
|
2698
2761
|
if (Sheet)
|
|
2699
2762
|
return adopt(doc, Sheet, name);
|
|
2700
2763
|
const style = doc.createElement("style");
|
|
2701
|
-
style
|
|
2764
|
+
markOwn(style, name);
|
|
2702
2765
|
(doc.head ?? doc.documentElement).appendChild(style);
|
|
2703
2766
|
return style;
|
|
2704
2767
|
}
|
|
@@ -2706,4 +2769,4 @@ function removeStyle(name, doc = document) {
|
|
|
2706
2769
|
findStyle(name, doc)?.remove();
|
|
2707
2770
|
}
|
|
2708
2771
|
|
|
2709
|
-
export { CLOCK_SPEED_MIN, CLOCK_SPEED_MAX, CLOCK_PRESETS, NativeDate, realNow, setClock, clockOn, now, wrapDate, NOW_READERS, temporalNow, readNow, takeOver, RINGS, SIDES, pxOf, boxModel, contentSize, hasBox, ringQuads, oneQuad, isPlain, alignQuads, ringPaths, luminance, parseColor, isCustomColor, toHex, parseHex, readColor, inkOn, POSTURES, openOf, DEVICES, deviceOf, formOf, formId, screenOf, hasTouch, turn, versionOf, newer, stamped, FRESH_ATTRIBUTE, fresh, webStorage, loads, carried, ownReload, GEO_PRESETS, resolveGeo, apply, reset, ZOOM_PRESETS, ZOOM_MIN, ZOOM_MAX, percent, stepZoom, wheelZoom, anchorScroll, DEFAULT_PINNED, DEFAULT_STATE, SCHEMES, MOTIONS, CONTRASTS, TRANSPARENCIES, DIRS, GEO_ERRORS, CLOCK_MODES, ONLINES, CONNECTIONS, SAVE_DATAS, BARS, BROWSERS, ORIENTATIONS, EDGES, SIDES2 as SIDES1, DEV_ICONS, VISIONS, GRAB_COLORS, resetState, merge, load, save, keepPlace, FRAME_ATTRIBUTE, FRAME_NAME, SIZE_MIN, SIZE_MAX, DPR_MIN, DPR_MAX, isDevknobsFrame, nativeScheme, handsSchemeDown, UNFRAMED, EXITED, knobFrame, needsFrame, plainFrame, frameForced, framed, readMessage, leaveFor, post, systemMedia, watchSystemMedia, baseMatchMedia, still, ownInline, TEXT_MIN, TEXT_MAX, apply2 as apply1, reset2 as reset1, rewriteMediaText, mentionsFeature, authoredQuery, walkRules, coarse, apply3 as apply2, destroy, isDocument, styleNode, isOwnSheet, addStyle, switchedSheet, ensureStyle, removeStyle };
|
|
2772
|
+
export { CLOCK_SPEED_MIN, CLOCK_SPEED_MAX, CLOCK_PRESETS, NativeDate, realNow, setClock, clockOn, now, wrapDate, NOW_READERS, temporalNow, readNow, takeOver, RINGS, SIDES, pxOf, boxModel, contentSize, hasBox, ringQuads, oneQuad, isPlain, alignQuads, ringPaths, luminance, parseColor, isCustomColor, toHex, parseHex, readColor, inkOn, POSTURES, openOf, DEVICES, deviceOf, formOf, formId, screenOf, hasTouch, turn, versionOf, newer, stamped, isOwnKey, sameItem, readItem, writeItem, removeItem, itemKeys, FRESH_ATTRIBUTE, fresh, webStorage, loads, carried, ownReload, GEO_PRESETS, resolveGeo, apply, reset, ZOOM_PRESETS, ZOOM_MIN, ZOOM_MAX, percent, stepZoom, wheelZoom, anchorScroll, DEFAULT_PINNED, DEFAULT_STATE, SCHEMES, MOTIONS, CONTRASTS, TRANSPARENCIES, DIRS, GEO_ERRORS, CLOCK_MODES, ONLINES, CONNECTIONS, SAVE_DATAS, BARS, BROWSERS, ORIENTATIONS, EDGES, SIDES2 as SIDES1, DEV_ICONS, VISIONS, GRAB_COLORS, resetState, merge, load, save, keepPlace, FRAME_ATTRIBUTE, FRAME_NAME, SIZE_MIN, SIZE_MAX, DPR_MIN, DPR_MAX, isDevknobsFrame, nativeScheme, handsSchemeDown, UNFRAMED, EXITED, knobFrame, needsFrame, plainFrame, frameForced, framed, readMessage, leaveFor, post, systemMedia, watchSystemMedia, baseMatchMedia, still, ownInline, TEXT_MIN, TEXT_MAX, apply2 as apply1, reset2 as reset1, rewriteMediaText, mentionsFeature, authoredQuery, walkRules, coarse, apply3 as apply2, destroy, isDocument, styleNode, isOwnSheet, addStyle, switchedSheet, ensureStyle, removeStyle };
|