@sigport/elements 0.0.0-stage → 0.1.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/LICENSE +22 -0
- package/README.md +10 -2
- package/dist/auto-B6OAaMot.d.ts +452 -0
- package/dist/auto.d.ts +4 -0
- package/dist/auto.js +1242 -0
- package/dist/define.d.ts +4 -0
- package/dist/define.js +1242 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1210 -0
- package/package.json +57 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 sigport contributors
|
|
4
|
+
Copyright (c) 2026 kernl contributors (the sign-in code sigport is ported from)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sigport/elements
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The sigport sign-in panel and button as web components. Works in any framework, or none.
|
|
4
|
+
|
|
5
|
+
Part of [sigport](https://github.com/sigport/sigport): Nostr sign-in for any web app.
|
|
6
|
+
|
|
7
|
+
- [Getting started](https://sigport.dev/docs/guide/getting-started)
|
|
8
|
+
- [Frameworks](https://sigport.dev/docs/guide/frameworks)
|
|
9
|
+
- [API reference](https://sigport.dev/docs/reference/api)
|
|
10
|
+
|
|
11
|
+
MIT licensed.
|
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
import { Sigport, SigportState } from '@sigport/core';
|
|
4
|
+
import { IAccount } from 'applesauce-accounts';
|
|
5
|
+
|
|
6
|
+
/** Every word the components show that does not come from an adapter. Override any with the `strings` property. */
|
|
7
|
+
declare const DEFAULT_STRINGS: {
|
|
8
|
+
label: string;
|
|
9
|
+
title: string;
|
|
10
|
+
lede: string;
|
|
11
|
+
looking: string;
|
|
12
|
+
others: string;
|
|
13
|
+
back: string;
|
|
14
|
+
remembered: string;
|
|
15
|
+
signInRemembered: string;
|
|
16
|
+
forget: string;
|
|
17
|
+
signedInAs: string;
|
|
18
|
+
signOut: string;
|
|
19
|
+
switchAccount: string;
|
|
20
|
+
ready: string;
|
|
21
|
+
pairingNote: string;
|
|
22
|
+
making: string;
|
|
23
|
+
moreApps: string;
|
|
24
|
+
waiting: string;
|
|
25
|
+
finding: string;
|
|
26
|
+
tryAgain: string;
|
|
27
|
+
tryAgainNote: string;
|
|
28
|
+
noAnswer: string;
|
|
29
|
+
via: string;
|
|
30
|
+
change: string;
|
|
31
|
+
changeRelays: string;
|
|
32
|
+
openInSigner: string;
|
|
33
|
+
tapToOpen: string;
|
|
34
|
+
opening: string;
|
|
35
|
+
nothingOpened: string;
|
|
36
|
+
getSigner: string;
|
|
37
|
+
orCopy: string;
|
|
38
|
+
relaysTitle: string;
|
|
39
|
+
relaysLede: string;
|
|
40
|
+
addRelay: string;
|
|
41
|
+
addRelayPlaceholder: string;
|
|
42
|
+
add: string;
|
|
43
|
+
checking: string;
|
|
44
|
+
relayNoAnswer: string;
|
|
45
|
+
relayInvalid: string;
|
|
46
|
+
relayDuplicate: string;
|
|
47
|
+
useRelays: string;
|
|
48
|
+
resetRelays: string;
|
|
49
|
+
moveUp: string;
|
|
50
|
+
moveDown: string;
|
|
51
|
+
remove: string;
|
|
52
|
+
suggested: string;
|
|
53
|
+
seenBy: string;
|
|
54
|
+
seenByOne: string;
|
|
55
|
+
checkedAgo: string;
|
|
56
|
+
copy: string;
|
|
57
|
+
copied: string;
|
|
58
|
+
copyFailed: string;
|
|
59
|
+
orPaste: string;
|
|
60
|
+
/** Between the paste field and the pairing code, under `paste-first`. */
|
|
61
|
+
orPair: string;
|
|
62
|
+
apps: string;
|
|
63
|
+
extensionsTitle: string;
|
|
64
|
+
extensionsLede: string;
|
|
65
|
+
appsTitle: string;
|
|
66
|
+
appsLede: string;
|
|
67
|
+
installedRecheck: string;
|
|
68
|
+
recheck: string;
|
|
69
|
+
footer: string;
|
|
70
|
+
button: string;
|
|
71
|
+
close: string;
|
|
72
|
+
};
|
|
73
|
+
type Strings = typeof DEFAULT_STRINGS;
|
|
74
|
+
|
|
75
|
+
/** `apps-limit`: a number, `auto` (fit the window) or `none`. */
|
|
76
|
+
type AppsLimit = number | 'auto' | 'none';
|
|
77
|
+
/** `hide-apps`: every adapter's apps (`true`, or the bare attribute), or only these adapters' (a comma-separated list of ids). */
|
|
78
|
+
type HideApps = boolean | string | readonly string[];
|
|
79
|
+
/**
|
|
80
|
+
* Whether `hide-apps` hides this adapter's apps.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* appsHidden('extension', 'extension'); // true
|
|
85
|
+
* appsHidden(true, 'remote'); // true
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
declare function appsHidden(setting: HideApps | undefined, adapterId: string): boolean;
|
|
89
|
+
/** `sides`: which rows get the square on their right. */
|
|
90
|
+
type Sides = 'all' | 'disabled' | 'none';
|
|
91
|
+
/** Detail of the `sigport-signin` event. */
|
|
92
|
+
interface SignInDetail {
|
|
93
|
+
readonly account: IAccount;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The sign-in panel: the ranked list, each adapter's form or pairing code,
|
|
97
|
+
* and each adapter's list of apps, sliding between them.
|
|
98
|
+
*
|
|
99
|
+
* Give it a session with the `sigport` property, or import
|
|
100
|
+
* `@sigport/elements/define` and configure it with attributes.
|
|
101
|
+
*
|
|
102
|
+
* @fires sigport-signin - After a sign-in. `detail.account` is the account.
|
|
103
|
+
* @fires sigport-signout - After a sign-out.
|
|
104
|
+
* @csspart card - The outer card.
|
|
105
|
+
* @csspart row - Every row button.
|
|
106
|
+
* @csspart tile - Every row's icon tile. An adapter's row also has `tile-<id>`, such as `tile-extension`.
|
|
107
|
+
* @csspart side - The square on the right of a row.
|
|
108
|
+
* @slot account-<pubkey> - A remembered or signed-in account's name, in place of the one sigport knows.
|
|
109
|
+
* @example
|
|
110
|
+
* ```html
|
|
111
|
+
* <sigport-signin exclude="metamask,onekey" app-name="My app"></sigport-signin>
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
declare class SigportSignIn extends LitElement {
|
|
115
|
+
static styles: lit.CSSResult;
|
|
116
|
+
static properties: {
|
|
117
|
+
sigport: {
|
|
118
|
+
attribute: boolean;
|
|
119
|
+
};
|
|
120
|
+
strings: {
|
|
121
|
+
attribute: boolean;
|
|
122
|
+
};
|
|
123
|
+
theme: {
|
|
124
|
+
reflect: boolean;
|
|
125
|
+
};
|
|
126
|
+
include: {};
|
|
127
|
+
exclude: {};
|
|
128
|
+
appName: {
|
|
129
|
+
attribute: string;
|
|
130
|
+
};
|
|
131
|
+
snapId: {
|
|
132
|
+
attribute: string;
|
|
133
|
+
};
|
|
134
|
+
relays: {};
|
|
135
|
+
namespace: {};
|
|
136
|
+
bare: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
reflect: boolean;
|
|
139
|
+
};
|
|
140
|
+
hideFooter: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
attribute: string;
|
|
143
|
+
};
|
|
144
|
+
compact: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
reflect: boolean;
|
|
147
|
+
};
|
|
148
|
+
hideApps: {
|
|
149
|
+
attribute: string;
|
|
150
|
+
converter: {
|
|
151
|
+
fromAttribute: (value: string | null) => HideApps;
|
|
152
|
+
toAttribute: (value: HideApps) => string | null;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
hideChevrons: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
attribute: string;
|
|
158
|
+
};
|
|
159
|
+
sides: {};
|
|
160
|
+
pasteFirst: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
attribute: string;
|
|
163
|
+
};
|
|
164
|
+
appsLimit: {
|
|
165
|
+
attribute: string;
|
|
166
|
+
converter: {
|
|
167
|
+
fromAttribute: (value: string | null) => AppsLimit | undefined;
|
|
168
|
+
toAttribute: (value: AppsLimit | undefined) => string | null;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
appsMore: {
|
|
172
|
+
attribute: string;
|
|
173
|
+
};
|
|
174
|
+
manualPairing: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
attribute: string;
|
|
177
|
+
};
|
|
178
|
+
relayTimeout: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
attribute: string;
|
|
181
|
+
};
|
|
182
|
+
suggestRelays: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
attribute: string;
|
|
185
|
+
};
|
|
186
|
+
relayMonitors: {
|
|
187
|
+
attribute: string;
|
|
188
|
+
};
|
|
189
|
+
monitorPubkeys: {
|
|
190
|
+
attribute: string;
|
|
191
|
+
};
|
|
192
|
+
monitorMaxAge: {
|
|
193
|
+
attribute: string;
|
|
194
|
+
};
|
|
195
|
+
expanded: {
|
|
196
|
+
state: boolean;
|
|
197
|
+
};
|
|
198
|
+
state: {
|
|
199
|
+
state: boolean;
|
|
200
|
+
};
|
|
201
|
+
showOthers: {
|
|
202
|
+
state: boolean;
|
|
203
|
+
};
|
|
204
|
+
deep: {
|
|
205
|
+
state: boolean;
|
|
206
|
+
};
|
|
207
|
+
settled: {
|
|
208
|
+
state: boolean;
|
|
209
|
+
};
|
|
210
|
+
copied: {
|
|
211
|
+
state: boolean;
|
|
212
|
+
};
|
|
213
|
+
opening: {
|
|
214
|
+
state: boolean;
|
|
215
|
+
};
|
|
216
|
+
fitted: {
|
|
217
|
+
state: boolean;
|
|
218
|
+
};
|
|
219
|
+
switching: {
|
|
220
|
+
state: boolean;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Makes a session from the element's attributes when none is given.
|
|
225
|
+
* `@sigport/elements/define` sets it to use every built-in adapter.
|
|
226
|
+
*/
|
|
227
|
+
static createDefault: ((element: SigportSignIn) => Sigport) | undefined;
|
|
228
|
+
/** The session. Set it to share one session between components. */
|
|
229
|
+
sigport: Sigport | undefined;
|
|
230
|
+
/** Words to replace. */
|
|
231
|
+
strings: Partial<Strings>;
|
|
232
|
+
/** `light`, `dark` or `auto` (follows the system). */
|
|
233
|
+
theme: 'light' | 'dark' | 'auto';
|
|
234
|
+
/** Adapter ids to keep, comma separated. */
|
|
235
|
+
include: string | undefined;
|
|
236
|
+
/** Adapter ids to drop, comma separated. */
|
|
237
|
+
exclude: string | undefined;
|
|
238
|
+
/** How the app introduces itself to signers. */
|
|
239
|
+
appName: string | undefined;
|
|
240
|
+
/** The MetaMask Snap that holds keys. */
|
|
241
|
+
snapId: string | undefined;
|
|
242
|
+
/** Pairing relays, comma separated. */
|
|
243
|
+
relays: string | undefined;
|
|
244
|
+
/** Storage key prefix. */
|
|
245
|
+
namespace: string | undefined;
|
|
246
|
+
/** Drop the card chrome, to sit inside your own. */
|
|
247
|
+
bare: boolean;
|
|
248
|
+
hideFooter: boolean;
|
|
249
|
+
/** A shorter layout for tight spaces: a smaller code, copy beside the relay, field labels read only by screen readers. */
|
|
250
|
+
compact: boolean;
|
|
251
|
+
/** Hide the lists of extensions and signer apps: all of them (`true`, or the bare attribute), or only these adapters' (`"extension"`, `"extension,remote"`). */
|
|
252
|
+
hideApps: HideApps;
|
|
253
|
+
/** Draw no chevron on rows that open another view. */
|
|
254
|
+
hideChevrons: boolean;
|
|
255
|
+
/** Which rows get the square on their right: `all` (the default), `disabled` (only rows that cannot be used) or `none`. */
|
|
256
|
+
sides: Sides;
|
|
257
|
+
/** In a view with both, put the paste field before the pairing code. Pair with `manual-pairing` so the code waits for a click. */
|
|
258
|
+
pasteFirst: boolean;
|
|
259
|
+
/** How many apps to list before `Show more`: a number, `auto` (as many as fit in the window, the default) or `none`. */
|
|
260
|
+
appsLimit: AppsLimit | undefined;
|
|
261
|
+
/** The words on the `Show more` button. `{count}` is the number hidden. */
|
|
262
|
+
appsMore: string | undefined;
|
|
263
|
+
/** Wait for a click before showing the remote signer's pairing code. */
|
|
264
|
+
manualPairing: boolean;
|
|
265
|
+
/** How long each pairing relay gets to answer, in ms. */
|
|
266
|
+
relayTimeout: number | undefined;
|
|
267
|
+
/** Suggest relays from relay monitors (NIP-66) when a relay is typed. */
|
|
268
|
+
suggestRelays: boolean;
|
|
269
|
+
/** Relays that carry monitor reports, comma separated. */
|
|
270
|
+
relayMonitors: string | undefined;
|
|
271
|
+
/** Only trust these monitor pubkeys (hex), comma separated. */
|
|
272
|
+
monitorPubkeys: string | undefined;
|
|
273
|
+
/** Ignore monitor reports older than this, such as `12h`. */
|
|
274
|
+
monitorMaxAge: string | undefined;
|
|
275
|
+
protected expanded: ReadonlySet<string>;
|
|
276
|
+
/** After a tap on the code: `trying` while the signer app should open, `missed` if the page is still in front. */
|
|
277
|
+
protected opening: 'idle' | 'trying' | 'missed';
|
|
278
|
+
/** How many apps fit, per adapter, under the `auto` limit. */
|
|
279
|
+
protected fitted: ReadonlyMap<string, number>;
|
|
280
|
+
protected state: SigportState | undefined;
|
|
281
|
+
protected showOthers: boolean;
|
|
282
|
+
protected deep: boolean;
|
|
283
|
+
protected settled: boolean;
|
|
284
|
+
protected copied: 'idle' | 'done' | 'failed';
|
|
285
|
+
protected switching: boolean;
|
|
286
|
+
private unsubscribe;
|
|
287
|
+
private owned;
|
|
288
|
+
private attached;
|
|
289
|
+
private lastActive;
|
|
290
|
+
private settleTimer;
|
|
291
|
+
private openTimer;
|
|
292
|
+
private lastScreen;
|
|
293
|
+
constructor();
|
|
294
|
+
private get t();
|
|
295
|
+
private readonly refit;
|
|
296
|
+
connectedCallback(): void;
|
|
297
|
+
disconnectedCallback(): void;
|
|
298
|
+
protected willUpdate(_changed: PropertyValues<this>): void;
|
|
299
|
+
/** Destroy the session this element made itself, if it made one. Sessions passed in are never destroyed here. */
|
|
300
|
+
private dropOwned;
|
|
301
|
+
private attach;
|
|
302
|
+
private receive;
|
|
303
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
304
|
+
/**
|
|
305
|
+
* The `auto` app limit: when the card runs past the bottom of the window,
|
|
306
|
+
* list fewer apps (never under two) behind `Show more`. It only shrinks, and
|
|
307
|
+
* starts again on a new screen or a resize.
|
|
308
|
+
*/
|
|
309
|
+
private fit;
|
|
310
|
+
/** Slide, then hide the pane that left, so the card takes the height of the one that stayed. */
|
|
311
|
+
private slide;
|
|
312
|
+
render(): TemplateResult;
|
|
313
|
+
private renderHeader;
|
|
314
|
+
private renderHome;
|
|
315
|
+
private renderFooter;
|
|
316
|
+
/** An icon tile. An adapter's row passes `adapter`, so a page can style one method's tile with `::part(tile-<id>)`. */
|
|
317
|
+
private renderTile;
|
|
318
|
+
private renderRow;
|
|
319
|
+
private renderDetail;
|
|
320
|
+
private renderPairing;
|
|
321
|
+
private renderForm;
|
|
322
|
+
/** Whether the fields an action needs have something in them. */
|
|
323
|
+
private filled;
|
|
324
|
+
private renderCatalog;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* A sign-in button that opens the panel in a dialog, and shows who is signed
|
|
329
|
+
* in afterwards. Takes the same attributes as `<sigport-signin>`.
|
|
330
|
+
*
|
|
331
|
+
* @fires sigport-signin - After a sign-in.
|
|
332
|
+
* @fires sigport-signout - After a sign-out.
|
|
333
|
+
* @example
|
|
334
|
+
* ```html
|
|
335
|
+
* <sigport-button app-name="My app"></sigport-button>
|
|
336
|
+
* ```
|
|
337
|
+
*/
|
|
338
|
+
declare class SigportButton extends LitElement {
|
|
339
|
+
static styles: lit.CSSResult[];
|
|
340
|
+
static properties: {
|
|
341
|
+
sigport: {
|
|
342
|
+
attribute: boolean;
|
|
343
|
+
};
|
|
344
|
+
strings: {
|
|
345
|
+
attribute: boolean;
|
|
346
|
+
};
|
|
347
|
+
theme: {
|
|
348
|
+
reflect: boolean;
|
|
349
|
+
};
|
|
350
|
+
include: {};
|
|
351
|
+
exclude: {};
|
|
352
|
+
appName: {
|
|
353
|
+
attribute: string;
|
|
354
|
+
};
|
|
355
|
+
snapId: {
|
|
356
|
+
attribute: string;
|
|
357
|
+
};
|
|
358
|
+
relays: {};
|
|
359
|
+
namespace: {};
|
|
360
|
+
hideApps: {
|
|
361
|
+
attribute: string;
|
|
362
|
+
converter: {
|
|
363
|
+
fromAttribute: (value: string | null) => HideApps;
|
|
364
|
+
toAttribute: (value: HideApps) => string | null;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
hideChevrons: {
|
|
368
|
+
type: BooleanConstructor;
|
|
369
|
+
attribute: string;
|
|
370
|
+
};
|
|
371
|
+
sides: {};
|
|
372
|
+
pasteFirst: {
|
|
373
|
+
type: BooleanConstructor;
|
|
374
|
+
attribute: string;
|
|
375
|
+
};
|
|
376
|
+
appsLimit: {
|
|
377
|
+
attribute: string;
|
|
378
|
+
converter: {
|
|
379
|
+
fromAttribute: (value: string | null) => AppsLimit | undefined;
|
|
380
|
+
toAttribute: (value: AppsLimit | undefined) => string | null;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
relayTimeout: {
|
|
384
|
+
type: NumberConstructor;
|
|
385
|
+
attribute: string;
|
|
386
|
+
};
|
|
387
|
+
suggestRelays: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
attribute: string;
|
|
390
|
+
};
|
|
391
|
+
relayMonitors: {
|
|
392
|
+
attribute: string;
|
|
393
|
+
};
|
|
394
|
+
monitorPubkeys: {
|
|
395
|
+
attribute: string;
|
|
396
|
+
};
|
|
397
|
+
monitorMaxAge: {
|
|
398
|
+
attribute: string;
|
|
399
|
+
};
|
|
400
|
+
appsMore: {
|
|
401
|
+
attribute: string;
|
|
402
|
+
};
|
|
403
|
+
manualPairing: {
|
|
404
|
+
type: BooleanConstructor;
|
|
405
|
+
attribute: string;
|
|
406
|
+
};
|
|
407
|
+
compact: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
};
|
|
410
|
+
state: {
|
|
411
|
+
state: boolean;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
sigport: Sigport | undefined;
|
|
415
|
+
strings: Partial<Strings>;
|
|
416
|
+
theme: 'light' | 'dark' | 'auto';
|
|
417
|
+
include: string | undefined;
|
|
418
|
+
exclude: string | undefined;
|
|
419
|
+
appName: string | undefined;
|
|
420
|
+
snapId: string | undefined;
|
|
421
|
+
relays: string | undefined;
|
|
422
|
+
namespace: string | undefined;
|
|
423
|
+
hideApps: HideApps;
|
|
424
|
+
hideChevrons: boolean;
|
|
425
|
+
sides: Sides;
|
|
426
|
+
pasteFirst: boolean;
|
|
427
|
+
appsLimit: AppsLimit | undefined;
|
|
428
|
+
relayTimeout: number | undefined;
|
|
429
|
+
suggestRelays: boolean;
|
|
430
|
+
relayMonitors: string | undefined;
|
|
431
|
+
monitorPubkeys: string | undefined;
|
|
432
|
+
monitorMaxAge: string | undefined;
|
|
433
|
+
appsMore: string | undefined;
|
|
434
|
+
manualPairing: boolean;
|
|
435
|
+
compact: boolean;
|
|
436
|
+
protected state: SigportState | undefined;
|
|
437
|
+
private unsubscribe;
|
|
438
|
+
private owned;
|
|
439
|
+
private attached;
|
|
440
|
+
constructor();
|
|
441
|
+
connectedCallback(): void;
|
|
442
|
+
disconnectedCallback(): void;
|
|
443
|
+
protected willUpdate(): void;
|
|
444
|
+
/** Open the panel. */
|
|
445
|
+
open(): void;
|
|
446
|
+
/** Close the panel. */
|
|
447
|
+
close(): void;
|
|
448
|
+
render(): TemplateResult;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export { DEFAULT_STRINGS as D, SigportButton as b, SigportSignIn as c, appsHidden as e };
|
|
452
|
+
export type { HideApps as H, Sides as S, SignInDetail as a, Strings as d };
|
package/dist/auto.d.ts
ADDED