@dudko.dev/agent-web-ui 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -3
- package/dist/{chunk-NHU6WQM5.js → chunk-3TMUUU3O.js} +424 -0
- package/dist/{chunk-627OXMFG.js → chunk-HIHUK7YA.js} +5 -0
- package/dist/{chunk-S5AHUAFG.js → chunk-JEW2ZWYX.js} +4 -0
- package/dist/{chunk-VZCQXE3P.js → chunk-UO2Q7AIV.js} +4 -0
- package/dist/{chunk-V33T6VX3.js → chunk-VG5NLFI5.js} +4 -0
- package/dist/controller.cjs +460 -16
- package/dist/controller.d.cts +53 -5
- package/dist/controller.d.ts +53 -5
- package/dist/controller.js +58 -17
- package/dist/{en-Dg2MtzcJ.d.cts → en-CPCAidve.d.cts} +4 -0
- package/dist/{en-Dg2MtzcJ.d.ts → en-CPCAidve.d.ts} +4 -0
- package/dist/index.cjs +447 -3
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +37 -1
- package/dist/{labels-ipy-ydkp.d.cts → labels-Dnh2tn8S.d.cts} +8 -0
- package/dist/{labels-CCPL7t17.d.ts → labels-h-grbo5N.d.ts} +8 -0
- package/dist/locales/be.cjs +9 -0
- package/dist/locales/be.d.cts +1 -1
- package/dist/locales/be.d.ts +1 -1
- package/dist/locales/be.js +5 -1
- package/dist/locales/bg.cjs +9 -0
- package/dist/locales/bg.d.cts +1 -1
- package/dist/locales/bg.d.ts +1 -1
- package/dist/locales/bg.js +5 -1
- package/dist/locales/ca.cjs +9 -0
- package/dist/locales/ca.d.cts +1 -1
- package/dist/locales/ca.d.ts +1 -1
- package/dist/locales/ca.js +5 -1
- package/dist/locales/cs.cjs +9 -0
- package/dist/locales/cs.d.cts +1 -1
- package/dist/locales/cs.d.ts +1 -1
- package/dist/locales/cs.js +5 -1
- package/dist/locales/da.cjs +9 -0
- package/dist/locales/da.d.cts +1 -1
- package/dist/locales/da.d.ts +1 -1
- package/dist/locales/da.js +5 -1
- package/dist/locales/de.cjs +9 -0
- package/dist/locales/de.d.cts +1 -1
- package/dist/locales/de.d.ts +1 -1
- package/dist/locales/de.js +5 -1
- package/dist/locales/el.cjs +9 -0
- package/dist/locales/el.d.cts +1 -1
- package/dist/locales/el.d.ts +1 -1
- package/dist/locales/el.js +5 -1
- package/dist/locales/en.cjs +9 -0
- package/dist/locales/en.d.cts +1 -1
- package/dist/locales/en.d.ts +1 -1
- package/dist/locales/en.js +5 -1
- package/dist/locales/es-419.cjs +9 -0
- package/dist/locales/es-419.d.cts +1 -1
- package/dist/locales/es-419.d.ts +1 -1
- package/dist/locales/es-419.js +2 -2
- package/dist/locales/es.cjs +9 -0
- package/dist/locales/es.d.cts +1 -1
- package/dist/locales/es.d.ts +1 -1
- package/dist/locales/es.js +2 -2
- package/dist/locales/fi.cjs +9 -0
- package/dist/locales/fi.d.cts +1 -1
- package/dist/locales/fi.d.ts +1 -1
- package/dist/locales/fi.js +5 -1
- package/dist/locales/fr-CA.cjs +9 -0
- package/dist/locales/fr-CA.d.cts +1 -1
- package/dist/locales/fr-CA.d.ts +1 -1
- package/dist/locales/fr-CA.js +2 -2
- package/dist/locales/fr.cjs +9 -0
- package/dist/locales/fr.d.cts +1 -1
- package/dist/locales/fr.d.ts +1 -1
- package/dist/locales/fr.js +2 -2
- package/dist/locales/gn.cjs +9 -0
- package/dist/locales/gn.d.cts +1 -1
- package/dist/locales/gn.d.ts +1 -1
- package/dist/locales/gn.js +5 -1
- package/dist/locales/hr.cjs +9 -0
- package/dist/locales/hr.d.cts +1 -1
- package/dist/locales/hr.d.ts +1 -1
- package/dist/locales/hr.js +5 -1
- package/dist/locales/ht.cjs +9 -0
- package/dist/locales/ht.d.cts +1 -1
- package/dist/locales/ht.d.ts +1 -1
- package/dist/locales/ht.js +5 -1
- package/dist/locales/hu.cjs +9 -0
- package/dist/locales/hu.d.cts +1 -1
- package/dist/locales/hu.d.ts +1 -1
- package/dist/locales/hu.js +5 -1
- package/dist/locales/index.cjs +5 -0
- package/dist/locales/index.d.cts +3 -3
- package/dist/locales/index.d.ts +3 -3
- package/dist/locales/index.js +1 -1
- package/dist/locales/it.cjs +9 -0
- package/dist/locales/it.d.cts +1 -1
- package/dist/locales/it.d.ts +1 -1
- package/dist/locales/it.js +5 -1
- package/dist/locales/nb.cjs +9 -0
- package/dist/locales/nb.d.cts +1 -1
- package/dist/locales/nb.d.ts +1 -1
- package/dist/locales/nb.js +5 -1
- package/dist/locales/nl.cjs +9 -0
- package/dist/locales/nl.d.cts +1 -1
- package/dist/locales/nl.d.ts +1 -1
- package/dist/locales/nl.js +5 -1
- package/dist/locales/pl.cjs +9 -0
- package/dist/locales/pl.d.cts +1 -1
- package/dist/locales/pl.d.ts +1 -1
- package/dist/locales/pl.js +5 -1
- package/dist/locales/pt-BR.cjs +9 -0
- package/dist/locales/pt-BR.d.cts +1 -1
- package/dist/locales/pt-BR.d.ts +1 -1
- package/dist/locales/pt-BR.js +5 -1
- package/dist/locales/pt.cjs +9 -0
- package/dist/locales/pt.d.cts +1 -1
- package/dist/locales/pt.d.ts +1 -1
- package/dist/locales/pt.js +5 -1
- package/dist/locales/qu.cjs +9 -0
- package/dist/locales/qu.d.cts +1 -1
- package/dist/locales/qu.d.ts +1 -1
- package/dist/locales/qu.js +5 -1
- package/dist/locales/ro.cjs +9 -0
- package/dist/locales/ro.d.cts +1 -1
- package/dist/locales/ro.d.ts +1 -1
- package/dist/locales/ro.js +5 -1
- package/dist/locales/ru.cjs +9 -0
- package/dist/locales/ru.d.cts +1 -1
- package/dist/locales/ru.d.ts +1 -1
- package/dist/locales/ru.js +5 -1
- package/dist/locales/sk.cjs +9 -0
- package/dist/locales/sk.d.cts +1 -1
- package/dist/locales/sk.d.ts +1 -1
- package/dist/locales/sk.js +5 -1
- package/dist/locales/sq.cjs +9 -0
- package/dist/locales/sq.d.cts +1 -1
- package/dist/locales/sq.d.ts +1 -1
- package/dist/locales/sq.js +5 -1
- package/dist/locales/sr-Latn.cjs +9 -0
- package/dist/locales/sr-Latn.d.cts +1 -1
- package/dist/locales/sr-Latn.d.ts +1 -1
- package/dist/locales/sr-Latn.js +2 -2
- package/dist/locales/sr.cjs +9 -0
- package/dist/locales/sr.d.cts +1 -1
- package/dist/locales/sr.d.ts +1 -1
- package/dist/locales/sr.js +2 -2
- package/dist/locales/sv.cjs +9 -0
- package/dist/locales/sv.d.cts +1 -1
- package/dist/locales/sv.d.ts +1 -1
- package/dist/locales/sv.js +5 -1
- package/dist/locales/tr.cjs +9 -0
- package/dist/locales/tr.d.cts +1 -1
- package/dist/locales/tr.d.ts +1 -1
- package/dist/locales/tr.js +5 -1
- package/dist/locales/uk.cjs +9 -0
- package/dist/locales/uk.d.cts +1 -1
- package/dist/locales/uk.d.ts +1 -1
- package/dist/locales/uk.js +5 -1
- package/dist/page-context-BAmw4p6d.d.cts +244 -0
- package/dist/page-context-BAmw4p6d.d.ts +244 -0
- package/dist/pipeline-format.cjs +842 -0
- package/dist/pipeline-format.d.cts +512 -0
- package/dist/pipeline-format.d.ts +512 -0
- package/dist/pipeline-format.js +788 -0
- package/dist/styles.css +55 -0
- package/dist/{types-CQquuZpl.d.cts → types-B5cyqkWY.d.cts} +1 -1
- package/dist/{types-CXZfZVP5.d.ts → types-BgNjWN5Z.d.ts} +1 -1
- package/package.json +12 -2
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page context collectors: what the person is looking at, read from the page at SEND time and
|
|
3
|
+
* passed with the message (the core's `run(goal, { context })` / `control.send(text, { context })`,
|
|
4
|
+
* a server agent's `POST /sessions/:id/messages { context }`).
|
|
5
|
+
*
|
|
6
|
+
* Every collector is its own switch and ALL are OFF by default: a host that turns none on sends
|
|
7
|
+
* nothing and the wire is what it was. What a collector reads is UNTRUSTED for the agent (the
|
|
8
|
+
* page, or a visitor of a public site, controls it) and can be PRIVATE for the person: the
|
|
9
|
+
* address can carry tokens, a selection or a field can hold anything they typed. So:
|
|
10
|
+
* - a form field's VALUE is read only with `focus: { includeValues: true }`, and NEVER for a
|
|
11
|
+
* password, a hidden field, an `autocomplete` `cc-*` (a card) or `one-time-code` field
|
|
12
|
+
* (`isSecretField`); anything editable (`isEditableElement`: an input, a textarea, a select,
|
|
13
|
+
* contenteditable - inherited too - or an editable role) is a field: its content is its value,
|
|
14
|
+
* never its label;
|
|
15
|
+
* - the location only with `geolocation` on - the browser's own permission prompt, only when a
|
|
16
|
+
* message is sent (never in a preview), rounded (`precision`, default 2 decimals: about 1 km),
|
|
17
|
+
* cached for `maxAgeMs`, and after a refusal never asked again for the page's life;
|
|
18
|
+
* - every value is capped here already (`PAGE_CONTEXT_VALUE_MAX`, the selection `selection.maxChars`),
|
|
19
|
+
* and the agent's core cleans and caps the whole again.
|
|
20
|
+
*
|
|
21
|
+
* Reads the DOM through an environment it is given (`PageContextEnv`, the page's by default), so
|
|
22
|
+
* every rule is tested on a fake (`tests/page-context.test.ts`); no import, no framework.
|
|
23
|
+
*/
|
|
24
|
+
/** One value: flat, a primitive (the core's `PageContextValue`). */
|
|
25
|
+
type PageContextValue = string | number | boolean | null;
|
|
26
|
+
/** What is passed with a message: a flat record (the core's `PageContext`). */
|
|
27
|
+
type PageContext = Record<string, PageContextValue>;
|
|
28
|
+
/** The location's settings. */
|
|
29
|
+
interface GeolocationCollect {
|
|
30
|
+
/** Decimals kept of latitude and longitude (0-6, default 2: about 1 km). */
|
|
31
|
+
precision?: number;
|
|
32
|
+
/** How long a position is reused before the browser is asked again, in ms (default 10 minutes). */
|
|
33
|
+
maxAgeMs?: number;
|
|
34
|
+
/** How long the browser may take, in ms (default 10 s); past it nothing is sent. */
|
|
35
|
+
timeoutMs?: number;
|
|
36
|
+
}
|
|
37
|
+
/** Which collectors are on. Every one is OFF unless set. */
|
|
38
|
+
interface PageContextCollect {
|
|
39
|
+
/** `url`: the page's address without its query and fragment (they can carry tokens). */
|
|
40
|
+
url?: boolean;
|
|
41
|
+
/** `path`: the page's path. */
|
|
42
|
+
path?: boolean;
|
|
43
|
+
/** `title`: the document's title. */
|
|
44
|
+
title?: boolean;
|
|
45
|
+
/** `language`: the document's language (`<html lang>`). */
|
|
46
|
+
language?: boolean;
|
|
47
|
+
/** `referrer`: the page the person came from, origin and path only. */
|
|
48
|
+
referrer?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* `focus.role`, `focus.label`, `focus.type`: the focused element (its role, accessible name,
|
|
51
|
+
* element type). `focus.value` - a form field's value - only with `includeValues`, and never
|
|
52
|
+
* for a password, a hidden, an `autocomplete` `cc-*` or `one-time-code` field.
|
|
53
|
+
*/
|
|
54
|
+
focus?: boolean | {
|
|
55
|
+
includeValues?: boolean;
|
|
56
|
+
};
|
|
57
|
+
/** `selection`: the text the person selected, capped (`maxChars`, default 500). */
|
|
58
|
+
selection?: boolean | {
|
|
59
|
+
maxChars?: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* `geo.latitude`, `geo.longitude`, `geo.accuracy` (m): `navigator.geolocation`, with the
|
|
63
|
+
* browser's permission prompt, when a message is sent. Rounded, cached, never asked again after
|
|
64
|
+
* a refusal.
|
|
65
|
+
*/
|
|
66
|
+
geolocation?: boolean | GeolocationCollect;
|
|
67
|
+
/** `viewport`: the window's inner size, "390x844". */
|
|
68
|
+
viewport?: boolean;
|
|
69
|
+
/** `scroll`: how far down the page is read, as a percentage, and the offset in px. */
|
|
70
|
+
scroll?: boolean;
|
|
71
|
+
/** `headings`: the h1-h3 in view, " / "-separated, capped. */
|
|
72
|
+
headings?: boolean;
|
|
73
|
+
/** `timeZone` and `localTime`: the person's time zone and the local time (ISO, with offset). */
|
|
74
|
+
time?: boolean;
|
|
75
|
+
/** `colorScheme`: "dark" or "light", as the person's system prefers. */
|
|
76
|
+
colorScheme?: boolean;
|
|
77
|
+
/** `device`: "phone", "tablet" or "desktop", from the pointer and the screen. */
|
|
78
|
+
device?: boolean;
|
|
79
|
+
}
|
|
80
|
+
/** A host's page context: which collectors, what it adds, which keys go. */
|
|
81
|
+
interface PageContextOptions {
|
|
82
|
+
collect?: PageContextCollect;
|
|
83
|
+
/** The host's own entries, merged ON TOP of the collected ones (a value `undefined` is skipped). */
|
|
84
|
+
extra?: () => Record<string, PageContextValue | undefined> | undefined;
|
|
85
|
+
/** Only these keys are sent (exact names). */
|
|
86
|
+
include?: string[];
|
|
87
|
+
/** These keys are never sent; wins over `include`. */
|
|
88
|
+
exclude?: string[];
|
|
89
|
+
/** The most the context takes, keys and values together (the agent's core caps it too). */
|
|
90
|
+
maxChars?: number;
|
|
91
|
+
}
|
|
92
|
+
/** The most one collected value takes, in characters. */
|
|
93
|
+
declare const PAGE_CONTEXT_VALUE_MAX = 500;
|
|
94
|
+
/** The selection's default cap. */
|
|
95
|
+
declare const PAGE_CONTEXT_SELECTION_MAX = 500;
|
|
96
|
+
/** The default total, keys and values together. */
|
|
97
|
+
declare const PAGE_CONTEXT_MAX_CHARS = 2000;
|
|
98
|
+
/** A DOM element, structurally: what the collectors read of one. */
|
|
99
|
+
interface PageContextElement {
|
|
100
|
+
tagName: string;
|
|
101
|
+
getAttribute(name: string): string | null;
|
|
102
|
+
textContent?: string | null;
|
|
103
|
+
/** A form field's. */
|
|
104
|
+
type?: string;
|
|
105
|
+
value?: unknown;
|
|
106
|
+
labels?: ArrayLike<{
|
|
107
|
+
textContent?: string | null;
|
|
108
|
+
}> | null;
|
|
109
|
+
getBoundingClientRect?(): {
|
|
110
|
+
top: number;
|
|
111
|
+
bottom: number;
|
|
112
|
+
};
|
|
113
|
+
isContentEditable?: boolean;
|
|
114
|
+
}
|
|
115
|
+
/** What the collectors read: the page's window, document and navigator by default. */
|
|
116
|
+
interface PageContextEnv {
|
|
117
|
+
location?: {
|
|
118
|
+
href: string;
|
|
119
|
+
pathname: string;
|
|
120
|
+
};
|
|
121
|
+
document?: {
|
|
122
|
+
title?: string;
|
|
123
|
+
referrer?: string;
|
|
124
|
+
documentElement?: {
|
|
125
|
+
lang?: string;
|
|
126
|
+
scrollHeight?: number;
|
|
127
|
+
};
|
|
128
|
+
activeElement?: PageContextElement | null;
|
|
129
|
+
querySelectorAll?(selector: string): ArrayLike<PageContextElement>;
|
|
130
|
+
getElementById?(id: string): PageContextElement | null;
|
|
131
|
+
};
|
|
132
|
+
getSelection?: () => {
|
|
133
|
+
toString(): string;
|
|
134
|
+
} | null;
|
|
135
|
+
innerWidth?: number;
|
|
136
|
+
innerHeight?: number;
|
|
137
|
+
scrollY?: number;
|
|
138
|
+
matchMedia?: (query: string) => {
|
|
139
|
+
matches: boolean;
|
|
140
|
+
};
|
|
141
|
+
geolocation?: {
|
|
142
|
+
getCurrentPosition(ok: (p: {
|
|
143
|
+
coords: {
|
|
144
|
+
latitude: number;
|
|
145
|
+
longitude: number;
|
|
146
|
+
accuracy: number;
|
|
147
|
+
};
|
|
148
|
+
}) => void, fail: (e: {
|
|
149
|
+
code: number;
|
|
150
|
+
}) => void, options?: {
|
|
151
|
+
timeout?: number;
|
|
152
|
+
maximumAge?: number;
|
|
153
|
+
enableHighAccuracy?: boolean;
|
|
154
|
+
}): void;
|
|
155
|
+
};
|
|
156
|
+
now?: () => number;
|
|
157
|
+
timeZone?: () => string | undefined;
|
|
158
|
+
screenWidth?: number;
|
|
159
|
+
}
|
|
160
|
+
/** True when NO collector is on and no `extra` is given: the host shares nothing. */
|
|
161
|
+
declare const pageContextOff: (options: PageContextOptions | undefined) => boolean;
|
|
162
|
+
/** An address without its query and fragment (they can carry tokens). */
|
|
163
|
+
declare const addressWithoutQuery: (href: string) => string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* A field whose VALUE is never read, whatever the host set: a password, a hidden field, a card
|
|
166
|
+
* (`autocomplete` `cc-*`), a one-time code, a password manager's `current-password` /
|
|
167
|
+
* `new-password`.
|
|
168
|
+
*/
|
|
169
|
+
declare const isSecretField: (el: PageContextElement) => boolean;
|
|
170
|
+
/**
|
|
171
|
+
* A FIELD: an element whose content is what the person typed or picked - an input of any kind, a
|
|
172
|
+
* textarea, a select, anything editable (`isContentEditable`, inherited by the nodes inside an
|
|
173
|
+
* editable region) or with an editable role. Its content is its VALUE: never its label.
|
|
174
|
+
*/
|
|
175
|
+
declare const isEditableElement: (el: PageContextElement) => boolean;
|
|
176
|
+
/** The focused element, as entries (`focus.*`). Nothing for the page's body. */
|
|
177
|
+
declare const focusEntries: (env: PageContextEnv, includeValues: boolean) => Record<string, string>;
|
|
178
|
+
/** The h1-h3 in the viewport (or, with no layout, the first ones), " / "-separated. */
|
|
179
|
+
declare const headingsInView: (env: PageContextEnv) => string | undefined;
|
|
180
|
+
/** Rounded to `precision` decimals (0-6). */
|
|
181
|
+
declare const roundCoordinate: (value: number, precision: number) => number;
|
|
182
|
+
/** Keys and values together within `max`; the entry that crosses is clipped, the rest dropped. */
|
|
183
|
+
declare const capPageContext: (context: PageContext, max: number) => PageContext;
|
|
184
|
+
interface PageContextCollector {
|
|
185
|
+
/**
|
|
186
|
+
* What goes with a message, read now. With `ask` (a send) the location may ask the browser
|
|
187
|
+
* (its permission prompt); without it (a preview) only a position already known is used, and a
|
|
188
|
+
* location not known yet is `PAGE_CONTEXT_ASK_ON_SEND`. `undefined` when nothing is on or left.
|
|
189
|
+
*/
|
|
190
|
+
collect(options?: {
|
|
191
|
+
ask?: boolean;
|
|
192
|
+
}): Promise<PageContext | undefined>;
|
|
193
|
+
/** The same, at once, never asking: for the composer's chip. */
|
|
194
|
+
preview(): PageContext | undefined;
|
|
195
|
+
/** Whether the person refused the location (then it is never asked again). */
|
|
196
|
+
readonly geolocationDenied: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Read the focus and the selection through a tracker (`trackPageFocus`) instead of the
|
|
199
|
+
* document: the chat's own composer has the focus when a message is sent, so a chat on the page
|
|
200
|
+
* gives one that remembers what was focused / selected OUTSIDE it. `undefined` takes it off.
|
|
201
|
+
*/
|
|
202
|
+
setTracker(tracker: PageFocusTracker | undefined): void;
|
|
203
|
+
}
|
|
204
|
+
/** What was focused and selected outside the chat (`trackPageFocus`). */
|
|
205
|
+
interface PageFocusTracker {
|
|
206
|
+
/** The element focused now, if outside the chat; else the last one that was (still in the page). */
|
|
207
|
+
element(): PageContextElement | null | undefined;
|
|
208
|
+
/** The text selected outside the chat, or the last such selection while the focus is in the chat. */
|
|
209
|
+
selection(): string | undefined;
|
|
210
|
+
stop(): void;
|
|
211
|
+
}
|
|
212
|
+
type TrackedDocument = {
|
|
213
|
+
activeElement: unknown;
|
|
214
|
+
addEventListener(type: string, fn: (e: Event) => void, capture?: boolean): void;
|
|
215
|
+
removeEventListener(type: string, fn: (e: Event) => void, capture?: boolean): void;
|
|
216
|
+
getSelection(): {
|
|
217
|
+
toString(): string;
|
|
218
|
+
anchorNode: unknown;
|
|
219
|
+
isCollapsed?: boolean;
|
|
220
|
+
} | null;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Remember what is focused and selected outside the chat (`isInside`: the chat's own nodes,
|
|
224
|
+
* shadow roots included - the event's composed path is read). Listens to `focusin` and
|
|
225
|
+
* `selectionchange` on `doc` until `stop()`.
|
|
226
|
+
*/
|
|
227
|
+
declare const trackPageFocus: (doc: TrackedDocument, isInside: (node: unknown) => boolean) => PageFocusTracker;
|
|
228
|
+
/** Stands in the preview for a location the browser is asked for only at send time. */
|
|
229
|
+
declare const PAGE_CONTEXT_ASK_ON_SEND: unique symbol;
|
|
230
|
+
/**
|
|
231
|
+
* A collector over `options` (its switches read at every call: the host may change them). One
|
|
232
|
+
* per chat: it keeps the location it was given and whether the person refused it.
|
|
233
|
+
*/
|
|
234
|
+
declare const createPageContextCollector: (options: () => PageContextOptions | undefined, env?: () => PageContextEnv) => PageContextCollector;
|
|
235
|
+
/** The page context's entries as text for the chip's details (`PAGE_CONTEXT_ASK_ON_SEND` → `askedOnSend`). */
|
|
236
|
+
declare const pageContextRows: (context: PageContext | undefined, askedOnSend: string) => {
|
|
237
|
+
key: string;
|
|
238
|
+
value: string;
|
|
239
|
+
}[];
|
|
240
|
+
/** A preview without its "asked when you send" stand-ins: what a send mid-run can carry at once. */
|
|
241
|
+
declare const withoutAskOnSend: (context: PageContext | undefined) => PageContext | undefined;
|
|
242
|
+
|
|
243
|
+
export { createPageContextCollector as c, PAGE_CONTEXT_ASK_ON_SEND as d, PAGE_CONTEXT_MAX_CHARS as e, PAGE_CONTEXT_SELECTION_MAX as f, PAGE_CONTEXT_VALUE_MAX as g, addressWithoutQuery as m, capPageContext as n, focusEntries as o, headingsInView as p, isEditableElement as q, isSecretField as r, pageContextOff as s, trackPageFocus as t, pageContextRows as u, roundCoordinate as v, withoutAskOnSend as w };
|
|
244
|
+
export type { GeolocationCollect as G, PageContextOptions as P, PageContext as a, PageContextCollector as b, PageContextCollect as h, PageContextElement as i, PageContextEnv as j, PageContextValue as k, PageFocusTracker as l };
|