@nordhealth/components 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1516 -1516
- package/lib/{Calendar-6f7a7d8f.js → Calendar-c826441a.js} +1 -1
- package/lib/{Calendar-6f7a7d8f.js.map → Calendar-c826441a.js.map} +1 -1
- package/lib/Calendar.js +1 -1
- package/lib/DatePicker.js +1 -1
- package/lib/Icon.js +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/bundle.js +2 -2
- package/lib/bundle.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -10330,267 +10330,368 @@
|
|
|
10330
10330
|
},
|
|
10331
10331
|
{
|
|
10332
10332
|
"kind": "javascript-module",
|
|
10333
|
-
"path": "src/
|
|
10333
|
+
"path": "src/tooltip/Tooltip.ts",
|
|
10334
10334
|
"declarations": [
|
|
10335
10335
|
{
|
|
10336
10336
|
"kind": "class",
|
|
10337
|
-
"description": "
|
|
10338
|
-
"name": "
|
|
10337
|
+
"description": "Tooltips are floating containers for displaying additional information\nfor the currently focused element. A tooltip can be useful when you want\nto e.g. give a hint about an existing Command Menu shortcut.",
|
|
10338
|
+
"name": "Tooltip",
|
|
10339
10339
|
"slots": [
|
|
10340
10340
|
{
|
|
10341
|
-
"description": "
|
|
10342
|
-
"name": "
|
|
10343
|
-
},
|
|
10344
|
-
{
|
|
10345
|
-
"description": "Optional slot that holds hint text for the input.",
|
|
10346
|
-
"name": "hint"
|
|
10341
|
+
"description": "The tooltip content",
|
|
10342
|
+
"name": ""
|
|
10347
10343
|
},
|
|
10348
10344
|
{
|
|
10349
|
-
"description": "Optional slot that holds
|
|
10350
|
-
"name": "
|
|
10345
|
+
"description": "Optional slot that holds shortcut keys to access the subject",
|
|
10346
|
+
"name": "shortcut"
|
|
10351
10347
|
}
|
|
10352
10348
|
],
|
|
10353
10349
|
"members": [
|
|
10354
10350
|
{
|
|
10355
10351
|
"kind": "field",
|
|
10356
|
-
"name": "
|
|
10357
|
-
"privacy": "protected",
|
|
10358
|
-
"inheritedFrom": {
|
|
10359
|
-
"name": "FormAssociatedMixin",
|
|
10360
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10361
|
-
}
|
|
10362
|
-
},
|
|
10363
|
-
{
|
|
10364
|
-
"kind": "field",
|
|
10365
|
-
"name": "checked",
|
|
10352
|
+
"name": "lastOpened",
|
|
10366
10353
|
"type": {
|
|
10367
|
-
"text": "
|
|
10354
|
+
"text": "Tooltip | undefined"
|
|
10368
10355
|
},
|
|
10369
|
-
"
|
|
10370
|
-
"
|
|
10371
|
-
"attribute": "checked"
|
|
10356
|
+
"privacy": "private",
|
|
10357
|
+
"static": true
|
|
10372
10358
|
},
|
|
10373
10359
|
{
|
|
10374
10360
|
"kind": "field",
|
|
10375
|
-
"name": "
|
|
10376
|
-
"
|
|
10377
|
-
|
|
10378
|
-
},
|
|
10379
|
-
"default": "false",
|
|
10380
|
-
"description": "Controls whether the contents are displayed in reverse order,\nputting the label before the toggle.",
|
|
10381
|
-
"attribute": "reverse"
|
|
10361
|
+
"name": "shortcutSlot",
|
|
10362
|
+
"privacy": "private",
|
|
10363
|
+
"default": "new SlotController(this, \"shortcut\")"
|
|
10382
10364
|
},
|
|
10383
10365
|
{
|
|
10384
10366
|
"kind": "field",
|
|
10385
|
-
"name": "
|
|
10386
|
-
"
|
|
10387
|
-
|
|
10388
|
-
},
|
|
10389
|
-
"default": "\"m\"",
|
|
10390
|
-
"description": "The size of the toggle switch.",
|
|
10391
|
-
"attribute": "size",
|
|
10392
|
-
"reflects": true
|
|
10393
|
-
},
|
|
10394
|
-
{
|
|
10395
|
-
"kind": "method",
|
|
10396
|
-
"name": "handleChange",
|
|
10397
|
-
"privacy": "protected",
|
|
10398
|
-
"parameters": [
|
|
10399
|
-
{
|
|
10400
|
-
"name": "e",
|
|
10401
|
-
"type": {
|
|
10402
|
-
"text": "Event"
|
|
10403
|
-
}
|
|
10404
|
-
}
|
|
10405
|
-
],
|
|
10406
|
-
"return": {
|
|
10407
|
-
"type": {
|
|
10408
|
-
"text": "void"
|
|
10409
|
-
}
|
|
10410
|
-
},
|
|
10411
|
-
"inheritedFrom": {
|
|
10412
|
-
"name": "FormAssociatedMixin",
|
|
10413
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10414
|
-
}
|
|
10367
|
+
"name": "events",
|
|
10368
|
+
"privacy": "private",
|
|
10369
|
+
"default": "new EventController(this)"
|
|
10415
10370
|
},
|
|
10416
10371
|
{
|
|
10417
10372
|
"kind": "field",
|
|
10418
|
-
"name": "
|
|
10419
|
-
"
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10424
|
-
}
|
|
10373
|
+
"name": "currentElement",
|
|
10374
|
+
"type": {
|
|
10375
|
+
"text": "FocusableElement | undefined"
|
|
10376
|
+
},
|
|
10377
|
+
"privacy": "private"
|
|
10425
10378
|
},
|
|
10426
10379
|
{
|
|
10427
10380
|
"kind": "field",
|
|
10428
|
-
"name": "
|
|
10429
|
-
"
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10434
|
-
}
|
|
10381
|
+
"name": "timeoutId",
|
|
10382
|
+
"type": {
|
|
10383
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
10384
|
+
},
|
|
10385
|
+
"privacy": "private"
|
|
10435
10386
|
},
|
|
10436
10387
|
{
|
|
10437
10388
|
"kind": "field",
|
|
10438
|
-
"name": "
|
|
10439
|
-
"privacy": "
|
|
10440
|
-
"
|
|
10441
|
-
"inheritedFrom": {
|
|
10442
|
-
"name": "FormAssociatedMixin",
|
|
10443
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10444
|
-
}
|
|
10389
|
+
"name": "proxy",
|
|
10390
|
+
"privacy": "private",
|
|
10391
|
+
"description": "the proxy element is for cases where the targetElement is a web component,\nand the WC has a focusable child in its shadow root e.g. a button component.\nin this case, when the tooltip is shown, we inject the proxy into targetElement's shadow root\nand wire up aria-describedby from the focusable element to the proxy.\nwhen the tooltip is hidden, we remove the proxy and remove the aria-describedby relationship."
|
|
10445
10392
|
},
|
|
10446
10393
|
{
|
|
10447
10394
|
"kind": "field",
|
|
10448
|
-
"name": "
|
|
10449
|
-
"
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10395
|
+
"name": "state",
|
|
10396
|
+
"type": {
|
|
10397
|
+
"text": "TooltipStates"
|
|
10398
|
+
},
|
|
10399
|
+
"privacy": "private",
|
|
10400
|
+
"default": "\"hidden\"",
|
|
10401
|
+
"description": "The current state of the tooltip, dependent on the state machine"
|
|
10455
10402
|
},
|
|
10456
10403
|
{
|
|
10457
10404
|
"kind": "field",
|
|
10458
|
-
"name": "
|
|
10405
|
+
"name": "coords",
|
|
10459
10406
|
"type": {
|
|
10460
|
-
"text": "
|
|
10407
|
+
"text": "[number, number]"
|
|
10461
10408
|
},
|
|
10462
|
-
"privacy": "
|
|
10463
|
-
"default": "
|
|
10464
|
-
"inheritedFrom": {
|
|
10465
|
-
"name": "FormAssociatedMixin",
|
|
10466
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10467
|
-
}
|
|
10409
|
+
"privacy": "private",
|
|
10410
|
+
"default": "[0, 0]"
|
|
10468
10411
|
},
|
|
10469
10412
|
{
|
|
10470
10413
|
"kind": "field",
|
|
10471
|
-
"name": "
|
|
10414
|
+
"name": "position",
|
|
10472
10415
|
"type": {
|
|
10473
|
-
"text": "
|
|
10416
|
+
"text": "\"block-end\" | \"block-start\" | \"inline-start\" | \"inline-end\""
|
|
10474
10417
|
},
|
|
10475
|
-
"
|
|
10476
|
-
"
|
|
10477
|
-
"
|
|
10478
|
-
|
|
10479
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10480
|
-
}
|
|
10418
|
+
"default": "\"block-start\"",
|
|
10419
|
+
"description": "Control the position of the tooltip component.\nWhen set to \"none\", the tooltip will be shown above\nbut accommodate for browser boundaries.",
|
|
10420
|
+
"attribute": "position",
|
|
10421
|
+
"reflects": true
|
|
10481
10422
|
},
|
|
10482
10423
|
{
|
|
10483
10424
|
"kind": "field",
|
|
10484
|
-
"name": "
|
|
10425
|
+
"name": "role",
|
|
10485
10426
|
"type": {
|
|
10486
10427
|
"text": "string"
|
|
10487
10428
|
},
|
|
10488
|
-
"
|
|
10489
|
-
"
|
|
10490
|
-
"
|
|
10491
|
-
|
|
10492
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10493
|
-
}
|
|
10429
|
+
"default": "\"tooltip\"",
|
|
10430
|
+
"description": "The tooltip role, set on the component by default.",
|
|
10431
|
+
"attribute": "role",
|
|
10432
|
+
"reflects": true
|
|
10494
10433
|
},
|
|
10495
10434
|
{
|
|
10496
10435
|
"kind": "field",
|
|
10497
|
-
"name": "
|
|
10436
|
+
"name": "id",
|
|
10498
10437
|
"type": {
|
|
10499
10438
|
"text": "string"
|
|
10500
10439
|
},
|
|
10501
10440
|
"default": "\"\"",
|
|
10502
|
-
"description": "
|
|
10503
|
-
"attribute": "
|
|
10504
|
-
"
|
|
10505
|
-
"name": "FormAssociatedMixin",
|
|
10506
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10507
|
-
}
|
|
10441
|
+
"description": "The id for the active element to reference via aria-describedby.",
|
|
10442
|
+
"attribute": "id",
|
|
10443
|
+
"reflects": true
|
|
10508
10444
|
},
|
|
10509
10445
|
{
|
|
10510
10446
|
"kind": "field",
|
|
10511
|
-
"name": "
|
|
10447
|
+
"name": "delay",
|
|
10512
10448
|
"type": {
|
|
10513
|
-
"text": "
|
|
10449
|
+
"text": "number"
|
|
10514
10450
|
},
|
|
10515
|
-
"
|
|
10516
|
-
"
|
|
10517
|
-
"
|
|
10518
|
-
|
|
10519
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10520
|
-
}
|
|
10451
|
+
"default": "500",
|
|
10452
|
+
"description": "The delay in milliseconds before the tooltip is opened.",
|
|
10453
|
+
"attribute": "delay",
|
|
10454
|
+
"reflects": true
|
|
10521
10455
|
},
|
|
10522
10456
|
{
|
|
10523
|
-
"kind": "
|
|
10524
|
-
"name": "
|
|
10525
|
-
"
|
|
10526
|
-
|
|
10527
|
-
|
|
10528
|
-
"
|
|
10529
|
-
"
|
|
10530
|
-
"
|
|
10531
|
-
"
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10457
|
+
"kind": "method",
|
|
10458
|
+
"name": "handleIdChange",
|
|
10459
|
+
"privacy": "protected"
|
|
10460
|
+
},
|
|
10461
|
+
{
|
|
10462
|
+
"kind": "method",
|
|
10463
|
+
"name": "handleStateChange",
|
|
10464
|
+
"privacy": "private",
|
|
10465
|
+
"parameters": [
|
|
10466
|
+
{
|
|
10467
|
+
"name": "prevState",
|
|
10468
|
+
"type": {
|
|
10469
|
+
"text": "TooltipStates"
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
]
|
|
10535
10473
|
},
|
|
10536
10474
|
{
|
|
10537
10475
|
"kind": "field",
|
|
10538
|
-
"name": "
|
|
10539
|
-
"
|
|
10540
|
-
|
|
10541
|
-
},
|
|
10542
|
-
"description": "Placeholder text to display within the input.",
|
|
10543
|
-
"attribute": "placeholder",
|
|
10544
|
-
"inheritedFrom": {
|
|
10545
|
-
"name": "FormAssociatedMixin",
|
|
10546
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10547
|
-
}
|
|
10476
|
+
"name": "updatePosition",
|
|
10477
|
+
"privacy": "private",
|
|
10478
|
+
"description": "Setting and updating the position of the tooltip"
|
|
10548
10479
|
},
|
|
10549
10480
|
{
|
|
10550
10481
|
"kind": "field",
|
|
10551
|
-
"name": "
|
|
10552
|
-
"
|
|
10553
|
-
"text": "string | undefined"
|
|
10554
|
-
},
|
|
10555
|
-
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
10556
|
-
"attribute": "error",
|
|
10557
|
-
"inheritedFrom": {
|
|
10558
|
-
"name": "FormAssociatedMixin",
|
|
10559
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10560
|
-
}
|
|
10482
|
+
"name": "hideTooltip",
|
|
10483
|
+
"privacy": "private"
|
|
10561
10484
|
},
|
|
10562
10485
|
{
|
|
10563
10486
|
"kind": "field",
|
|
10564
|
-
"name": "
|
|
10565
|
-
"
|
|
10566
|
-
"text": "boolean"
|
|
10567
|
-
},
|
|
10568
|
-
"default": "false",
|
|
10569
|
-
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
10570
|
-
"attribute": "required",
|
|
10571
|
-
"inheritedFrom": {
|
|
10572
|
-
"name": "FormAssociatedMixin",
|
|
10573
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10574
|
-
}
|
|
10487
|
+
"name": "reposition",
|
|
10488
|
+
"privacy": "private"
|
|
10575
10489
|
},
|
|
10576
10490
|
{
|
|
10577
10491
|
"kind": "field",
|
|
10578
|
-
"name": "
|
|
10492
|
+
"name": "handleShow",
|
|
10493
|
+
"privacy": "private"
|
|
10494
|
+
},
|
|
10495
|
+
{
|
|
10496
|
+
"kind": "field",
|
|
10497
|
+
"name": "handleHide",
|
|
10498
|
+
"privacy": "private"
|
|
10499
|
+
},
|
|
10500
|
+
{
|
|
10501
|
+
"kind": "field",
|
|
10502
|
+
"name": "hideOnEscape",
|
|
10503
|
+
"privacy": "private"
|
|
10504
|
+
},
|
|
10505
|
+
{
|
|
10506
|
+
"kind": "field",
|
|
10507
|
+
"name": "addDescribedBy",
|
|
10508
|
+
"privacy": "private"
|
|
10509
|
+
},
|
|
10510
|
+
{
|
|
10511
|
+
"kind": "field",
|
|
10512
|
+
"name": "removeDescribedBy",
|
|
10513
|
+
"privacy": "private"
|
|
10514
|
+
}
|
|
10515
|
+
],
|
|
10516
|
+
"attributes": [
|
|
10517
|
+
{
|
|
10518
|
+
"name": "position",
|
|
10579
10519
|
"type": {
|
|
10580
|
-
"text": "
|
|
10520
|
+
"text": "\"block-end\" | \"block-start\" | \"inline-start\" | \"inline-end\""
|
|
10581
10521
|
},
|
|
10582
|
-
"default": "
|
|
10583
|
-
"description": "
|
|
10584
|
-
"
|
|
10585
|
-
|
|
10522
|
+
"default": "\"block-start\"",
|
|
10523
|
+
"description": "Control the position of the tooltip component.\nWhen set to \"none\", the tooltip will be shown above\nbut accommodate for browser boundaries.",
|
|
10524
|
+
"fieldName": "position"
|
|
10525
|
+
},
|
|
10526
|
+
{
|
|
10527
|
+
"name": "role",
|
|
10528
|
+
"type": {
|
|
10529
|
+
"text": "string"
|
|
10530
|
+
},
|
|
10531
|
+
"default": "\"tooltip\"",
|
|
10532
|
+
"description": "The tooltip role, set on the component by default.",
|
|
10533
|
+
"fieldName": "role"
|
|
10534
|
+
},
|
|
10535
|
+
{
|
|
10536
|
+
"name": "id",
|
|
10537
|
+
"type": {
|
|
10538
|
+
"text": "string"
|
|
10539
|
+
},
|
|
10540
|
+
"default": "\"\"",
|
|
10541
|
+
"description": "The id for the active element to reference via aria-describedby.",
|
|
10542
|
+
"fieldName": "id"
|
|
10543
|
+
},
|
|
10544
|
+
{
|
|
10545
|
+
"name": "delay",
|
|
10546
|
+
"type": {
|
|
10547
|
+
"text": "number"
|
|
10548
|
+
},
|
|
10549
|
+
"default": "500",
|
|
10550
|
+
"description": "The delay in milliseconds before the tooltip is opened.",
|
|
10551
|
+
"fieldName": "delay"
|
|
10552
|
+
}
|
|
10553
|
+
],
|
|
10554
|
+
"superclass": {
|
|
10555
|
+
"name": "LitElement",
|
|
10556
|
+
"package": "lit"
|
|
10557
|
+
},
|
|
10558
|
+
"status": "ready",
|
|
10559
|
+
"category": "overlay",
|
|
10560
|
+
"tagName": "nord-tooltip",
|
|
10561
|
+
"customElement": true
|
|
10562
|
+
}
|
|
10563
|
+
],
|
|
10564
|
+
"exports": [
|
|
10565
|
+
{
|
|
10566
|
+
"kind": "js",
|
|
10567
|
+
"name": "default",
|
|
10568
|
+
"declaration": {
|
|
10569
|
+
"name": "Tooltip",
|
|
10570
|
+
"module": "src/tooltip/Tooltip.ts"
|
|
10571
|
+
}
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"kind": "custom-element-definition",
|
|
10575
|
+
"name": "nord-tooltip",
|
|
10576
|
+
"declaration": {
|
|
10577
|
+
"name": "Tooltip",
|
|
10578
|
+
"module": "src/tooltip/Tooltip.ts"
|
|
10579
|
+
}
|
|
10580
|
+
}
|
|
10581
|
+
],
|
|
10582
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use a tooltip if an interactive element requires more explanation.\n- Use a tooltip to provide additional information, such as UI shortcuts.\n- Use the `label` attribute on icons used for shortcuts for accessibility.\n- Use clear and accurate phrasing.\n- Be consistent with positioning of tooltips in the user interface.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use interactive elements such as links or buttons inside a tooltip.\n- Don’t rely on tooltips when you have room to provide more explanation.\n- Don’t depend on tooltips for vital information.\n\n</div>\n\n---\n\n## Content guidelines\n\nTooltips should be clear and informative, but not imperative to using the interface they refer to. They should not contain interactive elements such as buttons or links.\n\n<div class=\"n-usage n-usage-do\">Export – Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export – Export data as a CSV, <u>more information on CSVs</u></div>\n\nTooltips should provide useful information and not repeat information that is already present.\n\n<div class=\"n-usage n-usage-do\">Export – Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export – Export data</div>\n\nWhen writing tooltips, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export Data As a Spreadsheet</div>\n\nUse tooltips sparingly. If your UI is requiring a lot of tooltips, consider revising the interface to provide better explanations and better labelling.\n\n---\n\n## Additional considerations\n\n- Always provide a tooltip for icon-only buttons or a button with an associated keyboard shortcut.\n- Don’t use tooltip to communicate critical information, including errors.\n- Use sparingly. If you’re building something that requires a lot of tooltips, take a step back and work on clarifying the design and the language used instead.\n"
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
"kind": "javascript-module",
|
|
10586
|
+
"path": "src/visually-hidden/VisuallyHidden.ts",
|
|
10587
|
+
"declarations": [
|
|
10588
|
+
{
|
|
10589
|
+
"kind": "class",
|
|
10590
|
+
"description": "Visually hidden is used when an element needs to be available\nto assistive technologies like screen readers, but be otherwise\nhidden.",
|
|
10591
|
+
"name": "VisuallyHidden",
|
|
10592
|
+
"slots": [
|
|
10593
|
+
{
|
|
10594
|
+
"description": "The visually hidden content.",
|
|
10595
|
+
"name": ""
|
|
10596
|
+
}
|
|
10597
|
+
],
|
|
10598
|
+
"members": [],
|
|
10599
|
+
"superclass": {
|
|
10600
|
+
"name": "LitElement",
|
|
10601
|
+
"package": "lit"
|
|
10602
|
+
},
|
|
10603
|
+
"status": "ready",
|
|
10604
|
+
"category": "text",
|
|
10605
|
+
"tagName": "nord-visually-hidden",
|
|
10606
|
+
"customElement": true
|
|
10607
|
+
}
|
|
10608
|
+
],
|
|
10609
|
+
"exports": [
|
|
10610
|
+
{
|
|
10611
|
+
"kind": "js",
|
|
10612
|
+
"name": "default",
|
|
10613
|
+
"declaration": {
|
|
10614
|
+
"name": "VisuallyHidden",
|
|
10615
|
+
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
10616
|
+
}
|
|
10617
|
+
},
|
|
10618
|
+
{
|
|
10619
|
+
"kind": "custom-element-definition",
|
|
10620
|
+
"name": "nord-visually-hidden",
|
|
10621
|
+
"declaration": {
|
|
10622
|
+
"name": "VisuallyHidden",
|
|
10623
|
+
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
10624
|
+
}
|
|
10625
|
+
}
|
|
10626
|
+
],
|
|
10627
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to hide text visually from the screen, but keep it available to assistive technologies, such as screen readers.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for hiding interactive content.\n\n</div>\n"
|
|
10628
|
+
},
|
|
10629
|
+
{
|
|
10630
|
+
"kind": "javascript-module",
|
|
10631
|
+
"path": "src/toggle/Toggle.ts",
|
|
10632
|
+
"declarations": [
|
|
10633
|
+
{
|
|
10634
|
+
"kind": "class",
|
|
10635
|
+
"description": "Toggle switch gives control over a feature or option that can be\nturned on or off. If a physical switch would work for the action, a\ntoggle is probably the best component to use.",
|
|
10636
|
+
"name": "Toggle",
|
|
10637
|
+
"slots": [
|
|
10638
|
+
{
|
|
10639
|
+
"description": "Use when a label requires more than plain text.",
|
|
10640
|
+
"name": "label"
|
|
10641
|
+
},
|
|
10642
|
+
{
|
|
10643
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
10644
|
+
"name": "hint"
|
|
10645
|
+
},
|
|
10646
|
+
{
|
|
10647
|
+
"description": "Optional slot that holds error text for the input.",
|
|
10648
|
+
"name": "error"
|
|
10649
|
+
}
|
|
10650
|
+
],
|
|
10651
|
+
"members": [
|
|
10652
|
+
{
|
|
10653
|
+
"kind": "field",
|
|
10654
|
+
"name": "formValue",
|
|
10655
|
+
"privacy": "protected",
|
|
10586
10656
|
"inheritedFrom": {
|
|
10587
10657
|
"name": "FormAssociatedMixin",
|
|
10588
10658
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10589
10659
|
}
|
|
10590
10660
|
},
|
|
10661
|
+
{
|
|
10662
|
+
"kind": "field",
|
|
10663
|
+
"name": "checked",
|
|
10664
|
+
"type": {
|
|
10665
|
+
"text": "boolean"
|
|
10666
|
+
},
|
|
10667
|
+
"default": "false",
|
|
10668
|
+
"description": "Controls whether the toggle is checked or not.",
|
|
10669
|
+
"attribute": "checked"
|
|
10670
|
+
},
|
|
10671
|
+
{
|
|
10672
|
+
"kind": "field",
|
|
10673
|
+
"name": "reverse",
|
|
10674
|
+
"type": {
|
|
10675
|
+
"text": "boolean"
|
|
10676
|
+
},
|
|
10677
|
+
"default": "false",
|
|
10678
|
+
"description": "Controls whether the contents are displayed in reverse order,\nputting the label before the toggle.",
|
|
10679
|
+
"attribute": "reverse"
|
|
10680
|
+
},
|
|
10681
|
+
{
|
|
10682
|
+
"kind": "field",
|
|
10683
|
+
"name": "size",
|
|
10684
|
+
"type": {
|
|
10685
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
10686
|
+
},
|
|
10687
|
+
"default": "\"m\"",
|
|
10688
|
+
"description": "The size of the toggle switch.",
|
|
10689
|
+
"attribute": "size",
|
|
10690
|
+
"reflects": true
|
|
10691
|
+
},
|
|
10591
10692
|
{
|
|
10592
10693
|
"kind": "method",
|
|
10593
|
-
"name": "
|
|
10694
|
+
"name": "handleChange",
|
|
10594
10695
|
"privacy": "protected",
|
|
10595
10696
|
"parameters": [
|
|
10596
10697
|
{
|
|
@@ -10600,42 +10701,51 @@
|
|
|
10600
10701
|
}
|
|
10601
10702
|
}
|
|
10602
10703
|
],
|
|
10704
|
+
"return": {
|
|
10705
|
+
"type": {
|
|
10706
|
+
"text": "void"
|
|
10707
|
+
}
|
|
10708
|
+
},
|
|
10603
10709
|
"inheritedFrom": {
|
|
10604
10710
|
"name": "FormAssociatedMixin",
|
|
10605
10711
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10606
10712
|
}
|
|
10607
10713
|
},
|
|
10608
10714
|
{
|
|
10609
|
-
"kind": "
|
|
10610
|
-
"name": "
|
|
10715
|
+
"kind": "field",
|
|
10716
|
+
"name": "labelSlot",
|
|
10611
10717
|
"privacy": "protected",
|
|
10718
|
+
"default": "new SlotController(this, \"label\")",
|
|
10612
10719
|
"inheritedFrom": {
|
|
10613
10720
|
"name": "FormAssociatedMixin",
|
|
10614
10721
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10615
10722
|
}
|
|
10616
10723
|
},
|
|
10617
10724
|
{
|
|
10618
|
-
"kind": "
|
|
10619
|
-
"name": "
|
|
10725
|
+
"kind": "field",
|
|
10726
|
+
"name": "errorSlot",
|
|
10620
10727
|
"privacy": "protected",
|
|
10728
|
+
"default": "new SlotController(this, \"error\")",
|
|
10621
10729
|
"inheritedFrom": {
|
|
10622
10730
|
"name": "FormAssociatedMixin",
|
|
10623
10731
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10624
10732
|
}
|
|
10625
10733
|
},
|
|
10626
10734
|
{
|
|
10627
|
-
"kind": "
|
|
10628
|
-
"name": "
|
|
10735
|
+
"kind": "field",
|
|
10736
|
+
"name": "hintSlot",
|
|
10629
10737
|
"privacy": "protected",
|
|
10738
|
+
"default": "new SlotController(this, \"hint\")",
|
|
10630
10739
|
"inheritedFrom": {
|
|
10631
10740
|
"name": "FormAssociatedMixin",
|
|
10632
10741
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10633
10742
|
}
|
|
10634
10743
|
},
|
|
10635
10744
|
{
|
|
10636
|
-
"kind": "
|
|
10637
|
-
"name": "
|
|
10745
|
+
"kind": "field",
|
|
10746
|
+
"name": "formData",
|
|
10638
10747
|
"privacy": "protected",
|
|
10748
|
+
"default": "new FormDataController(this, { value: () => this.formValue })",
|
|
10639
10749
|
"inheritedFrom": {
|
|
10640
10750
|
"name": "FormAssociatedMixin",
|
|
10641
10751
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -10643,8 +10753,12 @@
|
|
|
10643
10753
|
},
|
|
10644
10754
|
{
|
|
10645
10755
|
"kind": "field",
|
|
10646
|
-
"name": "
|
|
10756
|
+
"name": "inputId",
|
|
10757
|
+
"type": {
|
|
10758
|
+
"text": "string"
|
|
10759
|
+
},
|
|
10647
10760
|
"privacy": "protected",
|
|
10761
|
+
"default": "\"input\"",
|
|
10648
10762
|
"inheritedFrom": {
|
|
10649
10763
|
"name": "FormAssociatedMixin",
|
|
10650
10764
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -10652,8 +10766,12 @@
|
|
|
10652
10766
|
},
|
|
10653
10767
|
{
|
|
10654
10768
|
"kind": "field",
|
|
10655
|
-
"name": "
|
|
10769
|
+
"name": "errorId",
|
|
10770
|
+
"type": {
|
|
10771
|
+
"text": "string"
|
|
10772
|
+
},
|
|
10656
10773
|
"privacy": "protected",
|
|
10774
|
+
"default": "\"error\"",
|
|
10657
10775
|
"inheritedFrom": {
|
|
10658
10776
|
"name": "FormAssociatedMixin",
|
|
10659
10777
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -10661,24 +10779,204 @@
|
|
|
10661
10779
|
},
|
|
10662
10780
|
{
|
|
10663
10781
|
"kind": "field",
|
|
10664
|
-
"name": "
|
|
10782
|
+
"name": "hintId",
|
|
10665
10783
|
"type": {
|
|
10666
|
-
"text": "
|
|
10784
|
+
"text": "string"
|
|
10667
10785
|
},
|
|
10668
|
-
"
|
|
10669
|
-
"
|
|
10670
|
-
"attribute": "disabled",
|
|
10671
|
-
"reflects": true,
|
|
10786
|
+
"privacy": "protected",
|
|
10787
|
+
"default": "\"hint\"",
|
|
10672
10788
|
"inheritedFrom": {
|
|
10673
|
-
"name": "
|
|
10674
|
-
"module": "src/common/mixins/
|
|
10789
|
+
"name": "FormAssociatedMixin",
|
|
10790
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10675
10791
|
}
|
|
10676
10792
|
},
|
|
10677
10793
|
{
|
|
10678
10794
|
"kind": "field",
|
|
10679
|
-
"name": "
|
|
10795
|
+
"name": "label",
|
|
10680
10796
|
"type": {
|
|
10681
|
-
"text": "string
|
|
10797
|
+
"text": "string"
|
|
10798
|
+
},
|
|
10799
|
+
"default": "\"\"",
|
|
10800
|
+
"description": "Label for the input.",
|
|
10801
|
+
"attribute": "label",
|
|
10802
|
+
"inheritedFrom": {
|
|
10803
|
+
"name": "FormAssociatedMixin",
|
|
10804
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10805
|
+
}
|
|
10806
|
+
},
|
|
10807
|
+
{
|
|
10808
|
+
"kind": "field",
|
|
10809
|
+
"name": "hint",
|
|
10810
|
+
"type": {
|
|
10811
|
+
"text": "string | undefined"
|
|
10812
|
+
},
|
|
10813
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
10814
|
+
"attribute": "hint",
|
|
10815
|
+
"inheritedFrom": {
|
|
10816
|
+
"name": "FormAssociatedMixin",
|
|
10817
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10818
|
+
}
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"kind": "field",
|
|
10822
|
+
"name": "hideLabel",
|
|
10823
|
+
"type": {
|
|
10824
|
+
"text": "boolean"
|
|
10825
|
+
},
|
|
10826
|
+
"default": "false",
|
|
10827
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
10828
|
+
"attribute": "hide-label",
|
|
10829
|
+
"inheritedFrom": {
|
|
10830
|
+
"name": "FormAssociatedMixin",
|
|
10831
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10832
|
+
}
|
|
10833
|
+
},
|
|
10834
|
+
{
|
|
10835
|
+
"kind": "field",
|
|
10836
|
+
"name": "placeholder",
|
|
10837
|
+
"type": {
|
|
10838
|
+
"text": "string | undefined"
|
|
10839
|
+
},
|
|
10840
|
+
"description": "Placeholder text to display within the input.",
|
|
10841
|
+
"attribute": "placeholder",
|
|
10842
|
+
"inheritedFrom": {
|
|
10843
|
+
"name": "FormAssociatedMixin",
|
|
10844
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10845
|
+
}
|
|
10846
|
+
},
|
|
10847
|
+
{
|
|
10848
|
+
"kind": "field",
|
|
10849
|
+
"name": "error",
|
|
10850
|
+
"type": {
|
|
10851
|
+
"text": "string | undefined"
|
|
10852
|
+
},
|
|
10853
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
10854
|
+
"attribute": "error",
|
|
10855
|
+
"inheritedFrom": {
|
|
10856
|
+
"name": "FormAssociatedMixin",
|
|
10857
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10858
|
+
}
|
|
10859
|
+
},
|
|
10860
|
+
{
|
|
10861
|
+
"kind": "field",
|
|
10862
|
+
"name": "required",
|
|
10863
|
+
"type": {
|
|
10864
|
+
"text": "boolean"
|
|
10865
|
+
},
|
|
10866
|
+
"default": "false",
|
|
10867
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
10868
|
+
"attribute": "required",
|
|
10869
|
+
"inheritedFrom": {
|
|
10870
|
+
"name": "FormAssociatedMixin",
|
|
10871
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10872
|
+
}
|
|
10873
|
+
},
|
|
10874
|
+
{
|
|
10875
|
+
"kind": "field",
|
|
10876
|
+
"name": "expand",
|
|
10877
|
+
"type": {
|
|
10878
|
+
"text": "boolean"
|
|
10879
|
+
},
|
|
10880
|
+
"default": "false",
|
|
10881
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
10882
|
+
"attribute": "expand",
|
|
10883
|
+
"reflects": true,
|
|
10884
|
+
"inheritedFrom": {
|
|
10885
|
+
"name": "FormAssociatedMixin",
|
|
10886
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10887
|
+
}
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
"kind": "method",
|
|
10891
|
+
"name": "handleInput",
|
|
10892
|
+
"privacy": "protected",
|
|
10893
|
+
"parameters": [
|
|
10894
|
+
{
|
|
10895
|
+
"name": "e",
|
|
10896
|
+
"type": {
|
|
10897
|
+
"text": "Event"
|
|
10898
|
+
}
|
|
10899
|
+
}
|
|
10900
|
+
],
|
|
10901
|
+
"inheritedFrom": {
|
|
10902
|
+
"name": "FormAssociatedMixin",
|
|
10903
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10904
|
+
}
|
|
10905
|
+
},
|
|
10906
|
+
{
|
|
10907
|
+
"kind": "method",
|
|
10908
|
+
"name": "renderLabel",
|
|
10909
|
+
"privacy": "protected",
|
|
10910
|
+
"inheritedFrom": {
|
|
10911
|
+
"name": "FormAssociatedMixin",
|
|
10912
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10913
|
+
}
|
|
10914
|
+
},
|
|
10915
|
+
{
|
|
10916
|
+
"kind": "method",
|
|
10917
|
+
"name": "renderError",
|
|
10918
|
+
"privacy": "protected",
|
|
10919
|
+
"inheritedFrom": {
|
|
10920
|
+
"name": "FormAssociatedMixin",
|
|
10921
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10922
|
+
}
|
|
10923
|
+
},
|
|
10924
|
+
{
|
|
10925
|
+
"kind": "method",
|
|
10926
|
+
"name": "getDescribedBy",
|
|
10927
|
+
"privacy": "protected",
|
|
10928
|
+
"inheritedFrom": {
|
|
10929
|
+
"name": "FormAssociatedMixin",
|
|
10930
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10931
|
+
}
|
|
10932
|
+
},
|
|
10933
|
+
{
|
|
10934
|
+
"kind": "method",
|
|
10935
|
+
"name": "getInvalid",
|
|
10936
|
+
"privacy": "protected",
|
|
10937
|
+
"inheritedFrom": {
|
|
10938
|
+
"name": "FormAssociatedMixin",
|
|
10939
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10940
|
+
}
|
|
10941
|
+
},
|
|
10942
|
+
{
|
|
10943
|
+
"kind": "field",
|
|
10944
|
+
"name": "hasHint",
|
|
10945
|
+
"privacy": "protected",
|
|
10946
|
+
"inheritedFrom": {
|
|
10947
|
+
"name": "FormAssociatedMixin",
|
|
10948
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10949
|
+
}
|
|
10950
|
+
},
|
|
10951
|
+
{
|
|
10952
|
+
"kind": "field",
|
|
10953
|
+
"name": "hasError",
|
|
10954
|
+
"privacy": "protected",
|
|
10955
|
+
"inheritedFrom": {
|
|
10956
|
+
"name": "FormAssociatedMixin",
|
|
10957
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
10958
|
+
}
|
|
10959
|
+
},
|
|
10960
|
+
{
|
|
10961
|
+
"kind": "field",
|
|
10962
|
+
"name": "disabled",
|
|
10963
|
+
"type": {
|
|
10964
|
+
"text": "boolean"
|
|
10965
|
+
},
|
|
10966
|
+
"default": "false",
|
|
10967
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
10968
|
+
"attribute": "disabled",
|
|
10969
|
+
"reflects": true,
|
|
10970
|
+
"inheritedFrom": {
|
|
10971
|
+
"name": "InputMixin",
|
|
10972
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
10973
|
+
}
|
|
10974
|
+
},
|
|
10975
|
+
{
|
|
10976
|
+
"kind": "field",
|
|
10977
|
+
"name": "name",
|
|
10978
|
+
"type": {
|
|
10979
|
+
"text": "string | undefined"
|
|
10682
10980
|
},
|
|
10683
10981
|
"description": "The name of the form component.",
|
|
10684
10982
|
"attribute": "name",
|
|
@@ -10983,390 +11281,246 @@
|
|
|
10983
11281
|
},
|
|
10984
11282
|
{
|
|
10985
11283
|
"kind": "javascript-module",
|
|
10986
|
-
"path": "src/
|
|
11284
|
+
"path": "src/common/decorators/observe.ts",
|
|
10987
11285
|
"declarations": [
|
|
10988
11286
|
{
|
|
10989
|
-
"kind": "
|
|
10990
|
-
"
|
|
10991
|
-
"
|
|
10992
|
-
"slots": [
|
|
11287
|
+
"kind": "function",
|
|
11288
|
+
"name": "observe",
|
|
11289
|
+
"parameters": [
|
|
10993
11290
|
{
|
|
10994
|
-
"
|
|
10995
|
-
"
|
|
11291
|
+
"name": "propertyName",
|
|
11292
|
+
"type": {
|
|
11293
|
+
"text": "string"
|
|
11294
|
+
}
|
|
10996
11295
|
},
|
|
10997
11296
|
{
|
|
10998
|
-
"
|
|
10999
|
-
"
|
|
11297
|
+
"name": "lifecycle",
|
|
11298
|
+
"default": "\"update\"",
|
|
11299
|
+
"type": {
|
|
11300
|
+
"text": "ObserveLifecycle"
|
|
11301
|
+
}
|
|
11000
11302
|
}
|
|
11001
|
-
]
|
|
11002
|
-
|
|
11303
|
+
]
|
|
11304
|
+
}
|
|
11305
|
+
],
|
|
11306
|
+
"exports": [
|
|
11307
|
+
{
|
|
11308
|
+
"kind": "js",
|
|
11309
|
+
"name": "observe",
|
|
11310
|
+
"declaration": {
|
|
11311
|
+
"name": "observe",
|
|
11312
|
+
"module": "src/common/decorators/observe.ts"
|
|
11313
|
+
}
|
|
11314
|
+
}
|
|
11315
|
+
]
|
|
11316
|
+
},
|
|
11317
|
+
{
|
|
11318
|
+
"kind": "javascript-module",
|
|
11319
|
+
"path": "src/common/directives/cond.ts",
|
|
11320
|
+
"declarations": [
|
|
11321
|
+
{
|
|
11322
|
+
"kind": "function",
|
|
11323
|
+
"name": "cond",
|
|
11324
|
+
"return": {
|
|
11325
|
+
"type": {
|
|
11326
|
+
"text": "typeof value | typeof nothing"
|
|
11327
|
+
}
|
|
11328
|
+
},
|
|
11329
|
+
"parameters": [
|
|
11003
11330
|
{
|
|
11004
|
-
"
|
|
11005
|
-
"name": "lastOpened",
|
|
11331
|
+
"name": "value",
|
|
11006
11332
|
"type": {
|
|
11007
|
-
"text": "
|
|
11008
|
-
}
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11333
|
+
"text": "any"
|
|
11334
|
+
}
|
|
11335
|
+
}
|
|
11336
|
+
],
|
|
11337
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
11338
|
+
},
|
|
11339
|
+
{
|
|
11340
|
+
"kind": "function",
|
|
11341
|
+
"name": "cond",
|
|
11342
|
+
"return": {
|
|
11343
|
+
"type": {
|
|
11344
|
+
"text": "typeof trueCase | typeof nothing"
|
|
11345
|
+
}
|
|
11346
|
+
},
|
|
11347
|
+
"parameters": [
|
|
11012
11348
|
{
|
|
11013
|
-
"
|
|
11014
|
-
"name": "shortcutSlot",
|
|
11015
|
-
"privacy": "private",
|
|
11016
|
-
"default": "new SlotController(this, \"shortcut\")"
|
|
11017
|
-
},
|
|
11018
|
-
{
|
|
11019
|
-
"kind": "field",
|
|
11020
|
-
"name": "events",
|
|
11021
|
-
"privacy": "private",
|
|
11022
|
-
"default": "new EventController(this)"
|
|
11023
|
-
},
|
|
11024
|
-
{
|
|
11025
|
-
"kind": "field",
|
|
11026
|
-
"name": "currentElement",
|
|
11349
|
+
"name": "condition",
|
|
11027
11350
|
"type": {
|
|
11028
|
-
"text": "
|
|
11029
|
-
}
|
|
11030
|
-
"privacy": "private"
|
|
11351
|
+
"text": "unknown"
|
|
11352
|
+
}
|
|
11031
11353
|
},
|
|
11032
11354
|
{
|
|
11033
|
-
"
|
|
11034
|
-
"name": "timeoutId",
|
|
11355
|
+
"name": "trueCase",
|
|
11035
11356
|
"type": {
|
|
11036
|
-
"text": "
|
|
11037
|
-
}
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11357
|
+
"text": "any"
|
|
11358
|
+
}
|
|
11359
|
+
}
|
|
11360
|
+
],
|
|
11361
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
11362
|
+
},
|
|
11363
|
+
{
|
|
11364
|
+
"kind": "function",
|
|
11365
|
+
"name": "cond",
|
|
11366
|
+
"return": {
|
|
11367
|
+
"type": {
|
|
11368
|
+
"text": "typeof trueCase"
|
|
11369
|
+
}
|
|
11370
|
+
},
|
|
11371
|
+
"parameters": [
|
|
11046
11372
|
{
|
|
11047
|
-
"
|
|
11048
|
-
"name": "state",
|
|
11373
|
+
"name": "condition",
|
|
11049
11374
|
"type": {
|
|
11050
|
-
"text": "
|
|
11051
|
-
}
|
|
11052
|
-
"privacy": "private",
|
|
11053
|
-
"default": "\"hidden\"",
|
|
11054
|
-
"description": "The current state of the tooltip, dependent on the state machine"
|
|
11375
|
+
"text": "true"
|
|
11376
|
+
}
|
|
11055
11377
|
},
|
|
11056
11378
|
{
|
|
11057
|
-
"
|
|
11058
|
-
"name": "coords",
|
|
11379
|
+
"name": "trueCase",
|
|
11059
11380
|
"type": {
|
|
11060
|
-
"text": "
|
|
11061
|
-
}
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11381
|
+
"text": "any"
|
|
11382
|
+
}
|
|
11383
|
+
}
|
|
11384
|
+
],
|
|
11385
|
+
"description": "condition is true, so always return trueCase"
|
|
11386
|
+
},
|
|
11387
|
+
{
|
|
11388
|
+
"kind": "function",
|
|
11389
|
+
"name": "cond",
|
|
11390
|
+
"return": {
|
|
11391
|
+
"type": {
|
|
11392
|
+
"text": "typeof nothing"
|
|
11393
|
+
}
|
|
11394
|
+
},
|
|
11395
|
+
"parameters": [
|
|
11065
11396
|
{
|
|
11066
|
-
"
|
|
11067
|
-
"name": "position",
|
|
11397
|
+
"name": "condition",
|
|
11068
11398
|
"type": {
|
|
11069
|
-
"text": "
|
|
11070
|
-
}
|
|
11071
|
-
"default": "\"block-start\"",
|
|
11072
|
-
"description": "Control the position of the tooltip component.\nWhen set to \"none\", the tooltip will be shown above\nbut accommodate for browser boundaries.",
|
|
11073
|
-
"attribute": "position",
|
|
11074
|
-
"reflects": true
|
|
11399
|
+
"text": "false"
|
|
11400
|
+
}
|
|
11075
11401
|
},
|
|
11076
11402
|
{
|
|
11077
|
-
"
|
|
11078
|
-
"name": "role",
|
|
11403
|
+
"name": "trueCase",
|
|
11079
11404
|
"type": {
|
|
11080
|
-
"text": "
|
|
11081
|
-
}
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11086
|
-
|
|
11405
|
+
"text": "any"
|
|
11406
|
+
}
|
|
11407
|
+
}
|
|
11408
|
+
],
|
|
11409
|
+
"description": "condition is false, to will always return nothing"
|
|
11410
|
+
},
|
|
11411
|
+
{
|
|
11412
|
+
"kind": "function",
|
|
11413
|
+
"name": "cond",
|
|
11414
|
+
"return": {
|
|
11415
|
+
"type": {
|
|
11416
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
11417
|
+
}
|
|
11418
|
+
},
|
|
11419
|
+
"parameters": [
|
|
11087
11420
|
{
|
|
11088
|
-
"
|
|
11089
|
-
"name": "id",
|
|
11421
|
+
"name": "condition",
|
|
11090
11422
|
"type": {
|
|
11091
|
-
"text": "
|
|
11092
|
-
}
|
|
11093
|
-
"default": "\"\"",
|
|
11094
|
-
"description": "The id for the active element to reference via aria-describedby.",
|
|
11095
|
-
"attribute": "id",
|
|
11096
|
-
"reflects": true
|
|
11423
|
+
"text": "unknown"
|
|
11424
|
+
}
|
|
11097
11425
|
},
|
|
11098
11426
|
{
|
|
11099
|
-
"
|
|
11100
|
-
"name": "delay",
|
|
11427
|
+
"name": "trueCase",
|
|
11101
11428
|
"type": {
|
|
11102
|
-
"text": "
|
|
11103
|
-
}
|
|
11104
|
-
"default": "500",
|
|
11105
|
-
"description": "The delay in milliseconds before the tooltip is opened.",
|
|
11106
|
-
"attribute": "delay",
|
|
11107
|
-
"reflects": true
|
|
11108
|
-
},
|
|
11109
|
-
{
|
|
11110
|
-
"kind": "method",
|
|
11111
|
-
"name": "handleIdChange",
|
|
11112
|
-
"privacy": "protected"
|
|
11113
|
-
},
|
|
11114
|
-
{
|
|
11115
|
-
"kind": "method",
|
|
11116
|
-
"name": "handleStateChange",
|
|
11117
|
-
"privacy": "private",
|
|
11118
|
-
"parameters": [
|
|
11119
|
-
{
|
|
11120
|
-
"name": "prevState",
|
|
11121
|
-
"type": {
|
|
11122
|
-
"text": "TooltipStates"
|
|
11123
|
-
}
|
|
11124
|
-
}
|
|
11125
|
-
]
|
|
11126
|
-
},
|
|
11127
|
-
{
|
|
11128
|
-
"kind": "field",
|
|
11129
|
-
"name": "updatePosition",
|
|
11130
|
-
"privacy": "private",
|
|
11131
|
-
"description": "Setting and updating the position of the tooltip"
|
|
11429
|
+
"text": "any"
|
|
11430
|
+
}
|
|
11132
11431
|
},
|
|
11133
11432
|
{
|
|
11134
|
-
"
|
|
11135
|
-
"
|
|
11136
|
-
|
|
11137
|
-
|
|
11433
|
+
"name": "falseCase",
|
|
11434
|
+
"type": {
|
|
11435
|
+
"text": "any"
|
|
11436
|
+
}
|
|
11437
|
+
}
|
|
11438
|
+
],
|
|
11439
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
11440
|
+
},
|
|
11441
|
+
{
|
|
11442
|
+
"kind": "function",
|
|
11443
|
+
"name": "cond",
|
|
11444
|
+
"return": {
|
|
11445
|
+
"type": {
|
|
11446
|
+
"text": "typeof trueCase"
|
|
11447
|
+
}
|
|
11448
|
+
},
|
|
11449
|
+
"parameters": [
|
|
11138
11450
|
{
|
|
11139
|
-
"
|
|
11140
|
-
"
|
|
11141
|
-
|
|
11451
|
+
"name": "condition",
|
|
11452
|
+
"type": {
|
|
11453
|
+
"text": "true"
|
|
11454
|
+
}
|
|
11142
11455
|
},
|
|
11143
11456
|
{
|
|
11144
|
-
"
|
|
11145
|
-
"
|
|
11146
|
-
|
|
11457
|
+
"name": "trueCase",
|
|
11458
|
+
"type": {
|
|
11459
|
+
"text": "any"
|
|
11460
|
+
}
|
|
11147
11461
|
},
|
|
11148
11462
|
{
|
|
11149
|
-
"
|
|
11150
|
-
"
|
|
11151
|
-
|
|
11152
|
-
|
|
11463
|
+
"name": "falseCase",
|
|
11464
|
+
"type": {
|
|
11465
|
+
"text": "any"
|
|
11466
|
+
}
|
|
11467
|
+
}
|
|
11468
|
+
],
|
|
11469
|
+
"description": "condition is true, so always return trueCase"
|
|
11470
|
+
},
|
|
11471
|
+
{
|
|
11472
|
+
"kind": "function",
|
|
11473
|
+
"name": "cond",
|
|
11474
|
+
"return": {
|
|
11475
|
+
"type": {
|
|
11476
|
+
"text": "typeof falseCase"
|
|
11477
|
+
}
|
|
11478
|
+
},
|
|
11479
|
+
"parameters": [
|
|
11153
11480
|
{
|
|
11154
|
-
"
|
|
11155
|
-
"
|
|
11156
|
-
|
|
11481
|
+
"name": "condition",
|
|
11482
|
+
"type": {
|
|
11483
|
+
"text": "false"
|
|
11484
|
+
}
|
|
11157
11485
|
},
|
|
11158
11486
|
{
|
|
11159
|
-
"
|
|
11160
|
-
"
|
|
11161
|
-
|
|
11487
|
+
"name": "trueCase",
|
|
11488
|
+
"type": {
|
|
11489
|
+
"text": "any"
|
|
11490
|
+
}
|
|
11162
11491
|
},
|
|
11163
11492
|
{
|
|
11164
|
-
"
|
|
11165
|
-
"
|
|
11166
|
-
|
|
11493
|
+
"name": "falseCase",
|
|
11494
|
+
"type": {
|
|
11495
|
+
"text": "any"
|
|
11496
|
+
}
|
|
11167
11497
|
}
|
|
11168
11498
|
],
|
|
11169
|
-
"
|
|
11499
|
+
"description": "condition is false, so always return falseCase"
|
|
11500
|
+
},
|
|
11501
|
+
{
|
|
11502
|
+
"kind": "function",
|
|
11503
|
+
"name": "cond",
|
|
11504
|
+
"parameters": [
|
|
11170
11505
|
{
|
|
11171
|
-
"name": "
|
|
11506
|
+
"name": "condition",
|
|
11172
11507
|
"type": {
|
|
11173
|
-
"text": "
|
|
11174
|
-
}
|
|
11175
|
-
"default": "\"block-start\"",
|
|
11176
|
-
"description": "Control the position of the tooltip component.\nWhen set to \"none\", the tooltip will be shown above\nbut accommodate for browser boundaries.",
|
|
11177
|
-
"fieldName": "position"
|
|
11508
|
+
"text": "unknown"
|
|
11509
|
+
}
|
|
11178
11510
|
},
|
|
11179
11511
|
{
|
|
11180
|
-
"name": "
|
|
11181
|
-
"
|
|
11182
|
-
"text": "string"
|
|
11183
|
-
},
|
|
11184
|
-
"default": "\"tooltip\"",
|
|
11185
|
-
"description": "The tooltip role, set on the component by default.",
|
|
11186
|
-
"fieldName": "role"
|
|
11187
|
-
},
|
|
11188
|
-
{
|
|
11189
|
-
"name": "id",
|
|
11190
|
-
"type": {
|
|
11191
|
-
"text": "string"
|
|
11192
|
-
},
|
|
11193
|
-
"default": "\"\"",
|
|
11194
|
-
"description": "The id for the active element to reference via aria-describedby.",
|
|
11195
|
-
"fieldName": "id"
|
|
11196
|
-
},
|
|
11197
|
-
{
|
|
11198
|
-
"name": "delay",
|
|
11199
|
-
"type": {
|
|
11200
|
-
"text": "number"
|
|
11201
|
-
},
|
|
11202
|
-
"default": "500",
|
|
11203
|
-
"description": "The delay in milliseconds before the tooltip is opened.",
|
|
11204
|
-
"fieldName": "delay"
|
|
11205
|
-
}
|
|
11206
|
-
],
|
|
11207
|
-
"superclass": {
|
|
11208
|
-
"name": "LitElement",
|
|
11209
|
-
"package": "lit"
|
|
11210
|
-
},
|
|
11211
|
-
"status": "ready",
|
|
11212
|
-
"category": "overlay",
|
|
11213
|
-
"tagName": "nord-tooltip",
|
|
11214
|
-
"customElement": true
|
|
11215
|
-
}
|
|
11216
|
-
],
|
|
11217
|
-
"exports": [
|
|
11218
|
-
{
|
|
11219
|
-
"kind": "js",
|
|
11220
|
-
"name": "default",
|
|
11221
|
-
"declaration": {
|
|
11222
|
-
"name": "Tooltip",
|
|
11223
|
-
"module": "src/tooltip/Tooltip.ts"
|
|
11224
|
-
}
|
|
11225
|
-
},
|
|
11226
|
-
{
|
|
11227
|
-
"kind": "custom-element-definition",
|
|
11228
|
-
"name": "nord-tooltip",
|
|
11229
|
-
"declaration": {
|
|
11230
|
-
"name": "Tooltip",
|
|
11231
|
-
"module": "src/tooltip/Tooltip.ts"
|
|
11232
|
-
}
|
|
11233
|
-
}
|
|
11234
|
-
],
|
|
11235
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use a tooltip if an interactive element requires more explanation.\n- Use a tooltip to provide additional information, such as UI shortcuts.\n- Use the `label` attribute on icons used for shortcuts for accessibility.\n- Use clear and accurate phrasing.\n- Be consistent with positioning of tooltips in the user interface.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use interactive elements such as links or buttons inside a tooltip.\n- Don’t rely on tooltips when you have room to provide more explanation.\n- Don’t depend on tooltips for vital information.\n\n</div>\n\n---\n\n## Content guidelines\n\nTooltips should be clear and informative, but not imperative to using the interface they refer to. They should not contain interactive elements such as buttons or links.\n\n<div class=\"n-usage n-usage-do\">Export – Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export – Export data as a CSV, <u>more information on CSVs</u></div>\n\nTooltips should provide useful information and not repeat information that is already present.\n\n<div class=\"n-usage n-usage-do\">Export – Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export – Export data</div>\n\nWhen writing tooltips, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Export data as a spreadsheet</div>\n<div class=\"n-usage n-usage-dont\">Export Data As a Spreadsheet</div>\n\nUse tooltips sparingly. If your UI is requiring a lot of tooltips, consider revising the interface to provide better explanations and better labelling.\n\n---\n\n## Additional considerations\n\n- Always provide a tooltip for icon-only buttons or a button with an associated keyboard shortcut.\n- Don’t use tooltip to communicate critical information, including errors.\n- Use sparingly. If you’re building something that requires a lot of tooltips, take a step back and work on clarifying the design and the language used instead.\n"
|
|
11236
|
-
},
|
|
11237
|
-
{
|
|
11238
|
-
"kind": "javascript-module",
|
|
11239
|
-
"path": "src/visually-hidden/VisuallyHidden.ts",
|
|
11240
|
-
"declarations": [
|
|
11241
|
-
{
|
|
11242
|
-
"kind": "class",
|
|
11243
|
-
"description": "Visually hidden is used when an element needs to be available\nto assistive technologies like screen readers, but be otherwise\nhidden.",
|
|
11244
|
-
"name": "VisuallyHidden",
|
|
11245
|
-
"slots": [
|
|
11246
|
-
{
|
|
11247
|
-
"description": "The visually hidden content.",
|
|
11248
|
-
"name": ""
|
|
11249
|
-
}
|
|
11250
|
-
],
|
|
11251
|
-
"members": [],
|
|
11252
|
-
"superclass": {
|
|
11253
|
-
"name": "LitElement",
|
|
11254
|
-
"package": "lit"
|
|
11255
|
-
},
|
|
11256
|
-
"status": "ready",
|
|
11257
|
-
"category": "text",
|
|
11258
|
-
"tagName": "nord-visually-hidden",
|
|
11259
|
-
"customElement": true
|
|
11260
|
-
}
|
|
11261
|
-
],
|
|
11262
|
-
"exports": [
|
|
11263
|
-
{
|
|
11264
|
-
"kind": "js",
|
|
11265
|
-
"name": "default",
|
|
11266
|
-
"declaration": {
|
|
11267
|
-
"name": "VisuallyHidden",
|
|
11268
|
-
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
11269
|
-
}
|
|
11270
|
-
},
|
|
11271
|
-
{
|
|
11272
|
-
"kind": "custom-element-definition",
|
|
11273
|
-
"name": "nord-visually-hidden",
|
|
11274
|
-
"declaration": {
|
|
11275
|
-
"name": "VisuallyHidden",
|
|
11276
|
-
"module": "src/visually-hidden/VisuallyHidden.ts"
|
|
11277
|
-
}
|
|
11278
|
-
}
|
|
11279
|
-
],
|
|
11280
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to hide text visually from the screen, but keep it available to assistive technologies, such as screen readers.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for hiding interactive content.\n\n</div>\n"
|
|
11281
|
-
},
|
|
11282
|
-
{
|
|
11283
|
-
"kind": "javascript-module",
|
|
11284
|
-
"path": "src/common/decorators/observe.ts",
|
|
11285
|
-
"declarations": [
|
|
11286
|
-
{
|
|
11287
|
-
"kind": "function",
|
|
11288
|
-
"name": "observe",
|
|
11289
|
-
"parameters": [
|
|
11290
|
-
{
|
|
11291
|
-
"name": "propertyName",
|
|
11292
|
-
"type": {
|
|
11293
|
-
"text": "string"
|
|
11294
|
-
}
|
|
11295
|
-
},
|
|
11296
|
-
{
|
|
11297
|
-
"name": "lifecycle",
|
|
11298
|
-
"default": "\"update\"",
|
|
11512
|
+
"name": "trueCase",
|
|
11513
|
+
"default": "condition",
|
|
11299
11514
|
"type": {
|
|
11300
|
-
"text": "
|
|
11515
|
+
"text": "any"
|
|
11301
11516
|
}
|
|
11302
|
-
}
|
|
11303
|
-
]
|
|
11304
|
-
}
|
|
11305
|
-
],
|
|
11306
|
-
"exports": [
|
|
11307
|
-
{
|
|
11308
|
-
"kind": "js",
|
|
11309
|
-
"name": "observe",
|
|
11310
|
-
"declaration": {
|
|
11311
|
-
"name": "observe",
|
|
11312
|
-
"module": "src/common/decorators/observe.ts"
|
|
11313
|
-
}
|
|
11314
|
-
}
|
|
11315
|
-
]
|
|
11316
|
-
},
|
|
11317
|
-
{
|
|
11318
|
-
"kind": "javascript-module",
|
|
11319
|
-
"path": "src/common/controllers/DirectionController.ts",
|
|
11320
|
-
"declarations": [
|
|
11321
|
-
{
|
|
11322
|
-
"kind": "class",
|
|
11323
|
-
"description": "",
|
|
11324
|
-
"name": "DirectionController",
|
|
11325
|
-
"members": [
|
|
11326
|
-
{
|
|
11327
|
-
"kind": "field",
|
|
11328
|
-
"name": "hosts",
|
|
11329
|
-
"privacy": "private",
|
|
11330
|
-
"static": true,
|
|
11331
|
-
"default": "new Set<ReactiveControllerHost>()"
|
|
11332
11517
|
},
|
|
11333
11518
|
{
|
|
11334
|
-
"
|
|
11335
|
-
"
|
|
11336
|
-
"type": {
|
|
11337
|
-
"text": "MutationObserver | undefined"
|
|
11338
|
-
},
|
|
11339
|
-
"privacy": "private",
|
|
11340
|
-
"static": true
|
|
11341
|
-
},
|
|
11342
|
-
{
|
|
11343
|
-
"kind": "field",
|
|
11344
|
-
"name": "dir",
|
|
11519
|
+
"name": "falseCase",
|
|
11520
|
+
"default": "nothing",
|
|
11345
11521
|
"type": {
|
|
11346
|
-
"text": "
|
|
11522
|
+
"text": "any"
|
|
11347
11523
|
}
|
|
11348
|
-
},
|
|
11349
|
-
{
|
|
11350
|
-
"kind": "field",
|
|
11351
|
-
"name": "isLTR"
|
|
11352
|
-
},
|
|
11353
|
-
{
|
|
11354
|
-
"kind": "field",
|
|
11355
|
-
"name": "isRTL"
|
|
11356
|
-
},
|
|
11357
|
-
{
|
|
11358
|
-
"kind": "method",
|
|
11359
|
-
"name": "hostConnected"
|
|
11360
|
-
},
|
|
11361
|
-
{
|
|
11362
|
-
"kind": "method",
|
|
11363
|
-
"name": "hostDisconnected"
|
|
11364
|
-
},
|
|
11365
|
-
{
|
|
11366
|
-
"kind": "method",
|
|
11367
|
-
"name": "observe",
|
|
11368
|
-
"privacy": "private",
|
|
11369
|
-
"static": true
|
|
11370
11524
|
}
|
|
11371
11525
|
]
|
|
11372
11526
|
}
|
|
@@ -11374,590 +11528,490 @@
|
|
|
11374
11528
|
"exports": [
|
|
11375
11529
|
{
|
|
11376
11530
|
"kind": "js",
|
|
11377
|
-
"name": "
|
|
11531
|
+
"name": "cond",
|
|
11378
11532
|
"declaration": {
|
|
11379
|
-
"name": "
|
|
11380
|
-
"module": "src/common/
|
|
11533
|
+
"name": "cond",
|
|
11534
|
+
"module": "src/common/directives/cond.ts"
|
|
11381
11535
|
}
|
|
11382
|
-
}
|
|
11383
|
-
]
|
|
11384
|
-
},
|
|
11385
|
-
{
|
|
11386
|
-
"kind": "javascript-module",
|
|
11387
|
-
"path": "src/common/controllers/EventController.ts",
|
|
11388
|
-
"declarations": [
|
|
11389
|
-
{
|
|
11390
|
-
"kind": "class",
|
|
11391
|
-
"description": "",
|
|
11392
|
-
"name": "EventController",
|
|
11393
|
-
"members": [
|
|
11394
|
-
{
|
|
11395
|
-
"kind": "field",
|
|
11396
|
-
"name": "listeners",
|
|
11397
|
-
"type": {
|
|
11398
|
-
"text": "Array<() => void>"
|
|
11399
|
-
},
|
|
11400
|
-
"privacy": "private",
|
|
11401
|
-
"default": "[]"
|
|
11402
|
-
},
|
|
11403
|
-
{
|
|
11404
|
-
"kind": "method",
|
|
11405
|
-
"name": "hostDisconnected"
|
|
11406
|
-
},
|
|
11407
|
-
{
|
|
11408
|
-
"kind": "method",
|
|
11409
|
-
"name": "listen",
|
|
11410
|
-
"return": {
|
|
11411
|
-
"type": {
|
|
11412
|
-
"text": "void"
|
|
11413
|
-
}
|
|
11414
|
-
},
|
|
11415
|
-
"parameters": [
|
|
11416
|
-
{
|
|
11417
|
-
"name": "window",
|
|
11418
|
-
"type": {
|
|
11419
|
-
"text": "Window"
|
|
11420
|
-
}
|
|
11421
|
-
},
|
|
11422
|
-
{
|
|
11423
|
-
"name": "type",
|
|
11424
|
-
"type": {
|
|
11425
|
-
"text": "K"
|
|
11426
|
-
}
|
|
11427
|
-
},
|
|
11428
|
-
{
|
|
11429
|
-
"name": "listener",
|
|
11430
|
-
"type": {
|
|
11431
|
-
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
11432
|
-
}
|
|
11433
|
-
},
|
|
11434
|
-
{
|
|
11435
|
-
"name": "options",
|
|
11436
|
-
"optional": true,
|
|
11437
|
-
"type": {
|
|
11438
|
-
"text": "boolean | AddEventListenerOptions"
|
|
11439
|
-
}
|
|
11440
|
-
}
|
|
11441
|
-
]
|
|
11442
|
-
},
|
|
11443
|
-
{
|
|
11444
|
-
"kind": "method",
|
|
11445
|
-
"name": "listen",
|
|
11446
|
-
"return": {
|
|
11447
|
-
"type": {
|
|
11448
|
-
"text": "void"
|
|
11449
|
-
}
|
|
11450
|
-
},
|
|
11451
|
-
"parameters": [
|
|
11452
|
-
{
|
|
11453
|
-
"name": "document",
|
|
11454
|
-
"type": {
|
|
11455
|
-
"text": "Document"
|
|
11456
|
-
}
|
|
11457
|
-
},
|
|
11458
|
-
{
|
|
11459
|
-
"name": "type",
|
|
11460
|
-
"type": {
|
|
11461
|
-
"text": "K"
|
|
11462
|
-
}
|
|
11463
|
-
},
|
|
11464
|
-
{
|
|
11465
|
-
"name": "listener",
|
|
11466
|
-
"type": {
|
|
11467
|
-
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
11468
|
-
}
|
|
11469
|
-
},
|
|
11470
|
-
{
|
|
11471
|
-
"name": "options",
|
|
11472
|
-
"optional": true,
|
|
11473
|
-
"type": {
|
|
11474
|
-
"text": "boolean | AddEventListenerOptions"
|
|
11475
|
-
}
|
|
11476
|
-
}
|
|
11477
|
-
]
|
|
11478
|
-
},
|
|
11479
|
-
{
|
|
11480
|
-
"kind": "method",
|
|
11481
|
-
"name": "listen",
|
|
11482
|
-
"return": {
|
|
11483
|
-
"type": {
|
|
11484
|
-
"text": "void"
|
|
11485
|
-
}
|
|
11486
|
-
},
|
|
11487
|
-
"parameters": [
|
|
11488
|
-
{
|
|
11489
|
-
"name": "element",
|
|
11490
|
-
"type": {
|
|
11491
|
-
"text": "HTMLElement"
|
|
11492
|
-
}
|
|
11493
|
-
},
|
|
11494
|
-
{
|
|
11495
|
-
"name": "type",
|
|
11496
|
-
"type": {
|
|
11497
|
-
"text": "K"
|
|
11498
|
-
}
|
|
11499
|
-
},
|
|
11500
|
-
{
|
|
11501
|
-
"name": "listener",
|
|
11502
|
-
"type": {
|
|
11503
|
-
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
11504
|
-
}
|
|
11505
|
-
},
|
|
11506
|
-
{
|
|
11507
|
-
"name": "options",
|
|
11508
|
-
"optional": true,
|
|
11509
|
-
"type": {
|
|
11510
|
-
"text": "boolean | AddEventListenerOptions"
|
|
11511
|
-
}
|
|
11512
|
-
}
|
|
11513
|
-
]
|
|
11514
|
-
},
|
|
11515
|
-
{
|
|
11516
|
-
"kind": "method",
|
|
11517
|
-
"name": "listen",
|
|
11518
|
-
"return": {
|
|
11519
|
-
"type": {
|
|
11520
|
-
"text": "void"
|
|
11521
|
-
}
|
|
11522
|
-
},
|
|
11523
|
-
"parameters": [
|
|
11524
|
-
{
|
|
11525
|
-
"name": "element",
|
|
11526
|
-
"type": {
|
|
11527
|
-
"text": "ShadowRoot"
|
|
11528
|
-
}
|
|
11529
|
-
},
|
|
11530
|
-
{
|
|
11531
|
-
"name": "type",
|
|
11532
|
-
"type": {
|
|
11533
|
-
"text": "K"
|
|
11534
|
-
}
|
|
11535
|
-
},
|
|
11536
|
-
{
|
|
11537
|
-
"name": "listener",
|
|
11538
|
-
"type": {
|
|
11539
|
-
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
11540
|
-
}
|
|
11541
|
-
},
|
|
11542
|
-
{
|
|
11543
|
-
"name": "options",
|
|
11544
|
-
"optional": true,
|
|
11545
|
-
"type": {
|
|
11546
|
-
"text": "boolean | AddEventListenerOptions"
|
|
11547
|
-
}
|
|
11548
|
-
}
|
|
11549
|
-
]
|
|
11550
|
-
},
|
|
11551
|
-
{
|
|
11552
|
-
"kind": "method",
|
|
11553
|
-
"name": "listen",
|
|
11554
|
-
"parameters": [
|
|
11555
|
-
{
|
|
11556
|
-
"name": "element",
|
|
11557
|
-
"type": {
|
|
11558
|
-
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
11559
|
-
}
|
|
11560
|
-
},
|
|
11561
|
-
{
|
|
11562
|
-
"name": "type",
|
|
11563
|
-
"type": {
|
|
11564
|
-
"text": "string"
|
|
11565
|
-
}
|
|
11566
|
-
},
|
|
11567
|
-
{
|
|
11568
|
-
"name": "listener",
|
|
11569
|
-
"type": {
|
|
11570
|
-
"text": "(ev: any) => any"
|
|
11571
|
-
}
|
|
11572
|
-
},
|
|
11573
|
-
{
|
|
11574
|
-
"name": "options",
|
|
11575
|
-
"optional": true,
|
|
11576
|
-
"type": {
|
|
11577
|
-
"text": "boolean | AddEventListenerOptions"
|
|
11578
|
-
}
|
|
11579
|
-
}
|
|
11580
|
-
]
|
|
11581
|
-
}
|
|
11582
|
-
]
|
|
11583
|
-
}
|
|
11584
|
-
],
|
|
11585
|
-
"exports": [
|
|
11536
|
+
},
|
|
11586
11537
|
{
|
|
11587
11538
|
"kind": "js",
|
|
11588
|
-
"name": "
|
|
11539
|
+
"name": "cond",
|
|
11589
11540
|
"declaration": {
|
|
11590
|
-
"name": "
|
|
11591
|
-
"module": "src/common/
|
|
11592
|
-
}
|
|
11593
|
-
}
|
|
11594
|
-
]
|
|
11595
|
-
},
|
|
11596
|
-
{
|
|
11597
|
-
"kind": "javascript-module",
|
|
11598
|
-
"path": "src/common/controllers/FocusTrapController.ts",
|
|
11599
|
-
"declarations": [
|
|
11600
|
-
{
|
|
11601
|
-
"kind": "class",
|
|
11602
|
-
"description": "",
|
|
11603
|
-
"name": "FocusTrapController",
|
|
11604
|
-
"members": [
|
|
11605
|
-
{
|
|
11606
|
-
"kind": "field",
|
|
11607
|
-
"name": "lastScrollY",
|
|
11608
|
-
"type": {
|
|
11609
|
-
"text": "number"
|
|
11610
|
-
},
|
|
11611
|
-
"privacy": "private",
|
|
11612
|
-
"default": "0"
|
|
11613
|
-
},
|
|
11614
|
-
{
|
|
11615
|
-
"kind": "field",
|
|
11616
|
-
"name": "lastFocused",
|
|
11617
|
-
"type": {
|
|
11618
|
-
"text": "HTMLElement | undefined"
|
|
11619
|
-
},
|
|
11620
|
-
"privacy": "private"
|
|
11621
|
-
},
|
|
11622
|
-
{
|
|
11623
|
-
"kind": "method",
|
|
11624
|
-
"name": "hostDisconnected"
|
|
11625
|
-
},
|
|
11626
|
-
{
|
|
11627
|
-
"kind": "method",
|
|
11628
|
-
"name": "trap"
|
|
11629
|
-
},
|
|
11630
|
-
{
|
|
11631
|
-
"kind": "method",
|
|
11632
|
-
"name": "release"
|
|
11633
|
-
},
|
|
11634
|
-
{
|
|
11635
|
-
"kind": "field",
|
|
11636
|
-
"name": "handleFocusOut",
|
|
11637
|
-
"privacy": "private"
|
|
11638
|
-
},
|
|
11639
|
-
{
|
|
11640
|
-
"kind": "field",
|
|
11641
|
-
"name": "handleFocusIn",
|
|
11642
|
-
"privacy": "private"
|
|
11643
|
-
},
|
|
11644
|
-
{
|
|
11645
|
-
"kind": "method",
|
|
11646
|
-
"name": "recaptureFocus",
|
|
11647
|
-
"privacy": "private"
|
|
11648
|
-
},
|
|
11649
|
-
{
|
|
11650
|
-
"kind": "field",
|
|
11651
|
-
"name": "restoreScroll",
|
|
11652
|
-
"privacy": "private"
|
|
11653
|
-
}
|
|
11654
|
-
]
|
|
11655
|
-
}
|
|
11656
|
-
],
|
|
11657
|
-
"exports": [
|
|
11541
|
+
"name": "cond",
|
|
11542
|
+
"module": "src/common/directives/cond.ts"
|
|
11543
|
+
}
|
|
11544
|
+
},
|
|
11658
11545
|
{
|
|
11659
11546
|
"kind": "js",
|
|
11660
|
-
"name": "
|
|
11547
|
+
"name": "cond",
|
|
11661
11548
|
"declaration": {
|
|
11662
|
-
"name": "
|
|
11663
|
-
"module": "src/common/
|
|
11549
|
+
"name": "cond",
|
|
11550
|
+
"module": "src/common/directives/cond.ts"
|
|
11551
|
+
}
|
|
11552
|
+
},
|
|
11553
|
+
{
|
|
11554
|
+
"kind": "js",
|
|
11555
|
+
"name": "cond",
|
|
11556
|
+
"declaration": {
|
|
11557
|
+
"name": "cond",
|
|
11558
|
+
"module": "src/common/directives/cond.ts"
|
|
11559
|
+
}
|
|
11560
|
+
},
|
|
11561
|
+
{
|
|
11562
|
+
"kind": "js",
|
|
11563
|
+
"name": "cond",
|
|
11564
|
+
"declaration": {
|
|
11565
|
+
"name": "cond",
|
|
11566
|
+
"module": "src/common/directives/cond.ts"
|
|
11567
|
+
}
|
|
11568
|
+
},
|
|
11569
|
+
{
|
|
11570
|
+
"kind": "js",
|
|
11571
|
+
"name": "cond",
|
|
11572
|
+
"declaration": {
|
|
11573
|
+
"name": "cond",
|
|
11574
|
+
"module": "src/common/directives/cond.ts"
|
|
11575
|
+
}
|
|
11576
|
+
},
|
|
11577
|
+
{
|
|
11578
|
+
"kind": "js",
|
|
11579
|
+
"name": "cond",
|
|
11580
|
+
"declaration": {
|
|
11581
|
+
"name": "cond",
|
|
11582
|
+
"module": "src/common/directives/cond.ts"
|
|
11583
|
+
}
|
|
11584
|
+
},
|
|
11585
|
+
{
|
|
11586
|
+
"kind": "js",
|
|
11587
|
+
"name": "cond",
|
|
11588
|
+
"declaration": {
|
|
11589
|
+
"name": "cond",
|
|
11590
|
+
"module": "src/common/directives/cond.ts"
|
|
11664
11591
|
}
|
|
11665
11592
|
}
|
|
11666
11593
|
]
|
|
11667
11594
|
},
|
|
11668
11595
|
{
|
|
11669
11596
|
"kind": "javascript-module",
|
|
11670
|
-
"path": "src/common/
|
|
11597
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
11671
11598
|
"declarations": [
|
|
11672
11599
|
{
|
|
11673
|
-
"kind": "
|
|
11674
|
-
"
|
|
11675
|
-
"
|
|
11676
|
-
|
|
11600
|
+
"kind": "function",
|
|
11601
|
+
"name": "wrapIf",
|
|
11602
|
+
"return": {
|
|
11603
|
+
"type": {
|
|
11604
|
+
"text": "TInner"
|
|
11605
|
+
}
|
|
11606
|
+
},
|
|
11607
|
+
"parameters": [
|
|
11677
11608
|
{
|
|
11678
|
-
"
|
|
11679
|
-
"name": "events",
|
|
11609
|
+
"name": "condition",
|
|
11680
11610
|
"type": {
|
|
11681
|
-
"text": "
|
|
11682
|
-
}
|
|
11683
|
-
"privacy": "private",
|
|
11684
|
-
"default": "new EventController(host)"
|
|
11611
|
+
"text": "false"
|
|
11612
|
+
}
|
|
11685
11613
|
},
|
|
11686
11614
|
{
|
|
11687
|
-
"
|
|
11688
|
-
"
|
|
11615
|
+
"name": "inner",
|
|
11616
|
+
"type": {
|
|
11617
|
+
"text": "() => TInner"
|
|
11618
|
+
}
|
|
11689
11619
|
},
|
|
11690
11620
|
{
|
|
11691
|
-
"
|
|
11692
|
-
"
|
|
11693
|
-
|
|
11621
|
+
"name": "wrapper",
|
|
11622
|
+
"type": {
|
|
11623
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11624
|
+
}
|
|
11694
11625
|
}
|
|
11695
11626
|
]
|
|
11696
|
-
}
|
|
11697
|
-
],
|
|
11698
|
-
"exports": [
|
|
11699
|
-
{
|
|
11700
|
-
"kind": "js",
|
|
11701
|
-
"name": "FormDataController",
|
|
11702
|
-
"declaration": {
|
|
11703
|
-
"name": "FormDataController",
|
|
11704
|
-
"module": "src/common/controllers/FormDataController.ts"
|
|
11705
|
-
}
|
|
11706
|
-
}
|
|
11707
|
-
]
|
|
11708
|
-
},
|
|
11709
|
-
{
|
|
11710
|
-
"kind": "javascript-module",
|
|
11711
|
-
"path": "src/common/controllers/LightDismissController.ts",
|
|
11712
|
-
"declarations": [
|
|
11627
|
+
},
|
|
11713
11628
|
{
|
|
11714
|
-
"kind": "
|
|
11715
|
-
"
|
|
11716
|
-
"
|
|
11717
|
-
|
|
11629
|
+
"kind": "function",
|
|
11630
|
+
"name": "wrapIf",
|
|
11631
|
+
"return": {
|
|
11632
|
+
"type": {
|
|
11633
|
+
"text": "TWrapper"
|
|
11634
|
+
}
|
|
11635
|
+
},
|
|
11636
|
+
"parameters": [
|
|
11718
11637
|
{
|
|
11719
|
-
"
|
|
11720
|
-
"name": "shortcut",
|
|
11638
|
+
"name": "condition",
|
|
11721
11639
|
"type": {
|
|
11722
|
-
"text": "
|
|
11723
|
-
}
|
|
11724
|
-
"privacy": "private",
|
|
11725
|
-
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
11640
|
+
"text": "true"
|
|
11641
|
+
}
|
|
11726
11642
|
},
|
|
11727
11643
|
{
|
|
11728
|
-
"
|
|
11729
|
-
"name": "events",
|
|
11644
|
+
"name": "inner",
|
|
11730
11645
|
"type": {
|
|
11731
|
-
"text": "
|
|
11732
|
-
}
|
|
11733
|
-
"privacy": "private",
|
|
11734
|
-
"default": "new EventController(host)"
|
|
11646
|
+
"text": "() => TInner"
|
|
11647
|
+
}
|
|
11735
11648
|
},
|
|
11736
11649
|
{
|
|
11737
|
-
"
|
|
11738
|
-
"
|
|
11650
|
+
"name": "wrapper",
|
|
11651
|
+
"type": {
|
|
11652
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11653
|
+
}
|
|
11654
|
+
}
|
|
11655
|
+
]
|
|
11656
|
+
},
|
|
11657
|
+
{
|
|
11658
|
+
"kind": "function",
|
|
11659
|
+
"name": "wrapIf",
|
|
11660
|
+
"return": {
|
|
11661
|
+
"type": {
|
|
11662
|
+
"text": "TInner | TWrapper"
|
|
11663
|
+
}
|
|
11664
|
+
},
|
|
11665
|
+
"parameters": [
|
|
11666
|
+
{
|
|
11667
|
+
"name": "condition",
|
|
11668
|
+
"type": {
|
|
11669
|
+
"text": "unknown"
|
|
11670
|
+
}
|
|
11739
11671
|
},
|
|
11740
11672
|
{
|
|
11741
|
-
"
|
|
11742
|
-
"
|
|
11743
|
-
|
|
11673
|
+
"name": "inner",
|
|
11674
|
+
"type": {
|
|
11675
|
+
"text": "() => TInner"
|
|
11676
|
+
}
|
|
11744
11677
|
},
|
|
11745
11678
|
{
|
|
11746
|
-
"
|
|
11747
|
-
"
|
|
11748
|
-
|
|
11679
|
+
"name": "wrapper",
|
|
11680
|
+
"type": {
|
|
11681
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11682
|
+
}
|
|
11749
11683
|
}
|
|
11750
11684
|
]
|
|
11751
|
-
}
|
|
11752
|
-
],
|
|
11753
|
-
"exports": [
|
|
11754
|
-
{
|
|
11755
|
-
"kind": "js",
|
|
11756
|
-
"name": "LightDismissController",
|
|
11757
|
-
"declaration": {
|
|
11758
|
-
"name": "LightDismissController",
|
|
11759
|
-
"module": "src/common/controllers/LightDismissController.ts"
|
|
11760
|
-
}
|
|
11761
|
-
}
|
|
11762
|
-
]
|
|
11763
|
-
},
|
|
11764
|
-
{
|
|
11765
|
-
"kind": "javascript-module",
|
|
11766
|
-
"path": "src/common/controllers/LightDomController.ts",
|
|
11767
|
-
"declarations": [
|
|
11685
|
+
},
|
|
11768
11686
|
{
|
|
11769
|
-
"kind": "
|
|
11770
|
-
"
|
|
11771
|
-
"
|
|
11772
|
-
"members": [
|
|
11687
|
+
"kind": "function",
|
|
11688
|
+
"name": "wrapIf",
|
|
11689
|
+
"parameters": [
|
|
11773
11690
|
{
|
|
11774
|
-
"
|
|
11775
|
-
"name": "container",
|
|
11691
|
+
"name": "condition",
|
|
11776
11692
|
"type": {
|
|
11777
|
-
"text": "
|
|
11778
|
-
}
|
|
11779
|
-
"privacy": "private"
|
|
11693
|
+
"text": "any"
|
|
11694
|
+
}
|
|
11780
11695
|
},
|
|
11781
11696
|
{
|
|
11782
|
-
"
|
|
11783
|
-
"
|
|
11697
|
+
"name": "inner",
|
|
11698
|
+
"type": {
|
|
11699
|
+
"text": "() => TInner"
|
|
11700
|
+
}
|
|
11784
11701
|
},
|
|
11785
11702
|
{
|
|
11786
|
-
"
|
|
11787
|
-
"
|
|
11703
|
+
"name": "wrapper",
|
|
11704
|
+
"type": {
|
|
11705
|
+
"text": "(innards: TInner) => TWrapper"
|
|
11706
|
+
}
|
|
11788
11707
|
}
|
|
11789
|
-
]
|
|
11708
|
+
],
|
|
11709
|
+
"return": {
|
|
11710
|
+
"type": {
|
|
11711
|
+
"text": ""
|
|
11712
|
+
}
|
|
11713
|
+
}
|
|
11790
11714
|
}
|
|
11791
11715
|
],
|
|
11792
11716
|
"exports": [
|
|
11793
11717
|
{
|
|
11794
11718
|
"kind": "js",
|
|
11795
|
-
"name": "
|
|
11719
|
+
"name": "wrapIf",
|
|
11796
11720
|
"declaration": {
|
|
11797
|
-
"name": "
|
|
11798
|
-
"module": "src/common/
|
|
11721
|
+
"name": "wrapIf",
|
|
11722
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11723
|
+
}
|
|
11724
|
+
},
|
|
11725
|
+
{
|
|
11726
|
+
"kind": "js",
|
|
11727
|
+
"name": "wrapIf",
|
|
11728
|
+
"declaration": {
|
|
11729
|
+
"name": "wrapIf",
|
|
11730
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11731
|
+
}
|
|
11732
|
+
},
|
|
11733
|
+
{
|
|
11734
|
+
"kind": "js",
|
|
11735
|
+
"name": "wrapIf",
|
|
11736
|
+
"declaration": {
|
|
11737
|
+
"name": "wrapIf",
|
|
11738
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11739
|
+
}
|
|
11740
|
+
},
|
|
11741
|
+
{
|
|
11742
|
+
"kind": "js",
|
|
11743
|
+
"name": "wrapIf",
|
|
11744
|
+
"declaration": {
|
|
11745
|
+
"name": "wrapIf",
|
|
11746
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11799
11747
|
}
|
|
11800
11748
|
}
|
|
11801
11749
|
]
|
|
11802
11750
|
},
|
|
11803
11751
|
{
|
|
11804
11752
|
"kind": "javascript-module",
|
|
11805
|
-
"path": "src/common/controllers/
|
|
11753
|
+
"path": "src/common/controllers/DirectionController.ts",
|
|
11806
11754
|
"declarations": [
|
|
11807
11755
|
{
|
|
11808
11756
|
"kind": "class",
|
|
11809
|
-
"description": "
|
|
11810
|
-
"name": "
|
|
11757
|
+
"description": "",
|
|
11758
|
+
"name": "DirectionController",
|
|
11811
11759
|
"members": [
|
|
11812
11760
|
{
|
|
11813
11761
|
"kind": "field",
|
|
11814
|
-
"name": "
|
|
11815
|
-
"
|
|
11816
|
-
|
|
11817
|
-
|
|
11818
|
-
"privacy": "private"
|
|
11762
|
+
"name": "hosts",
|
|
11763
|
+
"privacy": "private",
|
|
11764
|
+
"static": true,
|
|
11765
|
+
"default": "new Set<ReactiveControllerHost>()"
|
|
11819
11766
|
},
|
|
11820
11767
|
{
|
|
11821
11768
|
"kind": "field",
|
|
11822
|
-
"name": "
|
|
11769
|
+
"name": "observer",
|
|
11823
11770
|
"type": {
|
|
11824
|
-
"text": "
|
|
11771
|
+
"text": "MutationObserver | undefined"
|
|
11825
11772
|
},
|
|
11826
11773
|
"privacy": "private",
|
|
11827
|
-
"
|
|
11828
|
-
},
|
|
11829
|
-
{
|
|
11830
|
-
"kind": "method",
|
|
11831
|
-
"name": "hostConnected",
|
|
11832
|
-
"inheritedFrom": {
|
|
11833
|
-
"name": "SlotController",
|
|
11834
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11835
|
-
}
|
|
11836
|
-
},
|
|
11837
|
-
{
|
|
11838
|
-
"kind": "method",
|
|
11839
|
-
"name": "hostDisconnected"
|
|
11774
|
+
"static": true
|
|
11840
11775
|
},
|
|
11841
11776
|
{
|
|
11842
11777
|
"kind": "field",
|
|
11843
|
-
"name": "
|
|
11844
|
-
"
|
|
11845
|
-
|
|
11846
|
-
{
|
|
11847
|
-
"name": "_e",
|
|
11848
|
-
"type": {
|
|
11849
|
-
"text": "Event"
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
11852
|
-
],
|
|
11853
|
-
"inheritedFrom": {
|
|
11854
|
-
"name": "SlotController",
|
|
11855
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11778
|
+
"name": "dir",
|
|
11779
|
+
"type": {
|
|
11780
|
+
"text": "WritingDirection"
|
|
11856
11781
|
}
|
|
11857
11782
|
},
|
|
11858
|
-
{
|
|
11859
|
-
"kind": "method",
|
|
11860
|
-
"name": "syncLightDom",
|
|
11861
|
-
"privacy": "private"
|
|
11862
|
-
},
|
|
11863
11783
|
{
|
|
11864
11784
|
"kind": "field",
|
|
11865
|
-
"name": "
|
|
11866
|
-
"type": {
|
|
11867
|
-
"text": "EventController"
|
|
11868
|
-
},
|
|
11869
|
-
"privacy": "private",
|
|
11870
|
-
"default": "new EventController(host)",
|
|
11871
|
-
"inheritedFrom": {
|
|
11872
|
-
"name": "SlotController",
|
|
11873
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11874
|
-
}
|
|
11785
|
+
"name": "isLTR"
|
|
11875
11786
|
},
|
|
11876
11787
|
{
|
|
11877
11788
|
"kind": "field",
|
|
11878
|
-
"name": "
|
|
11879
|
-
"inheritedFrom": {
|
|
11880
|
-
"name": "SlotController",
|
|
11881
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11882
|
-
}
|
|
11789
|
+
"name": "isRTL"
|
|
11883
11790
|
},
|
|
11884
11791
|
{
|
|
11885
|
-
"kind": "
|
|
11886
|
-
"name": "
|
|
11887
|
-
"inheritedFrom": {
|
|
11888
|
-
"name": "SlotController",
|
|
11889
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11890
|
-
}
|
|
11792
|
+
"kind": "method",
|
|
11793
|
+
"name": "hostConnected"
|
|
11891
11794
|
},
|
|
11892
11795
|
{
|
|
11893
|
-
"kind": "
|
|
11894
|
-
"name": "
|
|
11895
|
-
"inheritedFrom": {
|
|
11896
|
-
"name": "SlotController",
|
|
11897
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11898
|
-
}
|
|
11796
|
+
"kind": "method",
|
|
11797
|
+
"name": "hostDisconnected"
|
|
11899
11798
|
},
|
|
11900
11799
|
{
|
|
11901
|
-
"kind": "
|
|
11902
|
-
"name": "
|
|
11800
|
+
"kind": "method",
|
|
11801
|
+
"name": "observe",
|
|
11903
11802
|
"privacy": "private",
|
|
11904
|
-
"
|
|
11905
|
-
"name": "SlotController",
|
|
11906
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11907
|
-
}
|
|
11803
|
+
"static": true
|
|
11908
11804
|
}
|
|
11909
|
-
]
|
|
11910
|
-
"superclass": {
|
|
11911
|
-
"name": "SlotController",
|
|
11912
|
-
"module": "/src/common/controllers/SlotController.js"
|
|
11913
|
-
},
|
|
11914
|
-
"status": null,
|
|
11915
|
-
"category": null
|
|
11805
|
+
]
|
|
11916
11806
|
}
|
|
11917
11807
|
],
|
|
11918
11808
|
"exports": [
|
|
11919
11809
|
{
|
|
11920
11810
|
"kind": "js",
|
|
11921
|
-
"name": "
|
|
11811
|
+
"name": "DirectionController",
|
|
11922
11812
|
"declaration": {
|
|
11923
|
-
"name": "
|
|
11924
|
-
"module": "src/common/controllers/
|
|
11813
|
+
"name": "DirectionController",
|
|
11814
|
+
"module": "src/common/controllers/DirectionController.ts"
|
|
11925
11815
|
}
|
|
11926
11816
|
}
|
|
11927
11817
|
]
|
|
11928
11818
|
},
|
|
11929
11819
|
{
|
|
11930
11820
|
"kind": "javascript-module",
|
|
11931
|
-
"path": "src/common/controllers/
|
|
11821
|
+
"path": "src/common/controllers/EventController.ts",
|
|
11932
11822
|
"declarations": [
|
|
11933
11823
|
{
|
|
11934
11824
|
"kind": "class",
|
|
11935
11825
|
"description": "",
|
|
11936
|
-
"name": "
|
|
11826
|
+
"name": "EventController",
|
|
11937
11827
|
"members": [
|
|
11938
11828
|
{
|
|
11939
11829
|
"kind": "field",
|
|
11940
|
-
"name": "
|
|
11830
|
+
"name": "listeners",
|
|
11941
11831
|
"type": {
|
|
11942
|
-
"text": "
|
|
11832
|
+
"text": "Array<() => void>"
|
|
11943
11833
|
},
|
|
11944
|
-
"privacy": "private"
|
|
11834
|
+
"privacy": "private",
|
|
11835
|
+
"default": "[]"
|
|
11945
11836
|
},
|
|
11946
11837
|
{
|
|
11947
|
-
"kind": "
|
|
11948
|
-
"name": "
|
|
11838
|
+
"kind": "method",
|
|
11839
|
+
"name": "hostDisconnected"
|
|
11949
11840
|
},
|
|
11950
11841
|
{
|
|
11951
11842
|
"kind": "method",
|
|
11952
|
-
"name": "
|
|
11843
|
+
"name": "listen",
|
|
11844
|
+
"return": {
|
|
11845
|
+
"type": {
|
|
11846
|
+
"text": "void"
|
|
11847
|
+
}
|
|
11848
|
+
},
|
|
11849
|
+
"parameters": [
|
|
11850
|
+
{
|
|
11851
|
+
"name": "window",
|
|
11852
|
+
"type": {
|
|
11853
|
+
"text": "Window"
|
|
11854
|
+
}
|
|
11855
|
+
},
|
|
11856
|
+
{
|
|
11857
|
+
"name": "type",
|
|
11858
|
+
"type": {
|
|
11859
|
+
"text": "K"
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
{
|
|
11863
|
+
"name": "listener",
|
|
11864
|
+
"type": {
|
|
11865
|
+
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
11866
|
+
}
|
|
11867
|
+
},
|
|
11868
|
+
{
|
|
11869
|
+
"name": "options",
|
|
11870
|
+
"optional": true,
|
|
11871
|
+
"type": {
|
|
11872
|
+
"text": "boolean | AddEventListenerOptions"
|
|
11873
|
+
}
|
|
11874
|
+
}
|
|
11875
|
+
]
|
|
11876
|
+
},
|
|
11877
|
+
{
|
|
11878
|
+
"kind": "method",
|
|
11879
|
+
"name": "listen",
|
|
11880
|
+
"return": {
|
|
11881
|
+
"type": {
|
|
11882
|
+
"text": "void"
|
|
11883
|
+
}
|
|
11884
|
+
},
|
|
11885
|
+
"parameters": [
|
|
11886
|
+
{
|
|
11887
|
+
"name": "document",
|
|
11888
|
+
"type": {
|
|
11889
|
+
"text": "Document"
|
|
11890
|
+
}
|
|
11891
|
+
},
|
|
11892
|
+
{
|
|
11893
|
+
"name": "type",
|
|
11894
|
+
"type": {
|
|
11895
|
+
"text": "K"
|
|
11896
|
+
}
|
|
11897
|
+
},
|
|
11898
|
+
{
|
|
11899
|
+
"name": "listener",
|
|
11900
|
+
"type": {
|
|
11901
|
+
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
11902
|
+
}
|
|
11903
|
+
},
|
|
11904
|
+
{
|
|
11905
|
+
"name": "options",
|
|
11906
|
+
"optional": true,
|
|
11907
|
+
"type": {
|
|
11908
|
+
"text": "boolean | AddEventListenerOptions"
|
|
11909
|
+
}
|
|
11910
|
+
}
|
|
11911
|
+
]
|
|
11912
|
+
},
|
|
11913
|
+
{
|
|
11914
|
+
"kind": "method",
|
|
11915
|
+
"name": "listen",
|
|
11916
|
+
"return": {
|
|
11917
|
+
"type": {
|
|
11918
|
+
"text": "void"
|
|
11919
|
+
}
|
|
11920
|
+
},
|
|
11921
|
+
"parameters": [
|
|
11922
|
+
{
|
|
11923
|
+
"name": "element",
|
|
11924
|
+
"type": {
|
|
11925
|
+
"text": "HTMLElement"
|
|
11926
|
+
}
|
|
11927
|
+
},
|
|
11928
|
+
{
|
|
11929
|
+
"name": "type",
|
|
11930
|
+
"type": {
|
|
11931
|
+
"text": "K"
|
|
11932
|
+
}
|
|
11933
|
+
},
|
|
11934
|
+
{
|
|
11935
|
+
"name": "listener",
|
|
11936
|
+
"type": {
|
|
11937
|
+
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
11938
|
+
}
|
|
11939
|
+
},
|
|
11940
|
+
{
|
|
11941
|
+
"name": "options",
|
|
11942
|
+
"optional": true,
|
|
11943
|
+
"type": {
|
|
11944
|
+
"text": "boolean | AddEventListenerOptions"
|
|
11945
|
+
}
|
|
11946
|
+
}
|
|
11947
|
+
]
|
|
11948
|
+
},
|
|
11949
|
+
{
|
|
11950
|
+
"kind": "method",
|
|
11951
|
+
"name": "listen",
|
|
11952
|
+
"return": {
|
|
11953
|
+
"type": {
|
|
11954
|
+
"text": "void"
|
|
11955
|
+
}
|
|
11956
|
+
},
|
|
11957
|
+
"parameters": [
|
|
11958
|
+
{
|
|
11959
|
+
"name": "element",
|
|
11960
|
+
"type": {
|
|
11961
|
+
"text": "ShadowRoot"
|
|
11962
|
+
}
|
|
11963
|
+
},
|
|
11964
|
+
{
|
|
11965
|
+
"name": "type",
|
|
11966
|
+
"type": {
|
|
11967
|
+
"text": "K"
|
|
11968
|
+
}
|
|
11969
|
+
},
|
|
11970
|
+
{
|
|
11971
|
+
"name": "listener",
|
|
11972
|
+
"type": {
|
|
11973
|
+
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
11974
|
+
}
|
|
11975
|
+
},
|
|
11976
|
+
{
|
|
11977
|
+
"name": "options",
|
|
11978
|
+
"optional": true,
|
|
11979
|
+
"type": {
|
|
11980
|
+
"text": "boolean | AddEventListenerOptions"
|
|
11981
|
+
}
|
|
11982
|
+
}
|
|
11983
|
+
]
|
|
11953
11984
|
},
|
|
11954
11985
|
{
|
|
11955
11986
|
"kind": "method",
|
|
11956
|
-
"name": "
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11987
|
+
"name": "listen",
|
|
11988
|
+
"parameters": [
|
|
11989
|
+
{
|
|
11990
|
+
"name": "element",
|
|
11991
|
+
"type": {
|
|
11992
|
+
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
11993
|
+
}
|
|
11994
|
+
},
|
|
11995
|
+
{
|
|
11996
|
+
"name": "type",
|
|
11997
|
+
"type": {
|
|
11998
|
+
"text": "string"
|
|
11999
|
+
}
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
"name": "listener",
|
|
12003
|
+
"type": {
|
|
12004
|
+
"text": "(ev: any) => any"
|
|
12005
|
+
}
|
|
12006
|
+
},
|
|
12007
|
+
{
|
|
12008
|
+
"name": "options",
|
|
12009
|
+
"optional": true,
|
|
12010
|
+
"type": {
|
|
12011
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12012
|
+
}
|
|
12013
|
+
}
|
|
12014
|
+
]
|
|
11961
12015
|
}
|
|
11962
12016
|
]
|
|
11963
12017
|
}
|
|
@@ -11965,151 +12019,71 @@
|
|
|
11965
12019
|
"exports": [
|
|
11966
12020
|
{
|
|
11967
12021
|
"kind": "js",
|
|
11968
|
-
"name": "
|
|
12022
|
+
"name": "EventController",
|
|
11969
12023
|
"declaration": {
|
|
11970
|
-
"name": "
|
|
11971
|
-
"module": "src/common/controllers/
|
|
12024
|
+
"name": "EventController",
|
|
12025
|
+
"module": "src/common/controllers/EventController.ts"
|
|
11972
12026
|
}
|
|
11973
12027
|
}
|
|
11974
12028
|
]
|
|
11975
12029
|
},
|
|
11976
12030
|
{
|
|
11977
12031
|
"kind": "javascript-module",
|
|
11978
|
-
"path": "src/common/controllers/
|
|
12032
|
+
"path": "src/common/controllers/FocusTrapController.ts",
|
|
11979
12033
|
"declarations": [
|
|
11980
12034
|
{
|
|
11981
12035
|
"kind": "class",
|
|
11982
12036
|
"description": "",
|
|
11983
|
-
"name": "
|
|
12037
|
+
"name": "FocusTrapController",
|
|
11984
12038
|
"members": [
|
|
11985
12039
|
{
|
|
11986
12040
|
"kind": "field",
|
|
11987
|
-
"name": "
|
|
12041
|
+
"name": "lastScrollY",
|
|
11988
12042
|
"type": {
|
|
11989
|
-
"text": "
|
|
12043
|
+
"text": "number"
|
|
11990
12044
|
},
|
|
11991
|
-
"privacy": "private"
|
|
12045
|
+
"privacy": "private",
|
|
12046
|
+
"default": "0"
|
|
11992
12047
|
},
|
|
11993
12048
|
{
|
|
11994
12049
|
"kind": "field",
|
|
11995
|
-
"name": "
|
|
12050
|
+
"name": "lastFocused",
|
|
11996
12051
|
"type": {
|
|
11997
|
-
"text": "
|
|
12052
|
+
"text": "HTMLElement | undefined"
|
|
11998
12053
|
},
|
|
11999
|
-
"privacy": "private"
|
|
12000
|
-
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
12001
|
-
},
|
|
12002
|
-
{
|
|
12003
|
-
"kind": "method",
|
|
12004
|
-
"name": "hostConnected"
|
|
12005
|
-
},
|
|
12006
|
-
{
|
|
12007
|
-
"kind": "method",
|
|
12008
|
-
"name": "hostUpdated"
|
|
12054
|
+
"privacy": "private"
|
|
12009
12055
|
},
|
|
12010
12056
|
{
|
|
12011
12057
|
"kind": "method",
|
|
12012
12058
|
"name": "hostDisconnected"
|
|
12013
|
-
}
|
|
12014
|
-
]
|
|
12015
|
-
}
|
|
12016
|
-
],
|
|
12017
|
-
"exports": [
|
|
12018
|
-
{
|
|
12019
|
-
"kind": "js",
|
|
12020
|
-
"name": "PortalController",
|
|
12021
|
-
"declaration": {
|
|
12022
|
-
"name": "PortalController",
|
|
12023
|
-
"module": "src/common/controllers/PortalController.ts"
|
|
12024
|
-
}
|
|
12025
|
-
}
|
|
12026
|
-
]
|
|
12027
|
-
},
|
|
12028
|
-
{
|
|
12029
|
-
"kind": "javascript-module",
|
|
12030
|
-
"path": "src/common/controllers/ScrollbarController.ts",
|
|
12031
|
-
"declarations": [
|
|
12032
|
-
{
|
|
12033
|
-
"kind": "class",
|
|
12034
|
-
"description": "",
|
|
12035
|
-
"name": "ScrollbarController",
|
|
12036
|
-
"members": [
|
|
12037
|
-
{
|
|
12038
|
-
"kind": "field",
|
|
12039
|
-
"name": "resets",
|
|
12040
|
-
"privacy": "private",
|
|
12041
|
-
"default": "new Set<() => void>()"
|
|
12042
12059
|
},
|
|
12043
12060
|
{
|
|
12044
12061
|
"kind": "method",
|
|
12045
|
-
"name": "
|
|
12046
|
-
},
|
|
12047
|
-
{
|
|
12048
|
-
"kind": "field",
|
|
12049
|
-
"name": "width"
|
|
12062
|
+
"name": "trap"
|
|
12050
12063
|
},
|
|
12051
12064
|
{
|
|
12052
12065
|
"kind": "method",
|
|
12053
|
-
"name": "
|
|
12066
|
+
"name": "release"
|
|
12054
12067
|
},
|
|
12055
|
-
{
|
|
12056
|
-
"kind": "method",
|
|
12057
|
-
"name": "restore"
|
|
12058
|
-
}
|
|
12059
|
-
]
|
|
12060
|
-
}
|
|
12061
|
-
],
|
|
12062
|
-
"exports": [
|
|
12063
|
-
{
|
|
12064
|
-
"kind": "js",
|
|
12065
|
-
"name": "ScrollbarController",
|
|
12066
|
-
"declaration": {
|
|
12067
|
-
"name": "ScrollbarController",
|
|
12068
|
-
"module": "src/common/controllers/ScrollbarController.ts"
|
|
12069
|
-
}
|
|
12070
|
-
}
|
|
12071
|
-
]
|
|
12072
|
-
},
|
|
12073
|
-
{
|
|
12074
|
-
"kind": "javascript-module",
|
|
12075
|
-
"path": "src/common/controllers/ShortcutController.ts",
|
|
12076
|
-
"declarations": [
|
|
12077
|
-
{
|
|
12078
|
-
"kind": "class",
|
|
12079
|
-
"description": "",
|
|
12080
|
-
"name": "ShortcutController",
|
|
12081
|
-
"members": [
|
|
12082
12068
|
{
|
|
12083
12069
|
"kind": "field",
|
|
12084
|
-
"name": "
|
|
12085
|
-
"type": {
|
|
12086
|
-
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
12087
|
-
},
|
|
12070
|
+
"name": "handleFocusOut",
|
|
12088
12071
|
"privacy": "private"
|
|
12089
12072
|
},
|
|
12090
12073
|
{
|
|
12091
|
-
"kind": "
|
|
12092
|
-
"name": "
|
|
12093
|
-
|
|
12094
|
-
{
|
|
12095
|
-
"kind": "method",
|
|
12096
|
-
"name": "hostDisconnected"
|
|
12074
|
+
"kind": "field",
|
|
12075
|
+
"name": "handleFocusIn",
|
|
12076
|
+
"privacy": "private"
|
|
12097
12077
|
},
|
|
12098
12078
|
{
|
|
12099
12079
|
"kind": "method",
|
|
12100
|
-
"name": "
|
|
12080
|
+
"name": "recaptureFocus",
|
|
12081
|
+
"privacy": "private"
|
|
12101
12082
|
},
|
|
12102
12083
|
{
|
|
12103
|
-
"kind": "
|
|
12104
|
-
"name": "
|
|
12105
|
-
"
|
|
12106
|
-
{
|
|
12107
|
-
"name": "shortcuts",
|
|
12108
|
-
"type": {
|
|
12109
|
-
"text": "KeyBindingMap"
|
|
12110
|
-
}
|
|
12111
|
-
}
|
|
12112
|
-
]
|
|
12084
|
+
"kind": "field",
|
|
12085
|
+
"name": "restoreScroll",
|
|
12086
|
+
"privacy": "private"
|
|
12113
12087
|
}
|
|
12114
12088
|
]
|
|
12115
12089
|
}
|
|
@@ -12117,30 +12091,22 @@
|
|
|
12117
12091
|
"exports": [
|
|
12118
12092
|
{
|
|
12119
12093
|
"kind": "js",
|
|
12120
|
-
"name": "
|
|
12121
|
-
"declaration": {
|
|
12122
|
-
"name": "ShortcutController",
|
|
12123
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
12124
|
-
}
|
|
12125
|
-
},
|
|
12126
|
-
{
|
|
12127
|
-
"kind": "js",
|
|
12128
|
-
"name": "ShortcutMap",
|
|
12094
|
+
"name": "FocusTrapController",
|
|
12129
12095
|
"declaration": {
|
|
12130
|
-
"name": "
|
|
12131
|
-
"module": "src/common/controllers/
|
|
12096
|
+
"name": "FocusTrapController",
|
|
12097
|
+
"module": "src/common/controllers/FocusTrapController.ts"
|
|
12132
12098
|
}
|
|
12133
12099
|
}
|
|
12134
12100
|
]
|
|
12135
12101
|
},
|
|
12136
12102
|
{
|
|
12137
12103
|
"kind": "javascript-module",
|
|
12138
|
-
"path": "src/common/controllers/
|
|
12104
|
+
"path": "src/common/controllers/FormDataController.ts",
|
|
12139
12105
|
"declarations": [
|
|
12140
12106
|
{
|
|
12141
12107
|
"kind": "class",
|
|
12142
12108
|
"description": "",
|
|
12143
|
-
"name": "
|
|
12109
|
+
"name": "FormDataController",
|
|
12144
12110
|
"members": [
|
|
12145
12111
|
{
|
|
12146
12112
|
"kind": "field",
|
|
@@ -12157,33 +12123,8 @@
|
|
|
12157
12123
|
},
|
|
12158
12124
|
{
|
|
12159
12125
|
"kind": "field",
|
|
12160
|
-
"name": "
|
|
12161
|
-
},
|
|
12162
|
-
{
|
|
12163
|
-
"kind": "field",
|
|
12164
|
-
"name": "isEmpty"
|
|
12165
|
-
},
|
|
12166
|
-
{
|
|
12167
|
-
"kind": "field",
|
|
12168
|
-
"name": "content"
|
|
12169
|
-
},
|
|
12170
|
-
{
|
|
12171
|
-
"kind": "field",
|
|
12172
|
-
"name": "handleSlotChange",
|
|
12126
|
+
"name": "handleFormData",
|
|
12173
12127
|
"privacy": "private"
|
|
12174
|
-
},
|
|
12175
|
-
{
|
|
12176
|
-
"kind": "method",
|
|
12177
|
-
"name": "onChange",
|
|
12178
|
-
"privacy": "protected",
|
|
12179
|
-
"parameters": [
|
|
12180
|
-
{
|
|
12181
|
-
"name": "_e",
|
|
12182
|
-
"type": {
|
|
12183
|
-
"text": "Event"
|
|
12184
|
-
}
|
|
12185
|
-
}
|
|
12186
|
-
]
|
|
12187
12128
|
}
|
|
12188
12129
|
]
|
|
12189
12130
|
}
|
|
@@ -12191,109 +12132,93 @@
|
|
|
12191
12132
|
"exports": [
|
|
12192
12133
|
{
|
|
12193
12134
|
"kind": "js",
|
|
12194
|
-
"name": "
|
|
12135
|
+
"name": "FormDataController",
|
|
12195
12136
|
"declaration": {
|
|
12196
|
-
"name": "
|
|
12197
|
-
"module": "src/common/controllers/
|
|
12137
|
+
"name": "FormDataController",
|
|
12138
|
+
"module": "src/common/controllers/FormDataController.ts"
|
|
12198
12139
|
}
|
|
12199
12140
|
}
|
|
12200
12141
|
]
|
|
12201
12142
|
},
|
|
12202
12143
|
{
|
|
12203
12144
|
"kind": "javascript-module",
|
|
12204
|
-
"path": "src/common/controllers/
|
|
12145
|
+
"path": "src/common/controllers/LightDismissController.ts",
|
|
12205
12146
|
"declarations": [
|
|
12206
12147
|
{
|
|
12207
12148
|
"kind": "class",
|
|
12208
12149
|
"description": "",
|
|
12209
|
-
"name": "
|
|
12150
|
+
"name": "LightDismissController",
|
|
12210
12151
|
"members": [
|
|
12211
12152
|
{
|
|
12212
12153
|
"kind": "field",
|
|
12213
|
-
"name": "
|
|
12214
|
-
"type": {
|
|
12215
|
-
"text": "EventController"
|
|
12216
|
-
},
|
|
12217
|
-
"privacy": "private",
|
|
12218
|
-
"default": "new EventController(host)"
|
|
12219
|
-
},
|
|
12220
|
-
{
|
|
12221
|
-
"kind": "field",
|
|
12222
|
-
"name": "hadFirstUpdate",
|
|
12223
|
-
"type": {
|
|
12224
|
-
"text": "boolean"
|
|
12225
|
-
},
|
|
12226
|
-
"privacy": "private",
|
|
12227
|
-
"default": "false"
|
|
12228
|
-
},
|
|
12229
|
-
{
|
|
12230
|
-
"kind": "field",
|
|
12231
|
-
"name": "initialTouchX",
|
|
12232
|
-
"type": {
|
|
12233
|
-
"text": "number"
|
|
12234
|
-
},
|
|
12235
|
-
"privacy": "private",
|
|
12236
|
-
"default": "0"
|
|
12237
|
-
},
|
|
12238
|
-
{
|
|
12239
|
-
"kind": "field",
|
|
12240
|
-
"name": "initialTouchY",
|
|
12154
|
+
"name": "shortcut",
|
|
12241
12155
|
"type": {
|
|
12242
|
-
"text": "
|
|
12156
|
+
"text": "ShortcutController"
|
|
12243
12157
|
},
|
|
12244
12158
|
"privacy": "private",
|
|
12245
|
-
"default": "
|
|
12159
|
+
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
12246
12160
|
},
|
|
12247
12161
|
{
|
|
12248
12162
|
"kind": "field",
|
|
12249
|
-
"name": "
|
|
12163
|
+
"name": "events",
|
|
12250
12164
|
"type": {
|
|
12251
|
-
"text": "
|
|
12165
|
+
"text": "EventController"
|
|
12252
12166
|
},
|
|
12253
12167
|
"privacy": "private",
|
|
12254
|
-
"default": "
|
|
12255
|
-
},
|
|
12256
|
-
{
|
|
12257
|
-
"kind": "method",
|
|
12258
|
-
"name": "hostUpdated"
|
|
12168
|
+
"default": "new EventController(host)"
|
|
12259
12169
|
},
|
|
12260
12170
|
{
|
|
12261
12171
|
"kind": "method",
|
|
12262
|
-
"name": "
|
|
12172
|
+
"name": "hostConnected"
|
|
12263
12173
|
},
|
|
12264
12174
|
{
|
|
12265
12175
|
"kind": "field",
|
|
12266
|
-
"name": "
|
|
12176
|
+
"name": "handleEsc",
|
|
12267
12177
|
"privacy": "private"
|
|
12268
12178
|
},
|
|
12269
12179
|
{
|
|
12270
12180
|
"kind": "field",
|
|
12271
|
-
"name": "
|
|
12181
|
+
"name": "handleClickOut",
|
|
12272
12182
|
"privacy": "private"
|
|
12273
12183
|
}
|
|
12274
12184
|
]
|
|
12275
|
-
}
|
|
12185
|
+
}
|
|
12186
|
+
],
|
|
12187
|
+
"exports": [
|
|
12276
12188
|
{
|
|
12277
|
-
"kind": "
|
|
12278
|
-
"name": "
|
|
12279
|
-
"
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
|
|
12189
|
+
"kind": "js",
|
|
12190
|
+
"name": "LightDismissController",
|
|
12191
|
+
"declaration": {
|
|
12192
|
+
"name": "LightDismissController",
|
|
12193
|
+
"module": "src/common/controllers/LightDismissController.ts"
|
|
12194
|
+
}
|
|
12195
|
+
}
|
|
12196
|
+
]
|
|
12197
|
+
},
|
|
12198
|
+
{
|
|
12199
|
+
"kind": "javascript-module",
|
|
12200
|
+
"path": "src/common/controllers/LightDomController.ts",
|
|
12201
|
+
"declarations": [
|
|
12288
12202
|
{
|
|
12289
|
-
"kind": "
|
|
12290
|
-
"
|
|
12291
|
-
"
|
|
12203
|
+
"kind": "class",
|
|
12204
|
+
"description": "",
|
|
12205
|
+
"name": "LightDomController",
|
|
12206
|
+
"members": [
|
|
12292
12207
|
{
|
|
12293
|
-
"
|
|
12208
|
+
"kind": "field",
|
|
12209
|
+
"name": "container",
|
|
12294
12210
|
"type": {
|
|
12295
|
-
"text": "
|
|
12296
|
-
}
|
|
12211
|
+
"text": "HTMLElement"
|
|
12212
|
+
},
|
|
12213
|
+
"privacy": "private"
|
|
12214
|
+
},
|
|
12215
|
+
{
|
|
12216
|
+
"kind": "method",
|
|
12217
|
+
"name": "hostUpdated"
|
|
12218
|
+
},
|
|
12219
|
+
{
|
|
12220
|
+
"kind": "method",
|
|
12221
|
+
"name": "hostDisconnected"
|
|
12297
12222
|
}
|
|
12298
12223
|
]
|
|
12299
12224
|
}
|
|
@@ -12301,237 +12226,224 @@
|
|
|
12301
12226
|
"exports": [
|
|
12302
12227
|
{
|
|
12303
12228
|
"kind": "js",
|
|
12304
|
-
"name": "
|
|
12305
|
-
"declaration": {
|
|
12306
|
-
"name": "SwipeController",
|
|
12307
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
12308
|
-
}
|
|
12309
|
-
},
|
|
12310
|
-
{
|
|
12311
|
-
"kind": "js",
|
|
12312
|
-
"name": "isHorizontalSwipe",
|
|
12313
|
-
"declaration": {
|
|
12314
|
-
"name": "isHorizontalSwipe",
|
|
12315
|
-
"module": "src/common/controllers/SwipeController.ts"
|
|
12316
|
-
}
|
|
12317
|
-
},
|
|
12318
|
-
{
|
|
12319
|
-
"kind": "js",
|
|
12320
|
-
"name": "isDownwardsSwipe",
|
|
12229
|
+
"name": "LightDomController",
|
|
12321
12230
|
"declaration": {
|
|
12322
|
-
"name": "
|
|
12323
|
-
"module": "src/common/controllers/
|
|
12231
|
+
"name": "LightDomController",
|
|
12232
|
+
"module": "src/common/controllers/LightDomController.ts"
|
|
12324
12233
|
}
|
|
12325
12234
|
}
|
|
12326
12235
|
]
|
|
12327
12236
|
},
|
|
12328
12237
|
{
|
|
12329
12238
|
"kind": "javascript-module",
|
|
12330
|
-
"path": "src/common/
|
|
12239
|
+
"path": "src/common/controllers/LightSlotController.ts",
|
|
12331
12240
|
"declarations": [
|
|
12332
12241
|
{
|
|
12333
|
-
"kind": "
|
|
12334
|
-
"
|
|
12335
|
-
"
|
|
12336
|
-
|
|
12337
|
-
"text": "typeof value | typeof nothing"
|
|
12338
|
-
}
|
|
12339
|
-
},
|
|
12340
|
-
"parameters": [
|
|
12341
|
-
{
|
|
12342
|
-
"name": "value",
|
|
12343
|
-
"type": {
|
|
12344
|
-
"text": "any"
|
|
12345
|
-
}
|
|
12346
|
-
}
|
|
12347
|
-
],
|
|
12348
|
-
"description": "if value is truthy, return it, otherwise return nothing"
|
|
12349
|
-
},
|
|
12350
|
-
{
|
|
12351
|
-
"kind": "function",
|
|
12352
|
-
"name": "cond",
|
|
12353
|
-
"return": {
|
|
12354
|
-
"type": {
|
|
12355
|
-
"text": "typeof trueCase | typeof nothing"
|
|
12356
|
-
}
|
|
12357
|
-
},
|
|
12358
|
-
"parameters": [
|
|
12242
|
+
"kind": "class",
|
|
12243
|
+
"description": "Handles cases where a component needs to render to light DOM,\nand potentially sync component properties to user-supplied content.",
|
|
12244
|
+
"name": "LightSlotController",
|
|
12245
|
+
"members": [
|
|
12359
12246
|
{
|
|
12360
|
-
"
|
|
12247
|
+
"kind": "field",
|
|
12248
|
+
"name": "renderHook",
|
|
12361
12249
|
"type": {
|
|
12362
|
-
"text": "
|
|
12363
|
-
}
|
|
12250
|
+
"text": "Comment"
|
|
12251
|
+
},
|
|
12252
|
+
"privacy": "private"
|
|
12364
12253
|
},
|
|
12365
12254
|
{
|
|
12366
|
-
"
|
|
12367
|
-
"
|
|
12368
|
-
"text": "any"
|
|
12369
|
-
}
|
|
12370
|
-
}
|
|
12371
|
-
],
|
|
12372
|
-
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
12373
|
-
},
|
|
12374
|
-
{
|
|
12375
|
-
"kind": "function",
|
|
12376
|
-
"name": "cond",
|
|
12377
|
-
"return": {
|
|
12378
|
-
"type": {
|
|
12379
|
-
"text": "typeof trueCase"
|
|
12380
|
-
}
|
|
12381
|
-
},
|
|
12382
|
-
"parameters": [
|
|
12383
|
-
{
|
|
12384
|
-
"name": "condition",
|
|
12255
|
+
"kind": "field",
|
|
12256
|
+
"name": "lightDom",
|
|
12385
12257
|
"type": {
|
|
12386
|
-
"text": "
|
|
12387
|
-
}
|
|
12258
|
+
"text": "LightDomController"
|
|
12259
|
+
},
|
|
12260
|
+
"privacy": "private",
|
|
12261
|
+
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
12388
12262
|
},
|
|
12389
12263
|
{
|
|
12390
|
-
"
|
|
12391
|
-
"
|
|
12392
|
-
|
|
12264
|
+
"kind": "method",
|
|
12265
|
+
"name": "hostConnected",
|
|
12266
|
+
"inheritedFrom": {
|
|
12267
|
+
"name": "SlotController",
|
|
12268
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12393
12269
|
}
|
|
12394
|
-
}
|
|
12395
|
-
],
|
|
12396
|
-
"description": "condition is true, so always return trueCase"
|
|
12397
|
-
},
|
|
12398
|
-
{
|
|
12399
|
-
"kind": "function",
|
|
12400
|
-
"name": "cond",
|
|
12401
|
-
"return": {
|
|
12402
|
-
"type": {
|
|
12403
|
-
"text": "typeof nothing"
|
|
12404
|
-
}
|
|
12405
|
-
},
|
|
12406
|
-
"parameters": [
|
|
12270
|
+
},
|
|
12407
12271
|
{
|
|
12408
|
-
"
|
|
12409
|
-
"
|
|
12410
|
-
"text": "false"
|
|
12411
|
-
}
|
|
12272
|
+
"kind": "method",
|
|
12273
|
+
"name": "hostDisconnected"
|
|
12412
12274
|
},
|
|
12413
12275
|
{
|
|
12414
|
-
"
|
|
12415
|
-
"
|
|
12416
|
-
|
|
12276
|
+
"kind": "field",
|
|
12277
|
+
"name": "onChange",
|
|
12278
|
+
"privacy": "protected",
|
|
12279
|
+
"parameters": [
|
|
12280
|
+
{
|
|
12281
|
+
"name": "_e",
|
|
12282
|
+
"type": {
|
|
12283
|
+
"text": "Event"
|
|
12284
|
+
}
|
|
12285
|
+
}
|
|
12286
|
+
],
|
|
12287
|
+
"inheritedFrom": {
|
|
12288
|
+
"name": "SlotController",
|
|
12289
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12417
12290
|
}
|
|
12418
|
-
}
|
|
12419
|
-
],
|
|
12420
|
-
"description": "condition is false, to will always return nothing"
|
|
12421
|
-
},
|
|
12422
|
-
{
|
|
12423
|
-
"kind": "function",
|
|
12424
|
-
"name": "cond",
|
|
12425
|
-
"return": {
|
|
12426
|
-
"type": {
|
|
12427
|
-
"text": "typeof trueCase | typeof falseCase"
|
|
12428
|
-
}
|
|
12429
|
-
},
|
|
12430
|
-
"parameters": [
|
|
12291
|
+
},
|
|
12431
12292
|
{
|
|
12432
|
-
"
|
|
12433
|
-
"
|
|
12434
|
-
|
|
12435
|
-
}
|
|
12293
|
+
"kind": "method",
|
|
12294
|
+
"name": "syncLightDom",
|
|
12295
|
+
"privacy": "private"
|
|
12436
12296
|
},
|
|
12437
12297
|
{
|
|
12438
|
-
"
|
|
12298
|
+
"kind": "field",
|
|
12299
|
+
"name": "events",
|
|
12439
12300
|
"type": {
|
|
12440
|
-
"text": "
|
|
12301
|
+
"text": "EventController"
|
|
12302
|
+
},
|
|
12303
|
+
"privacy": "private",
|
|
12304
|
+
"default": "new EventController(host)",
|
|
12305
|
+
"inheritedFrom": {
|
|
12306
|
+
"name": "SlotController",
|
|
12307
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12441
12308
|
}
|
|
12442
12309
|
},
|
|
12443
12310
|
{
|
|
12444
|
-
"
|
|
12445
|
-
"
|
|
12446
|
-
|
|
12311
|
+
"kind": "field",
|
|
12312
|
+
"name": "hasContent",
|
|
12313
|
+
"inheritedFrom": {
|
|
12314
|
+
"name": "SlotController",
|
|
12315
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12447
12316
|
}
|
|
12448
|
-
}
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
"return": {
|
|
12456
|
-
"type": {
|
|
12457
|
-
"text": "typeof trueCase"
|
|
12458
|
-
}
|
|
12459
|
-
},
|
|
12460
|
-
"parameters": [
|
|
12461
|
-
{
|
|
12462
|
-
"name": "condition",
|
|
12463
|
-
"type": {
|
|
12464
|
-
"text": "true"
|
|
12317
|
+
},
|
|
12318
|
+
{
|
|
12319
|
+
"kind": "field",
|
|
12320
|
+
"name": "isEmpty",
|
|
12321
|
+
"inheritedFrom": {
|
|
12322
|
+
"name": "SlotController",
|
|
12323
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12465
12324
|
}
|
|
12466
12325
|
},
|
|
12467
12326
|
{
|
|
12468
|
-
"
|
|
12469
|
-
"
|
|
12470
|
-
|
|
12327
|
+
"kind": "field",
|
|
12328
|
+
"name": "content",
|
|
12329
|
+
"inheritedFrom": {
|
|
12330
|
+
"name": "SlotController",
|
|
12331
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12471
12332
|
}
|
|
12472
12333
|
},
|
|
12473
12334
|
{
|
|
12474
|
-
"
|
|
12475
|
-
"
|
|
12476
|
-
|
|
12335
|
+
"kind": "field",
|
|
12336
|
+
"name": "handleSlotChange",
|
|
12337
|
+
"privacy": "private",
|
|
12338
|
+
"inheritedFrom": {
|
|
12339
|
+
"name": "SlotController",
|
|
12340
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12477
12341
|
}
|
|
12478
12342
|
}
|
|
12479
12343
|
],
|
|
12480
|
-
"
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
"kind": "function",
|
|
12484
|
-
"name": "cond",
|
|
12485
|
-
"return": {
|
|
12486
|
-
"type": {
|
|
12487
|
-
"text": "typeof falseCase"
|
|
12488
|
-
}
|
|
12344
|
+
"superclass": {
|
|
12345
|
+
"name": "SlotController",
|
|
12346
|
+
"module": "/src/common/controllers/SlotController.js"
|
|
12489
12347
|
},
|
|
12490
|
-
"
|
|
12348
|
+
"status": null,
|
|
12349
|
+
"category": null
|
|
12350
|
+
}
|
|
12351
|
+
],
|
|
12352
|
+
"exports": [
|
|
12353
|
+
{
|
|
12354
|
+
"kind": "js",
|
|
12355
|
+
"name": "LightSlotController",
|
|
12356
|
+
"declaration": {
|
|
12357
|
+
"name": "LightSlotController",
|
|
12358
|
+
"module": "src/common/controllers/LightSlotController.ts"
|
|
12359
|
+
}
|
|
12360
|
+
}
|
|
12361
|
+
]
|
|
12362
|
+
},
|
|
12363
|
+
{
|
|
12364
|
+
"kind": "javascript-module",
|
|
12365
|
+
"path": "src/common/controllers/MediaQueryController.ts",
|
|
12366
|
+
"declarations": [
|
|
12367
|
+
{
|
|
12368
|
+
"kind": "class",
|
|
12369
|
+
"description": "",
|
|
12370
|
+
"name": "MediaQueryController",
|
|
12371
|
+
"members": [
|
|
12491
12372
|
{
|
|
12492
|
-
"
|
|
12373
|
+
"kind": "field",
|
|
12374
|
+
"name": "mq",
|
|
12493
12375
|
"type": {
|
|
12494
|
-
"text": "
|
|
12495
|
-
}
|
|
12376
|
+
"text": "MediaQueryList"
|
|
12377
|
+
},
|
|
12378
|
+
"privacy": "private"
|
|
12496
12379
|
},
|
|
12497
12380
|
{
|
|
12498
|
-
"
|
|
12499
|
-
"
|
|
12500
|
-
"text": "any"
|
|
12501
|
-
}
|
|
12381
|
+
"kind": "field",
|
|
12382
|
+
"name": "matches"
|
|
12502
12383
|
},
|
|
12503
12384
|
{
|
|
12504
|
-
"
|
|
12505
|
-
"
|
|
12506
|
-
|
|
12507
|
-
|
|
12385
|
+
"kind": "method",
|
|
12386
|
+
"name": "hostConnected"
|
|
12387
|
+
},
|
|
12388
|
+
{
|
|
12389
|
+
"kind": "method",
|
|
12390
|
+
"name": "hostDisconnected"
|
|
12391
|
+
},
|
|
12392
|
+
{
|
|
12393
|
+
"kind": "field",
|
|
12394
|
+
"name": "handleChange"
|
|
12508
12395
|
}
|
|
12509
|
-
]
|
|
12510
|
-
|
|
12511
|
-
|
|
12396
|
+
]
|
|
12397
|
+
}
|
|
12398
|
+
],
|
|
12399
|
+
"exports": [
|
|
12512
12400
|
{
|
|
12513
|
-
"kind": "
|
|
12514
|
-
"name": "
|
|
12515
|
-
"
|
|
12401
|
+
"kind": "js",
|
|
12402
|
+
"name": "MediaQueryController",
|
|
12403
|
+
"declaration": {
|
|
12404
|
+
"name": "MediaQueryController",
|
|
12405
|
+
"module": "src/common/controllers/MediaQueryController.ts"
|
|
12406
|
+
}
|
|
12407
|
+
}
|
|
12408
|
+
]
|
|
12409
|
+
},
|
|
12410
|
+
{
|
|
12411
|
+
"kind": "javascript-module",
|
|
12412
|
+
"path": "src/common/controllers/PortalController.ts",
|
|
12413
|
+
"declarations": [
|
|
12414
|
+
{
|
|
12415
|
+
"kind": "class",
|
|
12416
|
+
"description": "",
|
|
12417
|
+
"name": "PortalController",
|
|
12418
|
+
"members": [
|
|
12516
12419
|
{
|
|
12517
|
-
"
|
|
12420
|
+
"kind": "field",
|
|
12421
|
+
"name": "renderHook",
|
|
12518
12422
|
"type": {
|
|
12519
|
-
"text": "
|
|
12520
|
-
}
|
|
12423
|
+
"text": "Comment"
|
|
12424
|
+
},
|
|
12425
|
+
"privacy": "private"
|
|
12521
12426
|
},
|
|
12522
12427
|
{
|
|
12523
|
-
"
|
|
12524
|
-
"
|
|
12428
|
+
"kind": "field",
|
|
12429
|
+
"name": "lightDom",
|
|
12525
12430
|
"type": {
|
|
12526
|
-
"text": "
|
|
12527
|
-
}
|
|
12431
|
+
"text": "LightDomController"
|
|
12432
|
+
},
|
|
12433
|
+
"privacy": "private",
|
|
12434
|
+
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
12528
12435
|
},
|
|
12529
12436
|
{
|
|
12530
|
-
"
|
|
12531
|
-
"
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12437
|
+
"kind": "method",
|
|
12438
|
+
"name": "hostConnected"
|
|
12439
|
+
},
|
|
12440
|
+
{
|
|
12441
|
+
"kind": "method",
|
|
12442
|
+
"name": "hostUpdated"
|
|
12443
|
+
},
|
|
12444
|
+
{
|
|
12445
|
+
"kind": "method",
|
|
12446
|
+
"name": "hostDisconnected"
|
|
12535
12447
|
}
|
|
12536
12448
|
]
|
|
12537
12449
|
}
|
|
@@ -12539,222 +12451,310 @@
|
|
|
12539
12451
|
"exports": [
|
|
12540
12452
|
{
|
|
12541
12453
|
"kind": "js",
|
|
12542
|
-
"name": "
|
|
12454
|
+
"name": "PortalController",
|
|
12543
12455
|
"declaration": {
|
|
12544
|
-
"name": "
|
|
12545
|
-
"module": "src/common/
|
|
12456
|
+
"name": "PortalController",
|
|
12457
|
+
"module": "src/common/controllers/PortalController.ts"
|
|
12546
12458
|
}
|
|
12547
|
-
}
|
|
12459
|
+
}
|
|
12460
|
+
]
|
|
12461
|
+
},
|
|
12462
|
+
{
|
|
12463
|
+
"kind": "javascript-module",
|
|
12464
|
+
"path": "src/common/controllers/ScrollbarController.ts",
|
|
12465
|
+
"declarations": [
|
|
12548
12466
|
{
|
|
12549
|
-
"kind": "
|
|
12550
|
-
"
|
|
12551
|
-
"
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
|
|
12467
|
+
"kind": "class",
|
|
12468
|
+
"description": "",
|
|
12469
|
+
"name": "ScrollbarController",
|
|
12470
|
+
"members": [
|
|
12471
|
+
{
|
|
12472
|
+
"kind": "field",
|
|
12473
|
+
"name": "resets",
|
|
12474
|
+
"privacy": "private",
|
|
12475
|
+
"default": "new Set<() => void>()"
|
|
12476
|
+
},
|
|
12477
|
+
{
|
|
12478
|
+
"kind": "method",
|
|
12479
|
+
"name": "hostDisconnected"
|
|
12480
|
+
},
|
|
12481
|
+
{
|
|
12482
|
+
"kind": "field",
|
|
12483
|
+
"name": "width"
|
|
12484
|
+
},
|
|
12485
|
+
{
|
|
12486
|
+
"kind": "method",
|
|
12487
|
+
"name": "hide"
|
|
12488
|
+
},
|
|
12489
|
+
{
|
|
12490
|
+
"kind": "method",
|
|
12491
|
+
"name": "restore"
|
|
12492
|
+
}
|
|
12493
|
+
]
|
|
12494
|
+
}
|
|
12495
|
+
],
|
|
12496
|
+
"exports": [
|
|
12556
12497
|
{
|
|
12557
12498
|
"kind": "js",
|
|
12558
|
-
"name": "
|
|
12499
|
+
"name": "ScrollbarController",
|
|
12559
12500
|
"declaration": {
|
|
12560
|
-
"name": "
|
|
12561
|
-
"module": "src/common/
|
|
12501
|
+
"name": "ScrollbarController",
|
|
12502
|
+
"module": "src/common/controllers/ScrollbarController.ts"
|
|
12562
12503
|
}
|
|
12563
|
-
}
|
|
12504
|
+
}
|
|
12505
|
+
]
|
|
12506
|
+
},
|
|
12507
|
+
{
|
|
12508
|
+
"kind": "javascript-module",
|
|
12509
|
+
"path": "src/common/controllers/ShortcutController.ts",
|
|
12510
|
+
"declarations": [
|
|
12564
12511
|
{
|
|
12565
|
-
"kind": "
|
|
12566
|
-
"
|
|
12567
|
-
"
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
|
|
12512
|
+
"kind": "class",
|
|
12513
|
+
"description": "",
|
|
12514
|
+
"name": "ShortcutController",
|
|
12515
|
+
"members": [
|
|
12516
|
+
{
|
|
12517
|
+
"kind": "field",
|
|
12518
|
+
"name": "unregister",
|
|
12519
|
+
"type": {
|
|
12520
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
12521
|
+
},
|
|
12522
|
+
"privacy": "private"
|
|
12523
|
+
},
|
|
12524
|
+
{
|
|
12525
|
+
"kind": "method",
|
|
12526
|
+
"name": "hostConnected"
|
|
12527
|
+
},
|
|
12528
|
+
{
|
|
12529
|
+
"kind": "method",
|
|
12530
|
+
"name": "hostDisconnected"
|
|
12531
|
+
},
|
|
12532
|
+
{
|
|
12533
|
+
"kind": "method",
|
|
12534
|
+
"name": "unbind"
|
|
12535
|
+
},
|
|
12536
|
+
{
|
|
12537
|
+
"kind": "method",
|
|
12538
|
+
"name": "bind",
|
|
12539
|
+
"parameters": [
|
|
12540
|
+
{
|
|
12541
|
+
"name": "shortcuts",
|
|
12542
|
+
"type": {
|
|
12543
|
+
"text": "KeyBindingMap"
|
|
12544
|
+
}
|
|
12545
|
+
}
|
|
12546
|
+
]
|
|
12547
|
+
}
|
|
12548
|
+
]
|
|
12549
|
+
}
|
|
12550
|
+
],
|
|
12551
|
+
"exports": [
|
|
12572
12552
|
{
|
|
12573
12553
|
"kind": "js",
|
|
12574
|
-
"name": "
|
|
12554
|
+
"name": "ShortcutController",
|
|
12575
12555
|
"declaration": {
|
|
12576
|
-
"name": "
|
|
12577
|
-
"module": "src/common/
|
|
12556
|
+
"name": "ShortcutController",
|
|
12557
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
12578
12558
|
}
|
|
12579
12559
|
},
|
|
12580
12560
|
{
|
|
12581
12561
|
"kind": "js",
|
|
12582
|
-
"name": "
|
|
12562
|
+
"name": "ShortcutMap",
|
|
12583
12563
|
"declaration": {
|
|
12584
|
-
"name": "
|
|
12585
|
-
"module": "src/common/
|
|
12564
|
+
"name": "KeyBindingMap",
|
|
12565
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
12586
12566
|
}
|
|
12587
|
-
}
|
|
12567
|
+
}
|
|
12568
|
+
]
|
|
12569
|
+
},
|
|
12570
|
+
{
|
|
12571
|
+
"kind": "javascript-module",
|
|
12572
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
12573
|
+
"declarations": [
|
|
12588
12574
|
{
|
|
12589
|
-
"kind": "
|
|
12590
|
-
"
|
|
12591
|
-
"
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12575
|
+
"kind": "class",
|
|
12576
|
+
"description": "",
|
|
12577
|
+
"name": "SlotController",
|
|
12578
|
+
"members": [
|
|
12579
|
+
{
|
|
12580
|
+
"kind": "field",
|
|
12581
|
+
"name": "events",
|
|
12582
|
+
"type": {
|
|
12583
|
+
"text": "EventController"
|
|
12584
|
+
},
|
|
12585
|
+
"privacy": "private",
|
|
12586
|
+
"default": "new EventController(host)"
|
|
12587
|
+
},
|
|
12588
|
+
{
|
|
12589
|
+
"kind": "method",
|
|
12590
|
+
"name": "hostConnected"
|
|
12591
|
+
},
|
|
12592
|
+
{
|
|
12593
|
+
"kind": "field",
|
|
12594
|
+
"name": "hasContent"
|
|
12595
|
+
},
|
|
12596
|
+
{
|
|
12597
|
+
"kind": "field",
|
|
12598
|
+
"name": "isEmpty"
|
|
12599
|
+
},
|
|
12600
|
+
{
|
|
12601
|
+
"kind": "field",
|
|
12602
|
+
"name": "content"
|
|
12603
|
+
},
|
|
12604
|
+
{
|
|
12605
|
+
"kind": "field",
|
|
12606
|
+
"name": "handleSlotChange",
|
|
12607
|
+
"privacy": "private"
|
|
12608
|
+
},
|
|
12609
|
+
{
|
|
12610
|
+
"kind": "method",
|
|
12611
|
+
"name": "onChange",
|
|
12612
|
+
"privacy": "protected",
|
|
12613
|
+
"parameters": [
|
|
12614
|
+
{
|
|
12615
|
+
"name": "_e",
|
|
12616
|
+
"type": {
|
|
12617
|
+
"text": "Event"
|
|
12618
|
+
}
|
|
12619
|
+
}
|
|
12620
|
+
]
|
|
12621
|
+
}
|
|
12622
|
+
]
|
|
12623
|
+
}
|
|
12624
|
+
],
|
|
12625
|
+
"exports": [
|
|
12596
12626
|
{
|
|
12597
12627
|
"kind": "js",
|
|
12598
|
-
"name": "
|
|
12628
|
+
"name": "SlotController",
|
|
12599
12629
|
"declaration": {
|
|
12600
|
-
"name": "
|
|
12601
|
-
"module": "src/common/
|
|
12630
|
+
"name": "SlotController",
|
|
12631
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12602
12632
|
}
|
|
12603
12633
|
}
|
|
12604
12634
|
]
|
|
12605
12635
|
},
|
|
12606
12636
|
{
|
|
12607
12637
|
"kind": "javascript-module",
|
|
12608
|
-
"path": "src/common/
|
|
12638
|
+
"path": "src/common/controllers/SwipeController.ts",
|
|
12609
12639
|
"declarations": [
|
|
12610
12640
|
{
|
|
12611
|
-
"kind": "
|
|
12612
|
-
"
|
|
12613
|
-
"
|
|
12614
|
-
|
|
12615
|
-
"text": "TInner"
|
|
12616
|
-
}
|
|
12617
|
-
},
|
|
12618
|
-
"parameters": [
|
|
12641
|
+
"kind": "class",
|
|
12642
|
+
"description": "",
|
|
12643
|
+
"name": "SwipeController",
|
|
12644
|
+
"members": [
|
|
12619
12645
|
{
|
|
12620
|
-
"
|
|
12646
|
+
"kind": "field",
|
|
12647
|
+
"name": "events",
|
|
12621
12648
|
"type": {
|
|
12622
|
-
"text": "
|
|
12623
|
-
}
|
|
12649
|
+
"text": "EventController"
|
|
12650
|
+
},
|
|
12651
|
+
"privacy": "private",
|
|
12652
|
+
"default": "new EventController(host)"
|
|
12624
12653
|
},
|
|
12625
12654
|
{
|
|
12626
|
-
"
|
|
12655
|
+
"kind": "field",
|
|
12656
|
+
"name": "hadFirstUpdate",
|
|
12627
12657
|
"type": {
|
|
12628
|
-
"text": "
|
|
12629
|
-
}
|
|
12658
|
+
"text": "boolean"
|
|
12659
|
+
},
|
|
12660
|
+
"privacy": "private",
|
|
12661
|
+
"default": "false"
|
|
12630
12662
|
},
|
|
12631
12663
|
{
|
|
12632
|
-
"
|
|
12664
|
+
"kind": "field",
|
|
12665
|
+
"name": "initialTouchX",
|
|
12633
12666
|
"type": {
|
|
12634
|
-
"text": "
|
|
12635
|
-
}
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
{
|
|
12640
|
-
"kind": "function",
|
|
12641
|
-
"name": "wrapIf",
|
|
12642
|
-
"return": {
|
|
12643
|
-
"type": {
|
|
12644
|
-
"text": "TWrapper"
|
|
12645
|
-
}
|
|
12646
|
-
},
|
|
12647
|
-
"parameters": [
|
|
12667
|
+
"text": "number"
|
|
12668
|
+
},
|
|
12669
|
+
"privacy": "private",
|
|
12670
|
+
"default": "0"
|
|
12671
|
+
},
|
|
12648
12672
|
{
|
|
12649
|
-
"
|
|
12673
|
+
"kind": "field",
|
|
12674
|
+
"name": "initialTouchY",
|
|
12650
12675
|
"type": {
|
|
12651
|
-
"text": "
|
|
12652
|
-
}
|
|
12676
|
+
"text": "number"
|
|
12677
|
+
},
|
|
12678
|
+
"privacy": "private",
|
|
12679
|
+
"default": "0"
|
|
12653
12680
|
},
|
|
12654
12681
|
{
|
|
12655
|
-
"
|
|
12682
|
+
"kind": "field",
|
|
12683
|
+
"name": "options",
|
|
12656
12684
|
"type": {
|
|
12657
|
-
"text": "
|
|
12658
|
-
}
|
|
12685
|
+
"text": "SetRequired<SwipeControllerOptions, \"target\">"
|
|
12686
|
+
},
|
|
12687
|
+
"privacy": "private",
|
|
12688
|
+
"default": "{\n target: () => host,\n ...options,\n }"
|
|
12659
12689
|
},
|
|
12660
12690
|
{
|
|
12661
|
-
"
|
|
12662
|
-
"
|
|
12663
|
-
|
|
12664
|
-
|
|
12691
|
+
"kind": "method",
|
|
12692
|
+
"name": "hostUpdated"
|
|
12693
|
+
},
|
|
12694
|
+
{
|
|
12695
|
+
"kind": "method",
|
|
12696
|
+
"name": "hostDisconnected"
|
|
12697
|
+
},
|
|
12698
|
+
{
|
|
12699
|
+
"kind": "field",
|
|
12700
|
+
"name": "handleTouchStart",
|
|
12701
|
+
"privacy": "private"
|
|
12702
|
+
},
|
|
12703
|
+
{
|
|
12704
|
+
"kind": "field",
|
|
12705
|
+
"name": "handleTouchEnd",
|
|
12706
|
+
"privacy": "private"
|
|
12665
12707
|
}
|
|
12666
12708
|
]
|
|
12667
12709
|
},
|
|
12668
12710
|
{
|
|
12669
12711
|
"kind": "function",
|
|
12670
|
-
"name": "
|
|
12671
|
-
"return": {
|
|
12672
|
-
"type": {
|
|
12673
|
-
"text": "TInner | TWrapper"
|
|
12674
|
-
}
|
|
12675
|
-
},
|
|
12712
|
+
"name": "isHorizontalSwipe",
|
|
12676
12713
|
"parameters": [
|
|
12677
12714
|
{
|
|
12678
|
-
"name": "
|
|
12679
|
-
"type": {
|
|
12680
|
-
"text": "unknown"
|
|
12681
|
-
}
|
|
12682
|
-
},
|
|
12683
|
-
{
|
|
12684
|
-
"name": "inner",
|
|
12685
|
-
"type": {
|
|
12686
|
-
"text": "() => TInner"
|
|
12687
|
-
}
|
|
12688
|
-
},
|
|
12689
|
-
{
|
|
12690
|
-
"name": "wrapper",
|
|
12715
|
+
"name": "{ distX, distY }",
|
|
12691
12716
|
"type": {
|
|
12692
|
-
"text": "
|
|
12717
|
+
"text": "SwipeDetails"
|
|
12693
12718
|
}
|
|
12694
12719
|
}
|
|
12695
12720
|
]
|
|
12696
12721
|
},
|
|
12697
12722
|
{
|
|
12698
12723
|
"kind": "function",
|
|
12699
|
-
"name": "
|
|
12724
|
+
"name": "isDownwardsSwipe",
|
|
12700
12725
|
"parameters": [
|
|
12701
12726
|
{
|
|
12702
|
-
"name": "
|
|
12703
|
-
"type": {
|
|
12704
|
-
"text": "any"
|
|
12705
|
-
}
|
|
12706
|
-
},
|
|
12707
|
-
{
|
|
12708
|
-
"name": "inner",
|
|
12709
|
-
"type": {
|
|
12710
|
-
"text": "() => TInner"
|
|
12711
|
-
}
|
|
12712
|
-
},
|
|
12713
|
-
{
|
|
12714
|
-
"name": "wrapper",
|
|
12727
|
+
"name": "{ distX, distY }",
|
|
12715
12728
|
"type": {
|
|
12716
|
-
"text": "
|
|
12729
|
+
"text": "SwipeDetails"
|
|
12717
12730
|
}
|
|
12718
12731
|
}
|
|
12719
|
-
]
|
|
12720
|
-
"return": {
|
|
12721
|
-
"type": {
|
|
12722
|
-
"text": ""
|
|
12723
|
-
}
|
|
12724
|
-
}
|
|
12732
|
+
]
|
|
12725
12733
|
}
|
|
12726
12734
|
],
|
|
12727
12735
|
"exports": [
|
|
12728
12736
|
{
|
|
12729
12737
|
"kind": "js",
|
|
12730
|
-
"name": "
|
|
12731
|
-
"declaration": {
|
|
12732
|
-
"name": "wrapIf",
|
|
12733
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
12734
|
-
}
|
|
12735
|
-
},
|
|
12736
|
-
{
|
|
12737
|
-
"kind": "js",
|
|
12738
|
-
"name": "wrapIf",
|
|
12738
|
+
"name": "SwipeController",
|
|
12739
12739
|
"declaration": {
|
|
12740
|
-
"name": "
|
|
12741
|
-
"module": "src/common/
|
|
12740
|
+
"name": "SwipeController",
|
|
12741
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
12742
12742
|
}
|
|
12743
12743
|
},
|
|
12744
12744
|
{
|
|
12745
12745
|
"kind": "js",
|
|
12746
|
-
"name": "
|
|
12746
|
+
"name": "isHorizontalSwipe",
|
|
12747
12747
|
"declaration": {
|
|
12748
|
-
"name": "
|
|
12749
|
-
"module": "src/common/
|
|
12748
|
+
"name": "isHorizontalSwipe",
|
|
12749
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
12750
12750
|
}
|
|
12751
12751
|
},
|
|
12752
12752
|
{
|
|
12753
12753
|
"kind": "js",
|
|
12754
|
-
"name": "
|
|
12754
|
+
"name": "isDownwardsSwipe",
|
|
12755
12755
|
"declaration": {
|
|
12756
|
-
"name": "
|
|
12757
|
-
"module": "src/common/
|
|
12756
|
+
"name": "isDownwardsSwipe",
|
|
12757
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
12758
12758
|
}
|
|
12759
12759
|
}
|
|
12760
12760
|
]
|