@nordhealth/components 1.13.0 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1914 -1885
- 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-7905498d.js} +2 -2
- package/lib/{Calendar-c2dc6905.js.map → Calendar-7905498d.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/command-menu/CommandMenu.d.ts +1 -1
- package/lib/src/command-menu/ICommandMenuAction.d.ts +1 -1
- 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
|
@@ -574,125 +574,209 @@
|
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
"kind": "javascript-module",
|
|
577
|
-
"path": "src/
|
|
577
|
+
"path": "src/badge/Badge.ts",
|
|
578
578
|
"declarations": [
|
|
579
579
|
{
|
|
580
580
|
"kind": "class",
|
|
581
|
-
"description": "
|
|
582
|
-
"name": "
|
|
581
|
+
"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.",
|
|
582
|
+
"name": "Badge",
|
|
583
583
|
"slots": [
|
|
584
584
|
{
|
|
585
|
-
"description": "The
|
|
585
|
+
"description": "The badge content.",
|
|
586
586
|
"name": ""
|
|
587
|
-
}
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"members": [
|
|
588
590
|
{
|
|
589
|
-
"
|
|
590
|
-
"name": "
|
|
591
|
-
|
|
591
|
+
"kind": "field",
|
|
592
|
+
"name": "type",
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
595
|
+
},
|
|
596
|
+
"default": "\"info\"",
|
|
597
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
598
|
+
"attribute": "type",
|
|
599
|
+
"reflects": true
|
|
600
|
+
}
|
|
601
|
+
],
|
|
602
|
+
"attributes": [
|
|
592
603
|
{
|
|
593
|
-
"
|
|
594
|
-
"
|
|
604
|
+
"name": "type",
|
|
605
|
+
"type": {
|
|
606
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
607
|
+
},
|
|
608
|
+
"default": "\"info\"",
|
|
609
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
610
|
+
"fieldName": "type"
|
|
595
611
|
}
|
|
596
612
|
],
|
|
613
|
+
"superclass": {
|
|
614
|
+
"name": "LitElement",
|
|
615
|
+
"package": "lit"
|
|
616
|
+
},
|
|
617
|
+
"status": "ready",
|
|
618
|
+
"category": "text",
|
|
619
|
+
"displayName": null,
|
|
620
|
+
"tagName": "nord-badge",
|
|
621
|
+
"customElement": true
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"exports": [
|
|
625
|
+
{
|
|
626
|
+
"kind": "js",
|
|
627
|
+
"name": "default",
|
|
628
|
+
"declaration": {
|
|
629
|
+
"name": "Badge",
|
|
630
|
+
"module": "src/badge/Badge.ts"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"kind": "custom-element-definition",
|
|
635
|
+
"name": "nord-badge",
|
|
636
|
+
"declaration": {
|
|
637
|
+
"name": "Badge",
|
|
638
|
+
"module": "src/badge/Badge.ts"
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"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"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "javascript-module",
|
|
646
|
+
"path": "src/calendar/Calendar.ts",
|
|
647
|
+
"declarations": [
|
|
648
|
+
{
|
|
649
|
+
"kind": "class",
|
|
650
|
+
"description": "Calendar allows user to pick a date. It comes with built-in\nfunctionality that allows you to set a minimum and a maximum allowed date.\nPlease note that the date must be passed in ISO-8601 format.",
|
|
651
|
+
"name": "Calendar",
|
|
597
652
|
"members": [
|
|
598
653
|
{
|
|
599
654
|
"kind": "field",
|
|
600
|
-
"name": "
|
|
655
|
+
"name": "dialogLabelId",
|
|
656
|
+
"type": {
|
|
657
|
+
"text": "string"
|
|
658
|
+
},
|
|
659
|
+
"privacy": "private",
|
|
660
|
+
"default": "\"dialog-header\""
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"kind": "field",
|
|
664
|
+
"name": "monthSelectNode",
|
|
665
|
+
"type": {
|
|
666
|
+
"text": "HTMLElement"
|
|
667
|
+
},
|
|
601
668
|
"privacy": "private"
|
|
602
669
|
},
|
|
603
670
|
{
|
|
604
671
|
"kind": "field",
|
|
605
|
-
"name": "
|
|
672
|
+
"name": "focusedDayNode",
|
|
673
|
+
"type": {
|
|
674
|
+
"text": "HTMLButtonElement"
|
|
675
|
+
},
|
|
676
|
+
"privacy": "private"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"kind": "field",
|
|
680
|
+
"name": "direction",
|
|
606
681
|
"privacy": "private",
|
|
607
|
-
"default": "new
|
|
682
|
+
"default": "new DirectionController(this)"
|
|
608
683
|
},
|
|
609
684
|
{
|
|
610
685
|
"kind": "field",
|
|
611
|
-
"name": "
|
|
686
|
+
"name": "swipe",
|
|
612
687
|
"privacy": "private",
|
|
613
|
-
"default": "new
|
|
688
|
+
"default": "new SwipeController(this, {\n matchesGesture: isHorizontalSwipe,\n onSwipeEnd: ({ distX }) => this.addMonths(distX < 0 ? 1 : -1),\n })"
|
|
614
689
|
},
|
|
615
690
|
{
|
|
616
691
|
"kind": "field",
|
|
617
|
-
"name": "
|
|
692
|
+
"name": "shortcuts",
|
|
693
|
+
"privacy": "private"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"kind": "field",
|
|
697
|
+
"name": "localize",
|
|
698
|
+
"privacy": "private",
|
|
699
|
+
"default": "new LocalizeController<\"nord-calendar\">(this, {\n onLangChange: () => this.handleLangChange(),\n })"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"kind": "field",
|
|
703
|
+
"name": "dateFormatShort",
|
|
618
704
|
"type": {
|
|
619
|
-
"text": "
|
|
705
|
+
"text": "Intl.DateTimeFormat"
|
|
620
706
|
},
|
|
621
|
-
"
|
|
622
|
-
"description": "
|
|
623
|
-
"attribute": "variant",
|
|
624
|
-
"reflects": true
|
|
707
|
+
"privacy": "private",
|
|
708
|
+
"description": "Whilst dateAdapter is used for handling the formatting/parsing dates in the input,\nthese are used to format dates exclusively for the benefit of screen readers.\n\nWe prefer DateTimeFormat over date.toLocaleDateString, as the former has\nbetter performance when formatting large number of dates. See:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance"
|
|
625
709
|
},
|
|
626
710
|
{
|
|
627
711
|
"kind": "field",
|
|
628
|
-
"name": "
|
|
712
|
+
"name": "monthNames",
|
|
629
713
|
"type": {
|
|
630
|
-
"text": "
|
|
714
|
+
"text": "string[]"
|
|
631
715
|
},
|
|
632
|
-
"
|
|
633
|
-
"description": "The type of the button.",
|
|
634
|
-
"attribute": "type",
|
|
635
|
-
"reflects": true
|
|
716
|
+
"privacy": "private"
|
|
636
717
|
},
|
|
637
718
|
{
|
|
638
719
|
"kind": "field",
|
|
639
|
-
"name": "
|
|
720
|
+
"name": "monthNamesShort",
|
|
640
721
|
"type": {
|
|
641
|
-
"text": "
|
|
722
|
+
"text": "string[]"
|
|
642
723
|
},
|
|
643
|
-
"
|
|
644
|
-
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
645
|
-
"attribute": "size",
|
|
646
|
-
"reflects": true
|
|
724
|
+
"privacy": "private"
|
|
647
725
|
},
|
|
648
726
|
{
|
|
649
727
|
"kind": "field",
|
|
650
|
-
"name": "
|
|
728
|
+
"name": "dayNames",
|
|
651
729
|
"type": {
|
|
652
|
-
"text": "
|
|
730
|
+
"text": "string[]"
|
|
653
731
|
},
|
|
654
|
-
"privacy": "private"
|
|
655
|
-
"attribute": "aria-expanded"
|
|
732
|
+
"privacy": "private"
|
|
656
733
|
},
|
|
657
734
|
{
|
|
658
735
|
"kind": "field",
|
|
659
|
-
"name": "
|
|
736
|
+
"name": "dayNamesShort",
|
|
660
737
|
"type": {
|
|
661
|
-
"text": "
|
|
738
|
+
"text": "string[]"
|
|
662
739
|
},
|
|
663
|
-
"privacy": "private"
|
|
664
|
-
"attribute": "aria-haspopup"
|
|
740
|
+
"privacy": "private"
|
|
665
741
|
},
|
|
666
742
|
{
|
|
667
743
|
"kind": "field",
|
|
668
|
-
"name": "
|
|
744
|
+
"name": "value",
|
|
669
745
|
"type": {
|
|
670
|
-
"text": "string
|
|
746
|
+
"text": "string"
|
|
671
747
|
},
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
"
|
|
748
|
+
"default": "\"\"",
|
|
749
|
+
"description": "The selected date on the calendar. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
750
|
+
"attribute": "value"
|
|
675
751
|
},
|
|
676
752
|
{
|
|
677
753
|
"kind": "field",
|
|
678
|
-
"name": "
|
|
754
|
+
"name": "firstDayOfWeek",
|
|
679
755
|
"type": {
|
|
680
|
-
"text": "
|
|
756
|
+
"text": "DaysOfWeek"
|
|
681
757
|
},
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
"attribute": "download"
|
|
758
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
759
|
+
"attribute": "firstDayOfWeek"
|
|
685
760
|
},
|
|
686
761
|
{
|
|
687
762
|
"kind": "field",
|
|
688
|
-
"name": "
|
|
763
|
+
"name": "min",
|
|
689
764
|
"type": {
|
|
690
|
-
"text": "
|
|
765
|
+
"text": "string"
|
|
691
766
|
},
|
|
692
|
-
"default": "\"
|
|
693
|
-
"description": "
|
|
694
|
-
"attribute": "
|
|
695
|
-
|
|
767
|
+
"default": "\"\"",
|
|
768
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
769
|
+
"attribute": "min"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"kind": "field",
|
|
773
|
+
"name": "max",
|
|
774
|
+
"type": {
|
|
775
|
+
"text": "string"
|
|
776
|
+
},
|
|
777
|
+
"default": "\"\"",
|
|
778
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
779
|
+
"attribute": "max"
|
|
696
780
|
},
|
|
697
781
|
{
|
|
698
782
|
"kind": "field",
|
|
@@ -701,308 +785,248 @@
|
|
|
701
785
|
"text": "boolean"
|
|
702
786
|
},
|
|
703
787
|
"default": "false",
|
|
704
|
-
"description": "Controls whether the
|
|
788
|
+
"description": "Controls whether the calendar expands to fill the width of its container.",
|
|
705
789
|
"attribute": "expand",
|
|
706
790
|
"reflects": true
|
|
707
791
|
},
|
|
708
792
|
{
|
|
709
793
|
"kind": "field",
|
|
710
|
-
"name": "
|
|
794
|
+
"name": "isDateDisabled",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "DateDisabledPredicate"
|
|
797
|
+
},
|
|
798
|
+
"default": "isDateDisabled",
|
|
799
|
+
"description": "Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends."
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "field",
|
|
803
|
+
"name": "activeFocus",
|
|
711
804
|
"type": {
|
|
712
805
|
"text": "boolean"
|
|
713
806
|
},
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"attribute": "loading",
|
|
717
|
-
"reflects": true
|
|
807
|
+
"privacy": "private",
|
|
808
|
+
"default": "false"
|
|
718
809
|
},
|
|
719
810
|
{
|
|
720
|
-
"kind": "
|
|
721
|
-
"name": "
|
|
811
|
+
"kind": "field",
|
|
812
|
+
"name": "focusedDay",
|
|
722
813
|
"privacy": "private",
|
|
814
|
+
"default": "new Date()"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"kind": "method",
|
|
818
|
+
"name": "focus",
|
|
723
819
|
"parameters": [
|
|
724
820
|
{
|
|
725
|
-
"name": "
|
|
821
|
+
"name": "options",
|
|
822
|
+
"optional": true,
|
|
726
823
|
"type": {
|
|
727
|
-
"text": "
|
|
728
|
-
}
|
|
824
|
+
"text": "FocusOptions & { target: \"day\" | \"month\" }"
|
|
825
|
+
},
|
|
826
|
+
"description": "An object which controls aspects of the focusing process."
|
|
729
827
|
}
|
|
730
828
|
],
|
|
731
|
-
"description": "
|
|
829
|
+
"description": "Programmatically move focus to the calendar."
|
|
732
830
|
},
|
|
733
831
|
{
|
|
734
832
|
"kind": "method",
|
|
735
|
-
"name": "
|
|
736
|
-
"privacy": "
|
|
737
|
-
"parameters": [
|
|
738
|
-
{
|
|
739
|
-
"name": "innards",
|
|
740
|
-
"type": {
|
|
741
|
-
"text": "TemplateResult"
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
]
|
|
833
|
+
"name": "handleValueChange",
|
|
834
|
+
"privacy": "protected"
|
|
745
835
|
},
|
|
746
836
|
{
|
|
747
837
|
"kind": "method",
|
|
748
|
-
"name": "
|
|
749
|
-
"privacy": "
|
|
838
|
+
"name": "handleFocusedDayChange",
|
|
839
|
+
"privacy": "protected"
|
|
750
840
|
},
|
|
751
841
|
{
|
|
752
|
-
"kind": "
|
|
753
|
-
"name": "
|
|
842
|
+
"kind": "method",
|
|
843
|
+
"name": "handleLangChange",
|
|
844
|
+
"privacy": "private"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"kind": "field",
|
|
848
|
+
"name": "handleDaySelect",
|
|
754
849
|
"privacy": "private"
|
|
755
850
|
},
|
|
756
851
|
{
|
|
757
852
|
"kind": "method",
|
|
758
|
-
"name": "
|
|
853
|
+
"name": "addDays",
|
|
759
854
|
"privacy": "private",
|
|
760
855
|
"parameters": [
|
|
761
856
|
{
|
|
762
|
-
"name": "
|
|
857
|
+
"name": "days",
|
|
763
858
|
"type": {
|
|
764
|
-
"text": "
|
|
859
|
+
"text": "number"
|
|
765
860
|
}
|
|
766
861
|
}
|
|
767
862
|
]
|
|
768
863
|
},
|
|
769
864
|
{
|
|
770
865
|
"kind": "method",
|
|
771
|
-
"name": "
|
|
866
|
+
"name": "addMonths",
|
|
772
867
|
"privacy": "private",
|
|
773
|
-
"
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
"default": "false",
|
|
782
|
-
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
783
|
-
"attribute": "disabled",
|
|
784
|
-
"reflects": true,
|
|
785
|
-
"inheritedFrom": {
|
|
786
|
-
"name": "InputMixin",
|
|
787
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
788
|
-
}
|
|
868
|
+
"parameters": [
|
|
869
|
+
{
|
|
870
|
+
"name": "months",
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "number"
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
]
|
|
789
876
|
},
|
|
790
877
|
{
|
|
791
|
-
"kind": "
|
|
792
|
-
"name": "
|
|
793
|
-
"
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
878
|
+
"kind": "method",
|
|
879
|
+
"name": "addYears",
|
|
880
|
+
"privacy": "private",
|
|
881
|
+
"parameters": [
|
|
882
|
+
{
|
|
883
|
+
"name": "years",
|
|
884
|
+
"type": {
|
|
885
|
+
"text": "number"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
]
|
|
802
889
|
},
|
|
803
890
|
{
|
|
804
|
-
"kind": "
|
|
805
|
-
"name": "
|
|
806
|
-
"
|
|
807
|
-
"text": "string"
|
|
808
|
-
},
|
|
809
|
-
"default": "\"\"",
|
|
810
|
-
"description": "The value of the form component.",
|
|
811
|
-
"attribute": "value",
|
|
812
|
-
"inheritedFrom": {
|
|
813
|
-
"name": "InputMixin",
|
|
814
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
815
|
-
}
|
|
891
|
+
"kind": "method",
|
|
892
|
+
"name": "startOfWeek",
|
|
893
|
+
"privacy": "private"
|
|
816
894
|
},
|
|
817
895
|
{
|
|
818
|
-
"kind": "
|
|
819
|
-
"name": "
|
|
820
|
-
"
|
|
821
|
-
"inheritedFrom": {
|
|
822
|
-
"name": "InputMixin",
|
|
823
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
824
|
-
}
|
|
896
|
+
"kind": "method",
|
|
897
|
+
"name": "endOfWeek",
|
|
898
|
+
"privacy": "private"
|
|
825
899
|
},
|
|
826
900
|
{
|
|
827
|
-
"kind": "
|
|
828
|
-
"name": "
|
|
829
|
-
"privacy": "
|
|
830
|
-
"
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
901
|
+
"kind": "method",
|
|
902
|
+
"name": "setMonth",
|
|
903
|
+
"privacy": "private",
|
|
904
|
+
"parameters": [
|
|
905
|
+
{
|
|
906
|
+
"name": "month",
|
|
907
|
+
"type": {
|
|
908
|
+
"text": "number"
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
]
|
|
834
912
|
},
|
|
835
913
|
{
|
|
836
914
|
"kind": "method",
|
|
837
|
-
"name": "
|
|
915
|
+
"name": "setYear",
|
|
916
|
+
"privacy": "private",
|
|
838
917
|
"parameters": [
|
|
839
918
|
{
|
|
840
|
-
"name": "
|
|
841
|
-
"optional": true,
|
|
919
|
+
"name": "year",
|
|
842
920
|
"type": {
|
|
843
|
-
"text": "
|
|
844
|
-
}
|
|
845
|
-
"description": "An object which controls aspects of the focusing process."
|
|
921
|
+
"text": "number"
|
|
922
|
+
}
|
|
846
923
|
}
|
|
847
|
-
]
|
|
848
|
-
"description": "Programmatically move focus to the component.",
|
|
849
|
-
"inheritedFrom": {
|
|
850
|
-
"name": "FocusableMixin",
|
|
851
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
852
|
-
}
|
|
924
|
+
]
|
|
853
925
|
},
|
|
854
926
|
{
|
|
855
927
|
"kind": "method",
|
|
856
|
-
"name": "
|
|
857
|
-
"
|
|
858
|
-
"
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
928
|
+
"name": "setFocusedDay",
|
|
929
|
+
"privacy": "private",
|
|
930
|
+
"parameters": [
|
|
931
|
+
{
|
|
932
|
+
"name": "day",
|
|
933
|
+
"type": {
|
|
934
|
+
"text": "Date"
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
]
|
|
862
938
|
},
|
|
863
939
|
{
|
|
864
|
-
"kind": "
|
|
865
|
-
"name": "
|
|
866
|
-
"
|
|
867
|
-
|
|
868
|
-
"name": "FocusableMixin",
|
|
869
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
],
|
|
873
|
-
"attributes": [
|
|
940
|
+
"kind": "field",
|
|
941
|
+
"name": "handleMonthSelect",
|
|
942
|
+
"privacy": "private"
|
|
943
|
+
},
|
|
874
944
|
{
|
|
875
|
-
"
|
|
876
|
-
"
|
|
877
|
-
|
|
878
|
-
},
|
|
879
|
-
"default": "\"default\"",
|
|
880
|
-
"description": "The style variant of the button.",
|
|
881
|
-
"fieldName": "variant"
|
|
945
|
+
"kind": "field",
|
|
946
|
+
"name": "handleYearSelect",
|
|
947
|
+
"privacy": "private"
|
|
882
948
|
},
|
|
883
949
|
{
|
|
884
|
-
"
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
},
|
|
888
|
-
"default": "\"submit\"",
|
|
889
|
-
"description": "The type of the button.",
|
|
890
|
-
"fieldName": "type"
|
|
950
|
+
"kind": "field",
|
|
951
|
+
"name": "handleNextMonthClick",
|
|
952
|
+
"privacy": "private"
|
|
891
953
|
},
|
|
892
954
|
{
|
|
893
|
-
"
|
|
894
|
-
"
|
|
895
|
-
|
|
896
|
-
},
|
|
897
|
-
"default": "\"m\"",
|
|
898
|
-
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
899
|
-
"fieldName": "size"
|
|
955
|
+
"kind": "field",
|
|
956
|
+
"name": "handlePreviousMonthClick",
|
|
957
|
+
"privacy": "private"
|
|
900
958
|
},
|
|
901
959
|
{
|
|
902
|
-
"
|
|
903
|
-
"
|
|
904
|
-
|
|
905
|
-
},
|
|
906
|
-
"fieldName": "accessibleExpanded"
|
|
960
|
+
"kind": "field",
|
|
961
|
+
"name": "enableActiveFocus",
|
|
962
|
+
"privacy": "private"
|
|
907
963
|
},
|
|
908
964
|
{
|
|
909
|
-
"
|
|
965
|
+
"kind": "field",
|
|
966
|
+
"name": "disableActiveFocus",
|
|
967
|
+
"privacy": "private"
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"events": [
|
|
971
|
+
{
|
|
972
|
+
"name": "nord-focus-date",
|
|
910
973
|
"type": {
|
|
911
|
-
"text": "
|
|
974
|
+
"text": "DateSelectEvent"
|
|
912
975
|
},
|
|
913
|
-
"
|
|
976
|
+
"description": "Dispatched when the calendar's focused date changes."
|
|
914
977
|
},
|
|
915
978
|
{
|
|
916
|
-
"name": "href",
|
|
917
979
|
"type": {
|
|
918
|
-
"text": "
|
|
980
|
+
"text": "DateSelectEvent"
|
|
919
981
|
},
|
|
920
|
-
"description": "
|
|
921
|
-
"
|
|
922
|
-
}
|
|
982
|
+
"description": "Dispatched when a date is selected and the value changes.",
|
|
983
|
+
"name": "change"
|
|
984
|
+
}
|
|
985
|
+
],
|
|
986
|
+
"attributes": [
|
|
923
987
|
{
|
|
924
|
-
"name": "
|
|
988
|
+
"name": "value",
|
|
925
989
|
"type": {
|
|
926
|
-
"text": "
|
|
990
|
+
"text": "string"
|
|
927
991
|
},
|
|
928
|
-
"default": "
|
|
929
|
-
"description": "
|
|
930
|
-
"fieldName": "
|
|
992
|
+
"default": "\"\"",
|
|
993
|
+
"description": "The selected date on the calendar. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
994
|
+
"fieldName": "value"
|
|
931
995
|
},
|
|
932
996
|
{
|
|
933
|
-
"name": "
|
|
997
|
+
"name": "firstDayOfWeek",
|
|
934
998
|
"type": {
|
|
935
|
-
"text": "
|
|
999
|
+
"text": "DaysOfWeek"
|
|
936
1000
|
},
|
|
937
|
-
"
|
|
938
|
-
"
|
|
939
|
-
"fieldName": "target"
|
|
1001
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
1002
|
+
"fieldName": "firstDayOfWeek"
|
|
940
1003
|
},
|
|
941
1004
|
{
|
|
942
|
-
"name": "
|
|
1005
|
+
"name": "min",
|
|
943
1006
|
"type": {
|
|
944
|
-
"text": "
|
|
1007
|
+
"text": "string"
|
|
945
1008
|
},
|
|
946
|
-
"default": "
|
|
947
|
-
"description": "
|
|
948
|
-
"fieldName": "
|
|
1009
|
+
"default": "\"\"",
|
|
1010
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
1011
|
+
"fieldName": "min"
|
|
949
1012
|
},
|
|
950
1013
|
{
|
|
951
|
-
"name": "
|
|
1014
|
+
"name": "max",
|
|
952
1015
|
"type": {
|
|
953
|
-
"text": "
|
|
1016
|
+
"text": "string"
|
|
954
1017
|
},
|
|
955
|
-
"default": "
|
|
956
|
-
"description": "
|
|
957
|
-
"fieldName": "
|
|
1018
|
+
"default": "\"\"",
|
|
1019
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
1020
|
+
"fieldName": "max"
|
|
958
1021
|
},
|
|
959
1022
|
{
|
|
960
|
-
"name": "
|
|
1023
|
+
"name": "expand",
|
|
961
1024
|
"type": {
|
|
962
1025
|
"text": "boolean"
|
|
963
1026
|
},
|
|
964
1027
|
"default": "false",
|
|
965
|
-
"description": "
|
|
966
|
-
"fieldName": "
|
|
967
|
-
"inheritedFrom": {
|
|
968
|
-
"name": "InputMixin",
|
|
969
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"name": "name",
|
|
974
|
-
"type": {
|
|
975
|
-
"text": "string | undefined"
|
|
976
|
-
},
|
|
977
|
-
"description": "The name of the form component.",
|
|
978
|
-
"fieldName": "name",
|
|
979
|
-
"inheritedFrom": {
|
|
980
|
-
"name": "InputMixin",
|
|
981
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"name": "value",
|
|
986
|
-
"type": {
|
|
987
|
-
"text": "string"
|
|
988
|
-
},
|
|
989
|
-
"default": "\"\"",
|
|
990
|
-
"description": "The value of the form component.",
|
|
991
|
-
"fieldName": "value",
|
|
992
|
-
"inheritedFrom": {
|
|
993
|
-
"name": "InputMixin",
|
|
994
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
],
|
|
998
|
-
"mixins": [
|
|
999
|
-
{
|
|
1000
|
-
"name": "InputMixin",
|
|
1001
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"name": "FocusableMixin",
|
|
1005
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
1028
|
+
"description": "Controls whether the calendar expands to fill the width of its container.",
|
|
1029
|
+
"fieldName": "expand"
|
|
1006
1030
|
}
|
|
1007
1031
|
],
|
|
1008
1032
|
"superclass": {
|
|
@@ -1010,9 +1034,9 @@
|
|
|
1010
1034
|
"package": "lit"
|
|
1011
1035
|
},
|
|
1012
1036
|
"status": "ready",
|
|
1013
|
-
"category": "
|
|
1037
|
+
"category": "list",
|
|
1014
1038
|
"displayName": null,
|
|
1015
|
-
"tagName": "nord-
|
|
1039
|
+
"tagName": "nord-calendar",
|
|
1016
1040
|
"customElement": true
|
|
1017
1041
|
}
|
|
1018
1042
|
],
|
|
@@ -1021,57 +1045,187 @@
|
|
|
1021
1045
|
"kind": "js",
|
|
1022
1046
|
"name": "default",
|
|
1023
1047
|
"declaration": {
|
|
1024
|
-
"name": "
|
|
1025
|
-
"module": "src/
|
|
1048
|
+
"name": "Calendar",
|
|
1049
|
+
"module": "src/calendar/Calendar.ts"
|
|
1026
1050
|
}
|
|
1027
1051
|
},
|
|
1028
1052
|
{
|
|
1029
1053
|
"kind": "custom-element-definition",
|
|
1030
|
-
"name": "nord-
|
|
1054
|
+
"name": "nord-calendar",
|
|
1031
1055
|
"declaration": {
|
|
1032
|
-
"name": "
|
|
1033
|
-
"module": "src/
|
|
1056
|
+
"name": "Calendar",
|
|
1057
|
+
"module": "src/calendar/Calendar.ts"
|
|
1034
1058
|
}
|
|
1035
1059
|
}
|
|
1036
1060
|
],
|
|
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-
|
|
1061
|
+
"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"
|
|
1038
1062
|
},
|
|
1039
1063
|
{
|
|
1040
1064
|
"kind": "javascript-module",
|
|
1041
|
-
"path": "src/
|
|
1065
|
+
"path": "src/calendar/DateSelectEvent.ts",
|
|
1042
1066
|
"declarations": [
|
|
1043
1067
|
{
|
|
1044
1068
|
"kind": "class",
|
|
1045
|
-
"description": "
|
|
1046
|
-
"name": "
|
|
1069
|
+
"description": "",
|
|
1070
|
+
"name": "DateSelectEvent",
|
|
1071
|
+
"superclass": {
|
|
1072
|
+
"name": "NordEvent",
|
|
1073
|
+
"module": "/src/common/events.js"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"exports": [
|
|
1078
|
+
{
|
|
1079
|
+
"kind": "js",
|
|
1080
|
+
"name": "DateSelectEvent",
|
|
1081
|
+
"declaration": {
|
|
1082
|
+
"name": "DateSelectEvent",
|
|
1083
|
+
"module": "src/calendar/DateSelectEvent.ts"
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"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"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "javascript-module",
|
|
1091
|
+
"path": "src/calendar/localization.ts",
|
|
1092
|
+
"declarations": [
|
|
1093
|
+
{
|
|
1094
|
+
"kind": "variable",
|
|
1095
|
+
"name": "calendarLocalization",
|
|
1096
|
+
"type": {
|
|
1097
|
+
"text": "object"
|
|
1098
|
+
},
|
|
1099
|
+
"default": "{\n prevMonthLabel: \"Previous month\",\n nextMonthLabel: \"Next month\",\n monthSelectLabel: \"Month\",\n yearSelectLabel: \"Year\",\n}"
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"exports": [
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "js",
|
|
1105
|
+
"name": "default",
|
|
1106
|
+
"declaration": {
|
|
1107
|
+
"name": "calendarLocalization",
|
|
1108
|
+
"module": "src/calendar/localization.ts"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"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"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"kind": "javascript-module",
|
|
1116
|
+
"path": "src/calendar/month-view.ts",
|
|
1117
|
+
"declarations": [
|
|
1118
|
+
{
|
|
1119
|
+
"kind": "function",
|
|
1120
|
+
"name": "dayView",
|
|
1121
|
+
"parameters": [
|
|
1122
|
+
{
|
|
1123
|
+
"name": "{\n focusedDay,\n today,\n day,\n onDaySelect,\n onKeyboardNavigation,\n disabled,\n inRange,\n isSelected,\n dateFormatter,\n}",
|
|
1124
|
+
"type": {
|
|
1125
|
+
"text": "DatePickerDayProps"
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
]
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "function",
|
|
1132
|
+
"name": "monthView",
|
|
1133
|
+
"parameters": [
|
|
1134
|
+
{
|
|
1135
|
+
"name": "{\n onFocusIn,\n onFocusOut,\n selectedDate,\n focusedDate,\n labelledById,\n dayNames,\n dayNamesShort,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n}",
|
|
1136
|
+
"type": {
|
|
1137
|
+
"text": "MonthViewArgs"
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
]
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"exports": [
|
|
1144
|
+
{
|
|
1145
|
+
"kind": "js",
|
|
1146
|
+
"name": "dayView",
|
|
1147
|
+
"declaration": {
|
|
1148
|
+
"name": "dayView",
|
|
1149
|
+
"module": "src/calendar/month-view.ts"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"kind": "js",
|
|
1154
|
+
"name": "monthView",
|
|
1155
|
+
"declaration": {
|
|
1156
|
+
"name": "monthView",
|
|
1157
|
+
"module": "src/calendar/month-view.ts"
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
"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"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"kind": "javascript-module",
|
|
1165
|
+
"path": "src/card/Card.ts",
|
|
1166
|
+
"declarations": [
|
|
1167
|
+
{
|
|
1168
|
+
"kind": "class",
|
|
1169
|
+
"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.",
|
|
1170
|
+
"name": "Card",
|
|
1047
1171
|
"slots": [
|
|
1048
1172
|
{
|
|
1049
|
-
"description": "The
|
|
1173
|
+
"description": "The card content.",
|
|
1050
1174
|
"name": ""
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"description": "Optional slot that holds a header for the card.",
|
|
1178
|
+
"name": "header"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
|
|
1182
|
+
"name": "header-end"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
1186
|
+
"name": "footer"
|
|
1051
1187
|
}
|
|
1052
1188
|
],
|
|
1053
1189
|
"members": [
|
|
1054
1190
|
{
|
|
1055
1191
|
"kind": "field",
|
|
1056
|
-
"name": "
|
|
1192
|
+
"name": "headerSlot",
|
|
1193
|
+
"privacy": "private",
|
|
1194
|
+
"default": "new SlotController(this, \"header\")"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"kind": "field",
|
|
1198
|
+
"name": "headerEndSlot",
|
|
1199
|
+
"privacy": "private",
|
|
1200
|
+
"default": "new SlotController(this, \"header-end\")"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"kind": "field",
|
|
1204
|
+
"name": "footerSlot",
|
|
1205
|
+
"privacy": "private",
|
|
1206
|
+
"default": "new SlotController(this, \"footer\")"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "field",
|
|
1210
|
+
"name": "padding",
|
|
1057
1211
|
"type": {
|
|
1058
|
-
"text": "\"
|
|
1212
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1059
1213
|
},
|
|
1060
|
-
"default": "\"
|
|
1061
|
-
"description": "
|
|
1062
|
-
"attribute": "
|
|
1214
|
+
"default": "\"m\"",
|
|
1215
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1216
|
+
"attribute": "padding",
|
|
1063
1217
|
"reflects": true
|
|
1064
1218
|
}
|
|
1065
1219
|
],
|
|
1066
1220
|
"attributes": [
|
|
1067
1221
|
{
|
|
1068
|
-
"name": "
|
|
1222
|
+
"name": "padding",
|
|
1069
1223
|
"type": {
|
|
1070
|
-
"text": "\"
|
|
1224
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1071
1225
|
},
|
|
1072
|
-
"default": "\"
|
|
1073
|
-
"description": "
|
|
1074
|
-
"fieldName": "
|
|
1226
|
+
"default": "\"m\"",
|
|
1227
|
+
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1228
|
+
"fieldName": "padding"
|
|
1075
1229
|
}
|
|
1076
1230
|
],
|
|
1077
1231
|
"superclass": {
|
|
@@ -1079,9 +1233,9 @@
|
|
|
1079
1233
|
"package": "lit"
|
|
1080
1234
|
},
|
|
1081
1235
|
"status": "ready",
|
|
1082
|
-
"category": "
|
|
1236
|
+
"category": "structure",
|
|
1083
1237
|
"displayName": null,
|
|
1084
|
-
"tagName": "nord-
|
|
1238
|
+
"tagName": "nord-card",
|
|
1085
1239
|
"customElement": true
|
|
1086
1240
|
}
|
|
1087
1241
|
],
|
|
@@ -1090,407 +1244,569 @@
|
|
|
1090
1244
|
"kind": "js",
|
|
1091
1245
|
"name": "default",
|
|
1092
1246
|
"declaration": {
|
|
1093
|
-
"name": "
|
|
1094
|
-
"module": "src/
|
|
1247
|
+
"name": "Card",
|
|
1248
|
+
"module": "src/card/Card.ts"
|
|
1095
1249
|
}
|
|
1096
1250
|
},
|
|
1097
1251
|
{
|
|
1098
1252
|
"kind": "custom-element-definition",
|
|
1099
|
-
"name": "nord-
|
|
1253
|
+
"name": "nord-card",
|
|
1100
1254
|
"declaration": {
|
|
1101
|
-
"name": "
|
|
1102
|
-
"module": "src/
|
|
1255
|
+
"name": "Card",
|
|
1256
|
+
"module": "src/card/Card.ts"
|
|
1103
1257
|
}
|
|
1104
1258
|
}
|
|
1105
1259
|
],
|
|
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
|
|
1260
|
+
"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"
|
|
1107
1261
|
},
|
|
1108
1262
|
{
|
|
1109
1263
|
"kind": "javascript-module",
|
|
1110
|
-
"path": "src/
|
|
1264
|
+
"path": "src/checkbox/Checkbox.ts",
|
|
1111
1265
|
"declarations": [
|
|
1112
1266
|
{
|
|
1113
1267
|
"kind": "class",
|
|
1114
|
-
"description": "
|
|
1115
|
-
"name": "
|
|
1116
|
-
"
|
|
1268
|
+
"description": "Checkboxes allow user to choose one or more options from a limited set of options.\nIf you have more than 10 options, please use Select component instead.",
|
|
1269
|
+
"name": "Checkbox",
|
|
1270
|
+
"slots": [
|
|
1117
1271
|
{
|
|
1118
|
-
"
|
|
1119
|
-
"name": "
|
|
1120
|
-
"type": {
|
|
1121
|
-
"text": "string"
|
|
1122
|
-
},
|
|
1123
|
-
"privacy": "private",
|
|
1124
|
-
"default": "\"dialog-header\""
|
|
1272
|
+
"description": "Use when a label requires more than plain text.",
|
|
1273
|
+
"name": "label"
|
|
1125
1274
|
},
|
|
1126
1275
|
{
|
|
1127
|
-
"
|
|
1128
|
-
"name": "
|
|
1129
|
-
"type": {
|
|
1130
|
-
"text": "HTMLElement"
|
|
1131
|
-
},
|
|
1132
|
-
"privacy": "private"
|
|
1276
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
1277
|
+
"name": "hint"
|
|
1133
1278
|
},
|
|
1134
1279
|
{
|
|
1135
|
-
"
|
|
1136
|
-
"name": "
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
"privacy": "private"
|
|
1141
|
-
},
|
|
1280
|
+
"description": "Optional slot that holds error text for the input.",
|
|
1281
|
+
"name": "error"
|
|
1282
|
+
}
|
|
1283
|
+
],
|
|
1284
|
+
"members": [
|
|
1142
1285
|
{
|
|
1143
1286
|
"kind": "field",
|
|
1144
|
-
"name": "
|
|
1145
|
-
"privacy": "
|
|
1146
|
-
"
|
|
1287
|
+
"name": "formValue",
|
|
1288
|
+
"privacy": "protected",
|
|
1289
|
+
"inheritedFrom": {
|
|
1290
|
+
"name": "FormAssociatedMixin",
|
|
1291
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1292
|
+
}
|
|
1147
1293
|
},
|
|
1148
1294
|
{
|
|
1149
1295
|
"kind": "field",
|
|
1150
|
-
"name": "
|
|
1151
|
-
"
|
|
1152
|
-
|
|
1296
|
+
"name": "indeterminate",
|
|
1297
|
+
"type": {
|
|
1298
|
+
"text": "boolean"
|
|
1299
|
+
},
|
|
1300
|
+
"default": "false",
|
|
1301
|
+
"description": "Controls whether the checkbox is in an indeterminate state.",
|
|
1302
|
+
"attribute": "indeterminate"
|
|
1153
1303
|
},
|
|
1154
1304
|
{
|
|
1155
1305
|
"kind": "field",
|
|
1156
|
-
"name": "
|
|
1157
|
-
"
|
|
1306
|
+
"name": "checked",
|
|
1307
|
+
"type": {
|
|
1308
|
+
"text": "boolean"
|
|
1309
|
+
},
|
|
1310
|
+
"default": "false",
|
|
1311
|
+
"description": "Controls whether the checkbox is checked or not.",
|
|
1312
|
+
"attribute": "checked"
|
|
1158
1313
|
},
|
|
1159
1314
|
{
|
|
1160
|
-
"kind": "
|
|
1161
|
-
"name": "
|
|
1162
|
-
"privacy": "
|
|
1163
|
-
"
|
|
1315
|
+
"kind": "method",
|
|
1316
|
+
"name": "handleChange",
|
|
1317
|
+
"privacy": "protected",
|
|
1318
|
+
"parameters": [
|
|
1319
|
+
{
|
|
1320
|
+
"name": "e",
|
|
1321
|
+
"type": {
|
|
1322
|
+
"text": "Event"
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
],
|
|
1326
|
+
"return": {
|
|
1327
|
+
"type": {
|
|
1328
|
+
"text": "void"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
"inheritedFrom": {
|
|
1332
|
+
"name": "FormAssociatedMixin",
|
|
1333
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1334
|
+
}
|
|
1164
1335
|
},
|
|
1165
1336
|
{
|
|
1166
1337
|
"kind": "field",
|
|
1167
|
-
"name": "
|
|
1168
|
-
"
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1338
|
+
"name": "labelSlot",
|
|
1339
|
+
"privacy": "protected",
|
|
1340
|
+
"default": "new SlotController(this, \"label\")",
|
|
1341
|
+
"inheritedFrom": {
|
|
1342
|
+
"name": "FormAssociatedMixin",
|
|
1343
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1344
|
+
}
|
|
1173
1345
|
},
|
|
1174
1346
|
{
|
|
1175
1347
|
"kind": "field",
|
|
1176
|
-
"name": "
|
|
1177
|
-
"
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1348
|
+
"name": "errorSlot",
|
|
1349
|
+
"privacy": "protected",
|
|
1350
|
+
"default": "new SlotController(this, \"error\")",
|
|
1351
|
+
"inheritedFrom": {
|
|
1352
|
+
"name": "FormAssociatedMixin",
|
|
1353
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1354
|
+
}
|
|
1181
1355
|
},
|
|
1182
1356
|
{
|
|
1183
1357
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1185
|
-
"
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1358
|
+
"name": "hintSlot",
|
|
1359
|
+
"privacy": "protected",
|
|
1360
|
+
"default": "new SlotController(this, \"hint\")",
|
|
1361
|
+
"inheritedFrom": {
|
|
1362
|
+
"name": "FormAssociatedMixin",
|
|
1363
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1364
|
+
}
|
|
1189
1365
|
},
|
|
1190
1366
|
{
|
|
1191
1367
|
"kind": "field",
|
|
1192
|
-
"name": "
|
|
1193
|
-
"
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1368
|
+
"name": "formData",
|
|
1369
|
+
"privacy": "protected",
|
|
1370
|
+
"default": "new FormDataController(this, { value: () => this.formValue })",
|
|
1371
|
+
"inheritedFrom": {
|
|
1372
|
+
"name": "FormAssociatedMixin",
|
|
1373
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1374
|
+
}
|
|
1197
1375
|
},
|
|
1198
1376
|
{
|
|
1199
1377
|
"kind": "field",
|
|
1200
|
-
"name": "
|
|
1378
|
+
"name": "inputId",
|
|
1201
1379
|
"type": {
|
|
1202
|
-
"text": "string
|
|
1380
|
+
"text": "string"
|
|
1203
1381
|
},
|
|
1204
|
-
"privacy": "
|
|
1382
|
+
"privacy": "protected",
|
|
1383
|
+
"default": "\"input\"",
|
|
1384
|
+
"inheritedFrom": {
|
|
1385
|
+
"name": "FormAssociatedMixin",
|
|
1386
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1387
|
+
}
|
|
1205
1388
|
},
|
|
1206
1389
|
{
|
|
1207
1390
|
"kind": "field",
|
|
1208
|
-
"name": "
|
|
1391
|
+
"name": "errorId",
|
|
1209
1392
|
"type": {
|
|
1210
1393
|
"text": "string"
|
|
1211
1394
|
},
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1395
|
+
"privacy": "protected",
|
|
1396
|
+
"default": "\"error\"",
|
|
1397
|
+
"inheritedFrom": {
|
|
1398
|
+
"name": "FormAssociatedMixin",
|
|
1399
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1400
|
+
}
|
|
1215
1401
|
},
|
|
1216
1402
|
{
|
|
1217
1403
|
"kind": "field",
|
|
1218
|
-
"name": "
|
|
1404
|
+
"name": "hintId",
|
|
1219
1405
|
"type": {
|
|
1220
|
-
"text": "
|
|
1406
|
+
"text": "string"
|
|
1221
1407
|
},
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1408
|
+
"privacy": "protected",
|
|
1409
|
+
"default": "\"hint\"",
|
|
1410
|
+
"inheritedFrom": {
|
|
1411
|
+
"name": "FormAssociatedMixin",
|
|
1412
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1413
|
+
}
|
|
1224
1414
|
},
|
|
1225
1415
|
{
|
|
1226
1416
|
"kind": "field",
|
|
1227
|
-
"name": "
|
|
1417
|
+
"name": "label",
|
|
1228
1418
|
"type": {
|
|
1229
1419
|
"text": "string"
|
|
1230
1420
|
},
|
|
1231
1421
|
"default": "\"\"",
|
|
1232
|
-
"description": "
|
|
1233
|
-
"attribute": "
|
|
1422
|
+
"description": "Label for the input.",
|
|
1423
|
+
"attribute": "label",
|
|
1424
|
+
"inheritedFrom": {
|
|
1425
|
+
"name": "FormAssociatedMixin",
|
|
1426
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1427
|
+
}
|
|
1234
1428
|
},
|
|
1235
1429
|
{
|
|
1236
1430
|
"kind": "field",
|
|
1237
|
-
"name": "
|
|
1431
|
+
"name": "hint",
|
|
1238
1432
|
"type": {
|
|
1239
|
-
"text": "string"
|
|
1433
|
+
"text": "string | undefined"
|
|
1240
1434
|
},
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1435
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
1436
|
+
"attribute": "hint",
|
|
1437
|
+
"inheritedFrom": {
|
|
1438
|
+
"name": "FormAssociatedMixin",
|
|
1439
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1440
|
+
}
|
|
1244
1441
|
},
|
|
1245
1442
|
{
|
|
1246
1443
|
"kind": "field",
|
|
1247
|
-
"name": "
|
|
1444
|
+
"name": "hideLabel",
|
|
1248
1445
|
"type": {
|
|
1249
1446
|
"text": "boolean"
|
|
1250
1447
|
},
|
|
1251
1448
|
"default": "false",
|
|
1252
|
-
"description": "
|
|
1253
|
-
"attribute": "
|
|
1254
|
-
"
|
|
1449
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1450
|
+
"attribute": "hide-label",
|
|
1451
|
+
"inheritedFrom": {
|
|
1452
|
+
"name": "FormAssociatedMixin",
|
|
1453
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1454
|
+
}
|
|
1255
1455
|
},
|
|
1256
1456
|
{
|
|
1257
1457
|
"kind": "field",
|
|
1258
|
-
"name": "
|
|
1458
|
+
"name": "placeholder",
|
|
1259
1459
|
"type": {
|
|
1260
|
-
"text": "
|
|
1460
|
+
"text": "string | undefined"
|
|
1261
1461
|
},
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1462
|
+
"description": "Placeholder text to display within the input.",
|
|
1463
|
+
"attribute": "placeholder",
|
|
1464
|
+
"inheritedFrom": {
|
|
1465
|
+
"name": "FormAssociatedMixin",
|
|
1466
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1467
|
+
}
|
|
1264
1468
|
},
|
|
1265
1469
|
{
|
|
1266
1470
|
"kind": "field",
|
|
1267
|
-
"name": "
|
|
1471
|
+
"name": "error",
|
|
1268
1472
|
"type": {
|
|
1269
|
-
"text": "
|
|
1473
|
+
"text": "string | undefined"
|
|
1270
1474
|
},
|
|
1271
|
-
"
|
|
1272
|
-
"
|
|
1475
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
1476
|
+
"attribute": "error",
|
|
1477
|
+
"inheritedFrom": {
|
|
1478
|
+
"name": "FormAssociatedMixin",
|
|
1479
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1480
|
+
}
|
|
1273
1481
|
},
|
|
1274
1482
|
{
|
|
1275
1483
|
"kind": "field",
|
|
1276
|
-
"name": "
|
|
1277
|
-
"
|
|
1278
|
-
|
|
1484
|
+
"name": "required",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "boolean"
|
|
1487
|
+
},
|
|
1488
|
+
"default": "false",
|
|
1489
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
1490
|
+
"attribute": "required",
|
|
1491
|
+
"inheritedFrom": {
|
|
1492
|
+
"name": "FormAssociatedMixin",
|
|
1493
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1494
|
+
}
|
|
1279
1495
|
},
|
|
1280
1496
|
{
|
|
1281
1497
|
"kind": "method",
|
|
1282
|
-
"name": "
|
|
1498
|
+
"name": "handleInput",
|
|
1499
|
+
"privacy": "protected",
|
|
1283
1500
|
"parameters": [
|
|
1284
1501
|
{
|
|
1285
|
-
"name": "
|
|
1286
|
-
"optional": true,
|
|
1502
|
+
"name": "e",
|
|
1287
1503
|
"type": {
|
|
1288
|
-
"text": "
|
|
1289
|
-
}
|
|
1290
|
-
"description": "An object which controls aspects of the focusing process."
|
|
1504
|
+
"text": "Event"
|
|
1505
|
+
}
|
|
1291
1506
|
}
|
|
1292
1507
|
],
|
|
1293
|
-
"
|
|
1508
|
+
"inheritedFrom": {
|
|
1509
|
+
"name": "FormAssociatedMixin",
|
|
1510
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1511
|
+
}
|
|
1294
1512
|
},
|
|
1295
1513
|
{
|
|
1296
1514
|
"kind": "method",
|
|
1297
|
-
"name": "
|
|
1298
|
-
"privacy": "protected"
|
|
1515
|
+
"name": "renderLabel",
|
|
1516
|
+
"privacy": "protected",
|
|
1517
|
+
"inheritedFrom": {
|
|
1518
|
+
"name": "FormAssociatedMixin",
|
|
1519
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1520
|
+
}
|
|
1299
1521
|
},
|
|
1300
1522
|
{
|
|
1301
1523
|
"kind": "method",
|
|
1302
|
-
"name": "
|
|
1303
|
-
"privacy": "protected"
|
|
1524
|
+
"name": "renderError",
|
|
1525
|
+
"privacy": "protected",
|
|
1526
|
+
"inheritedFrom": {
|
|
1527
|
+
"name": "FormAssociatedMixin",
|
|
1528
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1529
|
+
}
|
|
1304
1530
|
},
|
|
1305
1531
|
{
|
|
1306
1532
|
"kind": "method",
|
|
1307
|
-
"name": "
|
|
1308
|
-
"privacy": "
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
"privacy": "private"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"kind": "method",
|
|
1317
|
-
"name": "addDays",
|
|
1318
|
-
"privacy": "private",
|
|
1319
|
-
"parameters": [
|
|
1320
|
-
{
|
|
1321
|
-
"name": "days",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "number"
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
]
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"kind": "method",
|
|
1330
|
-
"name": "addMonths",
|
|
1331
|
-
"privacy": "private",
|
|
1332
|
-
"parameters": [
|
|
1333
|
-
{
|
|
1334
|
-
"name": "months",
|
|
1335
|
-
"type": {
|
|
1336
|
-
"text": "number"
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
]
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
"kind": "method",
|
|
1343
|
-
"name": "addYears",
|
|
1344
|
-
"privacy": "private",
|
|
1345
|
-
"parameters": [
|
|
1346
|
-
{
|
|
1347
|
-
"name": "years",
|
|
1348
|
-
"type": {
|
|
1349
|
-
"text": "number"
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
]
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"kind": "method",
|
|
1356
|
-
"name": "startOfWeek",
|
|
1357
|
-
"privacy": "private"
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
"kind": "method",
|
|
1361
|
-
"name": "endOfWeek",
|
|
1362
|
-
"privacy": "private"
|
|
1533
|
+
"name": "getDescribedBy",
|
|
1534
|
+
"privacy": "protected",
|
|
1535
|
+
"inheritedFrom": {
|
|
1536
|
+
"name": "FormAssociatedMixin",
|
|
1537
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1538
|
+
}
|
|
1363
1539
|
},
|
|
1364
1540
|
{
|
|
1365
1541
|
"kind": "method",
|
|
1366
|
-
"name": "
|
|
1367
|
-
"privacy": "
|
|
1368
|
-
"
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
"text": "number"
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
]
|
|
1542
|
+
"name": "getInvalid",
|
|
1543
|
+
"privacy": "protected",
|
|
1544
|
+
"inheritedFrom": {
|
|
1545
|
+
"name": "FormAssociatedMixin",
|
|
1546
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1547
|
+
}
|
|
1376
1548
|
},
|
|
1377
1549
|
{
|
|
1378
|
-
"kind": "
|
|
1379
|
-
"name": "
|
|
1380
|
-
"privacy": "
|
|
1381
|
-
"
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
"text": "number"
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
]
|
|
1550
|
+
"kind": "field",
|
|
1551
|
+
"name": "hasHint",
|
|
1552
|
+
"privacy": "protected",
|
|
1553
|
+
"inheritedFrom": {
|
|
1554
|
+
"name": "FormAssociatedMixin",
|
|
1555
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1556
|
+
}
|
|
1389
1557
|
},
|
|
1390
1558
|
{
|
|
1391
|
-
"kind": "
|
|
1392
|
-
"name": "
|
|
1393
|
-
"privacy": "
|
|
1394
|
-
"
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
"text": "Date"
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
]
|
|
1559
|
+
"kind": "field",
|
|
1560
|
+
"name": "hasError",
|
|
1561
|
+
"privacy": "protected",
|
|
1562
|
+
"inheritedFrom": {
|
|
1563
|
+
"name": "FormAssociatedMixin",
|
|
1564
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1565
|
+
}
|
|
1402
1566
|
},
|
|
1403
1567
|
{
|
|
1404
1568
|
"kind": "field",
|
|
1405
|
-
"name": "
|
|
1406
|
-
"
|
|
1569
|
+
"name": "disabled",
|
|
1570
|
+
"type": {
|
|
1571
|
+
"text": "boolean"
|
|
1572
|
+
},
|
|
1573
|
+
"default": "false",
|
|
1574
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
1575
|
+
"attribute": "disabled",
|
|
1576
|
+
"reflects": true,
|
|
1577
|
+
"inheritedFrom": {
|
|
1578
|
+
"name": "InputMixin",
|
|
1579
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1580
|
+
}
|
|
1407
1581
|
},
|
|
1408
1582
|
{
|
|
1409
1583
|
"kind": "field",
|
|
1410
|
-
"name": "
|
|
1411
|
-
"
|
|
1584
|
+
"name": "name",
|
|
1585
|
+
"type": {
|
|
1586
|
+
"text": "string | undefined"
|
|
1587
|
+
},
|
|
1588
|
+
"description": "The name of the form component.",
|
|
1589
|
+
"attribute": "name",
|
|
1590
|
+
"inheritedFrom": {
|
|
1591
|
+
"name": "InputMixin",
|
|
1592
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1593
|
+
}
|
|
1412
1594
|
},
|
|
1413
1595
|
{
|
|
1414
1596
|
"kind": "field",
|
|
1415
|
-
"name": "
|
|
1416
|
-
"
|
|
1597
|
+
"name": "value",
|
|
1598
|
+
"type": {
|
|
1599
|
+
"text": "string"
|
|
1600
|
+
},
|
|
1601
|
+
"default": "\"\"",
|
|
1602
|
+
"description": "The value of the form component.",
|
|
1603
|
+
"attribute": "value",
|
|
1604
|
+
"inheritedFrom": {
|
|
1605
|
+
"name": "InputMixin",
|
|
1606
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1607
|
+
}
|
|
1417
1608
|
},
|
|
1418
1609
|
{
|
|
1419
1610
|
"kind": "field",
|
|
1420
|
-
"name": "
|
|
1421
|
-
"
|
|
1611
|
+
"name": "form",
|
|
1612
|
+
"description": "Gets the form, if any, associated with the form element.",
|
|
1613
|
+
"inheritedFrom": {
|
|
1614
|
+
"name": "InputMixin",
|
|
1615
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1616
|
+
}
|
|
1422
1617
|
},
|
|
1423
1618
|
{
|
|
1424
1619
|
"kind": "field",
|
|
1425
|
-
"name": "
|
|
1426
|
-
"privacy": "
|
|
1620
|
+
"name": "focusableRef",
|
|
1621
|
+
"privacy": "protected",
|
|
1622
|
+
"inheritedFrom": {
|
|
1623
|
+
"name": "FocusableMixin",
|
|
1624
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1625
|
+
}
|
|
1427
1626
|
},
|
|
1428
1627
|
{
|
|
1429
|
-
"kind": "
|
|
1430
|
-
"name": "
|
|
1431
|
-
"
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1628
|
+
"kind": "method",
|
|
1629
|
+
"name": "focus",
|
|
1630
|
+
"parameters": [
|
|
1631
|
+
{
|
|
1632
|
+
"name": "options",
|
|
1633
|
+
"optional": true,
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": "FocusOptions"
|
|
1636
|
+
},
|
|
1637
|
+
"description": "An object which controls aspects of the focusing process."
|
|
1638
|
+
}
|
|
1639
|
+
],
|
|
1640
|
+
"description": "Programmatically move focus to the component.",
|
|
1641
|
+
"inheritedFrom": {
|
|
1642
|
+
"name": "FocusableMixin",
|
|
1643
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1435
1646
|
{
|
|
1436
|
-
"
|
|
1437
|
-
"
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1647
|
+
"kind": "method",
|
|
1648
|
+
"name": "blur",
|
|
1649
|
+
"description": "Programmatically remove focus from the component.",
|
|
1650
|
+
"inheritedFrom": {
|
|
1651
|
+
"name": "FocusableMixin",
|
|
1652
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1653
|
+
}
|
|
1441
1654
|
},
|
|
1442
1655
|
{
|
|
1443
|
-
"
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
"
|
|
1447
|
-
|
|
1656
|
+
"kind": "method",
|
|
1657
|
+
"name": "click",
|
|
1658
|
+
"description": "Programmatically simulates a click on the component.",
|
|
1659
|
+
"inheritedFrom": {
|
|
1660
|
+
"name": "FocusableMixin",
|
|
1661
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1662
|
+
}
|
|
1448
1663
|
}
|
|
1449
1664
|
],
|
|
1450
1665
|
"attributes": [
|
|
1451
1666
|
{
|
|
1452
|
-
"name": "
|
|
1667
|
+
"name": "indeterminate",
|
|
1453
1668
|
"type": {
|
|
1454
|
-
"text": "
|
|
1669
|
+
"text": "boolean"
|
|
1455
1670
|
},
|
|
1456
|
-
"default": "
|
|
1457
|
-
"description": "
|
|
1458
|
-
"fieldName": "
|
|
1671
|
+
"default": "false",
|
|
1672
|
+
"description": "Controls whether the checkbox is in an indeterminate state.",
|
|
1673
|
+
"fieldName": "indeterminate"
|
|
1459
1674
|
},
|
|
1460
1675
|
{
|
|
1461
|
-
"name": "
|
|
1676
|
+
"name": "checked",
|
|
1462
1677
|
"type": {
|
|
1463
|
-
"text": "
|
|
1678
|
+
"text": "boolean"
|
|
1464
1679
|
},
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Controls whether the checkbox is checked or not.",
|
|
1682
|
+
"fieldName": "checked"
|
|
1467
1683
|
},
|
|
1468
1684
|
{
|
|
1469
|
-
"name": "
|
|
1685
|
+
"name": "label",
|
|
1470
1686
|
"type": {
|
|
1471
1687
|
"text": "string"
|
|
1472
1688
|
},
|
|
1473
1689
|
"default": "\"\"",
|
|
1474
|
-
"description": "
|
|
1475
|
-
"fieldName": "
|
|
1690
|
+
"description": "Label for the input.",
|
|
1691
|
+
"fieldName": "label",
|
|
1692
|
+
"inheritedFrom": {
|
|
1693
|
+
"name": "FormAssociatedMixin",
|
|
1694
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1695
|
+
}
|
|
1476
1696
|
},
|
|
1477
1697
|
{
|
|
1478
|
-
"name": "
|
|
1698
|
+
"name": "hint",
|
|
1479
1699
|
"type": {
|
|
1480
|
-
"text": "string"
|
|
1700
|
+
"text": "string | undefined"
|
|
1481
1701
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"
|
|
1484
|
-
"
|
|
1702
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
1703
|
+
"fieldName": "hint",
|
|
1704
|
+
"inheritedFrom": {
|
|
1705
|
+
"name": "FormAssociatedMixin",
|
|
1706
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1707
|
+
}
|
|
1485
1708
|
},
|
|
1486
1709
|
{
|
|
1487
|
-
"name": "
|
|
1710
|
+
"name": "hide-label",
|
|
1488
1711
|
"type": {
|
|
1489
1712
|
"text": "boolean"
|
|
1490
1713
|
},
|
|
1491
1714
|
"default": "false",
|
|
1492
|
-
"description": "
|
|
1493
|
-
"fieldName": "
|
|
1715
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1716
|
+
"fieldName": "hideLabel",
|
|
1717
|
+
"inheritedFrom": {
|
|
1718
|
+
"name": "FormAssociatedMixin",
|
|
1719
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "placeholder",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "string | undefined"
|
|
1726
|
+
},
|
|
1727
|
+
"description": "Placeholder text to display within the input.",
|
|
1728
|
+
"fieldName": "placeholder",
|
|
1729
|
+
"inheritedFrom": {
|
|
1730
|
+
"name": "FormAssociatedMixin",
|
|
1731
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "error",
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "string | undefined"
|
|
1738
|
+
},
|
|
1739
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
1740
|
+
"fieldName": "error",
|
|
1741
|
+
"inheritedFrom": {
|
|
1742
|
+
"name": "FormAssociatedMixin",
|
|
1743
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"name": "required",
|
|
1748
|
+
"type": {
|
|
1749
|
+
"text": "boolean"
|
|
1750
|
+
},
|
|
1751
|
+
"default": "false",
|
|
1752
|
+
"description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
|
|
1753
|
+
"fieldName": "required",
|
|
1754
|
+
"inheritedFrom": {
|
|
1755
|
+
"name": "FormAssociatedMixin",
|
|
1756
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"name": "disabled",
|
|
1761
|
+
"type": {
|
|
1762
|
+
"text": "boolean"
|
|
1763
|
+
},
|
|
1764
|
+
"default": "false",
|
|
1765
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
1766
|
+
"fieldName": "disabled",
|
|
1767
|
+
"inheritedFrom": {
|
|
1768
|
+
"name": "InputMixin",
|
|
1769
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"name": "name",
|
|
1774
|
+
"type": {
|
|
1775
|
+
"text": "string | undefined"
|
|
1776
|
+
},
|
|
1777
|
+
"description": "The name of the form component.",
|
|
1778
|
+
"fieldName": "name",
|
|
1779
|
+
"inheritedFrom": {
|
|
1780
|
+
"name": "InputMixin",
|
|
1781
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "value",
|
|
1786
|
+
"type": {
|
|
1787
|
+
"text": "string"
|
|
1788
|
+
},
|
|
1789
|
+
"default": "\"\"",
|
|
1790
|
+
"description": "The value of the form component.",
|
|
1791
|
+
"fieldName": "value",
|
|
1792
|
+
"inheritedFrom": {
|
|
1793
|
+
"name": "InputMixin",
|
|
1794
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
],
|
|
1798
|
+
"mixins": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "FormAssociatedMixin",
|
|
1801
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"name": "InputMixin",
|
|
1805
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"name": "FocusableMixin",
|
|
1809
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
1494
1810
|
}
|
|
1495
1811
|
],
|
|
1496
1812
|
"superclass": {
|
|
@@ -1498,107 +1814,31 @@
|
|
|
1498
1814
|
"package": "lit"
|
|
1499
1815
|
},
|
|
1500
1816
|
"status": "ready",
|
|
1501
|
-
"category": "
|
|
1817
|
+
"category": "form",
|
|
1502
1818
|
"displayName": null,
|
|
1503
|
-
"tagName": "nord-
|
|
1504
|
-
"customElement": true
|
|
1505
|
-
|
|
1506
|
-
],
|
|
1507
|
-
"exports": [
|
|
1508
|
-
{
|
|
1509
|
-
"kind": "js",
|
|
1510
|
-
"name": "default",
|
|
1511
|
-
"declaration": {
|
|
1512
|
-
"name": "Calendar",
|
|
1513
|
-
"module": "src/calendar/Calendar.ts"
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
"kind": "custom-element-definition",
|
|
1518
|
-
"name": "nord-calendar",
|
|
1519
|
-
"declaration": {
|
|
1520
|
-
"name": "Calendar",
|
|
1521
|
-
"module": "src/calendar/Calendar.ts"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
],
|
|
1525
|
-
"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"
|
|
1526
|
-
},
|
|
1527
|
-
{
|
|
1528
|
-
"kind": "javascript-module",
|
|
1529
|
-
"path": "src/calendar/DateSelectEvent.ts",
|
|
1530
|
-
"declarations": [
|
|
1531
|
-
{
|
|
1532
|
-
"kind": "class",
|
|
1533
|
-
"description": "",
|
|
1534
|
-
"name": "DateSelectEvent",
|
|
1535
|
-
"superclass": {
|
|
1536
|
-
"name": "NordEvent",
|
|
1537
|
-
"module": "/src/common/events.js"
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
],
|
|
1541
|
-
"exports": [
|
|
1542
|
-
{
|
|
1543
|
-
"kind": "js",
|
|
1544
|
-
"name": "DateSelectEvent",
|
|
1545
|
-
"declaration": {
|
|
1546
|
-
"name": "DateSelectEvent",
|
|
1547
|
-
"module": "src/calendar/DateSelectEvent.ts"
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
],
|
|
1551
|
-
"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"
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"kind": "javascript-module",
|
|
1555
|
-
"path": "src/calendar/localization.ts",
|
|
1556
|
-
"declarations": [
|
|
1557
|
-
{
|
|
1558
|
-
"kind": "variable",
|
|
1559
|
-
"name": "calendarLocalization",
|
|
1560
|
-
"type": {
|
|
1561
|
-
"text": "object"
|
|
1562
|
-
},
|
|
1563
|
-
"default": "{\n prevMonthLabel: \"Previous month\",\n nextMonthLabel: \"Next month\",\n monthSelectLabel: \"Month\",\n yearSelectLabel: \"Year\",\n}"
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
"exports": [
|
|
1567
|
-
{
|
|
1568
|
-
"kind": "js",
|
|
1569
|
-
"name": "default",
|
|
1570
|
-
"declaration": {
|
|
1571
|
-
"name": "calendarLocalization",
|
|
1572
|
-
"module": "src/calendar/localization.ts"
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"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"
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "javascript-module",
|
|
1580
|
-
"path": "src/calendar/month-view.ts",
|
|
1581
|
-
"declarations": [
|
|
1582
|
-
{
|
|
1583
|
-
"kind": "function",
|
|
1584
|
-
"name": "dayView",
|
|
1585
|
-
"parameters": [
|
|
1819
|
+
"tagName": "nord-checkbox",
|
|
1820
|
+
"customElement": true,
|
|
1821
|
+
"events": [
|
|
1586
1822
|
{
|
|
1587
|
-
"name": "
|
|
1823
|
+
"name": "input",
|
|
1588
1824
|
"type": {
|
|
1589
|
-
"text": "
|
|
1825
|
+
"text": "NordEvent"
|
|
1826
|
+
},
|
|
1827
|
+
"description": "Fired as the user types into the input.",
|
|
1828
|
+
"inheritedFrom": {
|
|
1829
|
+
"name": "FormAssociatedMixin",
|
|
1830
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1590
1831
|
}
|
|
1591
|
-
}
|
|
1592
|
-
]
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "function",
|
|
1596
|
-
"name": "monthView",
|
|
1597
|
-
"parameters": [
|
|
1832
|
+
},
|
|
1598
1833
|
{
|
|
1599
|
-
"name": "
|
|
1834
|
+
"name": "change",
|
|
1600
1835
|
"type": {
|
|
1601
|
-
"text": "
|
|
1836
|
+
"text": "NordEvent"
|
|
1837
|
+
},
|
|
1838
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
1839
|
+
"inheritedFrom": {
|
|
1840
|
+
"name": "FormAssociatedMixin",
|
|
1841
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1602
1842
|
}
|
|
1603
1843
|
}
|
|
1604
1844
|
]
|
|
@@ -1607,146 +1847,47 @@
|
|
|
1607
1847
|
"exports": [
|
|
1608
1848
|
{
|
|
1609
1849
|
"kind": "js",
|
|
1610
|
-
"name": "
|
|
1850
|
+
"name": "default",
|
|
1611
1851
|
"declaration": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/
|
|
1852
|
+
"name": "Checkbox",
|
|
1853
|
+
"module": "src/checkbox/Checkbox.ts"
|
|
1614
1854
|
}
|
|
1615
1855
|
},
|
|
1616
1856
|
{
|
|
1617
|
-
"kind": "
|
|
1618
|
-
"name": "
|
|
1857
|
+
"kind": "custom-element-definition",
|
|
1858
|
+
"name": "nord-checkbox",
|
|
1619
1859
|
"declaration": {
|
|
1620
|
-
"name": "
|
|
1621
|
-
"module": "src/
|
|
1860
|
+
"name": "Checkbox",
|
|
1861
|
+
"module": "src/checkbox/Checkbox.ts"
|
|
1622
1862
|
}
|
|
1623
1863
|
}
|
|
1624
1864
|
],
|
|
1625
|
-
"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
|
|
1865
|
+
"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 for making it possible to choose one or more options from a limited number of options.\n- Use for “accepting terms of service” and similar functionality.\n- Use in forms to toggle something on or off.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Avoid using when you have more than 10 options to choose from.\n- Don’t change the selection of another checkbox when another one is clicked. Only exception is when a checkbox is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nCheckbox labels should be clear, accurate and predictable. It should be possible for the user to understand what they are selecting:\n\n<div class=\"n-usage n-usage-do\">User settings</div>\n<div class=\"n-usage n-usage-dont\">Option 1</div>\n\nWhen writing checkbox 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\">User settings</div>\n<div class=\"n-usage n-usage-dont\">User Settings</div>\n\nAvoid ending in punctuation if it’s a single sentence, word, or a fragment:\n\n<div class=\"n-usage n-usage-do\">Show dashboard</div>\n<div class=\"n-usage n-usage-dont\">Show dashboard.</div>\n\nDo not use commas or semicolons at the end of each line\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients;</div>\n"
|
|
1626
1866
|
},
|
|
1627
1867
|
{
|
|
1628
1868
|
"kind": "javascript-module",
|
|
1629
|
-
"path": "src/
|
|
1869
|
+
"path": "src/command-menu/CommandMenu.ts",
|
|
1630
1870
|
"declarations": [
|
|
1631
1871
|
{
|
|
1632
1872
|
"kind": "class",
|
|
1633
|
-
"description": "
|
|
1634
|
-
"name": "
|
|
1873
|
+
"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.",
|
|
1874
|
+
"name": "CommandMenu",
|
|
1635
1875
|
"slots": [
|
|
1636
1876
|
{
|
|
1637
|
-
"description": "
|
|
1638
|
-
"name": ""
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"description": "Optional slot that holds a header for the card.",
|
|
1642
|
-
"name": "header"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
"description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
|
|
1646
|
-
"name": "header-end"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"description": "Optional slot that holds footer content for the card.",
|
|
1877
|
+
"description": "Used to replace the default footer contents.",
|
|
1650
1878
|
"name": "footer"
|
|
1651
1879
|
}
|
|
1652
1880
|
],
|
|
1653
1881
|
"members": [
|
|
1654
1882
|
{
|
|
1655
1883
|
"kind": "field",
|
|
1656
|
-
"name": "
|
|
1657
|
-
"privacy": "private"
|
|
1658
|
-
"default": "new SlotController(this, \"header\")"
|
|
1884
|
+
"name": "inputRef",
|
|
1885
|
+
"privacy": "private"
|
|
1659
1886
|
},
|
|
1660
1887
|
{
|
|
1661
1888
|
"kind": "field",
|
|
1662
|
-
"name": "
|
|
1663
|
-
"privacy": "private"
|
|
1664
|
-
"default": "new SlotController(this, \"header-end\")"
|
|
1665
|
-
},
|
|
1666
|
-
{
|
|
1667
|
-
"kind": "field",
|
|
1668
|
-
"name": "footerSlot",
|
|
1669
|
-
"privacy": "private",
|
|
1670
|
-
"default": "new SlotController(this, \"footer\")"
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"kind": "field",
|
|
1674
|
-
"name": "padding",
|
|
1675
|
-
"type": {
|
|
1676
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1677
|
-
},
|
|
1678
|
-
"default": "\"m\"",
|
|
1679
|
-
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1680
|
-
"attribute": "padding",
|
|
1681
|
-
"reflects": true
|
|
1682
|
-
}
|
|
1683
|
-
],
|
|
1684
|
-
"attributes": [
|
|
1685
|
-
{
|
|
1686
|
-
"name": "padding",
|
|
1687
|
-
"type": {
|
|
1688
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
1689
|
-
},
|
|
1690
|
-
"default": "\"m\"",
|
|
1691
|
-
"description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1692
|
-
"fieldName": "padding"
|
|
1693
|
-
}
|
|
1694
|
-
],
|
|
1695
|
-
"superclass": {
|
|
1696
|
-
"name": "LitElement",
|
|
1697
|
-
"package": "lit"
|
|
1698
|
-
},
|
|
1699
|
-
"status": "ready",
|
|
1700
|
-
"category": "structure",
|
|
1701
|
-
"displayName": null,
|
|
1702
|
-
"tagName": "nord-card",
|
|
1703
|
-
"customElement": true
|
|
1704
|
-
}
|
|
1705
|
-
],
|
|
1706
|
-
"exports": [
|
|
1707
|
-
{
|
|
1708
|
-
"kind": "js",
|
|
1709
|
-
"name": "default",
|
|
1710
|
-
"declaration": {
|
|
1711
|
-
"name": "Card",
|
|
1712
|
-
"module": "src/card/Card.ts"
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"kind": "custom-element-definition",
|
|
1717
|
-
"name": "nord-card",
|
|
1718
|
-
"declaration": {
|
|
1719
|
-
"name": "Card",
|
|
1720
|
-
"module": "src/card/Card.ts"
|
|
1721
|
-
}
|
|
1722
|
-
}
|
|
1723
|
-
],
|
|
1724
|
-
"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"
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "javascript-module",
|
|
1728
|
-
"path": "src/command-menu/CommandMenu.ts",
|
|
1729
|
-
"declarations": [
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "class",
|
|
1732
|
-
"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.",
|
|
1733
|
-
"name": "CommandMenu",
|
|
1734
|
-
"slots": [
|
|
1735
|
-
{
|
|
1736
|
-
"description": "Used to replace the default footer contents.",
|
|
1737
|
-
"name": "footer"
|
|
1738
|
-
}
|
|
1739
|
-
],
|
|
1740
|
-
"members": [
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "field",
|
|
1743
|
-
"name": "inputRef",
|
|
1744
|
-
"privacy": "private"
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
"kind": "field",
|
|
1748
|
-
"name": "listRef",
|
|
1749
|
-
"privacy": "private"
|
|
1889
|
+
"name": "listRef",
|
|
1890
|
+
"privacy": "private"
|
|
1750
1891
|
},
|
|
1751
1892
|
{
|
|
1752
1893
|
"kind": "field",
|
|
@@ -1807,7 +1948,7 @@
|
|
|
1807
1948
|
"kind": "field",
|
|
1808
1949
|
"name": "parent",
|
|
1809
1950
|
"type": {
|
|
1810
|
-
"text": "
|
|
1951
|
+
"text": "ICommandMenuAction[\"parent\"]"
|
|
1811
1952
|
},
|
|
1812
1953
|
"privacy": "private"
|
|
1813
1954
|
},
|
|
@@ -1995,7 +2136,7 @@
|
|
|
1995
2136
|
"name": "parent",
|
|
1996
2137
|
"optional": true,
|
|
1997
2138
|
"type": {
|
|
1998
|
-
"text": "
|
|
2139
|
+
"text": "ICommandMenuAction[\"parent\"]"
|
|
1999
2140
|
}
|
|
2000
2141
|
}
|
|
2001
2142
|
]
|
|
@@ -2316,308 +2457,211 @@
|
|
|
2316
2457
|
},
|
|
2317
2458
|
{
|
|
2318
2459
|
"kind": "javascript-module",
|
|
2319
|
-
"path": "src/
|
|
2460
|
+
"path": "src/button/Button.ts",
|
|
2320
2461
|
"declarations": [
|
|
2321
2462
|
{
|
|
2322
2463
|
"kind": "class",
|
|
2323
|
-
"description": "
|
|
2324
|
-
"name": "
|
|
2464
|
+
"description": "Buttons are used for interface actions. Primary style should be\nused only once per section for main call-to-action, while other\nstyles can appear more frequently.",
|
|
2465
|
+
"name": "Button",
|
|
2325
2466
|
"slots": [
|
|
2326
2467
|
{
|
|
2327
|
-
"description": "
|
|
2328
|
-
"name": "
|
|
2468
|
+
"description": "The button content",
|
|
2469
|
+
"name": ""
|
|
2329
2470
|
},
|
|
2330
2471
|
{
|
|
2331
|
-
"description": "
|
|
2332
|
-
"name": "
|
|
2472
|
+
"description": "Used to place content at the start of button text. Typically used for icons.",
|
|
2473
|
+
"name": "start"
|
|
2333
2474
|
},
|
|
2334
2475
|
{
|
|
2335
|
-
"description": "
|
|
2336
|
-
"name": "
|
|
2476
|
+
"description": "Used to place content at the end of button text. Typically used for icons.",
|
|
2477
|
+
"name": "end"
|
|
2337
2478
|
}
|
|
2338
2479
|
],
|
|
2339
2480
|
"members": [
|
|
2340
2481
|
{
|
|
2341
2482
|
"kind": "field",
|
|
2342
|
-
"name": "
|
|
2343
|
-
"privacy": "
|
|
2344
|
-
"inheritedFrom": {
|
|
2345
|
-
"name": "FormAssociatedMixin",
|
|
2346
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2347
|
-
}
|
|
2483
|
+
"name": "buttonRef",
|
|
2484
|
+
"privacy": "private"
|
|
2348
2485
|
},
|
|
2349
2486
|
{
|
|
2350
2487
|
"kind": "field",
|
|
2351
|
-
"name": "
|
|
2352
|
-
"
|
|
2353
|
-
|
|
2354
|
-
},
|
|
2355
|
-
"default": "false",
|
|
2356
|
-
"description": "Controls whether the checkbox is in an indeterminate state.",
|
|
2357
|
-
"attribute": "indeterminate"
|
|
2488
|
+
"name": "events",
|
|
2489
|
+
"privacy": "private",
|
|
2490
|
+
"default": "new EventController(this)"
|
|
2358
2491
|
},
|
|
2359
2492
|
{
|
|
2360
2493
|
"kind": "field",
|
|
2361
|
-
"name": "
|
|
2362
|
-
"
|
|
2363
|
-
|
|
2364
|
-
},
|
|
2365
|
-
"default": "false",
|
|
2366
|
-
"description": "Controls whether the checkbox is checked or not.",
|
|
2367
|
-
"attribute": "checked"
|
|
2494
|
+
"name": "lightDom",
|
|
2495
|
+
"privacy": "private",
|
|
2496
|
+
"default": "new LightDomController(this, {\n render: () => this.renderLightDom(),\n })"
|
|
2368
2497
|
},
|
|
2369
2498
|
{
|
|
2370
|
-
"kind": "
|
|
2371
|
-
"name": "
|
|
2372
|
-
"
|
|
2373
|
-
|
|
2374
|
-
{
|
|
2375
|
-
"name": "e",
|
|
2376
|
-
"type": {
|
|
2377
|
-
"text": "Event"
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
],
|
|
2381
|
-
"return": {
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "void"
|
|
2384
|
-
}
|
|
2499
|
+
"kind": "field",
|
|
2500
|
+
"name": "variant",
|
|
2501
|
+
"type": {
|
|
2502
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\" | \"switch\""
|
|
2385
2503
|
},
|
|
2386
|
-
"
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2504
|
+
"default": "\"default\"",
|
|
2505
|
+
"description": "The style variant of the button.",
|
|
2506
|
+
"attribute": "variant",
|
|
2507
|
+
"reflects": true
|
|
2390
2508
|
},
|
|
2391
2509
|
{
|
|
2392
2510
|
"kind": "field",
|
|
2393
|
-
"name": "
|
|
2394
|
-
"
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2511
|
+
"name": "type",
|
|
2512
|
+
"type": {
|
|
2513
|
+
"text": "\"button\" | \"submit\" | \"reset\""
|
|
2514
|
+
},
|
|
2515
|
+
"default": "\"submit\"",
|
|
2516
|
+
"description": "The type of the button.",
|
|
2517
|
+
"attribute": "type",
|
|
2518
|
+
"reflects": true
|
|
2400
2519
|
},
|
|
2401
2520
|
{
|
|
2402
2521
|
"kind": "field",
|
|
2403
|
-
"name": "
|
|
2404
|
-
"
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2522
|
+
"name": "size",
|
|
2523
|
+
"type": {
|
|
2524
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
2525
|
+
},
|
|
2526
|
+
"default": "\"m\"",
|
|
2527
|
+
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
2528
|
+
"attribute": "size",
|
|
2529
|
+
"reflects": true
|
|
2410
2530
|
},
|
|
2411
2531
|
{
|
|
2412
2532
|
"kind": "field",
|
|
2413
|
-
"name": "
|
|
2414
|
-
"
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
}
|
|
2533
|
+
"name": "accessibleExpanded",
|
|
2534
|
+
"type": {
|
|
2535
|
+
"text": "\"true\" | \"false\" | undefined"
|
|
2536
|
+
},
|
|
2537
|
+
"privacy": "private",
|
|
2538
|
+
"attribute": "aria-expanded"
|
|
2420
2539
|
},
|
|
2421
2540
|
{
|
|
2422
2541
|
"kind": "field",
|
|
2423
|
-
"name": "
|
|
2424
|
-
"
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
}
|
|
2542
|
+
"name": "accessibleHasPopup",
|
|
2543
|
+
"type": {
|
|
2544
|
+
"text": "| \"false\"\n | \"true\"\n | \"menu\"\n | \"listbox\"\n | \"tree\"\n | \"grid\"\n | \"dialog\" | undefined"
|
|
2545
|
+
},
|
|
2546
|
+
"privacy": "private",
|
|
2547
|
+
"attribute": "aria-haspopup"
|
|
2430
2548
|
},
|
|
2431
2549
|
{
|
|
2432
2550
|
"kind": "field",
|
|
2433
|
-
"name": "
|
|
2551
|
+
"name": "href",
|
|
2434
2552
|
"type": {
|
|
2435
|
-
"text": "string"
|
|
2553
|
+
"text": "string | undefined"
|
|
2436
2554
|
},
|
|
2437
|
-
"
|
|
2438
|
-
"
|
|
2439
|
-
"
|
|
2440
|
-
"name": "FormAssociatedMixin",
|
|
2441
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2442
|
-
}
|
|
2555
|
+
"description": "When provided, renders the button as a link,\nwith its href attribute set to the given value.",
|
|
2556
|
+
"attribute": "href",
|
|
2557
|
+
"reflects": true
|
|
2443
2558
|
},
|
|
2444
2559
|
{
|
|
2445
2560
|
"kind": "field",
|
|
2446
|
-
"name": "
|
|
2561
|
+
"name": "download",
|
|
2447
2562
|
"type": {
|
|
2448
|
-
"text": "
|
|
2563
|
+
"text": "boolean"
|
|
2449
2564
|
},
|
|
2450
|
-
"
|
|
2451
|
-
"
|
|
2452
|
-
"
|
|
2453
|
-
"name": "FormAssociatedMixin",
|
|
2454
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2455
|
-
}
|
|
2565
|
+
"default": "false",
|
|
2566
|
+
"description": "When provided together with a href property, the button will\ntrigger a file download instead of a page visit.",
|
|
2567
|
+
"attribute": "download"
|
|
2456
2568
|
},
|
|
2457
2569
|
{
|
|
2458
2570
|
"kind": "field",
|
|
2459
|
-
"name": "
|
|
2571
|
+
"name": "target",
|
|
2460
2572
|
"type": {
|
|
2461
|
-
"text": "
|
|
2573
|
+
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2462
2574
|
},
|
|
2463
|
-
"
|
|
2464
|
-
"
|
|
2465
|
-
"
|
|
2466
|
-
|
|
2467
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2468
|
-
}
|
|
2575
|
+
"default": "\"_self\"",
|
|
2576
|
+
"description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
|
|
2577
|
+
"attribute": "target",
|
|
2578
|
+
"reflects": true
|
|
2469
2579
|
},
|
|
2470
2580
|
{
|
|
2471
2581
|
"kind": "field",
|
|
2472
|
-
"name": "
|
|
2473
|
-
"type": {
|
|
2474
|
-
"text": "string"
|
|
2475
|
-
},
|
|
2476
|
-
"default": "\"\"",
|
|
2477
|
-
"description": "Label for the input.",
|
|
2478
|
-
"attribute": "label",
|
|
2479
|
-
"inheritedFrom": {
|
|
2480
|
-
"name": "FormAssociatedMixin",
|
|
2481
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2482
|
-
}
|
|
2483
|
-
},
|
|
2484
|
-
{
|
|
2485
|
-
"kind": "field",
|
|
2486
|
-
"name": "hint",
|
|
2487
|
-
"type": {
|
|
2488
|
-
"text": "string | undefined"
|
|
2489
|
-
},
|
|
2490
|
-
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2491
|
-
"attribute": "hint",
|
|
2492
|
-
"inheritedFrom": {
|
|
2493
|
-
"name": "FormAssociatedMixin",
|
|
2494
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2497
|
-
{
|
|
2498
|
-
"kind": "field",
|
|
2499
|
-
"name": "hideLabel",
|
|
2582
|
+
"name": "expand",
|
|
2500
2583
|
"type": {
|
|
2501
2584
|
"text": "boolean"
|
|
2502
2585
|
},
|
|
2503
2586
|
"default": "false",
|
|
2504
|
-
"description": "
|
|
2505
|
-
"attribute": "
|
|
2506
|
-
"
|
|
2507
|
-
"name": "FormAssociatedMixin",
|
|
2508
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"kind": "field",
|
|
2513
|
-
"name": "placeholder",
|
|
2514
|
-
"type": {
|
|
2515
|
-
"text": "string | undefined"
|
|
2516
|
-
},
|
|
2517
|
-
"description": "Placeholder text to display within the input.",
|
|
2518
|
-
"attribute": "placeholder",
|
|
2519
|
-
"inheritedFrom": {
|
|
2520
|
-
"name": "FormAssociatedMixin",
|
|
2521
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2522
|
-
}
|
|
2523
|
-
},
|
|
2524
|
-
{
|
|
2525
|
-
"kind": "field",
|
|
2526
|
-
"name": "error",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string | undefined"
|
|
2529
|
-
},
|
|
2530
|
-
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2531
|
-
"attribute": "error",
|
|
2532
|
-
"inheritedFrom": {
|
|
2533
|
-
"name": "FormAssociatedMixin",
|
|
2534
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2535
|
-
}
|
|
2587
|
+
"description": "Controls whether the button expands to fill the width of its container.",
|
|
2588
|
+
"attribute": "expand",
|
|
2589
|
+
"reflects": true
|
|
2536
2590
|
},
|
|
2537
2591
|
{
|
|
2538
2592
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2593
|
+
"name": "loading",
|
|
2540
2594
|
"type": {
|
|
2541
2595
|
"text": "boolean"
|
|
2542
2596
|
},
|
|
2543
2597
|
"default": "false",
|
|
2544
|
-
"description": "
|
|
2545
|
-
"attribute": "
|
|
2546
|
-
"
|
|
2547
|
-
"name": "FormAssociatedMixin",
|
|
2548
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2549
|
-
}
|
|
2598
|
+
"description": "Controls whether the button is in loading state. Please note that the spinner\nis hidden from assistive technologies, so you need to make sure to announce\nthe loading state to e.g. screen reader users. We also recommend disabling\nall user interactions on the button itself while in loading state.",
|
|
2599
|
+
"attribute": "loading",
|
|
2600
|
+
"reflects": true
|
|
2550
2601
|
},
|
|
2551
2602
|
{
|
|
2552
2603
|
"kind": "method",
|
|
2553
|
-
"name": "
|
|
2554
|
-
"privacy": "
|
|
2604
|
+
"name": "renderLink",
|
|
2605
|
+
"privacy": "private",
|
|
2555
2606
|
"parameters": [
|
|
2556
2607
|
{
|
|
2557
|
-
"name": "
|
|
2608
|
+
"name": "innards",
|
|
2558
2609
|
"type": {
|
|
2559
|
-
"text": "
|
|
2610
|
+
"text": "TemplateResult"
|
|
2560
2611
|
}
|
|
2561
2612
|
}
|
|
2562
2613
|
],
|
|
2563
|
-
"
|
|
2564
|
-
"name": "FormAssociatedMixin",
|
|
2565
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2566
|
-
}
|
|
2614
|
+
"description": "We jump through some hoops here to ensure the link is treated correctly when \"disabled\".\nLinks cannot be disabled natively, so we need to rely on some aria magic to get the correct semantics.\nAlong with the advice in the article below, we also set tabindex to \"-1\", so it is taken out of tab order."
|
|
2567
2615
|
},
|
|
2568
2616
|
{
|
|
2569
2617
|
"kind": "method",
|
|
2570
|
-
"name": "
|
|
2571
|
-
"privacy": "
|
|
2572
|
-
"
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2618
|
+
"name": "renderButton",
|
|
2619
|
+
"privacy": "private",
|
|
2620
|
+
"parameters": [
|
|
2621
|
+
{
|
|
2622
|
+
"name": "innards",
|
|
2623
|
+
"type": {
|
|
2624
|
+
"text": "TemplateResult"
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
]
|
|
2576
2628
|
},
|
|
2577
2629
|
{
|
|
2578
2630
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2580
|
-
"privacy": "
|
|
2581
|
-
"inheritedFrom": {
|
|
2582
|
-
"name": "FormAssociatedMixin",
|
|
2583
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2584
|
-
}
|
|
2631
|
+
"name": "renderLightDom",
|
|
2632
|
+
"privacy": "private"
|
|
2585
2633
|
},
|
|
2586
2634
|
{
|
|
2587
|
-
"kind": "
|
|
2588
|
-
"name": "
|
|
2589
|
-
"privacy": "
|
|
2590
|
-
"inheritedFrom": {
|
|
2591
|
-
"name": "FormAssociatedMixin",
|
|
2592
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2593
|
-
}
|
|
2635
|
+
"kind": "field",
|
|
2636
|
+
"name": "handleOuterClick",
|
|
2637
|
+
"privacy": "private"
|
|
2594
2638
|
},
|
|
2595
2639
|
{
|
|
2596
2640
|
"kind": "method",
|
|
2597
|
-
"name": "
|
|
2598
|
-
"privacy": "
|
|
2599
|
-
"
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
"privacy": "protected",
|
|
2608
|
-
"inheritedFrom": {
|
|
2609
|
-
"name": "FormAssociatedMixin",
|
|
2610
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2611
|
-
}
|
|
2641
|
+
"name": "handleClick",
|
|
2642
|
+
"privacy": "private",
|
|
2643
|
+
"parameters": [
|
|
2644
|
+
{
|
|
2645
|
+
"name": "e",
|
|
2646
|
+
"type": {
|
|
2647
|
+
"text": "Event"
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
]
|
|
2612
2651
|
},
|
|
2613
2652
|
{
|
|
2614
|
-
"kind": "
|
|
2615
|
-
"name": "
|
|
2616
|
-
"privacy": "
|
|
2617
|
-
"
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2653
|
+
"kind": "method",
|
|
2654
|
+
"name": "handleProxyChange",
|
|
2655
|
+
"privacy": "private",
|
|
2656
|
+
"parameters": [
|
|
2657
|
+
{
|
|
2658
|
+
"name": "e",
|
|
2659
|
+
"type": {
|
|
2660
|
+
"text": "Event"
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
],
|
|
2664
|
+
"description": "React/Vue etc may remove our proxy button when updating button text, since they are unaware of its existence.\nSo we listen for a slotchange event, and if the element is no longer connected to the DOM we add it back in."
|
|
2621
2665
|
},
|
|
2622
2666
|
{
|
|
2623
2667
|
"kind": "field",
|
|
@@ -2719,100 +2763,92 @@
|
|
|
2719
2763
|
],
|
|
2720
2764
|
"attributes": [
|
|
2721
2765
|
{
|
|
2722
|
-
"name": "
|
|
2723
|
-
"type": {
|
|
2724
|
-
"text": "boolean"
|
|
2725
|
-
},
|
|
2726
|
-
"default": "false",
|
|
2727
|
-
"description": "Controls whether the checkbox is in an indeterminate state.",
|
|
2728
|
-
"fieldName": "indeterminate"
|
|
2729
|
-
},
|
|
2730
|
-
{
|
|
2731
|
-
"name": "checked",
|
|
2766
|
+
"name": "variant",
|
|
2732
2767
|
"type": {
|
|
2733
|
-
"text": "
|
|
2768
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\" | \"switch\""
|
|
2734
2769
|
},
|
|
2735
|
-
"default": "
|
|
2736
|
-
"description": "
|
|
2737
|
-
"fieldName": "
|
|
2770
|
+
"default": "\"default\"",
|
|
2771
|
+
"description": "The style variant of the button.",
|
|
2772
|
+
"fieldName": "variant"
|
|
2738
2773
|
},
|
|
2739
2774
|
{
|
|
2740
|
-
"name": "
|
|
2775
|
+
"name": "type",
|
|
2741
2776
|
"type": {
|
|
2742
|
-
"text": "
|
|
2777
|
+
"text": "\"button\" | \"submit\" | \"reset\""
|
|
2743
2778
|
},
|
|
2744
|
-
"default": "\"\"",
|
|
2745
|
-
"description": "
|
|
2746
|
-
"fieldName": "
|
|
2747
|
-
"inheritedFrom": {
|
|
2748
|
-
"name": "FormAssociatedMixin",
|
|
2749
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2750
|
-
}
|
|
2779
|
+
"default": "\"submit\"",
|
|
2780
|
+
"description": "The type of the button.",
|
|
2781
|
+
"fieldName": "type"
|
|
2751
2782
|
},
|
|
2752
2783
|
{
|
|
2753
|
-
"name": "
|
|
2784
|
+
"name": "size",
|
|
2754
2785
|
"type": {
|
|
2755
|
-
"text": "
|
|
2786
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
2756
2787
|
},
|
|
2757
|
-
"
|
|
2758
|
-
"
|
|
2759
|
-
"
|
|
2760
|
-
"name": "FormAssociatedMixin",
|
|
2761
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2762
|
-
}
|
|
2788
|
+
"default": "\"m\"",
|
|
2789
|
+
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
2790
|
+
"fieldName": "size"
|
|
2763
2791
|
},
|
|
2764
2792
|
{
|
|
2765
|
-
"name": "
|
|
2793
|
+
"name": "aria-expanded",
|
|
2766
2794
|
"type": {
|
|
2767
|
-
"text": "
|
|
2795
|
+
"text": "\"true\" | \"false\" | undefined"
|
|
2768
2796
|
},
|
|
2769
|
-
"
|
|
2770
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2771
|
-
"fieldName": "hideLabel",
|
|
2772
|
-
"inheritedFrom": {
|
|
2773
|
-
"name": "FormAssociatedMixin",
|
|
2774
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2775
|
-
}
|
|
2797
|
+
"fieldName": "accessibleExpanded"
|
|
2776
2798
|
},
|
|
2777
2799
|
{
|
|
2778
|
-
"name": "
|
|
2800
|
+
"name": "aria-haspopup",
|
|
2779
2801
|
"type": {
|
|
2780
|
-
"text": "
|
|
2802
|
+
"text": "| \"false\"\n | \"true\"\n | \"menu\"\n | \"listbox\"\n | \"tree\"\n | \"grid\"\n | \"dialog\" | undefined"
|
|
2781
2803
|
},
|
|
2782
|
-
"
|
|
2783
|
-
"fieldName": "placeholder",
|
|
2784
|
-
"inheritedFrom": {
|
|
2785
|
-
"name": "FormAssociatedMixin",
|
|
2786
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2787
|
-
}
|
|
2804
|
+
"fieldName": "accessibleHasPopup"
|
|
2788
2805
|
},
|
|
2789
2806
|
{
|
|
2790
|
-
"name": "
|
|
2807
|
+
"name": "href",
|
|
2791
2808
|
"type": {
|
|
2792
2809
|
"text": "string | undefined"
|
|
2793
2810
|
},
|
|
2794
|
-
"description": "
|
|
2795
|
-
"fieldName": "
|
|
2796
|
-
"inheritedFrom": {
|
|
2797
|
-
"name": "FormAssociatedMixin",
|
|
2798
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2799
|
-
}
|
|
2811
|
+
"description": "When provided, renders the button as a link,\nwith its href attribute set to the given value.",
|
|
2812
|
+
"fieldName": "href"
|
|
2800
2813
|
},
|
|
2801
2814
|
{
|
|
2802
|
-
"name": "
|
|
2815
|
+
"name": "download",
|
|
2803
2816
|
"type": {
|
|
2804
2817
|
"text": "boolean"
|
|
2805
2818
|
},
|
|
2806
2819
|
"default": "false",
|
|
2807
|
-
"description": "
|
|
2808
|
-
"fieldName": "
|
|
2809
|
-
"inheritedFrom": {
|
|
2810
|
-
"name": "FormAssociatedMixin",
|
|
2811
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2812
|
-
}
|
|
2820
|
+
"description": "When provided together with a href property, the button will\ntrigger a file download instead of a page visit.",
|
|
2821
|
+
"fieldName": "download"
|
|
2813
2822
|
},
|
|
2814
2823
|
{
|
|
2815
|
-
"name": "
|
|
2824
|
+
"name": "target",
|
|
2825
|
+
"type": {
|
|
2826
|
+
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2827
|
+
},
|
|
2828
|
+
"default": "\"_self\"",
|
|
2829
|
+
"description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
|
|
2830
|
+
"fieldName": "target"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "expand",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "boolean"
|
|
2836
|
+
},
|
|
2837
|
+
"default": "false",
|
|
2838
|
+
"description": "Controls whether the button expands to fill the width of its container.",
|
|
2839
|
+
"fieldName": "expand"
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "loading",
|
|
2843
|
+
"type": {
|
|
2844
|
+
"text": "boolean"
|
|
2845
|
+
},
|
|
2846
|
+
"default": "false",
|
|
2847
|
+
"description": "Controls whether the button is in loading state. Please note that the spinner\nis hidden from assistive technologies, so you need to make sure to announce\nthe loading state to e.g. screen reader users. We also recommend disabling\nall user interactions on the button itself while in loading state.",
|
|
2848
|
+
"fieldName": "loading"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"name": "disabled",
|
|
2816
2852
|
"type": {
|
|
2817
2853
|
"text": "boolean"
|
|
2818
2854
|
},
|
|
@@ -2851,10 +2887,6 @@
|
|
|
2851
2887
|
}
|
|
2852
2888
|
],
|
|
2853
2889
|
"mixins": [
|
|
2854
|
-
{
|
|
2855
|
-
"name": "FormAssociatedMixin",
|
|
2856
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2857
|
-
},
|
|
2858
2890
|
{
|
|
2859
2891
|
"name": "InputMixin",
|
|
2860
2892
|
"module": "/src/common/mixins/InputMixin.js"
|
|
@@ -2869,34 +2901,10 @@
|
|
|
2869
2901
|
"package": "lit"
|
|
2870
2902
|
},
|
|
2871
2903
|
"status": "ready",
|
|
2872
|
-
"category": "
|
|
2904
|
+
"category": "action",
|
|
2873
2905
|
"displayName": null,
|
|
2874
|
-
"tagName": "nord-
|
|
2875
|
-
"customElement": true
|
|
2876
|
-
"events": [
|
|
2877
|
-
{
|
|
2878
|
-
"name": "input",
|
|
2879
|
-
"type": {
|
|
2880
|
-
"text": "NordEvent"
|
|
2881
|
-
},
|
|
2882
|
-
"description": "Fired as the user types into the input.",
|
|
2883
|
-
"inheritedFrom": {
|
|
2884
|
-
"name": "FormAssociatedMixin",
|
|
2885
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"name": "change",
|
|
2890
|
-
"type": {
|
|
2891
|
-
"text": "NordEvent"
|
|
2892
|
-
},
|
|
2893
|
-
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2894
|
-
"inheritedFrom": {
|
|
2895
|
-
"name": "FormAssociatedMixin",
|
|
2896
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2897
|
-
}
|
|
2898
|
-
}
|
|
2899
|
-
]
|
|
2906
|
+
"tagName": "nord-button",
|
|
2907
|
+
"customElement": true
|
|
2900
2908
|
}
|
|
2901
2909
|
],
|
|
2902
2910
|
"exports": [
|
|
@@ -2904,20 +2912,20 @@
|
|
|
2904
2912
|
"kind": "js",
|
|
2905
2913
|
"name": "default",
|
|
2906
2914
|
"declaration": {
|
|
2907
|
-
"name": "
|
|
2908
|
-
"module": "src/
|
|
2915
|
+
"name": "Button",
|
|
2916
|
+
"module": "src/button/Button.ts"
|
|
2909
2917
|
}
|
|
2910
2918
|
},
|
|
2911
2919
|
{
|
|
2912
2920
|
"kind": "custom-element-definition",
|
|
2913
|
-
"name": "nord-
|
|
2921
|
+
"name": "nord-button",
|
|
2914
2922
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/
|
|
2923
|
+
"name": "Button",
|
|
2924
|
+
"module": "src/button/Button.ts"
|
|
2917
2925
|
}
|
|
2918
2926
|
}
|
|
2919
2927
|
],
|
|
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 for
|
|
2928
|
+
"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"
|
|
2921
2929
|
},
|
|
2922
2930
|
{
|
|
2923
2931
|
"kind": "javascript-module",
|
|
@@ -5210,6 +5218,17 @@
|
|
|
5210
5218
|
"attribute": "expand",
|
|
5211
5219
|
"reflects": true
|
|
5212
5220
|
},
|
|
5221
|
+
{
|
|
5222
|
+
"kind": "field",
|
|
5223
|
+
"name": "size",
|
|
5224
|
+
"type": {
|
|
5225
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5226
|
+
},
|
|
5227
|
+
"default": "\"m\"",
|
|
5228
|
+
"description": "The size of the dropdown. This affects the minimum and maximum inline-size\nof the dropdown.",
|
|
5229
|
+
"attribute": "size",
|
|
5230
|
+
"reflects": true
|
|
5231
|
+
},
|
|
5213
5232
|
{
|
|
5214
5233
|
"kind": "method",
|
|
5215
5234
|
"name": "hide",
|
|
@@ -5271,6 +5290,15 @@
|
|
|
5271
5290
|
"default": "false",
|
|
5272
5291
|
"description": "Controls whether the toggle slot expands to fill the width of its container.",
|
|
5273
5292
|
"fieldName": "expand"
|
|
5293
|
+
},
|
|
5294
|
+
{
|
|
5295
|
+
"name": "size",
|
|
5296
|
+
"type": {
|
|
5297
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
5298
|
+
},
|
|
5299
|
+
"default": "\"m\"",
|
|
5300
|
+
"description": "The size of the dropdown. This affects the minimum and maximum inline-size\nof the dropdown.",
|
|
5301
|
+
"fieldName": "size"
|
|
5274
5302
|
}
|
|
5275
5303
|
],
|
|
5276
5304
|
"superclass": {
|
|
@@ -5302,7 +5330,7 @@
|
|
|
5302
5330
|
}
|
|
5303
5331
|
}
|
|
5304
5332
|
],
|
|
5305
|
-
"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- Dropdown menus are typically used when you have 5-15 items to choose from. They’re used for navigation or commands, where an action is initiated based on the selection.\n- When organizing dropdown menu items, sort the list in a logical order by putting the most selected option at the top.\n- Use for a “more” menu, where the control contains an icon.\n- Use for user profiles, where the control is an avatar.\n- Use in conjunction with the [dropdown item](/components/dropdown-item/) and [dropdown group](/components/dropdown-group/) components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for
|
|
5333
|
+
"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- Dropdown menus are typically used when you have 5-15 items to choose from. They’re used for navigation or commands, where an action is initiated based on the selection.\n- When organizing dropdown menu items, sort the list in a logical order by putting the most selected option at the top.\n- Use for a “more” menu, where the control contains an icon.\n- Use for user profiles, where the control is an avatar.\n- Use in conjunction with the [dropdown item](/components/dropdown-item/) and [dropdown group](/components/dropdown-group/) components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for form inputs or selects, use the [select component](/components/select/) or [input component](/components/input/) instead.\n- Don’t use for hiding primary actions since they should be visible by default.\n- Don’t nest elements or components other than the [dropdown item](/components/dropdown-item/) and [dropdown group](/components/dropdown-group/) components. Consider using the [popout component](/components/popout/) when creating custom UI.\n\n</div>\n\n---\n\n## Content guidelines\n\nDropdown items should be always written 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\">Create user</div>\n<div class=\"n-usage n-usage-dont\">Create User</div>\n\nDropdown items should always lead with a strong verb that encourages action. Use the `{verb}+{noun}` format except in the case of common actions like Save, Close or Cancel:\n\n<div class=\"n-usage n-usage-do\">Edit row</div>\n<div class=\"n-usage n-usage-dont\">Editing options</div>\n\nAvoid unnecessary words and articles in dropdown items, 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 dropdown items 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\nAvoid all caps for dropdown items:\n\n<div class=\"n-usage n-usage-do\">Rename</div>\n<div class=\"n-usage n-usage-dont\">RENAME</div>\n\nKeep dropdown items to a single line of text:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme<br/>of the veterinary application.</div>\n"
|
|
5306
5334
|
},
|
|
5307
5335
|
{
|
|
5308
5336
|
"kind": "javascript-module",
|
|
@@ -10041,9 +10069,9 @@
|
|
|
10041
10069
|
},
|
|
10042
10070
|
"default": "false",
|
|
10043
10071
|
"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).",
|
|
10072
|
+
"deprecated": true,
|
|
10044
10073
|
"attribute": "responsive",
|
|
10045
|
-
"reflects": true
|
|
10046
|
-
"deprecated": true
|
|
10074
|
+
"reflects": true
|
|
10047
10075
|
},
|
|
10048
10076
|
{
|
|
10049
10077
|
"kind": "field",
|
|
@@ -10102,6 +10130,7 @@
|
|
|
10102
10130
|
},
|
|
10103
10131
|
"default": "false",
|
|
10104
10132
|
"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).",
|
|
10133
|
+
"deprecated": "true",
|
|
10105
10134
|
"fieldName": "responsive"
|
|
10106
10135
|
},
|
|
10107
10136
|
{
|
|
@@ -13550,210 +13579,215 @@
|
|
|
13550
13579
|
},
|
|
13551
13580
|
{
|
|
13552
13581
|
"kind": "javascript-module",
|
|
13553
|
-
"path": "src/common/
|
|
13582
|
+
"path": "src/common/mixins/AutocompleteMixin.ts",
|
|
13554
13583
|
"declarations": [
|
|
13555
13584
|
{
|
|
13556
|
-
"kind": "
|
|
13557
|
-
"
|
|
13558
|
-
"
|
|
13559
|
-
|
|
13560
|
-
"text": "typeof value | typeof nothing"
|
|
13561
|
-
}
|
|
13562
|
-
},
|
|
13563
|
-
"parameters": [
|
|
13585
|
+
"kind": "class",
|
|
13586
|
+
"description": "",
|
|
13587
|
+
"name": "AutocompleteMixinInterface",
|
|
13588
|
+
"members": [
|
|
13564
13589
|
{
|
|
13565
|
-
"
|
|
13590
|
+
"kind": "field",
|
|
13591
|
+
"name": "autocomplete",
|
|
13566
13592
|
"type": {
|
|
13567
|
-
"text": "
|
|
13593
|
+
"text": "AutocompleteAttribute"
|
|
13568
13594
|
}
|
|
13569
13595
|
}
|
|
13570
|
-
]
|
|
13571
|
-
"description": "if value is truthy, return it, otherwise return nothing"
|
|
13596
|
+
]
|
|
13572
13597
|
},
|
|
13573
13598
|
{
|
|
13574
|
-
"kind": "
|
|
13575
|
-
"
|
|
13576
|
-
"
|
|
13577
|
-
|
|
13578
|
-
"text": "typeof trueCase | typeof nothing"
|
|
13579
|
-
}
|
|
13580
|
-
},
|
|
13581
|
-
"parameters": [
|
|
13599
|
+
"kind": "mixin",
|
|
13600
|
+
"description": "",
|
|
13601
|
+
"name": "AutocompleteMixin",
|
|
13602
|
+
"members": [
|
|
13582
13603
|
{
|
|
13583
|
-
"
|
|
13604
|
+
"kind": "field",
|
|
13605
|
+
"name": "autocomplete",
|
|
13584
13606
|
"type": {
|
|
13585
|
-
"text": "
|
|
13586
|
-
}
|
|
13587
|
-
|
|
13607
|
+
"text": "AutocompleteAttribute"
|
|
13608
|
+
},
|
|
13609
|
+
"default": "\"off\"",
|
|
13610
|
+
"description": "Specifies the data type of the field, so that the browser may attempt to fill out the field automatically on behalf of the user.",
|
|
13611
|
+
"attribute": "autocomplete"
|
|
13612
|
+
}
|
|
13613
|
+
],
|
|
13614
|
+
"attributes": [
|
|
13588
13615
|
{
|
|
13589
|
-
"name": "
|
|
13616
|
+
"name": "autocomplete",
|
|
13590
13617
|
"type": {
|
|
13591
|
-
"text": "
|
|
13592
|
-
}
|
|
13618
|
+
"text": "AutocompleteAttribute"
|
|
13619
|
+
},
|
|
13620
|
+
"default": "\"off\"",
|
|
13621
|
+
"description": "Specifies the data type of the field, so that the browser may attempt to fill out the field automatically on behalf of the user.",
|
|
13622
|
+
"fieldName": "autocomplete"
|
|
13593
13623
|
}
|
|
13594
13624
|
],
|
|
13595
|
-
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
13596
|
-
},
|
|
13597
|
-
{
|
|
13598
|
-
"kind": "function",
|
|
13599
|
-
"name": "cond",
|
|
13600
|
-
"return": {
|
|
13601
|
-
"type": {
|
|
13602
|
-
"text": "typeof trueCase"
|
|
13603
|
-
}
|
|
13604
|
-
},
|
|
13605
13625
|
"parameters": [
|
|
13606
13626
|
{
|
|
13607
|
-
"name": "
|
|
13608
|
-
"type": {
|
|
13609
|
-
"text": "true"
|
|
13610
|
-
}
|
|
13611
|
-
},
|
|
13612
|
-
{
|
|
13613
|
-
"name": "trueCase",
|
|
13627
|
+
"name": "superClass",
|
|
13614
13628
|
"type": {
|
|
13615
|
-
"text": "
|
|
13629
|
+
"text": "T"
|
|
13616
13630
|
}
|
|
13617
13631
|
}
|
|
13618
|
-
]
|
|
13619
|
-
|
|
13632
|
+
]
|
|
13633
|
+
}
|
|
13634
|
+
],
|
|
13635
|
+
"exports": [
|
|
13636
|
+
{
|
|
13637
|
+
"kind": "js",
|
|
13638
|
+
"name": "AutocompleteMixinInterface",
|
|
13639
|
+
"declaration": {
|
|
13640
|
+
"name": "AutocompleteMixinInterface",
|
|
13641
|
+
"module": "src/common/mixins/AutocompleteMixin.ts"
|
|
13642
|
+
}
|
|
13620
13643
|
},
|
|
13621
13644
|
{
|
|
13622
|
-
"kind": "
|
|
13623
|
-
"name": "
|
|
13624
|
-
"
|
|
13625
|
-
"
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13645
|
+
"kind": "js",
|
|
13646
|
+
"name": "AutocompleteMixin",
|
|
13647
|
+
"declaration": {
|
|
13648
|
+
"name": "AutocompleteMixin",
|
|
13649
|
+
"module": "src/common/mixins/AutocompleteMixin.ts"
|
|
13650
|
+
}
|
|
13651
|
+
}
|
|
13652
|
+
]
|
|
13653
|
+
},
|
|
13654
|
+
{
|
|
13655
|
+
"kind": "javascript-module",
|
|
13656
|
+
"path": "src/common/mixins/DraftComponentMixin.ts",
|
|
13657
|
+
"declarations": [
|
|
13658
|
+
{
|
|
13659
|
+
"kind": "mixin",
|
|
13660
|
+
"description": "",
|
|
13661
|
+
"name": "DraftComponentMixin",
|
|
13662
|
+
"members": [
|
|
13636
13663
|
{
|
|
13637
|
-
"
|
|
13664
|
+
"kind": "field",
|
|
13665
|
+
"name": "_warningLogged",
|
|
13638
13666
|
"type": {
|
|
13639
|
-
"text": "
|
|
13640
|
-
}
|
|
13667
|
+
"text": "boolean"
|
|
13668
|
+
},
|
|
13669
|
+
"privacy": "private",
|
|
13670
|
+
"static": true,
|
|
13671
|
+
"default": "false"
|
|
13641
13672
|
}
|
|
13642
13673
|
],
|
|
13643
|
-
"description": "condition is false, to will always return nothing"
|
|
13644
|
-
},
|
|
13645
|
-
{
|
|
13646
|
-
"kind": "function",
|
|
13647
|
-
"name": "cond",
|
|
13648
|
-
"return": {
|
|
13649
|
-
"type": {
|
|
13650
|
-
"text": "typeof trueCase | typeof falseCase"
|
|
13651
|
-
}
|
|
13652
|
-
},
|
|
13653
13674
|
"parameters": [
|
|
13654
13675
|
{
|
|
13655
|
-
"name": "
|
|
13656
|
-
"type": {
|
|
13657
|
-
"text": "unknown"
|
|
13658
|
-
}
|
|
13659
|
-
},
|
|
13660
|
-
{
|
|
13661
|
-
"name": "trueCase",
|
|
13662
|
-
"type": {
|
|
13663
|
-
"text": "any"
|
|
13664
|
-
}
|
|
13665
|
-
},
|
|
13666
|
-
{
|
|
13667
|
-
"name": "falseCase",
|
|
13676
|
+
"name": "superClass",
|
|
13668
13677
|
"type": {
|
|
13669
|
-
"text": "
|
|
13678
|
+
"text": "T"
|
|
13670
13679
|
}
|
|
13671
13680
|
}
|
|
13672
|
-
]
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
"
|
|
13678
|
-
"
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
}
|
|
13683
|
-
|
|
13681
|
+
]
|
|
13682
|
+
}
|
|
13683
|
+
],
|
|
13684
|
+
"exports": [
|
|
13685
|
+
{
|
|
13686
|
+
"kind": "js",
|
|
13687
|
+
"name": "DraftComponentMixin",
|
|
13688
|
+
"declaration": {
|
|
13689
|
+
"name": "DraftComponentMixin",
|
|
13690
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
13691
|
+
}
|
|
13692
|
+
}
|
|
13693
|
+
]
|
|
13694
|
+
},
|
|
13695
|
+
{
|
|
13696
|
+
"kind": "javascript-module",
|
|
13697
|
+
"path": "src/common/mixins/FocusableMixin.ts",
|
|
13698
|
+
"declarations": [
|
|
13699
|
+
{
|
|
13700
|
+
"kind": "class",
|
|
13701
|
+
"description": "",
|
|
13702
|
+
"name": "FocusableMixinInterface",
|
|
13703
|
+
"members": [
|
|
13684
13704
|
{
|
|
13685
|
-
"
|
|
13705
|
+
"kind": "field",
|
|
13706
|
+
"name": "focusableRef",
|
|
13686
13707
|
"type": {
|
|
13687
|
-
"text": "
|
|
13688
|
-
}
|
|
13708
|
+
"text": "Ref<HTMLElement>"
|
|
13709
|
+
},
|
|
13710
|
+
"privacy": "protected"
|
|
13689
13711
|
},
|
|
13690
13712
|
{
|
|
13691
|
-
"
|
|
13692
|
-
"
|
|
13693
|
-
|
|
13713
|
+
"kind": "method",
|
|
13714
|
+
"name": "focus",
|
|
13715
|
+
"return": {
|
|
13716
|
+
"type": {
|
|
13717
|
+
"text": "void"
|
|
13718
|
+
}
|
|
13719
|
+
},
|
|
13720
|
+
"parameters": [
|
|
13721
|
+
{
|
|
13722
|
+
"name": "options",
|
|
13723
|
+
"optional": true,
|
|
13724
|
+
"type": {
|
|
13725
|
+
"text": "FocusOptions"
|
|
13726
|
+
}
|
|
13727
|
+
}
|
|
13728
|
+
]
|
|
13729
|
+
},
|
|
13730
|
+
{
|
|
13731
|
+
"kind": "method",
|
|
13732
|
+
"name": "blur",
|
|
13733
|
+
"return": {
|
|
13734
|
+
"type": {
|
|
13735
|
+
"text": "void"
|
|
13736
|
+
}
|
|
13694
13737
|
}
|
|
13695
13738
|
},
|
|
13696
13739
|
{
|
|
13697
|
-
"
|
|
13698
|
-
"
|
|
13699
|
-
|
|
13740
|
+
"kind": "method",
|
|
13741
|
+
"name": "click",
|
|
13742
|
+
"return": {
|
|
13743
|
+
"type": {
|
|
13744
|
+
"text": "void"
|
|
13745
|
+
}
|
|
13700
13746
|
}
|
|
13701
13747
|
}
|
|
13702
|
-
]
|
|
13703
|
-
"description": "condition is true, so always return trueCase"
|
|
13748
|
+
]
|
|
13704
13749
|
},
|
|
13705
13750
|
{
|
|
13706
|
-
"kind": "
|
|
13707
|
-
"
|
|
13708
|
-
"
|
|
13709
|
-
|
|
13710
|
-
"text": "typeof falseCase"
|
|
13711
|
-
}
|
|
13712
|
-
},
|
|
13713
|
-
"parameters": [
|
|
13751
|
+
"kind": "mixin",
|
|
13752
|
+
"description": "",
|
|
13753
|
+
"name": "FocusableMixin",
|
|
13754
|
+
"members": [
|
|
13714
13755
|
{
|
|
13715
|
-
"
|
|
13716
|
-
"
|
|
13717
|
-
|
|
13718
|
-
}
|
|
13756
|
+
"kind": "field",
|
|
13757
|
+
"name": "focusableRef",
|
|
13758
|
+
"privacy": "protected"
|
|
13719
13759
|
},
|
|
13720
13760
|
{
|
|
13721
|
-
"
|
|
13722
|
-
"
|
|
13723
|
-
|
|
13724
|
-
|
|
13761
|
+
"kind": "method",
|
|
13762
|
+
"name": "focus",
|
|
13763
|
+
"parameters": [
|
|
13764
|
+
{
|
|
13765
|
+
"name": "options",
|
|
13766
|
+
"optional": true,
|
|
13767
|
+
"type": {
|
|
13768
|
+
"text": "FocusOptions"
|
|
13769
|
+
},
|
|
13770
|
+
"description": "An object which controls aspects of the focusing process."
|
|
13771
|
+
}
|
|
13772
|
+
],
|
|
13773
|
+
"description": "Programmatically move focus to the component."
|
|
13725
13774
|
},
|
|
13726
13775
|
{
|
|
13727
|
-
"
|
|
13728
|
-
"
|
|
13729
|
-
|
|
13730
|
-
|
|
13776
|
+
"kind": "method",
|
|
13777
|
+
"name": "blur",
|
|
13778
|
+
"description": "Programmatically remove focus from the component."
|
|
13779
|
+
},
|
|
13780
|
+
{
|
|
13781
|
+
"kind": "method",
|
|
13782
|
+
"name": "click",
|
|
13783
|
+
"description": "Programmatically simulates a click on the component."
|
|
13731
13784
|
}
|
|
13732
13785
|
],
|
|
13733
|
-
"description": "condition is false, so always return falseCase"
|
|
13734
|
-
},
|
|
13735
|
-
{
|
|
13736
|
-
"kind": "function",
|
|
13737
|
-
"name": "cond",
|
|
13738
13786
|
"parameters": [
|
|
13739
13787
|
{
|
|
13740
|
-
"name": "
|
|
13741
|
-
"type": {
|
|
13742
|
-
"text": "unknown"
|
|
13743
|
-
}
|
|
13744
|
-
},
|
|
13745
|
-
{
|
|
13746
|
-
"name": "trueCase",
|
|
13747
|
-
"default": "condition",
|
|
13748
|
-
"type": {
|
|
13749
|
-
"text": "any"
|
|
13750
|
-
}
|
|
13751
|
-
},
|
|
13752
|
-
{
|
|
13753
|
-
"name": "falseCase",
|
|
13754
|
-
"default": "nothing",
|
|
13788
|
+
"name": "superClass",
|
|
13755
13789
|
"type": {
|
|
13756
|
-
"text": "
|
|
13790
|
+
"text": "T"
|
|
13757
13791
|
}
|
|
13758
13792
|
}
|
|
13759
13793
|
]
|
|
@@ -13762,603 +13796,164 @@
|
|
|
13762
13796
|
"exports": [
|
|
13763
13797
|
{
|
|
13764
13798
|
"kind": "js",
|
|
13765
|
-
"name": "
|
|
13766
|
-
"declaration": {
|
|
13767
|
-
"name": "cond",
|
|
13768
|
-
"module": "src/common/directives/cond.ts"
|
|
13769
|
-
}
|
|
13770
|
-
},
|
|
13771
|
-
{
|
|
13772
|
-
"kind": "js",
|
|
13773
|
-
"name": "cond",
|
|
13774
|
-
"declaration": {
|
|
13775
|
-
"name": "cond",
|
|
13776
|
-
"module": "src/common/directives/cond.ts"
|
|
13777
|
-
}
|
|
13778
|
-
},
|
|
13779
|
-
{
|
|
13780
|
-
"kind": "js",
|
|
13781
|
-
"name": "cond",
|
|
13782
|
-
"declaration": {
|
|
13783
|
-
"name": "cond",
|
|
13784
|
-
"module": "src/common/directives/cond.ts"
|
|
13785
|
-
}
|
|
13786
|
-
},
|
|
13787
|
-
{
|
|
13788
|
-
"kind": "js",
|
|
13789
|
-
"name": "cond",
|
|
13790
|
-
"declaration": {
|
|
13791
|
-
"name": "cond",
|
|
13792
|
-
"module": "src/common/directives/cond.ts"
|
|
13793
|
-
}
|
|
13794
|
-
},
|
|
13795
|
-
{
|
|
13796
|
-
"kind": "js",
|
|
13797
|
-
"name": "cond",
|
|
13798
|
-
"declaration": {
|
|
13799
|
-
"name": "cond",
|
|
13800
|
-
"module": "src/common/directives/cond.ts"
|
|
13801
|
-
}
|
|
13802
|
-
},
|
|
13803
|
-
{
|
|
13804
|
-
"kind": "js",
|
|
13805
|
-
"name": "cond",
|
|
13806
|
-
"declaration": {
|
|
13807
|
-
"name": "cond",
|
|
13808
|
-
"module": "src/common/directives/cond.ts"
|
|
13809
|
-
}
|
|
13810
|
-
},
|
|
13811
|
-
{
|
|
13812
|
-
"kind": "js",
|
|
13813
|
-
"name": "cond",
|
|
13799
|
+
"name": "FocusableMixinInterface",
|
|
13814
13800
|
"declaration": {
|
|
13815
|
-
"name": "
|
|
13816
|
-
"module": "src/common/
|
|
13801
|
+
"name": "FocusableMixinInterface",
|
|
13802
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
13817
13803
|
}
|
|
13818
13804
|
},
|
|
13819
13805
|
{
|
|
13820
13806
|
"kind": "js",
|
|
13821
|
-
"name": "
|
|
13807
|
+
"name": "FocusableMixin",
|
|
13822
13808
|
"declaration": {
|
|
13823
|
-
"name": "
|
|
13824
|
-
"module": "src/common/
|
|
13809
|
+
"name": "FocusableMixin",
|
|
13810
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
13825
13811
|
}
|
|
13826
13812
|
}
|
|
13827
13813
|
]
|
|
13828
13814
|
},
|
|
13829
13815
|
{
|
|
13830
13816
|
"kind": "javascript-module",
|
|
13831
|
-
"path": "src/common/
|
|
13817
|
+
"path": "src/common/mixins/FormAssociatedMixin.ts",
|
|
13832
13818
|
"declarations": [
|
|
13833
13819
|
{
|
|
13834
|
-
"kind": "
|
|
13835
|
-
"
|
|
13836
|
-
"
|
|
13837
|
-
|
|
13838
|
-
"text": "TInner"
|
|
13839
|
-
}
|
|
13840
|
-
},
|
|
13841
|
-
"parameters": [
|
|
13820
|
+
"kind": "class",
|
|
13821
|
+
"description": "",
|
|
13822
|
+
"name": "FormAssociatedMixinInterface",
|
|
13823
|
+
"members": [
|
|
13842
13824
|
{
|
|
13843
|
-
"
|
|
13825
|
+
"kind": "field",
|
|
13826
|
+
"name": "label",
|
|
13844
13827
|
"type": {
|
|
13845
|
-
"text": "
|
|
13828
|
+
"text": "string"
|
|
13846
13829
|
}
|
|
13847
13830
|
},
|
|
13848
13831
|
{
|
|
13849
|
-
"
|
|
13832
|
+
"kind": "field",
|
|
13833
|
+
"name": "required",
|
|
13850
13834
|
"type": {
|
|
13851
|
-
"text": "
|
|
13835
|
+
"text": "boolean"
|
|
13852
13836
|
}
|
|
13853
13837
|
},
|
|
13854
13838
|
{
|
|
13855
|
-
"
|
|
13839
|
+
"kind": "field",
|
|
13840
|
+
"name": "hint",
|
|
13856
13841
|
"type": {
|
|
13857
|
-
"text": "
|
|
13842
|
+
"text": "string | undefined"
|
|
13858
13843
|
}
|
|
13859
|
-
}
|
|
13860
|
-
]
|
|
13861
|
-
},
|
|
13862
|
-
{
|
|
13863
|
-
"kind": "function",
|
|
13864
|
-
"name": "wrapIf",
|
|
13865
|
-
"return": {
|
|
13866
|
-
"type": {
|
|
13867
|
-
"text": "TWrapper"
|
|
13868
|
-
}
|
|
13869
|
-
},
|
|
13870
|
-
"parameters": [
|
|
13844
|
+
},
|
|
13871
13845
|
{
|
|
13872
|
-
"
|
|
13846
|
+
"kind": "field",
|
|
13847
|
+
"name": "hideLabel",
|
|
13873
13848
|
"type": {
|
|
13874
|
-
"text": "
|
|
13849
|
+
"text": "boolean"
|
|
13875
13850
|
}
|
|
13876
13851
|
},
|
|
13877
13852
|
{
|
|
13878
|
-
"
|
|
13853
|
+
"kind": "field",
|
|
13854
|
+
"name": "placeholder",
|
|
13879
13855
|
"type": {
|
|
13880
|
-
"text": "
|
|
13856
|
+
"text": "string | undefined"
|
|
13881
13857
|
}
|
|
13882
13858
|
},
|
|
13883
13859
|
{
|
|
13884
|
-
"
|
|
13885
|
-
"
|
|
13886
|
-
"text": "(inner: TInner) => TWrapper"
|
|
13887
|
-
}
|
|
13888
|
-
}
|
|
13889
|
-
]
|
|
13890
|
-
},
|
|
13891
|
-
{
|
|
13892
|
-
"kind": "function",
|
|
13893
|
-
"name": "wrapIf",
|
|
13894
|
-
"return": {
|
|
13895
|
-
"type": {
|
|
13896
|
-
"text": "TInner | TWrapper"
|
|
13897
|
-
}
|
|
13898
|
-
},
|
|
13899
|
-
"parameters": [
|
|
13900
|
-
{
|
|
13901
|
-
"name": "condition",
|
|
13860
|
+
"kind": "field",
|
|
13861
|
+
"name": "error",
|
|
13902
13862
|
"type": {
|
|
13903
|
-
"text": "
|
|
13863
|
+
"text": "string | undefined"
|
|
13904
13864
|
}
|
|
13905
13865
|
},
|
|
13906
13866
|
{
|
|
13907
|
-
"
|
|
13867
|
+
"kind": "field",
|
|
13868
|
+
"name": "expand",
|
|
13908
13869
|
"type": {
|
|
13909
|
-
"text": "
|
|
13870
|
+
"text": "boolean"
|
|
13910
13871
|
}
|
|
13911
13872
|
},
|
|
13912
13873
|
{
|
|
13913
|
-
"
|
|
13874
|
+
"kind": "field",
|
|
13875
|
+
"name": "inputId",
|
|
13914
13876
|
"type": {
|
|
13915
|
-
"text": "
|
|
13916
|
-
}
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
},
|
|
13920
|
-
{
|
|
13921
|
-
"kind": "function",
|
|
13922
|
-
"name": "wrapIf",
|
|
13923
|
-
"parameters": [
|
|
13877
|
+
"text": "string"
|
|
13878
|
+
},
|
|
13879
|
+
"privacy": "protected"
|
|
13880
|
+
},
|
|
13924
13881
|
{
|
|
13925
|
-
"
|
|
13882
|
+
"kind": "field",
|
|
13883
|
+
"name": "errorId",
|
|
13926
13884
|
"type": {
|
|
13927
|
-
"text": "
|
|
13928
|
-
}
|
|
13885
|
+
"text": "string"
|
|
13886
|
+
},
|
|
13887
|
+
"privacy": "protected"
|
|
13929
13888
|
},
|
|
13930
13889
|
{
|
|
13931
|
-
"
|
|
13890
|
+
"kind": "field",
|
|
13891
|
+
"name": "hintId",
|
|
13932
13892
|
"type": {
|
|
13933
|
-
"text": "
|
|
13934
|
-
}
|
|
13893
|
+
"text": "string"
|
|
13894
|
+
},
|
|
13895
|
+
"privacy": "protected"
|
|
13935
13896
|
},
|
|
13936
13897
|
{
|
|
13937
|
-
"
|
|
13898
|
+
"kind": "field",
|
|
13899
|
+
"name": "labelSlot",
|
|
13938
13900
|
"type": {
|
|
13939
|
-
"text": "
|
|
13940
|
-
}
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
"return": {
|
|
13944
|
-
"type": {
|
|
13945
|
-
"text": ""
|
|
13946
|
-
}
|
|
13947
|
-
}
|
|
13948
|
-
}
|
|
13949
|
-
],
|
|
13950
|
-
"exports": [
|
|
13951
|
-
{
|
|
13952
|
-
"kind": "js",
|
|
13953
|
-
"name": "wrapIf",
|
|
13954
|
-
"declaration": {
|
|
13955
|
-
"name": "wrapIf",
|
|
13956
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
13957
|
-
}
|
|
13958
|
-
},
|
|
13959
|
-
{
|
|
13960
|
-
"kind": "js",
|
|
13961
|
-
"name": "wrapIf",
|
|
13962
|
-
"declaration": {
|
|
13963
|
-
"name": "wrapIf",
|
|
13964
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
13965
|
-
}
|
|
13966
|
-
},
|
|
13967
|
-
{
|
|
13968
|
-
"kind": "js",
|
|
13969
|
-
"name": "wrapIf",
|
|
13970
|
-
"declaration": {
|
|
13971
|
-
"name": "wrapIf",
|
|
13972
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
13973
|
-
}
|
|
13974
|
-
},
|
|
13975
|
-
{
|
|
13976
|
-
"kind": "js",
|
|
13977
|
-
"name": "wrapIf",
|
|
13978
|
-
"declaration": {
|
|
13979
|
-
"name": "wrapIf",
|
|
13980
|
-
"module": "src/common/directives/wrapIf.ts"
|
|
13981
|
-
}
|
|
13982
|
-
}
|
|
13983
|
-
]
|
|
13984
|
-
},
|
|
13985
|
-
{
|
|
13986
|
-
"kind": "javascript-module",
|
|
13987
|
-
"path": "src/common/mixins/AutocompleteMixin.ts",
|
|
13988
|
-
"declarations": [
|
|
13989
|
-
{
|
|
13990
|
-
"kind": "class",
|
|
13991
|
-
"description": "",
|
|
13992
|
-
"name": "AutocompleteMixinInterface",
|
|
13993
|
-
"members": [
|
|
13901
|
+
"text": "SlotController"
|
|
13902
|
+
},
|
|
13903
|
+
"privacy": "protected"
|
|
13904
|
+
},
|
|
13994
13905
|
{
|
|
13995
13906
|
"kind": "field",
|
|
13996
|
-
"name": "
|
|
13907
|
+
"name": "hintSlot",
|
|
13997
13908
|
"type": {
|
|
13998
|
-
"text": "
|
|
13999
|
-
}
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
},
|
|
14003
|
-
{
|
|
14004
|
-
"kind": "mixin",
|
|
14005
|
-
"description": "",
|
|
14006
|
-
"name": "AutocompleteMixin",
|
|
14007
|
-
"members": [
|
|
13909
|
+
"text": "SlotController"
|
|
13910
|
+
},
|
|
13911
|
+
"privacy": "protected"
|
|
13912
|
+
},
|
|
14008
13913
|
{
|
|
14009
13914
|
"kind": "field",
|
|
14010
|
-
"name": "
|
|
13915
|
+
"name": "errorSlot",
|
|
14011
13916
|
"type": {
|
|
14012
|
-
"text": "
|
|
13917
|
+
"text": "SlotController"
|
|
14013
13918
|
},
|
|
14014
|
-
"
|
|
14015
|
-
|
|
14016
|
-
"attribute": "autocomplete"
|
|
14017
|
-
}
|
|
14018
|
-
],
|
|
14019
|
-
"attributes": [
|
|
13919
|
+
"privacy": "protected"
|
|
13920
|
+
},
|
|
14020
13921
|
{
|
|
14021
|
-
"
|
|
13922
|
+
"kind": "field",
|
|
13923
|
+
"name": "formData",
|
|
14022
13924
|
"type": {
|
|
14023
|
-
"text": "
|
|
13925
|
+
"text": "FormDataController"
|
|
14024
13926
|
},
|
|
14025
|
-
"
|
|
14026
|
-
|
|
14027
|
-
"fieldName": "autocomplete"
|
|
14028
|
-
}
|
|
14029
|
-
],
|
|
14030
|
-
"parameters": [
|
|
13927
|
+
"privacy": "protected"
|
|
13928
|
+
},
|
|
14031
13929
|
{
|
|
14032
|
-
"
|
|
13930
|
+
"kind": "field",
|
|
13931
|
+
"name": "formValue",
|
|
14033
13932
|
"type": {
|
|
14034
|
-
"text": "
|
|
14035
|
-
}
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
}
|
|
14039
|
-
],
|
|
14040
|
-
"exports": [
|
|
14041
|
-
{
|
|
14042
|
-
"kind": "js",
|
|
14043
|
-
"name": "AutocompleteMixinInterface",
|
|
14044
|
-
"declaration": {
|
|
14045
|
-
"name": "AutocompleteMixinInterface",
|
|
14046
|
-
"module": "src/common/mixins/AutocompleteMixin.ts"
|
|
14047
|
-
}
|
|
14048
|
-
},
|
|
14049
|
-
{
|
|
14050
|
-
"kind": "js",
|
|
14051
|
-
"name": "AutocompleteMixin",
|
|
14052
|
-
"declaration": {
|
|
14053
|
-
"name": "AutocompleteMixin",
|
|
14054
|
-
"module": "src/common/mixins/AutocompleteMixin.ts"
|
|
14055
|
-
}
|
|
14056
|
-
}
|
|
14057
|
-
]
|
|
14058
|
-
},
|
|
14059
|
-
{
|
|
14060
|
-
"kind": "javascript-module",
|
|
14061
|
-
"path": "src/common/mixins/DraftComponentMixin.ts",
|
|
14062
|
-
"declarations": [
|
|
14063
|
-
{
|
|
14064
|
-
"kind": "mixin",
|
|
14065
|
-
"description": "",
|
|
14066
|
-
"name": "DraftComponentMixin",
|
|
14067
|
-
"members": [
|
|
13933
|
+
"text": "string | undefined"
|
|
13934
|
+
},
|
|
13935
|
+
"privacy": "protected"
|
|
13936
|
+
},
|
|
14068
13937
|
{
|
|
14069
13938
|
"kind": "field",
|
|
14070
|
-
"name": "
|
|
13939
|
+
"name": "hasError",
|
|
14071
13940
|
"type": {
|
|
14072
13941
|
"text": "boolean"
|
|
14073
13942
|
},
|
|
14074
|
-
"privacy": "
|
|
14075
|
-
|
|
14076
|
-
"default": "false"
|
|
14077
|
-
}
|
|
14078
|
-
],
|
|
14079
|
-
"parameters": [
|
|
14080
|
-
{
|
|
14081
|
-
"name": "superClass",
|
|
14082
|
-
"type": {
|
|
14083
|
-
"text": "T"
|
|
14084
|
-
}
|
|
14085
|
-
}
|
|
14086
|
-
]
|
|
14087
|
-
}
|
|
14088
|
-
],
|
|
14089
|
-
"exports": [
|
|
14090
|
-
{
|
|
14091
|
-
"kind": "js",
|
|
14092
|
-
"name": "DraftComponentMixin",
|
|
14093
|
-
"declaration": {
|
|
14094
|
-
"name": "DraftComponentMixin",
|
|
14095
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
14096
|
-
}
|
|
14097
|
-
}
|
|
14098
|
-
]
|
|
14099
|
-
},
|
|
14100
|
-
{
|
|
14101
|
-
"kind": "javascript-module",
|
|
14102
|
-
"path": "src/common/mixins/FocusableMixin.ts",
|
|
14103
|
-
"declarations": [
|
|
14104
|
-
{
|
|
14105
|
-
"kind": "class",
|
|
14106
|
-
"description": "",
|
|
14107
|
-
"name": "FocusableMixinInterface",
|
|
14108
|
-
"members": [
|
|
13943
|
+
"privacy": "protected"
|
|
13944
|
+
},
|
|
14109
13945
|
{
|
|
14110
13946
|
"kind": "field",
|
|
14111
|
-
"name": "
|
|
13947
|
+
"name": "hasHint",
|
|
14112
13948
|
"type": {
|
|
14113
|
-
"text": "
|
|
13949
|
+
"text": "boolean"
|
|
14114
13950
|
},
|
|
14115
13951
|
"privacy": "protected"
|
|
14116
13952
|
},
|
|
14117
13953
|
{
|
|
14118
13954
|
"kind": "method",
|
|
14119
|
-
"name": "
|
|
14120
|
-
"
|
|
14121
|
-
"type": {
|
|
14122
|
-
"text": "void"
|
|
14123
|
-
}
|
|
14124
|
-
},
|
|
14125
|
-
"parameters": [
|
|
14126
|
-
{
|
|
14127
|
-
"name": "options",
|
|
14128
|
-
"optional": true,
|
|
14129
|
-
"type": {
|
|
14130
|
-
"text": "FocusOptions"
|
|
14131
|
-
}
|
|
14132
|
-
}
|
|
14133
|
-
]
|
|
14134
|
-
},
|
|
14135
|
-
{
|
|
14136
|
-
"kind": "method",
|
|
14137
|
-
"name": "blur",
|
|
14138
|
-
"return": {
|
|
14139
|
-
"type": {
|
|
14140
|
-
"text": "void"
|
|
14141
|
-
}
|
|
14142
|
-
}
|
|
14143
|
-
},
|
|
14144
|
-
{
|
|
14145
|
-
"kind": "method",
|
|
14146
|
-
"name": "click",
|
|
14147
|
-
"return": {
|
|
14148
|
-
"type": {
|
|
14149
|
-
"text": "void"
|
|
14150
|
-
}
|
|
14151
|
-
}
|
|
14152
|
-
}
|
|
14153
|
-
]
|
|
14154
|
-
},
|
|
14155
|
-
{
|
|
14156
|
-
"kind": "mixin",
|
|
14157
|
-
"description": "",
|
|
14158
|
-
"name": "FocusableMixin",
|
|
14159
|
-
"members": [
|
|
14160
|
-
{
|
|
14161
|
-
"kind": "field",
|
|
14162
|
-
"name": "focusableRef",
|
|
14163
|
-
"privacy": "protected"
|
|
14164
|
-
},
|
|
14165
|
-
{
|
|
14166
|
-
"kind": "method",
|
|
14167
|
-
"name": "focus",
|
|
14168
|
-
"parameters": [
|
|
14169
|
-
{
|
|
14170
|
-
"name": "options",
|
|
14171
|
-
"optional": true,
|
|
14172
|
-
"type": {
|
|
14173
|
-
"text": "FocusOptions"
|
|
14174
|
-
},
|
|
14175
|
-
"description": "An object which controls aspects of the focusing process."
|
|
14176
|
-
}
|
|
14177
|
-
],
|
|
14178
|
-
"description": "Programmatically move focus to the component."
|
|
14179
|
-
},
|
|
14180
|
-
{
|
|
14181
|
-
"kind": "method",
|
|
14182
|
-
"name": "blur",
|
|
14183
|
-
"description": "Programmatically remove focus from the component."
|
|
14184
|
-
},
|
|
14185
|
-
{
|
|
14186
|
-
"kind": "method",
|
|
14187
|
-
"name": "click",
|
|
14188
|
-
"description": "Programmatically simulates a click on the component."
|
|
14189
|
-
}
|
|
14190
|
-
],
|
|
14191
|
-
"parameters": [
|
|
14192
|
-
{
|
|
14193
|
-
"name": "superClass",
|
|
14194
|
-
"type": {
|
|
14195
|
-
"text": "T"
|
|
14196
|
-
}
|
|
14197
|
-
}
|
|
14198
|
-
]
|
|
14199
|
-
}
|
|
14200
|
-
],
|
|
14201
|
-
"exports": [
|
|
14202
|
-
{
|
|
14203
|
-
"kind": "js",
|
|
14204
|
-
"name": "FocusableMixinInterface",
|
|
14205
|
-
"declaration": {
|
|
14206
|
-
"name": "FocusableMixinInterface",
|
|
14207
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
14208
|
-
}
|
|
14209
|
-
},
|
|
14210
|
-
{
|
|
14211
|
-
"kind": "js",
|
|
14212
|
-
"name": "FocusableMixin",
|
|
14213
|
-
"declaration": {
|
|
14214
|
-
"name": "FocusableMixin",
|
|
14215
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
14216
|
-
}
|
|
14217
|
-
}
|
|
14218
|
-
]
|
|
14219
|
-
},
|
|
14220
|
-
{
|
|
14221
|
-
"kind": "javascript-module",
|
|
14222
|
-
"path": "src/common/mixins/FormAssociatedMixin.ts",
|
|
14223
|
-
"declarations": [
|
|
14224
|
-
{
|
|
14225
|
-
"kind": "class",
|
|
14226
|
-
"description": "",
|
|
14227
|
-
"name": "FormAssociatedMixinInterface",
|
|
14228
|
-
"members": [
|
|
14229
|
-
{
|
|
14230
|
-
"kind": "field",
|
|
14231
|
-
"name": "label",
|
|
14232
|
-
"type": {
|
|
14233
|
-
"text": "string"
|
|
14234
|
-
}
|
|
14235
|
-
},
|
|
14236
|
-
{
|
|
14237
|
-
"kind": "field",
|
|
14238
|
-
"name": "required",
|
|
14239
|
-
"type": {
|
|
14240
|
-
"text": "boolean"
|
|
14241
|
-
}
|
|
14242
|
-
},
|
|
14243
|
-
{
|
|
14244
|
-
"kind": "field",
|
|
14245
|
-
"name": "hint",
|
|
14246
|
-
"type": {
|
|
14247
|
-
"text": "string | undefined"
|
|
14248
|
-
}
|
|
14249
|
-
},
|
|
14250
|
-
{
|
|
14251
|
-
"kind": "field",
|
|
14252
|
-
"name": "hideLabel",
|
|
14253
|
-
"type": {
|
|
14254
|
-
"text": "boolean"
|
|
14255
|
-
}
|
|
14256
|
-
},
|
|
14257
|
-
{
|
|
14258
|
-
"kind": "field",
|
|
14259
|
-
"name": "placeholder",
|
|
14260
|
-
"type": {
|
|
14261
|
-
"text": "string | undefined"
|
|
14262
|
-
}
|
|
14263
|
-
},
|
|
14264
|
-
{
|
|
14265
|
-
"kind": "field",
|
|
14266
|
-
"name": "error",
|
|
14267
|
-
"type": {
|
|
14268
|
-
"text": "string | undefined"
|
|
14269
|
-
}
|
|
14270
|
-
},
|
|
14271
|
-
{
|
|
14272
|
-
"kind": "field",
|
|
14273
|
-
"name": "expand",
|
|
14274
|
-
"type": {
|
|
14275
|
-
"text": "boolean"
|
|
14276
|
-
}
|
|
14277
|
-
},
|
|
14278
|
-
{
|
|
14279
|
-
"kind": "field",
|
|
14280
|
-
"name": "inputId",
|
|
14281
|
-
"type": {
|
|
14282
|
-
"text": "string"
|
|
14283
|
-
},
|
|
14284
|
-
"privacy": "protected"
|
|
14285
|
-
},
|
|
14286
|
-
{
|
|
14287
|
-
"kind": "field",
|
|
14288
|
-
"name": "errorId",
|
|
14289
|
-
"type": {
|
|
14290
|
-
"text": "string"
|
|
14291
|
-
},
|
|
14292
|
-
"privacy": "protected"
|
|
14293
|
-
},
|
|
14294
|
-
{
|
|
14295
|
-
"kind": "field",
|
|
14296
|
-
"name": "hintId",
|
|
14297
|
-
"type": {
|
|
14298
|
-
"text": "string"
|
|
14299
|
-
},
|
|
14300
|
-
"privacy": "protected"
|
|
14301
|
-
},
|
|
14302
|
-
{
|
|
14303
|
-
"kind": "field",
|
|
14304
|
-
"name": "labelSlot",
|
|
14305
|
-
"type": {
|
|
14306
|
-
"text": "SlotController"
|
|
14307
|
-
},
|
|
14308
|
-
"privacy": "protected"
|
|
14309
|
-
},
|
|
14310
|
-
{
|
|
14311
|
-
"kind": "field",
|
|
14312
|
-
"name": "hintSlot",
|
|
14313
|
-
"type": {
|
|
14314
|
-
"text": "SlotController"
|
|
14315
|
-
},
|
|
14316
|
-
"privacy": "protected"
|
|
14317
|
-
},
|
|
14318
|
-
{
|
|
14319
|
-
"kind": "field",
|
|
14320
|
-
"name": "errorSlot",
|
|
14321
|
-
"type": {
|
|
14322
|
-
"text": "SlotController"
|
|
14323
|
-
},
|
|
14324
|
-
"privacy": "protected"
|
|
14325
|
-
},
|
|
14326
|
-
{
|
|
14327
|
-
"kind": "field",
|
|
14328
|
-
"name": "formData",
|
|
14329
|
-
"type": {
|
|
14330
|
-
"text": "FormDataController"
|
|
14331
|
-
},
|
|
14332
|
-
"privacy": "protected"
|
|
14333
|
-
},
|
|
14334
|
-
{
|
|
14335
|
-
"kind": "field",
|
|
14336
|
-
"name": "formValue",
|
|
14337
|
-
"type": {
|
|
14338
|
-
"text": "string | undefined"
|
|
14339
|
-
},
|
|
14340
|
-
"privacy": "protected"
|
|
14341
|
-
},
|
|
14342
|
-
{
|
|
14343
|
-
"kind": "field",
|
|
14344
|
-
"name": "hasError",
|
|
14345
|
-
"type": {
|
|
14346
|
-
"text": "boolean"
|
|
14347
|
-
},
|
|
14348
|
-
"privacy": "protected"
|
|
14349
|
-
},
|
|
14350
|
-
{
|
|
14351
|
-
"kind": "field",
|
|
14352
|
-
"name": "hasHint",
|
|
14353
|
-
"type": {
|
|
14354
|
-
"text": "boolean"
|
|
14355
|
-
},
|
|
14356
|
-
"privacy": "protected"
|
|
14357
|
-
},
|
|
14358
|
-
{
|
|
14359
|
-
"kind": "method",
|
|
14360
|
-
"name": "handleChange",
|
|
14361
|
-
"privacy": "protected",
|
|
13955
|
+
"name": "handleChange",
|
|
13956
|
+
"privacy": "protected",
|
|
14362
13957
|
"return": {
|
|
14363
13958
|
"type": {
|
|
14364
13959
|
"text": "void"
|
|
@@ -14690,230 +14285,664 @@
|
|
|
14690
14285
|
"exports": [
|
|
14691
14286
|
{
|
|
14692
14287
|
"kind": "js",
|
|
14693
|
-
"name": "FormAssociatedMixinInterface",
|
|
14288
|
+
"name": "FormAssociatedMixinInterface",
|
|
14289
|
+
"declaration": {
|
|
14290
|
+
"name": "FormAssociatedMixinInterface",
|
|
14291
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
14292
|
+
}
|
|
14293
|
+
},
|
|
14294
|
+
{
|
|
14295
|
+
"kind": "js",
|
|
14296
|
+
"name": "FormAssociatedMixin",
|
|
14297
|
+
"declaration": {
|
|
14298
|
+
"name": "FormAssociatedMixin",
|
|
14299
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
14300
|
+
}
|
|
14301
|
+
}
|
|
14302
|
+
]
|
|
14303
|
+
},
|
|
14304
|
+
{
|
|
14305
|
+
"kind": "javascript-module",
|
|
14306
|
+
"path": "src/common/mixins/InputMixin.ts",
|
|
14307
|
+
"declarations": [
|
|
14308
|
+
{
|
|
14309
|
+
"kind": "class",
|
|
14310
|
+
"description": "",
|
|
14311
|
+
"name": "InputMixinInterface",
|
|
14312
|
+
"members": [
|
|
14313
|
+
{
|
|
14314
|
+
"kind": "field",
|
|
14315
|
+
"name": "name",
|
|
14316
|
+
"type": {
|
|
14317
|
+
"text": "string | undefined"
|
|
14318
|
+
}
|
|
14319
|
+
},
|
|
14320
|
+
{
|
|
14321
|
+
"kind": "field",
|
|
14322
|
+
"name": "value",
|
|
14323
|
+
"type": {
|
|
14324
|
+
"text": "string"
|
|
14325
|
+
}
|
|
14326
|
+
},
|
|
14327
|
+
{
|
|
14328
|
+
"kind": "field",
|
|
14329
|
+
"name": "disabled",
|
|
14330
|
+
"type": {
|
|
14331
|
+
"text": "boolean"
|
|
14332
|
+
}
|
|
14333
|
+
},
|
|
14334
|
+
{
|
|
14335
|
+
"kind": "field",
|
|
14336
|
+
"name": "form",
|
|
14337
|
+
"type": {
|
|
14338
|
+
"text": "HTMLFormElement | null"
|
|
14339
|
+
}
|
|
14340
|
+
}
|
|
14341
|
+
]
|
|
14342
|
+
},
|
|
14343
|
+
{
|
|
14344
|
+
"kind": "mixin",
|
|
14345
|
+
"description": "",
|
|
14346
|
+
"name": "InputMixin",
|
|
14347
|
+
"members": [
|
|
14348
|
+
{
|
|
14349
|
+
"kind": "field",
|
|
14350
|
+
"name": "disabled",
|
|
14351
|
+
"type": {
|
|
14352
|
+
"text": "boolean"
|
|
14353
|
+
},
|
|
14354
|
+
"default": "false",
|
|
14355
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
14356
|
+
"attribute": "disabled",
|
|
14357
|
+
"reflects": true
|
|
14358
|
+
},
|
|
14359
|
+
{
|
|
14360
|
+
"kind": "field",
|
|
14361
|
+
"name": "name",
|
|
14362
|
+
"type": {
|
|
14363
|
+
"text": "string | undefined"
|
|
14364
|
+
},
|
|
14365
|
+
"description": "The name of the form component.",
|
|
14366
|
+
"attribute": "name"
|
|
14367
|
+
},
|
|
14368
|
+
{
|
|
14369
|
+
"kind": "field",
|
|
14370
|
+
"name": "value",
|
|
14371
|
+
"type": {
|
|
14372
|
+
"text": "string"
|
|
14373
|
+
},
|
|
14374
|
+
"default": "\"\"",
|
|
14375
|
+
"description": "The value of the form component.",
|
|
14376
|
+
"attribute": "value"
|
|
14377
|
+
},
|
|
14378
|
+
{
|
|
14379
|
+
"kind": "field",
|
|
14380
|
+
"name": "form",
|
|
14381
|
+
"description": "Gets the form, if any, associated with the form element."
|
|
14382
|
+
}
|
|
14383
|
+
],
|
|
14384
|
+
"attributes": [
|
|
14385
|
+
{
|
|
14386
|
+
"name": "disabled",
|
|
14387
|
+
"type": {
|
|
14388
|
+
"text": "boolean"
|
|
14389
|
+
},
|
|
14390
|
+
"default": "false",
|
|
14391
|
+
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
14392
|
+
"fieldName": "disabled"
|
|
14393
|
+
},
|
|
14394
|
+
{
|
|
14395
|
+
"name": "name",
|
|
14396
|
+
"type": {
|
|
14397
|
+
"text": "string | undefined"
|
|
14398
|
+
},
|
|
14399
|
+
"description": "The name of the form component.",
|
|
14400
|
+
"fieldName": "name"
|
|
14401
|
+
},
|
|
14402
|
+
{
|
|
14403
|
+
"name": "value",
|
|
14404
|
+
"type": {
|
|
14405
|
+
"text": "string"
|
|
14406
|
+
},
|
|
14407
|
+
"default": "\"\"",
|
|
14408
|
+
"description": "The value of the form component.",
|
|
14409
|
+
"fieldName": "value"
|
|
14410
|
+
}
|
|
14411
|
+
],
|
|
14412
|
+
"parameters": [
|
|
14413
|
+
{
|
|
14414
|
+
"name": "superClass",
|
|
14415
|
+
"type": {
|
|
14416
|
+
"text": "T"
|
|
14417
|
+
}
|
|
14418
|
+
}
|
|
14419
|
+
]
|
|
14420
|
+
}
|
|
14421
|
+
],
|
|
14422
|
+
"exports": [
|
|
14423
|
+
{
|
|
14424
|
+
"kind": "js",
|
|
14425
|
+
"name": "InputMixinInterface",
|
|
14426
|
+
"declaration": {
|
|
14427
|
+
"name": "InputMixinInterface",
|
|
14428
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
14429
|
+
}
|
|
14430
|
+
},
|
|
14431
|
+
{
|
|
14432
|
+
"kind": "js",
|
|
14433
|
+
"name": "InputMixin",
|
|
14434
|
+
"declaration": {
|
|
14435
|
+
"name": "InputMixin",
|
|
14436
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
14437
|
+
}
|
|
14438
|
+
}
|
|
14439
|
+
]
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
"kind": "javascript-module",
|
|
14443
|
+
"path": "src/common/mixins/ReadonlyMixin.ts",
|
|
14444
|
+
"declarations": [
|
|
14445
|
+
{
|
|
14446
|
+
"kind": "class",
|
|
14447
|
+
"description": "",
|
|
14448
|
+
"name": "ReadonlyMixinInterface",
|
|
14449
|
+
"members": [
|
|
14450
|
+
{
|
|
14451
|
+
"kind": "field",
|
|
14452
|
+
"name": "readonly",
|
|
14453
|
+
"type": {
|
|
14454
|
+
"text": "boolean"
|
|
14455
|
+
}
|
|
14456
|
+
}
|
|
14457
|
+
]
|
|
14458
|
+
},
|
|
14459
|
+
{
|
|
14460
|
+
"kind": "mixin",
|
|
14461
|
+
"description": "",
|
|
14462
|
+
"name": "ReadonlyMixin",
|
|
14463
|
+
"members": [
|
|
14464
|
+
{
|
|
14465
|
+
"kind": "field",
|
|
14466
|
+
"name": "readonly",
|
|
14467
|
+
"type": {
|
|
14468
|
+
"text": "boolean"
|
|
14469
|
+
},
|
|
14470
|
+
"default": "false",
|
|
14471
|
+
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
14472
|
+
"attribute": "readonly",
|
|
14473
|
+
"reflects": true
|
|
14474
|
+
}
|
|
14475
|
+
],
|
|
14476
|
+
"attributes": [
|
|
14477
|
+
{
|
|
14478
|
+
"name": "readonly",
|
|
14479
|
+
"type": {
|
|
14480
|
+
"text": "boolean"
|
|
14481
|
+
},
|
|
14482
|
+
"default": "false",
|
|
14483
|
+
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
14484
|
+
"fieldName": "readonly"
|
|
14485
|
+
}
|
|
14486
|
+
],
|
|
14487
|
+
"parameters": [
|
|
14488
|
+
{
|
|
14489
|
+
"name": "superClass",
|
|
14490
|
+
"type": {
|
|
14491
|
+
"text": "T"
|
|
14492
|
+
}
|
|
14493
|
+
}
|
|
14494
|
+
]
|
|
14495
|
+
}
|
|
14496
|
+
],
|
|
14497
|
+
"exports": [
|
|
14498
|
+
{
|
|
14499
|
+
"kind": "js",
|
|
14500
|
+
"name": "ReadonlyMixinInterface",
|
|
14501
|
+
"declaration": {
|
|
14502
|
+
"name": "ReadonlyMixinInterface",
|
|
14503
|
+
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
14504
|
+
}
|
|
14505
|
+
},
|
|
14506
|
+
{
|
|
14507
|
+
"kind": "js",
|
|
14508
|
+
"name": "ReadonlyMixin",
|
|
14509
|
+
"declaration": {
|
|
14510
|
+
"name": "ReadonlyMixin",
|
|
14511
|
+
"module": "src/common/mixins/ReadonlyMixin.ts"
|
|
14512
|
+
}
|
|
14513
|
+
}
|
|
14514
|
+
]
|
|
14515
|
+
},
|
|
14516
|
+
{
|
|
14517
|
+
"kind": "javascript-module",
|
|
14518
|
+
"path": "src/common/directives/cond.ts",
|
|
14519
|
+
"declarations": [
|
|
14520
|
+
{
|
|
14521
|
+
"kind": "function",
|
|
14522
|
+
"name": "cond",
|
|
14523
|
+
"return": {
|
|
14524
|
+
"type": {
|
|
14525
|
+
"text": "typeof value | typeof nothing"
|
|
14526
|
+
}
|
|
14527
|
+
},
|
|
14528
|
+
"parameters": [
|
|
14529
|
+
{
|
|
14530
|
+
"name": "value",
|
|
14531
|
+
"type": {
|
|
14532
|
+
"text": "any"
|
|
14533
|
+
}
|
|
14534
|
+
}
|
|
14535
|
+
],
|
|
14536
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
14537
|
+
},
|
|
14538
|
+
{
|
|
14539
|
+
"kind": "function",
|
|
14540
|
+
"name": "cond",
|
|
14541
|
+
"return": {
|
|
14542
|
+
"type": {
|
|
14543
|
+
"text": "typeof trueCase | typeof nothing"
|
|
14544
|
+
}
|
|
14545
|
+
},
|
|
14546
|
+
"parameters": [
|
|
14547
|
+
{
|
|
14548
|
+
"name": "condition",
|
|
14549
|
+
"type": {
|
|
14550
|
+
"text": "unknown"
|
|
14551
|
+
}
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
"name": "trueCase",
|
|
14555
|
+
"type": {
|
|
14556
|
+
"text": "any"
|
|
14557
|
+
}
|
|
14558
|
+
}
|
|
14559
|
+
],
|
|
14560
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
14561
|
+
},
|
|
14562
|
+
{
|
|
14563
|
+
"kind": "function",
|
|
14564
|
+
"name": "cond",
|
|
14565
|
+
"return": {
|
|
14566
|
+
"type": {
|
|
14567
|
+
"text": "typeof trueCase"
|
|
14568
|
+
}
|
|
14569
|
+
},
|
|
14570
|
+
"parameters": [
|
|
14571
|
+
{
|
|
14572
|
+
"name": "condition",
|
|
14573
|
+
"type": {
|
|
14574
|
+
"text": "true"
|
|
14575
|
+
}
|
|
14576
|
+
},
|
|
14577
|
+
{
|
|
14578
|
+
"name": "trueCase",
|
|
14579
|
+
"type": {
|
|
14580
|
+
"text": "any"
|
|
14581
|
+
}
|
|
14582
|
+
}
|
|
14583
|
+
],
|
|
14584
|
+
"description": "condition is true, so always return trueCase"
|
|
14585
|
+
},
|
|
14586
|
+
{
|
|
14587
|
+
"kind": "function",
|
|
14588
|
+
"name": "cond",
|
|
14589
|
+
"return": {
|
|
14590
|
+
"type": {
|
|
14591
|
+
"text": "typeof nothing"
|
|
14592
|
+
}
|
|
14593
|
+
},
|
|
14594
|
+
"parameters": [
|
|
14595
|
+
{
|
|
14596
|
+
"name": "condition",
|
|
14597
|
+
"type": {
|
|
14598
|
+
"text": "false"
|
|
14599
|
+
}
|
|
14600
|
+
},
|
|
14601
|
+
{
|
|
14602
|
+
"name": "trueCase",
|
|
14603
|
+
"type": {
|
|
14604
|
+
"text": "any"
|
|
14605
|
+
}
|
|
14606
|
+
}
|
|
14607
|
+
],
|
|
14608
|
+
"description": "condition is false, to will always return nothing"
|
|
14609
|
+
},
|
|
14610
|
+
{
|
|
14611
|
+
"kind": "function",
|
|
14612
|
+
"name": "cond",
|
|
14613
|
+
"return": {
|
|
14614
|
+
"type": {
|
|
14615
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
14616
|
+
}
|
|
14617
|
+
},
|
|
14618
|
+
"parameters": [
|
|
14619
|
+
{
|
|
14620
|
+
"name": "condition",
|
|
14621
|
+
"type": {
|
|
14622
|
+
"text": "unknown"
|
|
14623
|
+
}
|
|
14624
|
+
},
|
|
14625
|
+
{
|
|
14626
|
+
"name": "trueCase",
|
|
14627
|
+
"type": {
|
|
14628
|
+
"text": "any"
|
|
14629
|
+
}
|
|
14630
|
+
},
|
|
14631
|
+
{
|
|
14632
|
+
"name": "falseCase",
|
|
14633
|
+
"type": {
|
|
14634
|
+
"text": "any"
|
|
14635
|
+
}
|
|
14636
|
+
}
|
|
14637
|
+
],
|
|
14638
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
14639
|
+
},
|
|
14640
|
+
{
|
|
14641
|
+
"kind": "function",
|
|
14642
|
+
"name": "cond",
|
|
14643
|
+
"return": {
|
|
14644
|
+
"type": {
|
|
14645
|
+
"text": "typeof trueCase"
|
|
14646
|
+
}
|
|
14647
|
+
},
|
|
14648
|
+
"parameters": [
|
|
14649
|
+
{
|
|
14650
|
+
"name": "condition",
|
|
14651
|
+
"type": {
|
|
14652
|
+
"text": "true"
|
|
14653
|
+
}
|
|
14654
|
+
},
|
|
14655
|
+
{
|
|
14656
|
+
"name": "trueCase",
|
|
14657
|
+
"type": {
|
|
14658
|
+
"text": "any"
|
|
14659
|
+
}
|
|
14660
|
+
},
|
|
14661
|
+
{
|
|
14662
|
+
"name": "falseCase",
|
|
14663
|
+
"type": {
|
|
14664
|
+
"text": "any"
|
|
14665
|
+
}
|
|
14666
|
+
}
|
|
14667
|
+
],
|
|
14668
|
+
"description": "condition is true, so always return trueCase"
|
|
14669
|
+
},
|
|
14670
|
+
{
|
|
14671
|
+
"kind": "function",
|
|
14672
|
+
"name": "cond",
|
|
14673
|
+
"return": {
|
|
14674
|
+
"type": {
|
|
14675
|
+
"text": "typeof falseCase"
|
|
14676
|
+
}
|
|
14677
|
+
},
|
|
14678
|
+
"parameters": [
|
|
14679
|
+
{
|
|
14680
|
+
"name": "condition",
|
|
14681
|
+
"type": {
|
|
14682
|
+
"text": "false"
|
|
14683
|
+
}
|
|
14684
|
+
},
|
|
14685
|
+
{
|
|
14686
|
+
"name": "trueCase",
|
|
14687
|
+
"type": {
|
|
14688
|
+
"text": "any"
|
|
14689
|
+
}
|
|
14690
|
+
},
|
|
14691
|
+
{
|
|
14692
|
+
"name": "falseCase",
|
|
14693
|
+
"type": {
|
|
14694
|
+
"text": "any"
|
|
14695
|
+
}
|
|
14696
|
+
}
|
|
14697
|
+
],
|
|
14698
|
+
"description": "condition is false, so always return falseCase"
|
|
14699
|
+
},
|
|
14700
|
+
{
|
|
14701
|
+
"kind": "function",
|
|
14702
|
+
"name": "cond",
|
|
14703
|
+
"parameters": [
|
|
14704
|
+
{
|
|
14705
|
+
"name": "condition",
|
|
14706
|
+
"type": {
|
|
14707
|
+
"text": "unknown"
|
|
14708
|
+
}
|
|
14709
|
+
},
|
|
14710
|
+
{
|
|
14711
|
+
"name": "trueCase",
|
|
14712
|
+
"default": "condition",
|
|
14713
|
+
"type": {
|
|
14714
|
+
"text": "any"
|
|
14715
|
+
}
|
|
14716
|
+
},
|
|
14717
|
+
{
|
|
14718
|
+
"name": "falseCase",
|
|
14719
|
+
"default": "nothing",
|
|
14720
|
+
"type": {
|
|
14721
|
+
"text": "any"
|
|
14722
|
+
}
|
|
14723
|
+
}
|
|
14724
|
+
]
|
|
14725
|
+
}
|
|
14726
|
+
],
|
|
14727
|
+
"exports": [
|
|
14728
|
+
{
|
|
14729
|
+
"kind": "js",
|
|
14730
|
+
"name": "cond",
|
|
14731
|
+
"declaration": {
|
|
14732
|
+
"name": "cond",
|
|
14733
|
+
"module": "src/common/directives/cond.ts"
|
|
14734
|
+
}
|
|
14735
|
+
},
|
|
14736
|
+
{
|
|
14737
|
+
"kind": "js",
|
|
14738
|
+
"name": "cond",
|
|
14739
|
+
"declaration": {
|
|
14740
|
+
"name": "cond",
|
|
14741
|
+
"module": "src/common/directives/cond.ts"
|
|
14742
|
+
}
|
|
14743
|
+
},
|
|
14744
|
+
{
|
|
14745
|
+
"kind": "js",
|
|
14746
|
+
"name": "cond",
|
|
14747
|
+
"declaration": {
|
|
14748
|
+
"name": "cond",
|
|
14749
|
+
"module": "src/common/directives/cond.ts"
|
|
14750
|
+
}
|
|
14751
|
+
},
|
|
14752
|
+
{
|
|
14753
|
+
"kind": "js",
|
|
14754
|
+
"name": "cond",
|
|
14755
|
+
"declaration": {
|
|
14756
|
+
"name": "cond",
|
|
14757
|
+
"module": "src/common/directives/cond.ts"
|
|
14758
|
+
}
|
|
14759
|
+
},
|
|
14760
|
+
{
|
|
14761
|
+
"kind": "js",
|
|
14762
|
+
"name": "cond",
|
|
14763
|
+
"declaration": {
|
|
14764
|
+
"name": "cond",
|
|
14765
|
+
"module": "src/common/directives/cond.ts"
|
|
14766
|
+
}
|
|
14767
|
+
},
|
|
14768
|
+
{
|
|
14769
|
+
"kind": "js",
|
|
14770
|
+
"name": "cond",
|
|
14694
14771
|
"declaration": {
|
|
14695
|
-
"name": "
|
|
14696
|
-
"module": "src/common/
|
|
14772
|
+
"name": "cond",
|
|
14773
|
+
"module": "src/common/directives/cond.ts"
|
|
14697
14774
|
}
|
|
14698
14775
|
},
|
|
14699
14776
|
{
|
|
14700
14777
|
"kind": "js",
|
|
14701
|
-
"name": "
|
|
14778
|
+
"name": "cond",
|
|
14702
14779
|
"declaration": {
|
|
14703
|
-
"name": "
|
|
14704
|
-
"module": "src/common/
|
|
14780
|
+
"name": "cond",
|
|
14781
|
+
"module": "src/common/directives/cond.ts"
|
|
14782
|
+
}
|
|
14783
|
+
},
|
|
14784
|
+
{
|
|
14785
|
+
"kind": "js",
|
|
14786
|
+
"name": "cond",
|
|
14787
|
+
"declaration": {
|
|
14788
|
+
"name": "cond",
|
|
14789
|
+
"module": "src/common/directives/cond.ts"
|
|
14705
14790
|
}
|
|
14706
14791
|
}
|
|
14707
14792
|
]
|
|
14708
14793
|
},
|
|
14709
14794
|
{
|
|
14710
14795
|
"kind": "javascript-module",
|
|
14711
|
-
"path": "src/common/
|
|
14796
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
14712
14797
|
"declarations": [
|
|
14713
14798
|
{
|
|
14714
|
-
"kind": "
|
|
14715
|
-
"
|
|
14716
|
-
"
|
|
14717
|
-
|
|
14799
|
+
"kind": "function",
|
|
14800
|
+
"name": "wrapIf",
|
|
14801
|
+
"return": {
|
|
14802
|
+
"type": {
|
|
14803
|
+
"text": "TInner"
|
|
14804
|
+
}
|
|
14805
|
+
},
|
|
14806
|
+
"parameters": [
|
|
14718
14807
|
{
|
|
14719
|
-
"
|
|
14720
|
-
"name": "name",
|
|
14808
|
+
"name": "condition",
|
|
14721
14809
|
"type": {
|
|
14722
|
-
"text": "
|
|
14810
|
+
"text": "false"
|
|
14723
14811
|
}
|
|
14724
14812
|
},
|
|
14725
14813
|
{
|
|
14726
|
-
"
|
|
14727
|
-
"name": "value",
|
|
14814
|
+
"name": "inner",
|
|
14728
14815
|
"type": {
|
|
14729
|
-
"text": "
|
|
14816
|
+
"text": "() => TInner"
|
|
14730
14817
|
}
|
|
14731
14818
|
},
|
|
14732
14819
|
{
|
|
14733
|
-
"
|
|
14734
|
-
"name": "disabled",
|
|
14820
|
+
"name": "wrapper",
|
|
14735
14821
|
"type": {
|
|
14736
|
-
"text": "
|
|
14822
|
+
"text": "(inner: TInner) => TWrapper"
|
|
14823
|
+
}
|
|
14824
|
+
}
|
|
14825
|
+
]
|
|
14826
|
+
},
|
|
14827
|
+
{
|
|
14828
|
+
"kind": "function",
|
|
14829
|
+
"name": "wrapIf",
|
|
14830
|
+
"return": {
|
|
14831
|
+
"type": {
|
|
14832
|
+
"text": "TWrapper"
|
|
14833
|
+
}
|
|
14834
|
+
},
|
|
14835
|
+
"parameters": [
|
|
14836
|
+
{
|
|
14837
|
+
"name": "condition",
|
|
14838
|
+
"type": {
|
|
14839
|
+
"text": "true"
|
|
14737
14840
|
}
|
|
14738
14841
|
},
|
|
14739
14842
|
{
|
|
14740
|
-
"
|
|
14741
|
-
"name": "form",
|
|
14843
|
+
"name": "inner",
|
|
14742
14844
|
"type": {
|
|
14743
|
-
"text": "
|
|
14845
|
+
"text": "() => TInner"
|
|
14846
|
+
}
|
|
14847
|
+
},
|
|
14848
|
+
{
|
|
14849
|
+
"name": "wrapper",
|
|
14850
|
+
"type": {
|
|
14851
|
+
"text": "(inner: TInner) => TWrapper"
|
|
14744
14852
|
}
|
|
14745
14853
|
}
|
|
14746
14854
|
]
|
|
14747
14855
|
},
|
|
14748
14856
|
{
|
|
14749
|
-
"kind": "
|
|
14750
|
-
"
|
|
14751
|
-
"
|
|
14752
|
-
|
|
14857
|
+
"kind": "function",
|
|
14858
|
+
"name": "wrapIf",
|
|
14859
|
+
"return": {
|
|
14860
|
+
"type": {
|
|
14861
|
+
"text": "TInner | TWrapper"
|
|
14862
|
+
}
|
|
14863
|
+
},
|
|
14864
|
+
"parameters": [
|
|
14753
14865
|
{
|
|
14754
|
-
"
|
|
14755
|
-
"name": "disabled",
|
|
14866
|
+
"name": "condition",
|
|
14756
14867
|
"type": {
|
|
14757
|
-
"text": "
|
|
14758
|
-
}
|
|
14759
|
-
"default": "false",
|
|
14760
|
-
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
14761
|
-
"attribute": "disabled",
|
|
14762
|
-
"reflects": true
|
|
14868
|
+
"text": "unknown"
|
|
14869
|
+
}
|
|
14763
14870
|
},
|
|
14764
14871
|
{
|
|
14765
|
-
"
|
|
14766
|
-
"name": "name",
|
|
14872
|
+
"name": "inner",
|
|
14767
14873
|
"type": {
|
|
14768
|
-
"text": "
|
|
14769
|
-
}
|
|
14770
|
-
"description": "The name of the form component.",
|
|
14771
|
-
"attribute": "name"
|
|
14874
|
+
"text": "() => TInner"
|
|
14875
|
+
}
|
|
14772
14876
|
},
|
|
14773
14877
|
{
|
|
14774
|
-
"
|
|
14775
|
-
"name": "value",
|
|
14878
|
+
"name": "wrapper",
|
|
14776
14879
|
"type": {
|
|
14777
|
-
"text": "
|
|
14778
|
-
}
|
|
14779
|
-
"default": "\"\"",
|
|
14780
|
-
"description": "The value of the form component.",
|
|
14781
|
-
"attribute": "value"
|
|
14782
|
-
},
|
|
14783
|
-
{
|
|
14784
|
-
"kind": "field",
|
|
14785
|
-
"name": "form",
|
|
14786
|
-
"description": "Gets the form, if any, associated with the form element."
|
|
14880
|
+
"text": "(inner: TInner) => TWrapper"
|
|
14881
|
+
}
|
|
14787
14882
|
}
|
|
14788
|
-
]
|
|
14789
|
-
|
|
14883
|
+
]
|
|
14884
|
+
},
|
|
14885
|
+
{
|
|
14886
|
+
"kind": "function",
|
|
14887
|
+
"name": "wrapIf",
|
|
14888
|
+
"parameters": [
|
|
14790
14889
|
{
|
|
14791
|
-
"name": "
|
|
14890
|
+
"name": "condition",
|
|
14792
14891
|
"type": {
|
|
14793
|
-
"text": "
|
|
14794
|
-
}
|
|
14795
|
-
"default": "false",
|
|
14796
|
-
"description": "Makes the component disabled. This prevents users from\nbeing able to interact with the component, and conveys\nits inactive state to assistive technologies.",
|
|
14797
|
-
"fieldName": "disabled"
|
|
14892
|
+
"text": "any"
|
|
14893
|
+
}
|
|
14798
14894
|
},
|
|
14799
14895
|
{
|
|
14800
|
-
"name": "
|
|
14896
|
+
"name": "inner",
|
|
14801
14897
|
"type": {
|
|
14802
|
-
"text": "
|
|
14803
|
-
}
|
|
14804
|
-
"description": "The name of the form component.",
|
|
14805
|
-
"fieldName": "name"
|
|
14898
|
+
"text": "() => TInner"
|
|
14899
|
+
}
|
|
14806
14900
|
},
|
|
14807
14901
|
{
|
|
14808
|
-
"name": "
|
|
14902
|
+
"name": "wrapper",
|
|
14809
14903
|
"type": {
|
|
14810
|
-
"text": "
|
|
14811
|
-
}
|
|
14812
|
-
"default": "\"\"",
|
|
14813
|
-
"description": "The value of the form component.",
|
|
14814
|
-
"fieldName": "value"
|
|
14904
|
+
"text": "(innards: TInner) => TWrapper"
|
|
14905
|
+
}
|
|
14815
14906
|
}
|
|
14816
14907
|
],
|
|
14817
|
-
"
|
|
14818
|
-
{
|
|
14819
|
-
"
|
|
14820
|
-
"type": {
|
|
14821
|
-
"text": "T"
|
|
14822
|
-
}
|
|
14908
|
+
"return": {
|
|
14909
|
+
"type": {
|
|
14910
|
+
"text": ""
|
|
14823
14911
|
}
|
|
14824
|
-
|
|
14912
|
+
}
|
|
14825
14913
|
}
|
|
14826
14914
|
],
|
|
14827
14915
|
"exports": [
|
|
14828
14916
|
{
|
|
14829
14917
|
"kind": "js",
|
|
14830
|
-
"name": "
|
|
14918
|
+
"name": "wrapIf",
|
|
14831
14919
|
"declaration": {
|
|
14832
|
-
"name": "
|
|
14833
|
-
"module": "src/common/
|
|
14920
|
+
"name": "wrapIf",
|
|
14921
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
14834
14922
|
}
|
|
14835
14923
|
},
|
|
14836
14924
|
{
|
|
14837
14925
|
"kind": "js",
|
|
14838
|
-
"name": "
|
|
14926
|
+
"name": "wrapIf",
|
|
14839
14927
|
"declaration": {
|
|
14840
|
-
"name": "
|
|
14841
|
-
"module": "src/common/
|
|
14928
|
+
"name": "wrapIf",
|
|
14929
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
14842
14930
|
}
|
|
14843
|
-
}
|
|
14844
|
-
]
|
|
14845
|
-
},
|
|
14846
|
-
{
|
|
14847
|
-
"kind": "javascript-module",
|
|
14848
|
-
"path": "src/common/mixins/ReadonlyMixin.ts",
|
|
14849
|
-
"declarations": [
|
|
14850
|
-
{
|
|
14851
|
-
"kind": "class",
|
|
14852
|
-
"description": "",
|
|
14853
|
-
"name": "ReadonlyMixinInterface",
|
|
14854
|
-
"members": [
|
|
14855
|
-
{
|
|
14856
|
-
"kind": "field",
|
|
14857
|
-
"name": "readonly",
|
|
14858
|
-
"type": {
|
|
14859
|
-
"text": "boolean"
|
|
14860
|
-
}
|
|
14861
|
-
}
|
|
14862
|
-
]
|
|
14863
14931
|
},
|
|
14864
|
-
{
|
|
14865
|
-
"kind": "mixin",
|
|
14866
|
-
"description": "",
|
|
14867
|
-
"name": "ReadonlyMixin",
|
|
14868
|
-
"members": [
|
|
14869
|
-
{
|
|
14870
|
-
"kind": "field",
|
|
14871
|
-
"name": "readonly",
|
|
14872
|
-
"type": {
|
|
14873
|
-
"text": "boolean"
|
|
14874
|
-
},
|
|
14875
|
-
"default": "false",
|
|
14876
|
-
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
14877
|
-
"attribute": "readonly",
|
|
14878
|
-
"reflects": true
|
|
14879
|
-
}
|
|
14880
|
-
],
|
|
14881
|
-
"attributes": [
|
|
14882
|
-
{
|
|
14883
|
-
"name": "readonly",
|
|
14884
|
-
"type": {
|
|
14885
|
-
"text": "boolean"
|
|
14886
|
-
},
|
|
14887
|
-
"default": "false",
|
|
14888
|
-
"description": "Makes the component readonly, so that it is not editable.\nReadonly differs from disabled in that readonly fields are still focusable and will be submitted with a form.",
|
|
14889
|
-
"fieldName": "readonly"
|
|
14890
|
-
}
|
|
14891
|
-
],
|
|
14892
|
-
"parameters": [
|
|
14893
|
-
{
|
|
14894
|
-
"name": "superClass",
|
|
14895
|
-
"type": {
|
|
14896
|
-
"text": "T"
|
|
14897
|
-
}
|
|
14898
|
-
}
|
|
14899
|
-
]
|
|
14900
|
-
}
|
|
14901
|
-
],
|
|
14902
|
-
"exports": [
|
|
14903
14932
|
{
|
|
14904
14933
|
"kind": "js",
|
|
14905
|
-
"name": "
|
|
14934
|
+
"name": "wrapIf",
|
|
14906
14935
|
"declaration": {
|
|
14907
|
-
"name": "
|
|
14908
|
-
"module": "src/common/
|
|
14936
|
+
"name": "wrapIf",
|
|
14937
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
14909
14938
|
}
|
|
14910
14939
|
},
|
|
14911
14940
|
{
|
|
14912
14941
|
"kind": "js",
|
|
14913
|
-
"name": "
|
|
14942
|
+
"name": "wrapIf",
|
|
14914
14943
|
"declaration": {
|
|
14915
|
-
"name": "
|
|
14916
|
-
"module": "src/common/
|
|
14944
|
+
"name": "wrapIf",
|
|
14945
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
14917
14946
|
}
|
|
14918
14947
|
}
|
|
14919
14948
|
]
|