@pontive/pontkit-core 1.48.0 → 1.50.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/catalog.json +1 -1
- package/dist/custom-elements.json +884 -884
- package/dist/styles.css +1506 -276
- package/dist/theme-golden.json +67 -67
- package/dist/theme.mjs +207 -170
- package/dist/theme.mjs.map +1 -1
- package/dist/tokens.json +3251 -1232
- package/package.json +1 -1
|
@@ -40131,38 +40131,158 @@
|
|
|
40131
40131
|
},
|
|
40132
40132
|
{
|
|
40133
40133
|
"kind": "javascript-module",
|
|
40134
|
-
"path": "src/kit/
|
|
40134
|
+
"path": "src/kit/layout/flow-error.ts",
|
|
40135
40135
|
"declarations": [
|
|
40136
40136
|
{
|
|
40137
40137
|
"kind": "variable",
|
|
40138
|
-
"name": "
|
|
40138
|
+
"name": "FLOW_MESSAGES_EN",
|
|
40139
40139
|
"type": {
|
|
40140
|
-
"text": "
|
|
40140
|
+
"text": "Record<FlowMessageCode, string>"
|
|
40141
40141
|
},
|
|
40142
|
-
"default": "
|
|
40142
|
+
"default": "{ connection_failed: KIT_MESSAGES_EN.connection_failed, too_many_attempts: KIT_MESSAGES_EN.too_many_attempts, server_error: KIT_MESSAGES_EN.server_error, instance_unavailable: KIT_MESSAGES_EN.instance_unavailable, generic_error: KIT_MESSAGES_EN.generic_error, flow_ended: KIT_MESSAGES_EN.flow_ended, passkey_cancelled: KIT_MESSAGES_EN.passkey_cancelled, start_again: KIT_MESSAGES_EN.start_again, continued_elsewhere_title: KIT_MESSAGES_EN.continued_elsewhere_title, continued_elsewhere_subtitle: KIT_MESSAGES_EN.continued_elsewhere_subtitle, continue_here: KIT_MESSAGES_EN.continue_here, }",
|
|
40143
|
+
"description": "The flow codes' English (a subset of `KIT_MESSAGES_EN`, core/messages.ts)."
|
|
40143
40144
|
},
|
|
40144
40145
|
{
|
|
40145
40146
|
"kind": "variable",
|
|
40146
|
-
"name": "
|
|
40147
|
+
"name": "INSTANCE_UNAVAILABLE",
|
|
40147
40148
|
"type": {
|
|
40148
|
-
"text": "
|
|
40149
|
+
"text": "string"
|
|
40149
40150
|
},
|
|
40150
|
-
"default": "
|
|
40151
|
+
"default": "\"instance_unavailable\"",
|
|
40152
|
+
"description": "A stopped instance (paused, or its owner's Pontive account paused, cancelled or\ndeleted) refuses everything it serves to end users with this one code and no\nreason (pontive-spec 01, \"Who is told why\"; carry-over §6)."
|
|
40151
40153
|
},
|
|
40152
40154
|
{
|
|
40153
|
-
"kind": "
|
|
40154
|
-
"
|
|
40155
|
-
"
|
|
40156
|
-
|
|
40155
|
+
"kind": "function",
|
|
40156
|
+
"name": "isInstanceUnavailable",
|
|
40157
|
+
"return": {
|
|
40158
|
+
"type": {
|
|
40159
|
+
"text": "boolean"
|
|
40160
|
+
}
|
|
40161
|
+
},
|
|
40162
|
+
"parameters": [
|
|
40157
40163
|
{
|
|
40158
|
-
"
|
|
40159
|
-
"
|
|
40164
|
+
"name": "error",
|
|
40165
|
+
"type": {
|
|
40166
|
+
"text": "unknown"
|
|
40167
|
+
}
|
|
40168
|
+
}
|
|
40169
|
+
],
|
|
40170
|
+
"description": "Whether a failed call was refused because the instance has stopped (its own `code`, or its body's)."
|
|
40171
|
+
},
|
|
40172
|
+
{
|
|
40173
|
+
"kind": "function",
|
|
40174
|
+
"name": "rememberUnavailable",
|
|
40175
|
+
"return": {
|
|
40176
|
+
"type": {
|
|
40177
|
+
"text": "void"
|
|
40178
|
+
}
|
|
40179
|
+
},
|
|
40180
|
+
"parameters": [
|
|
40181
|
+
{
|
|
40182
|
+
"name": "sentence",
|
|
40183
|
+
"optional": true,
|
|
40184
|
+
"type": {
|
|
40185
|
+
"text": "string"
|
|
40186
|
+
}
|
|
40187
|
+
}
|
|
40188
|
+
],
|
|
40189
|
+
"description": "Keeps the sentence a stopped instance was refused with. Once stopped, the page\ncan no longer ask for its text, so the auth service words the refusal itself\n(in the page's language and the instance's copy). Kept in the message table,\nit is what every widget says for the code from then on, including for\nrefusals from services that only send English."
|
|
40190
|
+
},
|
|
40191
|
+
{
|
|
40192
|
+
"kind": "function",
|
|
40193
|
+
"name": "describeFlowError",
|
|
40194
|
+
"return": {
|
|
40195
|
+
"type": {
|
|
40196
|
+
"text": "FlowErrorDescription"
|
|
40197
|
+
}
|
|
40198
|
+
},
|
|
40199
|
+
"parameters": [
|
|
40200
|
+
{
|
|
40201
|
+
"name": "error",
|
|
40202
|
+
"type": {
|
|
40203
|
+
"text": "unknown"
|
|
40204
|
+
}
|
|
40160
40205
|
},
|
|
40161
40206
|
{
|
|
40162
|
-
"
|
|
40163
|
-
"
|
|
40207
|
+
"name": "messages",
|
|
40208
|
+
"default": "{}",
|
|
40209
|
+
"type": {
|
|
40210
|
+
"text": "Partial<Record<string, string>>"
|
|
40211
|
+
}
|
|
40212
|
+
}
|
|
40213
|
+
],
|
|
40214
|
+
"description": "a cancelled or timed-out WebAuthn prompt (`NotAllowedError` / `AbortError`) → passkey_cancelled\n- `instance_unavailable` → the refusal's own sentence, kept for the page (rememberUnavailable); not restartable\n- 409 → the server's sentence, else flow_ended; restartable\n- no response at all (NETWORK_ERROR / TIMEOUT) → connection_failed\n- 429 → too_many_attempts; ≥ 500 → server_error\n- anything else → the server's sentence, else generic_error\n\nText comes from `messages` when given (a set a caller holds), else the\npage-wide message table (core/messages.ts), else English."
|
|
40215
|
+
}
|
|
40216
|
+
],
|
|
40217
|
+
"exports": [
|
|
40218
|
+
{
|
|
40219
|
+
"kind": "js",
|
|
40220
|
+
"name": "FLOW_MESSAGES_EN",
|
|
40221
|
+
"declaration": {
|
|
40222
|
+
"name": "FLOW_MESSAGES_EN",
|
|
40223
|
+
"module": "src/kit/layout/flow-error.ts"
|
|
40224
|
+
}
|
|
40225
|
+
},
|
|
40226
|
+
{
|
|
40227
|
+
"kind": "js",
|
|
40228
|
+
"name": "INSTANCE_UNAVAILABLE",
|
|
40229
|
+
"declaration": {
|
|
40230
|
+
"name": "INSTANCE_UNAVAILABLE",
|
|
40231
|
+
"module": "src/kit/layout/flow-error.ts"
|
|
40232
|
+
}
|
|
40233
|
+
},
|
|
40234
|
+
{
|
|
40235
|
+
"kind": "js",
|
|
40236
|
+
"name": "isInstanceUnavailable",
|
|
40237
|
+
"declaration": {
|
|
40238
|
+
"name": "isInstanceUnavailable",
|
|
40239
|
+
"module": "src/kit/layout/flow-error.ts"
|
|
40240
|
+
}
|
|
40241
|
+
},
|
|
40242
|
+
{
|
|
40243
|
+
"kind": "js",
|
|
40244
|
+
"name": "rememberUnavailable",
|
|
40245
|
+
"declaration": {
|
|
40246
|
+
"name": "rememberUnavailable",
|
|
40247
|
+
"module": "src/kit/layout/flow-error.ts"
|
|
40248
|
+
}
|
|
40249
|
+
},
|
|
40250
|
+
{
|
|
40251
|
+
"kind": "js",
|
|
40252
|
+
"name": "describeFlowError",
|
|
40253
|
+
"declaration": {
|
|
40254
|
+
"name": "describeFlowError",
|
|
40255
|
+
"module": "src/kit/layout/flow-error.ts"
|
|
40256
|
+
}
|
|
40257
|
+
}
|
|
40258
|
+
]
|
|
40259
|
+
},
|
|
40260
|
+
{
|
|
40261
|
+
"kind": "javascript-module",
|
|
40262
|
+
"path": "src/kit/layout/layout.ts",
|
|
40263
|
+
"declarations": [
|
|
40264
|
+
{
|
|
40265
|
+
"kind": "function",
|
|
40266
|
+
"name": "formDataToObject",
|
|
40267
|
+
"return": {
|
|
40268
|
+
"type": {
|
|
40269
|
+
"text": "Record<string, unknown> | undefined"
|
|
40270
|
+
}
|
|
40271
|
+
},
|
|
40272
|
+
"parameters": [
|
|
40273
|
+
{
|
|
40274
|
+
"name": "fd",
|
|
40275
|
+
"type": {
|
|
40276
|
+
"text": "FormData | undefined | null"
|
|
40277
|
+
}
|
|
40164
40278
|
}
|
|
40165
40279
|
],
|
|
40280
|
+
"description": "FormData → the plain object the flow API takes (last value wins, files dropped)."
|
|
40281
|
+
},
|
|
40282
|
+
{
|
|
40283
|
+
"kind": "class",
|
|
40284
|
+
"description": "# `<pont-layout>`: renders a flow screen and runs its requests\n\n```ts\nimport { Auth } from \"@pontive/oidc-client\";\nconst layout = document.createElement(\"pont-layout\");\nlayout.client = Auth; // anything with processLoginflowEvent()\nlayout.branding = response.branding; // the account's entitlements (fail closed)\nlayout.renderSpec = response.render_spec; // the server's HTML for the screen\n```\n\n```html\n<pont-layout data-pont-layout data-slot=\"layout\">\n <form data-slot=\"layout-form\" aria-busy=\"false\">\n …the render spec (e.g. <pont-block>…</pont-block>)…\n </form>\n</pont-layout>\n```\n\nThe **flow host** for one screen. It:\n\n1. **renders the spec** (server HTML) inside one native `<form>`, upgrading\n pont elements and reporting tags this bundle does not define\n (`pont-unregistered-element` on `document`, once per tag);\n2. **answers every `pont-action`** from inside the screen (submit, provider,\n passkey, link, OTP, resend, forgot, edit-identifier) with\n `client.processLoginflowEvent({ event, data })`, where `data` is the\n form's normalised FormData when the request carries one (submit, OTP\n auto-submit); while a request is pending, another one joins it (no double\n submit) and the form is `aria-busy`;\n3. **renders the next screen** when a response carries `render_spec`;\n4. **shows flow errors** (every `pont-action-error` from inside) as an\n error `pont-alert` banner at the top of the screen, with \"Start again\"\n (`pont-layout-restart`) when the flow is over (409);\n5. **provides the branding entitlements** (`pont:branding` context) to the\n screen's block. Fails closed: without `branding`, the watermark shows.\n\nTrust boundary: the render spec is **server HTML** and is inserted as such\n(as in the legacy `pont-layout`); everything a user types goes through\nnative inputs, never into markup. The spec must not contain its own\n`<form>` (the layout's form is the one form).",
|
|
40285
|
+
"name": "Layout",
|
|
40166
40286
|
"members": [
|
|
40167
40287
|
{
|
|
40168
40288
|
"kind": "field",
|
|
@@ -40172,7 +40292,7 @@
|
|
|
40172
40292
|
},
|
|
40173
40293
|
"static": true,
|
|
40174
40294
|
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
40175
|
-
"default": "\"
|
|
40295
|
+
"default": "\"layout\"",
|
|
40176
40296
|
"inheritedFrom": {
|
|
40177
40297
|
"name": "HostElement",
|
|
40178
40298
|
"module": "src/core/host-element.ts"
|
|
@@ -40186,7 +40306,7 @@
|
|
|
40186
40306
|
},
|
|
40187
40307
|
"static": true,
|
|
40188
40308
|
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
40189
|
-
"default": "\"
|
|
40309
|
+
"default": "\"layout\"",
|
|
40190
40310
|
"inheritedFrom": {
|
|
40191
40311
|
"name": "HostElement",
|
|
40192
40312
|
"module": "src/core/host-element.ts"
|
|
@@ -40208,139 +40328,253 @@
|
|
|
40208
40328
|
},
|
|
40209
40329
|
{
|
|
40210
40330
|
"kind": "field",
|
|
40211
|
-
"name": "
|
|
40331
|
+
"name": "client",
|
|
40212
40332
|
"privacy": "public",
|
|
40213
40333
|
"type": {
|
|
40214
|
-
"text": "
|
|
40334
|
+
"text": "FlowClient | undefined"
|
|
40215
40335
|
},
|
|
40216
|
-
"default": "
|
|
40217
|
-
"
|
|
40336
|
+
"default": "undefined",
|
|
40337
|
+
"description": "`FlowClient` (e.g. the SDK's `Auth`). Without one, actions are not answered."
|
|
40218
40338
|
},
|
|
40219
40339
|
{
|
|
40220
40340
|
"kind": "field",
|
|
40221
|
-
"name": "
|
|
40341
|
+
"name": "renderSpec",
|
|
40222
40342
|
"privacy": "public",
|
|
40223
40343
|
"type": {
|
|
40224
40344
|
"text": "string"
|
|
40225
40345
|
},
|
|
40226
40346
|
"default": "\"\"",
|
|
40227
|
-
"
|
|
40228
|
-
},
|
|
40229
|
-
{
|
|
40230
|
-
"kind": "field",
|
|
40231
|
-
"name": "event",
|
|
40232
|
-
"privacy": "public",
|
|
40233
|
-
"type": {
|
|
40234
|
-
"text": "string | undefined"
|
|
40235
|
-
},
|
|
40236
|
-
"default": "undefined",
|
|
40237
|
-
"attribute": "event"
|
|
40347
|
+
"description": "the screen's HTML"
|
|
40238
40348
|
},
|
|
40239
40349
|
{
|
|
40240
40350
|
"kind": "field",
|
|
40241
|
-
"name": "
|
|
40351
|
+
"name": "branding",
|
|
40242
40352
|
"privacy": "public",
|
|
40243
40353
|
"type": {
|
|
40244
|
-
"text": "
|
|
40354
|
+
"text": "BrandingEntitlements"
|
|
40245
40355
|
},
|
|
40246
|
-
"default": "
|
|
40247
|
-
"
|
|
40356
|
+
"default": "DEFAULT_BRANDING",
|
|
40357
|
+
"description": "`BrandingEntitlements` (attribute-less on purpose)"
|
|
40248
40358
|
},
|
|
40249
40359
|
{
|
|
40250
40360
|
"kind": "field",
|
|
40251
|
-
"name": "
|
|
40361
|
+
"name": "designMode",
|
|
40252
40362
|
"privacy": "public",
|
|
40253
40363
|
"type": {
|
|
40254
|
-
"text": "
|
|
40364
|
+
"text": "boolean"
|
|
40255
40365
|
},
|
|
40256
|
-
"
|
|
40257
|
-
"
|
|
40366
|
+
"description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
|
|
40367
|
+
"default": "false",
|
|
40368
|
+
"attribute": "design-mode",
|
|
40369
|
+
"reflects": true
|
|
40258
40370
|
},
|
|
40259
40371
|
{
|
|
40260
40372
|
"kind": "field",
|
|
40261
|
-
"name": "
|
|
40373
|
+
"name": "messages",
|
|
40262
40374
|
"privacy": "public",
|
|
40263
40375
|
"type": {
|
|
40264
|
-
"text": "string
|
|
40376
|
+
"text": "Partial<Record<string, string>>"
|
|
40265
40377
|
},
|
|
40266
|
-
"default": "
|
|
40267
|
-
"
|
|
40378
|
+
"default": "{}",
|
|
40379
|
+
"description": "localised flow messages by code (the flow's `messages`)"
|
|
40268
40380
|
},
|
|
40269
40381
|
{
|
|
40270
40382
|
"kind": "field",
|
|
40271
|
-
"name": "
|
|
40383
|
+
"name": "loginHint",
|
|
40272
40384
|
"privacy": "public",
|
|
40273
40385
|
"type": {
|
|
40274
40386
|
"text": "string | undefined"
|
|
40275
40387
|
},
|
|
40276
|
-
"
|
|
40277
|
-
"
|
|
40278
|
-
},
|
|
40279
|
-
{
|
|
40280
|
-
"kind": "field",
|
|
40281
|
-
"name": "align",
|
|
40282
|
-
"privacy": "public",
|
|
40283
|
-
"type": {
|
|
40284
|
-
"text": "LinkAlign"
|
|
40285
|
-
},
|
|
40286
|
-
"default": "\"center\"",
|
|
40287
|
-
"attribute": "align"
|
|
40388
|
+
"description": "the identifier to pre-fill email and identifier fields with (the URL's `login_hint`, from the provider)",
|
|
40389
|
+
"default": "undefined"
|
|
40288
40390
|
},
|
|
40289
40391
|
{
|
|
40290
40392
|
"kind": "field",
|
|
40291
|
-
"name": "
|
|
40292
|
-
"privacy": "
|
|
40393
|
+
"name": "busy",
|
|
40394
|
+
"privacy": "protected",
|
|
40293
40395
|
"type": {
|
|
40294
40396
|
"text": "boolean"
|
|
40295
40397
|
},
|
|
40296
40398
|
"default": "false",
|
|
40297
|
-
"attribute": "
|
|
40298
|
-
"reflects": true
|
|
40399
|
+
"attribute": "busy"
|
|
40299
40400
|
},
|
|
40300
40401
|
{
|
|
40301
40402
|
"kind": "field",
|
|
40302
|
-
"name": "
|
|
40303
|
-
"privacy": "
|
|
40304
|
-
"
|
|
40305
|
-
"text": "boolean"
|
|
40306
|
-
},
|
|
40307
|
-
"default": "false",
|
|
40308
|
-
"attribute": "loading",
|
|
40309
|
-
"reflects": true
|
|
40403
|
+
"name": "provider",
|
|
40404
|
+
"privacy": "private",
|
|
40405
|
+
"default": "new ContextProvider(this, { context: brandingContext, initialValue: DEFAULT_BRANDING })"
|
|
40310
40406
|
},
|
|
40311
40407
|
{
|
|
40312
40408
|
"kind": "field",
|
|
40313
|
-
"name": "
|
|
40314
|
-
"privacy": "
|
|
40315
|
-
"
|
|
40316
|
-
"default": "new ActionController(this)"
|
|
40409
|
+
"name": "designProvider",
|
|
40410
|
+
"privacy": "private",
|
|
40411
|
+
"default": "new ContextProvider(this, { context: designModeContext, initialValue: false })"
|
|
40317
40412
|
},
|
|
40318
40413
|
{
|
|
40319
40414
|
"kind": "field",
|
|
40320
|
-
"name": "
|
|
40415
|
+
"name": "pending",
|
|
40321
40416
|
"type": {
|
|
40322
|
-
"text": "
|
|
40417
|
+
"text": "Promise<FlowEventResponse> | null"
|
|
40323
40418
|
},
|
|
40324
|
-
"
|
|
40419
|
+
"privacy": "private",
|
|
40420
|
+
"default": "null"
|
|
40325
40421
|
},
|
|
40326
40422
|
{
|
|
40327
40423
|
"kind": "field",
|
|
40328
|
-
"name": "
|
|
40424
|
+
"name": "form",
|
|
40329
40425
|
"type": {
|
|
40330
|
-
"text": "
|
|
40426
|
+
"text": "HTMLFormElement | null"
|
|
40331
40427
|
},
|
|
40332
|
-
"description": "The
|
|
40428
|
+
"description": "The layout's form (holds the screen).",
|
|
40333
40429
|
"readonly": true
|
|
40334
40430
|
},
|
|
40431
|
+
{
|
|
40432
|
+
"kind": "method",
|
|
40433
|
+
"name": "run",
|
|
40434
|
+
"return": {
|
|
40435
|
+
"type": {
|
|
40436
|
+
"text": "Promise<FlowEventResponse>"
|
|
40437
|
+
}
|
|
40438
|
+
},
|
|
40439
|
+
"parameters": [
|
|
40440
|
+
{
|
|
40441
|
+
"name": "event",
|
|
40442
|
+
"type": {
|
|
40443
|
+
"text": "string"
|
|
40444
|
+
}
|
|
40445
|
+
},
|
|
40446
|
+
{
|
|
40447
|
+
"name": "data",
|
|
40448
|
+
"optional": true,
|
|
40449
|
+
"type": {
|
|
40450
|
+
"text": "Record<string, unknown>"
|
|
40451
|
+
}
|
|
40452
|
+
}
|
|
40453
|
+
],
|
|
40454
|
+
"description": "Runs one flow request (what a `pont-action` from inside triggers)."
|
|
40455
|
+
},
|
|
40335
40456
|
{
|
|
40336
40457
|
"kind": "field",
|
|
40337
|
-
"name": "
|
|
40458
|
+
"name": "locked",
|
|
40338
40459
|
"type": {
|
|
40339
|
-
"text": "boolean"
|
|
40460
|
+
"text": "Array<HTMLElement & { disabled: boolean }>"
|
|
40340
40461
|
},
|
|
40341
|
-
"privacy": "
|
|
40342
|
-
"
|
|
40343
|
-
"
|
|
40462
|
+
"privacy": "private",
|
|
40463
|
+
"default": "[]",
|
|
40464
|
+
"description": "The elements `lockScreen` disabled, to give back exactly those."
|
|
40465
|
+
},
|
|
40466
|
+
{
|
|
40467
|
+
"kind": "method",
|
|
40468
|
+
"name": "lockScreen",
|
|
40469
|
+
"privacy": "private",
|
|
40470
|
+
"return": {
|
|
40471
|
+
"type": {
|
|
40472
|
+
"text": "void"
|
|
40473
|
+
}
|
|
40474
|
+
},
|
|
40475
|
+
"description": "While a request runs, the screen's fields and its other buttons are disabled, as in the legacy\nkit: nothing can be edited or pressed mid-request (migration tracker F-20, F-35). The button\nthat asked stays busy, focusably (it is not disabled). Elements already disabled are left\nalone and stay disabled afterwards. The values were read before the request started, so\ndisabling the fields doesn't change what was sent."
|
|
40476
|
+
},
|
|
40477
|
+
{
|
|
40478
|
+
"kind": "method",
|
|
40479
|
+
"name": "unlockScreen",
|
|
40480
|
+
"privacy": "private",
|
|
40481
|
+
"return": {
|
|
40482
|
+
"type": {
|
|
40483
|
+
"text": "void"
|
|
40484
|
+
}
|
|
40485
|
+
}
|
|
40486
|
+
},
|
|
40487
|
+
{
|
|
40488
|
+
"kind": "method",
|
|
40489
|
+
"name": "onAction",
|
|
40490
|
+
"privacy": "private",
|
|
40491
|
+
"return": {
|
|
40492
|
+
"type": {
|
|
40493
|
+
"text": "void"
|
|
40494
|
+
}
|
|
40495
|
+
},
|
|
40496
|
+
"parameters": [
|
|
40497
|
+
{
|
|
40498
|
+
"name": "e",
|
|
40499
|
+
"type": {
|
|
40500
|
+
"text": "CustomEvent<ActionRequestDetail>"
|
|
40501
|
+
}
|
|
40502
|
+
}
|
|
40503
|
+
]
|
|
40504
|
+
},
|
|
40505
|
+
{
|
|
40506
|
+
"kind": "method",
|
|
40507
|
+
"name": "onError",
|
|
40508
|
+
"privacy": "private",
|
|
40509
|
+
"return": {
|
|
40510
|
+
"type": {
|
|
40511
|
+
"text": "void"
|
|
40512
|
+
}
|
|
40513
|
+
},
|
|
40514
|
+
"parameters": [
|
|
40515
|
+
{
|
|
40516
|
+
"name": "e",
|
|
40517
|
+
"type": {
|
|
40518
|
+
"text": "CustomEvent<ActionErrorDetail>"
|
|
40519
|
+
}
|
|
40520
|
+
}
|
|
40521
|
+
]
|
|
40522
|
+
},
|
|
40523
|
+
{
|
|
40524
|
+
"kind": "method",
|
|
40525
|
+
"name": "showError",
|
|
40526
|
+
"return": {
|
|
40527
|
+
"type": {
|
|
40528
|
+
"text": "void"
|
|
40529
|
+
}
|
|
40530
|
+
},
|
|
40531
|
+
"parameters": [
|
|
40532
|
+
{
|
|
40533
|
+
"name": "message",
|
|
40534
|
+
"type": {
|
|
40535
|
+
"text": "string"
|
|
40536
|
+
}
|
|
40537
|
+
},
|
|
40538
|
+
{
|
|
40539
|
+
"name": "restartable",
|
|
40540
|
+
"default": "false"
|
|
40541
|
+
}
|
|
40542
|
+
],
|
|
40543
|
+
"description": "Shows a flow error at the top of the screen (after its logo/header). It replaces any error\nalready there, the server's injected banner included (`pont-alert[status=\"error\"]`), so the\nscreen holds one error at a time, as in the legacy kit (migration tracker F-21)."
|
|
40544
|
+
},
|
|
40545
|
+
{
|
|
40546
|
+
"kind": "method",
|
|
40547
|
+
"name": "clearBanner",
|
|
40548
|
+
"privacy": "private",
|
|
40549
|
+
"return": {
|
|
40550
|
+
"type": {
|
|
40551
|
+
"text": "void"
|
|
40552
|
+
}
|
|
40553
|
+
}
|
|
40554
|
+
},
|
|
40555
|
+
{
|
|
40556
|
+
"kind": "method",
|
|
40557
|
+
"name": "renderScreen",
|
|
40558
|
+
"privacy": "private",
|
|
40559
|
+
"return": {
|
|
40560
|
+
"type": {
|
|
40561
|
+
"text": "void"
|
|
40562
|
+
}
|
|
40563
|
+
},
|
|
40564
|
+
"parameters": [
|
|
40565
|
+
{
|
|
40566
|
+
"name": "form",
|
|
40567
|
+
"type": {
|
|
40568
|
+
"text": "HTMLFormElement"
|
|
40569
|
+
}
|
|
40570
|
+
}
|
|
40571
|
+
]
|
|
40572
|
+
},
|
|
40573
|
+
{
|
|
40574
|
+
"kind": "field",
|
|
40575
|
+
"name": "onFormSubmit",
|
|
40576
|
+
"privacy": "private",
|
|
40577
|
+
"description": "The layout's form never submits natively. Every submission is either answered here (a\n`pont-action` the layout responds to, which prevents it) or it is a mistake: no `client`\nyet, or a submit button without `event`. A native submission would then be a GET to the\ncurrent URL with every field, password included, in the query string. So whatever is left\nunhandled is stopped here, at the form, after the submit buttons' own listeners have run."
|
|
40344
40578
|
},
|
|
40345
40579
|
{
|
|
40346
40580
|
"kind": "field",
|
|
@@ -40453,129 +40687,156 @@
|
|
|
40453
40687
|
],
|
|
40454
40688
|
"events": [
|
|
40455
40689
|
{
|
|
40456
|
-
"
|
|
40690
|
+
"description": "`{ action, result }` after every successful request",
|
|
40691
|
+
"name": "pont-flow-response"
|
|
40457
40692
|
},
|
|
40458
40693
|
{
|
|
40459
|
-
"
|
|
40694
|
+
"description": "\"Start again\" pressed (the widget restarts the flow)",
|
|
40695
|
+
"name": "pont-layout-restart"
|
|
40460
40696
|
},
|
|
40461
40697
|
{
|
|
40462
|
-
"
|
|
40698
|
+
"description": "on `document`, `{ tag }`",
|
|
40699
|
+
"name": "pont-unregistered-element"
|
|
40463
40700
|
}
|
|
40464
40701
|
],
|
|
40465
40702
|
"attributes": [
|
|
40466
40703
|
{
|
|
40467
|
-
"
|
|
40468
|
-
"name": "label",
|
|
40469
|
-
"type": {
|
|
40470
|
-
"text": "string"
|
|
40471
|
-
},
|
|
40472
|
-
"default": "\"\"",
|
|
40473
|
-
"fieldName": "label"
|
|
40474
|
-
},
|
|
40475
|
-
{
|
|
40476
|
-
"description": "text before the link",
|
|
40477
|
-
"name": "prompt",
|
|
40478
|
-
"type": {
|
|
40479
|
-
"text": "string"
|
|
40480
|
-
},
|
|
40481
|
-
"default": "\"\"",
|
|
40482
|
-
"fieldName": "prompt"
|
|
40483
|
-
},
|
|
40484
|
-
{
|
|
40485
|
-
"description": "the action requested on press (button form)",
|
|
40486
|
-
"name": "event",
|
|
40487
|
-
"type": {
|
|
40488
|
-
"text": "string | undefined"
|
|
40489
|
-
},
|
|
40490
|
-
"default": "undefined",
|
|
40491
|
-
"fieldName": "event"
|
|
40492
|
-
},
|
|
40493
|
-
{
|
|
40494
|
-
"description": "auth (default) | other: passed in the request's data",
|
|
40495
|
-
"name": "service",
|
|
40496
|
-
"type": {
|
|
40497
|
-
"text": "LinkService"
|
|
40498
|
-
},
|
|
40499
|
-
"default": "\"auth\"",
|
|
40500
|
-
"fieldName": "service"
|
|
40501
|
-
},
|
|
40502
|
-
{
|
|
40503
|
-
"description": "start | center (default) | end",
|
|
40504
|
-
"name": "align",
|
|
40505
|
-
"type": {
|
|
40506
|
-
"text": "LinkAlign"
|
|
40507
|
-
},
|
|
40508
|
-
"default": "\"center\"",
|
|
40509
|
-
"fieldName": "align"
|
|
40510
|
-
},
|
|
40511
|
-
{
|
|
40512
|
-
"name": "href",
|
|
40513
|
-
"type": {
|
|
40514
|
-
"text": "string | undefined"
|
|
40515
|
-
},
|
|
40516
|
-
"default": "undefined",
|
|
40517
|
-
"fieldName": "href"
|
|
40518
|
-
},
|
|
40519
|
-
{
|
|
40520
|
-
"name": "target",
|
|
40521
|
-
"type": {
|
|
40522
|
-
"text": "string | undefined"
|
|
40523
|
-
},
|
|
40524
|
-
"default": "undefined",
|
|
40525
|
-
"fieldName": "target"
|
|
40526
|
-
},
|
|
40527
|
-
{
|
|
40528
|
-
"name": "rel",
|
|
40529
|
-
"type": {
|
|
40530
|
-
"text": "string | undefined"
|
|
40531
|
-
},
|
|
40532
|
-
"default": "undefined",
|
|
40533
|
-
"fieldName": "rel"
|
|
40534
|
-
},
|
|
40535
|
-
{
|
|
40536
|
-
"name": "disabled",
|
|
40537
|
-
"type": {
|
|
40538
|
-
"text": "boolean"
|
|
40539
|
-
},
|
|
40540
|
-
"default": "false",
|
|
40541
|
-
"fieldName": "disabled"
|
|
40542
|
-
},
|
|
40543
|
-
{
|
|
40544
|
-
"name": "loading",
|
|
40704
|
+
"name": "design-mode",
|
|
40545
40705
|
"type": {
|
|
40546
40706
|
"text": "boolean"
|
|
40547
40707
|
},
|
|
40708
|
+
"description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
|
|
40548
40709
|
"default": "false",
|
|
40549
|
-
"fieldName": "
|
|
40710
|
+
"fieldName": "designMode"
|
|
40550
40711
|
}
|
|
40551
40712
|
],
|
|
40552
40713
|
"superclass": {
|
|
40553
40714
|
"name": "HostElement",
|
|
40554
40715
|
"module": "/src/core/host-element"
|
|
40555
40716
|
},
|
|
40556
|
-
"tagName": "pont-
|
|
40717
|
+
"tagName": "pont-layout",
|
|
40557
40718
|
"customElement": true,
|
|
40558
40719
|
"pontLayer": "kit"
|
|
40720
|
+
}
|
|
40721
|
+
],
|
|
40722
|
+
"exports": [
|
|
40723
|
+
{
|
|
40724
|
+
"kind": "js",
|
|
40725
|
+
"name": "describeFlowError",
|
|
40726
|
+
"declaration": {
|
|
40727
|
+
"name": "describeFlowError",
|
|
40728
|
+
"module": "./flow-error"
|
|
40729
|
+
}
|
|
40559
40730
|
},
|
|
40560
40731
|
{
|
|
40561
|
-
"kind": "
|
|
40562
|
-
"
|
|
40563
|
-
"
|
|
40564
|
-
|
|
40565
|
-
|
|
40566
|
-
|
|
40567
|
-
|
|
40568
|
-
|
|
40569
|
-
|
|
40570
|
-
|
|
40571
|
-
|
|
40572
|
-
|
|
40573
|
-
|
|
40574
|
-
|
|
40575
|
-
|
|
40576
|
-
|
|
40577
|
-
|
|
40732
|
+
"kind": "js",
|
|
40733
|
+
"name": "FLOW_MESSAGES_EN",
|
|
40734
|
+
"declaration": {
|
|
40735
|
+
"name": "FLOW_MESSAGES_EN",
|
|
40736
|
+
"module": "./flow-error"
|
|
40737
|
+
}
|
|
40738
|
+
},
|
|
40739
|
+
{
|
|
40740
|
+
"kind": "js",
|
|
40741
|
+
"name": "INSTANCE_UNAVAILABLE",
|
|
40742
|
+
"declaration": {
|
|
40743
|
+
"name": "INSTANCE_UNAVAILABLE",
|
|
40744
|
+
"module": "./flow-error"
|
|
40745
|
+
}
|
|
40746
|
+
},
|
|
40747
|
+
{
|
|
40748
|
+
"kind": "js",
|
|
40749
|
+
"name": "isInstanceUnavailable",
|
|
40750
|
+
"declaration": {
|
|
40751
|
+
"name": "isInstanceUnavailable",
|
|
40752
|
+
"module": "./flow-error"
|
|
40753
|
+
}
|
|
40754
|
+
},
|
|
40755
|
+
{
|
|
40756
|
+
"kind": "js",
|
|
40757
|
+
"name": "rememberUnavailable",
|
|
40758
|
+
"declaration": {
|
|
40759
|
+
"name": "rememberUnavailable",
|
|
40760
|
+
"module": "./flow-error"
|
|
40761
|
+
}
|
|
40762
|
+
},
|
|
40763
|
+
{
|
|
40764
|
+
"kind": "js",
|
|
40765
|
+
"name": "FlowErrorDescription",
|
|
40766
|
+
"declaration": {
|
|
40767
|
+
"name": "FlowErrorDescription",
|
|
40768
|
+
"module": "./flow-error"
|
|
40769
|
+
}
|
|
40770
|
+
},
|
|
40771
|
+
{
|
|
40772
|
+
"kind": "js",
|
|
40773
|
+
"name": "FlowMessageCode",
|
|
40774
|
+
"declaration": {
|
|
40775
|
+
"name": "FlowMessageCode",
|
|
40776
|
+
"module": "./flow-error"
|
|
40777
|
+
}
|
|
40778
|
+
},
|
|
40779
|
+
{
|
|
40780
|
+
"kind": "js",
|
|
40781
|
+
"name": "formDataToObject",
|
|
40782
|
+
"declaration": {
|
|
40783
|
+
"name": "formDataToObject",
|
|
40784
|
+
"module": "src/kit/layout/layout.ts"
|
|
40785
|
+
}
|
|
40786
|
+
},
|
|
40787
|
+
{
|
|
40788
|
+
"kind": "js",
|
|
40789
|
+
"name": "Layout",
|
|
40790
|
+
"declaration": {
|
|
40791
|
+
"name": "Layout",
|
|
40792
|
+
"module": "src/kit/layout/layout.ts"
|
|
40793
|
+
}
|
|
40794
|
+
},
|
|
40795
|
+
{
|
|
40796
|
+
"kind": "custom-element-definition",
|
|
40797
|
+
"name": "pont-layout",
|
|
40798
|
+
"declaration": {
|
|
40799
|
+
"name": "Layout",
|
|
40800
|
+
"module": "src/kit/layout/layout.ts"
|
|
40801
|
+
}
|
|
40802
|
+
}
|
|
40803
|
+
]
|
|
40804
|
+
},
|
|
40805
|
+
{
|
|
40806
|
+
"kind": "javascript-module",
|
|
40807
|
+
"path": "src/kit/link/link.ts",
|
|
40808
|
+
"declarations": [
|
|
40809
|
+
{
|
|
40810
|
+
"kind": "variable",
|
|
40811
|
+
"name": "LINK_ALIGNS",
|
|
40812
|
+
"type": {
|
|
40813
|
+
"text": "[\"start\", \"center\", \"end\"]"
|
|
40814
|
+
},
|
|
40815
|
+
"default": "[\"start\", \"center\", \"end\"]"
|
|
40816
|
+
},
|
|
40817
|
+
{
|
|
40818
|
+
"kind": "variable",
|
|
40819
|
+
"name": "LINK_SERVICES",
|
|
40820
|
+
"type": {
|
|
40821
|
+
"text": "[\"auth\", \"other\"]"
|
|
40822
|
+
},
|
|
40823
|
+
"default": "[\"auth\", \"other\"]"
|
|
40824
|
+
},
|
|
40825
|
+
{
|
|
40826
|
+
"kind": "class",
|
|
40827
|
+
"description": "# `<pont-link>`: \"Don't have an account? Sign up\"\n\n```html\n<pont-link prompt=\"Don't have an account?\" label=\"Sign up\" event=\"goto_signup\"></pont-link>\n<pont-link label=\"Privacy policy\" href=\"/privacy\" target=\"_blank\"></pont-link>\n```\n\nshadcn's login blocks write this as `<div class=\"text-center text-sm\">\nDon't have an account? <a class=\"underline underline-offset-4\">Sign\nup</a></div>`. pont's host is that row; the link is the button\nprimitive's part:\n\n- **with `href`**: a real `<a href>` (navigation, middle-click, \"open in\n new tab\" work), styled as a link. Only an http(s) URL, absolute or\n relative, is linked (`safeUrl`): a `javascript:`, `data:` or other\n scheme renders **nothing** and the row is hidden (`data-invalid-href`),\n because an `href` from a render spec is data, not trusted markup;\n- **otherwise**: a `<button type=\"button\">` that requests `event` through\n the action protocol (`data: { service }`), busy until it settles, like\n the auth buttons. The legacy `service=\"other\"` (no auth call) maps to:\n don't set `event`, or don't respond.",
|
|
40828
|
+
"name": "Link",
|
|
40829
|
+
"cssProperties": [
|
|
40830
|
+
{
|
|
40831
|
+
"description": "the row's text (default muted-foreground)",
|
|
40832
|
+
"name": "--pont-link-fg"
|
|
40578
40833
|
},
|
|
40834
|
+
{
|
|
40835
|
+
"description": "--pont-link-button-fg-hover - the link (default the row's colour; primary on hover)",
|
|
40836
|
+
"name": "--pont-link-button-fg,"
|
|
40837
|
+
}
|
|
40838
|
+
],
|
|
40839
|
+
"members": [
|
|
40579
40840
|
{
|
|
40580
40841
|
"kind": "field",
|
|
40581
40842
|
"name": "identity",
|
|
@@ -40626,11 +40887,7 @@
|
|
|
40626
40887
|
"text": "string"
|
|
40627
40888
|
},
|
|
40628
40889
|
"default": "\"\"",
|
|
40629
|
-
"attribute": "label"
|
|
40630
|
-
"inheritedFrom": {
|
|
40631
|
-
"name": "Link",
|
|
40632
|
-
"module": "src/kit/link/link.ts"
|
|
40633
|
-
}
|
|
40890
|
+
"attribute": "label"
|
|
40634
40891
|
},
|
|
40635
40892
|
{
|
|
40636
40893
|
"kind": "field",
|
|
@@ -40640,11 +40897,7 @@
|
|
|
40640
40897
|
"text": "string"
|
|
40641
40898
|
},
|
|
40642
40899
|
"default": "\"\"",
|
|
40643
|
-
"attribute": "prompt"
|
|
40644
|
-
"inheritedFrom": {
|
|
40645
|
-
"name": "Link",
|
|
40646
|
-
"module": "src/kit/link/link.ts"
|
|
40647
|
-
}
|
|
40900
|
+
"attribute": "prompt"
|
|
40648
40901
|
},
|
|
40649
40902
|
{
|
|
40650
40903
|
"kind": "field",
|
|
@@ -40654,11 +40907,7 @@
|
|
|
40654
40907
|
"text": "string | undefined"
|
|
40655
40908
|
},
|
|
40656
40909
|
"default": "undefined",
|
|
40657
|
-
"attribute": "event"
|
|
40658
|
-
"inheritedFrom": {
|
|
40659
|
-
"name": "Link",
|
|
40660
|
-
"module": "src/kit/link/link.ts"
|
|
40661
|
-
}
|
|
40910
|
+
"attribute": "event"
|
|
40662
40911
|
},
|
|
40663
40912
|
{
|
|
40664
40913
|
"kind": "field",
|
|
@@ -40668,11 +40917,7 @@
|
|
|
40668
40917
|
"text": "LinkService"
|
|
40669
40918
|
},
|
|
40670
40919
|
"default": "\"auth\"",
|
|
40671
|
-
"attribute": "service"
|
|
40672
|
-
"inheritedFrom": {
|
|
40673
|
-
"name": "Link",
|
|
40674
|
-
"module": "src/kit/link/link.ts"
|
|
40675
|
-
}
|
|
40920
|
+
"attribute": "service"
|
|
40676
40921
|
},
|
|
40677
40922
|
{
|
|
40678
40923
|
"kind": "field",
|
|
@@ -40682,11 +40927,7 @@
|
|
|
40682
40927
|
"text": "string | undefined"
|
|
40683
40928
|
},
|
|
40684
40929
|
"default": "undefined",
|
|
40685
|
-
"attribute": "href"
|
|
40686
|
-
"inheritedFrom": {
|
|
40687
|
-
"name": "Link",
|
|
40688
|
-
"module": "src/kit/link/link.ts"
|
|
40689
|
-
}
|
|
40930
|
+
"attribute": "href"
|
|
40690
40931
|
},
|
|
40691
40932
|
{
|
|
40692
40933
|
"kind": "field",
|
|
@@ -40696,11 +40937,7 @@
|
|
|
40696
40937
|
"text": "string | undefined"
|
|
40697
40938
|
},
|
|
40698
40939
|
"default": "undefined",
|
|
40699
|
-
"attribute": "target"
|
|
40700
|
-
"inheritedFrom": {
|
|
40701
|
-
"name": "Link",
|
|
40702
|
-
"module": "src/kit/link/link.ts"
|
|
40703
|
-
}
|
|
40940
|
+
"attribute": "target"
|
|
40704
40941
|
},
|
|
40705
40942
|
{
|
|
40706
40943
|
"kind": "field",
|
|
@@ -40710,11 +40947,7 @@
|
|
|
40710
40947
|
"text": "string | undefined"
|
|
40711
40948
|
},
|
|
40712
40949
|
"default": "undefined",
|
|
40713
|
-
"attribute": "rel"
|
|
40714
|
-
"inheritedFrom": {
|
|
40715
|
-
"name": "Link",
|
|
40716
|
-
"module": "src/kit/link/link.ts"
|
|
40717
|
-
}
|
|
40950
|
+
"attribute": "rel"
|
|
40718
40951
|
},
|
|
40719
40952
|
{
|
|
40720
40953
|
"kind": "field",
|
|
@@ -40724,11 +40957,7 @@
|
|
|
40724
40957
|
"text": "LinkAlign"
|
|
40725
40958
|
},
|
|
40726
40959
|
"default": "\"center\"",
|
|
40727
|
-
"attribute": "align"
|
|
40728
|
-
"inheritedFrom": {
|
|
40729
|
-
"name": "Link",
|
|
40730
|
-
"module": "src/kit/link/link.ts"
|
|
40731
|
-
}
|
|
40960
|
+
"attribute": "align"
|
|
40732
40961
|
},
|
|
40733
40962
|
{
|
|
40734
40963
|
"kind": "field",
|
|
@@ -40739,11 +40968,7 @@
|
|
|
40739
40968
|
},
|
|
40740
40969
|
"default": "false",
|
|
40741
40970
|
"attribute": "disabled",
|
|
40742
|
-
"reflects": true
|
|
40743
|
-
"inheritedFrom": {
|
|
40744
|
-
"name": "Link",
|
|
40745
|
-
"module": "src/kit/link/link.ts"
|
|
40746
|
-
}
|
|
40971
|
+
"reflects": true
|
|
40747
40972
|
},
|
|
40748
40973
|
{
|
|
40749
40974
|
"kind": "field",
|
|
@@ -40754,22 +40979,14 @@
|
|
|
40754
40979
|
},
|
|
40755
40980
|
"default": "false",
|
|
40756
40981
|
"attribute": "loading",
|
|
40757
|
-
"reflects": true
|
|
40758
|
-
"inheritedFrom": {
|
|
40759
|
-
"name": "Link",
|
|
40760
|
-
"module": "src/kit/link/link.ts"
|
|
40761
|
-
}
|
|
40982
|
+
"reflects": true
|
|
40762
40983
|
},
|
|
40763
40984
|
{
|
|
40764
40985
|
"kind": "field",
|
|
40765
40986
|
"name": "action",
|
|
40766
40987
|
"privacy": "protected",
|
|
40767
40988
|
"readonly": true,
|
|
40768
|
-
"default": "new ActionController(this)"
|
|
40769
|
-
"inheritedFrom": {
|
|
40770
|
-
"name": "Link",
|
|
40771
|
-
"module": "src/kit/link/link.ts"
|
|
40772
|
-
}
|
|
40989
|
+
"default": "new ActionController(this)"
|
|
40773
40990
|
},
|
|
40774
40991
|
{
|
|
40775
40992
|
"kind": "field",
|
|
@@ -40777,11 +40994,7 @@
|
|
|
40777
40994
|
"type": {
|
|
40778
40995
|
"text": "boolean"
|
|
40779
40996
|
},
|
|
40780
|
-
"readonly": true
|
|
40781
|
-
"inheritedFrom": {
|
|
40782
|
-
"name": "Link",
|
|
40783
|
-
"module": "src/kit/link/link.ts"
|
|
40784
|
-
}
|
|
40997
|
+
"readonly": true
|
|
40785
40998
|
},
|
|
40786
40999
|
{
|
|
40787
41000
|
"kind": "field",
|
|
@@ -40790,11 +41003,17 @@
|
|
|
40790
41003
|
"text": "HTMLAnchorElement | HTMLButtonElement | null"
|
|
40791
41004
|
},
|
|
40792
41005
|
"description": "The native `<a>` or `<button>`.",
|
|
40793
|
-
"readonly": true
|
|
40794
|
-
|
|
40795
|
-
|
|
40796
|
-
|
|
40797
|
-
|
|
41006
|
+
"readonly": true
|
|
41007
|
+
},
|
|
41008
|
+
{
|
|
41009
|
+
"kind": "field",
|
|
41010
|
+
"name": "invalidHref",
|
|
41011
|
+
"type": {
|
|
41012
|
+
"text": "boolean"
|
|
41013
|
+
},
|
|
41014
|
+
"privacy": "protected",
|
|
41015
|
+
"description": "`href` is set but is not an http(s) URL: the link renders nothing.",
|
|
41016
|
+
"readonly": true
|
|
40798
41017
|
},
|
|
40799
41018
|
{
|
|
40800
41019
|
"kind": "field",
|
|
@@ -40905,32 +41124,26 @@
|
|
|
40905
41124
|
}
|
|
40906
41125
|
}
|
|
40907
41126
|
],
|
|
40908
|
-
"
|
|
41127
|
+
"events": [
|
|
40909
41128
|
{
|
|
40910
|
-
"name": "
|
|
40911
|
-
"type": {
|
|
40912
|
-
"text": "string | undefined"
|
|
40913
|
-
},
|
|
40914
|
-
"default": "undefined",
|
|
40915
|
-
"fieldName": "href",
|
|
40916
|
-
"description": "absolute http(s) URL; anything else renders nothing",
|
|
40917
|
-
"inheritedFrom": {
|
|
40918
|
-
"name": "Link",
|
|
40919
|
-
"module": "src/kit/link/link.ts"
|
|
40920
|
-
}
|
|
41129
|
+
"name": "pont-action"
|
|
40921
41130
|
},
|
|
40922
41131
|
{
|
|
40923
|
-
"
|
|
41132
|
+
"name": "pont-action-success"
|
|
41133
|
+
},
|
|
41134
|
+
{
|
|
41135
|
+
"name": "pont-action-error"
|
|
41136
|
+
}
|
|
41137
|
+
],
|
|
41138
|
+
"attributes": [
|
|
41139
|
+
{
|
|
41140
|
+
"description": "link text (default \"Link\")",
|
|
40924
41141
|
"name": "label",
|
|
40925
41142
|
"type": {
|
|
40926
41143
|
"text": "string"
|
|
40927
41144
|
},
|
|
40928
41145
|
"default": "\"\"",
|
|
40929
|
-
"fieldName": "label"
|
|
40930
|
-
"inheritedFrom": {
|
|
40931
|
-
"name": "Link",
|
|
40932
|
-
"module": "src/kit/link/link.ts"
|
|
40933
|
-
}
|
|
41146
|
+
"fieldName": "label"
|
|
40934
41147
|
},
|
|
40935
41148
|
{
|
|
40936
41149
|
"description": "text before the link",
|
|
@@ -40939,24 +41152,7 @@
|
|
|
40939
41152
|
"text": "string"
|
|
40940
41153
|
},
|
|
40941
41154
|
"default": "\"\"",
|
|
40942
|
-
"fieldName": "prompt"
|
|
40943
|
-
"inheritedFrom": {
|
|
40944
|
-
"name": "Link",
|
|
40945
|
-
"module": "src/kit/link/link.ts"
|
|
40946
|
-
}
|
|
40947
|
-
},
|
|
40948
|
-
{
|
|
40949
|
-
"description": "start | center (default) | end",
|
|
40950
|
-
"name": "align",
|
|
40951
|
-
"type": {
|
|
40952
|
-
"text": "LinkAlign"
|
|
40953
|
-
},
|
|
40954
|
-
"default": "\"center\"",
|
|
40955
|
-
"fieldName": "align",
|
|
40956
|
-
"inheritedFrom": {
|
|
40957
|
-
"name": "Link",
|
|
40958
|
-
"module": "src/kit/link/link.ts"
|
|
40959
|
-
}
|
|
41155
|
+
"fieldName": "prompt"
|
|
40960
41156
|
},
|
|
40961
41157
|
{
|
|
40962
41158
|
"description": "the action requested on press (button form)",
|
|
@@ -40965,609 +41161,313 @@
|
|
|
40965
41161
|
"text": "string | undefined"
|
|
40966
41162
|
},
|
|
40967
41163
|
"default": "undefined",
|
|
40968
|
-
"fieldName": "event"
|
|
41164
|
+
"fieldName": "event"
|
|
41165
|
+
},
|
|
41166
|
+
{
|
|
41167
|
+
"description": "auth (default) | other: passed in the request's data",
|
|
41168
|
+
"name": "service",
|
|
41169
|
+
"type": {
|
|
41170
|
+
"text": "LinkService"
|
|
41171
|
+
},
|
|
41172
|
+
"default": "\"auth\"",
|
|
41173
|
+
"fieldName": "service"
|
|
41174
|
+
},
|
|
41175
|
+
{
|
|
41176
|
+
"description": "start | center (default) | end",
|
|
41177
|
+
"name": "align",
|
|
41178
|
+
"type": {
|
|
41179
|
+
"text": "LinkAlign"
|
|
41180
|
+
},
|
|
41181
|
+
"default": "\"center\"",
|
|
41182
|
+
"fieldName": "align"
|
|
41183
|
+
},
|
|
41184
|
+
{
|
|
41185
|
+
"name": "href",
|
|
41186
|
+
"type": {
|
|
41187
|
+
"text": "string | undefined"
|
|
41188
|
+
},
|
|
41189
|
+
"default": "undefined",
|
|
41190
|
+
"fieldName": "href"
|
|
41191
|
+
},
|
|
41192
|
+
{
|
|
41193
|
+
"name": "target",
|
|
41194
|
+
"type": {
|
|
41195
|
+
"text": "string | undefined"
|
|
41196
|
+
},
|
|
41197
|
+
"default": "undefined",
|
|
41198
|
+
"fieldName": "target"
|
|
41199
|
+
},
|
|
41200
|
+
{
|
|
41201
|
+
"name": "rel",
|
|
41202
|
+
"type": {
|
|
41203
|
+
"text": "string | undefined"
|
|
41204
|
+
},
|
|
41205
|
+
"default": "undefined",
|
|
41206
|
+
"fieldName": "rel"
|
|
41207
|
+
},
|
|
41208
|
+
{
|
|
41209
|
+
"name": "disabled",
|
|
41210
|
+
"type": {
|
|
41211
|
+
"text": "boolean"
|
|
41212
|
+
},
|
|
41213
|
+
"default": "false",
|
|
41214
|
+
"fieldName": "disabled"
|
|
41215
|
+
},
|
|
41216
|
+
{
|
|
41217
|
+
"name": "loading",
|
|
41218
|
+
"type": {
|
|
41219
|
+
"text": "boolean"
|
|
41220
|
+
},
|
|
41221
|
+
"default": "false",
|
|
41222
|
+
"fieldName": "loading"
|
|
41223
|
+
}
|
|
41224
|
+
],
|
|
41225
|
+
"superclass": {
|
|
41226
|
+
"name": "HostElement",
|
|
41227
|
+
"module": "/src/core/host-element"
|
|
41228
|
+
},
|
|
41229
|
+
"tagName": "pont-link",
|
|
41230
|
+
"customElement": true,
|
|
41231
|
+
"pontLayer": "kit"
|
|
41232
|
+
},
|
|
41233
|
+
{
|
|
41234
|
+
"kind": "class",
|
|
41235
|
+
"description": "# `<pont-external-link>`: a page outside the flow, in a new tab\n\n```html\n<pont-external-link label=\"Privacy policy\" href=\"{{consent_privacy_policy_url}}\"></pont-external-link>\n```\n\nThe consent screen's links to an app's privacy policy, terms or homepage. It\nis `pont-link`'s `href` form with the rules of the legacy\n`pont-external-link` (carry-over §7):\n\n- only an **absolute** http(s) URL with a host renders (`safeExternalUrl`).\n The href is usually a server placeholder filled from the app's settings,\n so empty, still a placeholder, relative or any other scheme renders\n **nothing** and the row is hidden (`data-invalid-href`);\n- it always opens a new tab, with `rel=\"noopener noreferrer\"`;\n- `label` falls back to the URL;\n- it never requests an action and fires no event, so it is safe on screens\n that are not an auth flow.\n\nStyled by `pont-link`'s recipe and tokens, so the two read as one kind of\nthing on a screen.",
|
|
41236
|
+
"name": "ExternalLink",
|
|
41237
|
+
"members": [
|
|
41238
|
+
{
|
|
41239
|
+
"kind": "field",
|
|
41240
|
+
"name": "invalidHref",
|
|
41241
|
+
"type": {
|
|
41242
|
+
"text": "boolean"
|
|
41243
|
+
},
|
|
41244
|
+
"privacy": "protected",
|
|
41245
|
+
"description": "`href` is set but is not an http(s) URL: the link renders nothing.",
|
|
41246
|
+
"readonly": true,
|
|
40969
41247
|
"inheritedFrom": {
|
|
40970
41248
|
"name": "Link",
|
|
40971
41249
|
"module": "src/kit/link/link.ts"
|
|
40972
41250
|
}
|
|
40973
41251
|
},
|
|
40974
41252
|
{
|
|
40975
|
-
"
|
|
41253
|
+
"kind": "field",
|
|
41254
|
+
"name": "identity",
|
|
41255
|
+
"type": {
|
|
41256
|
+
"text": "string | undefined"
|
|
41257
|
+
},
|
|
41258
|
+
"static": true,
|
|
41259
|
+
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
41260
|
+
"default": "\"link\"",
|
|
41261
|
+
"inheritedFrom": {
|
|
41262
|
+
"name": "HostElement",
|
|
41263
|
+
"module": "src/core/host-element.ts"
|
|
41264
|
+
}
|
|
41265
|
+
},
|
|
41266
|
+
{
|
|
41267
|
+
"kind": "field",
|
|
41268
|
+
"name": "slotName",
|
|
41269
|
+
"type": {
|
|
41270
|
+
"text": "string | undefined"
|
|
41271
|
+
},
|
|
41272
|
+
"static": true,
|
|
41273
|
+
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
41274
|
+
"default": "\"link\"",
|
|
41275
|
+
"inheritedFrom": {
|
|
41276
|
+
"name": "HostElement",
|
|
41277
|
+
"module": "src/core/host-element.ts"
|
|
41278
|
+
}
|
|
41279
|
+
},
|
|
41280
|
+
{
|
|
41281
|
+
"kind": "field",
|
|
41282
|
+
"name": "composite",
|
|
41283
|
+
"type": {
|
|
41284
|
+
"text": "boolean"
|
|
41285
|
+
},
|
|
41286
|
+
"static": true,
|
|
41287
|
+
"default": "true",
|
|
41288
|
+
"description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
|
|
41289
|
+
"inheritedFrom": {
|
|
41290
|
+
"name": "HostElement",
|
|
41291
|
+
"module": "src/core/host-element.ts"
|
|
41292
|
+
}
|
|
41293
|
+
},
|
|
41294
|
+
{
|
|
41295
|
+
"kind": "field",
|
|
41296
|
+
"name": "label",
|
|
41297
|
+
"privacy": "public",
|
|
41298
|
+
"type": {
|
|
41299
|
+
"text": "string"
|
|
41300
|
+
},
|
|
41301
|
+
"default": "\"\"",
|
|
41302
|
+
"attribute": "label",
|
|
41303
|
+
"inheritedFrom": {
|
|
41304
|
+
"name": "Link",
|
|
41305
|
+
"module": "src/kit/link/link.ts"
|
|
41306
|
+
}
|
|
41307
|
+
},
|
|
41308
|
+
{
|
|
41309
|
+
"kind": "field",
|
|
41310
|
+
"name": "prompt",
|
|
41311
|
+
"privacy": "public",
|
|
41312
|
+
"type": {
|
|
41313
|
+
"text": "string"
|
|
41314
|
+
},
|
|
41315
|
+
"default": "\"\"",
|
|
41316
|
+
"attribute": "prompt",
|
|
41317
|
+
"inheritedFrom": {
|
|
41318
|
+
"name": "Link",
|
|
41319
|
+
"module": "src/kit/link/link.ts"
|
|
41320
|
+
}
|
|
41321
|
+
},
|
|
41322
|
+
{
|
|
41323
|
+
"kind": "field",
|
|
41324
|
+
"name": "event",
|
|
41325
|
+
"privacy": "public",
|
|
41326
|
+
"type": {
|
|
41327
|
+
"text": "string | undefined"
|
|
41328
|
+
},
|
|
41329
|
+
"default": "undefined",
|
|
41330
|
+
"attribute": "event",
|
|
41331
|
+
"inheritedFrom": {
|
|
41332
|
+
"name": "Link",
|
|
41333
|
+
"module": "src/kit/link/link.ts"
|
|
41334
|
+
}
|
|
41335
|
+
},
|
|
41336
|
+
{
|
|
41337
|
+
"kind": "field",
|
|
40976
41338
|
"name": "service",
|
|
41339
|
+
"privacy": "public",
|
|
40977
41340
|
"type": {
|
|
40978
41341
|
"text": "LinkService"
|
|
40979
41342
|
},
|
|
40980
41343
|
"default": "\"auth\"",
|
|
40981
|
-
"
|
|
41344
|
+
"attribute": "service",
|
|
41345
|
+
"inheritedFrom": {
|
|
41346
|
+
"name": "Link",
|
|
41347
|
+
"module": "src/kit/link/link.ts"
|
|
41348
|
+
}
|
|
41349
|
+
},
|
|
41350
|
+
{
|
|
41351
|
+
"kind": "field",
|
|
41352
|
+
"name": "href",
|
|
41353
|
+
"privacy": "public",
|
|
41354
|
+
"type": {
|
|
41355
|
+
"text": "string | undefined"
|
|
41356
|
+
},
|
|
41357
|
+
"default": "undefined",
|
|
41358
|
+
"attribute": "href",
|
|
40982
41359
|
"inheritedFrom": {
|
|
40983
41360
|
"name": "Link",
|
|
40984
41361
|
"module": "src/kit/link/link.ts"
|
|
40985
41362
|
}
|
|
40986
41363
|
},
|
|
40987
41364
|
{
|
|
41365
|
+
"kind": "field",
|
|
40988
41366
|
"name": "target",
|
|
41367
|
+
"privacy": "public",
|
|
40989
41368
|
"type": {
|
|
40990
41369
|
"text": "string | undefined"
|
|
40991
41370
|
},
|
|
40992
41371
|
"default": "undefined",
|
|
40993
|
-
"
|
|
41372
|
+
"attribute": "target",
|
|
40994
41373
|
"inheritedFrom": {
|
|
40995
41374
|
"name": "Link",
|
|
40996
41375
|
"module": "src/kit/link/link.ts"
|
|
40997
41376
|
}
|
|
40998
41377
|
},
|
|
40999
41378
|
{
|
|
41379
|
+
"kind": "field",
|
|
41000
41380
|
"name": "rel",
|
|
41381
|
+
"privacy": "public",
|
|
41001
41382
|
"type": {
|
|
41002
41383
|
"text": "string | undefined"
|
|
41003
41384
|
},
|
|
41004
41385
|
"default": "undefined",
|
|
41005
|
-
"
|
|
41386
|
+
"attribute": "rel",
|
|
41006
41387
|
"inheritedFrom": {
|
|
41007
41388
|
"name": "Link",
|
|
41008
41389
|
"module": "src/kit/link/link.ts"
|
|
41009
41390
|
}
|
|
41010
41391
|
},
|
|
41011
41392
|
{
|
|
41012
|
-
"
|
|
41393
|
+
"kind": "field",
|
|
41394
|
+
"name": "align",
|
|
41395
|
+
"privacy": "public",
|
|
41013
41396
|
"type": {
|
|
41014
|
-
"text": "
|
|
41397
|
+
"text": "LinkAlign"
|
|
41015
41398
|
},
|
|
41016
|
-
"default": "
|
|
41017
|
-
"
|
|
41399
|
+
"default": "\"center\"",
|
|
41400
|
+
"attribute": "align",
|
|
41018
41401
|
"inheritedFrom": {
|
|
41019
41402
|
"name": "Link",
|
|
41020
41403
|
"module": "src/kit/link/link.ts"
|
|
41021
41404
|
}
|
|
41022
41405
|
},
|
|
41023
41406
|
{
|
|
41024
|
-
"
|
|
41407
|
+
"kind": "field",
|
|
41408
|
+
"name": "disabled",
|
|
41409
|
+
"privacy": "public",
|
|
41025
41410
|
"type": {
|
|
41026
41411
|
"text": "boolean"
|
|
41027
41412
|
},
|
|
41028
41413
|
"default": "false",
|
|
41029
|
-
"
|
|
41414
|
+
"attribute": "disabled",
|
|
41415
|
+
"reflects": true,
|
|
41030
41416
|
"inheritedFrom": {
|
|
41031
41417
|
"name": "Link",
|
|
41032
41418
|
"module": "src/kit/link/link.ts"
|
|
41033
41419
|
}
|
|
41034
|
-
}
|
|
41035
|
-
],
|
|
41036
|
-
"superclass": {
|
|
41037
|
-
"name": "Link",
|
|
41038
|
-
"module": "src/kit/link/link.ts"
|
|
41039
|
-
},
|
|
41040
|
-
"tagName": "pont-external-link",
|
|
41041
|
-
"customElement": true,
|
|
41042
|
-
"cssProperties": [
|
|
41420
|
+
},
|
|
41043
41421
|
{
|
|
41044
|
-
"
|
|
41045
|
-
"name": "
|
|
41422
|
+
"kind": "field",
|
|
41423
|
+
"name": "loading",
|
|
41424
|
+
"privacy": "public",
|
|
41425
|
+
"type": {
|
|
41426
|
+
"text": "boolean"
|
|
41427
|
+
},
|
|
41428
|
+
"default": "false",
|
|
41429
|
+
"attribute": "loading",
|
|
41430
|
+
"reflects": true,
|
|
41046
41431
|
"inheritedFrom": {
|
|
41047
41432
|
"name": "Link",
|
|
41048
41433
|
"module": "src/kit/link/link.ts"
|
|
41049
41434
|
}
|
|
41050
41435
|
},
|
|
41051
41436
|
{
|
|
41052
|
-
"
|
|
41053
|
-
"name": "
|
|
41437
|
+
"kind": "field",
|
|
41438
|
+
"name": "action",
|
|
41439
|
+
"privacy": "protected",
|
|
41440
|
+
"readonly": true,
|
|
41441
|
+
"default": "new ActionController(this)",
|
|
41054
41442
|
"inheritedFrom": {
|
|
41055
41443
|
"name": "Link",
|
|
41056
41444
|
"module": "src/kit/link/link.ts"
|
|
41057
41445
|
}
|
|
41058
|
-
}
|
|
41059
|
-
],
|
|
41060
|
-
"events": [
|
|
41061
|
-
{
|
|
41062
|
-
"name": "pont-action"
|
|
41063
|
-
},
|
|
41064
|
-
{
|
|
41065
|
-
"name": "pont-action-success"
|
|
41066
|
-
},
|
|
41067
|
-
{
|
|
41068
|
-
"name": "pont-action-error"
|
|
41069
|
-
}
|
|
41070
|
-
],
|
|
41071
|
-
"pontLayer": "kit"
|
|
41072
|
-
}
|
|
41073
|
-
],
|
|
41074
|
-
"exports": [
|
|
41075
|
-
{
|
|
41076
|
-
"kind": "js",
|
|
41077
|
-
"name": "LINK_ALIGNS",
|
|
41078
|
-
"declaration": {
|
|
41079
|
-
"name": "LINK_ALIGNS",
|
|
41080
|
-
"module": "src/kit/link/link.ts"
|
|
41081
|
-
}
|
|
41082
|
-
},
|
|
41083
|
-
{
|
|
41084
|
-
"kind": "js",
|
|
41085
|
-
"name": "LINK_SERVICES",
|
|
41086
|
-
"declaration": {
|
|
41087
|
-
"name": "LINK_SERVICES",
|
|
41088
|
-
"module": "src/kit/link/link.ts"
|
|
41089
|
-
}
|
|
41090
|
-
},
|
|
41091
|
-
{
|
|
41092
|
-
"kind": "js",
|
|
41093
|
-
"name": "Link",
|
|
41094
|
-
"declaration": {
|
|
41095
|
-
"name": "Link",
|
|
41096
|
-
"module": "src/kit/link/link.ts"
|
|
41097
|
-
}
|
|
41098
|
-
},
|
|
41099
|
-
{
|
|
41100
|
-
"kind": "js",
|
|
41101
|
-
"name": "ExternalLink",
|
|
41102
|
-
"declaration": {
|
|
41103
|
-
"name": "ExternalLink",
|
|
41104
|
-
"module": "src/kit/link/link.ts"
|
|
41105
|
-
}
|
|
41106
|
-
},
|
|
41107
|
-
{
|
|
41108
|
-
"kind": "custom-element-definition",
|
|
41109
|
-
"name": "pont-link",
|
|
41110
|
-
"declaration": {
|
|
41111
|
-
"name": "Link",
|
|
41112
|
-
"module": "src/kit/link/link.ts"
|
|
41113
|
-
}
|
|
41114
|
-
},
|
|
41115
|
-
{
|
|
41116
|
-
"kind": "custom-element-definition",
|
|
41117
|
-
"name": "pont-external-link",
|
|
41118
|
-
"declaration": {
|
|
41119
|
-
"name": "ExternalLink",
|
|
41120
|
-
"module": "src/kit/link/link.ts"
|
|
41121
|
-
}
|
|
41122
|
-
}
|
|
41123
|
-
]
|
|
41124
|
-
},
|
|
41125
|
-
{
|
|
41126
|
-
"kind": "javascript-module",
|
|
41127
|
-
"path": "src/kit/layout/flow-error.ts",
|
|
41128
|
-
"declarations": [
|
|
41129
|
-
{
|
|
41130
|
-
"kind": "variable",
|
|
41131
|
-
"name": "FLOW_MESSAGES_EN",
|
|
41132
|
-
"type": {
|
|
41133
|
-
"text": "Record<FlowMessageCode, string>"
|
|
41134
|
-
},
|
|
41135
|
-
"default": "{ connection_failed: KIT_MESSAGES_EN.connection_failed, too_many_attempts: KIT_MESSAGES_EN.too_many_attempts, server_error: KIT_MESSAGES_EN.server_error, instance_unavailable: KIT_MESSAGES_EN.instance_unavailable, generic_error: KIT_MESSAGES_EN.generic_error, flow_ended: KIT_MESSAGES_EN.flow_ended, passkey_cancelled: KIT_MESSAGES_EN.passkey_cancelled, start_again: KIT_MESSAGES_EN.start_again, continued_elsewhere_title: KIT_MESSAGES_EN.continued_elsewhere_title, continued_elsewhere_subtitle: KIT_MESSAGES_EN.continued_elsewhere_subtitle, continue_here: KIT_MESSAGES_EN.continue_here, }",
|
|
41136
|
-
"description": "The flow codes' English (a subset of `KIT_MESSAGES_EN`, core/messages.ts)."
|
|
41137
|
-
},
|
|
41138
|
-
{
|
|
41139
|
-
"kind": "variable",
|
|
41140
|
-
"name": "INSTANCE_UNAVAILABLE",
|
|
41141
|
-
"type": {
|
|
41142
|
-
"text": "string"
|
|
41143
|
-
},
|
|
41144
|
-
"default": "\"instance_unavailable\"",
|
|
41145
|
-
"description": "A stopped instance (paused, or its owner's Pontive account paused, cancelled or\ndeleted) refuses everything it serves to end users with this one code and no\nreason (pontive-spec 01, \"Who is told why\"; carry-over §6)."
|
|
41146
|
-
},
|
|
41147
|
-
{
|
|
41148
|
-
"kind": "function",
|
|
41149
|
-
"name": "isInstanceUnavailable",
|
|
41150
|
-
"return": {
|
|
41151
|
-
"type": {
|
|
41152
|
-
"text": "boolean"
|
|
41153
|
-
}
|
|
41154
|
-
},
|
|
41155
|
-
"parameters": [
|
|
41156
|
-
{
|
|
41157
|
-
"name": "error",
|
|
41158
|
-
"type": {
|
|
41159
|
-
"text": "unknown"
|
|
41160
|
-
}
|
|
41161
|
-
}
|
|
41162
|
-
],
|
|
41163
|
-
"description": "Whether a failed call was refused because the instance has stopped (its own `code`, or its body's)."
|
|
41164
|
-
},
|
|
41165
|
-
{
|
|
41166
|
-
"kind": "function",
|
|
41167
|
-
"name": "rememberUnavailable",
|
|
41168
|
-
"return": {
|
|
41169
|
-
"type": {
|
|
41170
|
-
"text": "void"
|
|
41171
|
-
}
|
|
41172
|
-
},
|
|
41173
|
-
"parameters": [
|
|
41174
|
-
{
|
|
41175
|
-
"name": "sentence",
|
|
41176
|
-
"optional": true,
|
|
41177
|
-
"type": {
|
|
41178
|
-
"text": "string"
|
|
41179
|
-
}
|
|
41180
|
-
}
|
|
41181
|
-
],
|
|
41182
|
-
"description": "Keeps the sentence a stopped instance was refused with. Once stopped, the page\ncan no longer ask for its text, so the auth service words the refusal itself\n(in the page's language and the instance's copy). Kept in the message table,\nit is what every widget says for the code from then on, including for\nrefusals from services that only send English."
|
|
41183
|
-
},
|
|
41184
|
-
{
|
|
41185
|
-
"kind": "function",
|
|
41186
|
-
"name": "describeFlowError",
|
|
41187
|
-
"return": {
|
|
41188
|
-
"type": {
|
|
41189
|
-
"text": "FlowErrorDescription"
|
|
41190
|
-
}
|
|
41191
|
-
},
|
|
41192
|
-
"parameters": [
|
|
41193
|
-
{
|
|
41194
|
-
"name": "error",
|
|
41195
|
-
"type": {
|
|
41196
|
-
"text": "unknown"
|
|
41197
|
-
}
|
|
41198
|
-
},
|
|
41199
|
-
{
|
|
41200
|
-
"name": "messages",
|
|
41201
|
-
"default": "{}",
|
|
41202
|
-
"type": {
|
|
41203
|
-
"text": "Partial<Record<string, string>>"
|
|
41204
|
-
}
|
|
41205
|
-
}
|
|
41206
|
-
],
|
|
41207
|
-
"description": "a cancelled or timed-out WebAuthn prompt (`NotAllowedError` / `AbortError`) → passkey_cancelled\n- `instance_unavailable` → the refusal's own sentence, kept for the page (rememberUnavailable); not restartable\n- 409 → the server's sentence, else flow_ended; restartable\n- no response at all (NETWORK_ERROR / TIMEOUT) → connection_failed\n- 429 → too_many_attempts; ≥ 500 → server_error\n- anything else → the server's sentence, else generic_error\n\nText comes from `messages` when given (a set a caller holds), else the\npage-wide message table (core/messages.ts), else English."
|
|
41208
|
-
}
|
|
41209
|
-
],
|
|
41210
|
-
"exports": [
|
|
41211
|
-
{
|
|
41212
|
-
"kind": "js",
|
|
41213
|
-
"name": "FLOW_MESSAGES_EN",
|
|
41214
|
-
"declaration": {
|
|
41215
|
-
"name": "FLOW_MESSAGES_EN",
|
|
41216
|
-
"module": "src/kit/layout/flow-error.ts"
|
|
41217
|
-
}
|
|
41218
|
-
},
|
|
41219
|
-
{
|
|
41220
|
-
"kind": "js",
|
|
41221
|
-
"name": "INSTANCE_UNAVAILABLE",
|
|
41222
|
-
"declaration": {
|
|
41223
|
-
"name": "INSTANCE_UNAVAILABLE",
|
|
41224
|
-
"module": "src/kit/layout/flow-error.ts"
|
|
41225
|
-
}
|
|
41226
|
-
},
|
|
41227
|
-
{
|
|
41228
|
-
"kind": "js",
|
|
41229
|
-
"name": "isInstanceUnavailable",
|
|
41230
|
-
"declaration": {
|
|
41231
|
-
"name": "isInstanceUnavailable",
|
|
41232
|
-
"module": "src/kit/layout/flow-error.ts"
|
|
41233
|
-
}
|
|
41234
|
-
},
|
|
41235
|
-
{
|
|
41236
|
-
"kind": "js",
|
|
41237
|
-
"name": "rememberUnavailable",
|
|
41238
|
-
"declaration": {
|
|
41239
|
-
"name": "rememberUnavailable",
|
|
41240
|
-
"module": "src/kit/layout/flow-error.ts"
|
|
41241
|
-
}
|
|
41242
|
-
},
|
|
41243
|
-
{
|
|
41244
|
-
"kind": "js",
|
|
41245
|
-
"name": "describeFlowError",
|
|
41246
|
-
"declaration": {
|
|
41247
|
-
"name": "describeFlowError",
|
|
41248
|
-
"module": "src/kit/layout/flow-error.ts"
|
|
41249
|
-
}
|
|
41250
|
-
}
|
|
41251
|
-
]
|
|
41252
|
-
},
|
|
41253
|
-
{
|
|
41254
|
-
"kind": "javascript-module",
|
|
41255
|
-
"path": "src/kit/layout/layout.ts",
|
|
41256
|
-
"declarations": [
|
|
41257
|
-
{
|
|
41258
|
-
"kind": "function",
|
|
41259
|
-
"name": "formDataToObject",
|
|
41260
|
-
"return": {
|
|
41261
|
-
"type": {
|
|
41262
|
-
"text": "Record<string, unknown> | undefined"
|
|
41263
|
-
}
|
|
41264
|
-
},
|
|
41265
|
-
"parameters": [
|
|
41266
|
-
{
|
|
41267
|
-
"name": "fd",
|
|
41268
|
-
"type": {
|
|
41269
|
-
"text": "FormData | undefined | null"
|
|
41270
|
-
}
|
|
41271
|
-
}
|
|
41272
|
-
],
|
|
41273
|
-
"description": "FormData → the plain object the flow API takes (last value wins, files dropped)."
|
|
41274
|
-
},
|
|
41275
|
-
{
|
|
41276
|
-
"kind": "class",
|
|
41277
|
-
"description": "# `<pont-layout>`: renders a flow screen and runs its requests\n\n```ts\nimport { Auth } from \"@pontive/oidc-client\";\nconst layout = document.createElement(\"pont-layout\");\nlayout.client = Auth; // anything with processLoginflowEvent()\nlayout.branding = response.branding; // the account's entitlements (fail closed)\nlayout.renderSpec = response.render_spec; // the server's HTML for the screen\n```\n\n```html\n<pont-layout data-pont-layout data-slot=\"layout\">\n <form data-slot=\"layout-form\" aria-busy=\"false\">\n …the render spec (e.g. <pont-block>…</pont-block>)…\n </form>\n</pont-layout>\n```\n\nThe **flow host** for one screen. It:\n\n1. **renders the spec** (server HTML) inside one native `<form>`, upgrading\n pont elements and reporting tags this bundle does not define\n (`pont-unregistered-element` on `document`, once per tag);\n2. **answers every `pont-action`** from inside the screen (submit, provider,\n passkey, link, OTP, resend, forgot, edit-identifier) with\n `client.processLoginflowEvent({ event, data })`, where `data` is the\n form's normalised FormData when the request carries one (submit, OTP\n auto-submit); while a request is pending, another one joins it (no double\n submit) and the form is `aria-busy`;\n3. **renders the next screen** when a response carries `render_spec`;\n4. **shows flow errors** (every `pont-action-error` from inside) as an\n error `pont-alert` banner at the top of the screen, with \"Start again\"\n (`pont-layout-restart`) when the flow is over (409);\n5. **provides the branding entitlements** (`pont:branding` context) to the\n screen's block. Fails closed: without `branding`, the watermark shows.\n\nTrust boundary: the render spec is **server HTML** and is inserted as such\n(as in the legacy `pont-layout`); everything a user types goes through\nnative inputs, never into markup. The spec must not contain its own\n`<form>` (the layout's form is the one form).",
|
|
41278
|
-
"name": "Layout",
|
|
41279
|
-
"members": [
|
|
41280
|
-
{
|
|
41281
|
-
"kind": "field",
|
|
41282
|
-
"name": "identity",
|
|
41283
|
-
"type": {
|
|
41284
|
-
"text": "string | undefined"
|
|
41285
|
-
},
|
|
41286
|
-
"static": true,
|
|
41287
|
-
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
41288
|
-
"default": "\"layout\"",
|
|
41289
|
-
"inheritedFrom": {
|
|
41290
|
-
"name": "HostElement",
|
|
41291
|
-
"module": "src/core/host-element.ts"
|
|
41292
|
-
}
|
|
41293
|
-
},
|
|
41294
|
-
{
|
|
41295
|
-
"kind": "field",
|
|
41296
|
-
"name": "slotName",
|
|
41297
|
-
"type": {
|
|
41298
|
-
"text": "string | undefined"
|
|
41299
|
-
},
|
|
41300
|
-
"static": true,
|
|
41301
|
-
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
41302
|
-
"default": "\"layout\"",
|
|
41303
|
-
"inheritedFrom": {
|
|
41304
|
-
"name": "HostElement",
|
|
41305
|
-
"module": "src/core/host-element.ts"
|
|
41306
|
-
}
|
|
41307
|
-
},
|
|
41308
|
-
{
|
|
41309
|
-
"kind": "field",
|
|
41310
|
-
"name": "composite",
|
|
41311
|
-
"type": {
|
|
41312
|
-
"text": "boolean"
|
|
41313
|
-
},
|
|
41314
|
-
"static": true,
|
|
41315
|
-
"default": "true",
|
|
41316
|
-
"description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
|
|
41317
|
-
"inheritedFrom": {
|
|
41318
|
-
"name": "HostElement",
|
|
41319
|
-
"module": "src/core/host-element.ts"
|
|
41320
|
-
}
|
|
41321
|
-
},
|
|
41322
|
-
{
|
|
41323
|
-
"kind": "field",
|
|
41324
|
-
"name": "client",
|
|
41325
|
-
"privacy": "public",
|
|
41326
|
-
"type": {
|
|
41327
|
-
"text": "FlowClient | undefined"
|
|
41328
|
-
},
|
|
41329
|
-
"default": "undefined",
|
|
41330
|
-
"description": "`FlowClient` (e.g. the SDK's `Auth`). Without one, actions are not answered."
|
|
41331
|
-
},
|
|
41332
|
-
{
|
|
41333
|
-
"kind": "field",
|
|
41334
|
-
"name": "renderSpec",
|
|
41335
|
-
"privacy": "public",
|
|
41336
|
-
"type": {
|
|
41337
|
-
"text": "string"
|
|
41338
|
-
},
|
|
41339
|
-
"default": "\"\"",
|
|
41340
|
-
"description": "the screen's HTML"
|
|
41341
|
-
},
|
|
41342
|
-
{
|
|
41343
|
-
"kind": "field",
|
|
41344
|
-
"name": "branding",
|
|
41345
|
-
"privacy": "public",
|
|
41346
|
-
"type": {
|
|
41347
|
-
"text": "BrandingEntitlements"
|
|
41348
|
-
},
|
|
41349
|
-
"default": "DEFAULT_BRANDING",
|
|
41350
|
-
"description": "`BrandingEntitlements` (attribute-less on purpose)"
|
|
41351
|
-
},
|
|
41352
|
-
{
|
|
41353
|
-
"kind": "field",
|
|
41354
|
-
"name": "designMode",
|
|
41355
|
-
"privacy": "public",
|
|
41356
|
-
"type": {
|
|
41357
|
-
"text": "boolean"
|
|
41358
|
-
},
|
|
41359
|
-
"description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
|
|
41360
|
-
"default": "false",
|
|
41361
|
-
"attribute": "design-mode",
|
|
41362
|
-
"reflects": true
|
|
41363
|
-
},
|
|
41364
|
-
{
|
|
41365
|
-
"kind": "field",
|
|
41366
|
-
"name": "messages",
|
|
41367
|
-
"privacy": "public",
|
|
41368
|
-
"type": {
|
|
41369
|
-
"text": "Partial<Record<string, string>>"
|
|
41370
|
-
},
|
|
41371
|
-
"default": "{}",
|
|
41372
|
-
"description": "localised flow messages by code (the flow's `messages`)"
|
|
41373
|
-
},
|
|
41374
|
-
{
|
|
41375
|
-
"kind": "field",
|
|
41376
|
-
"name": "loginHint",
|
|
41377
|
-
"privacy": "public",
|
|
41378
|
-
"type": {
|
|
41379
|
-
"text": "string | undefined"
|
|
41380
|
-
},
|
|
41381
|
-
"description": "the identifier to pre-fill email and identifier fields with (the URL's `login_hint`, from the provider)",
|
|
41382
|
-
"default": "undefined"
|
|
41383
|
-
},
|
|
41384
|
-
{
|
|
41385
|
-
"kind": "field",
|
|
41386
|
-
"name": "busy",
|
|
41387
|
-
"privacy": "protected",
|
|
41388
|
-
"type": {
|
|
41389
|
-
"text": "boolean"
|
|
41390
|
-
},
|
|
41391
|
-
"default": "false",
|
|
41392
|
-
"attribute": "busy"
|
|
41393
|
-
},
|
|
41394
|
-
{
|
|
41395
|
-
"kind": "field",
|
|
41396
|
-
"name": "provider",
|
|
41397
|
-
"privacy": "private",
|
|
41398
|
-
"default": "new ContextProvider(this, { context: brandingContext, initialValue: DEFAULT_BRANDING })"
|
|
41399
|
-
},
|
|
41400
|
-
{
|
|
41401
|
-
"kind": "field",
|
|
41402
|
-
"name": "designProvider",
|
|
41403
|
-
"privacy": "private",
|
|
41404
|
-
"default": "new ContextProvider(this, { context: designModeContext, initialValue: false })"
|
|
41405
|
-
},
|
|
41406
|
-
{
|
|
41407
|
-
"kind": "field",
|
|
41408
|
-
"name": "pending",
|
|
41409
|
-
"type": {
|
|
41410
|
-
"text": "Promise<FlowEventResponse> | null"
|
|
41411
|
-
},
|
|
41412
|
-
"privacy": "private",
|
|
41413
|
-
"default": "null"
|
|
41414
|
-
},
|
|
41415
|
-
{
|
|
41416
|
-
"kind": "field",
|
|
41417
|
-
"name": "form",
|
|
41418
|
-
"type": {
|
|
41419
|
-
"text": "HTMLFormElement | null"
|
|
41420
|
-
},
|
|
41421
|
-
"description": "The layout's form (holds the screen).",
|
|
41422
|
-
"readonly": true
|
|
41423
|
-
},
|
|
41424
|
-
{
|
|
41425
|
-
"kind": "method",
|
|
41426
|
-
"name": "run",
|
|
41427
|
-
"return": {
|
|
41428
|
-
"type": {
|
|
41429
|
-
"text": "Promise<FlowEventResponse>"
|
|
41430
|
-
}
|
|
41431
|
-
},
|
|
41432
|
-
"parameters": [
|
|
41433
|
-
{
|
|
41434
|
-
"name": "event",
|
|
41435
|
-
"type": {
|
|
41436
|
-
"text": "string"
|
|
41437
|
-
}
|
|
41438
|
-
},
|
|
41439
|
-
{
|
|
41440
|
-
"name": "data",
|
|
41441
|
-
"optional": true,
|
|
41442
|
-
"type": {
|
|
41443
|
-
"text": "Record<string, unknown>"
|
|
41444
|
-
}
|
|
41445
|
-
}
|
|
41446
|
-
],
|
|
41447
|
-
"description": "Runs one flow request (what a `pont-action` from inside triggers)."
|
|
41448
41446
|
},
|
|
41449
41447
|
{
|
|
41450
41448
|
"kind": "field",
|
|
41451
|
-
"name": "
|
|
41452
|
-
"type": {
|
|
41453
|
-
"text": "
|
|
41454
|
-
},
|
|
41455
|
-
"
|
|
41456
|
-
"
|
|
41457
|
-
|
|
41458
|
-
|
|
41459
|
-
|
|
41460
|
-
"kind": "method",
|
|
41461
|
-
"name": "lockScreen",
|
|
41462
|
-
"privacy": "private",
|
|
41463
|
-
"return": {
|
|
41464
|
-
"type": {
|
|
41465
|
-
"text": "void"
|
|
41466
|
-
}
|
|
41467
|
-
},
|
|
41468
|
-
"description": "While a request runs, the screen's fields and its other buttons are disabled, as in the legacy\nkit: nothing can be edited or pressed mid-request (migration tracker F-20, F-35). The button\nthat asked stays busy, focusably (it is not disabled). Elements already disabled are left\nalone and stay disabled afterwards. The values were read before the request started, so\ndisabling the fields doesn't change what was sent."
|
|
41469
|
-
},
|
|
41470
|
-
{
|
|
41471
|
-
"kind": "method",
|
|
41472
|
-
"name": "unlockScreen",
|
|
41473
|
-
"privacy": "private",
|
|
41474
|
-
"return": {
|
|
41475
|
-
"type": {
|
|
41476
|
-
"text": "void"
|
|
41477
|
-
}
|
|
41478
|
-
}
|
|
41479
|
-
},
|
|
41480
|
-
{
|
|
41481
|
-
"kind": "method",
|
|
41482
|
-
"name": "onAction",
|
|
41483
|
-
"privacy": "private",
|
|
41484
|
-
"return": {
|
|
41485
|
-
"type": {
|
|
41486
|
-
"text": "void"
|
|
41487
|
-
}
|
|
41488
|
-
},
|
|
41489
|
-
"parameters": [
|
|
41490
|
-
{
|
|
41491
|
-
"name": "e",
|
|
41492
|
-
"type": {
|
|
41493
|
-
"text": "CustomEvent<ActionRequestDetail>"
|
|
41494
|
-
}
|
|
41495
|
-
}
|
|
41496
|
-
]
|
|
41497
|
-
},
|
|
41498
|
-
{
|
|
41499
|
-
"kind": "method",
|
|
41500
|
-
"name": "onError",
|
|
41501
|
-
"privacy": "private",
|
|
41502
|
-
"return": {
|
|
41503
|
-
"type": {
|
|
41504
|
-
"text": "void"
|
|
41505
|
-
}
|
|
41506
|
-
},
|
|
41507
|
-
"parameters": [
|
|
41508
|
-
{
|
|
41509
|
-
"name": "e",
|
|
41510
|
-
"type": {
|
|
41511
|
-
"text": "CustomEvent<ActionErrorDetail>"
|
|
41512
|
-
}
|
|
41513
|
-
}
|
|
41514
|
-
]
|
|
41515
|
-
},
|
|
41516
|
-
{
|
|
41517
|
-
"kind": "method",
|
|
41518
|
-
"name": "showError",
|
|
41519
|
-
"return": {
|
|
41520
|
-
"type": {
|
|
41521
|
-
"text": "void"
|
|
41522
|
-
}
|
|
41523
|
-
},
|
|
41524
|
-
"parameters": [
|
|
41525
|
-
{
|
|
41526
|
-
"name": "message",
|
|
41527
|
-
"type": {
|
|
41528
|
-
"text": "string"
|
|
41529
|
-
}
|
|
41530
|
-
},
|
|
41531
|
-
{
|
|
41532
|
-
"name": "restartable",
|
|
41533
|
-
"default": "false"
|
|
41534
|
-
}
|
|
41535
|
-
],
|
|
41536
|
-
"description": "Shows a flow error at the top of the screen (after its logo/header). It replaces any error\nalready there, the server's injected banner included (`pont-alert[status=\"error\"]`), so the\nscreen holds one error at a time, as in the legacy kit (migration tracker F-21)."
|
|
41537
|
-
},
|
|
41538
|
-
{
|
|
41539
|
-
"kind": "method",
|
|
41540
|
-
"name": "clearBanner",
|
|
41541
|
-
"privacy": "private",
|
|
41542
|
-
"return": {
|
|
41543
|
-
"type": {
|
|
41544
|
-
"text": "void"
|
|
41545
|
-
}
|
|
41546
|
-
}
|
|
41547
|
-
},
|
|
41548
|
-
{
|
|
41549
|
-
"kind": "method",
|
|
41550
|
-
"name": "renderScreen",
|
|
41551
|
-
"privacy": "private",
|
|
41552
|
-
"return": {
|
|
41553
|
-
"type": {
|
|
41554
|
-
"text": "void"
|
|
41555
|
-
}
|
|
41556
|
-
},
|
|
41557
|
-
"parameters": [
|
|
41558
|
-
{
|
|
41559
|
-
"name": "form",
|
|
41560
|
-
"type": {
|
|
41561
|
-
"text": "HTMLFormElement"
|
|
41562
|
-
}
|
|
41563
|
-
}
|
|
41564
|
-
]
|
|
41449
|
+
"name": "busy",
|
|
41450
|
+
"type": {
|
|
41451
|
+
"text": "boolean"
|
|
41452
|
+
},
|
|
41453
|
+
"readonly": true,
|
|
41454
|
+
"inheritedFrom": {
|
|
41455
|
+
"name": "Link",
|
|
41456
|
+
"module": "src/kit/link/link.ts"
|
|
41457
|
+
}
|
|
41565
41458
|
},
|
|
41566
41459
|
{
|
|
41567
41460
|
"kind": "field",
|
|
41568
|
-
"name": "
|
|
41569
|
-
"
|
|
41570
|
-
|
|
41461
|
+
"name": "control",
|
|
41462
|
+
"type": {
|
|
41463
|
+
"text": "HTMLAnchorElement | HTMLButtonElement | null"
|
|
41464
|
+
},
|
|
41465
|
+
"description": "The native `<a>` or `<button>`.",
|
|
41466
|
+
"readonly": true,
|
|
41467
|
+
"inheritedFrom": {
|
|
41468
|
+
"name": "Link",
|
|
41469
|
+
"module": "src/kit/link/link.ts"
|
|
41470
|
+
}
|
|
41571
41471
|
},
|
|
41572
41472
|
{
|
|
41573
41473
|
"kind": "field",
|
|
@@ -41678,119 +41578,219 @@
|
|
|
41678
41578
|
}
|
|
41679
41579
|
}
|
|
41680
41580
|
],
|
|
41681
|
-
"
|
|
41581
|
+
"attributes": [
|
|
41682
41582
|
{
|
|
41683
|
-
"
|
|
41684
|
-
"
|
|
41583
|
+
"name": "href",
|
|
41584
|
+
"type": {
|
|
41585
|
+
"text": "string | undefined"
|
|
41586
|
+
},
|
|
41587
|
+
"default": "undefined",
|
|
41588
|
+
"fieldName": "href",
|
|
41589
|
+
"description": "absolute http(s) URL; anything else renders nothing",
|
|
41590
|
+
"inheritedFrom": {
|
|
41591
|
+
"name": "Link",
|
|
41592
|
+
"module": "src/kit/link/link.ts"
|
|
41593
|
+
}
|
|
41685
41594
|
},
|
|
41686
41595
|
{
|
|
41687
|
-
"description": "
|
|
41688
|
-
"name": "
|
|
41596
|
+
"description": "link text (default: the URL)",
|
|
41597
|
+
"name": "label",
|
|
41598
|
+
"type": {
|
|
41599
|
+
"text": "string"
|
|
41600
|
+
},
|
|
41601
|
+
"default": "\"\"",
|
|
41602
|
+
"fieldName": "label",
|
|
41603
|
+
"inheritedFrom": {
|
|
41604
|
+
"name": "Link",
|
|
41605
|
+
"module": "src/kit/link/link.ts"
|
|
41606
|
+
}
|
|
41689
41607
|
},
|
|
41690
41608
|
{
|
|
41691
|
-
"description": "
|
|
41692
|
-
"name": "
|
|
41693
|
-
|
|
41694
|
-
|
|
41695
|
-
|
|
41609
|
+
"description": "text before the link",
|
|
41610
|
+
"name": "prompt",
|
|
41611
|
+
"type": {
|
|
41612
|
+
"text": "string"
|
|
41613
|
+
},
|
|
41614
|
+
"default": "\"\"",
|
|
41615
|
+
"fieldName": "prompt",
|
|
41616
|
+
"inheritedFrom": {
|
|
41617
|
+
"name": "Link",
|
|
41618
|
+
"module": "src/kit/link/link.ts"
|
|
41619
|
+
}
|
|
41620
|
+
},
|
|
41696
41621
|
{
|
|
41697
|
-
"
|
|
41622
|
+
"description": "start | center (default) | end",
|
|
41623
|
+
"name": "align",
|
|
41624
|
+
"type": {
|
|
41625
|
+
"text": "LinkAlign"
|
|
41626
|
+
},
|
|
41627
|
+
"default": "\"center\"",
|
|
41628
|
+
"fieldName": "align",
|
|
41629
|
+
"inheritedFrom": {
|
|
41630
|
+
"name": "Link",
|
|
41631
|
+
"module": "src/kit/link/link.ts"
|
|
41632
|
+
}
|
|
41633
|
+
},
|
|
41634
|
+
{
|
|
41635
|
+
"description": "the action requested on press (button form)",
|
|
41636
|
+
"name": "event",
|
|
41637
|
+
"type": {
|
|
41638
|
+
"text": "string | undefined"
|
|
41639
|
+
},
|
|
41640
|
+
"default": "undefined",
|
|
41641
|
+
"fieldName": "event",
|
|
41642
|
+
"inheritedFrom": {
|
|
41643
|
+
"name": "Link",
|
|
41644
|
+
"module": "src/kit/link/link.ts"
|
|
41645
|
+
}
|
|
41646
|
+
},
|
|
41647
|
+
{
|
|
41648
|
+
"description": "auth (default) | other: passed in the request's data",
|
|
41649
|
+
"name": "service",
|
|
41650
|
+
"type": {
|
|
41651
|
+
"text": "LinkService"
|
|
41652
|
+
},
|
|
41653
|
+
"default": "\"auth\"",
|
|
41654
|
+
"fieldName": "service",
|
|
41655
|
+
"inheritedFrom": {
|
|
41656
|
+
"name": "Link",
|
|
41657
|
+
"module": "src/kit/link/link.ts"
|
|
41658
|
+
}
|
|
41659
|
+
},
|
|
41660
|
+
{
|
|
41661
|
+
"name": "target",
|
|
41662
|
+
"type": {
|
|
41663
|
+
"text": "string | undefined"
|
|
41664
|
+
},
|
|
41665
|
+
"default": "undefined",
|
|
41666
|
+
"fieldName": "target",
|
|
41667
|
+
"inheritedFrom": {
|
|
41668
|
+
"name": "Link",
|
|
41669
|
+
"module": "src/kit/link/link.ts"
|
|
41670
|
+
}
|
|
41671
|
+
},
|
|
41672
|
+
{
|
|
41673
|
+
"name": "rel",
|
|
41674
|
+
"type": {
|
|
41675
|
+
"text": "string | undefined"
|
|
41676
|
+
},
|
|
41677
|
+
"default": "undefined",
|
|
41678
|
+
"fieldName": "rel",
|
|
41679
|
+
"inheritedFrom": {
|
|
41680
|
+
"name": "Link",
|
|
41681
|
+
"module": "src/kit/link/link.ts"
|
|
41682
|
+
}
|
|
41683
|
+
},
|
|
41684
|
+
{
|
|
41685
|
+
"name": "disabled",
|
|
41698
41686
|
"type": {
|
|
41699
41687
|
"text": "boolean"
|
|
41700
41688
|
},
|
|
41701
|
-
"description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
|
|
41702
41689
|
"default": "false",
|
|
41703
|
-
"fieldName": "
|
|
41690
|
+
"fieldName": "disabled",
|
|
41691
|
+
"inheritedFrom": {
|
|
41692
|
+
"name": "Link",
|
|
41693
|
+
"module": "src/kit/link/link.ts"
|
|
41694
|
+
}
|
|
41695
|
+
},
|
|
41696
|
+
{
|
|
41697
|
+
"name": "loading",
|
|
41698
|
+
"type": {
|
|
41699
|
+
"text": "boolean"
|
|
41700
|
+
},
|
|
41701
|
+
"default": "false",
|
|
41702
|
+
"fieldName": "loading",
|
|
41703
|
+
"inheritedFrom": {
|
|
41704
|
+
"name": "Link",
|
|
41705
|
+
"module": "src/kit/link/link.ts"
|
|
41706
|
+
}
|
|
41704
41707
|
}
|
|
41705
41708
|
],
|
|
41706
41709
|
"superclass": {
|
|
41707
|
-
"name": "
|
|
41708
|
-
"module": "
|
|
41710
|
+
"name": "Link",
|
|
41711
|
+
"module": "src/kit/link/link.ts"
|
|
41709
41712
|
},
|
|
41710
|
-
"tagName": "pont-
|
|
41713
|
+
"tagName": "pont-external-link",
|
|
41711
41714
|
"customElement": true,
|
|
41715
|
+
"cssProperties": [
|
|
41716
|
+
{
|
|
41717
|
+
"description": "the row's text (default muted-foreground)",
|
|
41718
|
+
"name": "--pont-link-fg",
|
|
41719
|
+
"inheritedFrom": {
|
|
41720
|
+
"name": "Link",
|
|
41721
|
+
"module": "src/kit/link/link.ts"
|
|
41722
|
+
}
|
|
41723
|
+
},
|
|
41724
|
+
{
|
|
41725
|
+
"description": "--pont-link-button-fg-hover - the link (default the row's colour; primary on hover)",
|
|
41726
|
+
"name": "--pont-link-button-fg,",
|
|
41727
|
+
"inheritedFrom": {
|
|
41728
|
+
"name": "Link",
|
|
41729
|
+
"module": "src/kit/link/link.ts"
|
|
41730
|
+
}
|
|
41731
|
+
}
|
|
41732
|
+
],
|
|
41733
|
+
"events": [
|
|
41734
|
+
{
|
|
41735
|
+
"name": "pont-action"
|
|
41736
|
+
},
|
|
41737
|
+
{
|
|
41738
|
+
"name": "pont-action-success"
|
|
41739
|
+
},
|
|
41740
|
+
{
|
|
41741
|
+
"name": "pont-action-error"
|
|
41742
|
+
}
|
|
41743
|
+
],
|
|
41712
41744
|
"pontLayer": "kit"
|
|
41713
41745
|
}
|
|
41714
41746
|
],
|
|
41715
41747
|
"exports": [
|
|
41716
41748
|
{
|
|
41717
41749
|
"kind": "js",
|
|
41718
|
-
"name": "
|
|
41719
|
-
"declaration": {
|
|
41720
|
-
"name": "describeFlowError",
|
|
41721
|
-
"module": "./flow-error"
|
|
41722
|
-
}
|
|
41723
|
-
},
|
|
41724
|
-
{
|
|
41725
|
-
"kind": "js",
|
|
41726
|
-
"name": "FLOW_MESSAGES_EN",
|
|
41727
|
-
"declaration": {
|
|
41728
|
-
"name": "FLOW_MESSAGES_EN",
|
|
41729
|
-
"module": "./flow-error"
|
|
41730
|
-
}
|
|
41731
|
-
},
|
|
41732
|
-
{
|
|
41733
|
-
"kind": "js",
|
|
41734
|
-
"name": "INSTANCE_UNAVAILABLE",
|
|
41735
|
-
"declaration": {
|
|
41736
|
-
"name": "INSTANCE_UNAVAILABLE",
|
|
41737
|
-
"module": "./flow-error"
|
|
41738
|
-
}
|
|
41739
|
-
},
|
|
41740
|
-
{
|
|
41741
|
-
"kind": "js",
|
|
41742
|
-
"name": "isInstanceUnavailable",
|
|
41743
|
-
"declaration": {
|
|
41744
|
-
"name": "isInstanceUnavailable",
|
|
41745
|
-
"module": "./flow-error"
|
|
41746
|
-
}
|
|
41747
|
-
},
|
|
41748
|
-
{
|
|
41749
|
-
"kind": "js",
|
|
41750
|
-
"name": "rememberUnavailable",
|
|
41750
|
+
"name": "LINK_ALIGNS",
|
|
41751
41751
|
"declaration": {
|
|
41752
|
-
"name": "
|
|
41753
|
-
"module": "
|
|
41752
|
+
"name": "LINK_ALIGNS",
|
|
41753
|
+
"module": "src/kit/link/link.ts"
|
|
41754
41754
|
}
|
|
41755
41755
|
},
|
|
41756
41756
|
{
|
|
41757
41757
|
"kind": "js",
|
|
41758
|
-
"name": "
|
|
41758
|
+
"name": "LINK_SERVICES",
|
|
41759
41759
|
"declaration": {
|
|
41760
|
-
"name": "
|
|
41761
|
-
"module": "
|
|
41760
|
+
"name": "LINK_SERVICES",
|
|
41761
|
+
"module": "src/kit/link/link.ts"
|
|
41762
41762
|
}
|
|
41763
41763
|
},
|
|
41764
41764
|
{
|
|
41765
41765
|
"kind": "js",
|
|
41766
|
-
"name": "
|
|
41766
|
+
"name": "Link",
|
|
41767
41767
|
"declaration": {
|
|
41768
|
-
"name": "
|
|
41769
|
-
"module": "
|
|
41768
|
+
"name": "Link",
|
|
41769
|
+
"module": "src/kit/link/link.ts"
|
|
41770
41770
|
}
|
|
41771
41771
|
},
|
|
41772
41772
|
{
|
|
41773
41773
|
"kind": "js",
|
|
41774
|
-
"name": "
|
|
41774
|
+
"name": "ExternalLink",
|
|
41775
41775
|
"declaration": {
|
|
41776
|
-
"name": "
|
|
41777
|
-
"module": "src/kit/
|
|
41776
|
+
"name": "ExternalLink",
|
|
41777
|
+
"module": "src/kit/link/link.ts"
|
|
41778
41778
|
}
|
|
41779
41779
|
},
|
|
41780
41780
|
{
|
|
41781
|
-
"kind": "
|
|
41782
|
-
"name": "
|
|
41781
|
+
"kind": "custom-element-definition",
|
|
41782
|
+
"name": "pont-link",
|
|
41783
41783
|
"declaration": {
|
|
41784
|
-
"name": "
|
|
41785
|
-
"module": "src/kit/
|
|
41784
|
+
"name": "Link",
|
|
41785
|
+
"module": "src/kit/link/link.ts"
|
|
41786
41786
|
}
|
|
41787
41787
|
},
|
|
41788
41788
|
{
|
|
41789
41789
|
"kind": "custom-element-definition",
|
|
41790
|
-
"name": "pont-
|
|
41790
|
+
"name": "pont-external-link",
|
|
41791
41791
|
"declaration": {
|
|
41792
|
-
"name": "
|
|
41793
|
-
"module": "src/kit/
|
|
41792
|
+
"name": "ExternalLink",
|
|
41793
|
+
"module": "src/kit/link/link.ts"
|
|
41794
41794
|
}
|
|
41795
41795
|
}
|
|
41796
41796
|
]
|