@nordhealth/components 1.1.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1673 -1327
- package/lib/Avatar.js.map +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-a389d216.js +2 -0
- package/lib/{Calendar-73a2fcfd.js.map → Calendar-a389d216.js.map} +1 -1
- package/lib/Calendar.js +1 -1
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Layout.js +1 -1
- package/lib/Layout.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/Stack.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/bundle.js +9 -9
- package/lib/bundle.js.map +1 -1
- package/lib/fsm-50373df9.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/number-c3ab3e95.js +2 -0
- package/lib/number-c3ab3e95.js.map +1 -0
- package/lib/observe-a9c6dfb6.js.map +1 -1
- package/lib/repeat-ed796481.js +7 -0
- package/lib/repeat-ed796481.js.map +1 -0
- package/lib/src/avatar/Avatar.d.ts +1 -1
- package/lib/src/banner/Banner.d.ts +1 -1
- package/lib/src/button/Button.d.ts +1 -1
- package/lib/src/common/controllers/MediaQueryController.d.ts +14 -0
- package/lib/src/common/fsm.d.ts +3 -2
- package/lib/src/common/number.d.ts +1 -0
- package/lib/src/common/storage.d.ts +7 -0
- package/lib/src/header/Header.d.ts +1 -1
- package/lib/src/layout/Layout.d.ts +47 -3
- package/lib/src/layout/Layout.test.d.ts +4 -0
- package/lib/src/nav-group/NavGroup.d.ts +1 -1
- package/lib/src/nav-item/NavItem.d.ts +1 -1
- package/lib/src/navigation/Navigation.d.ts +2 -4
- package/lib/src/navigation/Navigation.test.d.ts +1 -0
- package/lib/src/popout/Popout.d.ts +5 -2
- package/lib/src/stack/Stack.d.ts +2 -3
- package/lib/src/tooltip/Tooltip.d.ts +1 -1
- package/package.json +7 -7
- package/lib/Calendar-73a2fcfd.js +0 -2
- package/lib/DraftComponentMixin-9e4b7b34.js +0 -2
- package/lib/DraftComponentMixin-9e4b7b34.js.map +0 -1
- package/lib/number-1c122a1e.js +0 -7
- package/lib/number-1c122a1e.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -291,114 +291,49 @@
|
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"kind": "javascript-module",
|
|
294
|
-
"path": "src/
|
|
294
|
+
"path": "src/badge/Badge.ts",
|
|
295
295
|
"declarations": [
|
|
296
296
|
{
|
|
297
297
|
"kind": "class",
|
|
298
|
-
"description": "
|
|
299
|
-
"name": "
|
|
300
|
-
"
|
|
301
|
-
{
|
|
302
|
-
"kind": "field",
|
|
303
|
-
"name": "state",
|
|
304
|
-
"type": {
|
|
305
|
-
"text": "States<typeof transition>"
|
|
306
|
-
},
|
|
307
|
-
"privacy": "private",
|
|
308
|
-
"default": "\"initial\""
|
|
309
|
-
},
|
|
298
|
+
"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.",
|
|
299
|
+
"name": "Badge",
|
|
300
|
+
"slots": [
|
|
310
301
|
{
|
|
311
|
-
"
|
|
312
|
-
"name": "
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
"default": "\"m\"",
|
|
317
|
-
"description": "The size of the avatar.",
|
|
318
|
-
"attribute": "size",
|
|
319
|
-
"reflects": true
|
|
320
|
-
},
|
|
302
|
+
"description": "The badge content.",
|
|
303
|
+
"name": ""
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"members": [
|
|
321
307
|
{
|
|
322
308
|
"kind": "field",
|
|
323
|
-
"name": "
|
|
309
|
+
"name": "type",
|
|
324
310
|
"type": {
|
|
325
|
-
"text": "
|
|
311
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
326
312
|
},
|
|
327
|
-
"
|
|
328
|
-
"
|
|
313
|
+
"default": "\"info\"",
|
|
314
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
315
|
+
"attribute": "type",
|
|
329
316
|
"reflects": true
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"kind": "field",
|
|
333
|
-
"name": "name",
|
|
334
|
-
"type": {
|
|
335
|
-
"text": "string"
|
|
336
|
-
},
|
|
337
|
-
"default": "\"\"",
|
|
338
|
-
"description": "The name of the person.",
|
|
339
|
-
"attribute": "name"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"kind": "method",
|
|
343
|
-
"name": "handleSrcChange",
|
|
344
|
-
"privacy": "protected"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"kind": "method",
|
|
348
|
-
"name": "renderImage",
|
|
349
|
-
"privacy": "protected"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"kind": "method",
|
|
353
|
-
"name": "renderFallback",
|
|
354
|
-
"privacy": "protected"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"kind": "method",
|
|
358
|
-
"name": "handleLoad",
|
|
359
|
-
"privacy": "private"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"kind": "method",
|
|
363
|
-
"name": "handleError",
|
|
364
|
-
"privacy": "private"
|
|
365
317
|
}
|
|
366
318
|
],
|
|
367
319
|
"attributes": [
|
|
368
320
|
{
|
|
369
|
-
"name": "
|
|
370
|
-
"type": {
|
|
371
|
-
"text": "\"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
372
|
-
},
|
|
373
|
-
"default": "\"m\"",
|
|
374
|
-
"description": "The size of the avatar.",
|
|
375
|
-
"fieldName": "size"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"name": "src",
|
|
379
|
-
"type": {
|
|
380
|
-
"text": "string | undefined"
|
|
381
|
-
},
|
|
382
|
-
"description": "The URL of the avatar image uploaded by the user.",
|
|
383
|
-
"fieldName": "src"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"name": "name",
|
|
321
|
+
"name": "type",
|
|
387
322
|
"type": {
|
|
388
|
-
"text": "
|
|
323
|
+
"text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | undefined"
|
|
389
324
|
},
|
|
390
|
-
"default": "\"\"",
|
|
391
|
-
"description": "The
|
|
392
|
-
"fieldName": "
|
|
325
|
+
"default": "\"info\"",
|
|
326
|
+
"description": "The type of badge.\nDetermines the color of the chip shown on the badge.",
|
|
327
|
+
"fieldName": "type"
|
|
393
328
|
}
|
|
394
329
|
],
|
|
395
330
|
"superclass": {
|
|
396
331
|
"name": "LitElement",
|
|
397
332
|
"package": "lit"
|
|
398
333
|
},
|
|
399
|
-
"status": "
|
|
400
|
-
"category": "
|
|
401
|
-
"tagName": "nord-
|
|
334
|
+
"status": "ready",
|
|
335
|
+
"category": "text",
|
|
336
|
+
"tagName": "nord-badge",
|
|
402
337
|
"customElement": true
|
|
403
338
|
}
|
|
404
339
|
],
|
|
@@ -407,20 +342,20 @@
|
|
|
407
342
|
"kind": "js",
|
|
408
343
|
"name": "default",
|
|
409
344
|
"declaration": {
|
|
410
|
-
"name": "
|
|
411
|
-
"module": "src/
|
|
345
|
+
"name": "Badge",
|
|
346
|
+
"module": "src/badge/Badge.ts"
|
|
412
347
|
}
|
|
413
348
|
},
|
|
414
349
|
{
|
|
415
350
|
"kind": "custom-element-definition",
|
|
416
|
-
"name": "nord-
|
|
351
|
+
"name": "nord-badge",
|
|
417
352
|
"declaration": {
|
|
418
|
-
"name": "
|
|
419
|
-
"module": "src/
|
|
353
|
+
"name": "Badge",
|
|
354
|
+
"module": "src/badge/Badge.ts"
|
|
420
355
|
}
|
|
421
356
|
}
|
|
422
357
|
],
|
|
423
|
-
"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-
|
|
358
|
+
"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"
|
|
424
359
|
},
|
|
425
360
|
{
|
|
426
361
|
"kind": "javascript-module",
|
|
@@ -466,7 +401,7 @@
|
|
|
466
401
|
"kind": "field",
|
|
467
402
|
"name": "variant",
|
|
468
403
|
"type": {
|
|
469
|
-
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\""
|
|
404
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\" | \"switch\""
|
|
470
405
|
},
|
|
471
406
|
"default": "\"default\"",
|
|
472
407
|
"description": "The style variant of the button.",
|
|
@@ -708,7 +643,7 @@
|
|
|
708
643
|
{
|
|
709
644
|
"name": "variant",
|
|
710
645
|
"type": {
|
|
711
|
-
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\""
|
|
646
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\" | \"switch\""
|
|
712
647
|
},
|
|
713
648
|
"default": "\"default\"",
|
|
714
649
|
"description": "The style variant of the button.",
|
|
@@ -858,132 +793,44 @@
|
|
|
858
793
|
}
|
|
859
794
|
}
|
|
860
795
|
],
|
|
861
|
-
"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 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 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\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"
|
|
796
|
+
"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 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 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"
|
|
862
797
|
},
|
|
863
798
|
{
|
|
864
799
|
"kind": "javascript-module",
|
|
865
|
-
"path": "src/
|
|
800
|
+
"path": "src/banner/Banner.ts",
|
|
866
801
|
"declarations": [
|
|
867
802
|
{
|
|
868
803
|
"kind": "class",
|
|
869
|
-
"description": "
|
|
870
|
-
"name": "
|
|
804
|
+
"description": "Banner informs users about important changes or conditions in the\ninterface. Use this component if you need to communicate to users\nin a prominent way.",
|
|
805
|
+
"name": "Banner",
|
|
871
806
|
"slots": [
|
|
872
807
|
{
|
|
873
|
-
"description": "
|
|
808
|
+
"description": "default slot",
|
|
874
809
|
"name": ""
|
|
875
810
|
}
|
|
876
811
|
],
|
|
877
812
|
"members": [
|
|
878
813
|
{
|
|
879
814
|
"kind": "field",
|
|
880
|
-
"name": "
|
|
815
|
+
"name": "variant",
|
|
881
816
|
"type": {
|
|
882
|
-
"text": "\"
|
|
817
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
883
818
|
},
|
|
884
819
|
"default": "\"info\"",
|
|
885
|
-
"description": "The
|
|
886
|
-
"attribute": "
|
|
820
|
+
"description": "The style variant of the banner.",
|
|
821
|
+
"attribute": "variant",
|
|
887
822
|
"reflects": true
|
|
888
823
|
}
|
|
889
824
|
],
|
|
890
825
|
"attributes": [
|
|
891
826
|
{
|
|
892
|
-
"name": "
|
|
827
|
+
"name": "variant",
|
|
893
828
|
"type": {
|
|
894
|
-
"text": "\"
|
|
829
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
895
830
|
},
|
|
896
831
|
"default": "\"info\"",
|
|
897
|
-
"description": "The
|
|
898
|
-
"fieldName": "
|
|
899
|
-
}
|
|
900
|
-
],
|
|
901
|
-
"superclass": {
|
|
902
|
-
"name": "LitElement",
|
|
903
|
-
"package": "lit"
|
|
904
|
-
},
|
|
905
|
-
"status": "ready",
|
|
906
|
-
"category": "text",
|
|
907
|
-
"tagName": "nord-badge",
|
|
908
|
-
"customElement": true
|
|
909
|
-
}
|
|
910
|
-
],
|
|
911
|
-
"exports": [
|
|
912
|
-
{
|
|
913
|
-
"kind": "js",
|
|
914
|
-
"name": "default",
|
|
915
|
-
"declaration": {
|
|
916
|
-
"name": "Badge",
|
|
917
|
-
"module": "src/badge/Badge.ts"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
"kind": "custom-element-definition",
|
|
922
|
-
"name": "nord-badge",
|
|
923
|
-
"declaration": {
|
|
924
|
-
"name": "Badge",
|
|
925
|
-
"module": "src/badge/Badge.ts"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
],
|
|
929
|
-
"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"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"kind": "javascript-module",
|
|
933
|
-
"path": "src/card/Card.ts",
|
|
934
|
-
"declarations": [
|
|
935
|
-
{
|
|
936
|
-
"kind": "class",
|
|
937
|
-
"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.",
|
|
938
|
-
"name": "Card",
|
|
939
|
-
"slots": [
|
|
940
|
-
{
|
|
941
|
-
"description": "The card content.",
|
|
942
|
-
"name": ""
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"description": "Optional slot that holds a header for the card.",
|
|
946
|
-
"name": "header"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"description": "Optional slot that holds footer content for the card.",
|
|
950
|
-
"name": "footer"
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"members": [
|
|
954
|
-
{
|
|
955
|
-
"kind": "field",
|
|
956
|
-
"name": "headerSlot",
|
|
957
|
-
"privacy": "private",
|
|
958
|
-
"default": "new SlotController(this, \"header\")"
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"kind": "field",
|
|
962
|
-
"name": "footerSlot",
|
|
963
|
-
"privacy": "private",
|
|
964
|
-
"default": "new SlotController(this, \"footer\")"
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"kind": "field",
|
|
968
|
-
"name": "padding",
|
|
969
|
-
"type": {
|
|
970
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
971
|
-
},
|
|
972
|
-
"default": "\"m\"",
|
|
973
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
974
|
-
"attribute": "padding",
|
|
975
|
-
"reflects": true
|
|
976
|
-
}
|
|
977
|
-
],
|
|
978
|
-
"attributes": [
|
|
979
|
-
{
|
|
980
|
-
"name": "padding",
|
|
981
|
-
"type": {
|
|
982
|
-
"text": "\"m\" | \"l\" | \"none\""
|
|
983
|
-
},
|
|
984
|
-
"default": "\"m\"",
|
|
985
|
-
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
986
|
-
"fieldName": "padding"
|
|
832
|
+
"description": "The style variant of the banner.",
|
|
833
|
+
"fieldName": "variant"
|
|
987
834
|
}
|
|
988
835
|
],
|
|
989
836
|
"superclass": {
|
|
@@ -991,8 +838,8 @@
|
|
|
991
838
|
"package": "lit"
|
|
992
839
|
},
|
|
993
840
|
"status": "ready",
|
|
994
|
-
"category": "
|
|
995
|
-
"tagName": "nord-
|
|
841
|
+
"category": "feedback",
|
|
842
|
+
"tagName": "nord-banner",
|
|
996
843
|
"customElement": true
|
|
997
844
|
}
|
|
998
845
|
],
|
|
@@ -1001,20 +848,20 @@
|
|
|
1001
848
|
"kind": "js",
|
|
1002
849
|
"name": "default",
|
|
1003
850
|
"declaration": {
|
|
1004
|
-
"name": "
|
|
1005
|
-
"module": "src/
|
|
851
|
+
"name": "Banner",
|
|
852
|
+
"module": "src/banner/Banner.ts"
|
|
1006
853
|
}
|
|
1007
854
|
},
|
|
1008
855
|
{
|
|
1009
856
|
"kind": "custom-element-definition",
|
|
1010
|
-
"name": "nord-
|
|
857
|
+
"name": "nord-banner",
|
|
1011
858
|
"declaration": {
|
|
1012
|
-
"name": "
|
|
1013
|
-
"module": "src/
|
|
859
|
+
"name": "Banner",
|
|
860
|
+
"module": "src/banner/Banner.ts"
|
|
1014
861
|
}
|
|
1015
862
|
}
|
|
1016
863
|
],
|
|
1017
|
-
"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
|
|
864
|
+
"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 this component if you need to communicate in a prominent way.\n- Place banner at the top of the section it applies to.\n- Use for highlighting errors and success statuses.\n- Put banner close to the context it’s referring to.\n- Move focus to the banner if it’s relevant to the current workflow.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Move focus to banner if it appears on page load.\n- Use for highlighting general content or as a banner.\n- Use to replace an error page.\n\n</div>\n\n---\n\n## Content guidelines\n\nBanner content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident. Please see our status page for more details.</div>\n<div class=\"n-usage n-usage-dont\">There was an error.</div>\n\nWhen writing banner content, always write it 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\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re Experiencing An Incident.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re experiencing an incident</div>\n"
|
|
1018
865
|
},
|
|
1019
866
|
{
|
|
1020
867
|
"kind": "javascript-module",
|
|
@@ -1536,15 +1383,236 @@
|
|
|
1536
1383
|
},
|
|
1537
1384
|
{
|
|
1538
1385
|
"kind": "javascript-module",
|
|
1539
|
-
"path": "src/
|
|
1386
|
+
"path": "src/avatar/Avatar.ts",
|
|
1540
1387
|
"declarations": [
|
|
1541
1388
|
{
|
|
1542
1389
|
"kind": "class",
|
|
1543
|
-
"description": "
|
|
1544
|
-
"name": "
|
|
1545
|
-
"
|
|
1546
|
-
{
|
|
1547
|
-
"
|
|
1390
|
+
"description": "Avatar is used for showing a thumbnail representation of a user or entity.\nDefault avatar illustration is displayed when no src is specified.",
|
|
1391
|
+
"name": "Avatar",
|
|
1392
|
+
"members": [
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "field",
|
|
1395
|
+
"name": "state",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "States<typeof transition>"
|
|
1398
|
+
},
|
|
1399
|
+
"privacy": "private",
|
|
1400
|
+
"default": "\"initial\""
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"kind": "field",
|
|
1404
|
+
"name": "size",
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "\"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
1407
|
+
},
|
|
1408
|
+
"default": "\"m\"",
|
|
1409
|
+
"description": "The size of the avatar.",
|
|
1410
|
+
"attribute": "size",
|
|
1411
|
+
"reflects": true
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "field",
|
|
1415
|
+
"name": "src",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "string | undefined"
|
|
1418
|
+
},
|
|
1419
|
+
"description": "The URL of the avatar image uploaded by the user.",
|
|
1420
|
+
"attribute": "src",
|
|
1421
|
+
"reflects": true
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "field",
|
|
1425
|
+
"name": "name",
|
|
1426
|
+
"type": {
|
|
1427
|
+
"text": "string"
|
|
1428
|
+
},
|
|
1429
|
+
"default": "\"\"",
|
|
1430
|
+
"description": "The name of the person.",
|
|
1431
|
+
"attribute": "name"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"kind": "method",
|
|
1435
|
+
"name": "handleSrcChange",
|
|
1436
|
+
"privacy": "protected"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "method",
|
|
1440
|
+
"name": "renderImage",
|
|
1441
|
+
"privacy": "protected"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "method",
|
|
1445
|
+
"name": "renderFallback",
|
|
1446
|
+
"privacy": "protected"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "method",
|
|
1450
|
+
"name": "handleLoad",
|
|
1451
|
+
"privacy": "private"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "method",
|
|
1455
|
+
"name": "handleError",
|
|
1456
|
+
"privacy": "private"
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
"attributes": [
|
|
1460
|
+
{
|
|
1461
|
+
"name": "size",
|
|
1462
|
+
"type": {
|
|
1463
|
+
"text": "\"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
1464
|
+
},
|
|
1465
|
+
"default": "\"m\"",
|
|
1466
|
+
"description": "The size of the avatar.",
|
|
1467
|
+
"fieldName": "size"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "src",
|
|
1471
|
+
"type": {
|
|
1472
|
+
"text": "string | undefined"
|
|
1473
|
+
},
|
|
1474
|
+
"description": "The URL of the avatar image uploaded by the user.",
|
|
1475
|
+
"fieldName": "src"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "name",
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "string"
|
|
1481
|
+
},
|
|
1482
|
+
"default": "\"\"",
|
|
1483
|
+
"description": "The name of the person.",
|
|
1484
|
+
"fieldName": "name"
|
|
1485
|
+
}
|
|
1486
|
+
],
|
|
1487
|
+
"superclass": {
|
|
1488
|
+
"name": "LitElement",
|
|
1489
|
+
"package": "lit"
|
|
1490
|
+
},
|
|
1491
|
+
"status": "ready",
|
|
1492
|
+
"category": "image",
|
|
1493
|
+
"tagName": "nord-avatar",
|
|
1494
|
+
"customElement": true
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
"exports": [
|
|
1498
|
+
{
|
|
1499
|
+
"kind": "js",
|
|
1500
|
+
"name": "default",
|
|
1501
|
+
"declaration": {
|
|
1502
|
+
"name": "Avatar",
|
|
1503
|
+
"module": "src/avatar/Avatar.ts"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "custom-element-definition",
|
|
1508
|
+
"name": "nord-avatar",
|
|
1509
|
+
"declaration": {
|
|
1510
|
+
"name": "Avatar",
|
|
1511
|
+
"module": "src/avatar/Avatar.ts"
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
],
|
|
1515
|
+
"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- Always add the name of the person using the `name` property.\n- For the best results, use square images or images cropped into a square.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Try to avoid using landscape or portrait images as avatars. Let users crop their images before or after uploading if possible.\n\n</div>\n"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "javascript-module",
|
|
1519
|
+
"path": "src/card/Card.ts",
|
|
1520
|
+
"declarations": [
|
|
1521
|
+
{
|
|
1522
|
+
"kind": "class",
|
|
1523
|
+
"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.",
|
|
1524
|
+
"name": "Card",
|
|
1525
|
+
"slots": [
|
|
1526
|
+
{
|
|
1527
|
+
"description": "The card content.",
|
|
1528
|
+
"name": ""
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"description": "Optional slot that holds a header for the card.",
|
|
1532
|
+
"name": "header"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"description": "Optional slot that holds footer content for the card.",
|
|
1536
|
+
"name": "footer"
|
|
1537
|
+
}
|
|
1538
|
+
],
|
|
1539
|
+
"members": [
|
|
1540
|
+
{
|
|
1541
|
+
"kind": "field",
|
|
1542
|
+
"name": "headerSlot",
|
|
1543
|
+
"privacy": "private",
|
|
1544
|
+
"default": "new SlotController(this, \"header\")"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"kind": "field",
|
|
1548
|
+
"name": "footerSlot",
|
|
1549
|
+
"privacy": "private",
|
|
1550
|
+
"default": "new SlotController(this, \"footer\")"
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"kind": "field",
|
|
1554
|
+
"name": "padding",
|
|
1555
|
+
"type": {
|
|
1556
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1557
|
+
},
|
|
1558
|
+
"default": "\"m\"",
|
|
1559
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1560
|
+
"attribute": "padding",
|
|
1561
|
+
"reflects": true
|
|
1562
|
+
}
|
|
1563
|
+
],
|
|
1564
|
+
"attributes": [
|
|
1565
|
+
{
|
|
1566
|
+
"name": "padding",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "\"m\" | \"l\" | \"none\""
|
|
1569
|
+
},
|
|
1570
|
+
"default": "\"m\"",
|
|
1571
|
+
"description": "Controls the padding of card component. When set to “none”,\nthe header and footer slots will still have padding.",
|
|
1572
|
+
"fieldName": "padding"
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
"superclass": {
|
|
1576
|
+
"name": "LitElement",
|
|
1577
|
+
"package": "lit"
|
|
1578
|
+
},
|
|
1579
|
+
"status": "ready",
|
|
1580
|
+
"category": "structure",
|
|
1581
|
+
"tagName": "nord-card",
|
|
1582
|
+
"customElement": true
|
|
1583
|
+
}
|
|
1584
|
+
],
|
|
1585
|
+
"exports": [
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "js",
|
|
1588
|
+
"name": "default",
|
|
1589
|
+
"declaration": {
|
|
1590
|
+
"name": "Card",
|
|
1591
|
+
"module": "src/card/Card.ts"
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "custom-element-definition",
|
|
1596
|
+
"name": "nord-card",
|
|
1597
|
+
"declaration": {
|
|
1598
|
+
"name": "Card",
|
|
1599
|
+
"module": "src/card/Card.ts"
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
],
|
|
1603
|
+
"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"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"kind": "javascript-module",
|
|
1607
|
+
"path": "src/checkbox/Checkbox.ts",
|
|
1608
|
+
"declarations": [
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "class",
|
|
1611
|
+
"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.",
|
|
1612
|
+
"name": "Checkbox",
|
|
1613
|
+
"slots": [
|
|
1614
|
+
{
|
|
1615
|
+
"description": "Use when a label requires more than plain text.",
|
|
1548
1616
|
"name": "label"
|
|
1549
1617
|
},
|
|
1550
1618
|
{
|
|
@@ -2150,102 +2218,34 @@
|
|
|
2150
2218
|
},
|
|
2151
2219
|
{
|
|
2152
2220
|
"kind": "javascript-module",
|
|
2153
|
-
"path": "src/
|
|
2221
|
+
"path": "src/command-menu/CommandMenu.ts",
|
|
2154
2222
|
"declarations": [
|
|
2155
2223
|
{
|
|
2156
2224
|
"kind": "class",
|
|
2157
|
-
"description": "
|
|
2158
|
-
"name": "
|
|
2225
|
+
"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.",
|
|
2226
|
+
"name": "CommandMenu",
|
|
2159
2227
|
"slots": [
|
|
2160
2228
|
{
|
|
2161
|
-
"description": "default
|
|
2162
|
-
"name": ""
|
|
2229
|
+
"description": "Used to replace the default footer contents.",
|
|
2230
|
+
"name": "footer"
|
|
2163
2231
|
}
|
|
2164
2232
|
],
|
|
2165
2233
|
"members": [
|
|
2166
2234
|
{
|
|
2167
2235
|
"kind": "field",
|
|
2168
|
-
"name": "
|
|
2236
|
+
"name": "inputRef",
|
|
2237
|
+
"privacy": "private"
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"kind": "field",
|
|
2241
|
+
"name": "listRef",
|
|
2242
|
+
"privacy": "private"
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "field",
|
|
2246
|
+
"name": "previousFocus",
|
|
2169
2247
|
"type": {
|
|
2170
|
-
"text": "
|
|
2171
|
-
},
|
|
2172
|
-
"default": "\"info\"",
|
|
2173
|
-
"description": "The style variant of the banner.",
|
|
2174
|
-
"attribute": "variant",
|
|
2175
|
-
"reflects": true
|
|
2176
|
-
}
|
|
2177
|
-
],
|
|
2178
|
-
"attributes": [
|
|
2179
|
-
{
|
|
2180
|
-
"name": "variant",
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
2183
|
-
},
|
|
2184
|
-
"default": "\"info\"",
|
|
2185
|
-
"description": "The style variant of the banner.",
|
|
2186
|
-
"fieldName": "variant"
|
|
2187
|
-
}
|
|
2188
|
-
],
|
|
2189
|
-
"superclass": {
|
|
2190
|
-
"name": "LitElement",
|
|
2191
|
-
"package": "lit"
|
|
2192
|
-
},
|
|
2193
|
-
"status": "new",
|
|
2194
|
-
"category": "feedback",
|
|
2195
|
-
"tagName": "nord-banner",
|
|
2196
|
-
"customElement": true
|
|
2197
|
-
}
|
|
2198
|
-
],
|
|
2199
|
-
"exports": [
|
|
2200
|
-
{
|
|
2201
|
-
"kind": "js",
|
|
2202
|
-
"name": "default",
|
|
2203
|
-
"declaration": {
|
|
2204
|
-
"name": "Banner",
|
|
2205
|
-
"module": "src/banner/Banner.ts"
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
{
|
|
2209
|
-
"kind": "custom-element-definition",
|
|
2210
|
-
"name": "nord-banner",
|
|
2211
|
-
"declaration": {
|
|
2212
|
-
"name": "Banner",
|
|
2213
|
-
"module": "src/banner/Banner.ts"
|
|
2214
|
-
}
|
|
2215
|
-
}
|
|
2216
|
-
],
|
|
2217
|
-
"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 this component if you need to communicate in a prominent way.\n- Place banner at the top of the section it applies to.\n- Use for highlighting errors and success statuses.\n- Put banner close to the context it’s referring to.\n- Move focus to the banner if it’s relevant to the current workflow.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Move focus to banner if it appears on page load.\n- Use for highlighting general content or as a banner.\n- Use to replace an error page.\n\n</div>\n\n---\n\n## Content guidelines\n\nBanner content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident. Please see our status page for more details.</div>\n<div class=\"n-usage n-usage-dont\">There was an error.</div>\n\nWhen writing banner content, always write it 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\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re Experiencing An Incident.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re experiencing an incident</div>\n"
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"kind": "javascript-module",
|
|
2221
|
-
"path": "src/command-menu/CommandMenu.ts",
|
|
2222
|
-
"declarations": [
|
|
2223
|
-
{
|
|
2224
|
-
"kind": "class",
|
|
2225
|
-
"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.",
|
|
2226
|
-
"name": "CommandMenu",
|
|
2227
|
-
"slots": [
|
|
2228
|
-
{
|
|
2229
|
-
"description": "Used to replace the default footer contents.",
|
|
2230
|
-
"name": "footer"
|
|
2231
|
-
}
|
|
2232
|
-
],
|
|
2233
|
-
"members": [
|
|
2234
|
-
{
|
|
2235
|
-
"kind": "field",
|
|
2236
|
-
"name": "inputRef",
|
|
2237
|
-
"privacy": "private"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "field",
|
|
2241
|
-
"name": "listRef",
|
|
2242
|
-
"privacy": "private"
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"kind": "field",
|
|
2246
|
-
"name": "previousFocus",
|
|
2247
|
-
"type": {
|
|
2248
|
-
"text": "HTMLElement | undefined"
|
|
2248
|
+
"text": "HTMLElement | undefined"
|
|
2249
2249
|
},
|
|
2250
2250
|
"privacy": "private"
|
|
2251
2251
|
},
|
|
@@ -3764,6 +3764,30 @@
|
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
3766
|
]
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"kind": "function",
|
|
3770
|
+
"name": "clamp",
|
|
3771
|
+
"parameters": [
|
|
3772
|
+
{
|
|
3773
|
+
"name": "value",
|
|
3774
|
+
"type": {
|
|
3775
|
+
"text": "number"
|
|
3776
|
+
}
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"name": "min",
|
|
3780
|
+
"type": {
|
|
3781
|
+
"text": "number"
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"name": "max",
|
|
3786
|
+
"type": {
|
|
3787
|
+
"text": "number"
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
]
|
|
3767
3791
|
}
|
|
3768
3792
|
],
|
|
3769
3793
|
"exports": [
|
|
@@ -3782,6 +3806,14 @@
|
|
|
3782
3806
|
"name": "range",
|
|
3783
3807
|
"module": "src/common/number.ts"
|
|
3784
3808
|
}
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"kind": "js",
|
|
3812
|
+
"name": "clamp",
|
|
3813
|
+
"declaration": {
|
|
3814
|
+
"name": "clamp",
|
|
3815
|
+
"module": "src/common/number.ts"
|
|
3816
|
+
}
|
|
3785
3817
|
}
|
|
3786
3818
|
]
|
|
3787
3819
|
},
|
|
@@ -3960,6 +3992,55 @@
|
|
|
3960
3992
|
}
|
|
3961
3993
|
]
|
|
3962
3994
|
},
|
|
3995
|
+
{
|
|
3996
|
+
"kind": "javascript-module",
|
|
3997
|
+
"path": "src/common/storage.ts",
|
|
3998
|
+
"declarations": [
|
|
3999
|
+
{
|
|
4000
|
+
"kind": "function",
|
|
4001
|
+
"name": "storage",
|
|
4002
|
+
"parameters": [
|
|
4003
|
+
{
|
|
4004
|
+
"name": "key",
|
|
4005
|
+
"type": {
|
|
4006
|
+
"text": "string"
|
|
4007
|
+
}
|
|
4008
|
+
},
|
|
4009
|
+
{
|
|
4010
|
+
"name": "defaultValue",
|
|
4011
|
+
"type": {
|
|
4012
|
+
"text": "T"
|
|
4013
|
+
}
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
"name": "serialize",
|
|
4017
|
+
"default": "JSON.stringify",
|
|
4018
|
+
"type": {
|
|
4019
|
+
"text": "(value: T) => string"
|
|
4020
|
+
}
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"name": "deserialize",
|
|
4024
|
+
"default": "JSON.parse",
|
|
4025
|
+
"type": {
|
|
4026
|
+
"text": "(value: string) => T"
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
],
|
|
4030
|
+
"description": "Thin wrapper around local storage which simplifies (de)serialization and default values.\nBy default, (de)serializes as JSON."
|
|
4031
|
+
}
|
|
4032
|
+
],
|
|
4033
|
+
"exports": [
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "js",
|
|
4036
|
+
"name": "storage",
|
|
4037
|
+
"declaration": {
|
|
4038
|
+
"name": "storage",
|
|
4039
|
+
"module": "src/common/storage.ts"
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
]
|
|
4043
|
+
},
|
|
3963
4044
|
{
|
|
3964
4045
|
"kind": "javascript-module",
|
|
3965
4046
|
"path": "src/date-picker/DatePicker.ts",
|
|
@@ -5381,7 +5462,7 @@
|
|
|
5381
5462
|
"name": "LitElement",
|
|
5382
5463
|
"package": "lit"
|
|
5383
5464
|
},
|
|
5384
|
-
"status": "
|
|
5465
|
+
"status": "ready",
|
|
5385
5466
|
"category": "structure",
|
|
5386
5467
|
"tagName": "nord-header",
|
|
5387
5468
|
"customElement": true
|
|
@@ -6303,106 +6384,356 @@
|
|
|
6303
6384
|
"members": [
|
|
6304
6385
|
{
|
|
6305
6386
|
"kind": "field",
|
|
6306
|
-
"name": "
|
|
6387
|
+
"name": "peekTimeoutId",
|
|
6307
6388
|
"type": {
|
|
6308
|
-
"text": "
|
|
6389
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
6309
6390
|
},
|
|
6310
|
-
"privacy": "private"
|
|
6311
|
-
|
|
6312
|
-
"default": "false",
|
|
6313
|
-
"inheritedFrom": {
|
|
6314
|
-
"name": "DraftComponentMixin",
|
|
6315
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
6316
|
-
}
|
|
6317
|
-
}
|
|
6318
|
-
],
|
|
6319
|
-
"mixins": [
|
|
6391
|
+
"privacy": "private"
|
|
6392
|
+
},
|
|
6320
6393
|
{
|
|
6321
|
-
"
|
|
6322
|
-
"
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
},
|
|
6329
|
-
"status": "draft",
|
|
6330
|
-
"category": "structure",
|
|
6331
|
-
"tagName": "nord-layout",
|
|
6332
|
-
"customElement": true
|
|
6333
|
-
}
|
|
6334
|
-
],
|
|
6335
|
-
"exports": [
|
|
6336
|
-
{
|
|
6337
|
-
"kind": "js",
|
|
6338
|
-
"name": "default",
|
|
6339
|
-
"declaration": {
|
|
6340
|
-
"name": "Layout",
|
|
6341
|
-
"module": "src/layout/Layout.ts"
|
|
6342
|
-
}
|
|
6343
|
-
},
|
|
6344
|
-
{
|
|
6345
|
-
"kind": "custom-element-definition",
|
|
6346
|
-
"name": "nord-layout",
|
|
6347
|
-
"declaration": {
|
|
6348
|
-
"name": "Layout",
|
|
6349
|
-
"module": "src/layout/Layout.ts"
|
|
6350
|
-
}
|
|
6351
|
-
}
|
|
6352
|
-
],
|
|
6353
|
-
"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- To visually group content in a layout section, use the Card component.\n- To lay out a set of smaller components, use the Stack component.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Never put layout component inside another HTML landmark.\n- Don’t use when you need a vertical or horizontal layout system. Use Stack component instead.\n\n</div>\n\n---\n\n## Additional considerations\n\n- Layout component uses `<main>` element internally which is an HTML sectioning element which by default defines an ARIA landmark role. For that reason you should never put layout component inside another HTML landmark.\n"
|
|
6354
|
-
},
|
|
6355
|
-
{
|
|
6356
|
-
"kind": "javascript-module",
|
|
6357
|
-
"path": "src/localization/LocalizeController.ts",
|
|
6358
|
-
"declarations": [
|
|
6359
|
-
{
|
|
6360
|
-
"kind": "class",
|
|
6361
|
-
"description": "",
|
|
6362
|
-
"name": "LocalizeController",
|
|
6363
|
-
"members": [
|
|
6394
|
+
"kind": "field",
|
|
6395
|
+
"name": "navToggleEl",
|
|
6396
|
+
"type": {
|
|
6397
|
+
"text": "Element | undefined"
|
|
6398
|
+
},
|
|
6399
|
+
"privacy": "private"
|
|
6400
|
+
},
|
|
6364
6401
|
{
|
|
6365
6402
|
"kind": "field",
|
|
6366
|
-
"name": "
|
|
6403
|
+
"name": "navEl",
|
|
6367
6404
|
"type": {
|
|
6368
|
-
"text": "
|
|
6405
|
+
"text": "HTMLDivElement"
|
|
6369
6406
|
},
|
|
6370
6407
|
"privacy": "private"
|
|
6371
6408
|
},
|
|
6372
6409
|
{
|
|
6373
6410
|
"kind": "field",
|
|
6374
|
-
"name": "
|
|
6411
|
+
"name": "navWidth",
|
|
6412
|
+
"privacy": "private"
|
|
6413
|
+
},
|
|
6414
|
+
{
|
|
6415
|
+
"kind": "field",
|
|
6416
|
+
"name": "isDragging",
|
|
6375
6417
|
"type": {
|
|
6376
|
-
"text": "
|
|
6418
|
+
"text": "boolean"
|
|
6419
|
+
},
|
|
6420
|
+
"privacy": "private",
|
|
6421
|
+
"default": "false"
|
|
6422
|
+
},
|
|
6423
|
+
{
|
|
6424
|
+
"kind": "field",
|
|
6425
|
+
"name": "navState",
|
|
6426
|
+
"type": {
|
|
6427
|
+
"text": "NavState"
|
|
6377
6428
|
},
|
|
6378
6429
|
"privacy": "private"
|
|
6379
6430
|
},
|
|
6380
6431
|
{
|
|
6381
6432
|
"kind": "field",
|
|
6382
|
-
"name": "
|
|
6383
|
-
"
|
|
6433
|
+
"name": "navOpen",
|
|
6434
|
+
"type": {
|
|
6435
|
+
"text": "boolean"
|
|
6436
|
+
},
|
|
6437
|
+
"description": "Controls whether the navigation is hidden off-screen or not.\nDefaults to `true` for wide viewports, and `false` otherwise.",
|
|
6438
|
+
"attribute": "nav-open",
|
|
6439
|
+
"reflects": true
|
|
6384
6440
|
},
|
|
6385
6441
|
{
|
|
6386
6442
|
"kind": "field",
|
|
6387
|
-
"name": "
|
|
6388
|
-
"
|
|
6443
|
+
"name": "navToggle",
|
|
6444
|
+
"type": {
|
|
6445
|
+
"text": "string | undefined"
|
|
6446
|
+
},
|
|
6447
|
+
"description": "ID reference of element used to toggle the navigation.",
|
|
6448
|
+
"attribute": "nav-toggle"
|
|
6449
|
+
},
|
|
6450
|
+
{
|
|
6451
|
+
"kind": "field",
|
|
6452
|
+
"name": "lightDismiss",
|
|
6453
|
+
"privacy": "private",
|
|
6454
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.navState === \"opened\" && !this.mq.matches,\n onDismiss: () => this.navTransition(\"close\"),\n isDismissible: node => node !== this.navEl && node !== this.navToggleEl,\n })"
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
"kind": "field",
|
|
6458
|
+
"name": "mq",
|
|
6459
|
+
"privacy": "private",
|
|
6460
|
+
"default": "new MediaQueryController(this, mediaQuery, () => this.handleMediaQueryChange())"
|
|
6461
|
+
},
|
|
6462
|
+
{
|
|
6463
|
+
"kind": "field",
|
|
6464
|
+
"name": "direction",
|
|
6465
|
+
"privacy": "private",
|
|
6466
|
+
"default": "new DirectionController(this)"
|
|
6389
6467
|
},
|
|
6390
6468
|
{
|
|
6391
6469
|
"kind": "method",
|
|
6392
|
-
"name": "
|
|
6470
|
+
"name": "getToggleElement",
|
|
6471
|
+
"privacy": "protected"
|
|
6393
6472
|
},
|
|
6394
6473
|
{
|
|
6395
6474
|
"kind": "method",
|
|
6396
|
-
"name": "
|
|
6475
|
+
"name": "cleanup",
|
|
6476
|
+
"privacy": "private"
|
|
6397
6477
|
},
|
|
6398
6478
|
{
|
|
6399
6479
|
"kind": "method",
|
|
6400
|
-
"name": "
|
|
6401
|
-
"
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6480
|
+
"name": "handleNavWidthChange",
|
|
6481
|
+
"privacy": "protected"
|
|
6482
|
+
},
|
|
6483
|
+
{
|
|
6484
|
+
"kind": "method",
|
|
6485
|
+
"name": "handleNavStateChange",
|
|
6486
|
+
"privacy": "protected",
|
|
6487
|
+
"parameters": [
|
|
6488
|
+
{
|
|
6489
|
+
"name": "prev",
|
|
6490
|
+
"type": {
|
|
6491
|
+
"text": "NavState"
|
|
6492
|
+
}
|
|
6493
|
+
}
|
|
6494
|
+
]
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"kind": "method",
|
|
6498
|
+
"name": "handleOpenChange",
|
|
6499
|
+
"privacy": "protected"
|
|
6500
|
+
},
|
|
6501
|
+
{
|
|
6502
|
+
"kind": "method",
|
|
6503
|
+
"name": "navTransition",
|
|
6504
|
+
"privacy": "private",
|
|
6505
|
+
"parameters": [
|
|
6506
|
+
{
|
|
6507
|
+
"name": "event",
|
|
6508
|
+
"type": {
|
|
6509
|
+
"text": "NavEvent"
|
|
6510
|
+
}
|
|
6511
|
+
}
|
|
6512
|
+
]
|
|
6513
|
+
},
|
|
6514
|
+
{
|
|
6515
|
+
"kind": "method",
|
|
6516
|
+
"name": "handleClick",
|
|
6517
|
+
"privacy": "private"
|
|
6518
|
+
},
|
|
6519
|
+
{
|
|
6520
|
+
"kind": "method",
|
|
6521
|
+
"name": "handleDropdownOpen",
|
|
6522
|
+
"privacy": "private",
|
|
6523
|
+
"parameters": [
|
|
6524
|
+
{
|
|
6525
|
+
"name": "e",
|
|
6526
|
+
"type": {
|
|
6527
|
+
"text": "Event"
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
]
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
"kind": "method",
|
|
6534
|
+
"name": "handleDropdownClose",
|
|
6535
|
+
"privacy": "private",
|
|
6536
|
+
"parameters": [
|
|
6537
|
+
{
|
|
6538
|
+
"name": "e",
|
|
6539
|
+
"type": {
|
|
6540
|
+
"text": "Event"
|
|
6541
|
+
}
|
|
6542
|
+
}
|
|
6543
|
+
]
|
|
6544
|
+
},
|
|
6545
|
+
{
|
|
6546
|
+
"kind": "field",
|
|
6547
|
+
"name": "handleMediaQueryChange",
|
|
6548
|
+
"privacy": "private"
|
|
6549
|
+
},
|
|
6550
|
+
{
|
|
6551
|
+
"kind": "field",
|
|
6552
|
+
"name": "handleToggleClick",
|
|
6553
|
+
"privacy": "private"
|
|
6554
|
+
},
|
|
6555
|
+
{
|
|
6556
|
+
"kind": "field",
|
|
6557
|
+
"name": "handleNavFocus",
|
|
6558
|
+
"privacy": "private"
|
|
6559
|
+
},
|
|
6560
|
+
{
|
|
6561
|
+
"kind": "field",
|
|
6562
|
+
"name": "handleMainFocus",
|
|
6563
|
+
"privacy": "private"
|
|
6564
|
+
},
|
|
6565
|
+
{
|
|
6566
|
+
"kind": "field",
|
|
6567
|
+
"name": "handleMouseEnter",
|
|
6568
|
+
"privacy": "private"
|
|
6569
|
+
},
|
|
6570
|
+
{
|
|
6571
|
+
"kind": "field",
|
|
6572
|
+
"name": "handleMouseLeave",
|
|
6573
|
+
"privacy": "private"
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
"kind": "field",
|
|
6577
|
+
"name": "handleTransitionEnd",
|
|
6578
|
+
"privacy": "private"
|
|
6579
|
+
},
|
|
6580
|
+
{
|
|
6581
|
+
"kind": "method",
|
|
6582
|
+
"name": "handleKeyboardResize",
|
|
6583
|
+
"privacy": "private",
|
|
6584
|
+
"parameters": [
|
|
6585
|
+
{
|
|
6586
|
+
"name": "e",
|
|
6587
|
+
"type": {
|
|
6588
|
+
"text": "KeyboardEvent"
|
|
6589
|
+
}
|
|
6590
|
+
}
|
|
6591
|
+
]
|
|
6592
|
+
},
|
|
6593
|
+
{
|
|
6594
|
+
"kind": "method",
|
|
6595
|
+
"name": "setNavWidth",
|
|
6596
|
+
"privacy": "private",
|
|
6597
|
+
"parameters": [
|
|
6598
|
+
{
|
|
6599
|
+
"name": "width",
|
|
6600
|
+
"type": {
|
|
6601
|
+
"text": "number"
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
]
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
"kind": "method",
|
|
6608
|
+
"name": "startDragging",
|
|
6609
|
+
"privacy": "private",
|
|
6610
|
+
"parameters": [
|
|
6611
|
+
{
|
|
6612
|
+
"name": "e",
|
|
6613
|
+
"type": {
|
|
6614
|
+
"text": "PointerEvent"
|
|
6615
|
+
}
|
|
6616
|
+
}
|
|
6617
|
+
]
|
|
6618
|
+
},
|
|
6619
|
+
{
|
|
6620
|
+
"kind": "method",
|
|
6621
|
+
"name": "stopDragging",
|
|
6622
|
+
"privacy": "private"
|
|
6623
|
+
},
|
|
6624
|
+
{
|
|
6625
|
+
"kind": "method",
|
|
6626
|
+
"name": "handleDrag",
|
|
6627
|
+
"privacy": "private",
|
|
6628
|
+
"parameters": [
|
|
6629
|
+
{
|
|
6630
|
+
"name": "e",
|
|
6631
|
+
"type": {
|
|
6632
|
+
"text": "PointerEvent"
|
|
6633
|
+
}
|
|
6634
|
+
}
|
|
6635
|
+
]
|
|
6636
|
+
}
|
|
6637
|
+
],
|
|
6638
|
+
"attributes": [
|
|
6639
|
+
{
|
|
6640
|
+
"name": "nav-open",
|
|
6641
|
+
"type": {
|
|
6642
|
+
"text": "boolean"
|
|
6643
|
+
},
|
|
6644
|
+
"description": "Controls whether the navigation is hidden off-screen or not.\nDefaults to `true` for wide viewports, and `false` otherwise.",
|
|
6645
|
+
"fieldName": "navOpen"
|
|
6646
|
+
},
|
|
6647
|
+
{
|
|
6648
|
+
"name": "nav-toggle",
|
|
6649
|
+
"type": {
|
|
6650
|
+
"text": "string | undefined"
|
|
6651
|
+
},
|
|
6652
|
+
"description": "ID reference of element used to toggle the navigation.",
|
|
6653
|
+
"fieldName": "navToggle"
|
|
6654
|
+
}
|
|
6655
|
+
],
|
|
6656
|
+
"superclass": {
|
|
6657
|
+
"name": "LitElement",
|
|
6658
|
+
"package": "lit"
|
|
6659
|
+
},
|
|
6660
|
+
"status": "ready",
|
|
6661
|
+
"category": "structure",
|
|
6662
|
+
"tagName": "nord-layout",
|
|
6663
|
+
"customElement": true
|
|
6664
|
+
}
|
|
6665
|
+
],
|
|
6666
|
+
"exports": [
|
|
6667
|
+
{
|
|
6668
|
+
"kind": "js",
|
|
6669
|
+
"name": "default",
|
|
6670
|
+
"declaration": {
|
|
6671
|
+
"name": "Layout",
|
|
6672
|
+
"module": "src/layout/Layout.ts"
|
|
6673
|
+
}
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
"kind": "custom-element-definition",
|
|
6677
|
+
"name": "nord-layout",
|
|
6678
|
+
"declaration": {
|
|
6679
|
+
"name": "Layout",
|
|
6680
|
+
"module": "src/layout/Layout.ts"
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
],
|
|
6684
|
+
"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- To visually group content in a layout section, use the Card component.\n- To lay out a set of smaller components, use the Stack component.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Never put layout component inside another HTML landmark.\n- Don’t use when you need a vertical or horizontal layout system. Use Stack component instead.\n\n</div>\n\n---\n\n## Additional considerations\n\n- Layout component uses `<main>` element internally which is an HTML sectioning element which by default defines an ARIA landmark role. For that reason you should never put layout component inside another HTML landmark.\n"
|
|
6685
|
+
},
|
|
6686
|
+
{
|
|
6687
|
+
"kind": "javascript-module",
|
|
6688
|
+
"path": "src/localization/LocalizeController.ts",
|
|
6689
|
+
"declarations": [
|
|
6690
|
+
{
|
|
6691
|
+
"kind": "class",
|
|
6692
|
+
"description": "",
|
|
6693
|
+
"name": "LocalizeController",
|
|
6694
|
+
"members": [
|
|
6695
|
+
{
|
|
6696
|
+
"kind": "field",
|
|
6697
|
+
"name": "unsubscribe",
|
|
6698
|
+
"type": {
|
|
6699
|
+
"text": "ReturnType<typeof subscribe> | undefined"
|
|
6700
|
+
},
|
|
6701
|
+
"privacy": "private"
|
|
6702
|
+
},
|
|
6703
|
+
{
|
|
6704
|
+
"kind": "field",
|
|
6705
|
+
"name": "resolvedTranslation",
|
|
6706
|
+
"type": {
|
|
6707
|
+
"text": "Translation"
|
|
6708
|
+
},
|
|
6709
|
+
"privacy": "private"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
"kind": "field",
|
|
6713
|
+
"name": "lang",
|
|
6714
|
+
"description": "The lang of the document or element, with element taking precedence"
|
|
6715
|
+
},
|
|
6716
|
+
{
|
|
6717
|
+
"kind": "field",
|
|
6718
|
+
"name": "resolvedLang",
|
|
6719
|
+
"description": "The lang of the translation being applied.\nThis may not match the document/element lang, in case of fallback translation"
|
|
6720
|
+
},
|
|
6721
|
+
{
|
|
6722
|
+
"kind": "method",
|
|
6723
|
+
"name": "hostConnected"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"kind": "method",
|
|
6727
|
+
"name": "hostDisconnected"
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
"kind": "method",
|
|
6731
|
+
"name": "term",
|
|
6732
|
+
"return": {
|
|
6733
|
+
"type": {
|
|
6734
|
+
"text": "Result<Translation[TComponentName], Key>"
|
|
6735
|
+
}
|
|
6736
|
+
},
|
|
6406
6737
|
"parameters": [
|
|
6407
6738
|
{
|
|
6408
6739
|
"name": "key",
|
|
@@ -6641,7 +6972,7 @@
|
|
|
6641
6972
|
"name": "LitElement",
|
|
6642
6973
|
"package": "lit"
|
|
6643
6974
|
},
|
|
6644
|
-
"status": "
|
|
6975
|
+
"status": "ready",
|
|
6645
6976
|
"category": "navigation",
|
|
6646
6977
|
"tagName": "nord-nav-group",
|
|
6647
6978
|
"customElement": true
|
|
@@ -6900,7 +7231,7 @@
|
|
|
6900
7231
|
"name": "LitElement",
|
|
6901
7232
|
"package": "lit"
|
|
6902
7233
|
},
|
|
6903
|
-
"status": "
|
|
7234
|
+
"status": "ready",
|
|
6904
7235
|
"category": "navigation",
|
|
6905
7236
|
"tagName": "nord-nav-item",
|
|
6906
7237
|
"customElement": true
|
|
@@ -6948,33 +7279,12 @@
|
|
|
6948
7279
|
"name": "footer"
|
|
6949
7280
|
}
|
|
6950
7281
|
],
|
|
6951
|
-
"members": [
|
|
6952
|
-
{
|
|
6953
|
-
"kind": "field",
|
|
6954
|
-
"name": "_warningLogged",
|
|
6955
|
-
"type": {
|
|
6956
|
-
"text": "boolean"
|
|
6957
|
-
},
|
|
6958
|
-
"privacy": "private",
|
|
6959
|
-
"static": true,
|
|
6960
|
-
"default": "false",
|
|
6961
|
-
"inheritedFrom": {
|
|
6962
|
-
"name": "DraftComponentMixin",
|
|
6963
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
6964
|
-
}
|
|
6965
|
-
}
|
|
6966
|
-
],
|
|
6967
|
-
"mixins": [
|
|
6968
|
-
{
|
|
6969
|
-
"name": "DraftComponentMixin",
|
|
6970
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
6971
|
-
}
|
|
6972
|
-
],
|
|
7282
|
+
"members": [],
|
|
6973
7283
|
"superclass": {
|
|
6974
7284
|
"name": "LitElement",
|
|
6975
7285
|
"package": "lit"
|
|
6976
7286
|
},
|
|
6977
|
-
"status": "
|
|
7287
|
+
"status": "ready",
|
|
6978
7288
|
"category": "navigation",
|
|
6979
7289
|
"tagName": "nord-navigation",
|
|
6980
7290
|
"customElement": true
|
|
@@ -7033,31 +7343,16 @@
|
|
|
7033
7343
|
},
|
|
7034
7344
|
{
|
|
7035
7345
|
"kind": "field",
|
|
7036
|
-
"name": "
|
|
7037
|
-
"type": {
|
|
7038
|
-
"text": "string"
|
|
7039
|
-
},
|
|
7346
|
+
"name": "dismiss",
|
|
7040
7347
|
"privacy": "private",
|
|
7041
|
-
"default": "\
|
|
7348
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: e => this.hide(e.type !== \"click\"),\n isDismissible: node => node !== this && node !== this.targetElement,\n })",
|
|
7349
|
+
"description": "Handle dismissal of the popout, clicking outside the target button and popout."
|
|
7042
7350
|
},
|
|
7043
7351
|
{
|
|
7044
7352
|
"kind": "field",
|
|
7045
|
-
"name": "
|
|
7353
|
+
"name": "direction",
|
|
7046
7354
|
"privacy": "private",
|
|
7047
|
-
"default": "new
|
|
7048
|
-
},
|
|
7049
|
-
{
|
|
7050
|
-
"kind": "field",
|
|
7051
|
-
"name": "dismiss",
|
|
7052
|
-
"privacy": "private",
|
|
7053
|
-
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: e => this.hide(e.type !== \"click\"),\n isDismissible: node => node !== this && node !== this.targetElement,\n })",
|
|
7054
|
-
"description": "Handle dismissal of the popout, clicking outside the target button and popout."
|
|
7055
|
-
},
|
|
7056
|
-
{
|
|
7057
|
-
"kind": "field",
|
|
7058
|
-
"name": "direction",
|
|
7059
|
-
"privacy": "private",
|
|
7060
|
-
"default": "new DirectionController(this)"
|
|
7355
|
+
"default": "new DirectionController(this)"
|
|
7061
7356
|
},
|
|
7062
7357
|
{
|
|
7063
7358
|
"kind": "field",
|
|
@@ -7079,11 +7374,7 @@
|
|
|
7079
7374
|
{
|
|
7080
7375
|
"kind": "field",
|
|
7081
7376
|
"name": "smallViewport",
|
|
7082
|
-
"
|
|
7083
|
-
"text": "boolean"
|
|
7084
|
-
},
|
|
7085
|
-
"privacy": "private",
|
|
7086
|
-
"default": "false"
|
|
7377
|
+
"privacy": "private"
|
|
7087
7378
|
},
|
|
7088
7379
|
{
|
|
7089
7380
|
"kind": "field",
|
|
@@ -7164,6 +7455,12 @@
|
|
|
7164
7455
|
"kind": "method",
|
|
7165
7456
|
"name": "getToggle",
|
|
7166
7457
|
"privacy": "private"
|
|
7458
|
+
},
|
|
7459
|
+
{
|
|
7460
|
+
"kind": "field",
|
|
7461
|
+
"name": "handleMediaQueryChange",
|
|
7462
|
+
"privacy": "private",
|
|
7463
|
+
"description": "Update the smallViewport flag to switch between \"sheet\" and \"floating\".\nautoUpdate is needed when a viewport gets larger and the popout is open."
|
|
7167
7464
|
}
|
|
7168
7465
|
],
|
|
7169
7466
|
"events": [
|
|
@@ -8832,9 +9129,10 @@
|
|
|
8832
9129
|
"text": "boolean"
|
|
8833
9130
|
},
|
|
8834
9131
|
"default": "false",
|
|
8835
|
-
"description": "
|
|
9132
|
+
"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).",
|
|
8836
9133
|
"attribute": "responsive",
|
|
8837
|
-
"reflects": true
|
|
9134
|
+
"reflects": true,
|
|
9135
|
+
"deprecated": true
|
|
8838
9136
|
},
|
|
8839
9137
|
{
|
|
8840
9138
|
"kind": "field",
|
|
@@ -8892,7 +9190,7 @@
|
|
|
8892
9190
|
"text": "boolean"
|
|
8893
9191
|
},
|
|
8894
9192
|
"default": "false",
|
|
8895
|
-
"description": "
|
|
9193
|
+
"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).",
|
|
8896
9194
|
"fieldName": "responsive"
|
|
8897
9195
|
},
|
|
8898
9196
|
{
|
|
@@ -9663,6 +9961,7 @@
|
|
|
9663
9961
|
"type": {
|
|
9664
9962
|
"text": "Tooltip | undefined"
|
|
9665
9963
|
},
|
|
9964
|
+
"privacy": "private",
|
|
9666
9965
|
"static": true
|
|
9667
9966
|
},
|
|
9668
9967
|
{
|
|
@@ -9937,24 +10236,57 @@
|
|
|
9937
10236
|
},
|
|
9938
10237
|
{
|
|
9939
10238
|
"kind": "javascript-module",
|
|
9940
|
-
"path": "src/common/
|
|
10239
|
+
"path": "src/common/controllers/DirectionController.ts",
|
|
9941
10240
|
"declarations": [
|
|
9942
10241
|
{
|
|
9943
|
-
"kind": "
|
|
9944
|
-
"
|
|
9945
|
-
"
|
|
10242
|
+
"kind": "class",
|
|
10243
|
+
"description": "",
|
|
10244
|
+
"name": "DirectionController",
|
|
10245
|
+
"members": [
|
|
9946
10246
|
{
|
|
9947
|
-
"
|
|
10247
|
+
"kind": "field",
|
|
10248
|
+
"name": "hosts",
|
|
10249
|
+
"privacy": "private",
|
|
10250
|
+
"static": true,
|
|
10251
|
+
"default": "new Set<ReactiveControllerHost>()"
|
|
10252
|
+
},
|
|
10253
|
+
{
|
|
10254
|
+
"kind": "field",
|
|
10255
|
+
"name": "observer",
|
|
9948
10256
|
"type": {
|
|
9949
|
-
"text": "
|
|
9950
|
-
}
|
|
10257
|
+
"text": "MutationObserver | undefined"
|
|
10258
|
+
},
|
|
10259
|
+
"privacy": "private",
|
|
10260
|
+
"static": true
|
|
9951
10261
|
},
|
|
9952
10262
|
{
|
|
9953
|
-
"
|
|
9954
|
-
"
|
|
10263
|
+
"kind": "field",
|
|
10264
|
+
"name": "dir",
|
|
9955
10265
|
"type": {
|
|
9956
|
-
"text": "
|
|
10266
|
+
"text": "WritingDirection"
|
|
9957
10267
|
}
|
|
10268
|
+
},
|
|
10269
|
+
{
|
|
10270
|
+
"kind": "field",
|
|
10271
|
+
"name": "isLTR"
|
|
10272
|
+
},
|
|
10273
|
+
{
|
|
10274
|
+
"kind": "field",
|
|
10275
|
+
"name": "isRTL"
|
|
10276
|
+
},
|
|
10277
|
+
{
|
|
10278
|
+
"kind": "method",
|
|
10279
|
+
"name": "hostConnected"
|
|
10280
|
+
},
|
|
10281
|
+
{
|
|
10282
|
+
"kind": "method",
|
|
10283
|
+
"name": "hostDisconnected"
|
|
10284
|
+
},
|
|
10285
|
+
{
|
|
10286
|
+
"kind": "method",
|
|
10287
|
+
"name": "observe",
|
|
10288
|
+
"privacy": "private",
|
|
10289
|
+
"static": true
|
|
9958
10290
|
}
|
|
9959
10291
|
]
|
|
9960
10292
|
}
|
|
@@ -9962,221 +10294,306 @@
|
|
|
9962
10294
|
"exports": [
|
|
9963
10295
|
{
|
|
9964
10296
|
"kind": "js",
|
|
9965
|
-
"name": "
|
|
10297
|
+
"name": "DirectionController",
|
|
9966
10298
|
"declaration": {
|
|
9967
|
-
"name": "
|
|
9968
|
-
"module": "src/common/
|
|
10299
|
+
"name": "DirectionController",
|
|
10300
|
+
"module": "src/common/controllers/DirectionController.ts"
|
|
9969
10301
|
}
|
|
9970
10302
|
}
|
|
9971
10303
|
]
|
|
9972
10304
|
},
|
|
9973
10305
|
{
|
|
9974
10306
|
"kind": "javascript-module",
|
|
9975
|
-
"path": "src/common/
|
|
10307
|
+
"path": "src/common/controllers/EventController.ts",
|
|
9976
10308
|
"declarations": [
|
|
9977
10309
|
{
|
|
9978
|
-
"kind": "
|
|
9979
|
-
"
|
|
9980
|
-
"
|
|
9981
|
-
|
|
9982
|
-
"text": "typeof value | typeof nothing"
|
|
9983
|
-
}
|
|
9984
|
-
},
|
|
9985
|
-
"parameters": [
|
|
9986
|
-
{
|
|
9987
|
-
"name": "value",
|
|
9988
|
-
"type": {
|
|
9989
|
-
"text": "any"
|
|
9990
|
-
}
|
|
9991
|
-
}
|
|
9992
|
-
],
|
|
9993
|
-
"description": "if value is truthy, return it, otherwise return nothing"
|
|
9994
|
-
},
|
|
9995
|
-
{
|
|
9996
|
-
"kind": "function",
|
|
9997
|
-
"name": "cond",
|
|
9998
|
-
"return": {
|
|
9999
|
-
"type": {
|
|
10000
|
-
"text": "typeof trueCase | typeof nothing"
|
|
10001
|
-
}
|
|
10002
|
-
},
|
|
10003
|
-
"parameters": [
|
|
10310
|
+
"kind": "class",
|
|
10311
|
+
"description": "",
|
|
10312
|
+
"name": "EventController",
|
|
10313
|
+
"members": [
|
|
10004
10314
|
{
|
|
10005
|
-
"
|
|
10315
|
+
"kind": "field",
|
|
10316
|
+
"name": "listeners",
|
|
10006
10317
|
"type": {
|
|
10007
|
-
"text": "
|
|
10008
|
-
}
|
|
10318
|
+
"text": "Array<() => void>"
|
|
10319
|
+
},
|
|
10320
|
+
"privacy": "private",
|
|
10321
|
+
"default": "[]"
|
|
10009
10322
|
},
|
|
10010
10323
|
{
|
|
10011
|
-
"
|
|
10012
|
-
"
|
|
10013
|
-
"text": "any"
|
|
10014
|
-
}
|
|
10015
|
-
}
|
|
10016
|
-
],
|
|
10017
|
-
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
10018
|
-
},
|
|
10019
|
-
{
|
|
10020
|
-
"kind": "function",
|
|
10021
|
-
"name": "cond",
|
|
10022
|
-
"return": {
|
|
10023
|
-
"type": {
|
|
10024
|
-
"text": "typeof trueCase"
|
|
10025
|
-
}
|
|
10026
|
-
},
|
|
10027
|
-
"parameters": [
|
|
10028
|
-
{
|
|
10029
|
-
"name": "condition",
|
|
10030
|
-
"type": {
|
|
10031
|
-
"text": "true"
|
|
10032
|
-
}
|
|
10324
|
+
"kind": "method",
|
|
10325
|
+
"name": "hostDisconnected"
|
|
10033
10326
|
},
|
|
10034
10327
|
{
|
|
10035
|
-
"
|
|
10036
|
-
"
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10328
|
+
"kind": "method",
|
|
10329
|
+
"name": "listen",
|
|
10330
|
+
"return": {
|
|
10331
|
+
"type": {
|
|
10332
|
+
"text": "void"
|
|
10333
|
+
}
|
|
10334
|
+
},
|
|
10335
|
+
"parameters": [
|
|
10336
|
+
{
|
|
10337
|
+
"name": "window",
|
|
10338
|
+
"type": {
|
|
10339
|
+
"text": "Window"
|
|
10340
|
+
}
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"name": "type",
|
|
10344
|
+
"type": {
|
|
10345
|
+
"text": "K"
|
|
10346
|
+
}
|
|
10347
|
+
},
|
|
10348
|
+
{
|
|
10349
|
+
"name": "listener",
|
|
10350
|
+
"type": {
|
|
10351
|
+
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
10352
|
+
}
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
"name": "options",
|
|
10356
|
+
"optional": true,
|
|
10357
|
+
"type": {
|
|
10358
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10359
|
+
}
|
|
10360
|
+
}
|
|
10361
|
+
]
|
|
10362
|
+
},
|
|
10052
10363
|
{
|
|
10053
|
-
"
|
|
10054
|
-
"
|
|
10055
|
-
|
|
10056
|
-
|
|
10364
|
+
"kind": "method",
|
|
10365
|
+
"name": "listen",
|
|
10366
|
+
"return": {
|
|
10367
|
+
"type": {
|
|
10368
|
+
"text": "void"
|
|
10369
|
+
}
|
|
10370
|
+
},
|
|
10371
|
+
"parameters": [
|
|
10372
|
+
{
|
|
10373
|
+
"name": "document",
|
|
10374
|
+
"type": {
|
|
10375
|
+
"text": "Document"
|
|
10376
|
+
}
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
"name": "type",
|
|
10380
|
+
"type": {
|
|
10381
|
+
"text": "K"
|
|
10382
|
+
}
|
|
10383
|
+
},
|
|
10384
|
+
{
|
|
10385
|
+
"name": "listener",
|
|
10386
|
+
"type": {
|
|
10387
|
+
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
10388
|
+
}
|
|
10389
|
+
},
|
|
10390
|
+
{
|
|
10391
|
+
"name": "options",
|
|
10392
|
+
"optional": true,
|
|
10393
|
+
"type": {
|
|
10394
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10395
|
+
}
|
|
10396
|
+
}
|
|
10397
|
+
]
|
|
10057
10398
|
},
|
|
10058
10399
|
{
|
|
10059
|
-
"
|
|
10060
|
-
"
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10400
|
+
"kind": "method",
|
|
10401
|
+
"name": "listen",
|
|
10402
|
+
"return": {
|
|
10403
|
+
"type": {
|
|
10404
|
+
"text": "void"
|
|
10405
|
+
}
|
|
10406
|
+
},
|
|
10407
|
+
"parameters": [
|
|
10408
|
+
{
|
|
10409
|
+
"name": "element",
|
|
10410
|
+
"type": {
|
|
10411
|
+
"text": "HTMLElement"
|
|
10412
|
+
}
|
|
10413
|
+
},
|
|
10414
|
+
{
|
|
10415
|
+
"name": "type",
|
|
10416
|
+
"type": {
|
|
10417
|
+
"text": "K"
|
|
10418
|
+
}
|
|
10419
|
+
},
|
|
10420
|
+
{
|
|
10421
|
+
"name": "listener",
|
|
10422
|
+
"type": {
|
|
10423
|
+
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
10424
|
+
}
|
|
10425
|
+
},
|
|
10426
|
+
{
|
|
10427
|
+
"name": "options",
|
|
10428
|
+
"optional": true,
|
|
10429
|
+
"type": {
|
|
10430
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10431
|
+
}
|
|
10432
|
+
}
|
|
10433
|
+
]
|
|
10081
10434
|
},
|
|
10082
10435
|
{
|
|
10083
|
-
"
|
|
10084
|
-
"
|
|
10085
|
-
|
|
10086
|
-
|
|
10436
|
+
"kind": "method",
|
|
10437
|
+
"name": "listen",
|
|
10438
|
+
"return": {
|
|
10439
|
+
"type": {
|
|
10440
|
+
"text": "void"
|
|
10441
|
+
}
|
|
10442
|
+
},
|
|
10443
|
+
"parameters": [
|
|
10444
|
+
{
|
|
10445
|
+
"name": "element",
|
|
10446
|
+
"type": {
|
|
10447
|
+
"text": "ShadowRoot"
|
|
10448
|
+
}
|
|
10449
|
+
},
|
|
10450
|
+
{
|
|
10451
|
+
"name": "type",
|
|
10452
|
+
"type": {
|
|
10453
|
+
"text": "K"
|
|
10454
|
+
}
|
|
10455
|
+
},
|
|
10456
|
+
{
|
|
10457
|
+
"name": "listener",
|
|
10458
|
+
"type": {
|
|
10459
|
+
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
10460
|
+
}
|
|
10461
|
+
},
|
|
10462
|
+
{
|
|
10463
|
+
"name": "options",
|
|
10464
|
+
"optional": true,
|
|
10465
|
+
"type": {
|
|
10466
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10467
|
+
}
|
|
10468
|
+
}
|
|
10469
|
+
]
|
|
10087
10470
|
},
|
|
10088
10471
|
{
|
|
10089
|
-
"
|
|
10090
|
-
"
|
|
10091
|
-
|
|
10092
|
-
|
|
10472
|
+
"kind": "method",
|
|
10473
|
+
"name": "listen",
|
|
10474
|
+
"parameters": [
|
|
10475
|
+
{
|
|
10476
|
+
"name": "element",
|
|
10477
|
+
"type": {
|
|
10478
|
+
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
10479
|
+
}
|
|
10480
|
+
},
|
|
10481
|
+
{
|
|
10482
|
+
"name": "type",
|
|
10483
|
+
"type": {
|
|
10484
|
+
"text": "string"
|
|
10485
|
+
}
|
|
10486
|
+
},
|
|
10487
|
+
{
|
|
10488
|
+
"name": "listener",
|
|
10489
|
+
"type": {
|
|
10490
|
+
"text": "(ev: any) => any"
|
|
10491
|
+
}
|
|
10492
|
+
},
|
|
10493
|
+
{
|
|
10494
|
+
"name": "options",
|
|
10495
|
+
"optional": true,
|
|
10496
|
+
"type": {
|
|
10497
|
+
"text": "boolean | AddEventListenerOptions"
|
|
10498
|
+
}
|
|
10499
|
+
}
|
|
10500
|
+
]
|
|
10093
10501
|
}
|
|
10094
|
-
]
|
|
10095
|
-
|
|
10096
|
-
|
|
10502
|
+
]
|
|
10503
|
+
}
|
|
10504
|
+
],
|
|
10505
|
+
"exports": [
|
|
10097
10506
|
{
|
|
10098
|
-
"kind": "
|
|
10099
|
-
"name": "
|
|
10100
|
-
"
|
|
10101
|
-
"
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10507
|
+
"kind": "js",
|
|
10508
|
+
"name": "EventController",
|
|
10509
|
+
"declaration": {
|
|
10510
|
+
"name": "EventController",
|
|
10511
|
+
"module": "src/common/controllers/EventController.ts"
|
|
10512
|
+
}
|
|
10513
|
+
}
|
|
10514
|
+
]
|
|
10515
|
+
},
|
|
10516
|
+
{
|
|
10517
|
+
"kind": "javascript-module",
|
|
10518
|
+
"path": "src/common/controllers/FormDataController.ts",
|
|
10519
|
+
"declarations": [
|
|
10520
|
+
{
|
|
10521
|
+
"kind": "class",
|
|
10522
|
+
"description": "",
|
|
10523
|
+
"name": "FormDataController",
|
|
10524
|
+
"members": [
|
|
10106
10525
|
{
|
|
10107
|
-
"
|
|
10526
|
+
"kind": "field",
|
|
10527
|
+
"name": "events",
|
|
10108
10528
|
"type": {
|
|
10109
|
-
"text": "
|
|
10110
|
-
}
|
|
10529
|
+
"text": "EventController"
|
|
10530
|
+
},
|
|
10531
|
+
"privacy": "private",
|
|
10532
|
+
"default": "new EventController(host)"
|
|
10111
10533
|
},
|
|
10112
10534
|
{
|
|
10113
|
-
"
|
|
10114
|
-
"
|
|
10115
|
-
"text": "any"
|
|
10116
|
-
}
|
|
10535
|
+
"kind": "method",
|
|
10536
|
+
"name": "hostConnected"
|
|
10117
10537
|
},
|
|
10118
10538
|
{
|
|
10119
|
-
"
|
|
10120
|
-
"
|
|
10121
|
-
|
|
10122
|
-
}
|
|
10539
|
+
"kind": "field",
|
|
10540
|
+
"name": "handleFormData",
|
|
10541
|
+
"privacy": "private"
|
|
10123
10542
|
}
|
|
10124
|
-
]
|
|
10125
|
-
|
|
10126
|
-
|
|
10543
|
+
]
|
|
10544
|
+
}
|
|
10545
|
+
],
|
|
10546
|
+
"exports": [
|
|
10127
10547
|
{
|
|
10128
|
-
"kind": "
|
|
10129
|
-
"name": "
|
|
10130
|
-
"
|
|
10131
|
-
"
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10548
|
+
"kind": "js",
|
|
10549
|
+
"name": "FormDataController",
|
|
10550
|
+
"declaration": {
|
|
10551
|
+
"name": "FormDataController",
|
|
10552
|
+
"module": "src/common/controllers/FormDataController.ts"
|
|
10553
|
+
}
|
|
10554
|
+
}
|
|
10555
|
+
]
|
|
10556
|
+
},
|
|
10557
|
+
{
|
|
10558
|
+
"kind": "javascript-module",
|
|
10559
|
+
"path": "src/common/controllers/LightDismissController.ts",
|
|
10560
|
+
"declarations": [
|
|
10561
|
+
{
|
|
10562
|
+
"kind": "class",
|
|
10563
|
+
"description": "",
|
|
10564
|
+
"name": "LightDismissController",
|
|
10565
|
+
"members": [
|
|
10136
10566
|
{
|
|
10137
|
-
"
|
|
10567
|
+
"kind": "field",
|
|
10568
|
+
"name": "shortcut",
|
|
10138
10569
|
"type": {
|
|
10139
|
-
"text": "
|
|
10140
|
-
}
|
|
10570
|
+
"text": "ShortcutController"
|
|
10571
|
+
},
|
|
10572
|
+
"privacy": "private",
|
|
10573
|
+
"default": "new ShortcutController(host, { Escape: this.handleEsc })"
|
|
10141
10574
|
},
|
|
10142
10575
|
{
|
|
10143
|
-
"
|
|
10576
|
+
"kind": "field",
|
|
10577
|
+
"name": "events",
|
|
10144
10578
|
"type": {
|
|
10145
|
-
"text": "
|
|
10146
|
-
}
|
|
10579
|
+
"text": "EventController"
|
|
10580
|
+
},
|
|
10581
|
+
"privacy": "private",
|
|
10582
|
+
"default": "new EventController(host)"
|
|
10147
10583
|
},
|
|
10148
10584
|
{
|
|
10149
|
-
"
|
|
10150
|
-
"
|
|
10151
|
-
"text": "any"
|
|
10152
|
-
}
|
|
10153
|
-
}
|
|
10154
|
-
],
|
|
10155
|
-
"description": "condition is false, so always return falseCase"
|
|
10156
|
-
},
|
|
10157
|
-
{
|
|
10158
|
-
"kind": "function",
|
|
10159
|
-
"name": "cond",
|
|
10160
|
-
"parameters": [
|
|
10161
|
-
{
|
|
10162
|
-
"name": "condition",
|
|
10163
|
-
"type": {
|
|
10164
|
-
"text": "unknown"
|
|
10165
|
-
}
|
|
10585
|
+
"kind": "method",
|
|
10586
|
+
"name": "hostConnected"
|
|
10166
10587
|
},
|
|
10167
10588
|
{
|
|
10168
|
-
"
|
|
10169
|
-
"
|
|
10170
|
-
"
|
|
10171
|
-
"text": "any"
|
|
10172
|
-
}
|
|
10589
|
+
"kind": "field",
|
|
10590
|
+
"name": "handleEsc",
|
|
10591
|
+
"privacy": "private"
|
|
10173
10592
|
},
|
|
10174
10593
|
{
|
|
10175
|
-
"
|
|
10176
|
-
"
|
|
10177
|
-
"
|
|
10178
|
-
"text": "any"
|
|
10179
|
-
}
|
|
10594
|
+
"kind": "field",
|
|
10595
|
+
"name": "handleClickOut",
|
|
10596
|
+
"privacy": "private"
|
|
10180
10597
|
}
|
|
10181
10598
|
]
|
|
10182
10599
|
}
|
|
@@ -10184,265 +10601,294 @@
|
|
|
10184
10601
|
"exports": [
|
|
10185
10602
|
{
|
|
10186
10603
|
"kind": "js",
|
|
10187
|
-
"name": "
|
|
10188
|
-
"declaration": {
|
|
10189
|
-
"name": "cond",
|
|
10190
|
-
"module": "src/common/directives/cond.ts"
|
|
10191
|
-
}
|
|
10192
|
-
},
|
|
10193
|
-
{
|
|
10194
|
-
"kind": "js",
|
|
10195
|
-
"name": "cond",
|
|
10196
|
-
"declaration": {
|
|
10197
|
-
"name": "cond",
|
|
10198
|
-
"module": "src/common/directives/cond.ts"
|
|
10199
|
-
}
|
|
10200
|
-
},
|
|
10201
|
-
{
|
|
10202
|
-
"kind": "js",
|
|
10203
|
-
"name": "cond",
|
|
10204
|
-
"declaration": {
|
|
10205
|
-
"name": "cond",
|
|
10206
|
-
"module": "src/common/directives/cond.ts"
|
|
10207
|
-
}
|
|
10208
|
-
},
|
|
10209
|
-
{
|
|
10210
|
-
"kind": "js",
|
|
10211
|
-
"name": "cond",
|
|
10212
|
-
"declaration": {
|
|
10213
|
-
"name": "cond",
|
|
10214
|
-
"module": "src/common/directives/cond.ts"
|
|
10215
|
-
}
|
|
10216
|
-
},
|
|
10217
|
-
{
|
|
10218
|
-
"kind": "js",
|
|
10219
|
-
"name": "cond",
|
|
10220
|
-
"declaration": {
|
|
10221
|
-
"name": "cond",
|
|
10222
|
-
"module": "src/common/directives/cond.ts"
|
|
10223
|
-
}
|
|
10224
|
-
},
|
|
10225
|
-
{
|
|
10226
|
-
"kind": "js",
|
|
10227
|
-
"name": "cond",
|
|
10604
|
+
"name": "LightDismissController",
|
|
10228
10605
|
"declaration": {
|
|
10229
|
-
"name": "
|
|
10230
|
-
"module": "src/common/
|
|
10606
|
+
"name": "LightDismissController",
|
|
10607
|
+
"module": "src/common/controllers/LightDismissController.ts"
|
|
10231
10608
|
}
|
|
10232
|
-
}
|
|
10609
|
+
}
|
|
10610
|
+
]
|
|
10611
|
+
},
|
|
10612
|
+
{
|
|
10613
|
+
"kind": "javascript-module",
|
|
10614
|
+
"path": "src/common/controllers/LightDomController.ts",
|
|
10615
|
+
"declarations": [
|
|
10233
10616
|
{
|
|
10234
|
-
"kind": "
|
|
10235
|
-
"
|
|
10236
|
-
"
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10617
|
+
"kind": "class",
|
|
10618
|
+
"description": "",
|
|
10619
|
+
"name": "LightDomController",
|
|
10620
|
+
"members": [
|
|
10621
|
+
{
|
|
10622
|
+
"kind": "field",
|
|
10623
|
+
"name": "container",
|
|
10624
|
+
"type": {
|
|
10625
|
+
"text": "HTMLElement"
|
|
10626
|
+
},
|
|
10627
|
+
"privacy": "private"
|
|
10628
|
+
},
|
|
10629
|
+
{
|
|
10630
|
+
"kind": "method",
|
|
10631
|
+
"name": "hostUpdated"
|
|
10632
|
+
},
|
|
10633
|
+
{
|
|
10634
|
+
"kind": "method",
|
|
10635
|
+
"name": "hostDisconnected"
|
|
10636
|
+
}
|
|
10637
|
+
]
|
|
10638
|
+
}
|
|
10639
|
+
],
|
|
10640
|
+
"exports": [
|
|
10241
10641
|
{
|
|
10242
10642
|
"kind": "js",
|
|
10243
|
-
"name": "
|
|
10643
|
+
"name": "LightDomController",
|
|
10244
10644
|
"declaration": {
|
|
10245
|
-
"name": "
|
|
10246
|
-
"module": "src/common/
|
|
10645
|
+
"name": "LightDomController",
|
|
10646
|
+
"module": "src/common/controllers/LightDomController.ts"
|
|
10247
10647
|
}
|
|
10248
10648
|
}
|
|
10249
10649
|
]
|
|
10250
10650
|
},
|
|
10251
10651
|
{
|
|
10252
10652
|
"kind": "javascript-module",
|
|
10253
|
-
"path": "src/common/
|
|
10653
|
+
"path": "src/common/controllers/LightSlotController.ts",
|
|
10254
10654
|
"declarations": [
|
|
10255
10655
|
{
|
|
10256
|
-
"kind": "
|
|
10257
|
-
"
|
|
10258
|
-
"
|
|
10259
|
-
|
|
10260
|
-
"text": "TInner"
|
|
10261
|
-
}
|
|
10262
|
-
},
|
|
10263
|
-
"parameters": [
|
|
10656
|
+
"kind": "class",
|
|
10657
|
+
"description": "Handles cases where a component needs to render to light DOM,\nand potentially sync component properties to user-supplied content.",
|
|
10658
|
+
"name": "LightSlotController",
|
|
10659
|
+
"members": [
|
|
10264
10660
|
{
|
|
10265
|
-
"
|
|
10661
|
+
"kind": "field",
|
|
10662
|
+
"name": "renderHook",
|
|
10266
10663
|
"type": {
|
|
10267
|
-
"text": "
|
|
10268
|
-
}
|
|
10664
|
+
"text": "Comment"
|
|
10665
|
+
},
|
|
10666
|
+
"privacy": "private"
|
|
10269
10667
|
},
|
|
10270
10668
|
{
|
|
10271
|
-
"
|
|
10669
|
+
"kind": "field",
|
|
10670
|
+
"name": "lightDom",
|
|
10272
10671
|
"type": {
|
|
10273
|
-
"text": "
|
|
10274
|
-
}
|
|
10672
|
+
"text": "LightDomController"
|
|
10673
|
+
},
|
|
10674
|
+
"privacy": "private",
|
|
10675
|
+
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
10275
10676
|
},
|
|
10276
10677
|
{
|
|
10277
|
-
"
|
|
10278
|
-
"
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
]
|
|
10283
|
-
},
|
|
10284
|
-
{
|
|
10285
|
-
"kind": "function",
|
|
10286
|
-
"name": "wrapIf",
|
|
10287
|
-
"return": {
|
|
10288
|
-
"type": {
|
|
10289
|
-
"text": "TWrapper"
|
|
10290
|
-
}
|
|
10291
|
-
},
|
|
10292
|
-
"parameters": [
|
|
10293
|
-
{
|
|
10294
|
-
"name": "condition",
|
|
10295
|
-
"type": {
|
|
10296
|
-
"text": "true"
|
|
10678
|
+
"kind": "method",
|
|
10679
|
+
"name": "hostConnected",
|
|
10680
|
+
"inheritedFrom": {
|
|
10681
|
+
"name": "SlotController",
|
|
10682
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10297
10683
|
}
|
|
10298
10684
|
},
|
|
10299
10685
|
{
|
|
10300
|
-
"
|
|
10301
|
-
"
|
|
10302
|
-
"text": "() => TInner"
|
|
10303
|
-
}
|
|
10686
|
+
"kind": "method",
|
|
10687
|
+
"name": "hostDisconnected"
|
|
10304
10688
|
},
|
|
10305
10689
|
{
|
|
10306
|
-
"
|
|
10307
|
-
"
|
|
10308
|
-
|
|
10690
|
+
"kind": "field",
|
|
10691
|
+
"name": "onChange",
|
|
10692
|
+
"privacy": "protected",
|
|
10693
|
+
"parameters": [
|
|
10694
|
+
{
|
|
10695
|
+
"name": "_e",
|
|
10696
|
+
"type": {
|
|
10697
|
+
"text": "Event"
|
|
10698
|
+
}
|
|
10699
|
+
}
|
|
10700
|
+
],
|
|
10701
|
+
"inheritedFrom": {
|
|
10702
|
+
"name": "SlotController",
|
|
10703
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10309
10704
|
}
|
|
10310
|
-
}
|
|
10311
|
-
]
|
|
10312
|
-
},
|
|
10313
|
-
{
|
|
10314
|
-
"kind": "function",
|
|
10315
|
-
"name": "wrapIf",
|
|
10316
|
-
"return": {
|
|
10317
|
-
"type": {
|
|
10318
|
-
"text": "TInner | TWrapper"
|
|
10319
|
-
}
|
|
10320
|
-
},
|
|
10321
|
-
"parameters": [
|
|
10705
|
+
},
|
|
10322
10706
|
{
|
|
10323
|
-
"
|
|
10324
|
-
"
|
|
10325
|
-
|
|
10326
|
-
}
|
|
10707
|
+
"kind": "method",
|
|
10708
|
+
"name": "syncLightDom",
|
|
10709
|
+
"privacy": "private"
|
|
10327
10710
|
},
|
|
10328
10711
|
{
|
|
10329
|
-
"
|
|
10712
|
+
"kind": "field",
|
|
10713
|
+
"name": "events",
|
|
10330
10714
|
"type": {
|
|
10331
|
-
"text": "
|
|
10715
|
+
"text": "EventController"
|
|
10716
|
+
},
|
|
10717
|
+
"privacy": "private",
|
|
10718
|
+
"default": "new EventController(host)",
|
|
10719
|
+
"inheritedFrom": {
|
|
10720
|
+
"name": "SlotController",
|
|
10721
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10332
10722
|
}
|
|
10333
10723
|
},
|
|
10334
10724
|
{
|
|
10335
|
-
"
|
|
10336
|
-
"
|
|
10337
|
-
|
|
10725
|
+
"kind": "field",
|
|
10726
|
+
"name": "hasContent",
|
|
10727
|
+
"inheritedFrom": {
|
|
10728
|
+
"name": "SlotController",
|
|
10729
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10338
10730
|
}
|
|
10339
|
-
}
|
|
10340
|
-
]
|
|
10341
|
-
},
|
|
10342
|
-
{
|
|
10343
|
-
"kind": "function",
|
|
10344
|
-
"name": "wrapIf",
|
|
10345
|
-
"parameters": [
|
|
10731
|
+
},
|
|
10346
10732
|
{
|
|
10347
|
-
"
|
|
10348
|
-
"
|
|
10349
|
-
|
|
10733
|
+
"kind": "field",
|
|
10734
|
+
"name": "isEmpty",
|
|
10735
|
+
"inheritedFrom": {
|
|
10736
|
+
"name": "SlotController",
|
|
10737
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10350
10738
|
}
|
|
10351
10739
|
},
|
|
10352
10740
|
{
|
|
10353
|
-
"
|
|
10354
|
-
"
|
|
10355
|
-
|
|
10741
|
+
"kind": "field",
|
|
10742
|
+
"name": "content",
|
|
10743
|
+
"inheritedFrom": {
|
|
10744
|
+
"name": "SlotController",
|
|
10745
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10356
10746
|
}
|
|
10357
10747
|
},
|
|
10358
10748
|
{
|
|
10359
|
-
"
|
|
10360
|
-
"
|
|
10361
|
-
|
|
10749
|
+
"kind": "field",
|
|
10750
|
+
"name": "handleSlotChange",
|
|
10751
|
+
"privacy": "private",
|
|
10752
|
+
"inheritedFrom": {
|
|
10753
|
+
"name": "SlotController",
|
|
10754
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10362
10755
|
}
|
|
10363
10756
|
}
|
|
10364
10757
|
],
|
|
10365
|
-
"
|
|
10366
|
-
"
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10758
|
+
"superclass": {
|
|
10759
|
+
"name": "SlotController",
|
|
10760
|
+
"module": "/src/common/controllers/SlotController.js"
|
|
10761
|
+
},
|
|
10762
|
+
"status": null,
|
|
10763
|
+
"category": null
|
|
10370
10764
|
}
|
|
10371
10765
|
],
|
|
10372
10766
|
"exports": [
|
|
10373
10767
|
{
|
|
10374
10768
|
"kind": "js",
|
|
10375
|
-
"name": "
|
|
10769
|
+
"name": "LightSlotController",
|
|
10376
10770
|
"declaration": {
|
|
10377
|
-
"name": "
|
|
10378
|
-
"module": "src/common/
|
|
10771
|
+
"name": "LightSlotController",
|
|
10772
|
+
"module": "src/common/controllers/LightSlotController.ts"
|
|
10379
10773
|
}
|
|
10380
|
-
}
|
|
10774
|
+
}
|
|
10775
|
+
]
|
|
10776
|
+
},
|
|
10777
|
+
{
|
|
10778
|
+
"kind": "javascript-module",
|
|
10779
|
+
"path": "src/common/controllers/MediaQueryController.ts",
|
|
10780
|
+
"declarations": [
|
|
10381
10781
|
{
|
|
10382
|
-
"kind": "
|
|
10383
|
-
"
|
|
10384
|
-
"
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10782
|
+
"kind": "class",
|
|
10783
|
+
"description": "",
|
|
10784
|
+
"name": "MediaQueryController",
|
|
10785
|
+
"members": [
|
|
10786
|
+
{
|
|
10787
|
+
"kind": "field",
|
|
10788
|
+
"name": "mq",
|
|
10789
|
+
"type": {
|
|
10790
|
+
"text": "MediaQueryList"
|
|
10791
|
+
},
|
|
10792
|
+
"privacy": "private"
|
|
10793
|
+
},
|
|
10794
|
+
{
|
|
10795
|
+
"kind": "field",
|
|
10796
|
+
"name": "matches"
|
|
10797
|
+
},
|
|
10798
|
+
{
|
|
10799
|
+
"kind": "method",
|
|
10800
|
+
"name": "hostConnected"
|
|
10801
|
+
},
|
|
10802
|
+
{
|
|
10803
|
+
"kind": "method",
|
|
10804
|
+
"name": "hostDisconnected"
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"kind": "field",
|
|
10808
|
+
"name": "handleChange"
|
|
10809
|
+
}
|
|
10810
|
+
]
|
|
10811
|
+
}
|
|
10812
|
+
],
|
|
10813
|
+
"exports": [
|
|
10389
10814
|
{
|
|
10390
10815
|
"kind": "js",
|
|
10391
|
-
"name": "
|
|
10816
|
+
"name": "MediaQueryController",
|
|
10392
10817
|
"declaration": {
|
|
10393
|
-
"name": "
|
|
10394
|
-
"module": "src/common/
|
|
10818
|
+
"name": "MediaQueryController",
|
|
10819
|
+
"module": "src/common/controllers/MediaQueryController.ts"
|
|
10395
10820
|
}
|
|
10396
|
-
}
|
|
10821
|
+
}
|
|
10822
|
+
]
|
|
10823
|
+
},
|
|
10824
|
+
{
|
|
10825
|
+
"kind": "javascript-module",
|
|
10826
|
+
"path": "src/common/controllers/PortalController.ts",
|
|
10827
|
+
"declarations": [
|
|
10828
|
+
{
|
|
10829
|
+
"kind": "class",
|
|
10830
|
+
"description": "",
|
|
10831
|
+
"name": "PortalController",
|
|
10832
|
+
"members": [
|
|
10833
|
+
{
|
|
10834
|
+
"kind": "field",
|
|
10835
|
+
"name": "renderHook",
|
|
10836
|
+
"type": {
|
|
10837
|
+
"text": "Comment"
|
|
10838
|
+
},
|
|
10839
|
+
"privacy": "private"
|
|
10840
|
+
},
|
|
10841
|
+
{
|
|
10842
|
+
"kind": "field",
|
|
10843
|
+
"name": "lightDom",
|
|
10844
|
+
"type": {
|
|
10845
|
+
"text": "LightDomController"
|
|
10846
|
+
},
|
|
10847
|
+
"privacy": "private",
|
|
10848
|
+
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
10849
|
+
},
|
|
10850
|
+
{
|
|
10851
|
+
"kind": "method",
|
|
10852
|
+
"name": "hostConnected"
|
|
10853
|
+
},
|
|
10854
|
+
{
|
|
10855
|
+
"kind": "method",
|
|
10856
|
+
"name": "hostUpdated"
|
|
10857
|
+
},
|
|
10858
|
+
{
|
|
10859
|
+
"kind": "method",
|
|
10860
|
+
"name": "hostDisconnected"
|
|
10861
|
+
}
|
|
10862
|
+
]
|
|
10863
|
+
}
|
|
10864
|
+
],
|
|
10865
|
+
"exports": [
|
|
10397
10866
|
{
|
|
10398
10867
|
"kind": "js",
|
|
10399
|
-
"name": "
|
|
10868
|
+
"name": "PortalController",
|
|
10400
10869
|
"declaration": {
|
|
10401
|
-
"name": "
|
|
10402
|
-
"module": "src/common/
|
|
10870
|
+
"name": "PortalController",
|
|
10871
|
+
"module": "src/common/controllers/PortalController.ts"
|
|
10403
10872
|
}
|
|
10404
10873
|
}
|
|
10405
10874
|
]
|
|
10406
10875
|
},
|
|
10407
10876
|
{
|
|
10408
10877
|
"kind": "javascript-module",
|
|
10409
|
-
"path": "src/common/controllers/
|
|
10878
|
+
"path": "src/common/controllers/ShortcutController.ts",
|
|
10410
10879
|
"declarations": [
|
|
10411
10880
|
{
|
|
10412
10881
|
"kind": "class",
|
|
10413
10882
|
"description": "",
|
|
10414
|
-
"name": "
|
|
10883
|
+
"name": "ShortcutController",
|
|
10415
10884
|
"members": [
|
|
10416
10885
|
{
|
|
10417
10886
|
"kind": "field",
|
|
10418
|
-
"name": "
|
|
10419
|
-
"privacy": "private",
|
|
10420
|
-
"static": true,
|
|
10421
|
-
"default": "new Set<ReactiveControllerHost>()"
|
|
10422
|
-
},
|
|
10423
|
-
{
|
|
10424
|
-
"kind": "field",
|
|
10425
|
-
"name": "observer",
|
|
10887
|
+
"name": "unregister",
|
|
10426
10888
|
"type": {
|
|
10427
|
-
"text": "
|
|
10889
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
10428
10890
|
},
|
|
10429
|
-
"privacy": "private"
|
|
10430
|
-
"static": true
|
|
10431
|
-
},
|
|
10432
|
-
{
|
|
10433
|
-
"kind": "field",
|
|
10434
|
-
"name": "dir",
|
|
10435
|
-
"type": {
|
|
10436
|
-
"text": "WritingDirection"
|
|
10437
|
-
}
|
|
10438
|
-
},
|
|
10439
|
-
{
|
|
10440
|
-
"kind": "field",
|
|
10441
|
-
"name": "isLTR"
|
|
10442
|
-
},
|
|
10443
|
-
{
|
|
10444
|
-
"kind": "field",
|
|
10445
|
-
"name": "isRTL"
|
|
10891
|
+
"privacy": "private"
|
|
10446
10892
|
},
|
|
10447
10893
|
{
|
|
10448
10894
|
"kind": "method",
|
|
@@ -10454,9 +10900,19 @@
|
|
|
10454
10900
|
},
|
|
10455
10901
|
{
|
|
10456
10902
|
"kind": "method",
|
|
10457
|
-
"name": "
|
|
10458
|
-
|
|
10459
|
-
|
|
10903
|
+
"name": "unbind"
|
|
10904
|
+
},
|
|
10905
|
+
{
|
|
10906
|
+
"kind": "method",
|
|
10907
|
+
"name": "bind",
|
|
10908
|
+
"parameters": [
|
|
10909
|
+
{
|
|
10910
|
+
"name": "shortcuts",
|
|
10911
|
+
"type": {
|
|
10912
|
+
"text": "KeyBindingMap"
|
|
10913
|
+
}
|
|
10914
|
+
}
|
|
10915
|
+
]
|
|
10460
10916
|
}
|
|
10461
10917
|
]
|
|
10462
10918
|
}
|
|
@@ -10464,207 +10920,70 @@
|
|
|
10464
10920
|
"exports": [
|
|
10465
10921
|
{
|
|
10466
10922
|
"kind": "js",
|
|
10467
|
-
"name": "
|
|
10923
|
+
"name": "ShortcutController",
|
|
10468
10924
|
"declaration": {
|
|
10469
|
-
"name": "
|
|
10470
|
-
"module": "src/common/controllers/
|
|
10925
|
+
"name": "ShortcutController",
|
|
10926
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
10927
|
+
}
|
|
10928
|
+
},
|
|
10929
|
+
{
|
|
10930
|
+
"kind": "js",
|
|
10931
|
+
"name": "ShortcutMap",
|
|
10932
|
+
"declaration": {
|
|
10933
|
+
"name": "KeyBindingMap",
|
|
10934
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
10471
10935
|
}
|
|
10472
10936
|
}
|
|
10473
10937
|
]
|
|
10474
10938
|
},
|
|
10475
10939
|
{
|
|
10476
10940
|
"kind": "javascript-module",
|
|
10477
|
-
"path": "src/common/controllers/
|
|
10941
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
10478
10942
|
"declarations": [
|
|
10479
10943
|
{
|
|
10480
10944
|
"kind": "class",
|
|
10481
10945
|
"description": "",
|
|
10482
|
-
"name": "
|
|
10946
|
+
"name": "SlotController",
|
|
10483
10947
|
"members": [
|
|
10484
10948
|
{
|
|
10485
10949
|
"kind": "field",
|
|
10486
|
-
"name": "
|
|
10950
|
+
"name": "events",
|
|
10487
10951
|
"type": {
|
|
10488
|
-
"text": "
|
|
10952
|
+
"text": "EventController"
|
|
10489
10953
|
},
|
|
10490
10954
|
"privacy": "private",
|
|
10491
|
-
"default": "
|
|
10955
|
+
"default": "new EventController(host)"
|
|
10492
10956
|
},
|
|
10493
10957
|
{
|
|
10494
10958
|
"kind": "method",
|
|
10495
|
-
"name": "
|
|
10959
|
+
"name": "hostConnected"
|
|
10496
10960
|
},
|
|
10497
10961
|
{
|
|
10498
|
-
"kind": "
|
|
10499
|
-
"name": "
|
|
10500
|
-
"return": {
|
|
10501
|
-
"type": {
|
|
10502
|
-
"text": "void"
|
|
10503
|
-
}
|
|
10504
|
-
},
|
|
10505
|
-
"parameters": [
|
|
10506
|
-
{
|
|
10507
|
-
"name": "window",
|
|
10508
|
-
"type": {
|
|
10509
|
-
"text": "Window"
|
|
10510
|
-
}
|
|
10511
|
-
},
|
|
10512
|
-
{
|
|
10513
|
-
"name": "type",
|
|
10514
|
-
"type": {
|
|
10515
|
-
"text": "K"
|
|
10516
|
-
}
|
|
10517
|
-
},
|
|
10518
|
-
{
|
|
10519
|
-
"name": "listener",
|
|
10520
|
-
"type": {
|
|
10521
|
-
"text": "(this: Window, ev: WindowEventMap[K]) => any"
|
|
10522
|
-
}
|
|
10523
|
-
},
|
|
10524
|
-
{
|
|
10525
|
-
"name": "options",
|
|
10526
|
-
"optional": true,
|
|
10527
|
-
"type": {
|
|
10528
|
-
"text": "boolean | AddEventListenerOptions"
|
|
10529
|
-
}
|
|
10530
|
-
}
|
|
10531
|
-
]
|
|
10962
|
+
"kind": "field",
|
|
10963
|
+
"name": "hasContent"
|
|
10532
10964
|
},
|
|
10533
10965
|
{
|
|
10534
|
-
"kind": "
|
|
10535
|
-
"name": "
|
|
10536
|
-
"return": {
|
|
10537
|
-
"type": {
|
|
10538
|
-
"text": "void"
|
|
10539
|
-
}
|
|
10540
|
-
},
|
|
10541
|
-
"parameters": [
|
|
10542
|
-
{
|
|
10543
|
-
"name": "document",
|
|
10544
|
-
"type": {
|
|
10545
|
-
"text": "Document"
|
|
10546
|
-
}
|
|
10547
|
-
},
|
|
10548
|
-
{
|
|
10549
|
-
"name": "type",
|
|
10550
|
-
"type": {
|
|
10551
|
-
"text": "K"
|
|
10552
|
-
}
|
|
10553
|
-
},
|
|
10554
|
-
{
|
|
10555
|
-
"name": "listener",
|
|
10556
|
-
"type": {
|
|
10557
|
-
"text": "(this: Document, ev: DocumentEventMap[K]) => any"
|
|
10558
|
-
}
|
|
10559
|
-
},
|
|
10560
|
-
{
|
|
10561
|
-
"name": "options",
|
|
10562
|
-
"optional": true,
|
|
10563
|
-
"type": {
|
|
10564
|
-
"text": "boolean | AddEventListenerOptions"
|
|
10565
|
-
}
|
|
10566
|
-
}
|
|
10567
|
-
]
|
|
10966
|
+
"kind": "field",
|
|
10967
|
+
"name": "isEmpty"
|
|
10568
10968
|
},
|
|
10569
10969
|
{
|
|
10570
|
-
"kind": "
|
|
10571
|
-
"name": "
|
|
10572
|
-
"return": {
|
|
10573
|
-
"type": {
|
|
10574
|
-
"text": "void"
|
|
10575
|
-
}
|
|
10576
|
-
},
|
|
10577
|
-
"parameters": [
|
|
10578
|
-
{
|
|
10579
|
-
"name": "element",
|
|
10580
|
-
"type": {
|
|
10581
|
-
"text": "HTMLElement"
|
|
10582
|
-
}
|
|
10583
|
-
},
|
|
10584
|
-
{
|
|
10585
|
-
"name": "type",
|
|
10586
|
-
"type": {
|
|
10587
|
-
"text": "K"
|
|
10588
|
-
}
|
|
10589
|
-
},
|
|
10590
|
-
{
|
|
10591
|
-
"name": "listener",
|
|
10592
|
-
"type": {
|
|
10593
|
-
"text": "(this: HTMLElement, ev: HTMLElementEventMap[K]) => any"
|
|
10594
|
-
}
|
|
10595
|
-
},
|
|
10596
|
-
{
|
|
10597
|
-
"name": "options",
|
|
10598
|
-
"optional": true,
|
|
10599
|
-
"type": {
|
|
10600
|
-
"text": "boolean | AddEventListenerOptions"
|
|
10601
|
-
}
|
|
10602
|
-
}
|
|
10603
|
-
]
|
|
10970
|
+
"kind": "field",
|
|
10971
|
+
"name": "content"
|
|
10604
10972
|
},
|
|
10605
10973
|
{
|
|
10606
|
-
"kind": "
|
|
10607
|
-
"name": "
|
|
10608
|
-
"
|
|
10609
|
-
"type": {
|
|
10610
|
-
"text": "void"
|
|
10611
|
-
}
|
|
10612
|
-
},
|
|
10613
|
-
"parameters": [
|
|
10614
|
-
{
|
|
10615
|
-
"name": "element",
|
|
10616
|
-
"type": {
|
|
10617
|
-
"text": "ShadowRoot"
|
|
10618
|
-
}
|
|
10619
|
-
},
|
|
10620
|
-
{
|
|
10621
|
-
"name": "type",
|
|
10622
|
-
"type": {
|
|
10623
|
-
"text": "K"
|
|
10624
|
-
}
|
|
10625
|
-
},
|
|
10626
|
-
{
|
|
10627
|
-
"name": "listener",
|
|
10628
|
-
"type": {
|
|
10629
|
-
"text": "(this: ShadowRoot, ev: ShadowRootEventMap[K]) => any"
|
|
10630
|
-
}
|
|
10631
|
-
},
|
|
10632
|
-
{
|
|
10633
|
-
"name": "options",
|
|
10634
|
-
"optional": true,
|
|
10635
|
-
"type": {
|
|
10636
|
-
"text": "boolean | AddEventListenerOptions"
|
|
10637
|
-
}
|
|
10638
|
-
}
|
|
10639
|
-
]
|
|
10974
|
+
"kind": "field",
|
|
10975
|
+
"name": "handleSlotChange",
|
|
10976
|
+
"privacy": "private"
|
|
10640
10977
|
},
|
|
10641
10978
|
{
|
|
10642
10979
|
"kind": "method",
|
|
10643
|
-
"name": "
|
|
10980
|
+
"name": "onChange",
|
|
10981
|
+
"privacy": "protected",
|
|
10644
10982
|
"parameters": [
|
|
10645
10983
|
{
|
|
10646
|
-
"name": "
|
|
10647
|
-
"type": {
|
|
10648
|
-
"text": "Window | Document | HTMLElement | ShadowRoot"
|
|
10649
|
-
}
|
|
10650
|
-
},
|
|
10651
|
-
{
|
|
10652
|
-
"name": "type",
|
|
10653
|
-
"type": {
|
|
10654
|
-
"text": "string"
|
|
10655
|
-
}
|
|
10656
|
-
},
|
|
10657
|
-
{
|
|
10658
|
-
"name": "listener",
|
|
10659
|
-
"type": {
|
|
10660
|
-
"text": "(ev: any) => any"
|
|
10661
|
-
}
|
|
10662
|
-
},
|
|
10663
|
-
{
|
|
10664
|
-
"name": "options",
|
|
10665
|
-
"optional": true,
|
|
10984
|
+
"name": "_e",
|
|
10666
10985
|
"type": {
|
|
10667
|
-
"text": "
|
|
10986
|
+
"text": "Event"
|
|
10668
10987
|
}
|
|
10669
10988
|
}
|
|
10670
10989
|
]
|
|
@@ -10675,22 +10994,22 @@
|
|
|
10675
10994
|
"exports": [
|
|
10676
10995
|
{
|
|
10677
10996
|
"kind": "js",
|
|
10678
|
-
"name": "
|
|
10997
|
+
"name": "SlotController",
|
|
10679
10998
|
"declaration": {
|
|
10680
|
-
"name": "
|
|
10681
|
-
"module": "src/common/controllers/
|
|
10999
|
+
"name": "SlotController",
|
|
11000
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
10682
11001
|
}
|
|
10683
11002
|
}
|
|
10684
11003
|
]
|
|
10685
11004
|
},
|
|
10686
11005
|
{
|
|
10687
11006
|
"kind": "javascript-module",
|
|
10688
|
-
"path": "src/common/controllers/
|
|
11007
|
+
"path": "src/common/controllers/SwipeController.ts",
|
|
10689
11008
|
"declarations": [
|
|
10690
11009
|
{
|
|
10691
11010
|
"kind": "class",
|
|
10692
11011
|
"description": "",
|
|
10693
|
-
"name": "
|
|
11012
|
+
"name": "SwipeController",
|
|
10694
11013
|
"members": [
|
|
10695
11014
|
{
|
|
10696
11015
|
"kind": "field",
|
|
@@ -10702,107 +11021,133 @@
|
|
|
10702
11021
|
"default": "new EventController(host)"
|
|
10703
11022
|
},
|
|
10704
11023
|
{
|
|
10705
|
-
"kind": "
|
|
10706
|
-
"name": "
|
|
11024
|
+
"kind": "field",
|
|
11025
|
+
"name": "hadFirstUpdate",
|
|
11026
|
+
"type": {
|
|
11027
|
+
"text": "boolean"
|
|
11028
|
+
},
|
|
11029
|
+
"privacy": "private",
|
|
11030
|
+
"default": "false"
|
|
10707
11031
|
},
|
|
10708
11032
|
{
|
|
10709
11033
|
"kind": "field",
|
|
10710
|
-
"name": "
|
|
10711
|
-
"
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
{
|
|
10718
|
-
"kind": "js",
|
|
10719
|
-
"name": "FormDataController",
|
|
10720
|
-
"declaration": {
|
|
10721
|
-
"name": "FormDataController",
|
|
10722
|
-
"module": "src/common/controllers/FormDataController.ts"
|
|
10723
|
-
}
|
|
10724
|
-
}
|
|
10725
|
-
]
|
|
10726
|
-
},
|
|
10727
|
-
{
|
|
10728
|
-
"kind": "javascript-module",
|
|
10729
|
-
"path": "src/common/controllers/LightDismissController.ts",
|
|
10730
|
-
"declarations": [
|
|
10731
|
-
{
|
|
10732
|
-
"kind": "class",
|
|
10733
|
-
"description": "",
|
|
10734
|
-
"name": "LightDismissController",
|
|
10735
|
-
"members": [
|
|
11034
|
+
"name": "initialTouchX",
|
|
11035
|
+
"type": {
|
|
11036
|
+
"text": "number"
|
|
11037
|
+
},
|
|
11038
|
+
"privacy": "private",
|
|
11039
|
+
"default": "0"
|
|
11040
|
+
},
|
|
10736
11041
|
{
|
|
10737
11042
|
"kind": "field",
|
|
10738
|
-
"name": "
|
|
11043
|
+
"name": "initialTouchY",
|
|
10739
11044
|
"type": {
|
|
10740
|
-
"text": "
|
|
11045
|
+
"text": "number"
|
|
10741
11046
|
},
|
|
10742
11047
|
"privacy": "private",
|
|
10743
|
-
"default": "
|
|
11048
|
+
"default": "0"
|
|
10744
11049
|
},
|
|
10745
11050
|
{
|
|
10746
11051
|
"kind": "field",
|
|
10747
|
-
"name": "
|
|
11052
|
+
"name": "options",
|
|
10748
11053
|
"type": {
|
|
10749
|
-
"text": "
|
|
11054
|
+
"text": "SetRequired<SwipeControllerOptions, \"target\">"
|
|
10750
11055
|
},
|
|
10751
11056
|
"privacy": "private",
|
|
10752
|
-
"default": "
|
|
11057
|
+
"default": "{\n target: () => host,\n ...options,\n }"
|
|
10753
11058
|
},
|
|
10754
11059
|
{
|
|
10755
11060
|
"kind": "method",
|
|
10756
|
-
"name": "
|
|
11061
|
+
"name": "hostUpdated"
|
|
11062
|
+
},
|
|
11063
|
+
{
|
|
11064
|
+
"kind": "method",
|
|
11065
|
+
"name": "hostDisconnected"
|
|
10757
11066
|
},
|
|
10758
11067
|
{
|
|
10759
11068
|
"kind": "field",
|
|
10760
|
-
"name": "
|
|
11069
|
+
"name": "handleTouchStart",
|
|
10761
11070
|
"privacy": "private"
|
|
10762
11071
|
},
|
|
10763
11072
|
{
|
|
10764
11073
|
"kind": "field",
|
|
10765
|
-
"name": "
|
|
11074
|
+
"name": "handleTouchEnd",
|
|
10766
11075
|
"privacy": "private"
|
|
10767
11076
|
}
|
|
10768
11077
|
]
|
|
11078
|
+
},
|
|
11079
|
+
{
|
|
11080
|
+
"kind": "function",
|
|
11081
|
+
"name": "isHorizontalSwipe",
|
|
11082
|
+
"parameters": [
|
|
11083
|
+
{
|
|
11084
|
+
"name": "{ distX, distY }",
|
|
11085
|
+
"type": {
|
|
11086
|
+
"text": "SwipeDetails"
|
|
11087
|
+
}
|
|
11088
|
+
}
|
|
11089
|
+
]
|
|
11090
|
+
},
|
|
11091
|
+
{
|
|
11092
|
+
"kind": "function",
|
|
11093
|
+
"name": "isDownwardsSwipe",
|
|
11094
|
+
"parameters": [
|
|
11095
|
+
{
|
|
11096
|
+
"name": "{ distX, distY }",
|
|
11097
|
+
"type": {
|
|
11098
|
+
"text": "SwipeDetails"
|
|
11099
|
+
}
|
|
11100
|
+
}
|
|
11101
|
+
]
|
|
10769
11102
|
}
|
|
10770
11103
|
],
|
|
10771
11104
|
"exports": [
|
|
10772
11105
|
{
|
|
10773
11106
|
"kind": "js",
|
|
10774
|
-
"name": "
|
|
11107
|
+
"name": "SwipeController",
|
|
10775
11108
|
"declaration": {
|
|
10776
|
-
"name": "
|
|
10777
|
-
"module": "src/common/controllers/
|
|
11109
|
+
"name": "SwipeController",
|
|
11110
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
11111
|
+
}
|
|
11112
|
+
},
|
|
11113
|
+
{
|
|
11114
|
+
"kind": "js",
|
|
11115
|
+
"name": "isHorizontalSwipe",
|
|
11116
|
+
"declaration": {
|
|
11117
|
+
"name": "isHorizontalSwipe",
|
|
11118
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
11119
|
+
}
|
|
11120
|
+
},
|
|
11121
|
+
{
|
|
11122
|
+
"kind": "js",
|
|
11123
|
+
"name": "isDownwardsSwipe",
|
|
11124
|
+
"declaration": {
|
|
11125
|
+
"name": "isDownwardsSwipe",
|
|
11126
|
+
"module": "src/common/controllers/SwipeController.ts"
|
|
10778
11127
|
}
|
|
10779
11128
|
}
|
|
10780
11129
|
]
|
|
10781
11130
|
},
|
|
10782
11131
|
{
|
|
10783
11132
|
"kind": "javascript-module",
|
|
10784
|
-
"path": "src/common/
|
|
11133
|
+
"path": "src/common/decorators/observe.ts",
|
|
10785
11134
|
"declarations": [
|
|
10786
11135
|
{
|
|
10787
|
-
"kind": "
|
|
10788
|
-
"
|
|
10789
|
-
"
|
|
10790
|
-
"members": [
|
|
11136
|
+
"kind": "function",
|
|
11137
|
+
"name": "observe",
|
|
11138
|
+
"parameters": [
|
|
10791
11139
|
{
|
|
10792
|
-
"
|
|
10793
|
-
"name": "container",
|
|
11140
|
+
"name": "propertyName",
|
|
10794
11141
|
"type": {
|
|
10795
|
-
"text": "
|
|
10796
|
-
}
|
|
10797
|
-
"privacy": "private"
|
|
10798
|
-
},
|
|
10799
|
-
{
|
|
10800
|
-
"kind": "method",
|
|
10801
|
-
"name": "hostUpdated"
|
|
11142
|
+
"text": "string"
|
|
11143
|
+
}
|
|
10802
11144
|
},
|
|
10803
11145
|
{
|
|
10804
|
-
"
|
|
10805
|
-
"
|
|
11146
|
+
"name": "lifecycle",
|
|
11147
|
+
"default": "\"update\"",
|
|
11148
|
+
"type": {
|
|
11149
|
+
"text": "ObserveLifecycle"
|
|
11150
|
+
}
|
|
10806
11151
|
}
|
|
10807
11152
|
]
|
|
10808
11153
|
}
|
|
@@ -10810,177 +11155,221 @@
|
|
|
10810
11155
|
"exports": [
|
|
10811
11156
|
{
|
|
10812
11157
|
"kind": "js",
|
|
10813
|
-
"name": "
|
|
11158
|
+
"name": "observe",
|
|
10814
11159
|
"declaration": {
|
|
10815
|
-
"name": "
|
|
10816
|
-
"module": "src/common/
|
|
11160
|
+
"name": "observe",
|
|
11161
|
+
"module": "src/common/decorators/observe.ts"
|
|
10817
11162
|
}
|
|
10818
11163
|
}
|
|
10819
11164
|
]
|
|
10820
11165
|
},
|
|
10821
11166
|
{
|
|
10822
11167
|
"kind": "javascript-module",
|
|
10823
|
-
"path": "src/common/
|
|
11168
|
+
"path": "src/common/directives/cond.ts",
|
|
10824
11169
|
"declarations": [
|
|
10825
11170
|
{
|
|
10826
|
-
"kind": "
|
|
10827
|
-
"
|
|
10828
|
-
"
|
|
10829
|
-
|
|
11171
|
+
"kind": "function",
|
|
11172
|
+
"name": "cond",
|
|
11173
|
+
"return": {
|
|
11174
|
+
"type": {
|
|
11175
|
+
"text": "typeof value | typeof nothing"
|
|
11176
|
+
}
|
|
11177
|
+
},
|
|
11178
|
+
"parameters": [
|
|
10830
11179
|
{
|
|
10831
|
-
"
|
|
10832
|
-
"name": "renderHook",
|
|
11180
|
+
"name": "value",
|
|
10833
11181
|
"type": {
|
|
10834
|
-
"text": "
|
|
10835
|
-
}
|
|
10836
|
-
|
|
11182
|
+
"text": "any"
|
|
11183
|
+
}
|
|
11184
|
+
}
|
|
11185
|
+
],
|
|
11186
|
+
"description": "if value is truthy, return it, otherwise return nothing"
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
"kind": "function",
|
|
11190
|
+
"name": "cond",
|
|
11191
|
+
"return": {
|
|
11192
|
+
"type": {
|
|
11193
|
+
"text": "typeof trueCase | typeof nothing"
|
|
11194
|
+
}
|
|
11195
|
+
},
|
|
11196
|
+
"parameters": [
|
|
11197
|
+
{
|
|
11198
|
+
"name": "condition",
|
|
11199
|
+
"type": {
|
|
11200
|
+
"text": "unknown"
|
|
11201
|
+
}
|
|
11202
|
+
},
|
|
11203
|
+
{
|
|
11204
|
+
"name": "trueCase",
|
|
11205
|
+
"type": {
|
|
11206
|
+
"text": "any"
|
|
11207
|
+
}
|
|
11208
|
+
}
|
|
11209
|
+
],
|
|
11210
|
+
"description": "if condition is truthy, return trueCase, otherwise return nothing"
|
|
11211
|
+
},
|
|
11212
|
+
{
|
|
11213
|
+
"kind": "function",
|
|
11214
|
+
"name": "cond",
|
|
11215
|
+
"return": {
|
|
11216
|
+
"type": {
|
|
11217
|
+
"text": "typeof trueCase"
|
|
11218
|
+
}
|
|
11219
|
+
},
|
|
11220
|
+
"parameters": [
|
|
11221
|
+
{
|
|
11222
|
+
"name": "condition",
|
|
11223
|
+
"type": {
|
|
11224
|
+
"text": "true"
|
|
11225
|
+
}
|
|
11226
|
+
},
|
|
11227
|
+
{
|
|
11228
|
+
"name": "trueCase",
|
|
11229
|
+
"type": {
|
|
11230
|
+
"text": "any"
|
|
11231
|
+
}
|
|
11232
|
+
}
|
|
11233
|
+
],
|
|
11234
|
+
"description": "condition is true, so always return trueCase"
|
|
11235
|
+
},
|
|
11236
|
+
{
|
|
11237
|
+
"kind": "function",
|
|
11238
|
+
"name": "cond",
|
|
11239
|
+
"return": {
|
|
11240
|
+
"type": {
|
|
11241
|
+
"text": "typeof nothing"
|
|
11242
|
+
}
|
|
11243
|
+
},
|
|
11244
|
+
"parameters": [
|
|
11245
|
+
{
|
|
11246
|
+
"name": "condition",
|
|
11247
|
+
"type": {
|
|
11248
|
+
"text": "false"
|
|
11249
|
+
}
|
|
10837
11250
|
},
|
|
10838
11251
|
{
|
|
10839
|
-
"
|
|
10840
|
-
"
|
|
11252
|
+
"name": "trueCase",
|
|
11253
|
+
"type": {
|
|
11254
|
+
"text": "any"
|
|
11255
|
+
}
|
|
11256
|
+
}
|
|
11257
|
+
],
|
|
11258
|
+
"description": "condition is false, to will always return nothing"
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
"kind": "function",
|
|
11262
|
+
"name": "cond",
|
|
11263
|
+
"return": {
|
|
11264
|
+
"type": {
|
|
11265
|
+
"text": "typeof trueCase | typeof falseCase"
|
|
11266
|
+
}
|
|
11267
|
+
},
|
|
11268
|
+
"parameters": [
|
|
11269
|
+
{
|
|
11270
|
+
"name": "condition",
|
|
10841
11271
|
"type": {
|
|
10842
|
-
"text": "
|
|
10843
|
-
},
|
|
10844
|
-
"privacy": "private",
|
|
10845
|
-
"default": "new LightDomController(host, {\n render: () => (this.hasContent ? nothing : this.options.render()),\n renderOptions: { renderBefore: this.renderHook },\n })"
|
|
10846
|
-
},
|
|
10847
|
-
{
|
|
10848
|
-
"kind": "method",
|
|
10849
|
-
"name": "hostConnected",
|
|
10850
|
-
"inheritedFrom": {
|
|
10851
|
-
"name": "SlotController",
|
|
10852
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11272
|
+
"text": "unknown"
|
|
10853
11273
|
}
|
|
10854
11274
|
},
|
|
10855
11275
|
{
|
|
10856
|
-
"
|
|
10857
|
-
"
|
|
11276
|
+
"name": "trueCase",
|
|
11277
|
+
"type": {
|
|
11278
|
+
"text": "any"
|
|
11279
|
+
}
|
|
10858
11280
|
},
|
|
10859
11281
|
{
|
|
10860
|
-
"
|
|
10861
|
-
"
|
|
10862
|
-
|
|
10863
|
-
"parameters": [
|
|
10864
|
-
{
|
|
10865
|
-
"name": "_e",
|
|
10866
|
-
"type": {
|
|
10867
|
-
"text": "Event"
|
|
10868
|
-
}
|
|
10869
|
-
}
|
|
10870
|
-
],
|
|
10871
|
-
"inheritedFrom": {
|
|
10872
|
-
"name": "SlotController",
|
|
10873
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11282
|
+
"name": "falseCase",
|
|
11283
|
+
"type": {
|
|
11284
|
+
"text": "any"
|
|
10874
11285
|
}
|
|
10875
|
-
}
|
|
11286
|
+
}
|
|
11287
|
+
],
|
|
11288
|
+
"description": "if condition is truthy, return trueCase, otherwise return falseCase"
|
|
11289
|
+
},
|
|
11290
|
+
{
|
|
11291
|
+
"kind": "function",
|
|
11292
|
+
"name": "cond",
|
|
11293
|
+
"return": {
|
|
11294
|
+
"type": {
|
|
11295
|
+
"text": "typeof trueCase"
|
|
11296
|
+
}
|
|
11297
|
+
},
|
|
11298
|
+
"parameters": [
|
|
10876
11299
|
{
|
|
10877
|
-
"
|
|
10878
|
-
"
|
|
10879
|
-
|
|
11300
|
+
"name": "condition",
|
|
11301
|
+
"type": {
|
|
11302
|
+
"text": "true"
|
|
11303
|
+
}
|
|
10880
11304
|
},
|
|
10881
11305
|
{
|
|
10882
|
-
"
|
|
10883
|
-
"name": "events",
|
|
11306
|
+
"name": "trueCase",
|
|
10884
11307
|
"type": {
|
|
10885
|
-
"text": "
|
|
10886
|
-
},
|
|
10887
|
-
"privacy": "private",
|
|
10888
|
-
"default": "new EventController(host)",
|
|
10889
|
-
"inheritedFrom": {
|
|
10890
|
-
"name": "SlotController",
|
|
10891
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11308
|
+
"text": "any"
|
|
10892
11309
|
}
|
|
10893
11310
|
},
|
|
10894
11311
|
{
|
|
10895
|
-
"
|
|
10896
|
-
"
|
|
10897
|
-
|
|
10898
|
-
"name": "SlotController",
|
|
10899
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11312
|
+
"name": "falseCase",
|
|
11313
|
+
"type": {
|
|
11314
|
+
"text": "any"
|
|
10900
11315
|
}
|
|
10901
|
-
}
|
|
11316
|
+
}
|
|
11317
|
+
],
|
|
11318
|
+
"description": "condition is true, so always return trueCase"
|
|
11319
|
+
},
|
|
11320
|
+
{
|
|
11321
|
+
"kind": "function",
|
|
11322
|
+
"name": "cond",
|
|
11323
|
+
"return": {
|
|
11324
|
+
"type": {
|
|
11325
|
+
"text": "typeof falseCase"
|
|
11326
|
+
}
|
|
11327
|
+
},
|
|
11328
|
+
"parameters": [
|
|
10902
11329
|
{
|
|
10903
|
-
"
|
|
10904
|
-
"
|
|
10905
|
-
|
|
10906
|
-
"name": "SlotController",
|
|
10907
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11330
|
+
"name": "condition",
|
|
11331
|
+
"type": {
|
|
11332
|
+
"text": "false"
|
|
10908
11333
|
}
|
|
10909
11334
|
},
|
|
10910
11335
|
{
|
|
10911
|
-
"
|
|
10912
|
-
"
|
|
10913
|
-
|
|
10914
|
-
"name": "SlotController",
|
|
10915
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11336
|
+
"name": "trueCase",
|
|
11337
|
+
"type": {
|
|
11338
|
+
"text": "any"
|
|
10916
11339
|
}
|
|
10917
11340
|
},
|
|
10918
11341
|
{
|
|
10919
|
-
"
|
|
10920
|
-
"
|
|
10921
|
-
|
|
10922
|
-
"inheritedFrom": {
|
|
10923
|
-
"name": "SlotController",
|
|
10924
|
-
"module": "src/common/controllers/SlotController.ts"
|
|
11342
|
+
"name": "falseCase",
|
|
11343
|
+
"type": {
|
|
11344
|
+
"text": "any"
|
|
10925
11345
|
}
|
|
10926
11346
|
}
|
|
10927
11347
|
],
|
|
10928
|
-
"
|
|
10929
|
-
|
|
10930
|
-
"module": "/src/common/controllers/SlotController.js"
|
|
10931
|
-
},
|
|
10932
|
-
"status": null,
|
|
10933
|
-
"category": null
|
|
10934
|
-
}
|
|
10935
|
-
],
|
|
10936
|
-
"exports": [
|
|
10937
|
-
{
|
|
10938
|
-
"kind": "js",
|
|
10939
|
-
"name": "LightSlotController",
|
|
10940
|
-
"declaration": {
|
|
10941
|
-
"name": "LightSlotController",
|
|
10942
|
-
"module": "src/common/controllers/LightSlotController.ts"
|
|
10943
|
-
}
|
|
10944
|
-
}
|
|
10945
|
-
]
|
|
10946
|
-
},
|
|
10947
|
-
{
|
|
10948
|
-
"kind": "javascript-module",
|
|
10949
|
-
"path": "src/common/controllers/PortalController.ts",
|
|
10950
|
-
"declarations": [
|
|
11348
|
+
"description": "condition is false, so always return falseCase"
|
|
11349
|
+
},
|
|
10951
11350
|
{
|
|
10952
|
-
"kind": "
|
|
10953
|
-
"
|
|
10954
|
-
"
|
|
10955
|
-
"members": [
|
|
11351
|
+
"kind": "function",
|
|
11352
|
+
"name": "cond",
|
|
11353
|
+
"parameters": [
|
|
10956
11354
|
{
|
|
10957
|
-
"
|
|
10958
|
-
"name": "renderHook",
|
|
11355
|
+
"name": "condition",
|
|
10959
11356
|
"type": {
|
|
10960
|
-
"text": "
|
|
10961
|
-
}
|
|
10962
|
-
"privacy": "private"
|
|
11357
|
+
"text": "unknown"
|
|
11358
|
+
}
|
|
10963
11359
|
},
|
|
10964
11360
|
{
|
|
10965
|
-
"
|
|
10966
|
-
"
|
|
11361
|
+
"name": "trueCase",
|
|
11362
|
+
"default": "condition",
|
|
10967
11363
|
"type": {
|
|
10968
|
-
"text": "
|
|
10969
|
-
}
|
|
10970
|
-
"privacy": "private",
|
|
10971
|
-
"default": "new LightDomController(host, {\n render: () => this.options.render.call(host),\n container: options.outlet,\n renderOptions: {\n renderBefore: this.renderHook,\n host,\n },\n })"
|
|
10972
|
-
},
|
|
10973
|
-
{
|
|
10974
|
-
"kind": "method",
|
|
10975
|
-
"name": "hostConnected"
|
|
10976
|
-
},
|
|
10977
|
-
{
|
|
10978
|
-
"kind": "method",
|
|
10979
|
-
"name": "hostUpdated"
|
|
11364
|
+
"text": "any"
|
|
11365
|
+
}
|
|
10980
11366
|
},
|
|
10981
11367
|
{
|
|
10982
|
-
"
|
|
10983
|
-
"
|
|
11368
|
+
"name": "falseCase",
|
|
11369
|
+
"default": "nothing",
|
|
11370
|
+
"type": {
|
|
11371
|
+
"text": "any"
|
|
11372
|
+
}
|
|
10984
11373
|
}
|
|
10985
11374
|
]
|
|
10986
11375
|
}
|
|
@@ -10988,265 +11377,222 @@
|
|
|
10988
11377
|
"exports": [
|
|
10989
11378
|
{
|
|
10990
11379
|
"kind": "js",
|
|
10991
|
-
"name": "
|
|
11380
|
+
"name": "cond",
|
|
10992
11381
|
"declaration": {
|
|
10993
|
-
"name": "
|
|
10994
|
-
"module": "src/common/
|
|
11382
|
+
"name": "cond",
|
|
11383
|
+
"module": "src/common/directives/cond.ts"
|
|
10995
11384
|
}
|
|
10996
|
-
}
|
|
10997
|
-
]
|
|
10998
|
-
},
|
|
10999
|
-
{
|
|
11000
|
-
"kind": "javascript-module",
|
|
11001
|
-
"path": "src/common/controllers/ShortcutController.ts",
|
|
11002
|
-
"declarations": [
|
|
11385
|
+
},
|
|
11003
11386
|
{
|
|
11004
|
-
"kind": "
|
|
11005
|
-
"
|
|
11006
|
-
"
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
},
|
|
11028
|
-
{
|
|
11029
|
-
"kind": "method",
|
|
11030
|
-
"name": "bind",
|
|
11031
|
-
"parameters": [
|
|
11032
|
-
{
|
|
11033
|
-
"name": "shortcuts",
|
|
11034
|
-
"type": {
|
|
11035
|
-
"text": "KeyBindingMap"
|
|
11036
|
-
}
|
|
11037
|
-
}
|
|
11038
|
-
]
|
|
11039
|
-
}
|
|
11040
|
-
]
|
|
11041
|
-
}
|
|
11042
|
-
],
|
|
11043
|
-
"exports": [
|
|
11387
|
+
"kind": "js",
|
|
11388
|
+
"name": "cond",
|
|
11389
|
+
"declaration": {
|
|
11390
|
+
"name": "cond",
|
|
11391
|
+
"module": "src/common/directives/cond.ts"
|
|
11392
|
+
}
|
|
11393
|
+
},
|
|
11394
|
+
{
|
|
11395
|
+
"kind": "js",
|
|
11396
|
+
"name": "cond",
|
|
11397
|
+
"declaration": {
|
|
11398
|
+
"name": "cond",
|
|
11399
|
+
"module": "src/common/directives/cond.ts"
|
|
11400
|
+
}
|
|
11401
|
+
},
|
|
11402
|
+
{
|
|
11403
|
+
"kind": "js",
|
|
11404
|
+
"name": "cond",
|
|
11405
|
+
"declaration": {
|
|
11406
|
+
"name": "cond",
|
|
11407
|
+
"module": "src/common/directives/cond.ts"
|
|
11408
|
+
}
|
|
11409
|
+
},
|
|
11044
11410
|
{
|
|
11045
11411
|
"kind": "js",
|
|
11046
|
-
"name": "
|
|
11412
|
+
"name": "cond",
|
|
11047
11413
|
"declaration": {
|
|
11048
|
-
"name": "
|
|
11049
|
-
"module": "src/common/
|
|
11414
|
+
"name": "cond",
|
|
11415
|
+
"module": "src/common/directives/cond.ts"
|
|
11050
11416
|
}
|
|
11051
11417
|
},
|
|
11052
11418
|
{
|
|
11053
11419
|
"kind": "js",
|
|
11054
|
-
"name": "
|
|
11420
|
+
"name": "cond",
|
|
11055
11421
|
"declaration": {
|
|
11056
|
-
"name": "
|
|
11057
|
-
"module": "src/common/
|
|
11422
|
+
"name": "cond",
|
|
11423
|
+
"module": "src/common/directives/cond.ts"
|
|
11058
11424
|
}
|
|
11059
|
-
}
|
|
11060
|
-
]
|
|
11061
|
-
},
|
|
11062
|
-
{
|
|
11063
|
-
"kind": "javascript-module",
|
|
11064
|
-
"path": "src/common/controllers/SlotController.ts",
|
|
11065
|
-
"declarations": [
|
|
11425
|
+
},
|
|
11066
11426
|
{
|
|
11067
|
-
"kind": "
|
|
11068
|
-
"
|
|
11069
|
-
"
|
|
11070
|
-
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
"type": {
|
|
11075
|
-
"text": "EventController"
|
|
11076
|
-
},
|
|
11077
|
-
"privacy": "private",
|
|
11078
|
-
"default": "new EventController(host)"
|
|
11079
|
-
},
|
|
11080
|
-
{
|
|
11081
|
-
"kind": "method",
|
|
11082
|
-
"name": "hostConnected"
|
|
11083
|
-
},
|
|
11084
|
-
{
|
|
11085
|
-
"kind": "field",
|
|
11086
|
-
"name": "hasContent"
|
|
11087
|
-
},
|
|
11088
|
-
{
|
|
11089
|
-
"kind": "field",
|
|
11090
|
-
"name": "isEmpty"
|
|
11091
|
-
},
|
|
11092
|
-
{
|
|
11093
|
-
"kind": "field",
|
|
11094
|
-
"name": "content"
|
|
11095
|
-
},
|
|
11096
|
-
{
|
|
11097
|
-
"kind": "field",
|
|
11098
|
-
"name": "handleSlotChange",
|
|
11099
|
-
"privacy": "private"
|
|
11100
|
-
},
|
|
11101
|
-
{
|
|
11102
|
-
"kind": "method",
|
|
11103
|
-
"name": "onChange",
|
|
11104
|
-
"privacy": "protected",
|
|
11105
|
-
"parameters": [
|
|
11106
|
-
{
|
|
11107
|
-
"name": "_e",
|
|
11108
|
-
"type": {
|
|
11109
|
-
"text": "Event"
|
|
11110
|
-
}
|
|
11111
|
-
}
|
|
11112
|
-
]
|
|
11113
|
-
}
|
|
11114
|
-
]
|
|
11115
|
-
}
|
|
11116
|
-
],
|
|
11117
|
-
"exports": [
|
|
11427
|
+
"kind": "js",
|
|
11428
|
+
"name": "cond",
|
|
11429
|
+
"declaration": {
|
|
11430
|
+
"name": "cond",
|
|
11431
|
+
"module": "src/common/directives/cond.ts"
|
|
11432
|
+
}
|
|
11433
|
+
},
|
|
11118
11434
|
{
|
|
11119
11435
|
"kind": "js",
|
|
11120
|
-
"name": "
|
|
11436
|
+
"name": "cond",
|
|
11121
11437
|
"declaration": {
|
|
11122
|
-
"name": "
|
|
11123
|
-
"module": "src/common/
|
|
11438
|
+
"name": "cond",
|
|
11439
|
+
"module": "src/common/directives/cond.ts"
|
|
11124
11440
|
}
|
|
11125
11441
|
}
|
|
11126
11442
|
]
|
|
11127
11443
|
},
|
|
11128
11444
|
{
|
|
11129
11445
|
"kind": "javascript-module",
|
|
11130
|
-
"path": "src/common/
|
|
11446
|
+
"path": "src/common/directives/wrapIf.ts",
|
|
11131
11447
|
"declarations": [
|
|
11132
11448
|
{
|
|
11133
|
-
"kind": "
|
|
11134
|
-
"
|
|
11135
|
-
"
|
|
11136
|
-
|
|
11449
|
+
"kind": "function",
|
|
11450
|
+
"name": "wrapIf",
|
|
11451
|
+
"return": {
|
|
11452
|
+
"type": {
|
|
11453
|
+
"text": "TInner"
|
|
11454
|
+
}
|
|
11455
|
+
},
|
|
11456
|
+
"parameters": [
|
|
11137
11457
|
{
|
|
11138
|
-
"
|
|
11139
|
-
"name": "events",
|
|
11458
|
+
"name": "condition",
|
|
11140
11459
|
"type": {
|
|
11141
|
-
"text": "
|
|
11142
|
-
}
|
|
11143
|
-
"privacy": "private",
|
|
11144
|
-
"default": "new EventController(host)"
|
|
11460
|
+
"text": "false"
|
|
11461
|
+
}
|
|
11145
11462
|
},
|
|
11146
11463
|
{
|
|
11147
|
-
"
|
|
11148
|
-
"name": "hadFirstUpdate",
|
|
11464
|
+
"name": "inner",
|
|
11149
11465
|
"type": {
|
|
11150
|
-
"text": "
|
|
11151
|
-
}
|
|
11152
|
-
"privacy": "private",
|
|
11153
|
-
"default": "false"
|
|
11466
|
+
"text": "() => TInner"
|
|
11467
|
+
}
|
|
11154
11468
|
},
|
|
11155
11469
|
{
|
|
11156
|
-
"
|
|
11157
|
-
"name": "initialTouchX",
|
|
11470
|
+
"name": "wrapper",
|
|
11158
11471
|
"type": {
|
|
11159
|
-
"text": "
|
|
11160
|
-
}
|
|
11161
|
-
|
|
11162
|
-
|
|
11163
|
-
|
|
11472
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11473
|
+
}
|
|
11474
|
+
}
|
|
11475
|
+
]
|
|
11476
|
+
},
|
|
11477
|
+
{
|
|
11478
|
+
"kind": "function",
|
|
11479
|
+
"name": "wrapIf",
|
|
11480
|
+
"return": {
|
|
11481
|
+
"type": {
|
|
11482
|
+
"text": "TWrapper"
|
|
11483
|
+
}
|
|
11484
|
+
},
|
|
11485
|
+
"parameters": [
|
|
11164
11486
|
{
|
|
11165
|
-
"
|
|
11166
|
-
"name": "initialTouchY",
|
|
11487
|
+
"name": "condition",
|
|
11167
11488
|
"type": {
|
|
11168
|
-
"text": "
|
|
11169
|
-
}
|
|
11170
|
-
"privacy": "private",
|
|
11171
|
-
"default": "0"
|
|
11489
|
+
"text": "true"
|
|
11490
|
+
}
|
|
11172
11491
|
},
|
|
11173
11492
|
{
|
|
11174
|
-
"
|
|
11175
|
-
"name": "options",
|
|
11493
|
+
"name": "inner",
|
|
11176
11494
|
"type": {
|
|
11177
|
-
"text": "
|
|
11178
|
-
}
|
|
11179
|
-
"privacy": "private",
|
|
11180
|
-
"default": "{\n target: () => host,\n ...options,\n }"
|
|
11181
|
-
},
|
|
11182
|
-
{
|
|
11183
|
-
"kind": "method",
|
|
11184
|
-
"name": "hostUpdated"
|
|
11185
|
-
},
|
|
11186
|
-
{
|
|
11187
|
-
"kind": "method",
|
|
11188
|
-
"name": "hostDisconnected"
|
|
11189
|
-
},
|
|
11190
|
-
{
|
|
11191
|
-
"kind": "field",
|
|
11192
|
-
"name": "handleTouchStart",
|
|
11193
|
-
"privacy": "private"
|
|
11495
|
+
"text": "() => TInner"
|
|
11496
|
+
}
|
|
11194
11497
|
},
|
|
11195
11498
|
{
|
|
11196
|
-
"
|
|
11197
|
-
"
|
|
11198
|
-
|
|
11499
|
+
"name": "wrapper",
|
|
11500
|
+
"type": {
|
|
11501
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11502
|
+
}
|
|
11199
11503
|
}
|
|
11200
11504
|
]
|
|
11201
11505
|
},
|
|
11202
11506
|
{
|
|
11203
11507
|
"kind": "function",
|
|
11204
|
-
"name": "
|
|
11508
|
+
"name": "wrapIf",
|
|
11509
|
+
"return": {
|
|
11510
|
+
"type": {
|
|
11511
|
+
"text": "TInner | TWrapper"
|
|
11512
|
+
}
|
|
11513
|
+
},
|
|
11205
11514
|
"parameters": [
|
|
11206
11515
|
{
|
|
11207
|
-
"name": "
|
|
11516
|
+
"name": "condition",
|
|
11208
11517
|
"type": {
|
|
11209
|
-
"text": "
|
|
11518
|
+
"text": "unknown"
|
|
11519
|
+
}
|
|
11520
|
+
},
|
|
11521
|
+
{
|
|
11522
|
+
"name": "inner",
|
|
11523
|
+
"type": {
|
|
11524
|
+
"text": "() => TInner"
|
|
11525
|
+
}
|
|
11526
|
+
},
|
|
11527
|
+
{
|
|
11528
|
+
"name": "wrapper",
|
|
11529
|
+
"type": {
|
|
11530
|
+
"text": "(inner: TInner) => TWrapper"
|
|
11210
11531
|
}
|
|
11211
11532
|
}
|
|
11212
11533
|
]
|
|
11213
11534
|
},
|
|
11214
11535
|
{
|
|
11215
11536
|
"kind": "function",
|
|
11216
|
-
"name": "
|
|
11537
|
+
"name": "wrapIf",
|
|
11217
11538
|
"parameters": [
|
|
11218
11539
|
{
|
|
11219
|
-
"name": "
|
|
11540
|
+
"name": "condition",
|
|
11220
11541
|
"type": {
|
|
11221
|
-
"text": "
|
|
11542
|
+
"text": "any"
|
|
11543
|
+
}
|
|
11544
|
+
},
|
|
11545
|
+
{
|
|
11546
|
+
"name": "inner",
|
|
11547
|
+
"type": {
|
|
11548
|
+
"text": "() => TInner"
|
|
11549
|
+
}
|
|
11550
|
+
},
|
|
11551
|
+
{
|
|
11552
|
+
"name": "wrapper",
|
|
11553
|
+
"type": {
|
|
11554
|
+
"text": "(innards: TInner) => TWrapper"
|
|
11222
11555
|
}
|
|
11223
11556
|
}
|
|
11224
|
-
]
|
|
11557
|
+
],
|
|
11558
|
+
"return": {
|
|
11559
|
+
"type": {
|
|
11560
|
+
"text": ""
|
|
11561
|
+
}
|
|
11562
|
+
}
|
|
11225
11563
|
}
|
|
11226
11564
|
],
|
|
11227
11565
|
"exports": [
|
|
11228
11566
|
{
|
|
11229
11567
|
"kind": "js",
|
|
11230
|
-
"name": "
|
|
11568
|
+
"name": "wrapIf",
|
|
11231
11569
|
"declaration": {
|
|
11232
|
-
"name": "
|
|
11233
|
-
"module": "src/common/
|
|
11570
|
+
"name": "wrapIf",
|
|
11571
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11234
11572
|
}
|
|
11235
11573
|
},
|
|
11236
11574
|
{
|
|
11237
11575
|
"kind": "js",
|
|
11238
|
-
"name": "
|
|
11576
|
+
"name": "wrapIf",
|
|
11239
11577
|
"declaration": {
|
|
11240
|
-
"name": "
|
|
11241
|
-
"module": "src/common/
|
|
11578
|
+
"name": "wrapIf",
|
|
11579
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11242
11580
|
}
|
|
11243
11581
|
},
|
|
11244
11582
|
{
|
|
11245
11583
|
"kind": "js",
|
|
11246
|
-
"name": "
|
|
11584
|
+
"name": "wrapIf",
|
|
11247
11585
|
"declaration": {
|
|
11248
|
-
"name": "
|
|
11249
|
-
"module": "src/common/
|
|
11586
|
+
"name": "wrapIf",
|
|
11587
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11588
|
+
}
|
|
11589
|
+
},
|
|
11590
|
+
{
|
|
11591
|
+
"kind": "js",
|
|
11592
|
+
"name": "wrapIf",
|
|
11593
|
+
"declaration": {
|
|
11594
|
+
"name": "wrapIf",
|
|
11595
|
+
"module": "src/common/directives/wrapIf.ts"
|
|
11250
11596
|
}
|
|
11251
11597
|
}
|
|
11252
11598
|
]
|