@f-ewald/components 0.7.0 → 1.0.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/README.md +70 -47
- package/custom-elements.json +2236 -966
- package/dist/calendar-entry.d.ts +33 -0
- package/dist/calendar-entry.d.ts.map +1 -0
- package/dist/calendar-entry.js +64 -0
- package/dist/calendar-entry.js.map +1 -0
- package/dist/calendar-month.d.ts +67 -0
- package/dist/calendar-month.d.ts.map +1 -0
- package/dist/calendar-month.js +455 -0
- package/dist/calendar-month.js.map +1 -0
- package/dist/calendar-year.d.ts +43 -0
- package/dist/calendar-year.d.ts.map +1 -0
- package/dist/calendar-year.js +136 -0
- package/dist/calendar-year.js.map +1 -0
- package/dist/form-select.d.ts +21 -2
- package/dist/form-select.d.ts.map +1 -1
- package/dist/form-select.js +431 -27
- package/dist/form-select.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/map-circle.d.ts +3 -0
- package/dist/map-circle.d.ts.map +1 -1
- package/dist/map-circle.js +3 -0
- package/dist/map-circle.js.map +1 -1
- package/dist/tokens.css +4 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/utils/calendar.d.ts +77 -0
- package/dist/utils/calendar.d.ts.map +1 -0
- package/dist/utils/calendar.js +135 -0
- package/dist/utils/calendar.js.map +1 -0
- package/docs/calendar-entry.md +53 -0
- package/docs/calendar-month.md +77 -0
- package/docs/calendar-year.md +53 -0
- package/docs/form-select.md +15 -3
- package/docs/map-circle.md +4 -0
- package/llms.txt +117 -28
- package/package.json +10 -2
- package/dist/map-point.d.ts +0 -31
- package/dist/map-point.d.ts.map +0 -1
- package/dist/map-point.js +0 -83
- package/dist/map-point.js.map +0 -1
- package/docs/map-point.md +0 -44
package/custom-elements.json
CHANGED
|
@@ -1166,1351 +1166,2353 @@
|
|
|
1166
1166
|
},
|
|
1167
1167
|
{
|
|
1168
1168
|
"kind": "javascript-module",
|
|
1169
|
-
"path": "src/
|
|
1169
|
+
"path": "src/calendar-entry.ts",
|
|
1170
1170
|
"declarations": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"kind": "class",
|
|
1173
|
-
"description": "
|
|
1174
|
-
"name": "
|
|
1173
|
+
"description": "Declarative metadata for one calendar event, consumed by a parent\n`calendar-month` or `calendar-year`. Read-only/non-interactive; renders\nnothing itself.",
|
|
1174
|
+
"name": "CalendarEntry",
|
|
1175
1175
|
"slots": [
|
|
1176
1176
|
{
|
|
1177
|
-
"description": "
|
|
1178
|
-
"name": ""
|
|
1177
|
+
"description": "Plain-text title shown instead of the `label` fallback.",
|
|
1178
|
+
"name": "title"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"description": "Repeatable plain-text details rendered inside the shared body spanning all remaining days.",
|
|
1182
|
+
"name": "detail"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"description": "Plain-text ending note pinned to the bottom of the shared body.",
|
|
1186
|
+
"name": "footer"
|
|
1179
1187
|
}
|
|
1180
1188
|
],
|
|
1181
1189
|
"members": [
|
|
1182
1190
|
{
|
|
1183
1191
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1185
|
-
"type": {
|
|
1186
|
-
"text": "ChatMessageRole"
|
|
1187
|
-
},
|
|
1188
|
-
"default": "\"agent\"",
|
|
1189
|
-
"description": "Whose message this is; drives the card background/border.",
|
|
1190
|
-
"attribute": "role",
|
|
1191
|
-
"reflects": true
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"kind": "field",
|
|
1195
|
-
"name": "variant",
|
|
1192
|
+
"name": "start",
|
|
1196
1193
|
"type": {
|
|
1197
|
-
"text": "
|
|
1194
|
+
"text": "string"
|
|
1198
1195
|
},
|
|
1199
|
-
"default": "\"
|
|
1200
|
-
"description": "
|
|
1201
|
-
"attribute": "
|
|
1196
|
+
"default": "\"\"",
|
|
1197
|
+
"description": "Inclusive start date, `\"YYYY-MM-DD\"`.",
|
|
1198
|
+
"attribute": "start",
|
|
1202
1199
|
"reflects": true
|
|
1203
1200
|
},
|
|
1204
1201
|
{
|
|
1205
1202
|
"kind": "field",
|
|
1206
|
-
"name": "
|
|
1203
|
+
"name": "end",
|
|
1207
1204
|
"type": {
|
|
1208
1205
|
"text": "string"
|
|
1209
1206
|
},
|
|
1210
1207
|
"default": "\"\"",
|
|
1211
|
-
"description": "
|
|
1212
|
-
"attribute": "
|
|
1213
|
-
|
|
1214
|
-
{
|
|
1215
|
-
"kind": "field",
|
|
1216
|
-
"name": "timestamp",
|
|
1217
|
-
"type": {
|
|
1218
|
-
"text": "string | null"
|
|
1219
|
-
},
|
|
1220
|
-
"default": "null",
|
|
1221
|
-
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1222
|
-
"attribute": "timestamp"
|
|
1208
|
+
"description": "Inclusive end date, `\"YYYY-MM-DD\"`. Falls back to `start` when unset (single-day entry).",
|
|
1209
|
+
"attribute": "end",
|
|
1210
|
+
"reflects": true
|
|
1223
1211
|
},
|
|
1224
1212
|
{
|
|
1225
1213
|
"kind": "field",
|
|
1226
|
-
"name": "
|
|
1214
|
+
"name": "label",
|
|
1227
1215
|
"type": {
|
|
1228
1216
|
"text": "string"
|
|
1229
1217
|
},
|
|
1230
1218
|
"default": "\"\"",
|
|
1231
|
-
"description": "
|
|
1232
|
-
"attribute": "
|
|
1219
|
+
"description": "Fallback title used when no `title` slot is provided.",
|
|
1220
|
+
"attribute": "label",
|
|
1221
|
+
"reflects": true
|
|
1233
1222
|
},
|
|
1234
1223
|
{
|
|
1235
1224
|
"kind": "field",
|
|
1236
|
-
"name": "
|
|
1225
|
+
"name": "color",
|
|
1237
1226
|
"type": {
|
|
1238
|
-
"text": "
|
|
1227
|
+
"text": "StatusPillColor"
|
|
1239
1228
|
},
|
|
1240
|
-
"default": "
|
|
1241
|
-
"description": "
|
|
1242
|
-
"attribute": "
|
|
1229
|
+
"default": "\"neutral\"",
|
|
1230
|
+
"description": "Color variant, reusing `status-pill`'s palette.",
|
|
1231
|
+
"attribute": "color",
|
|
1232
|
+
"reflects": true
|
|
1243
1233
|
},
|
|
1244
1234
|
{
|
|
1245
1235
|
"kind": "field",
|
|
1246
|
-
"name": "
|
|
1236
|
+
"name": "href",
|
|
1247
1237
|
"type": {
|
|
1248
|
-
"text": "
|
|
1238
|
+
"text": "string | undefined"
|
|
1249
1239
|
},
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
-
"attribute": "collapsed",
|
|
1240
|
+
"description": "Optional link target; the parent renders the entry as an `<a>` when set.",
|
|
1241
|
+
"attribute": "href",
|
|
1253
1242
|
"reflects": true
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"kind": "method",
|
|
1257
|
-
"name": "_toggle",
|
|
1258
|
-
"privacy": "private"
|
|
1259
|
-
}
|
|
1260
|
-
],
|
|
1261
|
-
"events": [
|
|
1262
|
-
{
|
|
1263
|
-
"name": "toggle",
|
|
1264
|
-
"type": {
|
|
1265
|
-
"text": "CustomEvent"
|
|
1266
|
-
},
|
|
1267
|
-
"description": "Fired with `{ collapsed: boolean }` when the header/summary is clicked in collapsible mode."
|
|
1268
1243
|
}
|
|
1269
1244
|
],
|
|
1270
1245
|
"attributes": [
|
|
1271
1246
|
{
|
|
1272
|
-
"name": "
|
|
1273
|
-
"type": {
|
|
1274
|
-
"text": "ChatMessageRole"
|
|
1275
|
-
},
|
|
1276
|
-
"default": "\"agent\"",
|
|
1277
|
-
"description": "Whose message this is; drives the card background/border.",
|
|
1278
|
-
"fieldName": "role"
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
"name": "variant",
|
|
1282
|
-
"type": {
|
|
1283
|
-
"text": "ChatMessageVariant"
|
|
1284
|
-
},
|
|
1285
|
-
"default": "\"normal\"",
|
|
1286
|
-
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1287
|
-
"fieldName": "variant"
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
"name": "author",
|
|
1247
|
+
"name": "start",
|
|
1291
1248
|
"type": {
|
|
1292
1249
|
"text": "string"
|
|
1293
1250
|
},
|
|
1294
1251
|
"default": "\"\"",
|
|
1295
|
-
"description": "
|
|
1296
|
-
"fieldName": "
|
|
1252
|
+
"description": "Inclusive start date, `\"YYYY-MM-DD\"`.",
|
|
1253
|
+
"fieldName": "start"
|
|
1297
1254
|
},
|
|
1298
1255
|
{
|
|
1299
|
-
"name": "
|
|
1256
|
+
"name": "end",
|
|
1300
1257
|
"type": {
|
|
1301
|
-
"text": "string
|
|
1258
|
+
"text": "string"
|
|
1302
1259
|
},
|
|
1303
|
-
"default": "
|
|
1304
|
-
"description": "
|
|
1305
|
-
"fieldName": "
|
|
1260
|
+
"default": "\"\"",
|
|
1261
|
+
"description": "Inclusive end date, `\"YYYY-MM-DD\"`. Falls back to `start` when unset (single-day entry).",
|
|
1262
|
+
"fieldName": "end"
|
|
1306
1263
|
},
|
|
1307
1264
|
{
|
|
1308
|
-
"name": "
|
|
1265
|
+
"name": "label",
|
|
1309
1266
|
"type": {
|
|
1310
1267
|
"text": "string"
|
|
1311
1268
|
},
|
|
1312
1269
|
"default": "\"\"",
|
|
1313
|
-
"description": "
|
|
1314
|
-
"fieldName": "
|
|
1270
|
+
"description": "Fallback title used when no `title` slot is provided.",
|
|
1271
|
+
"fieldName": "label"
|
|
1315
1272
|
},
|
|
1316
1273
|
{
|
|
1317
|
-
"name": "
|
|
1274
|
+
"name": "color",
|
|
1318
1275
|
"type": {
|
|
1319
|
-
"text": "
|
|
1276
|
+
"text": "StatusPillColor"
|
|
1320
1277
|
},
|
|
1321
|
-
"default": "
|
|
1322
|
-
"description": "
|
|
1323
|
-
"fieldName": "
|
|
1278
|
+
"default": "\"neutral\"",
|
|
1279
|
+
"description": "Color variant, reusing `status-pill`'s palette.",
|
|
1280
|
+
"fieldName": "color"
|
|
1324
1281
|
},
|
|
1325
1282
|
{
|
|
1326
|
-
"name": "
|
|
1283
|
+
"name": "href",
|
|
1327
1284
|
"type": {
|
|
1328
|
-
"text": "
|
|
1285
|
+
"text": "string | undefined"
|
|
1329
1286
|
},
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"fieldName": "collapsed"
|
|
1287
|
+
"description": "Optional link target; the parent renders the entry as an `<a>` when set.",
|
|
1288
|
+
"fieldName": "href"
|
|
1333
1289
|
}
|
|
1334
1290
|
],
|
|
1335
1291
|
"superclass": {
|
|
1336
1292
|
"name": "LitElement",
|
|
1337
1293
|
"package": "lit"
|
|
1338
1294
|
},
|
|
1339
|
-
"tagName": "
|
|
1295
|
+
"tagName": "calendar-entry",
|
|
1340
1296
|
"customElement": true
|
|
1341
1297
|
}
|
|
1342
1298
|
],
|
|
1343
1299
|
"exports": [
|
|
1344
1300
|
{
|
|
1345
1301
|
"kind": "js",
|
|
1346
|
-
"name": "
|
|
1302
|
+
"name": "CalendarEntry",
|
|
1347
1303
|
"declaration": {
|
|
1348
|
-
"name": "
|
|
1349
|
-
"module": "src/
|
|
1304
|
+
"name": "CalendarEntry",
|
|
1305
|
+
"module": "src/calendar-entry.ts"
|
|
1350
1306
|
}
|
|
1351
1307
|
},
|
|
1352
1308
|
{
|
|
1353
1309
|
"kind": "custom-element-definition",
|
|
1354
|
-
"name": "
|
|
1310
|
+
"name": "calendar-entry",
|
|
1355
1311
|
"declaration": {
|
|
1356
|
-
"name": "
|
|
1357
|
-
"module": "src/
|
|
1312
|
+
"name": "CalendarEntry",
|
|
1313
|
+
"module": "src/calendar-entry.ts"
|
|
1358
1314
|
}
|
|
1359
1315
|
}
|
|
1360
1316
|
]
|
|
1361
1317
|
},
|
|
1362
1318
|
{
|
|
1363
1319
|
"kind": "javascript-module",
|
|
1364
|
-
"path": "src/
|
|
1320
|
+
"path": "src/calendar-month.ts",
|
|
1365
1321
|
"declarations": [
|
|
1366
1322
|
{
|
|
1367
1323
|
"kind": "class",
|
|
1368
|
-
"description": "
|
|
1369
|
-
"name": "
|
|
1324
|
+
"description": "One month rendered as a top-to-bottom list of days — weekends and today\nhighlighted, with declarative `calendar-entry` children shown as colored\nbars spanning the days they cover. An entry's title uses its first visible\nday; every remaining visible day becomes one shared body for wrapped\ndetails and an optional ending footer. Overlapping entries stack into\nside-by-side lanes rather than being layered/hidden. Read-only.\n\nLanes are computed independently per instance, from only the entries\noverlapping this month — an entry spanning a month boundary may therefore\nland in a different lane index in the adjacent month's `calendar-month`.\nThis is an accepted v1 limitation: cross-month lane continuity would\nrequire a shared parent (`calendar-year`) to assign lanes globally.\n\nEntry attributes and slotted title/detail text are observed, so a\nstandalone month re-renders when consumers update declarative metadata.",
|
|
1325
|
+
"name": "CalendarMonth",
|
|
1326
|
+
"slots": [
|
|
1327
|
+
{
|
|
1328
|
+
"description": "Declarative `calendar-entry` elements to render for this month.",
|
|
1329
|
+
"name": ""
|
|
1330
|
+
}
|
|
1331
|
+
],
|
|
1370
1332
|
"members": [
|
|
1371
1333
|
{
|
|
1372
1334
|
"kind": "field",
|
|
1373
|
-
"name": "
|
|
1335
|
+
"name": "year",
|
|
1374
1336
|
"type": {
|
|
1375
|
-
"text": "
|
|
1337
|
+
"text": "number"
|
|
1376
1338
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1379
|
-
"
|
|
1339
|
+
"description": "Calendar year, e.g. `2026`.",
|
|
1340
|
+
"attribute": "year",
|
|
1341
|
+
"reflects": true
|
|
1380
1342
|
},
|
|
1381
1343
|
{
|
|
1382
1344
|
"kind": "field",
|
|
1383
|
-
"name": "
|
|
1345
|
+
"name": "month",
|
|
1384
1346
|
"type": {
|
|
1385
|
-
"text": "
|
|
1347
|
+
"text": "number"
|
|
1386
1348
|
},
|
|
1387
|
-
"default": "
|
|
1388
|
-
"description": "
|
|
1389
|
-
"attribute": "
|
|
1349
|
+
"default": "1",
|
|
1350
|
+
"description": "Calendar month, 1-12 (January = 1).",
|
|
1351
|
+
"attribute": "month",
|
|
1352
|
+
"reflects": true
|
|
1390
1353
|
},
|
|
1391
1354
|
{
|
|
1392
1355
|
"kind": "field",
|
|
1393
|
-
"name": "
|
|
1356
|
+
"name": "_entryElements",
|
|
1394
1357
|
"type": {
|
|
1395
|
-
"text": "
|
|
1358
|
+
"text": "CalendarEntry[]"
|
|
1396
1359
|
},
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"attribute": "cancel-label"
|
|
1360
|
+
"privacy": "private",
|
|
1361
|
+
"readonly": true
|
|
1400
1362
|
},
|
|
1401
1363
|
{
|
|
1402
1364
|
"kind": "field",
|
|
1403
|
-
"name": "
|
|
1365
|
+
"name": "_entriesVersion",
|
|
1404
1366
|
"type": {
|
|
1405
|
-
"text": "
|
|
1367
|
+
"text": "number"
|
|
1406
1368
|
},
|
|
1407
|
-
"
|
|
1408
|
-
"
|
|
1409
|
-
"
|
|
1369
|
+
"privacy": "private",
|
|
1370
|
+
"default": "0",
|
|
1371
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render."
|
|
1410
1372
|
},
|
|
1411
1373
|
{
|
|
1412
1374
|
"kind": "field",
|
|
1413
|
-
"name": "
|
|
1375
|
+
"name": "_entriesObserver",
|
|
1414
1376
|
"type": {
|
|
1415
|
-
"text": "
|
|
1377
|
+
"text": "MutationObserver | undefined"
|
|
1416
1378
|
},
|
|
1417
|
-
"
|
|
1418
|
-
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
1419
|
-
"attribute": "busy"
|
|
1379
|
+
"privacy": "private"
|
|
1420
1380
|
},
|
|
1421
1381
|
{
|
|
1422
|
-
"kind": "
|
|
1423
|
-
"name": "
|
|
1424
|
-
"
|
|
1425
|
-
|
|
1382
|
+
"kind": "method",
|
|
1383
|
+
"name": "_handleSlotChange",
|
|
1384
|
+
"privacy": "private",
|
|
1385
|
+
"return": {
|
|
1386
|
+
"type": {
|
|
1387
|
+
"text": "void"
|
|
1388
|
+
}
|
|
1426
1389
|
},
|
|
1427
|
-
"
|
|
1428
|
-
"description": "Inline error line shown below the body, or null for none.",
|
|
1429
|
-
"attribute": "error"
|
|
1390
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
1430
1391
|
},
|
|
1431
1392
|
{
|
|
1432
1393
|
"kind": "method",
|
|
1433
|
-
"name": "
|
|
1434
|
-
"privacy": "private"
|
|
1394
|
+
"name": "_entryFor",
|
|
1395
|
+
"privacy": "private",
|
|
1396
|
+
"return": {
|
|
1397
|
+
"type": {
|
|
1398
|
+
"text": "LanedEntry | undefined"
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
"parameters": [
|
|
1402
|
+
{
|
|
1403
|
+
"name": "laned",
|
|
1404
|
+
"type": {
|
|
1405
|
+
"text": "LanedEntry[]"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "lane",
|
|
1410
|
+
"type": {
|
|
1411
|
+
"text": "number"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "date",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "Date"
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1421
|
+
"description": "Finds the laned entry (if any) covering `date` in a given lane."
|
|
1435
1422
|
},
|
|
1436
1423
|
{
|
|
1437
1424
|
"kind": "method",
|
|
1438
|
-
"name": "
|
|
1439
|
-
"privacy": "private"
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
"name": "confirm",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "CustomEvent"
|
|
1425
|
+
"name": "_segmentClass",
|
|
1426
|
+
"privacy": "private",
|
|
1427
|
+
"return": {
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "string"
|
|
1430
|
+
}
|
|
1447
1431
|
},
|
|
1448
|
-
"
|
|
1432
|
+
"parameters": [
|
|
1433
|
+
{
|
|
1434
|
+
"name": "entry",
|
|
1435
|
+
"type": {
|
|
1436
|
+
"text": "LanedEntry"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"name": "date",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "Date"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
],
|
|
1446
|
+
"description": "Classifies one day of an entry so only the outer endpoints are rounded."
|
|
1449
1447
|
},
|
|
1450
1448
|
{
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
1453
|
-
|
|
1449
|
+
"kind": "method",
|
|
1450
|
+
"name": "_entryKey",
|
|
1451
|
+
"privacy": "private",
|
|
1452
|
+
"return": {
|
|
1453
|
+
"type": {
|
|
1454
|
+
"text": "string"
|
|
1455
|
+
}
|
|
1454
1456
|
},
|
|
1455
|
-
"
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
"default": "false",
|
|
1465
|
-
"description": "Whether the dialog is visible.",
|
|
1466
|
-
"fieldName": "open"
|
|
1457
|
+
"parameters": [
|
|
1458
|
+
{
|
|
1459
|
+
"name": "entry",
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "LanedEntry"
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
],
|
|
1465
|
+
"description": "Current render key shared by an entry's title and body cells."
|
|
1467
1466
|
},
|
|
1468
1467
|
{
|
|
1469
|
-
"
|
|
1470
|
-
"
|
|
1471
|
-
|
|
1468
|
+
"kind": "method",
|
|
1469
|
+
"name": "_setEntryInteraction",
|
|
1470
|
+
"privacy": "private",
|
|
1471
|
+
"return": {
|
|
1472
|
+
"type": {
|
|
1473
|
+
"text": "void"
|
|
1474
|
+
}
|
|
1472
1475
|
},
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
+
"parameters": [
|
|
1477
|
+
{
|
|
1478
|
+
"name": "entryKey",
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "string"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "className",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "string"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "active",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "boolean"
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"description": "Toggles one interaction class on every rendered cell belonging to an entry."
|
|
1476
1497
|
},
|
|
1477
1498
|
{
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
|
|
1499
|
+
"kind": "method",
|
|
1500
|
+
"name": "_syncEntryInteractions",
|
|
1501
|
+
"privacy": "private",
|
|
1502
|
+
"return": {
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "void"
|
|
1505
|
+
}
|
|
1481
1506
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"description": "Label for the cancel button.",
|
|
1484
|
-
"fieldName": "cancelLabel"
|
|
1507
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render."
|
|
1485
1508
|
},
|
|
1486
1509
|
{
|
|
1487
|
-
"
|
|
1488
|
-
"
|
|
1489
|
-
|
|
1510
|
+
"kind": "method",
|
|
1511
|
+
"name": "_renderEntryLink",
|
|
1512
|
+
"privacy": "private",
|
|
1513
|
+
"parameters": [
|
|
1514
|
+
{
|
|
1515
|
+
"name": "entry",
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "LanedEntry"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "accessibleText",
|
|
1522
|
+
"type": {
|
|
1523
|
+
"text": "string"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
],
|
|
1527
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text."
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"kind": "method",
|
|
1531
|
+
"name": "_entryBodyText",
|
|
1532
|
+
"privacy": "private",
|
|
1533
|
+
"return": {
|
|
1534
|
+
"type": {
|
|
1535
|
+
"text": "string"
|
|
1536
|
+
}
|
|
1490
1537
|
},
|
|
1491
|
-
"
|
|
1492
|
-
|
|
1493
|
-
|
|
1538
|
+
"parameters": [
|
|
1539
|
+
{
|
|
1540
|
+
"name": "entry",
|
|
1541
|
+
"type": {
|
|
1542
|
+
"text": "LanedEntry"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "showFooter",
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "boolean"
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"description": "Joins the event title, details, and visible footer for tooltips and accessible link names."
|
|
1494
1553
|
},
|
|
1495
1554
|
{
|
|
1496
|
-
"
|
|
1555
|
+
"kind": "method",
|
|
1556
|
+
"name": "_renderEntryBody",
|
|
1557
|
+
"privacy": "private",
|
|
1558
|
+
"parameters": [
|
|
1559
|
+
{
|
|
1560
|
+
"name": "entry",
|
|
1561
|
+
"type": {
|
|
1562
|
+
"text": "LanedEntry"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "showFooter",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "boolean"
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "detailLineClamp",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "number"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "showTitleFallback",
|
|
1579
|
+
"default": "false"
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"description": "Renders the shared details body, with the footer reserved at its bottom edge."
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"kind": "method",
|
|
1586
|
+
"name": "_renderEntryBodyCell",
|
|
1587
|
+
"privacy": "private",
|
|
1588
|
+
"parameters": [
|
|
1589
|
+
{
|
|
1590
|
+
"name": "entry",
|
|
1591
|
+
"type": {
|
|
1592
|
+
"text": "LanedEntry"
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "bodyRows",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "number"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"name": "reachesEventEnd",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "boolean"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "showTitleFallback",
|
|
1609
|
+
"default": "false"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"description": "Renders a row-spanning body cell with whole-line detail and footer budgets."
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"kind": "method",
|
|
1616
|
+
"name": "_renderLaneCell",
|
|
1617
|
+
"privacy": "private",
|
|
1618
|
+
"parameters": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "laned",
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": "LanedEntry[]"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "lane",
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "number"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "date",
|
|
1633
|
+
"type": {
|
|
1634
|
+
"text": "Date"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "monthStart",
|
|
1639
|
+
"type": {
|
|
1640
|
+
"text": "Date"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "monthEnd",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "Date"
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"description": "Renders a lane's title/body cell, skips rows covered by a body rowspan, or emits an empty spacer."
|
|
1651
|
+
}
|
|
1652
|
+
],
|
|
1653
|
+
"attributes": [
|
|
1654
|
+
{
|
|
1655
|
+
"name": "year",
|
|
1497
1656
|
"type": {
|
|
1498
|
-
"text": "
|
|
1657
|
+
"text": "number"
|
|
1499
1658
|
},
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"fieldName": "busy"
|
|
1659
|
+
"description": "Calendar year, e.g. `2026`.",
|
|
1660
|
+
"fieldName": "year"
|
|
1503
1661
|
},
|
|
1504
1662
|
{
|
|
1505
|
-
"name": "
|
|
1663
|
+
"name": "month",
|
|
1506
1664
|
"type": {
|
|
1507
|
-
"text": "
|
|
1665
|
+
"text": "number"
|
|
1508
1666
|
},
|
|
1509
|
-
"default": "
|
|
1510
|
-
"description": "
|
|
1511
|
-
"fieldName": "
|
|
1667
|
+
"default": "1",
|
|
1668
|
+
"description": "Calendar month, 1-12 (January = 1).",
|
|
1669
|
+
"fieldName": "month"
|
|
1512
1670
|
}
|
|
1513
1671
|
],
|
|
1514
1672
|
"superclass": {
|
|
1515
1673
|
"name": "LitElement",
|
|
1516
1674
|
"package": "lit"
|
|
1517
1675
|
},
|
|
1518
|
-
"tagName": "
|
|
1676
|
+
"tagName": "calendar-month",
|
|
1519
1677
|
"customElement": true
|
|
1520
1678
|
}
|
|
1521
1679
|
],
|
|
1522
1680
|
"exports": [
|
|
1523
1681
|
{
|
|
1524
1682
|
"kind": "js",
|
|
1525
|
-
"name": "
|
|
1683
|
+
"name": "CalendarMonth",
|
|
1526
1684
|
"declaration": {
|
|
1527
|
-
"name": "
|
|
1528
|
-
"module": "src/
|
|
1685
|
+
"name": "CalendarMonth",
|
|
1686
|
+
"module": "src/calendar-month.ts"
|
|
1529
1687
|
}
|
|
1530
1688
|
},
|
|
1531
1689
|
{
|
|
1532
1690
|
"kind": "custom-element-definition",
|
|
1533
|
-
"name": "
|
|
1691
|
+
"name": "calendar-month",
|
|
1534
1692
|
"declaration": {
|
|
1535
|
-
"name": "
|
|
1536
|
-
"module": "src/
|
|
1693
|
+
"name": "CalendarMonth",
|
|
1694
|
+
"module": "src/calendar-month.ts"
|
|
1537
1695
|
}
|
|
1538
1696
|
}
|
|
1539
1697
|
]
|
|
1540
1698
|
},
|
|
1541
1699
|
{
|
|
1542
1700
|
"kind": "javascript-module",
|
|
1543
|
-
"path": "src/
|
|
1701
|
+
"path": "src/calendar-year.ts",
|
|
1544
1702
|
"declarations": [
|
|
1545
1703
|
{
|
|
1546
1704
|
"kind": "class",
|
|
1547
|
-
"description": "
|
|
1548
|
-
"name": "
|
|
1705
|
+
"description": "A full year of `calendar-month` blocks, generated from declarative\n`calendar-entry` children. Each entry is re-projected into the\n`calendar-month` blocks it overlaps as a freshly-created `calendar-entry`\nelement — the original elements stay slotted here and are never moved,\nsince a DOM node can only have one parent. Read-only.",
|
|
1706
|
+
"name": "CalendarYear",
|
|
1707
|
+
"slots": [
|
|
1708
|
+
{
|
|
1709
|
+
"description": "Declarative `calendar-entry` elements spanning the displayed year.",
|
|
1710
|
+
"name": ""
|
|
1711
|
+
}
|
|
1712
|
+
],
|
|
1549
1713
|
"members": [
|
|
1550
1714
|
{
|
|
1551
1715
|
"kind": "field",
|
|
1552
|
-
"name": "
|
|
1716
|
+
"name": "year",
|
|
1553
1717
|
"type": {
|
|
1554
|
-
"text": "
|
|
1718
|
+
"text": "number"
|
|
1555
1719
|
},
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1720
|
+
"description": "Calendar year to render all 12 months for, e.g. `2026`.",
|
|
1721
|
+
"attribute": "year",
|
|
1722
|
+
"reflects": true
|
|
1559
1723
|
},
|
|
1560
1724
|
{
|
|
1561
1725
|
"kind": "field",
|
|
1562
|
-
"name": "
|
|
1726
|
+
"name": "_entryElements",
|
|
1563
1727
|
"type": {
|
|
1564
|
-
"text": "
|
|
1728
|
+
"text": "CalendarEntry[]"
|
|
1565
1729
|
},
|
|
1566
|
-
"
|
|
1567
|
-
"
|
|
1568
|
-
"attribute": "label"
|
|
1730
|
+
"privacy": "private",
|
|
1731
|
+
"readonly": true
|
|
1569
1732
|
},
|
|
1570
1733
|
{
|
|
1571
|
-
"kind": "
|
|
1572
|
-
"name": "
|
|
1573
|
-
"privacy": "private"
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"events": [
|
|
1577
|
-
{
|
|
1578
|
-
"name": "copy-success",
|
|
1734
|
+
"kind": "field",
|
|
1735
|
+
"name": "_entriesVersion",
|
|
1579
1736
|
"type": {
|
|
1580
|
-
"text": "
|
|
1737
|
+
"text": "number"
|
|
1581
1738
|
},
|
|
1582
|
-
"
|
|
1739
|
+
"privacy": "private",
|
|
1740
|
+
"default": "0",
|
|
1741
|
+
"description": "Bumped whenever entry elements, attributes, or slotted text change to force a re-render."
|
|
1583
1742
|
},
|
|
1584
1743
|
{
|
|
1585
|
-
"
|
|
1744
|
+
"kind": "field",
|
|
1745
|
+
"name": "_entriesObserver",
|
|
1586
1746
|
"type": {
|
|
1587
|
-
"text": "
|
|
1747
|
+
"text": "MutationObserver | undefined"
|
|
1588
1748
|
},
|
|
1589
|
-
"
|
|
1590
|
-
}
|
|
1591
|
-
],
|
|
1592
|
-
"attributes": [
|
|
1749
|
+
"privacy": "private"
|
|
1750
|
+
},
|
|
1593
1751
|
{
|
|
1594
|
-
"
|
|
1752
|
+
"kind": "field",
|
|
1753
|
+
"name": "_entryKeys",
|
|
1754
|
+
"privacy": "private",
|
|
1755
|
+
"readonly": true,
|
|
1756
|
+
"default": "new WeakMap<CalendarEntry, string>()"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "field",
|
|
1760
|
+
"name": "_nextEntryKey",
|
|
1595
1761
|
"type": {
|
|
1596
|
-
"text": "
|
|
1762
|
+
"text": "number"
|
|
1597
1763
|
},
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"fieldName": "value"
|
|
1764
|
+
"privacy": "private",
|
|
1765
|
+
"default": "0"
|
|
1601
1766
|
},
|
|
1602
1767
|
{
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
1605
|
-
|
|
1768
|
+
"kind": "method",
|
|
1769
|
+
"name": "_handleSlotChange",
|
|
1770
|
+
"privacy": "private",
|
|
1771
|
+
"return": {
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "void"
|
|
1774
|
+
}
|
|
1606
1775
|
},
|
|
1607
|
-
"
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1776
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "method",
|
|
1780
|
+
"name": "_entryKey",
|
|
1781
|
+
"privacy": "private",
|
|
1782
|
+
"return": {
|
|
1783
|
+
"type": {
|
|
1784
|
+
"text": "string"
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"parameters": [
|
|
1788
|
+
{
|
|
1789
|
+
"name": "element",
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "CalendarEntry"
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
],
|
|
1795
|
+
"description": "Returns an immutable identity for each original slotted entry."
|
|
1796
|
+
}
|
|
1797
|
+
],
|
|
1798
|
+
"attributes": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "year",
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "number"
|
|
1803
|
+
},
|
|
1804
|
+
"description": "Calendar year to render all 12 months for, e.g. `2026`.",
|
|
1805
|
+
"fieldName": "year"
|
|
1806
|
+
}
|
|
1807
|
+
],
|
|
1808
|
+
"superclass": {
|
|
1809
|
+
"name": "LitElement",
|
|
1810
|
+
"package": "lit"
|
|
1811
|
+
},
|
|
1812
|
+
"tagName": "calendar-year",
|
|
1617
1813
|
"customElement": true
|
|
1618
1814
|
}
|
|
1619
1815
|
],
|
|
1620
1816
|
"exports": [
|
|
1621
1817
|
{
|
|
1622
1818
|
"kind": "js",
|
|
1623
|
-
"name": "
|
|
1819
|
+
"name": "CalendarYear",
|
|
1624
1820
|
"declaration": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/
|
|
1821
|
+
"name": "CalendarYear",
|
|
1822
|
+
"module": "src/calendar-year.ts"
|
|
1627
1823
|
}
|
|
1628
1824
|
},
|
|
1629
1825
|
{
|
|
1630
1826
|
"kind": "custom-element-definition",
|
|
1631
|
-
"name": "
|
|
1827
|
+
"name": "calendar-year",
|
|
1632
1828
|
"declaration": {
|
|
1633
|
-
"name": "
|
|
1634
|
-
"module": "src/
|
|
1829
|
+
"name": "CalendarYear",
|
|
1830
|
+
"module": "src/calendar-year.ts"
|
|
1635
1831
|
}
|
|
1636
1832
|
}
|
|
1637
1833
|
]
|
|
1638
1834
|
},
|
|
1639
1835
|
{
|
|
1640
1836
|
"kind": "javascript-module",
|
|
1641
|
-
"path": "src/
|
|
1837
|
+
"path": "src/chat-message.ts",
|
|
1642
1838
|
"declarations": [
|
|
1643
1839
|
{
|
|
1644
1840
|
"kind": "class",
|
|
1645
|
-
"description": "
|
|
1646
|
-
"name": "
|
|
1841
|
+
"description": "One conversation entry in a chat-style activity feed. Tool calls and\n\"thinking\" traces are variants of this component rather than separate\nones — they share the same header, collapse behavior, and body card as a\nnormal message, just dimmed and collapsible with an always-visible summary.",
|
|
1842
|
+
"name": "ChatMessage",
|
|
1843
|
+
"slots": [
|
|
1844
|
+
{
|
|
1845
|
+
"description": "Message body (consumers slot in already-rendered content, e.g. sanitized markdown HTML).",
|
|
1846
|
+
"name": ""
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1647
1849
|
"members": [
|
|
1648
1850
|
{
|
|
1649
1851
|
"kind": "field",
|
|
1650
|
-
"name": "
|
|
1852
|
+
"name": "role",
|
|
1651
1853
|
"type": {
|
|
1652
|
-
"text": "
|
|
1854
|
+
"text": "ChatMessageRole"
|
|
1653
1855
|
},
|
|
1654
|
-
"default": "
|
|
1655
|
-
"description": "
|
|
1856
|
+
"default": "\"agent\"",
|
|
1857
|
+
"description": "Whose message this is; drives the card background/border.",
|
|
1858
|
+
"attribute": "role",
|
|
1859
|
+
"reflects": true
|
|
1656
1860
|
},
|
|
1657
1861
|
{
|
|
1658
1862
|
"kind": "field",
|
|
1659
|
-
"name": "
|
|
1863
|
+
"name": "variant",
|
|
1660
1864
|
"type": {
|
|
1661
|
-
"text": "
|
|
1865
|
+
"text": "ChatMessageVariant"
|
|
1662
1866
|
},
|
|
1663
|
-
"default": "
|
|
1664
|
-
"description": "
|
|
1867
|
+
"default": "\"normal\"",
|
|
1868
|
+
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1869
|
+
"attribute": "variant",
|
|
1870
|
+
"reflects": true
|
|
1665
1871
|
},
|
|
1666
1872
|
{
|
|
1667
1873
|
"kind": "field",
|
|
1668
|
-
"name": "
|
|
1874
|
+
"name": "author",
|
|
1669
1875
|
"type": {
|
|
1670
|
-
"text": "
|
|
1876
|
+
"text": "string"
|
|
1671
1877
|
},
|
|
1672
|
-
"
|
|
1878
|
+
"default": "\"\"",
|
|
1879
|
+
"description": "Header label, e.g. \"Freddy\" or \"Architect\".",
|
|
1880
|
+
"attribute": "author"
|
|
1673
1881
|
},
|
|
1674
1882
|
{
|
|
1675
1883
|
"kind": "field",
|
|
1676
|
-
"name": "
|
|
1884
|
+
"name": "timestamp",
|
|
1677
1885
|
"type": {
|
|
1678
|
-
"text": "
|
|
1886
|
+
"text": "string | null"
|
|
1679
1887
|
},
|
|
1680
|
-
"
|
|
1888
|
+
"default": "null",
|
|
1889
|
+
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1890
|
+
"attribute": "timestamp"
|
|
1681
1891
|
},
|
|
1682
1892
|
{
|
|
1683
1893
|
"kind": "field",
|
|
1684
|
-
"name": "
|
|
1894
|
+
"name": "summary",
|
|
1685
1895
|
"type": {
|
|
1686
|
-
"text": "
|
|
1896
|
+
"text": "string"
|
|
1687
1897
|
},
|
|
1688
|
-
"default": "
|
|
1689
|
-
"description": "
|
|
1898
|
+
"default": "\"\"",
|
|
1899
|
+
"description": "Always-visible one-liner for `tool`/`thinking` variants (e.g. a truncated args preview).",
|
|
1900
|
+
"attribute": "summary"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"kind": "field",
|
|
1904
|
+
"name": "collapsible",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "boolean"
|
|
1907
|
+
},
|
|
1908
|
+
"default": "false",
|
|
1909
|
+
"description": "Whether clicking the header/summary toggles the body slot.",
|
|
1910
|
+
"attribute": "collapsible"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "field",
|
|
1914
|
+
"name": "collapsed",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "boolean"
|
|
1917
|
+
},
|
|
1918
|
+
"default": "false",
|
|
1919
|
+
"description": "Current collapse state (reflected as an attribute).",
|
|
1920
|
+
"attribute": "collapsed",
|
|
1921
|
+
"reflects": true
|
|
1690
1922
|
},
|
|
1691
1923
|
{
|
|
1692
1924
|
"kind": "method",
|
|
1693
|
-
"name": "
|
|
1694
|
-
"privacy": "private"
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1925
|
+
"name": "_toggle",
|
|
1926
|
+
"privacy": "private"
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"events": [
|
|
1930
|
+
{
|
|
1931
|
+
"name": "toggle",
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "CustomEvent"
|
|
1699
1934
|
},
|
|
1700
|
-
"
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1935
|
+
"description": "Fired with `{ collapsed: boolean }` when the header/summary is clicked in collapsible mode."
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
"attributes": [
|
|
1939
|
+
{
|
|
1940
|
+
"name": "role",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "ChatMessageRole"
|
|
1943
|
+
},
|
|
1944
|
+
"default": "\"agent\"",
|
|
1945
|
+
"description": "Whose message this is; drives the card background/border.",
|
|
1946
|
+
"fieldName": "role"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "variant",
|
|
1950
|
+
"type": {
|
|
1951
|
+
"text": "ChatMessageVariant"
|
|
1952
|
+
},
|
|
1953
|
+
"default": "\"normal\"",
|
|
1954
|
+
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1955
|
+
"fieldName": "variant"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "author",
|
|
1959
|
+
"type": {
|
|
1960
|
+
"text": "string"
|
|
1961
|
+
},
|
|
1962
|
+
"default": "\"\"",
|
|
1963
|
+
"description": "Header label, e.g. \"Freddy\" or \"Architect\".",
|
|
1964
|
+
"fieldName": "author"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "timestamp",
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "string | null"
|
|
1970
|
+
},
|
|
1971
|
+
"default": "null",
|
|
1972
|
+
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1973
|
+
"fieldName": "timestamp"
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"name": "summary",
|
|
1977
|
+
"type": {
|
|
1978
|
+
"text": "string"
|
|
1979
|
+
},
|
|
1980
|
+
"default": "\"\"",
|
|
1981
|
+
"description": "Always-visible one-liner for `tool`/`thinking` variants (e.g. a truncated args preview).",
|
|
1982
|
+
"fieldName": "summary"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"name": "collapsible",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "boolean"
|
|
1988
|
+
},
|
|
1989
|
+
"default": "false",
|
|
1990
|
+
"description": "Whether clicking the header/summary toggles the body slot.",
|
|
1991
|
+
"fieldName": "collapsible"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"name": "collapsed",
|
|
1995
|
+
"type": {
|
|
1996
|
+
"text": "boolean"
|
|
1997
|
+
},
|
|
1998
|
+
"default": "false",
|
|
1999
|
+
"description": "Current collapse state (reflected as an attribute).",
|
|
2000
|
+
"fieldName": "collapsed"
|
|
1714
2001
|
}
|
|
1715
2002
|
],
|
|
1716
2003
|
"superclass": {
|
|
1717
2004
|
"name": "LitElement",
|
|
1718
2005
|
"package": "lit"
|
|
1719
2006
|
},
|
|
1720
|
-
"tagName": "
|
|
2007
|
+
"tagName": "chat-message",
|
|
1721
2008
|
"customElement": true
|
|
1722
2009
|
}
|
|
1723
2010
|
],
|
|
1724
2011
|
"exports": [
|
|
1725
2012
|
{
|
|
1726
2013
|
"kind": "js",
|
|
1727
|
-
"name": "
|
|
2014
|
+
"name": "ChatMessage",
|
|
1728
2015
|
"declaration": {
|
|
1729
|
-
"name": "
|
|
1730
|
-
"module": "src/
|
|
2016
|
+
"name": "ChatMessage",
|
|
2017
|
+
"module": "src/chat-message.ts"
|
|
1731
2018
|
}
|
|
1732
2019
|
},
|
|
1733
2020
|
{
|
|
1734
2021
|
"kind": "custom-element-definition",
|
|
1735
|
-
"name": "
|
|
2022
|
+
"name": "chat-message",
|
|
1736
2023
|
"declaration": {
|
|
1737
|
-
"name": "
|
|
1738
|
-
"module": "src/
|
|
2024
|
+
"name": "ChatMessage",
|
|
2025
|
+
"module": "src/chat-message.ts"
|
|
1739
2026
|
}
|
|
1740
2027
|
}
|
|
1741
2028
|
]
|
|
1742
2029
|
},
|
|
1743
2030
|
{
|
|
1744
2031
|
"kind": "javascript-module",
|
|
1745
|
-
"path": "src/
|
|
2032
|
+
"path": "src/confirm-dialog.ts",
|
|
1746
2033
|
"declarations": [
|
|
1747
2034
|
{
|
|
1748
2035
|
"kind": "class",
|
|
1749
|
-
"description": "
|
|
1750
|
-
"name": "
|
|
2036
|
+
"description": "Reusable confirmation dialog: overlay + centered card with a slotted body,\nan optional error line, and Cancel/Confirm actions. Instant `display:none`\n→ `display:flex` toggle (no transitions). Fires `confirm`/`cancel`\n(bubbling, composed) instead of owning any deletion logic itself —\ncallers stay in charge of the request.",
|
|
2037
|
+
"name": "ConfirmDialog",
|
|
1751
2038
|
"members": [
|
|
1752
2039
|
{
|
|
1753
2040
|
"kind": "field",
|
|
1754
|
-
"name": "
|
|
2041
|
+
"name": "open",
|
|
1755
2042
|
"type": {
|
|
1756
|
-
"text": "
|
|
2043
|
+
"text": "boolean"
|
|
1757
2044
|
},
|
|
1758
|
-
"default": "
|
|
1759
|
-
"description": "
|
|
1760
|
-
"attribute": "
|
|
2045
|
+
"default": "false",
|
|
2046
|
+
"description": "Whether the dialog is visible.",
|
|
2047
|
+
"attribute": "open"
|
|
1761
2048
|
},
|
|
1762
2049
|
{
|
|
1763
2050
|
"kind": "field",
|
|
1764
|
-
"name": "
|
|
2051
|
+
"name": "confirmLabel",
|
|
1765
2052
|
"type": {
|
|
1766
|
-
"text": "
|
|
2053
|
+
"text": "string"
|
|
1767
2054
|
},
|
|
1768
|
-
"default": "
|
|
1769
|
-
"description": "
|
|
1770
|
-
"attribute": "
|
|
1771
|
-
}
|
|
1772
|
-
],
|
|
1773
|
-
"attributes": [
|
|
2055
|
+
"default": "\"Delete\"",
|
|
2056
|
+
"description": "Label for the confirm button.",
|
|
2057
|
+
"attribute": "confirm-label"
|
|
2058
|
+
},
|
|
1774
2059
|
{
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1777
|
-
"text": "number | null"
|
|
1778
|
-
},
|
|
1779
|
-
"default": "null",
|
|
1780
|
-
"description": "Distance in miles (imperial). Switches to feet below 0.25 mi.",
|
|
1781
|
-
"fieldName": "miles"
|
|
1782
|
-
},
|
|
1783
|
-
{
|
|
1784
|
-
"name": "km",
|
|
1785
|
-
"type": {
|
|
1786
|
-
"text": "number | null"
|
|
1787
|
-
},
|
|
1788
|
-
"default": "null",
|
|
1789
|
-
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
1790
|
-
"fieldName": "km"
|
|
1791
|
-
}
|
|
1792
|
-
],
|
|
1793
|
-
"superclass": {
|
|
1794
|
-
"name": "LitElement",
|
|
1795
|
-
"package": "lit"
|
|
1796
|
-
},
|
|
1797
|
-
"tagName": "distance-value",
|
|
1798
|
-
"customElement": true
|
|
1799
|
-
}
|
|
1800
|
-
],
|
|
1801
|
-
"exports": [
|
|
1802
|
-
{
|
|
1803
|
-
"kind": "js",
|
|
1804
|
-
"name": "DistanceValue",
|
|
1805
|
-
"declaration": {
|
|
1806
|
-
"name": "DistanceValue",
|
|
1807
|
-
"module": "src/distance-value.ts"
|
|
1808
|
-
}
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
"kind": "custom-element-definition",
|
|
1812
|
-
"name": "distance-value",
|
|
1813
|
-
"declaration": {
|
|
1814
|
-
"name": "DistanceValue",
|
|
1815
|
-
"module": "src/distance-value.ts"
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
]
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"kind": "javascript-module",
|
|
1822
|
-
"path": "src/distribution-chart.ts",
|
|
1823
|
-
"declarations": [
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "class",
|
|
1826
|
-
"description": "Renders a KDE distribution curve for a named metric with one or more value\nmarkers. The SVG viewBox is kept in sync with the element's pixel width via\nResizeObserver so that font sizes and stroke widths are always in real pixels\nregardless of container width.\n\nPass `fontSize` to control all text size (default 11). Pass a single\n`{label:'', value}` for a single-value display or multiple\n`{label:'A'|'B'|...}` entries to compare several values.",
|
|
1827
|
-
"name": "DistributionChart",
|
|
1828
|
-
"members": [
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "field",
|
|
1831
|
-
"name": "metric",
|
|
2060
|
+
"kind": "field",
|
|
2061
|
+
"name": "cancelLabel",
|
|
1832
2062
|
"type": {
|
|
1833
2063
|
"text": "string"
|
|
1834
2064
|
},
|
|
1835
|
-
"default": "\"\"",
|
|
1836
|
-
"description": "
|
|
1837
|
-
"attribute": "
|
|
2065
|
+
"default": "\"Cancel\"",
|
|
2066
|
+
"description": "Label for the cancel button.",
|
|
2067
|
+
"attribute": "cancel-label"
|
|
1838
2068
|
},
|
|
1839
2069
|
{
|
|
1840
2070
|
"kind": "field",
|
|
1841
|
-
"name": "
|
|
2071
|
+
"name": "danger",
|
|
1842
2072
|
"type": {
|
|
1843
|
-
"text": "
|
|
2073
|
+
"text": "boolean"
|
|
1844
2074
|
},
|
|
1845
|
-
"default": "
|
|
1846
|
-
"description": "
|
|
2075
|
+
"default": "true",
|
|
2076
|
+
"description": "Danger (red) vs. primary (indigo) styling for the confirm button.",
|
|
2077
|
+
"attribute": "danger"
|
|
1847
2078
|
},
|
|
1848
2079
|
{
|
|
1849
2080
|
"kind": "field",
|
|
1850
|
-
"name": "
|
|
2081
|
+
"name": "busy",
|
|
1851
2082
|
"type": {
|
|
1852
|
-
"text": "
|
|
2083
|
+
"text": "boolean"
|
|
1853
2084
|
},
|
|
1854
|
-
"default": "
|
|
1855
|
-
"description": "
|
|
2085
|
+
"default": "false",
|
|
2086
|
+
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
2087
|
+
"attribute": "busy"
|
|
1856
2088
|
},
|
|
1857
2089
|
{
|
|
1858
2090
|
"kind": "field",
|
|
1859
|
-
"name": "
|
|
2091
|
+
"name": "error",
|
|
1860
2092
|
"type": {
|
|
1861
|
-
"text": "
|
|
2093
|
+
"text": "string | null"
|
|
1862
2094
|
},
|
|
1863
|
-
"default": "
|
|
1864
|
-
"description": "
|
|
1865
|
-
"attribute": "
|
|
2095
|
+
"default": "null",
|
|
2096
|
+
"description": "Inline error line shown below the body, or null for none.",
|
|
2097
|
+
"attribute": "error"
|
|
1866
2098
|
},
|
|
1867
2099
|
{
|
|
1868
|
-
"kind": "
|
|
1869
|
-
"name": "
|
|
1870
|
-
"
|
|
1871
|
-
"text": "DistributionData | null"
|
|
1872
|
-
},
|
|
1873
|
-
"privacy": "private",
|
|
1874
|
-
"default": "null"
|
|
2100
|
+
"kind": "method",
|
|
2101
|
+
"name": "_confirm",
|
|
2102
|
+
"privacy": "private"
|
|
1875
2103
|
},
|
|
1876
2104
|
{
|
|
1877
|
-
"kind": "
|
|
1878
|
-
"name": "
|
|
2105
|
+
"kind": "method",
|
|
2106
|
+
"name": "_cancel",
|
|
2107
|
+
"privacy": "private"
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
2110
|
+
"events": [
|
|
2111
|
+
{
|
|
2112
|
+
"name": "confirm",
|
|
1879
2113
|
"type": {
|
|
1880
|
-
"text": "
|
|
2114
|
+
"text": "CustomEvent"
|
|
1881
2115
|
},
|
|
1882
|
-
"
|
|
1883
|
-
"default": "false"
|
|
2116
|
+
"description": "User clicked the confirm button."
|
|
1884
2117
|
},
|
|
1885
2118
|
{
|
|
1886
|
-
"
|
|
1887
|
-
"name": "_error",
|
|
2119
|
+
"name": "cancel",
|
|
1888
2120
|
"type": {
|
|
1889
|
-
"text": "
|
|
2121
|
+
"text": "CustomEvent"
|
|
1890
2122
|
},
|
|
1891
|
-
"
|
|
1892
|
-
|
|
1893
|
-
|
|
2123
|
+
"description": "User clicked the cancel button."
|
|
2124
|
+
}
|
|
2125
|
+
],
|
|
2126
|
+
"attributes": [
|
|
1894
2127
|
{
|
|
1895
|
-
"
|
|
1896
|
-
"name": "_width",
|
|
2128
|
+
"name": "open",
|
|
1897
2129
|
"type": {
|
|
1898
|
-
"text": "
|
|
2130
|
+
"text": "boolean"
|
|
1899
2131
|
},
|
|
1900
|
-
"
|
|
1901
|
-
"
|
|
1902
|
-
"
|
|
2132
|
+
"default": "false",
|
|
2133
|
+
"description": "Whether the dialog is visible.",
|
|
2134
|
+
"fieldName": "open"
|
|
1903
2135
|
},
|
|
1904
2136
|
{
|
|
1905
|
-
"
|
|
1906
|
-
"name": "_hoverX",
|
|
2137
|
+
"name": "confirm-label",
|
|
1907
2138
|
"type": {
|
|
1908
|
-
"text": "
|
|
2139
|
+
"text": "string"
|
|
1909
2140
|
},
|
|
1910
|
-
"
|
|
1911
|
-
"
|
|
1912
|
-
"
|
|
2141
|
+
"default": "\"Delete\"",
|
|
2142
|
+
"description": "Label for the confirm button.",
|
|
2143
|
+
"fieldName": "confirmLabel"
|
|
1913
2144
|
},
|
|
1914
2145
|
{
|
|
1915
|
-
"
|
|
1916
|
-
"name": "_fetchedFor",
|
|
2146
|
+
"name": "cancel-label",
|
|
1917
2147
|
"type": {
|
|
1918
2148
|
"text": "string"
|
|
1919
2149
|
},
|
|
1920
|
-
"
|
|
1921
|
-
"
|
|
2150
|
+
"default": "\"Cancel\"",
|
|
2151
|
+
"description": "Label for the cancel button.",
|
|
2152
|
+
"fieldName": "cancelLabel"
|
|
1922
2153
|
},
|
|
1923
2154
|
{
|
|
1924
|
-
"
|
|
1925
|
-
"name": "_ro",
|
|
2155
|
+
"name": "danger",
|
|
1926
2156
|
"type": {
|
|
1927
|
-
"text": "
|
|
2157
|
+
"text": "boolean"
|
|
1928
2158
|
},
|
|
1929
|
-
"
|
|
1930
|
-
"
|
|
1931
|
-
|
|
1932
|
-
{
|
|
1933
|
-
"kind": "method",
|
|
1934
|
-
"name": "_maybeFetch",
|
|
1935
|
-
"privacy": "private"
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "method",
|
|
1939
|
-
"name": "_renderSvg",
|
|
1940
|
-
"privacy": "private",
|
|
1941
|
-
"parameters": [
|
|
1942
|
-
{
|
|
1943
|
-
"name": "data",
|
|
1944
|
-
"type": {
|
|
1945
|
-
"text": "DistributionData"
|
|
1946
|
-
}
|
|
1947
|
-
}
|
|
1948
|
-
]
|
|
2159
|
+
"default": "true",
|
|
2160
|
+
"description": "Danger (red) vs. primary (indigo) styling for the confirm button.",
|
|
2161
|
+
"fieldName": "danger"
|
|
1949
2162
|
},
|
|
1950
2163
|
{
|
|
1951
|
-
"
|
|
1952
|
-
"name": "_renderLegend",
|
|
1953
|
-
"privacy": "private",
|
|
1954
|
-
"parameters": [
|
|
1955
|
-
{
|
|
1956
|
-
"name": "data",
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "DistributionData"
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
]
|
|
1962
|
-
}
|
|
1963
|
-
],
|
|
1964
|
-
"attributes": [
|
|
1965
|
-
{
|
|
1966
|
-
"name": "metric",
|
|
2164
|
+
"name": "busy",
|
|
1967
2165
|
"type": {
|
|
1968
|
-
"text": "
|
|
2166
|
+
"text": "boolean"
|
|
1969
2167
|
},
|
|
1970
|
-
"default": "
|
|
1971
|
-
"description": "
|
|
1972
|
-
"fieldName": "
|
|
2168
|
+
"default": "false",
|
|
2169
|
+
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
2170
|
+
"fieldName": "busy"
|
|
1973
2171
|
},
|
|
1974
2172
|
{
|
|
1975
|
-
"name": "
|
|
2173
|
+
"name": "error",
|
|
1976
2174
|
"type": {
|
|
1977
|
-
"text": "
|
|
2175
|
+
"text": "string | null"
|
|
1978
2176
|
},
|
|
1979
|
-
"default": "
|
|
1980
|
-
"description": "
|
|
1981
|
-
"fieldName": "
|
|
2177
|
+
"default": "null",
|
|
2178
|
+
"description": "Inline error line shown below the body, or null for none.",
|
|
2179
|
+
"fieldName": "error"
|
|
1982
2180
|
}
|
|
1983
2181
|
],
|
|
1984
2182
|
"superclass": {
|
|
1985
2183
|
"name": "LitElement",
|
|
1986
2184
|
"package": "lit"
|
|
1987
2185
|
},
|
|
1988
|
-
"tagName": "
|
|
2186
|
+
"tagName": "confirm-dialog",
|
|
1989
2187
|
"customElement": true
|
|
1990
2188
|
}
|
|
1991
2189
|
],
|
|
1992
2190
|
"exports": [
|
|
1993
2191
|
{
|
|
1994
2192
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
2193
|
+
"name": "ConfirmDialog",
|
|
1996
2194
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"module": "src/
|
|
2195
|
+
"name": "ConfirmDialog",
|
|
2196
|
+
"module": "src/confirm-dialog.ts"
|
|
1999
2197
|
}
|
|
2000
2198
|
},
|
|
2001
2199
|
{
|
|
2002
2200
|
"kind": "custom-element-definition",
|
|
2003
|
-
"name": "
|
|
2201
|
+
"name": "confirm-dialog",
|
|
2004
2202
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"module": "src/
|
|
2203
|
+
"name": "ConfirmDialog",
|
|
2204
|
+
"module": "src/confirm-dialog.ts"
|
|
2007
2205
|
}
|
|
2008
2206
|
}
|
|
2009
2207
|
]
|
|
2010
2208
|
},
|
|
2011
2209
|
{
|
|
2012
2210
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
2211
|
+
"path": "src/copy-link-button.ts",
|
|
2014
2212
|
"declarations": [
|
|
2015
2213
|
{
|
|
2016
2214
|
"kind": "class",
|
|
2017
|
-
"description": "
|
|
2018
|
-
"name": "
|
|
2215
|
+
"description": "Small icon button that copies `value` to the clipboard and shows a toast\non success/failure (if a `<toast-notification>` element is present), and\nalways dispatches a `copy-success`/`copy-error` CustomEvent so consumers\nwithout a toast element can react. Defaults to the current page URL if\n`value` is unset.",
|
|
2216
|
+
"name": "CopyLinkButton",
|
|
2019
2217
|
"members": [
|
|
2020
2218
|
{
|
|
2021
2219
|
"kind": "field",
|
|
2022
|
-
"name": "
|
|
2220
|
+
"name": "value",
|
|
2023
2221
|
"type": {
|
|
2024
2222
|
"text": "string"
|
|
2025
2223
|
},
|
|
2026
2224
|
"default": "\"\"",
|
|
2027
|
-
"description": "
|
|
2028
|
-
"attribute": "
|
|
2225
|
+
"description": "Text to copy. Defaults to `window.location.href` at click time.",
|
|
2226
|
+
"attribute": "value"
|
|
2029
2227
|
},
|
|
2030
2228
|
{
|
|
2031
2229
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
2230
|
+
"name": "label",
|
|
2033
2231
|
"type": {
|
|
2034
|
-
"text": "
|
|
2232
|
+
"text": "string"
|
|
2035
2233
|
},
|
|
2036
|
-
"default": "
|
|
2037
|
-
"description": "
|
|
2038
|
-
|
|
2039
|
-
{
|
|
2040
|
-
"kind": "field",
|
|
2041
|
-
"name": "disabled",
|
|
2042
|
-
"type": {
|
|
2043
|
-
"text": "boolean"
|
|
2044
|
-
},
|
|
2045
|
-
"default": "false",
|
|
2046
|
-
"description": "Disables the trigger, preventing the menu from opening.",
|
|
2047
|
-
"attribute": "disabled"
|
|
2048
|
-
},
|
|
2049
|
-
{
|
|
2050
|
-
"kind": "field",
|
|
2051
|
-
"name": "_open",
|
|
2052
|
-
"type": {
|
|
2053
|
-
"text": "boolean"
|
|
2054
|
-
},
|
|
2055
|
-
"privacy": "private",
|
|
2056
|
-
"default": "false"
|
|
2057
|
-
},
|
|
2058
|
-
{
|
|
2059
|
-
"kind": "field",
|
|
2060
|
-
"name": "_activeIndex",
|
|
2061
|
-
"type": {
|
|
2062
|
-
"text": "number"
|
|
2063
|
-
},
|
|
2064
|
-
"privacy": "private",
|
|
2065
|
-
"default": "-1"
|
|
2066
|
-
},
|
|
2067
|
-
{
|
|
2068
|
-
"kind": "field",
|
|
2069
|
-
"name": "#onWindowMousedown",
|
|
2070
|
-
"privacy": "private"
|
|
2071
|
-
},
|
|
2072
|
-
{
|
|
2073
|
-
"kind": "method",
|
|
2074
|
-
"name": "#toggle",
|
|
2075
|
-
"privacy": "private",
|
|
2076
|
-
"return": {
|
|
2077
|
-
"type": {
|
|
2078
|
-
"text": "void"
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"kind": "method",
|
|
2084
|
-
"name": "#select",
|
|
2085
|
-
"privacy": "private",
|
|
2086
|
-
"return": {
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "void"
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
"parameters": [
|
|
2092
|
-
{
|
|
2093
|
-
"name": "option",
|
|
2094
|
-
"type": {
|
|
2095
|
-
"text": "DropdownOption"
|
|
2096
|
-
}
|
|
2097
|
-
}
|
|
2098
|
-
]
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"kind": "method",
|
|
2102
|
-
"name": "#onTriggerKeydown",
|
|
2103
|
-
"privacy": "private",
|
|
2104
|
-
"return": {
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "void"
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
"parameters": [
|
|
2110
|
-
{
|
|
2111
|
-
"name": "e",
|
|
2112
|
-
"type": {
|
|
2113
|
-
"text": "KeyboardEvent"
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
]
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
"kind": "method",
|
|
2120
|
-
"name": "#moveActive",
|
|
2121
|
-
"privacy": "private",
|
|
2122
|
-
"return": {
|
|
2123
|
-
"type": {
|
|
2124
|
-
"text": "void"
|
|
2125
|
-
}
|
|
2126
|
-
},
|
|
2127
|
-
"parameters": [
|
|
2128
|
-
{
|
|
2129
|
-
"name": "delta",
|
|
2130
|
-
"type": {
|
|
2131
|
-
"text": "number"
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
]
|
|
2135
|
-
},
|
|
2136
|
-
{
|
|
2137
|
-
"kind": "method",
|
|
2138
|
-
"name": "#confirmActive",
|
|
2139
|
-
"privacy": "private",
|
|
2140
|
-
"return": {
|
|
2141
|
-
"type": {
|
|
2142
|
-
"text": "void"
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2234
|
+
"default": "\"Copy link\"",
|
|
2235
|
+
"description": "Accessible label / tooltip text.",
|
|
2236
|
+
"attribute": "label"
|
|
2145
2237
|
},
|
|
2146
2238
|
{
|
|
2147
2239
|
"kind": "method",
|
|
2148
|
-
"name": "
|
|
2240
|
+
"name": "_onClick",
|
|
2149
2241
|
"privacy": "private"
|
|
2150
2242
|
}
|
|
2151
2243
|
],
|
|
2152
2244
|
"events": [
|
|
2153
2245
|
{
|
|
2154
|
-
"name": "
|
|
2246
|
+
"name": "copy-success",
|
|
2155
2247
|
"type": {
|
|
2156
2248
|
"text": "CustomEvent"
|
|
2157
2249
|
},
|
|
2158
|
-
"description": "
|
|
2250
|
+
"description": "The value was copied to the clipboard."
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"name": "copy-error",
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "CustomEvent"
|
|
2256
|
+
},
|
|
2257
|
+
"description": "Copying to the clipboard failed."
|
|
2159
2258
|
}
|
|
2160
2259
|
],
|
|
2161
2260
|
"attributes": [
|
|
2162
2261
|
{
|
|
2163
|
-
"name": "
|
|
2262
|
+
"name": "value",
|
|
2164
2263
|
"type": {
|
|
2165
2264
|
"text": "string"
|
|
2166
2265
|
},
|
|
2167
2266
|
"default": "\"\"",
|
|
2168
|
-
"description": "
|
|
2169
|
-
"fieldName": "
|
|
2267
|
+
"description": "Text to copy. Defaults to `window.location.href` at click time.",
|
|
2268
|
+
"fieldName": "value"
|
|
2170
2269
|
},
|
|
2171
2270
|
{
|
|
2172
|
-
"name": "
|
|
2271
|
+
"name": "label",
|
|
2173
2272
|
"type": {
|
|
2174
|
-
"text": "
|
|
2273
|
+
"text": "string"
|
|
2175
2274
|
},
|
|
2176
|
-
"default": "
|
|
2177
|
-
"description": "
|
|
2178
|
-
"fieldName": "
|
|
2275
|
+
"default": "\"Copy link\"",
|
|
2276
|
+
"description": "Accessible label / tooltip text.",
|
|
2277
|
+
"fieldName": "label"
|
|
2179
2278
|
}
|
|
2180
2279
|
],
|
|
2181
2280
|
"superclass": {
|
|
2182
2281
|
"name": "LitElement",
|
|
2183
2282
|
"package": "lit"
|
|
2184
2283
|
},
|
|
2185
|
-
"tagName": "
|
|
2284
|
+
"tagName": "copy-link-button",
|
|
2186
2285
|
"customElement": true
|
|
2187
2286
|
}
|
|
2188
2287
|
],
|
|
2189
2288
|
"exports": [
|
|
2190
2289
|
{
|
|
2191
2290
|
"kind": "js",
|
|
2192
|
-
"name": "
|
|
2291
|
+
"name": "CopyLinkButton",
|
|
2193
2292
|
"declaration": {
|
|
2194
|
-
"name": "
|
|
2195
|
-
"module": "src/
|
|
2293
|
+
"name": "CopyLinkButton",
|
|
2294
|
+
"module": "src/copy-link-button.ts"
|
|
2196
2295
|
}
|
|
2197
2296
|
},
|
|
2198
2297
|
{
|
|
2199
2298
|
"kind": "custom-element-definition",
|
|
2200
|
-
"name": "
|
|
2299
|
+
"name": "copy-link-button",
|
|
2201
2300
|
"declaration": {
|
|
2202
|
-
"name": "
|
|
2203
|
-
"module": "src/
|
|
2301
|
+
"name": "CopyLinkButton",
|
|
2302
|
+
"module": "src/copy-link-button.ts"
|
|
2204
2303
|
}
|
|
2205
2304
|
}
|
|
2206
2305
|
]
|
|
2207
2306
|
},
|
|
2208
2307
|
{
|
|
2209
2308
|
"kind": "javascript-module",
|
|
2210
|
-
"path": "src/
|
|
2309
|
+
"path": "src/data-table.ts",
|
|
2211
2310
|
"declarations": [
|
|
2212
2311
|
{
|
|
2213
2312
|
"kind": "class",
|
|
2214
|
-
"description": "
|
|
2215
|
-
"name": "
|
|
2313
|
+
"description": "A generic, presentational table shell: renders a `<thead>` from `columns`\nand one `<tr>` per entry in `rows`, with each cell's content produced by\n`renderCell` (default: plain property lookup on the row object). Knows\nnothing about what a \"row\" means — callers own the data shape entirely.\n\nOptional `rowHref` makes whole rows clickable (navigating via `location.hash`),\nwithout hijacking clicks on nested interactive elements (links/buttons) a\ncell's rendered content might contain.",
|
|
2314
|
+
"name": "DataTable",
|
|
2216
2315
|
"members": [
|
|
2217
2316
|
{
|
|
2218
2317
|
"kind": "field",
|
|
2219
|
-
"name": "
|
|
2220
|
-
"type": {
|
|
2221
|
-
"text": "string"
|
|
2222
|
-
},
|
|
2223
|
-
"default": "\"\"",
|
|
2224
|
-
"description": "Current text.",
|
|
2225
|
-
"attribute": "value"
|
|
2226
|
-
},
|
|
2227
|
-
{
|
|
2228
|
-
"kind": "field",
|
|
2229
|
-
"name": "multiline",
|
|
2230
|
-
"type": {
|
|
2231
|
-
"text": "boolean"
|
|
2232
|
-
},
|
|
2233
|
-
"default": "false",
|
|
2234
|
-
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
2235
|
-
"attribute": "multiline"
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
"kind": "field",
|
|
2239
|
-
"name": "placeholder",
|
|
2240
|
-
"type": {
|
|
2241
|
-
"text": "string"
|
|
2242
|
-
},
|
|
2243
|
-
"default": "\"\"",
|
|
2244
|
-
"description": "Muted placeholder text shown when `value` is empty, and as the input's placeholder.",
|
|
2245
|
-
"attribute": "placeholder"
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
"kind": "field",
|
|
2249
|
-
"name": "readonly",
|
|
2318
|
+
"name": "columns",
|
|
2250
2319
|
"type": {
|
|
2251
|
-
"text": "
|
|
2320
|
+
"text": "DataTableColumn[]"
|
|
2252
2321
|
},
|
|
2253
|
-
"default": "
|
|
2254
|
-
"description": "
|
|
2255
|
-
"attribute": "readonly"
|
|
2322
|
+
"default": "[]",
|
|
2323
|
+
"description": "Column headers, in display order."
|
|
2256
2324
|
},
|
|
2257
2325
|
{
|
|
2258
2326
|
"kind": "field",
|
|
2259
|
-
"name": "
|
|
2327
|
+
"name": "rows",
|
|
2260
2328
|
"type": {
|
|
2261
|
-
"text": "
|
|
2329
|
+
"text": "unknown[]"
|
|
2262
2330
|
},
|
|
2263
|
-
"default": "
|
|
2264
|
-
"description": "`
|
|
2265
|
-
"attribute": "label"
|
|
2331
|
+
"default": "[]",
|
|
2332
|
+
"description": "Row data; opaque to this component beyond what `renderCell` does with it."
|
|
2266
2333
|
},
|
|
2267
2334
|
{
|
|
2268
2335
|
"kind": "field",
|
|
2269
|
-
"name": "
|
|
2336
|
+
"name": "rowKey",
|
|
2270
2337
|
"type": {
|
|
2271
|
-
"text": "
|
|
2338
|
+
"text": "(row: unknown, index: number) => string | number"
|
|
2272
2339
|
},
|
|
2273
|
-
"
|
|
2274
|
-
"default": "false"
|
|
2340
|
+
"description": "Stable identity for `rows[i]`, used as the repeat-directive key. Defaults to the row's index."
|
|
2275
2341
|
},
|
|
2276
2342
|
{
|
|
2277
2343
|
"kind": "field",
|
|
2278
|
-
"name": "
|
|
2344
|
+
"name": "renderCell",
|
|
2279
2345
|
"type": {
|
|
2280
|
-
"text": "string"
|
|
2346
|
+
"text": "(row: unknown, key: string) => unknown"
|
|
2281
2347
|
},
|
|
2282
|
-
"
|
|
2283
|
-
"default": "\"\""
|
|
2348
|
+
"description": "Produces a cell's rendered content for `row`/`column.key`. Default: `row[key]`."
|
|
2284
2349
|
},
|
|
2285
2350
|
{
|
|
2286
2351
|
"kind": "field",
|
|
2287
|
-
"name": "
|
|
2352
|
+
"name": "rowHref",
|
|
2288
2353
|
"type": {
|
|
2289
|
-
"text": "
|
|
2354
|
+
"text": "((row: unknown) => string | null) | null"
|
|
2290
2355
|
},
|
|
2291
|
-
"
|
|
2292
|
-
|
|
2293
|
-
{
|
|
2294
|
-
"kind": "method",
|
|
2295
|
-
"name": "_startEdit",
|
|
2296
|
-
"privacy": "private",
|
|
2297
|
-
"description": "Enters edit mode, seeding the draft from the current value."
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"kind": "method",
|
|
2301
|
-
"name": "_commit",
|
|
2302
|
-
"privacy": "private",
|
|
2303
|
-
"description": "Commits the draft (reverting an empty single-line commit) and exits edit mode.\n\nGuarded on `_editing`: removing the focused input/textarea from the DOM\n(which happens as soon as `_editing` flips to false) makes the browser\nfire a native `blur` on it, re-invoking this handler a second time after\na cancel already ran — the guard makes that second call a no-op instead\nof re-committing the stale draft."
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"kind": "method",
|
|
2307
|
-
"name": "_cancel",
|
|
2308
|
-
"privacy": "private",
|
|
2309
|
-
"description": "Discards the draft and exits edit mode without committing."
|
|
2356
|
+
"default": "null",
|
|
2357
|
+
"description": "When set, clicking a row (outside any nested link/button) navigates to this hash."
|
|
2310
2358
|
},
|
|
2311
2359
|
{
|
|
2312
2360
|
"kind": "method",
|
|
2313
|
-
"name": "
|
|
2361
|
+
"name": "#onRowClick",
|
|
2314
2362
|
"privacy": "private",
|
|
2363
|
+
"return": {
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "void"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2315
2368
|
"parameters": [
|
|
2369
|
+
{
|
|
2370
|
+
"name": "row",
|
|
2371
|
+
"type": {
|
|
2372
|
+
"text": "unknown"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2316
2375
|
{
|
|
2317
2376
|
"name": "e",
|
|
2318
2377
|
"type": {
|
|
2319
|
-
"text": "
|
|
2378
|
+
"text": "MouseEvent"
|
|
2320
2379
|
}
|
|
2321
2380
|
}
|
|
2322
2381
|
]
|
|
2323
|
-
},
|
|
2324
|
-
{
|
|
2325
|
-
"kind": "method",
|
|
2326
|
-
"name": "_onSingleLineKeydown",
|
|
2327
|
-
"privacy": "private",
|
|
2328
|
-
"parameters": [
|
|
2329
|
-
{
|
|
2330
|
-
"name": "e",
|
|
2331
|
-
"type": {
|
|
2332
|
-
"text": "KeyboardEvent"
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
]
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"kind": "method",
|
|
2339
|
-
"name": "_onMultilineKeydown",
|
|
2340
|
-
"privacy": "private",
|
|
2341
|
-
"parameters": [
|
|
2342
|
-
{
|
|
2343
|
-
"name": "e",
|
|
2344
|
-
"type": {
|
|
2345
|
-
"text": "KeyboardEvent"
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
]
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"kind": "method",
|
|
2352
|
-
"name": "_resize",
|
|
2353
|
-
"privacy": "private",
|
|
2354
|
-
"description": "Grows the textarea's height to fit its content."
|
|
2355
2382
|
}
|
|
2356
2383
|
],
|
|
2357
|
-
"
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2384
|
+
"superclass": {
|
|
2385
|
+
"name": "LitElement",
|
|
2386
|
+
"package": "lit"
|
|
2387
|
+
},
|
|
2388
|
+
"tagName": "data-table",
|
|
2389
|
+
"customElement": true
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"exports": [
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "js",
|
|
2395
|
+
"name": "DataTable",
|
|
2396
|
+
"declaration": {
|
|
2397
|
+
"name": "DataTable",
|
|
2398
|
+
"module": "src/data-table.ts"
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "custom-element-definition",
|
|
2403
|
+
"name": "data-table",
|
|
2404
|
+
"declaration": {
|
|
2405
|
+
"name": "DataTable",
|
|
2406
|
+
"module": "src/data-table.ts"
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"kind": "javascript-module",
|
|
2413
|
+
"path": "src/distance-value.ts",
|
|
2414
|
+
"declarations": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "class",
|
|
2417
|
+
"description": "Inline distance display. Renders miles/feet or km/m, switching units at\nsensible thresholds (< 0.25 mi → ft; < 0.5 km → m).\n\nSupply exactly one of `miles` or `km`; the other stays null.\nkm support is present but reserved for future use.",
|
|
2418
|
+
"name": "DistanceValue",
|
|
2419
|
+
"members": [
|
|
2376
2420
|
{
|
|
2377
|
-
"
|
|
2421
|
+
"kind": "field",
|
|
2422
|
+
"name": "miles",
|
|
2378
2423
|
"type": {
|
|
2379
|
-
"text": "
|
|
2424
|
+
"text": "number | null"
|
|
2380
2425
|
},
|
|
2381
|
-
"default": "
|
|
2382
|
-
"description": "
|
|
2383
|
-
"
|
|
2426
|
+
"default": "null",
|
|
2427
|
+
"description": "Distance in miles (imperial). Switches to feet below 0.25 mi.",
|
|
2428
|
+
"attribute": "miles"
|
|
2384
2429
|
},
|
|
2385
2430
|
{
|
|
2386
|
-
"
|
|
2431
|
+
"kind": "field",
|
|
2432
|
+
"name": "km",
|
|
2387
2433
|
"type": {
|
|
2388
|
-
"text": "
|
|
2434
|
+
"text": "number | null"
|
|
2389
2435
|
},
|
|
2390
|
-
"default": "
|
|
2391
|
-
"description": "
|
|
2392
|
-
"
|
|
2393
|
-
}
|
|
2436
|
+
"default": "null",
|
|
2437
|
+
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
2438
|
+
"attribute": "km"
|
|
2439
|
+
}
|
|
2440
|
+
],
|
|
2441
|
+
"attributes": [
|
|
2394
2442
|
{
|
|
2395
|
-
"name": "
|
|
2443
|
+
"name": "miles",
|
|
2396
2444
|
"type": {
|
|
2397
|
-
"text": "
|
|
2445
|
+
"text": "number | null"
|
|
2398
2446
|
},
|
|
2399
|
-
"default": "
|
|
2400
|
-
"description": "
|
|
2401
|
-
"fieldName": "
|
|
2447
|
+
"default": "null",
|
|
2448
|
+
"description": "Distance in miles (imperial). Switches to feet below 0.25 mi.",
|
|
2449
|
+
"fieldName": "miles"
|
|
2402
2450
|
},
|
|
2403
2451
|
{
|
|
2404
|
-
"name": "
|
|
2452
|
+
"name": "km",
|
|
2405
2453
|
"type": {
|
|
2406
|
-
"text": "
|
|
2454
|
+
"text": "number | null"
|
|
2407
2455
|
},
|
|
2408
|
-
"default": "
|
|
2409
|
-
"description": "
|
|
2410
|
-
"fieldName": "
|
|
2456
|
+
"default": "null",
|
|
2457
|
+
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
2458
|
+
"fieldName": "km"
|
|
2411
2459
|
}
|
|
2412
2460
|
],
|
|
2413
2461
|
"superclass": {
|
|
2414
2462
|
"name": "LitElement",
|
|
2415
2463
|
"package": "lit"
|
|
2416
2464
|
},
|
|
2417
|
-
"tagName": "
|
|
2465
|
+
"tagName": "distance-value",
|
|
2418
2466
|
"customElement": true
|
|
2419
2467
|
}
|
|
2420
2468
|
],
|
|
2421
2469
|
"exports": [
|
|
2422
2470
|
{
|
|
2423
2471
|
"kind": "js",
|
|
2424
|
-
"name": "
|
|
2472
|
+
"name": "DistanceValue",
|
|
2425
2473
|
"declaration": {
|
|
2426
|
-
"name": "
|
|
2427
|
-
"module": "src/
|
|
2474
|
+
"name": "DistanceValue",
|
|
2475
|
+
"module": "src/distance-value.ts"
|
|
2428
2476
|
}
|
|
2429
2477
|
},
|
|
2430
2478
|
{
|
|
2431
2479
|
"kind": "custom-element-definition",
|
|
2432
|
-
"name": "
|
|
2480
|
+
"name": "distance-value",
|
|
2433
2481
|
"declaration": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"module": "src/
|
|
2482
|
+
"name": "DistanceValue",
|
|
2483
|
+
"module": "src/distance-value.ts"
|
|
2436
2484
|
}
|
|
2437
2485
|
}
|
|
2438
2486
|
]
|
|
2439
2487
|
},
|
|
2440
2488
|
{
|
|
2441
2489
|
"kind": "javascript-module",
|
|
2442
|
-
"path": "src/
|
|
2490
|
+
"path": "src/distribution-chart.ts",
|
|
2443
2491
|
"declarations": [
|
|
2444
2492
|
{
|
|
2445
2493
|
"kind": "class",
|
|
2446
|
-
"description": "
|
|
2447
|
-
"name": "
|
|
2494
|
+
"description": "Renders a KDE distribution curve for a named metric with one or more value\nmarkers. The SVG viewBox is kept in sync with the element's pixel width via\nResizeObserver so that font sizes and stroke widths are always in real pixels\nregardless of container width.\n\nPass `fontSize` to control all text size (default 11). Pass a single\n`{label:'', value}` for a single-value display or multiple\n`{label:'A'|'B'|...}` entries to compare several values.",
|
|
2495
|
+
"name": "DistributionChart",
|
|
2448
2496
|
"members": [
|
|
2449
2497
|
{
|
|
2450
2498
|
"kind": "field",
|
|
2451
|
-
"name": "
|
|
2499
|
+
"name": "metric",
|
|
2452
2500
|
"type": {
|
|
2453
|
-
"text": "
|
|
2501
|
+
"text": "string"
|
|
2502
|
+
},
|
|
2503
|
+
"default": "\"\"",
|
|
2504
|
+
"description": "Metric name, fetched from `/api/distribution/<metric>` on change.",
|
|
2505
|
+
"attribute": "metric"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "field",
|
|
2509
|
+
"name": "values",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "DistributionValue[]"
|
|
2454
2512
|
},
|
|
2455
2513
|
"default": "[]",
|
|
2456
|
-
"description": "
|
|
2514
|
+
"description": "One or more values to mark on the distribution curve."
|
|
2457
2515
|
},
|
|
2458
2516
|
{
|
|
2459
2517
|
"kind": "field",
|
|
2460
|
-
"name": "
|
|
2518
|
+
"name": "markerColors",
|
|
2461
2519
|
"type": {
|
|
2462
|
-
"text": "string"
|
|
2520
|
+
"text": "string[]"
|
|
2463
2521
|
},
|
|
2464
|
-
"default": "\"\"",
|
|
2465
|
-
"description": "
|
|
2466
|
-
"attribute": "value"
|
|
2522
|
+
"default": "[\"#4f46e5\", \"#d97706\", \"#0d9488\", \"#e11d48\"]",
|
|
2523
|
+
"description": "Colors assigned to markers in order. Defaults to indigo/amber/teal/rose 600s."
|
|
2467
2524
|
},
|
|
2468
2525
|
{
|
|
2469
2526
|
"kind": "field",
|
|
2470
|
-
"name": "
|
|
2527
|
+
"name": "fontSize",
|
|
2471
2528
|
"type": {
|
|
2472
|
-
"text": "
|
|
2529
|
+
"text": "number"
|
|
2473
2530
|
},
|
|
2474
|
-
"default": "
|
|
2475
|
-
"description": "
|
|
2476
|
-
"attribute": "
|
|
2531
|
+
"default": "11",
|
|
2532
|
+
"description": "Target font size in CSS pixels (default 11). Always renders at this size regardless of container width.",
|
|
2533
|
+
"attribute": "font-size"
|
|
2477
2534
|
},
|
|
2478
2535
|
{
|
|
2479
2536
|
"kind": "field",
|
|
2480
|
-
"name": "
|
|
2537
|
+
"name": "_data",
|
|
2538
|
+
"type": {
|
|
2539
|
+
"text": "DistributionData | null"
|
|
2540
|
+
},
|
|
2541
|
+
"privacy": "private",
|
|
2542
|
+
"default": "null"
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "field",
|
|
2546
|
+
"name": "_loading",
|
|
2481
2547
|
"type": {
|
|
2482
2548
|
"text": "boolean"
|
|
2483
2549
|
},
|
|
2484
|
-
"
|
|
2485
|
-
"
|
|
2486
|
-
|
|
2550
|
+
"privacy": "private",
|
|
2551
|
+
"default": "false"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "_error",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "string | null"
|
|
2558
|
+
},
|
|
2559
|
+
"privacy": "private",
|
|
2560
|
+
"default": "null"
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
"kind": "field",
|
|
2564
|
+
"name": "_width",
|
|
2565
|
+
"type": {
|
|
2566
|
+
"text": "number"
|
|
2567
|
+
},
|
|
2568
|
+
"privacy": "private",
|
|
2569
|
+
"default": "0",
|
|
2570
|
+
"description": "Measured element width in CSS pixels. 0 until ResizeObserver fires."
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"kind": "field",
|
|
2574
|
+
"name": "_hoverX",
|
|
2575
|
+
"type": {
|
|
2576
|
+
"text": "number | null"
|
|
2577
|
+
},
|
|
2578
|
+
"privacy": "private",
|
|
2579
|
+
"default": "null",
|
|
2580
|
+
"description": "Inner x coordinate (px) of the current hover position, or null when not hovering."
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "field",
|
|
2584
|
+
"name": "_fetchedFor",
|
|
2585
|
+
"type": {
|
|
2586
|
+
"text": "string"
|
|
2587
|
+
},
|
|
2588
|
+
"privacy": "private",
|
|
2589
|
+
"default": "\"\""
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"kind": "field",
|
|
2593
|
+
"name": "_ro",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "ResizeObserver | null"
|
|
2596
|
+
},
|
|
2597
|
+
"privacy": "private",
|
|
2598
|
+
"default": "null"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "method",
|
|
2602
|
+
"name": "_maybeFetch",
|
|
2603
|
+
"privacy": "private"
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "method",
|
|
2607
|
+
"name": "_renderSvg",
|
|
2608
|
+
"privacy": "private",
|
|
2609
|
+
"parameters": [
|
|
2610
|
+
{
|
|
2611
|
+
"name": "data",
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "DistributionData"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
]
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"kind": "method",
|
|
2620
|
+
"name": "_renderLegend",
|
|
2621
|
+
"privacy": "private",
|
|
2622
|
+
"parameters": [
|
|
2623
|
+
{
|
|
2624
|
+
"name": "data",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "DistributionData"
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
]
|
|
2630
|
+
}
|
|
2631
|
+
],
|
|
2632
|
+
"attributes": [
|
|
2633
|
+
{
|
|
2634
|
+
"name": "metric",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "string"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "\"\"",
|
|
2639
|
+
"description": "Metric name, fetched from `/api/distribution/<metric>` on change.",
|
|
2640
|
+
"fieldName": "metric"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"name": "font-size",
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "number"
|
|
2646
|
+
},
|
|
2647
|
+
"default": "11",
|
|
2648
|
+
"description": "Target font size in CSS pixels (default 11). Always renders at this size regardless of container width.",
|
|
2649
|
+
"fieldName": "fontSize"
|
|
2650
|
+
}
|
|
2651
|
+
],
|
|
2652
|
+
"superclass": {
|
|
2653
|
+
"name": "LitElement",
|
|
2654
|
+
"package": "lit"
|
|
2655
|
+
},
|
|
2656
|
+
"tagName": "distribution-chart",
|
|
2657
|
+
"customElement": true
|
|
2658
|
+
}
|
|
2659
|
+
],
|
|
2660
|
+
"exports": [
|
|
2661
|
+
{
|
|
2662
|
+
"kind": "js",
|
|
2663
|
+
"name": "DistributionChart",
|
|
2664
|
+
"declaration": {
|
|
2665
|
+
"name": "DistributionChart",
|
|
2666
|
+
"module": "src/distribution-chart.ts"
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"kind": "custom-element-definition",
|
|
2671
|
+
"name": "distribution-chart",
|
|
2672
|
+
"declaration": {
|
|
2673
|
+
"name": "DistributionChart",
|
|
2674
|
+
"module": "src/distribution-chart.ts"
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
]
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "javascript-module",
|
|
2681
|
+
"path": "src/dropdown-button.ts",
|
|
2682
|
+
"declarations": [
|
|
2683
|
+
{
|
|
2684
|
+
"kind": "class",
|
|
2685
|
+
"description": "A primary-styled button with a label and chevron that opens an anchored\nmenu of actions — essentially `form-select` minus \"current value\"\nsemantics: a menu, not a select. Use for a set of mutually exclusive\nnext-step actions (e.g. a failed task's Retry / Close / Backlog).",
|
|
2686
|
+
"name": "DropdownButton",
|
|
2687
|
+
"members": [
|
|
2688
|
+
{
|
|
2689
|
+
"kind": "field",
|
|
2690
|
+
"name": "label",
|
|
2691
|
+
"type": {
|
|
2692
|
+
"text": "string"
|
|
2693
|
+
},
|
|
2694
|
+
"default": "\"\"",
|
|
2695
|
+
"description": "The trigger button's label.",
|
|
2696
|
+
"attribute": "label"
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"kind": "field",
|
|
2700
|
+
"name": "options",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "DropdownOption[]"
|
|
2703
|
+
},
|
|
2704
|
+
"default": "[]",
|
|
2705
|
+
"description": "The menu's actions."
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "field",
|
|
2709
|
+
"name": "disabled",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "boolean"
|
|
2712
|
+
},
|
|
2713
|
+
"default": "false",
|
|
2714
|
+
"description": "Disables the trigger, preventing the menu from opening.",
|
|
2715
|
+
"attribute": "disabled"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "field",
|
|
2719
|
+
"name": "_open",
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "boolean"
|
|
2722
|
+
},
|
|
2723
|
+
"privacy": "private",
|
|
2724
|
+
"default": "false"
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"kind": "field",
|
|
2728
|
+
"name": "_activeIndex",
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "number"
|
|
2731
|
+
},
|
|
2732
|
+
"privacy": "private",
|
|
2733
|
+
"default": "-1"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "field",
|
|
2737
|
+
"name": "#onWindowMousedown",
|
|
2738
|
+
"privacy": "private"
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"kind": "method",
|
|
2742
|
+
"name": "#toggle",
|
|
2743
|
+
"privacy": "private",
|
|
2744
|
+
"return": {
|
|
2745
|
+
"type": {
|
|
2746
|
+
"text": "void"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"kind": "method",
|
|
2752
|
+
"name": "#select",
|
|
2753
|
+
"privacy": "private",
|
|
2754
|
+
"return": {
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "void"
|
|
2757
|
+
}
|
|
2758
|
+
},
|
|
2759
|
+
"parameters": [
|
|
2760
|
+
{
|
|
2761
|
+
"name": "option",
|
|
2762
|
+
"type": {
|
|
2763
|
+
"text": "DropdownOption"
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
]
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"kind": "method",
|
|
2770
|
+
"name": "#onTriggerKeydown",
|
|
2771
|
+
"privacy": "private",
|
|
2772
|
+
"return": {
|
|
2773
|
+
"type": {
|
|
2774
|
+
"text": "void"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"parameters": [
|
|
2778
|
+
{
|
|
2779
|
+
"name": "e",
|
|
2780
|
+
"type": {
|
|
2781
|
+
"text": "KeyboardEvent"
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
]
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "method",
|
|
2788
|
+
"name": "#moveActive",
|
|
2789
|
+
"privacy": "private",
|
|
2790
|
+
"return": {
|
|
2791
|
+
"type": {
|
|
2792
|
+
"text": "void"
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
"parameters": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "delta",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "number"
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
]
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"kind": "method",
|
|
2806
|
+
"name": "#confirmActive",
|
|
2807
|
+
"privacy": "private",
|
|
2808
|
+
"return": {
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "void"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "method",
|
|
2816
|
+
"name": "renderMenu",
|
|
2817
|
+
"privacy": "private"
|
|
2818
|
+
}
|
|
2819
|
+
],
|
|
2820
|
+
"events": [
|
|
2821
|
+
{
|
|
2822
|
+
"name": "select",
|
|
2823
|
+
"type": {
|
|
2824
|
+
"text": "CustomEvent"
|
|
2825
|
+
},
|
|
2826
|
+
"description": "Fired with `{ value: string }` when a menu item is picked."
|
|
2827
|
+
}
|
|
2828
|
+
],
|
|
2829
|
+
"attributes": [
|
|
2830
|
+
{
|
|
2831
|
+
"name": "label",
|
|
2832
|
+
"type": {
|
|
2833
|
+
"text": "string"
|
|
2834
|
+
},
|
|
2835
|
+
"default": "\"\"",
|
|
2836
|
+
"description": "The trigger button's label.",
|
|
2837
|
+
"fieldName": "label"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "disabled",
|
|
2841
|
+
"type": {
|
|
2842
|
+
"text": "boolean"
|
|
2843
|
+
},
|
|
2844
|
+
"default": "false",
|
|
2845
|
+
"description": "Disables the trigger, preventing the menu from opening.",
|
|
2846
|
+
"fieldName": "disabled"
|
|
2847
|
+
}
|
|
2848
|
+
],
|
|
2849
|
+
"superclass": {
|
|
2850
|
+
"name": "LitElement",
|
|
2851
|
+
"package": "lit"
|
|
2852
|
+
},
|
|
2853
|
+
"tagName": "dropdown-button",
|
|
2854
|
+
"customElement": true
|
|
2855
|
+
}
|
|
2856
|
+
],
|
|
2857
|
+
"exports": [
|
|
2858
|
+
{
|
|
2859
|
+
"kind": "js",
|
|
2860
|
+
"name": "DropdownButton",
|
|
2861
|
+
"declaration": {
|
|
2862
|
+
"name": "DropdownButton",
|
|
2863
|
+
"module": "src/dropdown-button.ts"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"kind": "custom-element-definition",
|
|
2868
|
+
"name": "dropdown-button",
|
|
2869
|
+
"declaration": {
|
|
2870
|
+
"name": "DropdownButton",
|
|
2871
|
+
"module": "src/dropdown-button.ts"
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "javascript-module",
|
|
2878
|
+
"path": "src/editable-text.ts",
|
|
2879
|
+
"declarations": [
|
|
2880
|
+
{
|
|
2881
|
+
"kind": "class",
|
|
2882
|
+
"description": "Jira/GitHub-style click-to-edit text: a display span that turns into an\n`<input>` (or auto-growing `<textarea>` when `multiline`) on click. The\ninput/textarea inherits the host's font, so a title wrapped in an `<h1>`\nedits at title size.",
|
|
2883
|
+
"name": "EditableText",
|
|
2884
|
+
"members": [
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "field",
|
|
2887
|
+
"name": "value",
|
|
2888
|
+
"type": {
|
|
2889
|
+
"text": "string"
|
|
2890
|
+
},
|
|
2891
|
+
"default": "\"\"",
|
|
2892
|
+
"description": "Current text.",
|
|
2893
|
+
"attribute": "value"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "field",
|
|
2897
|
+
"name": "multiline",
|
|
2898
|
+
"type": {
|
|
2899
|
+
"text": "boolean"
|
|
2900
|
+
},
|
|
2901
|
+
"default": "false",
|
|
2902
|
+
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
2903
|
+
"attribute": "multiline"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "field",
|
|
2907
|
+
"name": "placeholder",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"default": "\"\"",
|
|
2912
|
+
"description": "Muted placeholder text shown when `value` is empty, and as the input's placeholder.",
|
|
2913
|
+
"attribute": "placeholder"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"kind": "field",
|
|
2917
|
+
"name": "readonly",
|
|
2918
|
+
"type": {
|
|
2919
|
+
"text": "boolean"
|
|
2920
|
+
},
|
|
2921
|
+
"default": "false",
|
|
2922
|
+
"description": "Disables entering edit mode.",
|
|
2923
|
+
"attribute": "readonly"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"kind": "field",
|
|
2927
|
+
"name": "label",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "string"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "\"\"",
|
|
2932
|
+
"description": "`aria-label` applied to the input/textarea.",
|
|
2933
|
+
"attribute": "label"
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"kind": "field",
|
|
2937
|
+
"name": "_editing",
|
|
2938
|
+
"type": {
|
|
2939
|
+
"text": "boolean"
|
|
2940
|
+
},
|
|
2941
|
+
"privacy": "private",
|
|
2942
|
+
"default": "false"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"kind": "field",
|
|
2946
|
+
"name": "_draft",
|
|
2947
|
+
"type": {
|
|
2948
|
+
"text": "string"
|
|
2949
|
+
},
|
|
2950
|
+
"privacy": "private",
|
|
2951
|
+
"default": "\"\""
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "field",
|
|
2955
|
+
"name": "_field",
|
|
2956
|
+
"type": {
|
|
2957
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | undefined"
|
|
2958
|
+
},
|
|
2959
|
+
"privacy": "private"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"kind": "method",
|
|
2963
|
+
"name": "_startEdit",
|
|
2964
|
+
"privacy": "private",
|
|
2965
|
+
"description": "Enters edit mode, seeding the draft from the current value."
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "method",
|
|
2969
|
+
"name": "_commit",
|
|
2970
|
+
"privacy": "private",
|
|
2971
|
+
"description": "Commits the draft (reverting an empty single-line commit) and exits edit mode.\n\nGuarded on `_editing`: removing the focused input/textarea from the DOM\n(which happens as soon as `_editing` flips to false) makes the browser\nfire a native `blur` on it, re-invoking this handler a second time after\na cancel already ran — the guard makes that second call a no-op instead\nof re-committing the stale draft."
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "method",
|
|
2975
|
+
"name": "_cancel",
|
|
2976
|
+
"privacy": "private",
|
|
2977
|
+
"description": "Discards the draft and exits edit mode without committing."
|
|
2978
|
+
},
|
|
2979
|
+
{
|
|
2980
|
+
"kind": "method",
|
|
2981
|
+
"name": "_onInput",
|
|
2982
|
+
"privacy": "private",
|
|
2983
|
+
"parameters": [
|
|
2984
|
+
{
|
|
2985
|
+
"name": "e",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "Event"
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "method",
|
|
2994
|
+
"name": "_onSingleLineKeydown",
|
|
2995
|
+
"privacy": "private",
|
|
2996
|
+
"parameters": [
|
|
2997
|
+
{
|
|
2998
|
+
"name": "e",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "KeyboardEvent"
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "method",
|
|
3007
|
+
"name": "_onMultilineKeydown",
|
|
3008
|
+
"privacy": "private",
|
|
3009
|
+
"parameters": [
|
|
3010
|
+
{
|
|
3011
|
+
"name": "e",
|
|
3012
|
+
"type": {
|
|
3013
|
+
"text": "KeyboardEvent"
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
]
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"kind": "method",
|
|
3020
|
+
"name": "_resize",
|
|
3021
|
+
"privacy": "private",
|
|
3022
|
+
"description": "Grows the textarea's height to fit its content."
|
|
3023
|
+
}
|
|
3024
|
+
],
|
|
3025
|
+
"events": [
|
|
3026
|
+
{
|
|
3027
|
+
"name": "change",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "CustomEvent"
|
|
3030
|
+
},
|
|
3031
|
+
"description": "Fired with `{ value: string }` when the committed value differs from the previous one."
|
|
3032
|
+
}
|
|
3033
|
+
],
|
|
3034
|
+
"attributes": [
|
|
3035
|
+
{
|
|
3036
|
+
"name": "value",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "string"
|
|
3039
|
+
},
|
|
3040
|
+
"default": "\"\"",
|
|
3041
|
+
"description": "Current text.",
|
|
3042
|
+
"fieldName": "value"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "multiline",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "boolean"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "false",
|
|
3050
|
+
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
3051
|
+
"fieldName": "multiline"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "placeholder",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "\"\"",
|
|
3059
|
+
"description": "Muted placeholder text shown when `value` is empty, and as the input's placeholder.",
|
|
3060
|
+
"fieldName": "placeholder"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"name": "readonly",
|
|
3064
|
+
"type": {
|
|
3065
|
+
"text": "boolean"
|
|
3066
|
+
},
|
|
3067
|
+
"default": "false",
|
|
3068
|
+
"description": "Disables entering edit mode.",
|
|
3069
|
+
"fieldName": "readonly"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "label",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"default": "\"\"",
|
|
3077
|
+
"description": "`aria-label` applied to the input/textarea.",
|
|
3078
|
+
"fieldName": "label"
|
|
3079
|
+
}
|
|
3080
|
+
],
|
|
3081
|
+
"superclass": {
|
|
3082
|
+
"name": "LitElement",
|
|
3083
|
+
"package": "lit"
|
|
3084
|
+
},
|
|
3085
|
+
"tagName": "editable-text",
|
|
3086
|
+
"customElement": true
|
|
3087
|
+
}
|
|
3088
|
+
],
|
|
3089
|
+
"exports": [
|
|
3090
|
+
{
|
|
3091
|
+
"kind": "js",
|
|
3092
|
+
"name": "EditableText",
|
|
3093
|
+
"declaration": {
|
|
3094
|
+
"name": "EditableText",
|
|
3095
|
+
"module": "src/editable-text.ts"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "custom-element-definition",
|
|
3100
|
+
"name": "editable-text",
|
|
3101
|
+
"declaration": {
|
|
3102
|
+
"name": "EditableText",
|
|
3103
|
+
"module": "src/editable-text.ts"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "javascript-module",
|
|
3110
|
+
"path": "src/form-select.ts",
|
|
3111
|
+
"declarations": [
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "class",
|
|
3114
|
+
"description": "A styled dropdown select: a trigger button showing the current option's\nlabel, opening a listbox popover on click. Drop-in generic replacement for\na native `<select>` wherever consistent cross-browser styling and a\n`change` event carrying `{ value }` are wanted (e.g. a task's status\npicker).\n\nThe trigger fills its host's width (`justify-content: space-between`\npushes the chevron to the far edge), but the host itself stays\n`display: inline-block` — so usages that never size the host (a filter\nbar, a status picker) keep shrink-to-fit auto-width unchanged. To make an\ninstance full-width, size the host itself: `form-select { width: 100%; }`.\n\nSet `searchable` to replace the button trigger with an editable combobox\nthat filters the predefined options by case-insensitive label infix. Typed\ntext is only a query: `value` changes exclusively when an actual option is\nselected, and an uncommitted query is discarded when the list closes.\nEach option may also provide a pre-rendered `icon` and square `iconSize`;\niconless options reserve no leading space.",
|
|
3115
|
+
"name": "FormSelect",
|
|
3116
|
+
"members": [
|
|
3117
|
+
{
|
|
3118
|
+
"kind": "field",
|
|
3119
|
+
"name": "options",
|
|
3120
|
+
"type": {
|
|
3121
|
+
"text": "SelectOption[]"
|
|
3122
|
+
},
|
|
3123
|
+
"default": "[]",
|
|
3124
|
+
"description": "The full list of selectable options."
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"kind": "field",
|
|
3128
|
+
"name": "value",
|
|
3129
|
+
"type": {
|
|
3130
|
+
"text": "string"
|
|
3131
|
+
},
|
|
3132
|
+
"default": "\"\"",
|
|
3133
|
+
"description": "Currently selected value; must match one of `options[].value`.",
|
|
3134
|
+
"attribute": "value"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "field",
|
|
3138
|
+
"name": "label",
|
|
3139
|
+
"type": {
|
|
3140
|
+
"text": "string"
|
|
3141
|
+
},
|
|
3142
|
+
"default": "\"\"",
|
|
3143
|
+
"description": "`aria-label` applied to the trigger button.",
|
|
3144
|
+
"attribute": "label"
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "field",
|
|
3148
|
+
"name": "disabled",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
"default": "false",
|
|
3153
|
+
"description": "Disables the trigger, preventing the popover from opening.",
|
|
3154
|
+
"attribute": "disabled"
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"kind": "field",
|
|
3158
|
+
"name": "searchable",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "boolean"
|
|
3161
|
+
},
|
|
3162
|
+
"default": "false",
|
|
3163
|
+
"description": "Enables editable, case-insensitive infix filtering by option label.\nTyped text never becomes the selected `value`.",
|
|
3164
|
+
"attribute": "searchable",
|
|
3165
|
+
"reflects": true
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"kind": "field",
|
|
3169
|
+
"name": "_open",
|
|
3170
|
+
"type": {
|
|
3171
|
+
"text": "boolean"
|
|
3172
|
+
},
|
|
3173
|
+
"privacy": "private",
|
|
3174
|
+
"default": "false"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"kind": "field",
|
|
3178
|
+
"name": "_activeIndex",
|
|
3179
|
+
"type": {
|
|
3180
|
+
"text": "number"
|
|
3181
|
+
},
|
|
3182
|
+
"privacy": "private",
|
|
3183
|
+
"default": "-1"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "field",
|
|
3187
|
+
"name": "_query",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "string | null"
|
|
3190
|
+
},
|
|
3191
|
+
"privacy": "private",
|
|
3192
|
+
"default": "null"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "field",
|
|
3196
|
+
"name": "#listboxPointerDown",
|
|
3197
|
+
"privacy": "private",
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "boolean"
|
|
3200
|
+
},
|
|
3201
|
+
"default": "false"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"kind": "field",
|
|
3205
|
+
"name": "#suppressNextBlur",
|
|
3206
|
+
"privacy": "private",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "boolean"
|
|
3209
|
+
},
|
|
3210
|
+
"default": "false"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"kind": "field",
|
|
3214
|
+
"name": "#restoringSearchFocus",
|
|
3215
|
+
"privacy": "private",
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
},
|
|
3219
|
+
"default": "false"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"kind": "field",
|
|
3223
|
+
"name": "#searchSelection",
|
|
3224
|
+
"privacy": "private",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "[number | null, number | null] | null"
|
|
3227
|
+
},
|
|
3228
|
+
"default": "null"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "#isComposing",
|
|
3233
|
+
"privacy": "private",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "boolean"
|
|
3236
|
+
},
|
|
3237
|
+
"default": "false"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "field",
|
|
3241
|
+
"name": "#compositionJustEnded",
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"type": {
|
|
3244
|
+
"text": "boolean"
|
|
3245
|
+
},
|
|
3246
|
+
"default": "false"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "field",
|
|
3250
|
+
"name": "#compositionEndTimer",
|
|
3251
|
+
"privacy": "private",
|
|
3252
|
+
"type": {
|
|
3253
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3254
|
+
},
|
|
3255
|
+
"default": "null"
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "field",
|
|
3259
|
+
"name": "#blurTimer",
|
|
3260
|
+
"privacy": "private",
|
|
3261
|
+
"type": {
|
|
3262
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3263
|
+
},
|
|
3264
|
+
"default": "null"
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"kind": "field",
|
|
3268
|
+
"name": "#onWindowMousedown",
|
|
3269
|
+
"privacy": "private"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "method",
|
|
3273
|
+
"name": "#toggle",
|
|
3274
|
+
"privacy": "private",
|
|
3275
|
+
"return": {
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "void"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"kind": "method",
|
|
3283
|
+
"name": "#open",
|
|
3284
|
+
"privacy": "private",
|
|
3285
|
+
"return": {
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "void"
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"kind": "method",
|
|
3293
|
+
"name": "#close",
|
|
3294
|
+
"privacy": "private",
|
|
3295
|
+
"return": {
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "void"
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "method",
|
|
3303
|
+
"name": "#initialActiveIndex",
|
|
3304
|
+
"privacy": "private",
|
|
3305
|
+
"return": {
|
|
3306
|
+
"type": {
|
|
3307
|
+
"text": "number"
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "method",
|
|
3313
|
+
"name": "#visibleOptions",
|
|
3314
|
+
"privacy": "private",
|
|
3315
|
+
"return": {
|
|
3316
|
+
"type": {
|
|
3317
|
+
"text": "SelectOption[]"
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"kind": "method",
|
|
3323
|
+
"name": "#select",
|
|
3324
|
+
"privacy": "private",
|
|
3325
|
+
"return": {
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "void"
|
|
3328
|
+
}
|
|
3329
|
+
},
|
|
3330
|
+
"parameters": [
|
|
3331
|
+
{
|
|
3332
|
+
"name": "option",
|
|
3333
|
+
"type": {
|
|
3334
|
+
"text": "SelectOption"
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
]
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"kind": "method",
|
|
3341
|
+
"name": "#onTriggerKeydown",
|
|
3342
|
+
"privacy": "private",
|
|
3343
|
+
"return": {
|
|
3344
|
+
"type": {
|
|
3345
|
+
"text": "void"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"parameters": [
|
|
3349
|
+
{
|
|
3350
|
+
"name": "e",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "KeyboardEvent"
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
]
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "method",
|
|
3359
|
+
"name": "#moveActive",
|
|
3360
|
+
"privacy": "private",
|
|
3361
|
+
"return": {
|
|
3362
|
+
"type": {
|
|
3363
|
+
"text": "void"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
"parameters": [
|
|
3367
|
+
{
|
|
3368
|
+
"name": "delta",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "number"
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
]
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"kind": "method",
|
|
3377
|
+
"name": "#confirmActive",
|
|
3378
|
+
"privacy": "private",
|
|
3379
|
+
"return": {
|
|
3380
|
+
"type": {
|
|
3381
|
+
"text": "void"
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"kind": "method",
|
|
3387
|
+
"name": "#onSearchFocus",
|
|
3388
|
+
"privacy": "private",
|
|
3389
|
+
"return": {
|
|
3390
|
+
"type": {
|
|
3391
|
+
"text": "void"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"parameters": [
|
|
3395
|
+
{
|
|
3396
|
+
"name": "e",
|
|
3397
|
+
"type": {
|
|
3398
|
+
"text": "FocusEvent"
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
]
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"kind": "method",
|
|
3405
|
+
"name": "#onSearchClick",
|
|
3406
|
+
"privacy": "private",
|
|
3407
|
+
"return": {
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "void"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"parameters": [
|
|
3413
|
+
{
|
|
3414
|
+
"name": "e",
|
|
3415
|
+
"type": {
|
|
3416
|
+
"text": "MouseEvent"
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
]
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "method",
|
|
3423
|
+
"name": "#onSearchMousedown",
|
|
3424
|
+
"privacy": "private",
|
|
3425
|
+
"return": {
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "void"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
"parameters": [
|
|
3431
|
+
{
|
|
3432
|
+
"name": "e",
|
|
3433
|
+
"type": {
|
|
3434
|
+
"text": "MouseEvent"
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
]
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"kind": "method",
|
|
3441
|
+
"name": "#onSearchInput",
|
|
3442
|
+
"privacy": "private",
|
|
3443
|
+
"return": {
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "void"
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
"parameters": [
|
|
3449
|
+
{
|
|
3450
|
+
"name": "e",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "InputEvent"
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
]
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"kind": "method",
|
|
3459
|
+
"name": "#onSearchKeydown",
|
|
3460
|
+
"privacy": "private",
|
|
3461
|
+
"return": {
|
|
3462
|
+
"type": {
|
|
3463
|
+
"text": "void"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
3466
|
+
"parameters": [
|
|
3467
|
+
{
|
|
3468
|
+
"name": "e",
|
|
3469
|
+
"type": {
|
|
3470
|
+
"text": "KeyboardEvent"
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
]
|
|
2487
3474
|
},
|
|
2488
3475
|
{
|
|
2489
|
-
"kind": "
|
|
2490
|
-
"name": "
|
|
2491
|
-
"type": {
|
|
2492
|
-
"text": "boolean"
|
|
2493
|
-
},
|
|
3476
|
+
"kind": "method",
|
|
3477
|
+
"name": "#onSearchBlur",
|
|
2494
3478
|
"privacy": "private",
|
|
2495
|
-
"
|
|
3479
|
+
"return": {
|
|
3480
|
+
"type": {
|
|
3481
|
+
"text": "void"
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
2496
3484
|
},
|
|
2497
3485
|
{
|
|
2498
|
-
"kind": "
|
|
2499
|
-
"name": "
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "number"
|
|
2502
|
-
},
|
|
3486
|
+
"kind": "method",
|
|
3487
|
+
"name": "#focusSearchInput",
|
|
2503
3488
|
"privacy": "private",
|
|
2504
|
-
"
|
|
3489
|
+
"return": {
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "void"
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
"parameters": [
|
|
3495
|
+
{
|
|
3496
|
+
"name": "e",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "MouseEvent"
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
]
|
|
2505
3502
|
},
|
|
2506
3503
|
{
|
|
2507
|
-
"kind": "
|
|
2508
|
-
"name": "#
|
|
2509
|
-
"privacy": "private"
|
|
3504
|
+
"kind": "method",
|
|
3505
|
+
"name": "#onCompositionStart",
|
|
3506
|
+
"privacy": "private",
|
|
3507
|
+
"return": {
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "void"
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
2510
3512
|
},
|
|
2511
3513
|
{
|
|
2512
3514
|
"kind": "method",
|
|
2513
|
-
"name": "#
|
|
3515
|
+
"name": "#onCompositionEnd",
|
|
2514
3516
|
"privacy": "private",
|
|
2515
3517
|
"return": {
|
|
2516
3518
|
"type": {
|
|
@@ -2520,7 +3522,7 @@
|
|
|
2520
3522
|
},
|
|
2521
3523
|
{
|
|
2522
3524
|
"kind": "method",
|
|
2523
|
-
"name": "#
|
|
3525
|
+
"name": "#onListboxMousedown",
|
|
2524
3526
|
"privacy": "private",
|
|
2525
3527
|
"return": {
|
|
2526
3528
|
"type": {
|
|
@@ -2529,16 +3531,16 @@
|
|
|
2529
3531
|
},
|
|
2530
3532
|
"parameters": [
|
|
2531
3533
|
{
|
|
2532
|
-
"name": "
|
|
3534
|
+
"name": "e",
|
|
2533
3535
|
"type": {
|
|
2534
|
-
"text": "
|
|
3536
|
+
"text": "MouseEvent"
|
|
2535
3537
|
}
|
|
2536
3538
|
}
|
|
2537
3539
|
]
|
|
2538
3540
|
},
|
|
2539
3541
|
{
|
|
2540
3542
|
"kind": "method",
|
|
2541
|
-
"name": "#
|
|
3543
|
+
"name": "#onOptionMousedown",
|
|
2542
3544
|
"privacy": "private",
|
|
2543
3545
|
"return": {
|
|
2544
3546
|
"type": {
|
|
@@ -2549,43 +3551,95 @@
|
|
|
2549
3551
|
{
|
|
2550
3552
|
"name": "e",
|
|
2551
3553
|
"type": {
|
|
2552
|
-
"text": "
|
|
3554
|
+
"text": "MouseEvent"
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"name": "option",
|
|
3559
|
+
"type": {
|
|
3560
|
+
"text": "SelectOption"
|
|
2553
3561
|
}
|
|
2554
3562
|
}
|
|
2555
3563
|
]
|
|
2556
3564
|
},
|
|
2557
3565
|
{
|
|
2558
3566
|
"kind": "method",
|
|
2559
|
-
"name": "#
|
|
3567
|
+
"name": "#optionIconSize",
|
|
2560
3568
|
"privacy": "private",
|
|
2561
3569
|
"return": {
|
|
2562
3570
|
"type": {
|
|
2563
|
-
"text": "
|
|
3571
|
+
"text": "number"
|
|
2564
3572
|
}
|
|
2565
3573
|
},
|
|
2566
3574
|
"parameters": [
|
|
2567
3575
|
{
|
|
2568
|
-
"name": "
|
|
3576
|
+
"name": "option",
|
|
2569
3577
|
"type": {
|
|
2570
|
-
"text": "
|
|
3578
|
+
"text": "SelectOption"
|
|
2571
3579
|
}
|
|
2572
3580
|
}
|
|
2573
3581
|
]
|
|
2574
3582
|
},
|
|
2575
3583
|
{
|
|
2576
3584
|
"kind": "method",
|
|
2577
|
-
"name": "#
|
|
3585
|
+
"name": "#renderOptionIcon",
|
|
2578
3586
|
"privacy": "private",
|
|
2579
|
-
"
|
|
2580
|
-
|
|
2581
|
-
"
|
|
3587
|
+
"parameters": [
|
|
3588
|
+
{
|
|
3589
|
+
"name": "option",
|
|
3590
|
+
"type": {
|
|
3591
|
+
"text": "SelectOption"
|
|
3592
|
+
}
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"name": "className",
|
|
3596
|
+
"default": "\"option-icon\""
|
|
2582
3597
|
}
|
|
2583
|
-
|
|
3598
|
+
]
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"kind": "method",
|
|
3602
|
+
"name": "#renderOptionContent",
|
|
3603
|
+
"privacy": "private",
|
|
3604
|
+
"parameters": [
|
|
3605
|
+
{
|
|
3606
|
+
"name": "option",
|
|
3607
|
+
"type": {
|
|
3608
|
+
"text": "SelectOption"
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
]
|
|
2584
3612
|
},
|
|
2585
3613
|
{
|
|
2586
3614
|
"kind": "method",
|
|
2587
3615
|
"name": "renderListbox",
|
|
2588
3616
|
"privacy": "private"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"kind": "method",
|
|
3620
|
+
"name": "renderSearchTrigger",
|
|
3621
|
+
"privacy": "private",
|
|
3622
|
+
"parameters": [
|
|
3623
|
+
{
|
|
3624
|
+
"name": "current",
|
|
3625
|
+
"type": {
|
|
3626
|
+
"text": "SelectOption | undefined"
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
]
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"kind": "method",
|
|
3633
|
+
"name": "renderButtonTrigger",
|
|
3634
|
+
"privacy": "private",
|
|
3635
|
+
"parameters": [
|
|
3636
|
+
{
|
|
3637
|
+
"name": "current",
|
|
3638
|
+
"type": {
|
|
3639
|
+
"text": "SelectOption | undefined"
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
]
|
|
2589
3643
|
}
|
|
2590
3644
|
],
|
|
2591
3645
|
"events": [
|
|
@@ -2624,6 +3678,15 @@
|
|
|
2624
3678
|
"default": "false",
|
|
2625
3679
|
"description": "Disables the trigger, preventing the popover from opening.",
|
|
2626
3680
|
"fieldName": "disabled"
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
"name": "searchable",
|
|
3684
|
+
"type": {
|
|
3685
|
+
"text": "boolean"
|
|
3686
|
+
},
|
|
3687
|
+
"default": "false",
|
|
3688
|
+
"description": "Enables editable, case-insensitive infix filtering by option label.\nTyped text never becomes the selected `value`.",
|
|
3689
|
+
"fieldName": "searchable"
|
|
2627
3690
|
}
|
|
2628
3691
|
],
|
|
2629
3692
|
"superclass": {
|
|
@@ -3985,14 +5048,6 @@
|
|
|
3985
5048
|
"module": "./map-circle.js"
|
|
3986
5049
|
}
|
|
3987
5050
|
},
|
|
3988
|
-
{
|
|
3989
|
-
"kind": "js",
|
|
3990
|
-
"name": "MapPoint",
|
|
3991
|
-
"declaration": {
|
|
3992
|
-
"name": "MapPoint",
|
|
3993
|
-
"module": "./map-point.js"
|
|
3994
|
-
}
|
|
3995
|
-
},
|
|
3996
5051
|
{
|
|
3997
5052
|
"kind": "js",
|
|
3998
5053
|
"name": "RadioCards",
|
|
@@ -4185,6 +5240,30 @@
|
|
|
4185
5240
|
"module": "./frame-box.js"
|
|
4186
5241
|
}
|
|
4187
5242
|
},
|
|
5243
|
+
{
|
|
5244
|
+
"kind": "js",
|
|
5245
|
+
"name": "CalendarEntry",
|
|
5246
|
+
"declaration": {
|
|
5247
|
+
"name": "CalendarEntry",
|
|
5248
|
+
"module": "./calendar-entry.js"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
"kind": "js",
|
|
5253
|
+
"name": "CalendarMonth",
|
|
5254
|
+
"declaration": {
|
|
5255
|
+
"name": "CalendarMonth",
|
|
5256
|
+
"module": "./calendar-month.js"
|
|
5257
|
+
}
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"kind": "js",
|
|
5261
|
+
"name": "CalendarYear",
|
|
5262
|
+
"declaration": {
|
|
5263
|
+
"name": "CalendarYear",
|
|
5264
|
+
"module": "./calendar-year.js"
|
|
5265
|
+
}
|
|
5266
|
+
},
|
|
4188
5267
|
{
|
|
4189
5268
|
"kind": "js",
|
|
4190
5269
|
"name": "formatDuration",
|
|
@@ -4370,7 +5449,7 @@
|
|
|
4370
5449
|
"declarations": [
|
|
4371
5450
|
{
|
|
4372
5451
|
"kind": "class",
|
|
4373
|
-
"description": "A plain circular map marker: a light-to-dark gradient fill with a white\nouter ring, no point/tail (unlike `<map-pin>`) — for markers that don't\nneed to visually \"point\" at their exact coordinate. Purely a visual\nprimitive — it has no `mapbox-gl` (or any mapping library) dependency;\nthe consumer positions it, e.g. via `new mapboxgl.Marker({ element: el })`.",
|
|
5452
|
+
"description": "A plain circular map marker: a light-to-dark gradient fill with a white\nouter ring, no point/tail (unlike `<map-pin>`) — for markers that don't\nneed to visually \"point\" at their exact coordinate. Purely a visual\nprimitive — it has no `mapbox-gl` (or any mapping library) dependency;\nthe consumer positions it, e.g. via `new mapboxgl.Marker({ element: el })`.\nIt can also replace the former `<map-point>` dense-layer primitive: use\n`size=\"14\" ring-width=\"3\"`, leave the slot empty, and rasterize one marker\nper color for use as a map `icon-image`.",
|
|
4374
5453
|
"name": "MapCircle",
|
|
4375
5454
|
"slots": [
|
|
4376
5455
|
{
|
|
@@ -4499,118 +5578,14 @@
|
|
|
4499
5578
|
"declarations": [
|
|
4500
5579
|
{
|
|
4501
5580
|
"kind": "class",
|
|
4502
|
-
"description": "A circular \"Apple Maps\"-style map pin: a light-to-dark gradient fill with\na slight point at the bottom. Purely a visual primitive — it has no\n`mapbox-gl` (or any mapping library) dependency; the consumer positions\nit, e.g. via `new mapboxgl.Marker({ element: pinEl })`.",
|
|
4503
|
-
"name": "MapPin",
|
|
4504
|
-
"slots": [
|
|
4505
|
-
{
|
|
4506
|
-
"description": "Badge content shown centered on the pin's circular head — a rank number, an emoji, a small icon.",
|
|
4507
|
-
"name": ""
|
|
4508
|
-
}
|
|
4509
|
-
],
|
|
4510
|
-
"members": [
|
|
4511
|
-
{
|
|
4512
|
-
"kind": "field",
|
|
4513
|
-
"name": "color",
|
|
4514
|
-
"type": {
|
|
4515
|
-
"text": "string"
|
|
4516
|
-
},
|
|
4517
|
-
"default": "\"#4f46e5\"",
|
|
4518
|
-
"description": "Fill color; the gradient's light (top) and dark (bottom) stops are derived from this.",
|
|
4519
|
-
"attribute": "color"
|
|
4520
|
-
},
|
|
4521
|
-
{
|
|
4522
|
-
"kind": "field",
|
|
4523
|
-
"name": "size",
|
|
4524
|
-
"type": {
|
|
4525
|
-
"text": "number"
|
|
4526
|
-
},
|
|
4527
|
-
"default": "32",
|
|
4528
|
-
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4529
|
-
"attribute": "size"
|
|
4530
|
-
},
|
|
4531
|
-
{
|
|
4532
|
-
"kind": "field",
|
|
4533
|
-
"name": "highlighted",
|
|
4534
|
-
"type": {
|
|
4535
|
-
"text": "boolean"
|
|
4536
|
-
},
|
|
4537
|
-
"default": "false",
|
|
4538
|
-
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
4539
|
-
"attribute": "highlighted",
|
|
4540
|
-
"reflects": true
|
|
4541
|
-
},
|
|
4542
|
-
{
|
|
4543
|
-
"kind": "field",
|
|
4544
|
-
"name": "_gradId",
|
|
4545
|
-
"privacy": "private",
|
|
4546
|
-
"readonly": true,
|
|
4547
|
-
"default": "`map-pin-grad-${gradientIdCounter++}`"
|
|
4548
|
-
}
|
|
4549
|
-
],
|
|
4550
|
-
"attributes": [
|
|
4551
|
-
{
|
|
4552
|
-
"name": "color",
|
|
4553
|
-
"type": {
|
|
4554
|
-
"text": "string"
|
|
4555
|
-
},
|
|
4556
|
-
"default": "\"#4f46e5\"",
|
|
4557
|
-
"description": "Fill color; the gradient's light (top) and dark (bottom) stops are derived from this.",
|
|
4558
|
-
"fieldName": "color"
|
|
4559
|
-
},
|
|
4560
|
-
{
|
|
4561
|
-
"name": "size",
|
|
4562
|
-
"type": {
|
|
4563
|
-
"text": "number"
|
|
4564
|
-
},
|
|
4565
|
-
"default": "32",
|
|
4566
|
-
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4567
|
-
"fieldName": "size"
|
|
4568
|
-
},
|
|
4569
|
-
{
|
|
4570
|
-
"name": "highlighted",
|
|
4571
|
-
"type": {
|
|
4572
|
-
"text": "boolean"
|
|
4573
|
-
},
|
|
4574
|
-
"default": "false",
|
|
4575
|
-
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
4576
|
-
"fieldName": "highlighted"
|
|
4577
|
-
}
|
|
4578
|
-
],
|
|
4579
|
-
"superclass": {
|
|
4580
|
-
"name": "LitElement",
|
|
4581
|
-
"package": "lit"
|
|
4582
|
-
},
|
|
4583
|
-
"tagName": "map-pin",
|
|
4584
|
-
"customElement": true
|
|
4585
|
-
}
|
|
4586
|
-
],
|
|
4587
|
-
"exports": [
|
|
4588
|
-
{
|
|
4589
|
-
"kind": "js",
|
|
4590
|
-
"name": "MapPin",
|
|
4591
|
-
"declaration": {
|
|
4592
|
-
"name": "MapPin",
|
|
4593
|
-
"module": "src/map-pin.ts"
|
|
4594
|
-
}
|
|
4595
|
-
},
|
|
4596
|
-
{
|
|
4597
|
-
"kind": "custom-element-definition",
|
|
4598
|
-
"name": "map-pin",
|
|
4599
|
-
"declaration": {
|
|
4600
|
-
"name": "MapPin",
|
|
4601
|
-
"module": "src/map-pin.ts"
|
|
4602
|
-
}
|
|
4603
|
-
}
|
|
4604
|
-
]
|
|
4605
|
-
},
|
|
4606
|
-
{
|
|
4607
|
-
"kind": "javascript-module",
|
|
4608
|
-
"path": "src/map-point.ts",
|
|
4609
|
-
"declarations": [
|
|
4610
|
-
{
|
|
4611
|
-
"kind": "class",
|
|
4612
|
-
"description": "A small plain-colored map marker for dense point layers (transit stops,\namenities, hazard points, etc.): a light-to-dark gradient fill with a thin\nwhite ring, no badge/content slot — every instance on a given layer shares\nthe same look, so there's nothing to render per-feature (unlike\n`<map-pin>`/`<map-circle>`, which carry per-marker slotted content).\nPurely a visual primitive — it has no `mapbox-gl` (or any mapping library)\ndependency; typically rasterized once per color and used as a Mapbox\n`icon-image` on a `symbol` layer rather than mounted as individual DOM\nmarkers, so a whole layer's worth of points shares one icon image.",
|
|
4613
|
-
"name": "MapPoint",
|
|
5581
|
+
"description": "A circular \"Apple Maps\"-style map pin: a light-to-dark gradient fill with\na slight point at the bottom. Purely a visual primitive — it has no\n`mapbox-gl` (or any mapping library) dependency; the consumer positions\nit, e.g. via `new mapboxgl.Marker({ element: pinEl })`.",
|
|
5582
|
+
"name": "MapPin",
|
|
5583
|
+
"slots": [
|
|
5584
|
+
{
|
|
5585
|
+
"description": "Badge content shown centered on the pin's circular head — a rank number, an emoji, a small icon.",
|
|
5586
|
+
"name": ""
|
|
5587
|
+
}
|
|
5588
|
+
],
|
|
4614
5589
|
"members": [
|
|
4615
5590
|
{
|
|
4616
5591
|
"kind": "field",
|
|
@@ -4628,26 +5603,27 @@
|
|
|
4628
5603
|
"type": {
|
|
4629
5604
|
"text": "number"
|
|
4630
5605
|
},
|
|
4631
|
-
"default": "
|
|
4632
|
-
"description": "Diameter, in CSS pixels.",
|
|
5606
|
+
"default": "32",
|
|
5607
|
+
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4633
5608
|
"attribute": "size"
|
|
4634
5609
|
},
|
|
4635
5610
|
{
|
|
4636
5611
|
"kind": "field",
|
|
4637
|
-
"name": "
|
|
5612
|
+
"name": "highlighted",
|
|
4638
5613
|
"type": {
|
|
4639
|
-
"text": "
|
|
5614
|
+
"text": "boolean"
|
|
4640
5615
|
},
|
|
4641
|
-
"default": "
|
|
4642
|
-
"description": "
|
|
4643
|
-
"attribute": "
|
|
5616
|
+
"default": "false",
|
|
5617
|
+
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
5618
|
+
"attribute": "highlighted",
|
|
5619
|
+
"reflects": true
|
|
4644
5620
|
},
|
|
4645
5621
|
{
|
|
4646
5622
|
"kind": "field",
|
|
4647
5623
|
"name": "_gradId",
|
|
4648
5624
|
"privacy": "private",
|
|
4649
5625
|
"readonly": true,
|
|
4650
|
-
"default": "`map-
|
|
5626
|
+
"default": "`map-pin-grad-${gradientIdCounter++}`"
|
|
4651
5627
|
}
|
|
4652
5628
|
],
|
|
4653
5629
|
"attributes": [
|
|
@@ -4665,43 +5641,43 @@
|
|
|
4665
5641
|
"type": {
|
|
4666
5642
|
"text": "number"
|
|
4667
5643
|
},
|
|
4668
|
-
"default": "
|
|
4669
|
-
"description": "Diameter, in CSS pixels.",
|
|
5644
|
+
"default": "32",
|
|
5645
|
+
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4670
5646
|
"fieldName": "size"
|
|
4671
5647
|
},
|
|
4672
5648
|
{
|
|
4673
|
-
"name": "
|
|
5649
|
+
"name": "highlighted",
|
|
4674
5650
|
"type": {
|
|
4675
|
-
"text": "
|
|
5651
|
+
"text": "boolean"
|
|
4676
5652
|
},
|
|
4677
|
-
"default": "
|
|
4678
|
-
"description": "
|
|
4679
|
-
"fieldName": "
|
|
5653
|
+
"default": "false",
|
|
5654
|
+
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
5655
|
+
"fieldName": "highlighted"
|
|
4680
5656
|
}
|
|
4681
5657
|
],
|
|
4682
5658
|
"superclass": {
|
|
4683
5659
|
"name": "LitElement",
|
|
4684
5660
|
"package": "lit"
|
|
4685
5661
|
},
|
|
4686
|
-
"tagName": "map-
|
|
5662
|
+
"tagName": "map-pin",
|
|
4687
5663
|
"customElement": true
|
|
4688
5664
|
}
|
|
4689
5665
|
],
|
|
4690
5666
|
"exports": [
|
|
4691
5667
|
{
|
|
4692
5668
|
"kind": "js",
|
|
4693
|
-
"name": "
|
|
5669
|
+
"name": "MapPin",
|
|
4694
5670
|
"declaration": {
|
|
4695
|
-
"name": "
|
|
4696
|
-
"module": "src/map-
|
|
5671
|
+
"name": "MapPin",
|
|
5672
|
+
"module": "src/map-pin.ts"
|
|
4697
5673
|
}
|
|
4698
5674
|
},
|
|
4699
5675
|
{
|
|
4700
5676
|
"kind": "custom-element-definition",
|
|
4701
|
-
"name": "map-
|
|
5677
|
+
"name": "map-pin",
|
|
4702
5678
|
"declaration": {
|
|
4703
|
-
"name": "
|
|
4704
|
-
"module": "src/map-
|
|
5679
|
+
"name": "MapPin",
|
|
5680
|
+
"module": "src/map-pin.ts"
|
|
4705
5681
|
}
|
|
4706
5682
|
}
|
|
4707
5683
|
]
|
|
@@ -6709,7 +7685,7 @@
|
|
|
6709
7685
|
"type": {
|
|
6710
7686
|
"text": "Record<string, string>"
|
|
6711
7687
|
},
|
|
6712
|
-
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-success\": \"#16a34a\", // green-600 \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-size\": \"0.875rem\", \"--ui-font-size-sm\": \"0.75rem\", }",
|
|
7688
|
+
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-success\": \"#16a34a\", // green-600 \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-size\": \"0.875rem\", \"--ui-font-size-sm\": \"0.75rem\", \"--ui-font-size-xs\": \"0.6875rem\", }",
|
|
6713
7689
|
"description": "Design token values, sourced from Tailwind v4's default theme palette.\nEach entry maps a `--ui-*` custom property name to its default value.\nThese are the same values baked in as `var(--ui-*, <fallback>)` fallbacks\nthroughout component styles, so components render correctly with zero\nexternal CSS. Consumers may override any of these by setting the custom\nproperty on `:root` or an ancestor element (see `tokens.css`)."
|
|
6714
7690
|
},
|
|
6715
7691
|
{
|
|
@@ -6718,7 +7694,7 @@
|
|
|
6718
7694
|
"type": {
|
|
6719
7695
|
"text": "Record<string, string>"
|
|
6720
7696
|
},
|
|
6721
|
-
"default": "{ \"--ui-primary\": \"#6366f1\", // indigo-500 \"--ui-primary-hover\": \"#818cf8\", // indigo-400 \"--ui-danger\": \"#ef4444\", // red-500 \"--ui-danger-hover\": \"#f87171\", // red-400 \"--ui-success\": \"#22c55e\", // green-500 \"--ui-text\": \"#f1f5f9\", // slate-100 \"--ui-text-muted\": \"#94a3b8\", // slate-400 \"--ui-border\": \"#334155\", // slate-700 \"--ui-surface\": \"#0f172a\", // slate-900 \"--ui-surface-muted\": \"#1e293b\", // slate-800 \"--ui-overlay\": \"rgb(2 6 23 / 0.6)\", // slate-950 / 60% \"--ui-focus-ring\": \"0 0 0 3px rgb(99 102 241 / 0.45)\", }",
|
|
7697
|
+
"default": "{ \"--ui-primary\": \"#6366f1\", // indigo-500 \"--ui-primary-hover\": \"#818cf8\", // indigo-400 \"--ui-danger\": \"#ef4444\", // red-500 \"--ui-danger-hover\": \"#f87171\", // red-400 \"--ui-success\": \"#22c55e\", // green-500 \"--ui-text\": \"#f1f5f9\", // slate-100 \"--ui-text-muted\": \"#94a3b8\", // slate-400 \"--ui-border\": \"#334155\", // slate-700 \"--ui-surface\": \"#0f172a\", // slate-900 \"--ui-surface-muted\": \"#1e293b\", // slate-800 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.12)\", \"--ui-overlay\": \"rgb(2 6 23 / 0.6)\", // slate-950 / 60% \"--ui-focus-ring\": \"0 0 0 3px rgb(99 102 241 / 0.45)\", }",
|
|
6722
7698
|
"description": "Dark-mode overrides for the same `--ui-*` custom properties, applied by\n`tokens.css` via `@media (prefers-color-scheme: dark)` and `[data-theme]`\n(see generate-tokens-css.mjs). Same Tailwind slate scale as the light\npalette, inverted, with primary/danger/success lightened one step (500\ninstead of 600) for sufficient contrast against dark surfaces. Shape/type\ntokens are theme-independent and not repeated here."
|
|
6723
7699
|
},
|
|
6724
7700
|
{
|
|
@@ -7092,6 +8068,300 @@
|
|
|
7092
8068
|
}
|
|
7093
8069
|
]
|
|
7094
8070
|
},
|
|
8071
|
+
{
|
|
8072
|
+
"kind": "javascript-module",
|
|
8073
|
+
"path": "src/utils/calendar.ts",
|
|
8074
|
+
"declarations": [
|
|
8075
|
+
{
|
|
8076
|
+
"kind": "variable",
|
|
8077
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8078
|
+
"type": {
|
|
8079
|
+
"text": "array"
|
|
8080
|
+
},
|
|
8081
|
+
"default": "[\"start\", \"end\", \"label\", \"color\", \"href\", \"slot\"]",
|
|
8082
|
+
"description": "Attributes whose mutations can change a rendered calendar entry."
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"kind": "function",
|
|
8086
|
+
"name": "daysInMonth",
|
|
8087
|
+
"return": {
|
|
8088
|
+
"type": {
|
|
8089
|
+
"text": "number"
|
|
8090
|
+
}
|
|
8091
|
+
},
|
|
8092
|
+
"parameters": [
|
|
8093
|
+
{
|
|
8094
|
+
"name": "year",
|
|
8095
|
+
"type": {
|
|
8096
|
+
"text": "number"
|
|
8097
|
+
}
|
|
8098
|
+
},
|
|
8099
|
+
{
|
|
8100
|
+
"name": "month",
|
|
8101
|
+
"type": {
|
|
8102
|
+
"text": "number"
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
],
|
|
8106
|
+
"description": "Number of days in `month` (1-12) of `year`, leap years included."
|
|
8107
|
+
},
|
|
8108
|
+
{
|
|
8109
|
+
"kind": "function",
|
|
8110
|
+
"name": "parseIsoDate",
|
|
8111
|
+
"return": {
|
|
8112
|
+
"type": {
|
|
8113
|
+
"text": "Date | null"
|
|
8114
|
+
}
|
|
8115
|
+
},
|
|
8116
|
+
"parameters": [
|
|
8117
|
+
{
|
|
8118
|
+
"name": "iso",
|
|
8119
|
+
"type": {
|
|
8120
|
+
"text": "string"
|
|
8121
|
+
}
|
|
8122
|
+
}
|
|
8123
|
+
],
|
|
8124
|
+
"description": "Parses `\"YYYY-MM-DD\"` as a local-midnight `Date`. Returns `null` for\nanything that doesn't match or doesn't round-trip (e.g. \"2026-02-30\") —\ndeliberately never uses `new Date(iso)`/`.toISOString()`, both of which\nare UTC-based and would silently shift the date in negative-UTC-offset\ntimezones."
|
|
8125
|
+
},
|
|
8126
|
+
{
|
|
8127
|
+
"kind": "function",
|
|
8128
|
+
"name": "toIsoDate",
|
|
8129
|
+
"return": {
|
|
8130
|
+
"type": {
|
|
8131
|
+
"text": "string"
|
|
8132
|
+
}
|
|
8133
|
+
},
|
|
8134
|
+
"parameters": [
|
|
8135
|
+
{
|
|
8136
|
+
"name": "date",
|
|
8137
|
+
"type": {
|
|
8138
|
+
"text": "Date"
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
],
|
|
8142
|
+
"description": "Formats a `Date`'s local year/month/day as `\"YYYY-MM-DD\"`."
|
|
8143
|
+
},
|
|
8144
|
+
{
|
|
8145
|
+
"kind": "function",
|
|
8146
|
+
"name": "monthName",
|
|
8147
|
+
"return": {
|
|
8148
|
+
"type": {
|
|
8149
|
+
"text": "string"
|
|
8150
|
+
}
|
|
8151
|
+
},
|
|
8152
|
+
"parameters": [
|
|
8153
|
+
{
|
|
8154
|
+
"name": "month",
|
|
8155
|
+
"type": {
|
|
8156
|
+
"text": "number"
|
|
8157
|
+
}
|
|
8158
|
+
}
|
|
8159
|
+
],
|
|
8160
|
+
"description": "Locale-aware full month name for `month` (1-12)."
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
"kind": "variable",
|
|
8164
|
+
"name": "WEEKDAY_ABBR",
|
|
8165
|
+
"type": {
|
|
8166
|
+
"text": "readonly string[]"
|
|
8167
|
+
},
|
|
8168
|
+
"default": "[\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"]",
|
|
8169
|
+
"description": "Sunday-first weekday abbreviations, indexed by `Date.getDay()` (0 = Sunday)."
|
|
8170
|
+
},
|
|
8171
|
+
{
|
|
8172
|
+
"kind": "function",
|
|
8173
|
+
"name": "isWeekend",
|
|
8174
|
+
"return": {
|
|
8175
|
+
"type": {
|
|
8176
|
+
"text": "boolean"
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
"parameters": [
|
|
8180
|
+
{
|
|
8181
|
+
"name": "date",
|
|
8182
|
+
"type": {
|
|
8183
|
+
"text": "Date"
|
|
8184
|
+
}
|
|
8185
|
+
}
|
|
8186
|
+
],
|
|
8187
|
+
"description": "Whether `date` falls on a Saturday or Sunday, per JS's `Date.getDay()`\nconvention (Sunday = 0 .. Saturday = 6) — note this differs from Python's\n`calendar` module (Monday = 0), which the original reference\nimplementation this component's layout is based on used."
|
|
8188
|
+
},
|
|
8189
|
+
{
|
|
8190
|
+
"kind": "function",
|
|
8191
|
+
"name": "readCalendarEntryElement",
|
|
8192
|
+
"return": {
|
|
8193
|
+
"type": {
|
|
8194
|
+
"text": "CalendarEntryData"
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"parameters": [
|
|
8198
|
+
{
|
|
8199
|
+
"name": "el",
|
|
8200
|
+
"type": {
|
|
8201
|
+
"text": "CalendarEntry"
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
],
|
|
8205
|
+
"description": "Reads a `calendar-entry` element's properties and named text slots into plain data."
|
|
8206
|
+
},
|
|
8207
|
+
{
|
|
8208
|
+
"kind": "function",
|
|
8209
|
+
"name": "resolveEntry",
|
|
8210
|
+
"return": {
|
|
8211
|
+
"type": {
|
|
8212
|
+
"text": "ResolvedCalendarEntry | null"
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
"parameters": [
|
|
8216
|
+
{
|
|
8217
|
+
"name": "data",
|
|
8218
|
+
"type": {
|
|
8219
|
+
"text": "CalendarEntryData"
|
|
8220
|
+
}
|
|
8221
|
+
}
|
|
8222
|
+
],
|
|
8223
|
+
"description": "Resolves a `CalendarEntryData`'s date strings to `Date`s. Returns `null`\nwhen `start` is missing or unparseable — such entries are dropped\nsilently rather than thrown, since this reads declarative markup a\nconsumer authored, not validated user input. A blank `end` defaults to\n`start` (single-day entry); an `end` before `start` is clamped up to\n`start` rather than treated as an error."
|
|
8224
|
+
},
|
|
8225
|
+
{
|
|
8226
|
+
"kind": "function",
|
|
8227
|
+
"name": "overlapsRange",
|
|
8228
|
+
"return": {
|
|
8229
|
+
"type": {
|
|
8230
|
+
"text": "boolean"
|
|
8231
|
+
}
|
|
8232
|
+
},
|
|
8233
|
+
"parameters": [
|
|
8234
|
+
{
|
|
8235
|
+
"name": "entry",
|
|
8236
|
+
"type": {
|
|
8237
|
+
"text": "ResolvedCalendarEntry"
|
|
8238
|
+
}
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"name": "rangeStart",
|
|
8242
|
+
"type": {
|
|
8243
|
+
"text": "Date"
|
|
8244
|
+
}
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
"name": "rangeEnd",
|
|
8248
|
+
"type": {
|
|
8249
|
+
"text": "Date"
|
|
8250
|
+
}
|
|
8251
|
+
}
|
|
8252
|
+
],
|
|
8253
|
+
"description": "Whether `entry`'s inclusive date range intersects the inclusive `[rangeStart, rangeEnd]` range."
|
|
8254
|
+
},
|
|
8255
|
+
{
|
|
8256
|
+
"kind": "function",
|
|
8257
|
+
"name": "assignLanes",
|
|
8258
|
+
"return": {
|
|
8259
|
+
"type": {
|
|
8260
|
+
"text": "{\n entries: LanedEntry[];\n laneCount: number;\n}"
|
|
8261
|
+
}
|
|
8262
|
+
},
|
|
8263
|
+
"parameters": [
|
|
8264
|
+
{
|
|
8265
|
+
"name": "entries",
|
|
8266
|
+
"type": {
|
|
8267
|
+
"text": "ResolvedCalendarEntry[]"
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
],
|
|
8271
|
+
"description": "Assigns each entry a 0-based stacking lane via greedy interval\npartitioning (\"meeting rooms II\"): entries are sorted by start date, then\neach is placed in the lowest-numbered lane whose current occupant ends\nstrictly before the entry starts. Because entry ranges are\ninclusive-inclusive, an entry ending on day X and one starting on day X\nboth occupy day X and must not share a lane — hence the strict `<`.\n\nLane assignment is meant to be computed independently per `calendar-month`\n(from only the entries overlapping that month); an entry spanning a month\nboundary may therefore land in a different lane in adjacent months. This\nis an accepted v1 limitation, not a bug."
|
|
8272
|
+
}
|
|
8273
|
+
],
|
|
8274
|
+
"exports": [
|
|
8275
|
+
{
|
|
8276
|
+
"kind": "js",
|
|
8277
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8278
|
+
"declaration": {
|
|
8279
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8280
|
+
"module": "src/utils/calendar.ts"
|
|
8281
|
+
}
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
"kind": "js",
|
|
8285
|
+
"name": "daysInMonth",
|
|
8286
|
+
"declaration": {
|
|
8287
|
+
"name": "daysInMonth",
|
|
8288
|
+
"module": "src/utils/calendar.ts"
|
|
8289
|
+
}
|
|
8290
|
+
},
|
|
8291
|
+
{
|
|
8292
|
+
"kind": "js",
|
|
8293
|
+
"name": "parseIsoDate",
|
|
8294
|
+
"declaration": {
|
|
8295
|
+
"name": "parseIsoDate",
|
|
8296
|
+
"module": "src/utils/calendar.ts"
|
|
8297
|
+
}
|
|
8298
|
+
},
|
|
8299
|
+
{
|
|
8300
|
+
"kind": "js",
|
|
8301
|
+
"name": "toIsoDate",
|
|
8302
|
+
"declaration": {
|
|
8303
|
+
"name": "toIsoDate",
|
|
8304
|
+
"module": "src/utils/calendar.ts"
|
|
8305
|
+
}
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"kind": "js",
|
|
8309
|
+
"name": "monthName",
|
|
8310
|
+
"declaration": {
|
|
8311
|
+
"name": "monthName",
|
|
8312
|
+
"module": "src/utils/calendar.ts"
|
|
8313
|
+
}
|
|
8314
|
+
},
|
|
8315
|
+
{
|
|
8316
|
+
"kind": "js",
|
|
8317
|
+
"name": "WEEKDAY_ABBR",
|
|
8318
|
+
"declaration": {
|
|
8319
|
+
"name": "WEEKDAY_ABBR",
|
|
8320
|
+
"module": "src/utils/calendar.ts"
|
|
8321
|
+
}
|
|
8322
|
+
},
|
|
8323
|
+
{
|
|
8324
|
+
"kind": "js",
|
|
8325
|
+
"name": "isWeekend",
|
|
8326
|
+
"declaration": {
|
|
8327
|
+
"name": "isWeekend",
|
|
8328
|
+
"module": "src/utils/calendar.ts"
|
|
8329
|
+
}
|
|
8330
|
+
},
|
|
8331
|
+
{
|
|
8332
|
+
"kind": "js",
|
|
8333
|
+
"name": "readCalendarEntryElement",
|
|
8334
|
+
"declaration": {
|
|
8335
|
+
"name": "readCalendarEntryElement",
|
|
8336
|
+
"module": "src/utils/calendar.ts"
|
|
8337
|
+
}
|
|
8338
|
+
},
|
|
8339
|
+
{
|
|
8340
|
+
"kind": "js",
|
|
8341
|
+
"name": "resolveEntry",
|
|
8342
|
+
"declaration": {
|
|
8343
|
+
"name": "resolveEntry",
|
|
8344
|
+
"module": "src/utils/calendar.ts"
|
|
8345
|
+
}
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
"kind": "js",
|
|
8349
|
+
"name": "overlapsRange",
|
|
8350
|
+
"declaration": {
|
|
8351
|
+
"name": "overlapsRange",
|
|
8352
|
+
"module": "src/utils/calendar.ts"
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
{
|
|
8356
|
+
"kind": "js",
|
|
8357
|
+
"name": "assignLanes",
|
|
8358
|
+
"declaration": {
|
|
8359
|
+
"name": "assignLanes",
|
|
8360
|
+
"module": "src/utils/calendar.ts"
|
|
8361
|
+
}
|
|
8362
|
+
}
|
|
8363
|
+
]
|
|
8364
|
+
},
|
|
7095
8365
|
{
|
|
7096
8366
|
"kind": "javascript-module",
|
|
7097
8367
|
"path": "src/utils/color.ts",
|