@fusion.dev/helix-headless 0.56.1 → 0.58.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 +0 -716
- package/dist/color-input/root/color-input-root.d.ts +1 -2
- package/dist/color-input/root/color-input-root.js +1 -2
- package/dist/color-picker/index.d.ts +0 -1
- package/dist/color-picker/index.js +0 -1
- package/dist/color-picker/root/color-picker-root.d.ts +1 -2
- package/dist/color-picker/root/color-picker-root.js +1 -2
- package/dist/video/root/keys.js +1 -1
- package/dist/video/root/video-root.js +1 -7
- package/package.json +5 -5
- package/dist/color-picker/color.d.ts +0 -73
- package/dist/color-picker/color.js +0 -168
- package/dist/video/root/captions.d.ts +0 -85
- package/dist/video/root/captions.js +0 -45
- package/dist/video/root/fullscreen.d.ts +0 -28
- package/dist/video/root/fullscreen.js +0 -28
- package/dist/video/root/idle.d.ts +0 -34
- package/dist/video/root/idle.js +0 -24
- package/dist/video/root/media-copy.d.ts +0 -25
- package/dist/video/root/media-copy.js +0 -18
- package/dist/video/root/media-session.d.ts +0 -54
- package/dist/video/root/media-session.js +0 -49
- package/dist/video/root/remote-playback.d.ts +0 -34
- package/dist/video/root/remote-playback.js +0 -38
package/custom-elements.json
CHANGED
|
@@ -18896,169 +18896,11 @@
|
|
|
18896
18896
|
}
|
|
18897
18897
|
]
|
|
18898
18898
|
},
|
|
18899
|
-
{
|
|
18900
|
-
"kind": "javascript-module",
|
|
18901
|
-
"path": "src/color-picker/color.ts",
|
|
18902
|
-
"declarations": [
|
|
18903
|
-
{
|
|
18904
|
-
"kind": "function",
|
|
18905
|
-
"name": "toRgb",
|
|
18906
|
-
"return": {
|
|
18907
|
-
"type": {
|
|
18908
|
-
"text": "{ blue: number; green: number; red: number }"
|
|
18909
|
-
}
|
|
18910
|
-
},
|
|
18911
|
-
"parameters": [
|
|
18912
|
-
{
|
|
18913
|
-
"name": "color",
|
|
18914
|
-
"type": {
|
|
18915
|
-
"text": "Color"
|
|
18916
|
-
}
|
|
18917
|
-
}
|
|
18918
|
-
],
|
|
18919
|
-
"description": "HSB to bytes, which is the road every written syntax goes down."
|
|
18920
|
-
},
|
|
18921
|
-
{
|
|
18922
|
-
"kind": "function",
|
|
18923
|
-
"name": "splitColors",
|
|
18924
|
-
"return": {
|
|
18925
|
-
"type": {
|
|
18926
|
-
"text": "string[]"
|
|
18927
|
-
}
|
|
18928
|
-
},
|
|
18929
|
-
"parameters": [
|
|
18930
|
-
{
|
|
18931
|
-
"name": "value",
|
|
18932
|
-
"type": {
|
|
18933
|
-
"text": "string"
|
|
18934
|
-
}
|
|
18935
|
-
}
|
|
18936
|
-
],
|
|
18937
|
-
"description": "Splits a comma-separated list of colors, ignoring the commas inside them.\n\nA plain `split(',')` cannot hold the legacy syntaxes:\n`#ef4444, rgb(249 115 22), rgba(34,197,94,.5)` comes apart into six fragments,\nfour of them not colors, and the row quietly renders three swatches instead of\nfour. The modern space-separated forms survive it, which is what makes such a\nlist look like it works.\n\nDepth rather than a regular expression, because the thing that matters is\nwhether a comma is inside a function call and that is exactly what a counter\nanswers. No color syntax nests, so a single counter is enough."
|
|
18938
|
-
},
|
|
18939
|
-
{
|
|
18940
|
-
"kind": "function",
|
|
18941
|
-
"name": "parseColor",
|
|
18942
|
-
"return": {
|
|
18943
|
-
"type": {
|
|
18944
|
-
"text": "Color | null"
|
|
18945
|
-
}
|
|
18946
|
-
},
|
|
18947
|
-
"parameters": [
|
|
18948
|
-
{
|
|
18949
|
-
"name": "value",
|
|
18950
|
-
"type": {
|
|
18951
|
-
"text": "string"
|
|
18952
|
-
}
|
|
18953
|
-
}
|
|
18954
|
-
],
|
|
18955
|
-
"description": "Any of the syntaxes to the working model, or `null` where it is not a color.\n\nNamed colors are not here. Resolving `rebeccapurple` means either shipping\nthe table of a hundred and forty or asking the browser, and the browser is not\npresent on the server: a field that accepted a name client-side and rejected\nit during a server render would be worse than one that never took it."
|
|
18956
|
-
},
|
|
18957
|
-
{
|
|
18958
|
-
"kind": "function",
|
|
18959
|
-
"name": "formatColor",
|
|
18960
|
-
"return": {
|
|
18961
|
-
"type": {
|
|
18962
|
-
"text": "string"
|
|
18963
|
-
}
|
|
18964
|
-
},
|
|
18965
|
-
"parameters": [
|
|
18966
|
-
{
|
|
18967
|
-
"name": "color",
|
|
18968
|
-
"type": {
|
|
18969
|
-
"text": "Color"
|
|
18970
|
-
}
|
|
18971
|
-
},
|
|
18972
|
-
{
|
|
18973
|
-
"name": "format",
|
|
18974
|
-
"type": {
|
|
18975
|
-
"text": "ColorFormat"
|
|
18976
|
-
}
|
|
18977
|
-
},
|
|
18978
|
-
{
|
|
18979
|
-
"name": "withAlpha",
|
|
18980
|
-
"type": {
|
|
18981
|
-
"text": "boolean"
|
|
18982
|
-
}
|
|
18983
|
-
}
|
|
18984
|
-
],
|
|
18985
|
-
"description": "The working model back out, in the syntax asked for.\n\nThe alpha is written only where the component carries one. A consumer who did\nnot ask for transparency should not have to strip `ff` off every hex or read\npast a fourth argument they never wanted."
|
|
18986
|
-
},
|
|
18987
|
-
{
|
|
18988
|
-
"kind": "function",
|
|
18989
|
-
"name": "toCss",
|
|
18990
|
-
"return": {
|
|
18991
|
-
"type": {
|
|
18992
|
-
"text": "string"
|
|
18993
|
-
}
|
|
18994
|
-
},
|
|
18995
|
-
"parameters": [
|
|
18996
|
-
{
|
|
18997
|
-
"name": "color",
|
|
18998
|
-
"type": {
|
|
18999
|
-
"text": "Color"
|
|
19000
|
-
}
|
|
19001
|
-
}
|
|
19002
|
-
],
|
|
19003
|
-
"description": "The color as CSS, for the swatches and the tracks. Always with its alpha."
|
|
19004
|
-
}
|
|
19005
|
-
],
|
|
19006
|
-
"exports": [
|
|
19007
|
-
{
|
|
19008
|
-
"kind": "js",
|
|
19009
|
-
"name": "toRgb",
|
|
19010
|
-
"declaration": {
|
|
19011
|
-
"name": "toRgb",
|
|
19012
|
-
"module": "src/color-picker/color.ts"
|
|
19013
|
-
}
|
|
19014
|
-
},
|
|
19015
|
-
{
|
|
19016
|
-
"kind": "js",
|
|
19017
|
-
"name": "splitColors",
|
|
19018
|
-
"declaration": {
|
|
19019
|
-
"name": "splitColors",
|
|
19020
|
-
"module": "src/color-picker/color.ts"
|
|
19021
|
-
}
|
|
19022
|
-
},
|
|
19023
|
-
{
|
|
19024
|
-
"kind": "js",
|
|
19025
|
-
"name": "parseColor",
|
|
19026
|
-
"declaration": {
|
|
19027
|
-
"name": "parseColor",
|
|
19028
|
-
"module": "src/color-picker/color.ts"
|
|
19029
|
-
}
|
|
19030
|
-
},
|
|
19031
|
-
{
|
|
19032
|
-
"kind": "js",
|
|
19033
|
-
"name": "formatColor",
|
|
19034
|
-
"declaration": {
|
|
19035
|
-
"name": "formatColor",
|
|
19036
|
-
"module": "src/color-picker/color.ts"
|
|
19037
|
-
}
|
|
19038
|
-
},
|
|
19039
|
-
{
|
|
19040
|
-
"kind": "js",
|
|
19041
|
-
"name": "toCss",
|
|
19042
|
-
"declaration": {
|
|
19043
|
-
"name": "toCss",
|
|
19044
|
-
"module": "src/color-picker/color.ts"
|
|
19045
|
-
}
|
|
19046
|
-
}
|
|
19047
|
-
]
|
|
19048
|
-
},
|
|
19049
18899
|
{
|
|
19050
18900
|
"kind": "javascript-module",
|
|
19051
18901
|
"path": "src/color-picker/index.ts",
|
|
19052
18902
|
"declarations": [],
|
|
19053
18903
|
"exports": [
|
|
19054
|
-
{
|
|
19055
|
-
"kind": "js",
|
|
19056
|
-
"name": "*",
|
|
19057
|
-
"declaration": {
|
|
19058
|
-
"name": "*",
|
|
19059
|
-
"module": "src/color-picker/color.js"
|
|
19060
|
-
}
|
|
19061
|
-
},
|
|
19062
18904
|
{
|
|
19063
18905
|
"kind": "js",
|
|
19064
18906
|
"name": "*",
|
|
@@ -106746,210 +106588,6 @@
|
|
|
106746
106588
|
}
|
|
106747
106589
|
]
|
|
106748
106590
|
},
|
|
106749
|
-
{
|
|
106750
|
-
"kind": "javascript-module",
|
|
106751
|
-
"path": "src/video/root/captions.ts",
|
|
106752
|
-
"declarations": [
|
|
106753
|
-
{
|
|
106754
|
-
"kind": "function",
|
|
106755
|
-
"name": "captionTracks",
|
|
106756
|
-
"return": {
|
|
106757
|
-
"type": {
|
|
106758
|
-
"text": "TextTrack[]"
|
|
106759
|
-
}
|
|
106760
|
-
},
|
|
106761
|
-
"parameters": [
|
|
106762
|
-
{
|
|
106763
|
-
"name": "video",
|
|
106764
|
-
"type": {
|
|
106765
|
-
"text": "HTMLVideoElement | null"
|
|
106766
|
-
}
|
|
106767
|
-
}
|
|
106768
|
-
],
|
|
106769
|
-
"description": "The tracks a reader could choose between, in the order they were written.\n\nFiltered by kind, because `textTracks` also carries `chapters`, `metadata`\nand `descriptions`, and a menu offering \"Chapters\" as a subtitle language\nwould be offering something that draws no words. Read off the video rather\nthan off the slot: a `<track>` added later is in one and not the other, and\nthe video is the one that has resolved them."
|
|
106770
|
-
},
|
|
106771
|
-
{
|
|
106772
|
-
"kind": "function",
|
|
106773
|
-
"name": "showCaption",
|
|
106774
|
-
"return": {
|
|
106775
|
-
"type": {
|
|
106776
|
-
"text": "void"
|
|
106777
|
-
}
|
|
106778
|
-
},
|
|
106779
|
-
"parameters": [
|
|
106780
|
-
{
|
|
106781
|
-
"name": "tracks",
|
|
106782
|
-
"type": {
|
|
106783
|
-
"text": "readonly TextTrack[]"
|
|
106784
|
-
}
|
|
106785
|
-
},
|
|
106786
|
-
{
|
|
106787
|
-
"name": "index",
|
|
106788
|
-
"type": {
|
|
106789
|
-
"text": "number"
|
|
106790
|
-
}
|
|
106791
|
-
}
|
|
106792
|
-
],
|
|
106793
|
-
"description": "Shows one track and disables every other, or shows none at `-1`.\n\nEvery other, rather than only the one that was on. Two tracks in `hidden`\nboth fire `cuechange`, so the rendered cue becomes whichever fired last and\na reader who switched language gets the two interleaved. Measured as two\nsubtitles alternating line by line.\n\n`hidden`, never `showing`. Hidden is the mode where a track still fires\n`cuechange` and still fills `activeCues`, and the browser draws nothing,\nwhich is exactly what is wanted when something else is doing the drawing."
|
|
106794
|
-
},
|
|
106795
|
-
{
|
|
106796
|
-
"kind": "function",
|
|
106797
|
-
"name": "adoptTrack",
|
|
106798
|
-
"return": {
|
|
106799
|
-
"type": {
|
|
106800
|
-
"text": "boolean"
|
|
106801
|
-
}
|
|
106802
|
-
},
|
|
106803
|
-
"parameters": [
|
|
106804
|
-
{
|
|
106805
|
-
"name": "track",
|
|
106806
|
-
"type": {
|
|
106807
|
-
"text": "TextTrack"
|
|
106808
|
-
}
|
|
106809
|
-
}
|
|
106810
|
-
],
|
|
106811
|
-
"description": "Whether a track the platform started showing is now ours to draw.\n\nA `<track default>` arrives `showing`, which is the browser drawing it.\nMoved to `hidden` so the cues keep coming and we draw them instead. What\ncomes back is whether captions are on, which is not always \"off\": a button\nthat began there reported the opposite of what was on screen."
|
|
106812
|
-
},
|
|
106813
|
-
{
|
|
106814
|
-
"kind": "function",
|
|
106815
|
-
"name": "captionsAmong",
|
|
106816
|
-
"return": {
|
|
106817
|
-
"type": {
|
|
106818
|
-
"text": "Caption[]"
|
|
106819
|
-
}
|
|
106820
|
-
},
|
|
106821
|
-
"parameters": [
|
|
106822
|
-
{
|
|
106823
|
-
"name": "media",
|
|
106824
|
-
"type": {
|
|
106825
|
-
"text": "readonly TrackCopy[]"
|
|
106826
|
-
}
|
|
106827
|
-
}
|
|
106828
|
-
],
|
|
106829
|
-
"description": "The caption tracks among the copies, before the render that draws them.\n\nBy the platform's own reading of `kind`, which is what makes a `<track>` a\ncaption at all: missing is `subtitles` and anything it does not know is\n`metadata`. Read from the video's tracks after the render instead, the count\narrived a render late and asked for one more. Choosing one still goes\nthrough the video's tracks, which hold them in the same order."
|
|
106830
|
-
},
|
|
106831
|
-
{
|
|
106832
|
-
"kind": "function",
|
|
106833
|
-
"name": "activeCue",
|
|
106834
|
-
"return": {
|
|
106835
|
-
"type": {
|
|
106836
|
-
"text": "DocumentFragment | undefined"
|
|
106837
|
-
}
|
|
106838
|
-
},
|
|
106839
|
-
"parameters": [
|
|
106840
|
-
{
|
|
106841
|
-
"name": "track",
|
|
106842
|
-
"type": {
|
|
106843
|
-
"text": "TextTrack | undefined"
|
|
106844
|
-
}
|
|
106845
|
-
}
|
|
106846
|
-
],
|
|
106847
|
-
"description": "The cue on screen now, as nodes, or nothing between cues.\n\nNodes rather than a string, because `VTTCue.text` is the cue's *source*:\nWebVTT carries markup, and a caption file in the wild is full of it. `<v\nHildy>` names who is speaking, `<b>` and `<i>` and `<u>` mark emphasis, and\n`<c.loud>` classes a line. Rendered as text every one of those arrives on\nscreen as visible angle brackets.\n\n`getCueAsHTML` is the platform parsing its own format, so nothing here has\nto know the grammar and no cue text is ever treated as HTML: what comes\nback is a fragment the browser built, not a string anybody interpolated."
|
|
106848
|
-
},
|
|
106849
|
-
{
|
|
106850
|
-
"kind": "class",
|
|
106851
|
-
"description": "Listens to one track's cues at a time, so the next one can take it off.\n\nTaken off whatever it was on before adding it here. `follow` runs from\n`loadedmetadata`, which fires again for every source a reader moves to, and\na consumer adding a `<track>` later gets another. Added without removing, a\nplaylist of six left six listeners on tracks that between them fire for\nevery cue in the video.",
|
|
106852
|
-
"name": "CueController",
|
|
106853
|
-
"members": [
|
|
106854
|
-
{
|
|
106855
|
-
"kind": "field",
|
|
106856
|
-
"name": "track",
|
|
106857
|
-
"type": {
|
|
106858
|
-
"text": "TextTrack | undefined"
|
|
106859
|
-
},
|
|
106860
|
-
"privacy": "private"
|
|
106861
|
-
},
|
|
106862
|
-
{
|
|
106863
|
-
"kind": "method",
|
|
106864
|
-
"name": "follow",
|
|
106865
|
-
"return": {
|
|
106866
|
-
"type": {
|
|
106867
|
-
"text": "void"
|
|
106868
|
-
}
|
|
106869
|
-
},
|
|
106870
|
-
"parameters": [
|
|
106871
|
-
{
|
|
106872
|
-
"name": "track",
|
|
106873
|
-
"type": {
|
|
106874
|
-
"text": "TextTrack"
|
|
106875
|
-
}
|
|
106876
|
-
}
|
|
106877
|
-
]
|
|
106878
|
-
},
|
|
106879
|
-
{
|
|
106880
|
-
"kind": "method",
|
|
106881
|
-
"name": "hostDisconnected",
|
|
106882
|
-
"return": {
|
|
106883
|
-
"type": {
|
|
106884
|
-
"text": "void"
|
|
106885
|
-
}
|
|
106886
|
-
}
|
|
106887
|
-
},
|
|
106888
|
-
{
|
|
106889
|
-
"kind": "method",
|
|
106890
|
-
"name": "stop",
|
|
106891
|
-
"privacy": "private",
|
|
106892
|
-
"return": {
|
|
106893
|
-
"type": {
|
|
106894
|
-
"text": "void"
|
|
106895
|
-
}
|
|
106896
|
-
}
|
|
106897
|
-
}
|
|
106898
|
-
],
|
|
106899
|
-
"helix": {}
|
|
106900
|
-
}
|
|
106901
|
-
],
|
|
106902
|
-
"exports": [
|
|
106903
|
-
{
|
|
106904
|
-
"kind": "js",
|
|
106905
|
-
"name": "captionTracks",
|
|
106906
|
-
"declaration": {
|
|
106907
|
-
"name": "captionTracks",
|
|
106908
|
-
"module": "src/video/root/captions.ts"
|
|
106909
|
-
}
|
|
106910
|
-
},
|
|
106911
|
-
{
|
|
106912
|
-
"kind": "js",
|
|
106913
|
-
"name": "showCaption",
|
|
106914
|
-
"declaration": {
|
|
106915
|
-
"name": "showCaption",
|
|
106916
|
-
"module": "src/video/root/captions.ts"
|
|
106917
|
-
}
|
|
106918
|
-
},
|
|
106919
|
-
{
|
|
106920
|
-
"kind": "js",
|
|
106921
|
-
"name": "adoptTrack",
|
|
106922
|
-
"declaration": {
|
|
106923
|
-
"name": "adoptTrack",
|
|
106924
|
-
"module": "src/video/root/captions.ts"
|
|
106925
|
-
}
|
|
106926
|
-
},
|
|
106927
|
-
{
|
|
106928
|
-
"kind": "js",
|
|
106929
|
-
"name": "captionsAmong",
|
|
106930
|
-
"declaration": {
|
|
106931
|
-
"name": "captionsAmong",
|
|
106932
|
-
"module": "src/video/root/captions.ts"
|
|
106933
|
-
}
|
|
106934
|
-
},
|
|
106935
|
-
{
|
|
106936
|
-
"kind": "js",
|
|
106937
|
-
"name": "activeCue",
|
|
106938
|
-
"declaration": {
|
|
106939
|
-
"name": "activeCue",
|
|
106940
|
-
"module": "src/video/root/captions.ts"
|
|
106941
|
-
}
|
|
106942
|
-
},
|
|
106943
|
-
{
|
|
106944
|
-
"kind": "js",
|
|
106945
|
-
"name": "CueController",
|
|
106946
|
-
"declaration": {
|
|
106947
|
-
"name": "CueController",
|
|
106948
|
-
"module": "src/video/root/captions.ts"
|
|
106949
|
-
}
|
|
106950
|
-
}
|
|
106951
|
-
]
|
|
106952
|
-
},
|
|
106953
106591
|
{
|
|
106954
106592
|
"kind": "javascript-module",
|
|
106955
106593
|
"path": "src/video/root/extra-controls.ts",
|
|
@@ -107086,117 +106724,6 @@
|
|
|
107086
106724
|
}
|
|
107087
106725
|
]
|
|
107088
106726
|
},
|
|
107089
|
-
{
|
|
107090
|
-
"kind": "javascript-module",
|
|
107091
|
-
"path": "src/video/root/fullscreen.ts",
|
|
107092
|
-
"declarations": [
|
|
107093
|
-
{
|
|
107094
|
-
"kind": "class",
|
|
107095
|
-
"description": "Into fullscreen and back, and honest about where the element is.\n\nThe state follows `fullscreenchange` rather than the request, so a refused\nrequest leaves a button that correctly reports \"not fullscreen\".",
|
|
107096
|
-
"name": "FullscreenController",
|
|
107097
|
-
"members": [
|
|
107098
|
-
{
|
|
107099
|
-
"kind": "method",
|
|
107100
|
-
"name": "toggle",
|
|
107101
|
-
"return": {
|
|
107102
|
-
"type": {
|
|
107103
|
-
"text": "Promise<void>"
|
|
107104
|
-
}
|
|
107105
|
-
},
|
|
107106
|
-
"description": "Into fullscreen and back, and quiet about being refused.\n\n`requestFullscreen` rejects rather than returning false, and the two\nrefusals a consumer will actually meet are a Permissions Policy that does\nnot grant `fullscreen` to the frame the player is in, and a call without\nuser activation. Both are `TypeError: Permissions check failed`, which is\nthe same message for two different causes.\n\nCaught rather than `void`ed, or a refusal becomes an unhandled rejection\nnaming neither the element nor the reason."
|
|
107107
|
-
},
|
|
107108
|
-
{
|
|
107109
|
-
"kind": "method",
|
|
107110
|
-
"name": "hostConnected",
|
|
107111
|
-
"return": {
|
|
107112
|
-
"type": {
|
|
107113
|
-
"text": "void"
|
|
107114
|
-
}
|
|
107115
|
-
}
|
|
107116
|
-
},
|
|
107117
|
-
{
|
|
107118
|
-
"kind": "method",
|
|
107119
|
-
"name": "hostDisconnected",
|
|
107120
|
-
"return": {
|
|
107121
|
-
"type": {
|
|
107122
|
-
"text": "void"
|
|
107123
|
-
}
|
|
107124
|
-
}
|
|
107125
|
-
},
|
|
107126
|
-
{
|
|
107127
|
-
"kind": "field",
|
|
107128
|
-
"name": "handleChange",
|
|
107129
|
-
"privacy": "private",
|
|
107130
|
-
"readonly": true
|
|
107131
|
-
}
|
|
107132
|
-
],
|
|
107133
|
-
"helix": {}
|
|
107134
|
-
}
|
|
107135
|
-
],
|
|
107136
|
-
"exports": [
|
|
107137
|
-
{
|
|
107138
|
-
"kind": "js",
|
|
107139
|
-
"name": "FullscreenController",
|
|
107140
|
-
"declaration": {
|
|
107141
|
-
"name": "FullscreenController",
|
|
107142
|
-
"module": "src/video/root/fullscreen.ts"
|
|
107143
|
-
}
|
|
107144
|
-
}
|
|
107145
|
-
]
|
|
107146
|
-
},
|
|
107147
|
-
{
|
|
107148
|
-
"kind": "javascript-module",
|
|
107149
|
-
"path": "src/video/root/idle.ts",
|
|
107150
|
-
"declarations": [
|
|
107151
|
-
{
|
|
107152
|
-
"kind": "class",
|
|
107153
|
-
"description": "How long the reader has been still, which decides when the bar goes.\n\nA wait rather than leaving with the pointer, or a reader moving across the\npicture to reach a control watches the bar vanish under them. The wait is\nonly ever about *idling*: whether a paused video keeps its bar is the\nelement's decision, and this only says when the reader stopped.\n\nThe delay is asked for on every restart rather than taken once, because it\nis a property the consumer can change while the video plays.",
|
|
107154
|
-
"name": "IdleController",
|
|
107155
|
-
"members": [
|
|
107156
|
-
{
|
|
107157
|
-
"kind": "field",
|
|
107158
|
-
"name": "timer",
|
|
107159
|
-
"type": {
|
|
107160
|
-
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
107161
|
-
},
|
|
107162
|
-
"privacy": "private"
|
|
107163
|
-
},
|
|
107164
|
-
{
|
|
107165
|
-
"kind": "field",
|
|
107166
|
-
"name": "stir",
|
|
107167
|
-
"readonly": true,
|
|
107168
|
-
"description": "Restarts the wait, on anything that counts as the reader being here.\n\nPointer movement and focus both count, and both have to: a reader using the\nkeyboard never moves a pointer, and a bar that only answered the mouse\nwould leave them nothing to look at. Zero turns the wait off and the bar\ngoes immediately; a large number keeps it up for as long as anyone is\nlikely to look."
|
|
107169
|
-
},
|
|
107170
|
-
{
|
|
107171
|
-
"kind": "field",
|
|
107172
|
-
"name": "leave",
|
|
107173
|
-
"readonly": true,
|
|
107174
|
-
"description": "Leaving is the one case that does not wait: the reader has gone somewhere\nelse, and there is nothing to reach for."
|
|
107175
|
-
},
|
|
107176
|
-
{
|
|
107177
|
-
"kind": "method",
|
|
107178
|
-
"name": "hostDisconnected",
|
|
107179
|
-
"return": {
|
|
107180
|
-
"type": {
|
|
107181
|
-
"text": "void"
|
|
107182
|
-
}
|
|
107183
|
-
}
|
|
107184
|
-
}
|
|
107185
|
-
],
|
|
107186
|
-
"helix": {}
|
|
107187
|
-
}
|
|
107188
|
-
],
|
|
107189
|
-
"exports": [
|
|
107190
|
-
{
|
|
107191
|
-
"kind": "js",
|
|
107192
|
-
"name": "IdleController",
|
|
107193
|
-
"declaration": {
|
|
107194
|
-
"name": "IdleController",
|
|
107195
|
-
"module": "src/video/root/idle.ts"
|
|
107196
|
-
}
|
|
107197
|
-
}
|
|
107198
|
-
]
|
|
107199
|
-
},
|
|
107200
106727
|
{
|
|
107201
106728
|
"kind": "javascript-module",
|
|
107202
106729
|
"path": "src/video/root/keys.ts",
|
|
@@ -107243,249 +106770,6 @@
|
|
|
107243
106770
|
}
|
|
107244
106771
|
]
|
|
107245
106772
|
},
|
|
107246
|
-
{
|
|
107247
|
-
"kind": "javascript-module",
|
|
107248
|
-
"path": "src/video/root/media-copy.ts",
|
|
107249
|
-
"declarations": [
|
|
107250
|
-
{
|
|
107251
|
-
"kind": "function",
|
|
107252
|
-
"name": "copiesOf",
|
|
107253
|
-
"return": {
|
|
107254
|
-
"type": {
|
|
107255
|
-
"text": "MediaCopy[]"
|
|
107256
|
-
}
|
|
107257
|
-
},
|
|
107258
|
-
"parameters": [
|
|
107259
|
-
{
|
|
107260
|
-
"name": "elements",
|
|
107261
|
-
"type": {
|
|
107262
|
-
"text": "readonly Element[]"
|
|
107263
|
-
}
|
|
107264
|
-
}
|
|
107265
|
-
],
|
|
107266
|
-
"description": "The copies to make of what the default slot is given."
|
|
107267
|
-
},
|
|
107268
|
-
{
|
|
107269
|
-
"kind": "function",
|
|
107270
|
-
"name": "sameCopies",
|
|
107271
|
-
"return": {
|
|
107272
|
-
"type": {
|
|
107273
|
-
"text": "boolean"
|
|
107274
|
-
}
|
|
107275
|
-
},
|
|
107276
|
-
"parameters": [
|
|
107277
|
-
{
|
|
107278
|
-
"name": "one",
|
|
107279
|
-
"type": {
|
|
107280
|
-
"text": "readonly MediaCopy[]"
|
|
107281
|
-
}
|
|
107282
|
-
},
|
|
107283
|
-
{
|
|
107284
|
-
"name": "two",
|
|
107285
|
-
"type": {
|
|
107286
|
-
"text": "readonly MediaCopy[]"
|
|
107287
|
-
}
|
|
107288
|
-
}
|
|
107289
|
-
],
|
|
107290
|
-
"description": "Whether two reads describe the same media.\n\nThe same set again is not a change. A video reloads for every new list, and\nthe first `slotchange` reports the children the element has already read."
|
|
107291
|
-
}
|
|
107292
|
-
],
|
|
107293
|
-
"exports": [
|
|
107294
|
-
{
|
|
107295
|
-
"kind": "js",
|
|
107296
|
-
"name": "copiesOf",
|
|
107297
|
-
"declaration": {
|
|
107298
|
-
"name": "copiesOf",
|
|
107299
|
-
"module": "src/video/root/media-copy.ts"
|
|
107300
|
-
}
|
|
107301
|
-
},
|
|
107302
|
-
{
|
|
107303
|
-
"kind": "js",
|
|
107304
|
-
"name": "sameCopies",
|
|
107305
|
-
"declaration": {
|
|
107306
|
-
"name": "sameCopies",
|
|
107307
|
-
"module": "src/video/root/media-copy.ts"
|
|
107308
|
-
}
|
|
107309
|
-
}
|
|
107310
|
-
]
|
|
107311
|
-
},
|
|
107312
|
-
{
|
|
107313
|
-
"kind": "javascript-module",
|
|
107314
|
-
"path": "src/video/root/media-session.ts",
|
|
107315
|
-
"declarations": [
|
|
107316
|
-
{
|
|
107317
|
-
"kind": "variable",
|
|
107318
|
-
"name": "SKIP_SECONDS",
|
|
107319
|
-
"type": {
|
|
107320
|
-
"text": "number"
|
|
107321
|
-
},
|
|
107322
|
-
"default": "10",
|
|
107323
|
-
"description": "How far a skip control moves, in seconds.\n\nTen, which is the number every player that has one uses, and the number the\nplatform names in `seekbackward` and `seekforward` when it hands over a\ndefault. A different length here would be correct only on this player."
|
|
107324
|
-
},
|
|
107325
|
-
{
|
|
107326
|
-
"kind": "class",
|
|
107327
|
-
"description": "Holds the page's media session for one player, and tells the platform what\nis playing.\n\nThe handlers are what make a headset's play, pause and skip work at all.\nWithout them a platform falls back to guessing which element was meant,\nwhich is right often enough to hide the fault and wrong exactly when there\nare two.",
|
|
107328
|
-
"name": "MediaSessionController",
|
|
107329
|
-
"members": [
|
|
107330
|
-
{
|
|
107331
|
-
"kind": "method",
|
|
107332
|
-
"name": "claim",
|
|
107333
|
-
"return": {
|
|
107334
|
-
"type": {
|
|
107335
|
-
"text": "void"
|
|
107336
|
-
}
|
|
107337
|
-
},
|
|
107338
|
-
"parameters": [
|
|
107339
|
-
{
|
|
107340
|
-
"name": "metadata",
|
|
107341
|
-
"type": {
|
|
107342
|
-
"text": "{ artwork: string; title: string }"
|
|
107343
|
-
}
|
|
107344
|
-
},
|
|
107345
|
-
{
|
|
107346
|
-
"name": "handlers",
|
|
107347
|
-
"type": {
|
|
107348
|
-
"text": "SessionHandlers"
|
|
107349
|
-
}
|
|
107350
|
-
}
|
|
107351
|
-
],
|
|
107352
|
-
"description": "Takes the session.\n\nOn play rather than on render, which is the ownership rule: a page with two\nplayers gives the session to whichever one the reader started, so a\nheadset's buttons land on what they are listening to rather than on\nwhichever came first in the markup."
|
|
107353
|
-
},
|
|
107354
|
-
{
|
|
107355
|
-
"kind": "method",
|
|
107356
|
-
"name": "report",
|
|
107357
|
-
"return": {
|
|
107358
|
-
"type": {
|
|
107359
|
-
"text": "void"
|
|
107360
|
-
}
|
|
107361
|
-
},
|
|
107362
|
-
"parameters": [
|
|
107363
|
-
{
|
|
107364
|
-
"name": "playing",
|
|
107365
|
-
"type": {
|
|
107366
|
-
"text": "boolean"
|
|
107367
|
-
}
|
|
107368
|
-
}
|
|
107369
|
-
],
|
|
107370
|
-
"description": "Tells the platform whether the owner is playing, and nothing if it is not the owner."
|
|
107371
|
-
},
|
|
107372
|
-
{
|
|
107373
|
-
"kind": "method",
|
|
107374
|
-
"name": "hostDisconnected",
|
|
107375
|
-
"return": {
|
|
107376
|
-
"type": {
|
|
107377
|
-
"text": "void"
|
|
107378
|
-
}
|
|
107379
|
-
},
|
|
107380
|
-
"description": "The page's one media session goes back to nobody, but only if this\nelement is the one holding it."
|
|
107381
|
-
}
|
|
107382
|
-
],
|
|
107383
|
-
"helix": {}
|
|
107384
|
-
}
|
|
107385
|
-
],
|
|
107386
|
-
"exports": [
|
|
107387
|
-
{
|
|
107388
|
-
"kind": "js",
|
|
107389
|
-
"name": "SKIP_SECONDS",
|
|
107390
|
-
"declaration": {
|
|
107391
|
-
"name": "SKIP_SECONDS",
|
|
107392
|
-
"module": "src/video/root/media-session.ts"
|
|
107393
|
-
}
|
|
107394
|
-
},
|
|
107395
|
-
{
|
|
107396
|
-
"kind": "js",
|
|
107397
|
-
"name": "MediaSessionController",
|
|
107398
|
-
"declaration": {
|
|
107399
|
-
"name": "MediaSessionController",
|
|
107400
|
-
"module": "src/video/root/media-session.ts"
|
|
107401
|
-
}
|
|
107402
|
-
}
|
|
107403
|
-
]
|
|
107404
|
-
},
|
|
107405
|
-
{
|
|
107406
|
-
"kind": "javascript-module",
|
|
107407
|
-
"path": "src/video/root/remote-playback.ts",
|
|
107408
|
-
"declarations": [
|
|
107409
|
-
{
|
|
107410
|
-
"kind": "class",
|
|
107411
|
-
"description": "Watches for something to play the video on, and stops on the way out.\n\nThe Remote Playback API is the standard one, and it is what Safari\nimplements for AirPlay and Chrome for Cast: one call covers both, where the\nolder `webkitShowPlaybackTargetPicker` covers only the first. Firefox has\nneither, and `remote` simply being absent is what turns the control off\nthere.\n\n`watchAvailability` returns an id that has to be canceled, or the callback\noutlives the element that owns it: a callback holding a removed element is a\nleak with a `@state` write on the end.",
|
|
107412
|
-
"name": "RemotePlaybackController",
|
|
107413
|
-
"members": [
|
|
107414
|
-
{
|
|
107415
|
-
"kind": "field",
|
|
107416
|
-
"name": "video",
|
|
107417
|
-
"type": {
|
|
107418
|
-
"text": "HTMLVideoElement | undefined"
|
|
107419
|
-
},
|
|
107420
|
-
"privacy": "private"
|
|
107421
|
-
},
|
|
107422
|
-
{
|
|
107423
|
-
"kind": "field",
|
|
107424
|
-
"name": "watch",
|
|
107425
|
-
"type": {
|
|
107426
|
-
"text": "number | undefined"
|
|
107427
|
-
},
|
|
107428
|
-
"privacy": "private",
|
|
107429
|
-
"description": "Cancels the availability watch, since it outlives a single render."
|
|
107430
|
-
},
|
|
107431
|
-
{
|
|
107432
|
-
"kind": "method",
|
|
107433
|
-
"name": "attach",
|
|
107434
|
-
"return": {
|
|
107435
|
-
"type": {
|
|
107436
|
-
"text": "Promise<void>"
|
|
107437
|
-
}
|
|
107438
|
-
},
|
|
107439
|
-
"parameters": [
|
|
107440
|
-
{
|
|
107441
|
-
"name": "video",
|
|
107442
|
-
"type": {
|
|
107443
|
-
"text": "HTMLVideoElement"
|
|
107444
|
-
}
|
|
107445
|
-
}
|
|
107446
|
-
],
|
|
107447
|
-
"description": "Starts watching the video, once there is one."
|
|
107448
|
-
},
|
|
107449
|
-
{
|
|
107450
|
-
"kind": "method",
|
|
107451
|
-
"name": "prompt",
|
|
107452
|
-
"return": {
|
|
107453
|
-
"type": {
|
|
107454
|
-
"text": "Promise<void>"
|
|
107455
|
-
}
|
|
107456
|
-
},
|
|
107457
|
-
"description": "Opens the platform's own device picker. It has no list of its own."
|
|
107458
|
-
},
|
|
107459
|
-
{
|
|
107460
|
-
"kind": "method",
|
|
107461
|
-
"name": "hostDisconnected",
|
|
107462
|
-
"return": {
|
|
107463
|
-
"type": {
|
|
107464
|
-
"text": "void"
|
|
107465
|
-
}
|
|
107466
|
-
}
|
|
107467
|
-
},
|
|
107468
|
-
{
|
|
107469
|
-
"kind": "field",
|
|
107470
|
-
"name": "handleState",
|
|
107471
|
-
"privacy": "private",
|
|
107472
|
-
"readonly": true
|
|
107473
|
-
}
|
|
107474
|
-
],
|
|
107475
|
-
"helix": {}
|
|
107476
|
-
}
|
|
107477
|
-
],
|
|
107478
|
-
"exports": [
|
|
107479
|
-
{
|
|
107480
|
-
"kind": "js",
|
|
107481
|
-
"name": "RemotePlaybackController",
|
|
107482
|
-
"declaration": {
|
|
107483
|
-
"name": "RemotePlaybackController",
|
|
107484
|
-
"module": "src/video/root/remote-playback.ts"
|
|
107485
|
-
}
|
|
107486
|
-
}
|
|
107487
|
-
]
|
|
107488
|
-
},
|
|
107489
106773
|
{
|
|
107490
106774
|
"kind": "javascript-module",
|
|
107491
106775
|
"path": "src/video/root/video-root.ts",
|