@nordhealth/components 1.13.1 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1243 -1222
- package/lib/{AutocompleteMixin-ca948bdb.js → AutocompleteMixin-370de2be.js} +2 -2
- package/lib/{AutocompleteMixin-ca948bdb.js.map → AutocompleteMixin-370de2be.js.map} +1 -1
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/Badge.js +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +1 -1
- package/lib/Banner.js.map +1 -1
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/{Calendar-c2dc6905.js → Calendar-16b981a3.js} +2 -2
- package/lib/{Calendar-c2dc6905.js.map → Calendar-16b981a3.js.map} +1 -1
- package/lib/Calendar.js +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Checkbox.js.map +1 -1
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction.js +1 -1
- package/lib/CommandMenuAction.js.map +1 -1
- package/lib/{Component-5a0a26a0.js → Component-49a41387.js} +2 -2
- package/lib/Component-49a41387.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DateSelectEvent.js.map +1 -1
- package/lib/DirectionController-8b298382.js.map +1 -1
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/DraftComponentMixin-9e4b7b34.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/EmptyState.js +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/EventController-d99ebeef.js.map +1 -1
- package/lib/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/{FocusableMixin-175ea4d7.js → FocusableMixin-99db12c1.js} +2 -2
- package/lib/{FocusableMixin-175ea4d7.js.map → FocusableMixin-99db12c1.js.map} +1 -1
- package/lib/{FormAssociatedMixin-d0d98a92.js → FormAssociatedMixin-f6e5b3cd.js} +2 -2
- package/lib/{FormAssociatedMixin-d0d98a92.js.map → FormAssociatedMixin-f6e5b3cd.js.map} +1 -1
- package/lib/{FormField-d3767c2e.js → FormField-72062bf1.js} +2 -2
- package/lib/FormField-72062bf1.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/{InputMixin-9334d385.js → InputMixin-158f63fb.js} +2 -2
- package/lib/{InputMixin-9334d385.js.map → InputMixin-158f63fb.js.map} +1 -1
- package/lib/KeyboardController.js.map +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/LightDismissController-a2645ae6.js.map +1 -1
- package/lib/{LightDomController-6d26dea2.js → LightDomController-9a6e398f.js} +2 -2
- package/lib/{LightDomController-6d26dea2.js.map → LightDomController-9a6e398f.js.map} +1 -1
- package/lib/LocalizeController.js.map +1 -1
- package/lib/Modal.js +1 -1
- package/lib/Modal.js.map +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/NavItem.js +1 -1
- package/lib/NavItem.js.map +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/Popout.js +1 -1
- package/lib/Popout.js.map +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js +2 -2
- package/lib/Qrcode.js.map +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/SelectEvent.js.map +1 -1
- package/lib/ShortcutController-87615e31.js.map +1 -1
- package/lib/Skeleton.js +1 -1
- package/lib/Skeleton.js.map +1 -1
- package/lib/SlotController-ea6eff46.js.map +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/{TextField-f48e2e5c.js → TextField-c34519d4.js} +2 -2
- package/lib/{TextField-f48e2e5c.js.map → TextField-c34519d4.js.map} +1 -1
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/Toast.js +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/ToastGroup.js +1 -1
- package/lib/ToastGroup.js.map +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/VisuallyHidden.js +1 -1
- package/lib/VisuallyHidden.js.map +1 -1
- package/lib/bundle.js +18 -18
- package/lib/bundle.js.map +1 -1
- package/lib/class-map-cd6c8cbd.js +7 -0
- package/lib/{class-map-f1b6f1fa.js.map → class-map-cd6c8cbd.js.map} +1 -1
- package/lib/collection-800f5002.js.map +1 -1
- package/lib/cond-0a8d4554.js +2 -0
- package/lib/{cond-97c45476.js.map → cond-0a8d4554.js.map} +1 -1
- package/lib/dates-a8de5b83.js.map +1 -1
- package/lib/directive-de55b00a.js.map +1 -1
- package/lib/events-731d0007.js.map +1 -1
- package/lib/fsm-50373df9.js.map +1 -1
- package/lib/{if-defined-fe1a64e3.js → if-defined-f43b1487.js} +2 -2
- package/lib/{if-defined-fe1a64e3.js.map → if-defined-f43b1487.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/lit-element-79bc2e0e.js +24 -0
- package/lib/lit-element-79bc2e0e.js.map +1 -0
- package/lib/month-view.js +1 -1
- package/lib/month-view.js.map +1 -1
- package/lib/number-c3ab3e95.js.map +1 -1
- package/lib/observe-a9c6dfb6.js.map +1 -1
- package/lib/positioning-3bbd3548.js +2 -0
- package/lib/positioning-3bbd3548.js.map +1 -0
- package/lib/property-03f59dce.js.map +1 -1
- package/lib/query-2d22378e.js.map +1 -1
- package/lib/query-assigned-elements-e6cbac30.js +12 -0
- package/lib/{query-assigned-elements-ef860822.js.map → query-assigned-elements-e6cbac30.js.map} +1 -1
- package/lib/{ref-57ff8ffc.js → ref-697b28b5.js} +5 -5
- package/lib/ref-697b28b5.js.map +1 -0
- package/lib/repeat-e7acc0bd.js +7 -0
- package/lib/repeat-e7acc0bd.js.map +1 -0
- package/lib/src/button/Button.test.d.ts +2 -0
- package/lib/src/dropdown/Dropdown.d.ts +5 -0
- package/lib/state-70f38ceb.js.map +1 -1
- package/lib/tinykeys.module-84e6cc41.js.map +1 -1
- package/lib/translation.js.map +1 -1
- package/lib/{unsafe-html-61a04601.js → unsafe-html-be8023cd.js} +3 -3
- package/lib/{unsafe-html-61a04601.js.map → unsafe-html-be8023cd.js.map} +1 -1
- package/package.json +23 -20
- package/lib/Component-5a0a26a0.js.map +0 -1
- package/lib/FormField-d3767c2e.js.map +0 -1
- package/lib/class-map-f1b6f1fa.js +0 -7
- package/lib/cond-97c45476.js +0 -2
- package/lib/lit-element-67e6cd99.js +0 -24
- package/lib/lit-element-67e6cd99.js.map +0 -1
- package/lib/positioning-b660767c.js +0 -2
- package/lib/positioning-b660767c.js.map +0 -1
- package/lib/query-assigned-elements-ef860822.js +0 -12
- package/lib/ref-57ff8ffc.js.map +0 -1
- package/lib/repeat-084c4167.js +0 -7
- package/lib/repeat-084c4167.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -1036,75 +1036,6 @@
|
|
|
1036
1036
|
],
|
|
1037
1037
|
"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- Only use one primary button per section, as a main call-to-action.\n- Use clear and accurate labels.\n- Use established button colors appropriately. For example, only use a danger button style for an action that’s difficult or impossible to undo.\n- Prioritize the most important actions. Too many buttons will cause confusion.\n- Be consistent with positioning of buttons in the user interface.\n- Use strong, actionable verbs in labels such as “Add”, “Close”, “Cancel”, or “Save”.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don't use a primary button in every row of a table.\n- Don’t use buttons to link to other pages. Use regular link or a plain style instead where necessary.\n- Don’t use buttons for navigation where the link appears within or following a sentence.\n- Don’t use labels such as “Read more”, “Click here” or “More”.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, 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\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `default` | Default style is the most common button variant. Only switch to another variant if you need to adjust the visual weight of the element. |\n| `primary` | Primary style is reserved for main call-to-actions. Should be used only once per content area or panel, e.g. for a “Save” action. |\n| `dashed` | Dashed style should be used for actions that trigger filtering. |\n| `danger` | Danger style should be used for actions that delete data or otherwise make it hard to undo the action. |\n| `plain` | Used for less important or less common actions. Can be also used for linking to other pages. |\n| `disabled` | Used for actions that aren’t currently available or not available anymore. Also prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies. |\n| `switch` | Switch style is reserved for the clinic switcher in the top left corner of an application. |\n\n---\n\n## Additional considerations\n\n- Users of assistive technology expect a button to submit data or do an action. If you need the button to navigate into another view, use the `href` property which will output `<a>` tag instead of a `<button>`.\n- When you need to disable a button, use `disabled` property as it conveys this information correctly to assistive technologies like screen readers.\n- Button component provides 3 size variants; small, medium and large. The large size should only be used for marketing purposes or on areas such as an empty space/content notice.\n"
|
|
1038
1038
|
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "javascript-module",
|
|
1041
|
-
"path": "src/badge/Badge.ts",
|
|
1042
|
-
"declarations": [
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "class",
|
|
1045
|
-
"description": "Badges are used to inform users of the status of an object or of an action that’s been taken. Commonly used in tabular data to indicate status.",
|
|
1046
|
-
"name": "Badge",
|
|
1047
|
-
"slots": [
|
|
1048
|
-
{
|
|
1049
|
-
"description": "The badge content.",
|
|
1050
|
-
"name": ""
|
|
1051
|
-
}
|
|
1052
|
-
],
|
|
1053
|
-
"members": [
|
|
1054
|
-
{
|
|
1055
|
-
"kind": "field",
|
|
1056
|
-
"name": "type",
|
|
1057
|
-
"type": {
|
|
1058
|
-
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
1059
|
-
},
|
|
1060
|
-
"default": "\"info\"",
|
|
1061
|
-
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
1062
|
-
"attribute": "type",
|
|
1063
|
-
"reflects": true
|
|
1064
|
-
}
|
|
1065
|
-
],
|
|
1066
|
-
"attributes": [
|
|
1067
|
-
{
|
|
1068
|
-
"name": "type",
|
|
1069
|
-
"type": {
|
|
1070
|
-
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
1071
|
-
},
|
|
1072
|
-
"default": "\"info\"",
|
|
1073
|
-
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
1074
|
-
"fieldName": "type"
|
|
1075
|
-
}
|
|
1076
|
-
],
|
|
1077
|
-
"superclass": {
|
|
1078
|
-
"name": "LitElement",
|
|
1079
|
-
"package": "lit"
|
|
1080
|
-
},
|
|
1081
|
-
"status": "ready",
|
|
1082
|
-
"category": "text",
|
|
1083
|
-
"displayName": null,
|
|
1084
|
-
"tagName": "nord-badge",
|
|
1085
|
-
"customElement": true
|
|
1086
|
-
}
|
|
1087
|
-
],
|
|
1088
|
-
"exports": [
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "js",
|
|
1091
|
-
"name": "default",
|
|
1092
|
-
"declaration": {
|
|
1093
|
-
"name": "Badge",
|
|
1094
|
-
"module": "src/badge/Badge.ts"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "custom-element-definition",
|
|
1099
|
-
"name": "nord-badge",
|
|
1100
|
-
"declaration": {
|
|
1101
|
-
"name": "Badge",
|
|
1102
|
-
"module": "src/badge/Badge.ts"
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
],
|
|
1106
|
-
"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 show a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Use established color patterns so that users can clearly identify the importance level.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge labels, 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `info` | The default variant. Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n"
|
|
1107
|
-
},
|
|
1108
1039
|
{
|
|
1109
1040
|
"kind": "javascript-module",
|
|
1110
1041
|
"path": "src/calendar/Calendar.ts",
|
|
@@ -1624,6 +1555,105 @@
|
|
|
1624
1555
|
],
|
|
1625
1556
|
"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 when the user needs to choose a single date or a date range.\n- Close calendar after a single date is selected, unless a range with a start and end date is required.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for entering date of birth. Use input component instead.\n- Don’t use for choosing a date that is over 10 years in the future or the past.\n\n</div>\n\n---\n\n## Keyboard accessibility\n\nCalendar component is built to closely follow [W3C Date Picker Dialog example](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/datepicker-dialog.html) with some small exceptions to e.g. better support iOS VoiceOver and Android TalkBack.\n\n### Month/year buttons\n\n- `Space, Enter`: Changes the month and/or year displayed.\n\n### Calendar grid\n\n- `Space, Enter`: Selects a date.\n- `Arrow up`: Moves focus to the same day of the previous week.\n- `Arrow down`: Moves focus to the same day of the next week.\n- `Arrow right`: Moves focus to the next day. In right-to-left languages, moves focus to the previous day.\n- `Arrow left`: Moves focus to the previous day. In right-to-left languages, moves focus to the next day.\n- `Home`: Moves focus to the first day (e.g Monday) of the current week.\n- `End`: Moves focus to the last day (e.g. Sunday) of the current week.\n- `Page Up`: Changes the grid of dates to the previous month and sets focus on the same day of the same week.\n- `Shift + Page Up`: Changes the grid of dates to the previous year and sets focus on the same day of the same week.\n- `Page Down`: Changes the grid of dates to the next month and sets focus on the same day of the same week.\n- `Shift + Page Down`: Changes the grid of dates to the next year and sets focus on the same day of the same week.\n"
|
|
1626
1557
|
},
|
|
1558
|
+
{
|
|
1559
|
+
"kind": "javascript-module",
|
|
1560
|
+
"path": "src/card/Card.ts",
|
|
1561
|
+
"declarations": [
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "class",
|
|
1564
|
+
"description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
|
|
1565
|
+
"name": "Card",
|
|
1566
|
+
"slots": [
|
|
1567
|
+
{
|
|
1568
|
+
"description": "The card content.",
|
|
1569
|
+
"name": ""
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"description": "Optional slot that holds a header for the card.",
|
|
1573
|
+
"name": "header"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
|
|
1577
|
+
"name": "header-end"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
1581
|
+
"name": "footer"
|
|
1582
|
+
}
|
|
1583
|
+
],
|
|
1584
|
+
"members": [
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "field",
|
|
1587
|
+
"name": "headerSlot",
|
|
1588
|
+
"privacy": "private",
|
|
1589
|
+
"default": "new SlotController(this, \"header\")"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"kind": "field",
|
|
1593
|
+
"name": "headerEndSlot",
|
|
1594
|
+
"privacy": "private",
|
|
1595
|
+
"default": "new SlotController(this, \"header-end\")"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"kind": "field",
|
|
1599
|
+
"name": "footerSlot",
|
|
1600
|
+
"privacy": "private",
|
|
1601
|
+
"default": "new SlotController(this, \"footer\")"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "field",
|
|
1605
|
+
"name": "padding",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1608
|
+
},
|
|
1609
|
+
"default": "\"m\"",
|
|
1610
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1611
|
+
"attribute": "padding",
|
|
1612
|
+
"reflects": true
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"attributes": [
|
|
1616
|
+
{
|
|
1617
|
+
"name": "padding",
|
|
1618
|
+
"type": {
|
|
1619
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1620
|
+
},
|
|
1621
|
+
"default": "\"m\"",
|
|
1622
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1623
|
+
"fieldName": "padding"
|
|
1624
|
+
}
|
|
1625
|
+
],
|
|
1626
|
+
"superclass": {
|
|
1627
|
+
"name": "LitElement",
|
|
1628
|
+
"package": "lit"
|
|
1629
|
+
},
|
|
1630
|
+
"status": "ready",
|
|
1631
|
+
"category": "structure",
|
|
1632
|
+
"displayName": null,
|
|
1633
|
+
"tagName": "nord-card",
|
|
1634
|
+
"customElement": true
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"exports": [
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "js",
|
|
1640
|
+
"name": "default",
|
|
1641
|
+
"declaration": {
|
|
1642
|
+
"name": "Card",
|
|
1643
|
+
"module": "src/card/Card.ts"
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"kind": "custom-element-definition",
|
|
1648
|
+
"name": "nord-card",
|
|
1649
|
+
"declaration": {
|
|
1650
|
+
"name": "Card",
|
|
1651
|
+
"module": "src/card/Card.ts"
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
],
|
|
1655
|
+
"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 display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n"
|
|
1656
|
+
},
|
|
1627
1657
|
{
|
|
1628
1658
|
"kind": "javascript-module",
|
|
1629
1659
|
"path": "src/checkbox/Checkbox.ts",
|
|
@@ -2231,169 +2261,70 @@
|
|
|
2231
2261
|
},
|
|
2232
2262
|
{
|
|
2233
2263
|
"kind": "javascript-module",
|
|
2234
|
-
"path": "src/
|
|
2264
|
+
"path": "src/command-menu/CommandMenu.ts",
|
|
2235
2265
|
"declarations": [
|
|
2236
2266
|
{
|
|
2237
2267
|
"kind": "class",
|
|
2238
|
-
"description": "
|
|
2239
|
-
"name": "
|
|
2268
|
+
"description": "Command Menu allows users to navigate and use an app without\ntouching the mouse and helps them transform into “power users”\nwho can harness more advanced features far faster.",
|
|
2269
|
+
"name": "CommandMenu",
|
|
2240
2270
|
"slots": [
|
|
2241
2271
|
{
|
|
2242
|
-
"description": "
|
|
2243
|
-
"name": ""
|
|
2244
|
-
}
|
|
2272
|
+
"description": "Used to replace the default footer contents.",
|
|
2273
|
+
"name": "footer"
|
|
2274
|
+
}
|
|
2275
|
+
],
|
|
2276
|
+
"members": [
|
|
2245
2277
|
{
|
|
2246
|
-
"
|
|
2247
|
-
"name": "
|
|
2278
|
+
"kind": "field",
|
|
2279
|
+
"name": "inputRef",
|
|
2280
|
+
"privacy": "private"
|
|
2248
2281
|
},
|
|
2249
2282
|
{
|
|
2250
|
-
"
|
|
2251
|
-
"name": "
|
|
2283
|
+
"kind": "field",
|
|
2284
|
+
"name": "listRef",
|
|
2285
|
+
"privacy": "private"
|
|
2252
2286
|
},
|
|
2253
2287
|
{
|
|
2254
|
-
"
|
|
2255
|
-
"name": "
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2288
|
+
"kind": "field",
|
|
2289
|
+
"name": "previousFocus",
|
|
2290
|
+
"type": {
|
|
2291
|
+
"text": "HTMLElement | undefined"
|
|
2292
|
+
},
|
|
2293
|
+
"privacy": "private"
|
|
2294
|
+
},
|
|
2259
2295
|
{
|
|
2260
2296
|
"kind": "field",
|
|
2261
|
-
"name": "
|
|
2297
|
+
"name": "localize",
|
|
2262
2298
|
"privacy": "private",
|
|
2263
|
-
"default": "new
|
|
2299
|
+
"default": "new LocalizeController<\"nord-command-menu\">(this)"
|
|
2264
2300
|
},
|
|
2265
2301
|
{
|
|
2266
2302
|
"kind": "field",
|
|
2267
|
-
"name": "
|
|
2303
|
+
"name": "dismissController",
|
|
2268
2304
|
"privacy": "private",
|
|
2269
|
-
"default": "new
|
|
2305
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: () => this.close(),\n })"
|
|
2270
2306
|
},
|
|
2271
2307
|
{
|
|
2272
2308
|
"kind": "field",
|
|
2273
|
-
"name": "
|
|
2309
|
+
"name": "keyboardController",
|
|
2274
2310
|
"privacy": "private",
|
|
2275
|
-
"default": "new
|
|
2311
|
+
"default": "new KeyboardController(this, {\n trigger: () => this.select(),\n goBack: () => this.goBack(),\n end: () => this.end(),\n start: () => this.start(),\n next: () => this.next(),\n previous: () => this.previous(),\n toggleOpen: () => this.toggleOpen(),\n })"
|
|
2276
2312
|
},
|
|
2277
2313
|
{
|
|
2278
2314
|
"kind": "field",
|
|
2279
|
-
"name": "
|
|
2315
|
+
"name": "open",
|
|
2280
2316
|
"type": {
|
|
2281
|
-
"text": "
|
|
2317
|
+
"text": "boolean"
|
|
2282
2318
|
},
|
|
2283
|
-
"default": "
|
|
2284
|
-
"description": "
|
|
2285
|
-
"attribute": "
|
|
2286
|
-
|
|
2287
|
-
}
|
|
2288
|
-
],
|
|
2289
|
-
"attributes": [
|
|
2319
|
+
"default": "false",
|
|
2320
|
+
"description": "Show or hide the command menu.",
|
|
2321
|
+
"attribute": "open"
|
|
2322
|
+
},
|
|
2290
2323
|
{
|
|
2291
|
-
"
|
|
2324
|
+
"kind": "field",
|
|
2325
|
+
"name": "placeholder",
|
|
2292
2326
|
"type": {
|
|
2293
|
-
"text": "
|
|
2294
|
-
},
|
|
2295
|
-
"default": "\"m\"",
|
|
2296
|
-
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
2297
|
-
"fieldName": "padding"
|
|
2298
|
-
}
|
|
2299
|
-
],
|
|
2300
|
-
"superclass": {
|
|
2301
|
-
"name": "LitElement",
|
|
2302
|
-
"package": "lit"
|
|
2303
|
-
},
|
|
2304
|
-
"status": "ready",
|
|
2305
|
-
"category": "structure",
|
|
2306
|
-
"displayName": null,
|
|
2307
|
-
"tagName": "nord-card",
|
|
2308
|
-
"customElement": true
|
|
2309
|
-
}
|
|
2310
|
-
],
|
|
2311
|
-
"exports": [
|
|
2312
|
-
{
|
|
2313
|
-
"kind": "js",
|
|
2314
|
-
"name": "default",
|
|
2315
|
-
"declaration": {
|
|
2316
|
-
"name": "Card",
|
|
2317
|
-
"module": "src/card/Card.ts"
|
|
2318
|
-
}
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
"kind": "custom-element-definition",
|
|
2322
|
-
"name": "nord-card",
|
|
2323
|
-
"declaration": {
|
|
2324
|
-
"name": "Card",
|
|
2325
|
-
"module": "src/card/Card.ts"
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
],
|
|
2329
|
-
"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 display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n"
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"kind": "javascript-module",
|
|
2333
|
-
"path": "src/command-menu/CommandMenu.ts",
|
|
2334
|
-
"declarations": [
|
|
2335
|
-
{
|
|
2336
|
-
"kind": "class",
|
|
2337
|
-
"description": "Command Menu allows users to navigate and use an app without\ntouching the mouse and helps them transform into “power users”\nwho can harness more advanced features far faster.",
|
|
2338
|
-
"name": "CommandMenu",
|
|
2339
|
-
"slots": [
|
|
2340
|
-
{
|
|
2341
|
-
"description": "Used to replace the default footer contents.",
|
|
2342
|
-
"name": "footer"
|
|
2343
|
-
}
|
|
2344
|
-
],
|
|
2345
|
-
"members": [
|
|
2346
|
-
{
|
|
2347
|
-
"kind": "field",
|
|
2348
|
-
"name": "inputRef",
|
|
2349
|
-
"privacy": "private"
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"kind": "field",
|
|
2353
|
-
"name": "listRef",
|
|
2354
|
-
"privacy": "private"
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
"kind": "field",
|
|
2358
|
-
"name": "previousFocus",
|
|
2359
|
-
"type": {
|
|
2360
|
-
"text": "HTMLElement | undefined"
|
|
2361
|
-
},
|
|
2362
|
-
"privacy": "private"
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "field",
|
|
2366
|
-
"name": "localize",
|
|
2367
|
-
"privacy": "private",
|
|
2368
|
-
"default": "new LocalizeController<\"nord-command-menu\">(this)"
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
"kind": "field",
|
|
2372
|
-
"name": "dismissController",
|
|
2373
|
-
"privacy": "private",
|
|
2374
|
-
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: () => this.close(),\n })"
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
"kind": "field",
|
|
2378
|
-
"name": "keyboardController",
|
|
2379
|
-
"privacy": "private",
|
|
2380
|
-
"default": "new KeyboardController(this, {\n trigger: () => this.select(),\n goBack: () => this.goBack(),\n end: () => this.end(),\n start: () => this.start(),\n next: () => this.next(),\n previous: () => this.previous(),\n toggleOpen: () => this.toggleOpen(),\n })"
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"kind": "field",
|
|
2384
|
-
"name": "open",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "boolean"
|
|
2387
|
-
},
|
|
2388
|
-
"default": "false",
|
|
2389
|
-
"description": "Show or hide the command menu.",
|
|
2390
|
-
"attribute": "open"
|
|
2391
|
-
},
|
|
2392
|
-
{
|
|
2393
|
-
"kind": "field",
|
|
2394
|
-
"name": "placeholder",
|
|
2395
|
-
"type": {
|
|
2396
|
-
"text": "string"
|
|
2327
|
+
"text": "string"
|
|
2397
2328
|
},
|
|
2398
2329
|
"default": "\"Type a command or search...\"",
|
|
2399
2330
|
"description": "Hint text to display in the Command Menu search field.",
|
|
@@ -2919,6 +2850,75 @@
|
|
|
2919
2850
|
],
|
|
2920
2851
|
"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 provide global and contextual keyboard shortcuts for users.\n- Make command menu available everywhere. Users must be able to bring up the command menu easily.\n- Make command menu central. Users should be able to find global shortcuts from one location.\n- Make command menu omnipotent. Give users access to every possible action.\n- Group related commands logically under sections with the section setting.\n- Use `Alt` key as the modifier, since this is less likely to clash with existing shortcuts.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make command menu available only in certain views of the application.\n- Don’t define shortcuts such as `Ctrl+C`, since this will clash with the native \"Copy\" shortcut.\n- Don't create complex shortcuts, as users will struggle to remember them.\n- Avoid using `KeyboardEvent.key` for defining the shortcut keys.\n- Don’t use as a search field only.\n\n</div>\n\n---\n\n## Content guidelines\n\nCommand titles should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they execute a command:\n\n<div class=\"n-usage n-usage-do\">Start consultation</div>\n<div class=\"n-usage n-usage-dont\">Consultation</div>\n\nAlways lead with a strong verb that encourages action. To provide enough context to user, use the {verb} + {noun} content formula:\n\n<div class=\"n-usage n-usage-do\">Open dashboard</div>\n<div class=\"n-usage n-usage-dont\">Dashboard</div>\n\nWhen writing command titles, 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\">New appointment</div>\n<div class=\"n-usage n-usage-dont\">New Appointment</div>\n\nAvoid unnecessary words and articles in command titles, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending in punctuation:\n\n<div class=\"n-usage n-usage-do\">Switch user</div>\n<div class=\"n-usage n-usage-dont\">Switch user.</div>\n\nUse ellipsis in the title when describing sections that have commands grouped inside of them:\n\n<div class=\"n-usage n-usage-do\">Change theme…</div>\n<div class=\"n-usage n-usage-dont\">Change theme</div>\n\n---\n\n## Commands data\n\nEach command in the `commands` data array must include at least an `id` and `title`. A command may also include properties for `section`, `icon`, `handler`, `shortcut` , `parent`, and `keywords`:\n\n| Name | Purpose |\n| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `id` | An identifier for each command, must be unique. Example: `id: \"user\"`. |\n| `title` | The title shown to users. This is used when searching for a command. Example: `title: \"Change theme...\"`. |\n| `keywords` | Not visible in the user interface, but can make it easier to discover commands through search. Example: `keywords: \"command change log sign out in\"`. |\n| `shortcut` | The keyboard shortcut. Example: `shortcut: \"Alt+KeyU\"`. See the sections [Defining Shortcuts](#defining-shortcuts) and [Choosing shortcuts](#choosing-shortcuts) below for more information. |\n| `section` | Used for grouping many commands under a common header. Example: `section: \"Commands\"`. |\n| `icon` | A name of an icon form Nordicons to show beside the title. If not specified, default command icon will be used instead. Example: `icon: \"file-picture\"`. |\n| `parent` | The `id` of a parent command. This is used for nesting commands. Example: `parent: \"theme\"`. |\n| `handler` | A function to execute when an user triggers a command. Example: `handler: () => { alert(\"Change to light theme\") }`. In cases where a command is only used as a parent command e.g. \"Change theme\", this is not required. |\n\n---\n\n## Defining shortcuts\n\nShortcuts in the Command Menu have the following form: `[modifier]+[key]`. Shortcuts are made up of a sequence of presses. A press can be as simple as a single key which matches against [`KeyboardEvent.code`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values):\n\n```js\n// Matches: event.code:\n\"KeyD\"\n```\n\nPresses can optionally be prefixed with **_modifiers_** which match against any valid value to [`KeyboardEvent.getModifierState()`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState).\n\n```js\n\"Control+KeyD\"\n\"Meta+KeyD\"\n\"Shift+KeyD\"\n\"Alt+KeyD\"\n\"Meta+Shift+KeyD\"\n```\n\nThere is also a special `$mod` modifier that makes it easy to support cross platform keybindings:\n\n- Mac: `$mod` = `Meta` (⌘)\n- Windows/Linux: `$mod` = `Control`\n\n```js\n\"$mod+KeyD\" // ⌘/Ctrl + D\n\"$mod+Shift+KeyD\" // ⌘/Ctrl + Shift + D\n```\n\nThe Command Menu itself can be opened using `⌘+k` (or `Ctrl+k` on Windows) and closed by hitting `Esc`. These are both non-configurable shortcuts in order to unify the experience across our platforms.\n\n---\n\n## Choosing shortcuts\n\nWhen choosing shortcuts, it is very important that they do not clash with native operating system or browser shortcuts.\n\nFor example, you _should not_ define a shortcut like `$mod+KeyC`, since this will clash with the native “Copy” shortcut, and will be triggered every time a user copies text in the app. Nor should you use shortcuts like `Shift+KeyA` since this will get triggered whenever a user types an uppercase “A” character. Therefore, special care and attention must be given to _each and every_ shortcut choice.\n\nIn general, we recommend using the `Alt` modifier, since this is less likely to clash with existing shortcuts. However, be aware, the `Alt` key is also used for accented characters e.g. `Alt+KeyA` produces the letter “å”. Again, it is crucial that you choose shortcuts carefully.\n\nYou should strive to choose shortcuts that are intuitive and easy to remember. The more complex a shortcut, the less likely a user is to remember it. Of course, a user can still find a command by searching the command menu, and for some users this may be their preferred way of triggering commands.\n\n---\n\n## Common keybindings\n\nKeybindings will be matched against [`KeyboardEvent.key`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) and [`KeyboardEvent.code`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values) which may have some names you don’t expect. Please note that we recommend always using `KeyboardEvent.code` for defining the keys and only using `KeyboardEvent.key` for defining modifiers.\n\n| Windows | macOS | key | code |\n| ------------- | --------------- | ------------- | ------------------------------ |\n| N/A | `Command` / `⌘` | `Meta` | `MetaLeft` / `MetaRight` |\n| `Alt` | `Option` / `⌥` | `Alt` | `AltLeft` / `AltRight` |\n| `Control` | `Control` / `^` | `Control` | `ControlLeft` / `ControlRight` |\n| `Shift` | `Shift` | `Shift` | `ShiftLeft` / `ShiftRight` |\n| `Space` | `Space` | N/A | `Space` |\n| `Enter` | `Return` | `Enter` | `Enter` |\n| `Esc` | `Esc` | `Escape` | `Escape` |\n| `1`, `2`, etc | `1`, `2`, etc | `1`, `2`, etc | `Digit1`, `Digit2`, etc |\n| `a`, `b`, etc | `a`, `b`, etc | `a`, `b`, etc | `KeyA`, `KeyB`, etc |\n| `-` | `-` | `-` | `Minus` |\n| `=` | `=` | `=` | `Equal` |\n| `+` | `+` | `+` | `Equal`\\* |\n\nIn addition to the above table, you can use [https://keycode.info/](https://keycode.info/) for checking the specific values needed. Note that some keys will have the same code as others because they appear on the same key on the keyboard. Keep in mind how this is affected by international keyboards which may have different layouts.\n\n---\n\n## Navigating with the command menu\n\n1. Use `Ctrl+K` (Windows/Linux) or `Cmd+K` (Mac) to open the command menu.\n2. Start typing the command you want to execute. The suggestions in the command menu change to match your text.\n3. Finish entering the name, or use the arrow keys to highlight the command you want from the list of suggestions.\n4. Use `Enter` to execute the chosen command.\n5. If you chose a command that has nested commands, you can use `Backspace` to return to the previous menu.\n6. When the command menu is active, you can use one of the following keyboard shortcuts to close it: `Esc`, `Ctrl+K` (Windows and Linux) or `Cmd+K` (Mac).\n"
|
|
2921
2852
|
},
|
|
2853
|
+
{
|
|
2854
|
+
"kind": "javascript-module",
|
|
2855
|
+
"path": "src/badge/Badge.ts",
|
|
2856
|
+
"declarations": [
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "class",
|
|
2859
|
+
"description": "Badges are used to inform users of the status of an object or of an action that’s been taken. Commonly used in tabular data to indicate status.",
|
|
2860
|
+
"name": "Badge",
|
|
2861
|
+
"slots": [
|
|
2862
|
+
{
|
|
2863
|
+
"description": "The badge content.",
|
|
2864
|
+
"name": ""
|
|
2865
|
+
}
|
|
2866
|
+
],
|
|
2867
|
+
"members": [
|
|
2868
|
+
{
|
|
2869
|
+
"kind": "field",
|
|
2870
|
+
"name": "type",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
2873
|
+
},
|
|
2874
|
+
"default": "\"info\"",
|
|
2875
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
2876
|
+
"attribute": "type",
|
|
2877
|
+
"reflects": true
|
|
2878
|
+
}
|
|
2879
|
+
],
|
|
2880
|
+
"attributes": [
|
|
2881
|
+
{
|
|
2882
|
+
"name": "type",
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
2885
|
+
},
|
|
2886
|
+
"default": "\"info\"",
|
|
2887
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
2888
|
+
"fieldName": "type"
|
|
2889
|
+
}
|
|
2890
|
+
],
|
|
2891
|
+
"superclass": {
|
|
2892
|
+
"name": "LitElement",
|
|
2893
|
+
"package": "lit"
|
|
2894
|
+
},
|
|
2895
|
+
"status": "ready",
|
|
2896
|
+
"category": "text",
|
|
2897
|
+
"displayName": null,
|
|
2898
|
+
"tagName": "nord-badge",
|
|
2899
|
+
"customElement": true
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
"exports": [
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "js",
|
|
2905
|
+
"name": "default",
|
|
2906
|
+
"declaration": {
|
|
2907
|
+
"name": "Badge",
|
|
2908
|
+
"module": "src/badge/Badge.ts"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"kind": "custom-element-definition",
|
|
2913
|
+
"name": "nord-badge",
|
|
2914
|
+
"declaration": {
|
|
2915
|
+
"name": "Badge",
|
|
2916
|
+
"module": "src/badge/Badge.ts"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
],
|
|
2920
|
+
"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 show a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Use established color patterns so that users can clearly identify the importance level.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge labels, 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `info` | The default variant. Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n"
|
|
2921
|
+
},
|
|
2922
2922
|
{
|
|
2923
2923
|
"kind": "javascript-module",
|
|
2924
2924
|
"path": "src/common/attribute.ts",
|
|
@@ -5210,6 +5210,17 @@
|
|
|
5210
5210
|
"attribute": "expand",
|
|
5211
5211
|
"reflects": true
|
|
5212
5212
|
},
|
|
5213
|
+
{
|
|
5214
|
+
"kind": "field",
|
|
5215
|
+
"name": "size",
|
|
5216
|
+
"type": {
|
|
5217
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5218
|
+
},
|
|
5219
|
+
"default": "\"m\"",
|
|
5220
|
+
"description": "The size of the dropdown. This affects the minimum and maximum inline-size\nof the dropdown.",
|
|
5221
|
+
"attribute": "size",
|
|
5222
|
+
"reflects": true
|
|
5223
|
+
},
|
|
5213
5224
|
{
|
|
5214
5225
|
"kind": "method",
|
|
5215
5226
|
"name": "hide",
|
|
@@ -5271,6 +5282,15 @@
|
|
|
5271
5282
|
"default": "false",
|
|
5272
5283
|
"description": "Controls whether the toggle slot expands to fill the width of its container.",
|
|
5273
5284
|
"fieldName": "expand"
|
|
5285
|
+
},
|
|
5286
|
+
{
|
|
5287
|
+
"name": "size",
|
|
5288
|
+
"type": {
|
|
5289
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5290
|
+
},
|
|
5291
|
+
"default": "\"m\"",
|
|
5292
|
+
"description": "The size of the dropdown. This affects the minimum and maximum inline-size\nof the dropdown.",
|
|
5293
|
+
"fieldName": "size"
|
|
5274
5294
|
}
|
|
5275
5295
|
],
|
|
5276
5296
|
"superclass": {
|
|
@@ -10041,9 +10061,9 @@
|
|
|
10041
10061
|
},
|
|
10042
10062
|
"default": "false",
|
|
10043
10063
|
"description": "This property is deprecated and will be removed in a future version. We recommend using standard [CSS media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) over this property. Please see the [updated usage example](/components/stack/?example=using+responsive+media+query).",
|
|
10064
|
+
"deprecated": true,
|
|
10044
10065
|
"attribute": "responsive",
|
|
10045
|
-
"reflects": true
|
|
10046
|
-
"deprecated": true
|
|
10066
|
+
"reflects": true
|
|
10047
10067
|
},
|
|
10048
10068
|
{
|
|
10049
10069
|
"kind": "field",
|
|
@@ -10102,6 +10122,7 @@
|
|
|
10102
10122
|
},
|
|
10103
10123
|
"default": "false",
|
|
10104
10124
|
"description": "This property is deprecated and will be removed in a future version. We recommend using standard [CSS media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) over this property. Please see the [updated usage example](/components/stack/?example=using+responsive+media+query).",
|
|
10125
|
+
"deprecated": "true",
|
|
10105
10126
|
"fieldName": "responsive"
|
|
10106
10127
|
},
|
|
10107
10128
|
{
|
|
@@ -12484,24 +12505,57 @@
|
|
|
12484
12505
|
},
|
|
12485
12506
|
{
|
|
12486
12507
|
"kind": "javascript-module",
|
|
12487
|
-
"path": "src/common/
|
|
12508
|
+
"path": "src/common/controllers/DirectionController.ts",
|
|
12488
12509
|
"declarations": [
|
|
12489
12510
|
{
|
|
12490
|
-
"kind": "
|
|
12491
|
-
"
|
|
12492
|
-
"
|
|
12511
|
+
"kind": "class",
|
|
12512
|
+
"description": "",
|
|
12513
|
+
"name": "DirectionController",
|
|
12514
|
+
"members": [
|
|
12493
12515
|
{
|
|
12494
|
-
"
|
|
12516
|
+
"kind": "field",
|
|
12517
|
+
"name": "hosts",
|
|
12518
|
+
"privacy": "private",
|
|
12519
|
+
"static": true,
|
|
12520
|
+
"default": "new Set<ReactiveControllerHost>()"
|
|
12521
|
+
},
|
|
12522
|
+
{
|
|
12523
|
+
"kind": "field",
|
|
12524
|
+
"name": "observer",
|
|
12495
12525
|
"type": {
|
|
12496
|
-
"text": "
|
|
12497
|
-
}
|
|
12526
|
+
"text": "MutationObserver | undefined"
|
|
12527
|
+
},
|
|
12528
|
+
"privacy": "private",
|
|
12529
|
+
"static": true
|
|
12498
12530
|
},
|
|
12499
12531
|
{
|
|
12500
|
-
"
|
|
12501
|
-
"
|
|
12532
|
+
"kind": "field",
|
|
12533
|
+
"name": "dir",
|
|
12502
12534
|
"type": {
|
|
12503
|
-
"text": "
|
|
12535
|
+
"text": "WritingDirection"
|
|
12504
12536
|
}
|
|
12537
|
+
},
|
|
12538
|
+
{
|
|
12539
|
+
"kind": "field",
|
|
12540
|
+
"name": "isLTR"
|
|
12541
|
+
},
|
|
12542
|
+
{
|
|
12543
|
+
"kind": "field",
|
|
12544
|
+
"name": "isRTL"
|
|
12545
|
+
},
|
|
12546
|
+
{
|
|
12547
|
+
"kind": "method",
|
|
12548
|
+
"name": "hostConnected"
|
|
12549
|
+
},
|
|
12550
|
+
{
|
|
12551
|
+
"kind": "method",
|
|
12552
|
+
"name": "hostDisconnected"
|
|
12553
|
+
},
|
|
12554
|
+
{
|
|
12555
|
+
"kind": "method",
|
|
12556
|
+
"name": "observe",
|
|
12557
|
+
"privacy": "private",
|
|
12558
|
+
"static": true
|
|
12505
12559
|
}
|
|
12506
12560
|
]
|
|
12507
12561
|
}
|
|
@@ -12509,221 +12563,378 @@
|
|
|
12509
12563
|
"exports": [
|
|
12510
12564
|
{
|
|
12511
12565
|
"kind": "js",
|
|
12512
|
-
"name": "
|
|
12566
|
+
"name": "DirectionController",
|
|
12513
12567
|
"declaration": {
|
|
12514
|
-
"name": "
|
|
12515
|
-
"module": "src/common/
|
|
12568
|
+
"name": "DirectionController",
|
|
12569
|
+
"module": "src/common/controllers/DirectionController.ts"
|
|
12516
12570
|
}
|
|
12517
12571
|
}
|
|
12518
12572
|
]
|
|
12519
12573
|
},
|
|
12520
12574
|
{
|
|
12521
12575
|
"kind": "javascript-module",
|
|
12522
|
-
"path": "src/common/
|
|
12576
|
+
"path": "src/common/controllers/EventController.ts",
|
|
12523
12577
|
"declarations": [
|
|
12524
12578
|
{
|
|
12525
|
-
"kind": "
|
|
12526
|
-
"
|
|
12527
|
-
"
|
|
12528
|
-
|
|
12529
|
-
"text": "typeof value | typeof nothing"
|
|
12530
|
-
}
|
|
12531
|
-
},
|
|
12532
|
-
"parameters": [
|
|
12579
|
+
"kind": "class",
|
|
12580
|
+
"description": "",
|
|
12581
|
+
"name": "EventController",
|
|
12582
|
+
"members": [
|
|
12533
12583
|
{
|
|
12534
|
-
"
|
|
12584
|
+
"kind": "field",
|
|
12585
|
+
"name": "listeners",
|
|
12535
12586
|
"type": {
|
|
12536
|
-
"text": "
|
|
12537
|
-
}
|
|
12538
|
-
|
|
12539
|
-
|
|
12540
|
-
|
|
12541
|
-
},
|
|
12542
|
-
{
|
|
12543
|
-
"kind": "function",
|
|
12544
|
-
"name": "cond",
|
|
12545
|
-
"return": {
|
|
12546
|
-
"type": {
|
|
12547
|
-
"text": "typeof trueCase | typeof nothing"
|
|
12548
|
-
}
|
|
12549
|
-
},
|
|
12550
|
-
"parameters": [
|
|
12587
|
+
"text": "Array<() => void>"
|
|
12588
|
+
},
|
|
12589
|
+
"privacy": "private",
|
|
12590
|
+
"default": "[]"
|
|
12591
|
+
},
|
|
12551
12592
|
{
|
|
12552
|
-
"
|
|
12553
|
-
"
|
|
12554
|
-
"text": "unknown"
|
|
12555
|
-
}
|
|
12593
|
+
"kind": "method",
|
|
12594
|
+
"name": "hostDisconnected"
|
|
12556
12595
|
},
|
|
12557
12596
|
{
|
|
12558
|
-
"
|
|
12559
|
-
"
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12597
|
+
"kind": "method",
|
|
12598
|
+
"name": "listen",
|
|
12599
|
+
"return": {
|
|
12600
|
+
"type": {
|
|
12601
|
+
"text": "void"
|
|
12602
|
+
}
|
|
12603
|
+
},
|
|
12604
|
+
"parameters": [
|
|
12605
|
+
{
|
|
12606
|
+
"name": "window",
|
|
12607
|
+
"type": {
|
|
12608
|
+
"text": "Window"
|
|
12609
|
+
}
|
|
12610
|
+
},
|
|
12611
|
+
{
|
|
12612
|
+
"name": "type",
|
|
12613
|
+
"type": {
|
|
12614
|
+
"text": "K"
|
|
12615
|
+
}
|
|
12616
|
+
},
|
|
12617
|
+
{
|
|
12618
|
+
"name": "listener",
|
|
12619
|
+
"type": {
|
|
12620
|
+
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
12621
|
+
}
|
|
12622
|
+
},
|
|
12623
|
+
{
|
|
12624
|
+
"name": "options",
|
|
12625
|
+
"optional": true,
|
|
12626
|
+
"type": {
|
|
12627
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12628
|
+
}
|
|
12629
|
+
}
|
|
12630
|
+
]
|
|
12631
|
+
},
|
|
12575
12632
|
{
|
|
12576
|
-
"
|
|
12577
|
-
"
|
|
12578
|
-
|
|
12579
|
-
|
|
12633
|
+
"kind": "method",
|
|
12634
|
+
"name": "listen",
|
|
12635
|
+
"return": {
|
|
12636
|
+
"type": {
|
|
12637
|
+
"text": "void"
|
|
12638
|
+
}
|
|
12639
|
+
},
|
|
12640
|
+
"parameters": [
|
|
12641
|
+
{
|
|
12642
|
+
"name": "document",
|
|
12643
|
+
"type": {
|
|
12644
|
+
"text": "Document"
|
|
12645
|
+
}
|
|
12646
|
+
},
|
|
12647
|
+
{
|
|
12648
|
+
"name": "type",
|
|
12649
|
+
"type": {
|
|
12650
|
+
"text": "K"
|
|
12651
|
+
}
|
|
12652
|
+
},
|
|
12653
|
+
{
|
|
12654
|
+
"name": "listener",
|
|
12655
|
+
"type": {
|
|
12656
|
+
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
12657
|
+
}
|
|
12658
|
+
},
|
|
12659
|
+
{
|
|
12660
|
+
"name": "options",
|
|
12661
|
+
"optional": true,
|
|
12662
|
+
"type": {
|
|
12663
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12664
|
+
}
|
|
12665
|
+
}
|
|
12666
|
+
]
|
|
12580
12667
|
},
|
|
12581
12668
|
{
|
|
12582
|
-
"
|
|
12583
|
-
"
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12669
|
+
"kind": "method",
|
|
12670
|
+
"name": "listen",
|
|
12671
|
+
"return": {
|
|
12672
|
+
"type": {
|
|
12673
|
+
"text": "void"
|
|
12674
|
+
}
|
|
12675
|
+
},
|
|
12676
|
+
"parameters": [
|
|
12677
|
+
{
|
|
12678
|
+
"name": "element",
|
|
12679
|
+
"type": {
|
|
12680
|
+
"text": "HTMLElement"
|
|
12681
|
+
}
|
|
12682
|
+
},
|
|
12683
|
+
{
|
|
12684
|
+
"name": "type",
|
|
12685
|
+
"type": {
|
|
12686
|
+
"text": "K"
|
|
12687
|
+
}
|
|
12688
|
+
},
|
|
12689
|
+
{
|
|
12690
|
+
"name": "listener",
|
|
12691
|
+
"type": {
|
|
12692
|
+
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
12693
|
+
}
|
|
12694
|
+
},
|
|
12695
|
+
{
|
|
12696
|
+
"name": "options",
|
|
12697
|
+
"optional": true,
|
|
12698
|
+
"type": {
|
|
12699
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12700
|
+
}
|
|
12701
|
+
}
|
|
12702
|
+
]
|
|
12703
|
+
},
|
|
12599
12704
|
{
|
|
12600
|
-
"
|
|
12601
|
-
"
|
|
12602
|
-
|
|
12603
|
-
|
|
12705
|
+
"kind": "method",
|
|
12706
|
+
"name": "listen",
|
|
12707
|
+
"return": {
|
|
12708
|
+
"type": {
|
|
12709
|
+
"text": "void"
|
|
12710
|
+
}
|
|
12711
|
+
},
|
|
12712
|
+
"parameters": [
|
|
12713
|
+
{
|
|
12714
|
+
"name": "element",
|
|
12715
|
+
"type": {
|
|
12716
|
+
"text": "ShadowRoot"
|
|
12717
|
+
}
|
|
12718
|
+
},
|
|
12719
|
+
{
|
|
12720
|
+
"name": "type",
|
|
12721
|
+
"type": {
|
|
12722
|
+
"text": "K"
|
|
12723
|
+
}
|
|
12724
|
+
},
|
|
12725
|
+
{
|
|
12726
|
+
"name": "listener",
|
|
12727
|
+
"type": {
|
|
12728
|
+
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
12729
|
+
}
|
|
12730
|
+
},
|
|
12731
|
+
{
|
|
12732
|
+
"name": "options",
|
|
12733
|
+
"optional": true,
|
|
12734
|
+
"type": {
|
|
12735
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12736
|
+
}
|
|
12737
|
+
}
|
|
12738
|
+
]
|
|
12604
12739
|
},
|
|
12605
12740
|
{
|
|
12606
|
-
"
|
|
12607
|
-
"
|
|
12608
|
-
|
|
12609
|
-
|
|
12741
|
+
"kind": "method",
|
|
12742
|
+
"name": "listen",
|
|
12743
|
+
"parameters": [
|
|
12744
|
+
{
|
|
12745
|
+
"name": "element",
|
|
12746
|
+
"type": {
|
|
12747
|
+
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
12748
|
+
}
|
|
12749
|
+
},
|
|
12750
|
+
{
|
|
12751
|
+
"name": "type",
|
|
12752
|
+
"type": {
|
|
12753
|
+
"text": "string"
|
|
12754
|
+
}
|
|
12755
|
+
},
|
|
12756
|
+
{
|
|
12757
|
+
"name": "listener",
|
|
12758
|
+
"type": {
|
|
12759
|
+
"text": "(ev: any) => any"
|
|
12760
|
+
}
|
|
12761
|
+
},
|
|
12762
|
+
{
|
|
12763
|
+
"name": "options",
|
|
12764
|
+
"optional": true,
|
|
12765
|
+
"type": {
|
|
12766
|
+
"text": "boolean | AddEventListenerOptions"
|
|
12767
|
+
}
|
|
12768
|
+
}
|
|
12769
|
+
]
|
|
12610
12770
|
}
|
|
12611
|
-
]
|
|
12612
|
-
|
|
12613
|
-
|
|
12771
|
+
]
|
|
12772
|
+
}
|
|
12773
|
+
],
|
|
12774
|
+
"exports": [
|
|
12614
12775
|
{
|
|
12615
|
-
"kind": "
|
|
12616
|
-
"name": "
|
|
12617
|
-
"
|
|
12618
|
-
"
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12776
|
+
"kind": "js",
|
|
12777
|
+
"name": "EventController",
|
|
12778
|
+
"declaration": {
|
|
12779
|
+
"name": "EventController",
|
|
12780
|
+
"module": "src/common/controllers/EventController.ts"
|
|
12781
|
+
}
|
|
12782
|
+
}
|
|
12783
|
+
]
|
|
12784
|
+
},
|
|
12785
|
+
{
|
|
12786
|
+
"kind": "javascript-module",
|
|
12787
|
+
"path": "src/common/controllers/FocusTrapController.ts",
|
|
12788
|
+
"declarations": [
|
|
12789
|
+
{
|
|
12790
|
+
"kind": "class",
|
|
12791
|
+
"description": "",
|
|
12792
|
+
"name": "FocusTrapController",
|
|
12793
|
+
"members": [
|
|
12623
12794
|
{
|
|
12624
|
-
"
|
|
12795
|
+
"kind": "field",
|
|
12796
|
+
"name": "lastScrollY",
|
|
12625
12797
|
"type": {
|
|
12626
|
-
"text": "
|
|
12627
|
-
}
|
|
12798
|
+
"text": "number"
|
|
12799
|
+
},
|
|
12800
|
+
"privacy": "private",
|
|
12801
|
+
"default": "0"
|
|
12628
12802
|
},
|
|
12629
12803
|
{
|
|
12630
|
-
"
|
|
12804
|
+
"kind": "field",
|
|
12805
|
+
"name": "lastFocused",
|
|
12631
12806
|
"type": {
|
|
12632
|
-
"text": "
|
|
12633
|
-
}
|
|
12807
|
+
"text": "HTMLElement | undefined"
|
|
12808
|
+
},
|
|
12809
|
+
"privacy": "private"
|
|
12634
12810
|
},
|
|
12635
12811
|
{
|
|
12636
|
-
"
|
|
12637
|
-
"
|
|
12638
|
-
|
|
12639
|
-
|
|
12812
|
+
"kind": "method",
|
|
12813
|
+
"name": "hostDisconnected"
|
|
12814
|
+
},
|
|
12815
|
+
{
|
|
12816
|
+
"kind": "method",
|
|
12817
|
+
"name": "trap"
|
|
12818
|
+
},
|
|
12819
|
+
{
|
|
12820
|
+
"kind": "method",
|
|
12821
|
+
"name": "release"
|
|
12822
|
+
},
|
|
12823
|
+
{
|
|
12824
|
+
"kind": "field",
|
|
12825
|
+
"name": "handleFocusOut",
|
|
12826
|
+
"privacy": "private"
|
|
12827
|
+
},
|
|
12828
|
+
{
|
|
12829
|
+
"kind": "field",
|
|
12830
|
+
"name": "handleFocusIn",
|
|
12831
|
+
"privacy": "private"
|
|
12832
|
+
},
|
|
12833
|
+
{
|
|
12834
|
+
"kind": "method",
|
|
12835
|
+
"name": "recaptureFocus",
|
|
12836
|
+
"privacy": "private"
|
|
12837
|
+
},
|
|
12838
|
+
{
|
|
12839
|
+
"kind": "field",
|
|
12840
|
+
"name": "restoreScroll",
|
|
12841
|
+
"privacy": "private"
|
|
12640
12842
|
}
|
|
12641
|
-
]
|
|
12642
|
-
|
|
12643
|
-
|
|
12843
|
+
]
|
|
12844
|
+
}
|
|
12845
|
+
],
|
|
12846
|
+
"exports": [
|
|
12644
12847
|
{
|
|
12645
|
-
"kind": "
|
|
12646
|
-
"name": "
|
|
12647
|
-
"
|
|
12648
|
-
"
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12848
|
+
"kind": "js",
|
|
12849
|
+
"name": "FocusTrapController",
|
|
12850
|
+
"declaration": {
|
|
12851
|
+
"name": "FocusTrapController",
|
|
12852
|
+
"module": "src/common/controllers/FocusTrapController.ts"
|
|
12853
|
+
}
|
|
12854
|
+
}
|
|
12855
|
+
]
|
|
12856
|
+
},
|
|
12857
|
+
{
|
|
12858
|
+
"kind": "javascript-module",
|
|
12859
|
+
"path": "src/common/controllers/FormDataController.ts",
|
|
12860
|
+
"declarations": [
|
|
12861
|
+
{
|
|
12862
|
+
"kind": "class",
|
|
12863
|
+
"description": "",
|
|
12864
|
+
"name": "FormDataController",
|
|
12865
|
+
"members": [
|
|
12653
12866
|
{
|
|
12654
|
-
"
|
|
12867
|
+
"kind": "field",
|
|
12868
|
+
"name": "events",
|
|
12655
12869
|
"type": {
|
|
12656
|
-
"text": "
|
|
12657
|
-
}
|
|
12870
|
+
"text": "EventController"
|
|
12871
|
+
},
|
|
12872
|
+
"privacy": "private",
|
|
12873
|
+
"default": "new EventController(host)"
|
|
12658
12874
|
},
|
|
12659
12875
|
{
|
|
12660
|
-
"
|
|
12661
|
-
"
|
|
12662
|
-
"text": "any"
|
|
12663
|
-
}
|
|
12876
|
+
"kind": "method",
|
|
12877
|
+
"name": "hostConnected"
|
|
12664
12878
|
},
|
|
12665
12879
|
{
|
|
12666
|
-
"
|
|
12667
|
-
"
|
|
12668
|
-
|
|
12669
|
-
}
|
|
12880
|
+
"kind": "field",
|
|
12881
|
+
"name": "handleFormData",
|
|
12882
|
+
"privacy": "private"
|
|
12670
12883
|
}
|
|
12671
|
-
]
|
|
12672
|
-
|
|
12673
|
-
|
|
12884
|
+
]
|
|
12885
|
+
}
|
|
12886
|
+
],
|
|
12887
|
+
"exports": [
|
|
12674
12888
|
{
|
|
12675
|
-
"kind": "
|
|
12676
|
-
"name": "
|
|
12677
|
-
"
|
|
12678
|
-
"
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12889
|
+
"kind": "js",
|
|
12890
|
+
"name": "FormDataController",
|
|
12891
|
+
"declaration": {
|
|
12892
|
+
"name": "FormDataController",
|
|
12893
|
+
"module": "src/common/controllers/FormDataController.ts"
|
|
12894
|
+
}
|
|
12895
|
+
}
|
|
12896
|
+
]
|
|
12897
|
+
},
|
|
12898
|
+
{
|
|
12899
|
+
"kind": "javascript-module",
|
|
12900
|
+
"path": "src/common/controllers/LightDismissController.ts",
|
|
12901
|
+
"declarations": [
|
|
12902
|
+
{
|
|
12903
|
+
"kind": "class",
|
|
12904
|
+
"description": "",
|
|
12905
|
+
"name": "LightDismissController",
|
|
12906
|
+
"members": [
|
|
12683
12907
|
{
|
|
12684
|
-
"
|
|
12908
|
+
"kind": "field",
|
|
12909
|
+
"name": "shortcut",
|
|
12685
12910
|
"type": {
|
|
12686
|
-
"text": "
|
|
12687
|
-
}
|
|
12911
|
+
"text": "ShortcutController"
|
|
12912
|
+
},
|
|
12913
|
+
"privacy": "private",
|
|
12914
|
+
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
12688
12915
|
},
|
|
12689
12916
|
{
|
|
12690
|
-
"
|
|
12917
|
+
"kind": "field",
|
|
12918
|
+
"name": "events",
|
|
12691
12919
|
"type": {
|
|
12692
|
-
"text": "
|
|
12693
|
-
}
|
|
12920
|
+
"text": "EventController"
|
|
12921
|
+
},
|
|
12922
|
+
"privacy": "private",
|
|
12923
|
+
"default": "new EventController(host)"
|
|
12694
12924
|
},
|
|
12695
12925
|
{
|
|
12696
|
-
"
|
|
12697
|
-
"
|
|
12698
|
-
"text": "any"
|
|
12699
|
-
}
|
|
12700
|
-
}
|
|
12701
|
-
],
|
|
12702
|
-
"description": "condition is false, so always return falseCase"
|
|
12703
|
-
},
|
|
12704
|
-
{
|
|
12705
|
-
"kind": "function",
|
|
12706
|
-
"name": "cond",
|
|
12707
|
-
"parameters": [
|
|
12708
|
-
{
|
|
12709
|
-
"name": "condition",
|
|
12710
|
-
"type": {
|
|
12711
|
-
"text": "unknown"
|
|
12712
|
-
}
|
|
12926
|
+
"kind": "method",
|
|
12927
|
+
"name": "hostConnected"
|
|
12713
12928
|
},
|
|
12714
12929
|
{
|
|
12715
|
-
"
|
|
12716
|
-
"
|
|
12717
|
-
"
|
|
12718
|
-
"text": "any"
|
|
12719
|
-
}
|
|
12930
|
+
"kind": "field",
|
|
12931
|
+
"name": "handleEsc",
|
|
12932
|
+
"privacy": "private"
|
|
12720
12933
|
},
|
|
12721
12934
|
{
|
|
12722
|
-
"
|
|
12723
|
-
"
|
|
12724
|
-
"
|
|
12725
|
-
"text": "any"
|
|
12726
|
-
}
|
|
12935
|
+
"kind": "field",
|
|
12936
|
+
"name": "handleClickOut",
|
|
12937
|
+
"privacy": "private"
|
|
12727
12938
|
}
|
|
12728
12939
|
]
|
|
12729
12940
|
}
|
|
@@ -12731,265 +12942,200 @@
|
|
|
12731
12942
|
"exports": [
|
|
12732
12943
|
{
|
|
12733
12944
|
"kind": "js",
|
|
12734
|
-
"name": "
|
|
12735
|
-
"declaration": {
|
|
12736
|
-
"name": "cond",
|
|
12737
|
-
"module": "src/common/directives/cond.ts"
|
|
12738
|
-
}
|
|
12739
|
-
},
|
|
12740
|
-
{
|
|
12741
|
-
"kind": "js",
|
|
12742
|
-
"name": "cond",
|
|
12743
|
-
"declaration": {
|
|
12744
|
-
"name": "cond",
|
|
12745
|
-
"module": "src/common/directives/cond.ts"
|
|
12746
|
-
}
|
|
12747
|
-
},
|
|
12748
|
-
{
|
|
12749
|
-
"kind": "js",
|
|
12750
|
-
"name": "cond",
|
|
12751
|
-
"declaration": {
|
|
12752
|
-
"name": "cond",
|
|
12753
|
-
"module": "src/common/directives/cond.ts"
|
|
12754
|
-
}
|
|
12755
|
-
},
|
|
12756
|
-
{
|
|
12757
|
-
"kind": "js",
|
|
12758
|
-
"name": "cond",
|
|
12759
|
-
"declaration": {
|
|
12760
|
-
"name": "cond",
|
|
12761
|
-
"module": "src/common/directives/cond.ts"
|
|
12762
|
-
}
|
|
12763
|
-
},
|
|
12764
|
-
{
|
|
12765
|
-
"kind": "js",
|
|
12766
|
-
"name": "cond",
|
|
12767
|
-
"declaration": {
|
|
12768
|
-
"name": "cond",
|
|
12769
|
-
"module": "src/common/directives/cond.ts"
|
|
12770
|
-
}
|
|
12771
|
-
},
|
|
12772
|
-
{
|
|
12773
|
-
"kind": "js",
|
|
12774
|
-
"name": "cond",
|
|
12775
|
-
"declaration": {
|
|
12776
|
-
"name": "cond",
|
|
12777
|
-
"module": "src/common/directives/cond.ts"
|
|
12778
|
-
}
|
|
12779
|
-
},
|
|
12780
|
-
{
|
|
12781
|
-
"kind": "js",
|
|
12782
|
-
"name": "cond",
|
|
12783
|
-
"declaration": {
|
|
12784
|
-
"name": "cond",
|
|
12785
|
-
"module": "src/common/directives/cond.ts"
|
|
12786
|
-
}
|
|
12787
|
-
},
|
|
12788
|
-
{
|
|
12789
|
-
"kind": "js",
|
|
12790
|
-
"name": "cond",
|
|
12945
|
+
"name": "LightDismissController",
|
|
12791
12946
|
"declaration": {
|
|
12792
|
-
"name": "
|
|
12793
|
-
"module": "src/common/
|
|
12947
|
+
"name": "LightDismissController",
|
|
12948
|
+
"module": "src/common/controllers/LightDismissController.ts"
|
|
12794
12949
|
}
|
|
12795
12950
|
}
|
|
12796
12951
|
]
|
|
12797
12952
|
},
|
|
12798
12953
|
{
|
|
12799
12954
|
"kind": "javascript-module",
|
|
12800
|
-
"path": "src/common/
|
|
12955
|
+
"path": "src/common/controllers/LightDomController.ts",
|
|
12801
12956
|
"declarations": [
|
|
12802
12957
|
{
|
|
12803
|
-
"kind": "
|
|
12804
|
-
"
|
|
12805
|
-
"
|
|
12806
|
-
|
|
12807
|
-
"text": "TInner"
|
|
12808
|
-
}
|
|
12809
|
-
},
|
|
12810
|
-
"parameters": [
|
|
12958
|
+
"kind": "class",
|
|
12959
|
+
"description": "",
|
|
12960
|
+
"name": "LightDomController",
|
|
12961
|
+
"members": [
|
|
12811
12962
|
{
|
|
12812
|
-
"
|
|
12963
|
+
"kind": "field",
|
|
12964
|
+
"name": "container",
|
|
12813
12965
|
"type": {
|
|
12814
|
-
"text": "
|
|
12815
|
-
}
|
|
12966
|
+
"text": "HTMLElement"
|
|
12967
|
+
},
|
|
12968
|
+
"privacy": "private"
|
|
12816
12969
|
},
|
|
12817
12970
|
{
|
|
12818
|
-
"
|
|
12819
|
-
"
|
|
12820
|
-
"text": "() => TInner"
|
|
12821
|
-
}
|
|
12971
|
+
"kind": "method",
|
|
12972
|
+
"name": "hostUpdated"
|
|
12822
12973
|
},
|
|
12823
12974
|
{
|
|
12824
|
-
"
|
|
12825
|
-
"
|
|
12826
|
-
"text": "(inner: TInner) => TWrapper"
|
|
12827
|
-
}
|
|
12975
|
+
"kind": "method",
|
|
12976
|
+
"name": "hostDisconnected"
|
|
12828
12977
|
}
|
|
12829
12978
|
]
|
|
12830
|
-
}
|
|
12979
|
+
}
|
|
12980
|
+
],
|
|
12981
|
+
"exports": [
|
|
12831
12982
|
{
|
|
12832
|
-
"kind": "
|
|
12833
|
-
"name": "
|
|
12834
|
-
"
|
|
12835
|
-
"
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12983
|
+
"kind": "js",
|
|
12984
|
+
"name": "LightDomController",
|
|
12985
|
+
"declaration": {
|
|
12986
|
+
"name": "LightDomController",
|
|
12987
|
+
"module": "src/common/controllers/LightDomController.ts"
|
|
12988
|
+
}
|
|
12989
|
+
}
|
|
12990
|
+
]
|
|
12991
|
+
},
|
|
12992
|
+
{
|
|
12993
|
+
"kind": "javascript-module",
|
|
12994
|
+
"path": "src/common/controllers/LightSlotController.ts",
|
|
12995
|
+
"declarations": [
|
|
12996
|
+
{
|
|
12997
|
+
"kind": "class",
|
|
12998
|
+
"description": "Handles cases where a component needs to render to light DOM,\nand potentially sync component properties to user-supplied content.",
|
|
12999
|
+
"name": "LightSlotController",
|
|
13000
|
+
"members": [
|
|
12840
13001
|
{
|
|
12841
|
-
"
|
|
13002
|
+
"kind": "field",
|
|
13003
|
+
"name": "renderHook",
|
|
12842
13004
|
"type": {
|
|
12843
|
-
"text": "
|
|
12844
|
-
}
|
|
13005
|
+
"text": "Comment"
|
|
13006
|
+
},
|
|
13007
|
+
"privacy": "private"
|
|
12845
13008
|
},
|
|
12846
13009
|
{
|
|
12847
|
-
"
|
|
13010
|
+
"kind": "field",
|
|
13011
|
+
"name": "lightDom",
|
|
12848
13012
|
"type": {
|
|
12849
|
-
"text": "
|
|
12850
|
-
}
|
|
13013
|
+
"text": "LightDomController"
|
|
13014
|
+
},
|
|
13015
|
+
"privacy": "private",
|
|
13016
|
+
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
12851
13017
|
},
|
|
12852
13018
|
{
|
|
12853
|
-
"
|
|
12854
|
-
"
|
|
12855
|
-
|
|
13019
|
+
"kind": "method",
|
|
13020
|
+
"name": "hostConnected",
|
|
13021
|
+
"inheritedFrom": {
|
|
13022
|
+
"name": "SlotController",
|
|
13023
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12856
13024
|
}
|
|
12857
|
-
}
|
|
12858
|
-
]
|
|
12859
|
-
},
|
|
12860
|
-
{
|
|
12861
|
-
"kind": "function",
|
|
12862
|
-
"name": "wrapIf",
|
|
12863
|
-
"return": {
|
|
12864
|
-
"type": {
|
|
12865
|
-
"text": "TInner | TWrapper"
|
|
12866
|
-
}
|
|
12867
|
-
},
|
|
12868
|
-
"parameters": [
|
|
13025
|
+
},
|
|
12869
13026
|
{
|
|
12870
|
-
"
|
|
12871
|
-
"
|
|
12872
|
-
"text": "unknown"
|
|
12873
|
-
}
|
|
13027
|
+
"kind": "method",
|
|
13028
|
+
"name": "hostDisconnected"
|
|
12874
13029
|
},
|
|
12875
13030
|
{
|
|
12876
|
-
"
|
|
12877
|
-
"
|
|
12878
|
-
|
|
13031
|
+
"kind": "field",
|
|
13032
|
+
"name": "onChange",
|
|
13033
|
+
"privacy": "protected",
|
|
13034
|
+
"parameters": [
|
|
13035
|
+
{
|
|
13036
|
+
"name": "_e",
|
|
13037
|
+
"type": {
|
|
13038
|
+
"text": "Event"
|
|
13039
|
+
}
|
|
13040
|
+
}
|
|
13041
|
+
],
|
|
13042
|
+
"inheritedFrom": {
|
|
13043
|
+
"name": "SlotController",
|
|
13044
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12879
13045
|
}
|
|
12880
13046
|
},
|
|
12881
13047
|
{
|
|
12882
|
-
"
|
|
13048
|
+
"kind": "method",
|
|
13049
|
+
"name": "syncLightDom",
|
|
13050
|
+
"privacy": "private"
|
|
13051
|
+
},
|
|
13052
|
+
{
|
|
13053
|
+
"kind": "field",
|
|
13054
|
+
"name": "events",
|
|
12883
13055
|
"type": {
|
|
12884
|
-
"text": "
|
|
13056
|
+
"text": "EventController"
|
|
13057
|
+
},
|
|
13058
|
+
"privacy": "private",
|
|
13059
|
+
"default": "new EventController(host)",
|
|
13060
|
+
"inheritedFrom": {
|
|
13061
|
+
"name": "SlotController",
|
|
13062
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12885
13063
|
}
|
|
12886
|
-
}
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
13064
|
+
},
|
|
13065
|
+
{
|
|
13066
|
+
"kind": "field",
|
|
13067
|
+
"name": "hasContent",
|
|
13068
|
+
"inheritedFrom": {
|
|
13069
|
+
"name": "SlotController",
|
|
13070
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
13071
|
+
}
|
|
13072
|
+
},
|
|
12893
13073
|
{
|
|
12894
|
-
"
|
|
12895
|
-
"
|
|
12896
|
-
|
|
13074
|
+
"kind": "field",
|
|
13075
|
+
"name": "isEmpty",
|
|
13076
|
+
"inheritedFrom": {
|
|
13077
|
+
"name": "SlotController",
|
|
13078
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12897
13079
|
}
|
|
12898
13080
|
},
|
|
12899
13081
|
{
|
|
12900
|
-
"
|
|
12901
|
-
"
|
|
12902
|
-
|
|
13082
|
+
"kind": "field",
|
|
13083
|
+
"name": "content",
|
|
13084
|
+
"inheritedFrom": {
|
|
13085
|
+
"name": "SlotController",
|
|
13086
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12903
13087
|
}
|
|
12904
13088
|
},
|
|
12905
13089
|
{
|
|
12906
|
-
"
|
|
12907
|
-
"
|
|
12908
|
-
|
|
13090
|
+
"kind": "field",
|
|
13091
|
+
"name": "handleSlotChange",
|
|
13092
|
+
"privacy": "private",
|
|
13093
|
+
"inheritedFrom": {
|
|
13094
|
+
"name": "SlotController",
|
|
13095
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
12909
13096
|
}
|
|
12910
13097
|
}
|
|
12911
13098
|
],
|
|
12912
|
-
"
|
|
12913
|
-
"
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
13099
|
+
"superclass": {
|
|
13100
|
+
"name": "SlotController",
|
|
13101
|
+
"module": "/src/common/controllers/SlotController.js"
|
|
13102
|
+
},
|
|
13103
|
+
"status": null,
|
|
13104
|
+
"category": null,
|
|
13105
|
+
"displayName": null
|
|
12917
13106
|
}
|
|
12918
13107
|
],
|
|
12919
13108
|
"exports": [
|
|
12920
13109
|
{
|
|
12921
13110
|
"kind": "js",
|
|
12922
|
-
"name": "
|
|
12923
|
-
"declaration": {
|
|
12924
|
-
"name": "wrapIf",
|
|
12925
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
12926
|
-
}
|
|
12927
|
-
},
|
|
12928
|
-
{
|
|
12929
|
-
"kind": "js",
|
|
12930
|
-
"name": "wrapIf",
|
|
12931
|
-
"declaration": {
|
|
12932
|
-
"name": "wrapIf",
|
|
12933
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
12934
|
-
}
|
|
12935
|
-
},
|
|
12936
|
-
{
|
|
12937
|
-
"kind": "js",
|
|
12938
|
-
"name": "wrapIf",
|
|
12939
|
-
"declaration": {
|
|
12940
|
-
"name": "wrapIf",
|
|
12941
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
12942
|
-
}
|
|
12943
|
-
},
|
|
12944
|
-
{
|
|
12945
|
-
"kind": "js",
|
|
12946
|
-
"name": "wrapIf",
|
|
13111
|
+
"name": "LightSlotController",
|
|
12947
13112
|
"declaration": {
|
|
12948
|
-
"name": "
|
|
12949
|
-
"module": "src/common/
|
|
13113
|
+
"name": "LightSlotController",
|
|
13114
|
+
"module": "src/common/controllers/LightSlotController.ts"
|
|
12950
13115
|
}
|
|
12951
13116
|
}
|
|
12952
13117
|
]
|
|
12953
13118
|
},
|
|
12954
13119
|
{
|
|
12955
13120
|
"kind": "javascript-module",
|
|
12956
|
-
"path": "src/common/controllers/
|
|
13121
|
+
"path": "src/common/controllers/MediaQueryController.ts",
|
|
12957
13122
|
"declarations": [
|
|
12958
13123
|
{
|
|
12959
13124
|
"kind": "class",
|
|
12960
13125
|
"description": "",
|
|
12961
|
-
"name": "
|
|
13126
|
+
"name": "MediaQueryController",
|
|
12962
13127
|
"members": [
|
|
12963
13128
|
{
|
|
12964
13129
|
"kind": "field",
|
|
12965
|
-
"name": "
|
|
12966
|
-
"privacy": "private",
|
|
12967
|
-
"static": true,
|
|
12968
|
-
"default": "new Set<ReactiveControllerHost>()"
|
|
12969
|
-
},
|
|
12970
|
-
{
|
|
12971
|
-
"kind": "field",
|
|
12972
|
-
"name": "observer",
|
|
13130
|
+
"name": "mq",
|
|
12973
13131
|
"type": {
|
|
12974
|
-
"text": "
|
|
13132
|
+
"text": "MediaQueryList"
|
|
12975
13133
|
},
|
|
12976
|
-
"privacy": "private"
|
|
12977
|
-
"static": true
|
|
12978
|
-
},
|
|
12979
|
-
{
|
|
12980
|
-
"kind": "field",
|
|
12981
|
-
"name": "dir",
|
|
12982
|
-
"type": {
|
|
12983
|
-
"text": "WritingDirection"
|
|
12984
|
-
}
|
|
12985
|
-
},
|
|
12986
|
-
{
|
|
12987
|
-
"kind": "field",
|
|
12988
|
-
"name": "isLTR"
|
|
13134
|
+
"privacy": "private"
|
|
12989
13135
|
},
|
|
12990
13136
|
{
|
|
12991
13137
|
"kind": "field",
|
|
12992
|
-
"name": "
|
|
13138
|
+
"name": "matches"
|
|
12993
13139
|
},
|
|
12994
13140
|
{
|
|
12995
13141
|
"kind": "method",
|
|
@@ -13000,10 +13146,8 @@
|
|
|
13000
13146
|
"name": "hostDisconnected"
|
|
13001
13147
|
},
|
|
13002
13148
|
{
|
|
13003
|
-
"kind": "
|
|
13004
|
-
"name": "
|
|
13005
|
-
"privacy": "private",
|
|
13006
|
-
"static": true
|
|
13149
|
+
"kind": "field",
|
|
13150
|
+
"name": "handleChange"
|
|
13007
13151
|
}
|
|
13008
13152
|
]
|
|
13009
13153
|
}
|
|
@@ -13011,207 +13155,112 @@
|
|
|
13011
13155
|
"exports": [
|
|
13012
13156
|
{
|
|
13013
13157
|
"kind": "js",
|
|
13014
|
-
"name": "
|
|
13158
|
+
"name": "MediaQueryController",
|
|
13015
13159
|
"declaration": {
|
|
13016
|
-
"name": "
|
|
13017
|
-
"module": "src/common/controllers/
|
|
13160
|
+
"name": "MediaQueryController",
|
|
13161
|
+
"module": "src/common/controllers/MediaQueryController.ts"
|
|
13018
13162
|
}
|
|
13019
13163
|
}
|
|
13020
13164
|
]
|
|
13021
13165
|
},
|
|
13022
13166
|
{
|
|
13023
13167
|
"kind": "javascript-module",
|
|
13024
|
-
"path": "src/common/controllers/
|
|
13168
|
+
"path": "src/common/controllers/PortalController.ts",
|
|
13025
13169
|
"declarations": [
|
|
13026
13170
|
{
|
|
13027
13171
|
"kind": "class",
|
|
13028
13172
|
"description": "",
|
|
13029
|
-
"name": "
|
|
13173
|
+
"name": "PortalController",
|
|
13030
13174
|
"members": [
|
|
13031
13175
|
{
|
|
13032
13176
|
"kind": "field",
|
|
13033
|
-
"name": "
|
|
13177
|
+
"name": "renderHook",
|
|
13034
13178
|
"type": {
|
|
13035
|
-
"text": "
|
|
13179
|
+
"text": "Comment"
|
|
13036
13180
|
},
|
|
13037
|
-
"privacy": "private"
|
|
13038
|
-
"default": "[]"
|
|
13181
|
+
"privacy": "private"
|
|
13039
13182
|
},
|
|
13040
13183
|
{
|
|
13041
|
-
"kind": "
|
|
13042
|
-
"name": "
|
|
13184
|
+
"kind": "field",
|
|
13185
|
+
"name": "lightDom",
|
|
13186
|
+
"type": {
|
|
13187
|
+
"text": "LightDomController"
|
|
13188
|
+
},
|
|
13189
|
+
"privacy": "private",
|
|
13190
|
+
"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 })"
|
|
13043
13191
|
},
|
|
13044
13192
|
{
|
|
13045
13193
|
"kind": "method",
|
|
13046
|
-
"name": "
|
|
13047
|
-
"return": {
|
|
13048
|
-
"type": {
|
|
13049
|
-
"text": "void"
|
|
13050
|
-
}
|
|
13051
|
-
},
|
|
13052
|
-
"parameters": [
|
|
13053
|
-
{
|
|
13054
|
-
"name": "window",
|
|
13055
|
-
"type": {
|
|
13056
|
-
"text": "Window"
|
|
13057
|
-
}
|
|
13058
|
-
},
|
|
13059
|
-
{
|
|
13060
|
-
"name": "type",
|
|
13061
|
-
"type": {
|
|
13062
|
-
"text": "K"
|
|
13063
|
-
}
|
|
13064
|
-
},
|
|
13065
|
-
{
|
|
13066
|
-
"name": "listener",
|
|
13067
|
-
"type": {
|
|
13068
|
-
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
13069
|
-
}
|
|
13070
|
-
},
|
|
13071
|
-
{
|
|
13072
|
-
"name": "options",
|
|
13073
|
-
"optional": true,
|
|
13074
|
-
"type": {
|
|
13075
|
-
"text": "boolean | AddEventListenerOptions"
|
|
13076
|
-
}
|
|
13077
|
-
}
|
|
13078
|
-
]
|
|
13194
|
+
"name": "hostConnected"
|
|
13079
13195
|
},
|
|
13080
13196
|
{
|
|
13081
13197
|
"kind": "method",
|
|
13082
|
-
"name": "
|
|
13083
|
-
"return": {
|
|
13084
|
-
"type": {
|
|
13085
|
-
"text": "void"
|
|
13086
|
-
}
|
|
13087
|
-
},
|
|
13088
|
-
"parameters": [
|
|
13089
|
-
{
|
|
13090
|
-
"name": "document",
|
|
13091
|
-
"type": {
|
|
13092
|
-
"text": "Document"
|
|
13093
|
-
}
|
|
13094
|
-
},
|
|
13095
|
-
{
|
|
13096
|
-
"name": "type",
|
|
13097
|
-
"type": {
|
|
13098
|
-
"text": "K"
|
|
13099
|
-
}
|
|
13100
|
-
},
|
|
13101
|
-
{
|
|
13102
|
-
"name": "listener",
|
|
13103
|
-
"type": {
|
|
13104
|
-
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
13105
|
-
}
|
|
13106
|
-
},
|
|
13107
|
-
{
|
|
13108
|
-
"name": "options",
|
|
13109
|
-
"optional": true,
|
|
13110
|
-
"type": {
|
|
13111
|
-
"text": "boolean | AddEventListenerOptions"
|
|
13112
|
-
}
|
|
13113
|
-
}
|
|
13114
|
-
]
|
|
13198
|
+
"name": "hostUpdated"
|
|
13115
13199
|
},
|
|
13116
13200
|
{
|
|
13117
13201
|
"kind": "method",
|
|
13118
|
-
"name": "
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
}
|
|
13149
|
-
}
|
|
13150
|
-
]
|
|
13202
|
+
"name": "hostDisconnected"
|
|
13203
|
+
}
|
|
13204
|
+
]
|
|
13205
|
+
}
|
|
13206
|
+
],
|
|
13207
|
+
"exports": [
|
|
13208
|
+
{
|
|
13209
|
+
"kind": "js",
|
|
13210
|
+
"name": "PortalController",
|
|
13211
|
+
"declaration": {
|
|
13212
|
+
"name": "PortalController",
|
|
13213
|
+
"module": "src/common/controllers/PortalController.ts"
|
|
13214
|
+
}
|
|
13215
|
+
}
|
|
13216
|
+
]
|
|
13217
|
+
},
|
|
13218
|
+
{
|
|
13219
|
+
"kind": "javascript-module",
|
|
13220
|
+
"path": "src/common/controllers/ScrollbarController.ts",
|
|
13221
|
+
"declarations": [
|
|
13222
|
+
{
|
|
13223
|
+
"kind": "class",
|
|
13224
|
+
"description": "",
|
|
13225
|
+
"name": "ScrollbarController",
|
|
13226
|
+
"members": [
|
|
13227
|
+
{
|
|
13228
|
+
"kind": "field",
|
|
13229
|
+
"name": "resets",
|
|
13230
|
+
"privacy": "private",
|
|
13231
|
+
"default": "new Set<() => void>()"
|
|
13151
13232
|
},
|
|
13152
13233
|
{
|
|
13153
13234
|
"kind": "method",
|
|
13154
|
-
"name": "
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
},
|
|
13160
|
-
"parameters": [
|
|
13161
|
-
{
|
|
13162
|
-
"name": "element",
|
|
13163
|
-
"type": {
|
|
13164
|
-
"text": "ShadowRoot"
|
|
13165
|
-
}
|
|
13166
|
-
},
|
|
13167
|
-
{
|
|
13168
|
-
"name": "type",
|
|
13169
|
-
"type": {
|
|
13170
|
-
"text": "K"
|
|
13171
|
-
}
|
|
13172
|
-
},
|
|
13173
|
-
{
|
|
13174
|
-
"name": "listener",
|
|
13175
|
-
"type": {
|
|
13176
|
-
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
13177
|
-
}
|
|
13178
|
-
},
|
|
13179
|
-
{
|
|
13180
|
-
"name": "options",
|
|
13181
|
-
"optional": true,
|
|
13182
|
-
"type": {
|
|
13183
|
-
"text": "boolean | AddEventListenerOptions"
|
|
13184
|
-
}
|
|
13185
|
-
}
|
|
13186
|
-
]
|
|
13235
|
+
"name": "hostDisconnected"
|
|
13236
|
+
},
|
|
13237
|
+
{
|
|
13238
|
+
"kind": "field",
|
|
13239
|
+
"name": "width"
|
|
13187
13240
|
},
|
|
13188
13241
|
{
|
|
13189
13242
|
"kind": "method",
|
|
13190
|
-
"name": "
|
|
13243
|
+
"name": "hide"
|
|
13244
|
+
},
|
|
13245
|
+
{
|
|
13246
|
+
"kind": "method",
|
|
13247
|
+
"name": "restore"
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"kind": "method",
|
|
13251
|
+
"name": "setStyle",
|
|
13252
|
+
"privacy": "private",
|
|
13191
13253
|
"parameters": [
|
|
13192
13254
|
{
|
|
13193
|
-
"name": "
|
|
13194
|
-
"type": {
|
|
13195
|
-
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
13196
|
-
}
|
|
13197
|
-
},
|
|
13198
|
-
{
|
|
13199
|
-
"name": "type",
|
|
13255
|
+
"name": "property",
|
|
13200
13256
|
"type": {
|
|
13201
13257
|
"text": "string"
|
|
13202
13258
|
}
|
|
13203
13259
|
},
|
|
13204
13260
|
{
|
|
13205
|
-
"name": "
|
|
13206
|
-
"type": {
|
|
13207
|
-
"text": "(ev: any) => any"
|
|
13208
|
-
}
|
|
13209
|
-
},
|
|
13210
|
-
{
|
|
13211
|
-
"name": "options",
|
|
13212
|
-
"optional": true,
|
|
13261
|
+
"name": "value",
|
|
13213
13262
|
"type": {
|
|
13214
|
-
"text": "
|
|
13263
|
+
"text": "string"
|
|
13215
13264
|
}
|
|
13216
13265
|
}
|
|
13217
13266
|
]
|
|
@@ -13222,71 +13271,54 @@
|
|
|
13222
13271
|
"exports": [
|
|
13223
13272
|
{
|
|
13224
13273
|
"kind": "js",
|
|
13225
|
-
"name": "
|
|
13274
|
+
"name": "ScrollbarController",
|
|
13226
13275
|
"declaration": {
|
|
13227
|
-
"name": "
|
|
13228
|
-
"module": "src/common/controllers/
|
|
13276
|
+
"name": "ScrollbarController",
|
|
13277
|
+
"module": "src/common/controllers/ScrollbarController.ts"
|
|
13229
13278
|
}
|
|
13230
13279
|
}
|
|
13231
13280
|
]
|
|
13232
13281
|
},
|
|
13233
13282
|
{
|
|
13234
13283
|
"kind": "javascript-module",
|
|
13235
|
-
"path": "src/common/controllers/
|
|
13284
|
+
"path": "src/common/controllers/ShortcutController.ts",
|
|
13236
13285
|
"declarations": [
|
|
13237
13286
|
{
|
|
13238
13287
|
"kind": "class",
|
|
13239
13288
|
"description": "",
|
|
13240
|
-
"name": "
|
|
13289
|
+
"name": "ShortcutController",
|
|
13241
13290
|
"members": [
|
|
13242
13291
|
{
|
|
13243
13292
|
"kind": "field",
|
|
13244
|
-
"name": "
|
|
13245
|
-
"type": {
|
|
13246
|
-
"text": "number"
|
|
13247
|
-
},
|
|
13248
|
-
"privacy": "private",
|
|
13249
|
-
"default": "0"
|
|
13250
|
-
},
|
|
13251
|
-
{
|
|
13252
|
-
"kind": "field",
|
|
13253
|
-
"name": "lastFocused",
|
|
13293
|
+
"name": "unregister",
|
|
13254
13294
|
"type": {
|
|
13255
|
-
"text": "
|
|
13295
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
13256
13296
|
},
|
|
13257
13297
|
"privacy": "private"
|
|
13258
13298
|
},
|
|
13259
13299
|
{
|
|
13260
13300
|
"kind": "method",
|
|
13261
|
-
"name": "
|
|
13301
|
+
"name": "hostConnected"
|
|
13262
13302
|
},
|
|
13263
13303
|
{
|
|
13264
13304
|
"kind": "method",
|
|
13265
|
-
"name": "
|
|
13305
|
+
"name": "hostDisconnected"
|
|
13266
13306
|
},
|
|
13267
13307
|
{
|
|
13268
13308
|
"kind": "method",
|
|
13269
|
-
"name": "
|
|
13270
|
-
},
|
|
13271
|
-
{
|
|
13272
|
-
"kind": "field",
|
|
13273
|
-
"name": "handleFocusOut",
|
|
13274
|
-
"privacy": "private"
|
|
13275
|
-
},
|
|
13276
|
-
{
|
|
13277
|
-
"kind": "field",
|
|
13278
|
-
"name": "handleFocusIn",
|
|
13279
|
-
"privacy": "private"
|
|
13309
|
+
"name": "unbind"
|
|
13280
13310
|
},
|
|
13281
13311
|
{
|
|
13282
13312
|
"kind": "method",
|
|
13283
|
-
"name": "
|
|
13284
|
-
"
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13313
|
+
"name": "bind",
|
|
13314
|
+
"parameters": [
|
|
13315
|
+
{
|
|
13316
|
+
"name": "shortcuts",
|
|
13317
|
+
"type": {
|
|
13318
|
+
"text": "KeyBindingMap"
|
|
13319
|
+
}
|
|
13320
|
+
}
|
|
13321
|
+
]
|
|
13290
13322
|
}
|
|
13291
13323
|
]
|
|
13292
13324
|
}
|
|
@@ -13294,22 +13326,30 @@
|
|
|
13294
13326
|
"exports": [
|
|
13295
13327
|
{
|
|
13296
13328
|
"kind": "js",
|
|
13297
|
-
"name": "
|
|
13329
|
+
"name": "ShortcutController",
|
|
13298
13330
|
"declaration": {
|
|
13299
|
-
"name": "
|
|
13300
|
-
"module": "src/common/controllers/
|
|
13331
|
+
"name": "ShortcutController",
|
|
13332
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
13333
|
+
}
|
|
13334
|
+
},
|
|
13335
|
+
{
|
|
13336
|
+
"kind": "js",
|
|
13337
|
+
"name": "ShortcutMap",
|
|
13338
|
+
"declaration": {
|
|
13339
|
+
"name": "KeyBindingMap",
|
|
13340
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
13301
13341
|
}
|
|
13302
13342
|
}
|
|
13303
13343
|
]
|
|
13304
13344
|
},
|
|
13305
13345
|
{
|
|
13306
13346
|
"kind": "javascript-module",
|
|
13307
|
-
"path": "src/common/controllers/
|
|
13347
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
13308
13348
|
"declarations": [
|
|
13309
13349
|
{
|
|
13310
13350
|
"kind": "class",
|
|
13311
13351
|
"description": "",
|
|
13312
|
-
"name": "
|
|
13352
|
+
"name": "SlotController",
|
|
13313
13353
|
"members": [
|
|
13314
13354
|
{
|
|
13315
13355
|
"kind": "field",
|
|
@@ -13326,8 +13366,33 @@
|
|
|
13326
13366
|
},
|
|
13327
13367
|
{
|
|
13328
13368
|
"kind": "field",
|
|
13329
|
-
"name": "
|
|
13369
|
+
"name": "hasContent"
|
|
13370
|
+
},
|
|
13371
|
+
{
|
|
13372
|
+
"kind": "field",
|
|
13373
|
+
"name": "isEmpty"
|
|
13374
|
+
},
|
|
13375
|
+
{
|
|
13376
|
+
"kind": "field",
|
|
13377
|
+
"name": "content"
|
|
13378
|
+
},
|
|
13379
|
+
{
|
|
13380
|
+
"kind": "field",
|
|
13381
|
+
"name": "handleSlotChange",
|
|
13330
13382
|
"privacy": "private"
|
|
13383
|
+
},
|
|
13384
|
+
{
|
|
13385
|
+
"kind": "method",
|
|
13386
|
+
"name": "onChange",
|
|
13387
|
+
"privacy": "protected",
|
|
13388
|
+
"parameters": [
|
|
13389
|
+
{
|
|
13390
|
+
"name": "_e",
|
|
13391
|
+
"type": {
|
|
13392
|
+
"text": "Event"
|
|
13393
|
+
}
|
|
13394
|
+
}
|
|
13395
|
+
]
|
|
13331
13396
|
}
|
|
13332
13397
|
]
|
|
13333
13398
|
}
|
|
@@ -13335,54 +13400,109 @@
|
|
|
13335
13400
|
"exports": [
|
|
13336
13401
|
{
|
|
13337
13402
|
"kind": "js",
|
|
13338
|
-
"name": "
|
|
13403
|
+
"name": "SlotController",
|
|
13339
13404
|
"declaration": {
|
|
13340
|
-
"name": "
|
|
13341
|
-
"module": "src/common/controllers/
|
|
13405
|
+
"name": "SlotController",
|
|
13406
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
13342
13407
|
}
|
|
13343
13408
|
}
|
|
13344
13409
|
]
|
|
13345
13410
|
},
|
|
13346
13411
|
{
|
|
13347
13412
|
"kind": "javascript-module",
|
|
13348
|
-
"path": "src/common/controllers/
|
|
13413
|
+
"path": "src/common/controllers/SwipeController.ts",
|
|
13349
13414
|
"declarations": [
|
|
13350
13415
|
{
|
|
13351
13416
|
"kind": "class",
|
|
13352
13417
|
"description": "",
|
|
13353
|
-
"name": "
|
|
13418
|
+
"name": "SwipeController",
|
|
13354
13419
|
"members": [
|
|
13355
13420
|
{
|
|
13356
13421
|
"kind": "field",
|
|
13357
|
-
"name": "
|
|
13422
|
+
"name": "events",
|
|
13358
13423
|
"type": {
|
|
13359
|
-
"text": "
|
|
13424
|
+
"text": "EventController"
|
|
13360
13425
|
},
|
|
13361
13426
|
"privacy": "private",
|
|
13362
|
-
"default": "new
|
|
13427
|
+
"default": "new EventController(host)"
|
|
13363
13428
|
},
|
|
13364
13429
|
{
|
|
13365
13430
|
"kind": "field",
|
|
13366
|
-
"name": "
|
|
13431
|
+
"name": "hadFirstUpdate",
|
|
13367
13432
|
"type": {
|
|
13368
|
-
"text": "
|
|
13433
|
+
"text": "boolean"
|
|
13369
13434
|
},
|
|
13370
13435
|
"privacy": "private",
|
|
13371
|
-
"default": "
|
|
13436
|
+
"default": "false"
|
|
13437
|
+
},
|
|
13438
|
+
{
|
|
13439
|
+
"kind": "field",
|
|
13440
|
+
"name": "initialTouchX",
|
|
13441
|
+
"type": {
|
|
13442
|
+
"text": "number"
|
|
13443
|
+
},
|
|
13444
|
+
"privacy": "private",
|
|
13445
|
+
"default": "0"
|
|
13446
|
+
},
|
|
13447
|
+
{
|
|
13448
|
+
"kind": "field",
|
|
13449
|
+
"name": "initialTouchY",
|
|
13450
|
+
"type": {
|
|
13451
|
+
"text": "number"
|
|
13452
|
+
},
|
|
13453
|
+
"privacy": "private",
|
|
13454
|
+
"default": "0"
|
|
13455
|
+
},
|
|
13456
|
+
{
|
|
13457
|
+
"kind": "field",
|
|
13458
|
+
"name": "options",
|
|
13459
|
+
"type": {
|
|
13460
|
+
"text": "SetRequired<SwipeControllerOptions, \"target\">"
|
|
13461
|
+
},
|
|
13462
|
+
"privacy": "private",
|
|
13463
|
+
"default": "{\n target: () => host,\n ...options,\n }"
|
|
13372
13464
|
},
|
|
13373
13465
|
{
|
|
13374
13466
|
"kind": "method",
|
|
13375
|
-
"name": "
|
|
13467
|
+
"name": "hostUpdated"
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
"kind": "method",
|
|
13471
|
+
"name": "hostDisconnected"
|
|
13376
13472
|
},
|
|
13377
13473
|
{
|
|
13378
13474
|
"kind": "field",
|
|
13379
|
-
"name": "
|
|
13475
|
+
"name": "handleTouchStart",
|
|
13380
13476
|
"privacy": "private"
|
|
13381
13477
|
},
|
|
13382
13478
|
{
|
|
13383
|
-
"kind": "field",
|
|
13384
|
-
"name": "
|
|
13385
|
-
"privacy": "private"
|
|
13479
|
+
"kind": "field",
|
|
13480
|
+
"name": "handleTouchEnd",
|
|
13481
|
+
"privacy": "private"
|
|
13482
|
+
}
|
|
13483
|
+
]
|
|
13484
|
+
},
|
|
13485
|
+
{
|
|
13486
|
+
"kind": "function",
|
|
13487
|
+
"name": "isHorizontalSwipe",
|
|
13488
|
+
"parameters": [
|
|
13489
|
+
{
|
|
13490
|
+
"name": "{ distX, distY }",
|
|
13491
|
+
"type": {
|
|
13492
|
+
"text": "SwipeDetails"
|
|
13493
|
+
}
|
|
13494
|
+
}
|
|
13495
|
+
]
|
|
13496
|
+
},
|
|
13497
|
+
{
|
|
13498
|
+
"kind": "function",
|
|
13499
|
+
"name": "isDownwardsSwipe",
|
|
13500
|
+
"parameters": [
|
|
13501
|
+
{
|
|
13502
|
+
"name": "{ distX, distY }",
|
|
13503
|
+
"type": {
|
|
13504
|
+
"text": "SwipeDetails"
|
|
13505
|
+
}
|
|
13386
13506
|
}
|
|
13387
13507
|
]
|
|
13388
13508
|
}
|
|
@@ -13390,38 +13510,50 @@
|
|
|
13390
13510
|
"exports": [
|
|
13391
13511
|
{
|
|
13392
13512
|
"kind": "js",
|
|
13393
|
-
"name": "
|
|
13513
|
+
"name": "SwipeController",
|
|
13394
13514
|
"declaration": {
|
|
13395
|
-
"name": "
|
|
13396
|
-
"module": "src/common/controllers/
|
|
13515
|
+
"name": "SwipeController",
|
|
13516
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
13517
|
+
}
|
|
13518
|
+
},
|
|
13519
|
+
{
|
|
13520
|
+
"kind": "js",
|
|
13521
|
+
"name": "isHorizontalSwipe",
|
|
13522
|
+
"declaration": {
|
|
13523
|
+
"name": "isHorizontalSwipe",
|
|
13524
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
13525
|
+
}
|
|
13526
|
+
},
|
|
13527
|
+
{
|
|
13528
|
+
"kind": "js",
|
|
13529
|
+
"name": "isDownwardsSwipe",
|
|
13530
|
+
"declaration": {
|
|
13531
|
+
"name": "isDownwardsSwipe",
|
|
13532
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
13397
13533
|
}
|
|
13398
13534
|
}
|
|
13399
13535
|
]
|
|
13400
13536
|
},
|
|
13401
13537
|
{
|
|
13402
13538
|
"kind": "javascript-module",
|
|
13403
|
-
"path": "src/common/
|
|
13539
|
+
"path": "src/common/decorators/observe.ts",
|
|
13404
13540
|
"declarations": [
|
|
13405
13541
|
{
|
|
13406
|
-
"kind": "
|
|
13407
|
-
"
|
|
13408
|
-
"
|
|
13409
|
-
"members": [
|
|
13542
|
+
"kind": "function",
|
|
13543
|
+
"name": "observe",
|
|
13544
|
+
"parameters": [
|
|
13410
13545
|
{
|
|
13411
|
-
"
|
|
13412
|
-
"name": "container",
|
|
13546
|
+
"name": "propertyName",
|
|
13413
13547
|
"type": {
|
|
13414
|
-
"text": "
|
|
13415
|
-
}
|
|
13416
|
-
"privacy": "private"
|
|
13417
|
-
},
|
|
13418
|
-
{
|
|
13419
|
-
"kind": "method",
|
|
13420
|
-
"name": "hostUpdated"
|
|
13548
|
+
"text": "string"
|
|
13549
|
+
}
|
|
13421
13550
|
},
|
|
13422
13551
|
{
|
|
13423
|
-
"
|
|
13424
|
-
"
|
|
13552
|
+
"name": "lifecycle",
|
|
13553
|
+
"default": "\"update\"",
|
|
13554
|
+
"type": {
|
|
13555
|
+
"text": "ObserveLifecycle"
|
|
13556
|
+
}
|
|
13425
13557
|
}
|
|
13426
13558
|
]
|
|
13427
13559
|
}
|
|
@@ -13429,225 +13561,221 @@
|
|
|
13429
13561
|
"exports": [
|
|
13430
13562
|
{
|
|
13431
13563
|
"kind": "js",
|
|
13432
|
-
"name": "
|
|
13564
|
+
"name": "observe",
|
|
13433
13565
|
"declaration": {
|
|
13434
|
-
"name": "
|
|
13435
|
-
"module": "src/common/
|
|
13566
|
+
"name": "observe",
|
|
13567
|
+
"module": "src/common/decorators/observe.ts"
|
|
13436
13568
|
}
|
|
13437
13569
|
}
|
|
13438
13570
|
]
|
|
13439
13571
|
},
|
|
13440
13572
|
{
|
|
13441
13573
|
"kind": "javascript-module",
|
|
13442
|
-
"path": "src/common/
|
|
13574
|
+
"path": "src/common/directives/cond.ts",
|
|
13443
13575
|
"declarations": [
|
|
13444
13576
|
{
|
|
13445
|
-
"kind": "
|
|
13446
|
-
"
|
|
13447
|
-
"
|
|
13448
|
-
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
"text": "Comment"
|
|
13454
|
-
},
|
|
13455
|
-
"privacy": "private"
|
|
13456
|
-
},
|
|
13577
|
+
"kind": "function",
|
|
13578
|
+
"name": "cond",
|
|
13579
|
+
"return": {
|
|
13580
|
+
"type": {
|
|
13581
|
+
"text": "typeof value | typeof nothing"
|
|
13582
|
+
}
|
|
13583
|
+
},
|
|
13584
|
+
"parameters": [
|
|
13457
13585
|
{
|
|
13458
|
-
"
|
|
13459
|
-
"name": "lightDom",
|
|
13586
|
+
"name": "value",
|
|
13460
13587
|
"type": {
|
|
13461
|
-
"text": "
|
|
13462
|
-
},
|
|
13463
|
-
"privacy": "private",
|
|
13464
|
-
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
13465
|
-
},
|
|
13466
|
-
{
|
|
13467
|
-
"kind": "method",
|
|
13468
|
-
"name": "hostConnected",
|
|
13469
|
-
"inheritedFrom": {
|
|
13470
|
-
"name": "SlotController",
|
|
13471
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13588
|
+
"text": "any"
|
|
13472
13589
|
}
|
|
13473
|
-
}
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
13477
|
-
|
|
13590
|
+
}
|
|
13591
|
+
],
|
|
13592
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
13593
|
+
},
|
|
13594
|
+
{
|
|
13595
|
+
"kind": "function",
|
|
13596
|
+
"name": "cond",
|
|
13597
|
+
"return": {
|
|
13598
|
+
"type": {
|
|
13599
|
+
"text": "typeof trueCase | typeof nothing"
|
|
13600
|
+
}
|
|
13601
|
+
},
|
|
13602
|
+
"parameters": [
|
|
13478
13603
|
{
|
|
13479
|
-
"
|
|
13480
|
-
"
|
|
13481
|
-
|
|
13482
|
-
"parameters": [
|
|
13483
|
-
{
|
|
13484
|
-
"name": "_e",
|
|
13485
|
-
"type": {
|
|
13486
|
-
"text": "Event"
|
|
13487
|
-
}
|
|
13488
|
-
}
|
|
13489
|
-
],
|
|
13490
|
-
"inheritedFrom": {
|
|
13491
|
-
"name": "SlotController",
|
|
13492
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13604
|
+
"name": "condition",
|
|
13605
|
+
"type": {
|
|
13606
|
+
"text": "unknown"
|
|
13493
13607
|
}
|
|
13494
13608
|
},
|
|
13495
13609
|
{
|
|
13496
|
-
"
|
|
13497
|
-
"name": "syncLightDom",
|
|
13498
|
-
"privacy": "private"
|
|
13499
|
-
},
|
|
13500
|
-
{
|
|
13501
|
-
"kind": "field",
|
|
13502
|
-
"name": "events",
|
|
13610
|
+
"name": "trueCase",
|
|
13503
13611
|
"type": {
|
|
13504
|
-
"text": "
|
|
13505
|
-
},
|
|
13506
|
-
"privacy": "private",
|
|
13507
|
-
"default": "new EventController(host)",
|
|
13508
|
-
"inheritedFrom": {
|
|
13509
|
-
"name": "SlotController",
|
|
13510
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13612
|
+
"text": "any"
|
|
13511
13613
|
}
|
|
13512
|
-
}
|
|
13614
|
+
}
|
|
13615
|
+
],
|
|
13616
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
13617
|
+
},
|
|
13618
|
+
{
|
|
13619
|
+
"kind": "function",
|
|
13620
|
+
"name": "cond",
|
|
13621
|
+
"return": {
|
|
13622
|
+
"type": {
|
|
13623
|
+
"text": "typeof trueCase"
|
|
13624
|
+
}
|
|
13625
|
+
},
|
|
13626
|
+
"parameters": [
|
|
13513
13627
|
{
|
|
13514
|
-
"
|
|
13515
|
-
"
|
|
13516
|
-
|
|
13517
|
-
"name": "SlotController",
|
|
13518
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13628
|
+
"name": "condition",
|
|
13629
|
+
"type": {
|
|
13630
|
+
"text": "true"
|
|
13519
13631
|
}
|
|
13520
13632
|
},
|
|
13521
13633
|
{
|
|
13522
|
-
"
|
|
13523
|
-
"
|
|
13524
|
-
|
|
13525
|
-
"name": "SlotController",
|
|
13526
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13634
|
+
"name": "trueCase",
|
|
13635
|
+
"type": {
|
|
13636
|
+
"text": "any"
|
|
13527
13637
|
}
|
|
13528
|
-
}
|
|
13638
|
+
}
|
|
13639
|
+
],
|
|
13640
|
+
"description": "condition is true, so always return trueCase"
|
|
13641
|
+
},
|
|
13642
|
+
{
|
|
13643
|
+
"kind": "function",
|
|
13644
|
+
"name": "cond",
|
|
13645
|
+
"return": {
|
|
13646
|
+
"type": {
|
|
13647
|
+
"text": "typeof nothing"
|
|
13648
|
+
}
|
|
13649
|
+
},
|
|
13650
|
+
"parameters": [
|
|
13529
13651
|
{
|
|
13530
|
-
"
|
|
13531
|
-
"
|
|
13532
|
-
|
|
13533
|
-
"name": "SlotController",
|
|
13534
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13652
|
+
"name": "condition",
|
|
13653
|
+
"type": {
|
|
13654
|
+
"text": "false"
|
|
13535
13655
|
}
|
|
13536
13656
|
},
|
|
13537
13657
|
{
|
|
13538
|
-
"
|
|
13539
|
-
"
|
|
13540
|
-
|
|
13541
|
-
"inheritedFrom": {
|
|
13542
|
-
"name": "SlotController",
|
|
13543
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
13658
|
+
"name": "trueCase",
|
|
13659
|
+
"type": {
|
|
13660
|
+
"text": "any"
|
|
13544
13661
|
}
|
|
13545
13662
|
}
|
|
13546
13663
|
],
|
|
13547
|
-
"
|
|
13548
|
-
|
|
13549
|
-
"module": "/src/common/controllers/SlotController.js"
|
|
13550
|
-
},
|
|
13551
|
-
"status": null,
|
|
13552
|
-
"category": null,
|
|
13553
|
-
"displayName": null
|
|
13554
|
-
}
|
|
13555
|
-
],
|
|
13556
|
-
"exports": [
|
|
13557
|
-
{
|
|
13558
|
-
"kind": "js",
|
|
13559
|
-
"name": "LightSlotController",
|
|
13560
|
-
"declaration": {
|
|
13561
|
-
"name": "LightSlotController",
|
|
13562
|
-
"module": "src/common/controllers/LightSlotController.ts"
|
|
13563
|
-
}
|
|
13564
|
-
}
|
|
13565
|
-
]
|
|
13566
|
-
},
|
|
13567
|
-
{
|
|
13568
|
-
"kind": "javascript-module",
|
|
13569
|
-
"path": "src/common/controllers/MediaQueryController.ts",
|
|
13570
|
-
"declarations": [
|
|
13664
|
+
"description": "condition is false, to will always return nothing"
|
|
13665
|
+
},
|
|
13571
13666
|
{
|
|
13572
|
-
"kind": "
|
|
13573
|
-
"
|
|
13574
|
-
"
|
|
13575
|
-
|
|
13667
|
+
"kind": "function",
|
|
13668
|
+
"name": "cond",
|
|
13669
|
+
"return": {
|
|
13670
|
+
"type": {
|
|
13671
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
13672
|
+
}
|
|
13673
|
+
},
|
|
13674
|
+
"parameters": [
|
|
13576
13675
|
{
|
|
13577
|
-
"
|
|
13578
|
-
"name": "mq",
|
|
13676
|
+
"name": "condition",
|
|
13579
13677
|
"type": {
|
|
13580
|
-
"text": "
|
|
13581
|
-
}
|
|
13582
|
-
"privacy": "private"
|
|
13678
|
+
"text": "unknown"
|
|
13679
|
+
}
|
|
13583
13680
|
},
|
|
13584
13681
|
{
|
|
13585
|
-
"
|
|
13586
|
-
"
|
|
13682
|
+
"name": "trueCase",
|
|
13683
|
+
"type": {
|
|
13684
|
+
"text": "any"
|
|
13685
|
+
}
|
|
13587
13686
|
},
|
|
13588
13687
|
{
|
|
13589
|
-
"
|
|
13590
|
-
"
|
|
13688
|
+
"name": "falseCase",
|
|
13689
|
+
"type": {
|
|
13690
|
+
"text": "any"
|
|
13691
|
+
}
|
|
13692
|
+
}
|
|
13693
|
+
],
|
|
13694
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
13695
|
+
},
|
|
13696
|
+
{
|
|
13697
|
+
"kind": "function",
|
|
13698
|
+
"name": "cond",
|
|
13699
|
+
"return": {
|
|
13700
|
+
"type": {
|
|
13701
|
+
"text": "typeof trueCase"
|
|
13702
|
+
}
|
|
13703
|
+
},
|
|
13704
|
+
"parameters": [
|
|
13705
|
+
{
|
|
13706
|
+
"name": "condition",
|
|
13707
|
+
"type": {
|
|
13708
|
+
"text": "true"
|
|
13709
|
+
}
|
|
13591
13710
|
},
|
|
13592
13711
|
{
|
|
13593
|
-
"
|
|
13594
|
-
"
|
|
13712
|
+
"name": "trueCase",
|
|
13713
|
+
"type": {
|
|
13714
|
+
"text": "any"
|
|
13715
|
+
}
|
|
13595
13716
|
},
|
|
13596
13717
|
{
|
|
13597
|
-
"
|
|
13598
|
-
"
|
|
13718
|
+
"name": "falseCase",
|
|
13719
|
+
"type": {
|
|
13720
|
+
"text": "any"
|
|
13721
|
+
}
|
|
13599
13722
|
}
|
|
13600
|
-
]
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
"exports": [
|
|
13604
|
-
{
|
|
13605
|
-
"kind": "js",
|
|
13606
|
-
"name": "MediaQueryController",
|
|
13607
|
-
"declaration": {
|
|
13608
|
-
"name": "MediaQueryController",
|
|
13609
|
-
"module": "src/common/controllers/MediaQueryController.ts"
|
|
13610
|
-
}
|
|
13611
|
-
}
|
|
13612
|
-
]
|
|
13613
|
-
},
|
|
13614
|
-
{
|
|
13615
|
-
"kind": "javascript-module",
|
|
13616
|
-
"path": "src/common/controllers/PortalController.ts",
|
|
13617
|
-
"declarations": [
|
|
13723
|
+
],
|
|
13724
|
+
"description": "condition is true, so always return trueCase"
|
|
13725
|
+
},
|
|
13618
13726
|
{
|
|
13619
|
-
"kind": "
|
|
13620
|
-
"
|
|
13621
|
-
"
|
|
13622
|
-
|
|
13727
|
+
"kind": "function",
|
|
13728
|
+
"name": "cond",
|
|
13729
|
+
"return": {
|
|
13730
|
+
"type": {
|
|
13731
|
+
"text": "typeof falseCase"
|
|
13732
|
+
}
|
|
13733
|
+
},
|
|
13734
|
+
"parameters": [
|
|
13623
13735
|
{
|
|
13624
|
-
"
|
|
13625
|
-
"name": "renderHook",
|
|
13736
|
+
"name": "condition",
|
|
13626
13737
|
"type": {
|
|
13627
|
-
"text": "
|
|
13628
|
-
}
|
|
13629
|
-
"privacy": "private"
|
|
13738
|
+
"text": "false"
|
|
13739
|
+
}
|
|
13630
13740
|
},
|
|
13631
13741
|
{
|
|
13632
|
-
"
|
|
13633
|
-
"name": "lightDom",
|
|
13742
|
+
"name": "trueCase",
|
|
13634
13743
|
"type": {
|
|
13635
|
-
"text": "
|
|
13636
|
-
}
|
|
13637
|
-
"privacy": "private",
|
|
13638
|
-
"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 })"
|
|
13744
|
+
"text": "any"
|
|
13745
|
+
}
|
|
13639
13746
|
},
|
|
13640
13747
|
{
|
|
13641
|
-
"
|
|
13642
|
-
"
|
|
13748
|
+
"name": "falseCase",
|
|
13749
|
+
"type": {
|
|
13750
|
+
"text": "any"
|
|
13751
|
+
}
|
|
13752
|
+
}
|
|
13753
|
+
],
|
|
13754
|
+
"description": "condition is false, so always return falseCase"
|
|
13755
|
+
},
|
|
13756
|
+
{
|
|
13757
|
+
"kind": "function",
|
|
13758
|
+
"name": "cond",
|
|
13759
|
+
"parameters": [
|
|
13760
|
+
{
|
|
13761
|
+
"name": "condition",
|
|
13762
|
+
"type": {
|
|
13763
|
+
"text": "unknown"
|
|
13764
|
+
}
|
|
13643
13765
|
},
|
|
13644
13766
|
{
|
|
13645
|
-
"
|
|
13646
|
-
"
|
|
13767
|
+
"name": "trueCase",
|
|
13768
|
+
"default": "condition",
|
|
13769
|
+
"type": {
|
|
13770
|
+
"text": "any"
|
|
13771
|
+
}
|
|
13647
13772
|
},
|
|
13648
13773
|
{
|
|
13649
|
-
"
|
|
13650
|
-
"
|
|
13774
|
+
"name": "falseCase",
|
|
13775
|
+
"default": "nothing",
|
|
13776
|
+
"type": {
|
|
13777
|
+
"text": "any"
|
|
13778
|
+
}
|
|
13651
13779
|
}
|
|
13652
13780
|
]
|
|
13653
13781
|
}
|
|
@@ -13655,329 +13783,222 @@
|
|
|
13655
13783
|
"exports": [
|
|
13656
13784
|
{
|
|
13657
13785
|
"kind": "js",
|
|
13658
|
-
"name": "
|
|
13786
|
+
"name": "cond",
|
|
13659
13787
|
"declaration": {
|
|
13660
|
-
"name": "
|
|
13661
|
-
"module": "src/common/
|
|
13788
|
+
"name": "cond",
|
|
13789
|
+
"module": "src/common/directives/cond.ts"
|
|
13662
13790
|
}
|
|
13663
|
-
}
|
|
13664
|
-
]
|
|
13665
|
-
},
|
|
13666
|
-
{
|
|
13667
|
-
"kind": "javascript-module",
|
|
13668
|
-
"path": "src/common/controllers/ScrollbarController.ts",
|
|
13669
|
-
"declarations": [
|
|
13791
|
+
},
|
|
13670
13792
|
{
|
|
13671
|
-
"kind": "
|
|
13672
|
-
"
|
|
13673
|
-
"
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
"privacy": "private",
|
|
13679
|
-
"default": "new Set<() => void>()"
|
|
13680
|
-
},
|
|
13681
|
-
{
|
|
13682
|
-
"kind": "method",
|
|
13683
|
-
"name": "hostDisconnected"
|
|
13684
|
-
},
|
|
13685
|
-
{
|
|
13686
|
-
"kind": "field",
|
|
13687
|
-
"name": "width"
|
|
13688
|
-
},
|
|
13689
|
-
{
|
|
13690
|
-
"kind": "method",
|
|
13691
|
-
"name": "hide"
|
|
13692
|
-
},
|
|
13693
|
-
{
|
|
13694
|
-
"kind": "method",
|
|
13695
|
-
"name": "restore"
|
|
13696
|
-
},
|
|
13697
|
-
{
|
|
13698
|
-
"kind": "method",
|
|
13699
|
-
"name": "setStyle",
|
|
13700
|
-
"privacy": "private",
|
|
13701
|
-
"parameters": [
|
|
13702
|
-
{
|
|
13703
|
-
"name": "property",
|
|
13704
|
-
"type": {
|
|
13705
|
-
"text": "string"
|
|
13706
|
-
}
|
|
13707
|
-
},
|
|
13708
|
-
{
|
|
13709
|
-
"name": "value",
|
|
13710
|
-
"type": {
|
|
13711
|
-
"text": "string"
|
|
13712
|
-
}
|
|
13713
|
-
}
|
|
13714
|
-
]
|
|
13715
|
-
}
|
|
13716
|
-
]
|
|
13717
|
-
}
|
|
13718
|
-
],
|
|
13719
|
-
"exports": [
|
|
13793
|
+
"kind": "js",
|
|
13794
|
+
"name": "cond",
|
|
13795
|
+
"declaration": {
|
|
13796
|
+
"name": "cond",
|
|
13797
|
+
"module": "src/common/directives/cond.ts"
|
|
13798
|
+
}
|
|
13799
|
+
},
|
|
13720
13800
|
{
|
|
13721
13801
|
"kind": "js",
|
|
13722
|
-
"name": "
|
|
13802
|
+
"name": "cond",
|
|
13723
13803
|
"declaration": {
|
|
13724
|
-
"name": "
|
|
13725
|
-
"module": "src/common/
|
|
13804
|
+
"name": "cond",
|
|
13805
|
+
"module": "src/common/directives/cond.ts"
|
|
13726
13806
|
}
|
|
13727
|
-
}
|
|
13728
|
-
]
|
|
13729
|
-
},
|
|
13730
|
-
{
|
|
13731
|
-
"kind": "javascript-module",
|
|
13732
|
-
"path": "src/common/controllers/ShortcutController.ts",
|
|
13733
|
-
"declarations": [
|
|
13807
|
+
},
|
|
13734
13808
|
{
|
|
13735
|
-
"kind": "
|
|
13736
|
-
"
|
|
13737
|
-
"
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
"type": {
|
|
13743
|
-
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
13744
|
-
},
|
|
13745
|
-
"privacy": "private"
|
|
13746
|
-
},
|
|
13747
|
-
{
|
|
13748
|
-
"kind": "method",
|
|
13749
|
-
"name": "hostConnected"
|
|
13750
|
-
},
|
|
13751
|
-
{
|
|
13752
|
-
"kind": "method",
|
|
13753
|
-
"name": "hostDisconnected"
|
|
13754
|
-
},
|
|
13755
|
-
{
|
|
13756
|
-
"kind": "method",
|
|
13757
|
-
"name": "unbind"
|
|
13758
|
-
},
|
|
13759
|
-
{
|
|
13760
|
-
"kind": "method",
|
|
13761
|
-
"name": "bind",
|
|
13762
|
-
"parameters": [
|
|
13763
|
-
{
|
|
13764
|
-
"name": "shortcuts",
|
|
13765
|
-
"type": {
|
|
13766
|
-
"text": "KeyBindingMap"
|
|
13767
|
-
}
|
|
13768
|
-
}
|
|
13769
|
-
]
|
|
13770
|
-
}
|
|
13771
|
-
]
|
|
13772
|
-
}
|
|
13773
|
-
],
|
|
13774
|
-
"exports": [
|
|
13809
|
+
"kind": "js",
|
|
13810
|
+
"name": "cond",
|
|
13811
|
+
"declaration": {
|
|
13812
|
+
"name": "cond",
|
|
13813
|
+
"module": "src/common/directives/cond.ts"
|
|
13814
|
+
}
|
|
13815
|
+
},
|
|
13775
13816
|
{
|
|
13776
13817
|
"kind": "js",
|
|
13777
|
-
"name": "
|
|
13818
|
+
"name": "cond",
|
|
13778
13819
|
"declaration": {
|
|
13779
|
-
"name": "
|
|
13780
|
-
"module": "src/common/
|
|
13820
|
+
"name": "cond",
|
|
13821
|
+
"module": "src/common/directives/cond.ts"
|
|
13781
13822
|
}
|
|
13782
13823
|
},
|
|
13783
13824
|
{
|
|
13784
13825
|
"kind": "js",
|
|
13785
|
-
"name": "
|
|
13826
|
+
"name": "cond",
|
|
13786
13827
|
"declaration": {
|
|
13787
|
-
"name": "
|
|
13788
|
-
"module": "src/common/
|
|
13828
|
+
"name": "cond",
|
|
13829
|
+
"module": "src/common/directives/cond.ts"
|
|
13789
13830
|
}
|
|
13790
|
-
}
|
|
13791
|
-
]
|
|
13792
|
-
},
|
|
13793
|
-
{
|
|
13794
|
-
"kind": "javascript-module",
|
|
13795
|
-
"path": "src/common/controllers/SlotController.ts",
|
|
13796
|
-
"declarations": [
|
|
13831
|
+
},
|
|
13797
13832
|
{
|
|
13798
|
-
"kind": "
|
|
13799
|
-
"
|
|
13800
|
-
"
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
"type": {
|
|
13806
|
-
"text": "EventController"
|
|
13807
|
-
},
|
|
13808
|
-
"privacy": "private",
|
|
13809
|
-
"default": "new EventController(host)"
|
|
13810
|
-
},
|
|
13811
|
-
{
|
|
13812
|
-
"kind": "method",
|
|
13813
|
-
"name": "hostConnected"
|
|
13814
|
-
},
|
|
13815
|
-
{
|
|
13816
|
-
"kind": "field",
|
|
13817
|
-
"name": "hasContent"
|
|
13818
|
-
},
|
|
13819
|
-
{
|
|
13820
|
-
"kind": "field",
|
|
13821
|
-
"name": "isEmpty"
|
|
13822
|
-
},
|
|
13823
|
-
{
|
|
13824
|
-
"kind": "field",
|
|
13825
|
-
"name": "content"
|
|
13826
|
-
},
|
|
13827
|
-
{
|
|
13828
|
-
"kind": "field",
|
|
13829
|
-
"name": "handleSlotChange",
|
|
13830
|
-
"privacy": "private"
|
|
13831
|
-
},
|
|
13832
|
-
{
|
|
13833
|
-
"kind": "method",
|
|
13834
|
-
"name": "onChange",
|
|
13835
|
-
"privacy": "protected",
|
|
13836
|
-
"parameters": [
|
|
13837
|
-
{
|
|
13838
|
-
"name": "_e",
|
|
13839
|
-
"type": {
|
|
13840
|
-
"text": "Event"
|
|
13841
|
-
}
|
|
13842
|
-
}
|
|
13843
|
-
]
|
|
13844
|
-
}
|
|
13845
|
-
]
|
|
13846
|
-
}
|
|
13847
|
-
],
|
|
13848
|
-
"exports": [
|
|
13833
|
+
"kind": "js",
|
|
13834
|
+
"name": "cond",
|
|
13835
|
+
"declaration": {
|
|
13836
|
+
"name": "cond",
|
|
13837
|
+
"module": "src/common/directives/cond.ts"
|
|
13838
|
+
}
|
|
13839
|
+
},
|
|
13849
13840
|
{
|
|
13850
13841
|
"kind": "js",
|
|
13851
|
-
"name": "
|
|
13842
|
+
"name": "cond",
|
|
13852
13843
|
"declaration": {
|
|
13853
|
-
"name": "
|
|
13854
|
-
"module": "src/common/
|
|
13844
|
+
"name": "cond",
|
|
13845
|
+
"module": "src/common/directives/cond.ts"
|
|
13855
13846
|
}
|
|
13856
13847
|
}
|
|
13857
13848
|
]
|
|
13858
13849
|
},
|
|
13859
13850
|
{
|
|
13860
13851
|
"kind": "javascript-module",
|
|
13861
|
-
"path": "src/common/
|
|
13852
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
13862
13853
|
"declarations": [
|
|
13863
13854
|
{
|
|
13864
|
-
"kind": "
|
|
13865
|
-
"
|
|
13866
|
-
"
|
|
13867
|
-
|
|
13855
|
+
"kind": "function",
|
|
13856
|
+
"name": "wrapIf",
|
|
13857
|
+
"return": {
|
|
13858
|
+
"type": {
|
|
13859
|
+
"text": "TInner"
|
|
13860
|
+
}
|
|
13861
|
+
},
|
|
13862
|
+
"parameters": [
|
|
13868
13863
|
{
|
|
13869
|
-
"
|
|
13870
|
-
"name": "events",
|
|
13864
|
+
"name": "condition",
|
|
13871
13865
|
"type": {
|
|
13872
|
-
"text": "
|
|
13873
|
-
}
|
|
13874
|
-
"privacy": "private",
|
|
13875
|
-
"default": "new EventController(host)"
|
|
13866
|
+
"text": "false"
|
|
13867
|
+
}
|
|
13876
13868
|
},
|
|
13877
13869
|
{
|
|
13878
|
-
"
|
|
13879
|
-
"name": "hadFirstUpdate",
|
|
13870
|
+
"name": "inner",
|
|
13880
13871
|
"type": {
|
|
13881
|
-
"text": "
|
|
13882
|
-
}
|
|
13883
|
-
"privacy": "private",
|
|
13884
|
-
"default": "false"
|
|
13872
|
+
"text": "() => TInner"
|
|
13873
|
+
}
|
|
13885
13874
|
},
|
|
13886
13875
|
{
|
|
13887
|
-
"
|
|
13888
|
-
"name": "initialTouchX",
|
|
13876
|
+
"name": "wrapper",
|
|
13889
13877
|
"type": {
|
|
13890
|
-
"text": "
|
|
13891
|
-
}
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13878
|
+
"text": "(inner: TInner) => TWrapper"
|
|
13879
|
+
}
|
|
13880
|
+
}
|
|
13881
|
+
]
|
|
13882
|
+
},
|
|
13883
|
+
{
|
|
13884
|
+
"kind": "function",
|
|
13885
|
+
"name": "wrapIf",
|
|
13886
|
+
"return": {
|
|
13887
|
+
"type": {
|
|
13888
|
+
"text": "TWrapper"
|
|
13889
|
+
}
|
|
13890
|
+
},
|
|
13891
|
+
"parameters": [
|
|
13895
13892
|
{
|
|
13896
|
-
"
|
|
13897
|
-
"name": "initialTouchY",
|
|
13893
|
+
"name": "condition",
|
|
13898
13894
|
"type": {
|
|
13899
|
-
"text": "
|
|
13900
|
-
}
|
|
13901
|
-
"privacy": "private",
|
|
13902
|
-
"default": "0"
|
|
13895
|
+
"text": "true"
|
|
13896
|
+
}
|
|
13903
13897
|
},
|
|
13904
13898
|
{
|
|
13905
|
-
"
|
|
13906
|
-
"name": "options",
|
|
13899
|
+
"name": "inner",
|
|
13907
13900
|
"type": {
|
|
13908
|
-
"text": "
|
|
13909
|
-
}
|
|
13910
|
-
"privacy": "private",
|
|
13911
|
-
"default": "{\n target: () => host,\n ...options,\n }"
|
|
13912
|
-
},
|
|
13913
|
-
{
|
|
13914
|
-
"kind": "method",
|
|
13915
|
-
"name": "hostUpdated"
|
|
13916
|
-
},
|
|
13917
|
-
{
|
|
13918
|
-
"kind": "method",
|
|
13919
|
-
"name": "hostDisconnected"
|
|
13920
|
-
},
|
|
13921
|
-
{
|
|
13922
|
-
"kind": "field",
|
|
13923
|
-
"name": "handleTouchStart",
|
|
13924
|
-
"privacy": "private"
|
|
13901
|
+
"text": "() => TInner"
|
|
13902
|
+
}
|
|
13925
13903
|
},
|
|
13926
13904
|
{
|
|
13927
|
-
"
|
|
13928
|
-
"
|
|
13929
|
-
|
|
13905
|
+
"name": "wrapper",
|
|
13906
|
+
"type": {
|
|
13907
|
+
"text": "(inner: TInner) => TWrapper"
|
|
13908
|
+
}
|
|
13930
13909
|
}
|
|
13931
13910
|
]
|
|
13932
13911
|
},
|
|
13933
13912
|
{
|
|
13934
13913
|
"kind": "function",
|
|
13935
|
-
"name": "
|
|
13914
|
+
"name": "wrapIf",
|
|
13915
|
+
"return": {
|
|
13916
|
+
"type": {
|
|
13917
|
+
"text": "TInner | TWrapper"
|
|
13918
|
+
}
|
|
13919
|
+
},
|
|
13936
13920
|
"parameters": [
|
|
13937
13921
|
{
|
|
13938
|
-
"name": "
|
|
13922
|
+
"name": "condition",
|
|
13939
13923
|
"type": {
|
|
13940
|
-
"text": "
|
|
13924
|
+
"text": "unknown"
|
|
13925
|
+
}
|
|
13926
|
+
},
|
|
13927
|
+
{
|
|
13928
|
+
"name": "inner",
|
|
13929
|
+
"type": {
|
|
13930
|
+
"text": "() => TInner"
|
|
13931
|
+
}
|
|
13932
|
+
},
|
|
13933
|
+
{
|
|
13934
|
+
"name": "wrapper",
|
|
13935
|
+
"type": {
|
|
13936
|
+
"text": "(inner: TInner) => TWrapper"
|
|
13941
13937
|
}
|
|
13942
13938
|
}
|
|
13943
13939
|
]
|
|
13944
13940
|
},
|
|
13945
13941
|
{
|
|
13946
13942
|
"kind": "function",
|
|
13947
|
-
"name": "
|
|
13943
|
+
"name": "wrapIf",
|
|
13948
13944
|
"parameters": [
|
|
13949
13945
|
{
|
|
13950
|
-
"name": "
|
|
13946
|
+
"name": "condition",
|
|
13951
13947
|
"type": {
|
|
13952
|
-
"text": "
|
|
13948
|
+
"text": "any"
|
|
13949
|
+
}
|
|
13950
|
+
},
|
|
13951
|
+
{
|
|
13952
|
+
"name": "inner",
|
|
13953
|
+
"type": {
|
|
13954
|
+
"text": "() => TInner"
|
|
13955
|
+
}
|
|
13956
|
+
},
|
|
13957
|
+
{
|
|
13958
|
+
"name": "wrapper",
|
|
13959
|
+
"type": {
|
|
13960
|
+
"text": "(innards: TInner) => TWrapper"
|
|
13953
13961
|
}
|
|
13954
13962
|
}
|
|
13955
|
-
]
|
|
13963
|
+
],
|
|
13964
|
+
"return": {
|
|
13965
|
+
"type": {
|
|
13966
|
+
"text": ""
|
|
13967
|
+
}
|
|
13968
|
+
}
|
|
13956
13969
|
}
|
|
13957
13970
|
],
|
|
13958
13971
|
"exports": [
|
|
13959
13972
|
{
|
|
13960
13973
|
"kind": "js",
|
|
13961
|
-
"name": "
|
|
13974
|
+
"name": "wrapIf",
|
|
13962
13975
|
"declaration": {
|
|
13963
|
-
"name": "
|
|
13964
|
-
"module": "src/common/
|
|
13976
|
+
"name": "wrapIf",
|
|
13977
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
13965
13978
|
}
|
|
13966
13979
|
},
|
|
13967
13980
|
{
|
|
13968
13981
|
"kind": "js",
|
|
13969
|
-
"name": "
|
|
13982
|
+
"name": "wrapIf",
|
|
13970
13983
|
"declaration": {
|
|
13971
|
-
"name": "
|
|
13972
|
-
"module": "src/common/
|
|
13984
|
+
"name": "wrapIf",
|
|
13985
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
13973
13986
|
}
|
|
13974
13987
|
},
|
|
13975
13988
|
{
|
|
13976
13989
|
"kind": "js",
|
|
13977
|
-
"name": "
|
|
13990
|
+
"name": "wrapIf",
|
|
13978
13991
|
"declaration": {
|
|
13979
|
-
"name": "
|
|
13980
|
-
"module": "src/common/
|
|
13992
|
+
"name": "wrapIf",
|
|
13993
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
13994
|
+
}
|
|
13995
|
+
},
|
|
13996
|
+
{
|
|
13997
|
+
"kind": "js",
|
|
13998
|
+
"name": "wrapIf",
|
|
13999
|
+
"declaration": {
|
|
14000
|
+
"name": "wrapIf",
|
|
14001
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
13981
14002
|
}
|
|
13982
14003
|
}
|
|
13983
14004
|
]
|