@penwin/discord-components-core 4.1.3 → 4.1.4
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 +920 -920
- package/dist/bundle/index.mjs +9 -3
- package/dist/bundle/index.mjs.map +1 -1
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts.map +1 -1
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +3 -0
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js.map +1 -1
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +1 -1
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
- package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
- package/dist/components/discord-message/DiscordMessage.js +5 -0
- package/dist/components/discord-message/DiscordMessage.js.map +1 -1
- package/dist/components/discord-transcript-header/DiscordTranscriptHeader.d.ts.map +1 -1
- package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +1 -0
- package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js.map +1 -1
- package/dist/util.js +1 -1
- package/dist/util.js.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -974,72 +974,72 @@
|
|
|
974
974
|
},
|
|
975
975
|
{
|
|
976
976
|
"kind": "javascript-module",
|
|
977
|
-
"path": "src/components/discord-
|
|
977
|
+
"path": "src/components/discord-action-row/DiscordActionRow.ts",
|
|
978
978
|
"declarations": [
|
|
979
979
|
{
|
|
980
980
|
"kind": "class",
|
|
981
981
|
"description": "",
|
|
982
|
-
"name": "
|
|
982
|
+
"name": "DiscordActionRow",
|
|
983
983
|
"members": [],
|
|
984
984
|
"superclass": {
|
|
985
985
|
"name": "LitElement",
|
|
986
986
|
"package": "lit"
|
|
987
987
|
},
|
|
988
|
-
"tagName": "discord-
|
|
988
|
+
"tagName": "discord-action-row",
|
|
989
989
|
"customElement": true
|
|
990
990
|
}
|
|
991
991
|
],
|
|
992
992
|
"exports": [
|
|
993
993
|
{
|
|
994
994
|
"kind": "js",
|
|
995
|
-
"name": "
|
|
995
|
+
"name": "DiscordActionRow",
|
|
996
996
|
"declaration": {
|
|
997
|
-
"name": "
|
|
998
|
-
"module": "src/components/discord-
|
|
997
|
+
"name": "DiscordActionRow",
|
|
998
|
+
"module": "src/components/discord-action-row/DiscordActionRow.ts"
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
1002
1002
|
"kind": "custom-element-definition",
|
|
1003
|
-
"name": "discord-
|
|
1003
|
+
"name": "discord-action-row",
|
|
1004
1004
|
"declaration": {
|
|
1005
|
-
"name": "
|
|
1006
|
-
"module": "src/components/discord-
|
|
1005
|
+
"name": "DiscordActionRow",
|
|
1006
|
+
"module": "src/components/discord-action-row/DiscordActionRow.ts"
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
]
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
"kind": "javascript-module",
|
|
1013
|
-
"path": "src/components/discord-
|
|
1013
|
+
"path": "src/components/discord-attachments/DiscordAttachments.ts",
|
|
1014
1014
|
"declarations": [
|
|
1015
1015
|
{
|
|
1016
1016
|
"kind": "class",
|
|
1017
1017
|
"description": "",
|
|
1018
|
-
"name": "
|
|
1018
|
+
"name": "DiscordAttachments",
|
|
1019
1019
|
"members": [],
|
|
1020
1020
|
"superclass": {
|
|
1021
1021
|
"name": "LitElement",
|
|
1022
1022
|
"package": "lit"
|
|
1023
1023
|
},
|
|
1024
|
-
"tagName": "discord-
|
|
1024
|
+
"tagName": "discord-attachments",
|
|
1025
1025
|
"customElement": true
|
|
1026
1026
|
}
|
|
1027
1027
|
],
|
|
1028
1028
|
"exports": [
|
|
1029
1029
|
{
|
|
1030
1030
|
"kind": "js",
|
|
1031
|
-
"name": "
|
|
1031
|
+
"name": "DiscordAttachments",
|
|
1032
1032
|
"declaration": {
|
|
1033
|
-
"name": "
|
|
1034
|
-
"module": "src/components/discord-
|
|
1033
|
+
"name": "DiscordAttachments",
|
|
1034
|
+
"module": "src/components/discord-attachments/DiscordAttachments.ts"
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
1037
|
{
|
|
1038
1038
|
"kind": "custom-element-definition",
|
|
1039
|
-
"name": "discord-
|
|
1039
|
+
"name": "discord-attachments",
|
|
1040
1040
|
"declaration": {
|
|
1041
|
-
"name": "
|
|
1042
|
-
"module": "src/components/discord-
|
|
1041
|
+
"name": "DiscordAttachments",
|
|
1042
|
+
"module": "src/components/discord-attachments/DiscordAttachments.ts"
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
]
|
|
@@ -8824,6 +8824,135 @@
|
|
|
8824
8824
|
}
|
|
8825
8825
|
]
|
|
8826
8826
|
},
|
|
8827
|
+
{
|
|
8828
|
+
"kind": "javascript-module",
|
|
8829
|
+
"path": "src/components/discord-tenor-video/DiscordTenorVideo.ts",
|
|
8830
|
+
"declarations": [
|
|
8831
|
+
{
|
|
8832
|
+
"kind": "class",
|
|
8833
|
+
"description": "",
|
|
8834
|
+
"name": "DiscordTenorVideo",
|
|
8835
|
+
"members": [
|
|
8836
|
+
{
|
|
8837
|
+
"kind": "field",
|
|
8838
|
+
"name": "url",
|
|
8839
|
+
"type": {
|
|
8840
|
+
"text": "string"
|
|
8841
|
+
},
|
|
8842
|
+
"privacy": "public",
|
|
8843
|
+
"description": "The URL for the video",
|
|
8844
|
+
"attribute": "url"
|
|
8845
|
+
},
|
|
8846
|
+
{
|
|
8847
|
+
"kind": "field",
|
|
8848
|
+
"name": "height",
|
|
8849
|
+
"type": {
|
|
8850
|
+
"text": "number"
|
|
8851
|
+
},
|
|
8852
|
+
"privacy": "public",
|
|
8853
|
+
"description": "The height of the video in pixels",
|
|
8854
|
+
"attribute": "height"
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
"kind": "field",
|
|
8858
|
+
"name": "width",
|
|
8859
|
+
"type": {
|
|
8860
|
+
"text": "number"
|
|
8861
|
+
},
|
|
8862
|
+
"privacy": "public",
|
|
8863
|
+
"description": "The width of the video in pixels",
|
|
8864
|
+
"attribute": "width"
|
|
8865
|
+
}
|
|
8866
|
+
],
|
|
8867
|
+
"attributes": [
|
|
8868
|
+
{
|
|
8869
|
+
"name": "url",
|
|
8870
|
+
"type": {
|
|
8871
|
+
"text": "string"
|
|
8872
|
+
},
|
|
8873
|
+
"description": "The URL for the video",
|
|
8874
|
+
"fieldName": "url"
|
|
8875
|
+
},
|
|
8876
|
+
{
|
|
8877
|
+
"name": "height",
|
|
8878
|
+
"type": {
|
|
8879
|
+
"text": "number"
|
|
8880
|
+
},
|
|
8881
|
+
"description": "The height of the video in pixels",
|
|
8882
|
+
"fieldName": "height"
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"name": "width",
|
|
8886
|
+
"type": {
|
|
8887
|
+
"text": "number"
|
|
8888
|
+
},
|
|
8889
|
+
"description": "The width of the video in pixels",
|
|
8890
|
+
"fieldName": "width"
|
|
8891
|
+
}
|
|
8892
|
+
],
|
|
8893
|
+
"superclass": {
|
|
8894
|
+
"name": "LitElement",
|
|
8895
|
+
"package": "lit"
|
|
8896
|
+
},
|
|
8897
|
+
"tagName": "discord-tenor-video",
|
|
8898
|
+
"customElement": true
|
|
8899
|
+
}
|
|
8900
|
+
],
|
|
8901
|
+
"exports": [
|
|
8902
|
+
{
|
|
8903
|
+
"kind": "js",
|
|
8904
|
+
"name": "DiscordTenorVideo",
|
|
8905
|
+
"declaration": {
|
|
8906
|
+
"name": "DiscordTenorVideo",
|
|
8907
|
+
"module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
|
|
8908
|
+
}
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
"kind": "custom-element-definition",
|
|
8912
|
+
"name": "discord-tenor-video",
|
|
8913
|
+
"declaration": {
|
|
8914
|
+
"name": "DiscordTenorVideo",
|
|
8915
|
+
"module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
|
|
8916
|
+
}
|
|
8917
|
+
}
|
|
8918
|
+
]
|
|
8919
|
+
},
|
|
8920
|
+
{
|
|
8921
|
+
"kind": "javascript-module",
|
|
8922
|
+
"path": "src/components/discord-text-display/DiscordTextDisplay.ts",
|
|
8923
|
+
"declarations": [
|
|
8924
|
+
{
|
|
8925
|
+
"kind": "class",
|
|
8926
|
+
"description": "",
|
|
8927
|
+
"name": "DiscordTextDisplay",
|
|
8928
|
+
"members": [],
|
|
8929
|
+
"superclass": {
|
|
8930
|
+
"name": "LitElement",
|
|
8931
|
+
"package": "lit"
|
|
8932
|
+
},
|
|
8933
|
+
"tagName": "discord-text-display",
|
|
8934
|
+
"customElement": true
|
|
8935
|
+
}
|
|
8936
|
+
],
|
|
8937
|
+
"exports": [
|
|
8938
|
+
{
|
|
8939
|
+
"kind": "js",
|
|
8940
|
+
"name": "DiscordTextDisplay",
|
|
8941
|
+
"declaration": {
|
|
8942
|
+
"name": "DiscordTextDisplay",
|
|
8943
|
+
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
8944
|
+
}
|
|
8945
|
+
},
|
|
8946
|
+
{
|
|
8947
|
+
"kind": "custom-element-definition",
|
|
8948
|
+
"name": "discord-text-display",
|
|
8949
|
+
"declaration": {
|
|
8950
|
+
"name": "DiscordTextDisplay",
|
|
8951
|
+
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
8952
|
+
}
|
|
8953
|
+
}
|
|
8954
|
+
]
|
|
8955
|
+
},
|
|
8827
8956
|
{
|
|
8828
8957
|
"kind": "javascript-module",
|
|
8829
8958
|
"path": "src/components/discord-system-message/DiscordSystemMessage.ts",
|
|
@@ -8970,205 +9099,76 @@
|
|
|
8970
9099
|
},
|
|
8971
9100
|
{
|
|
8972
9101
|
"kind": "javascript-module",
|
|
8973
|
-
"path": "src/components/discord-
|
|
9102
|
+
"path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
|
|
8974
9103
|
"declarations": [
|
|
8975
9104
|
{
|
|
8976
9105
|
"kind": "class",
|
|
8977
9106
|
"description": "",
|
|
8978
|
-
"name": "
|
|
9107
|
+
"name": "DiscordTextFileAttachmentPreviewer",
|
|
8979
9108
|
"members": [
|
|
8980
9109
|
{
|
|
8981
9110
|
"kind": "field",
|
|
8982
|
-
"name": "
|
|
9111
|
+
"name": "name",
|
|
8983
9112
|
"type": {
|
|
8984
9113
|
"text": "string"
|
|
8985
9114
|
},
|
|
8986
9115
|
"privacy": "public",
|
|
8987
|
-
"description": "The
|
|
8988
|
-
"attribute": "
|
|
9116
|
+
"description": "The name of the file",
|
|
9117
|
+
"attribute": "name"
|
|
8989
9118
|
},
|
|
8990
9119
|
{
|
|
8991
9120
|
"kind": "field",
|
|
8992
|
-
"name": "
|
|
9121
|
+
"name": "language",
|
|
8993
9122
|
"type": {
|
|
8994
|
-
"text": "
|
|
9123
|
+
"text": "string"
|
|
8995
9124
|
},
|
|
8996
9125
|
"privacy": "public",
|
|
8997
|
-
"
|
|
8998
|
-
"attribute": "height"
|
|
9126
|
+
"attribute": "language"
|
|
8999
9127
|
},
|
|
9000
9128
|
{
|
|
9001
9129
|
"kind": "field",
|
|
9002
|
-
"name": "
|
|
9130
|
+
"name": "content",
|
|
9131
|
+
"type": {
|
|
9132
|
+
"text": "string"
|
|
9133
|
+
},
|
|
9134
|
+
"privacy": "public",
|
|
9135
|
+
"attribute": "content"
|
|
9136
|
+
},
|
|
9137
|
+
{
|
|
9138
|
+
"kind": "field",
|
|
9139
|
+
"name": "bytes",
|
|
9003
9140
|
"type": {
|
|
9004
9141
|
"text": "number"
|
|
9005
9142
|
},
|
|
9006
9143
|
"privacy": "public",
|
|
9007
|
-
"description": "The
|
|
9008
|
-
"attribute": "
|
|
9009
|
-
}
|
|
9010
|
-
],
|
|
9011
|
-
"attributes": [
|
|
9144
|
+
"description": "The size of the file in bytes",
|
|
9145
|
+
"attribute": "bytes"
|
|
9146
|
+
},
|
|
9012
9147
|
{
|
|
9013
|
-
"
|
|
9148
|
+
"kind": "field",
|
|
9149
|
+
"name": "bytesUnit",
|
|
9014
9150
|
"type": {
|
|
9015
9151
|
"text": "string"
|
|
9016
9152
|
},
|
|
9017
|
-
"
|
|
9018
|
-
"
|
|
9153
|
+
"privacy": "public",
|
|
9154
|
+
"description": "The unit of the file in a human-readable format",
|
|
9155
|
+
"attribute": "bytes-unit"
|
|
9019
9156
|
},
|
|
9020
9157
|
{
|
|
9021
|
-
"
|
|
9158
|
+
"kind": "field",
|
|
9159
|
+
"name": "href",
|
|
9022
9160
|
"type": {
|
|
9023
|
-
"text": "
|
|
9161
|
+
"text": "string"
|
|
9024
9162
|
},
|
|
9025
|
-
"
|
|
9026
|
-
"
|
|
9163
|
+
"privacy": "public",
|
|
9164
|
+
"description": "The URL to the file, this is passed to `<discord-link>`",
|
|
9165
|
+
"attribute": "href"
|
|
9027
9166
|
},
|
|
9028
9167
|
{
|
|
9029
|
-
"
|
|
9168
|
+
"kind": "field",
|
|
9169
|
+
"name": "lightTheme",
|
|
9030
9170
|
"type": {
|
|
9031
|
-
"text": "
|
|
9032
|
-
},
|
|
9033
|
-
"description": "The width of the video in pixels",
|
|
9034
|
-
"fieldName": "width"
|
|
9035
|
-
}
|
|
9036
|
-
],
|
|
9037
|
-
"superclass": {
|
|
9038
|
-
"name": "LitElement",
|
|
9039
|
-
"package": "lit"
|
|
9040
|
-
},
|
|
9041
|
-
"tagName": "discord-tenor-video",
|
|
9042
|
-
"customElement": true
|
|
9043
|
-
}
|
|
9044
|
-
],
|
|
9045
|
-
"exports": [
|
|
9046
|
-
{
|
|
9047
|
-
"kind": "js",
|
|
9048
|
-
"name": "DiscordTenorVideo",
|
|
9049
|
-
"declaration": {
|
|
9050
|
-
"name": "DiscordTenorVideo",
|
|
9051
|
-
"module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
|
|
9052
|
-
}
|
|
9053
|
-
},
|
|
9054
|
-
{
|
|
9055
|
-
"kind": "custom-element-definition",
|
|
9056
|
-
"name": "discord-tenor-video",
|
|
9057
|
-
"declaration": {
|
|
9058
|
-
"name": "DiscordTenorVideo",
|
|
9059
|
-
"module": "src/components/discord-tenor-video/DiscordTenorVideo.ts"
|
|
9060
|
-
}
|
|
9061
|
-
}
|
|
9062
|
-
]
|
|
9063
|
-
},
|
|
9064
|
-
{
|
|
9065
|
-
"kind": "javascript-module",
|
|
9066
|
-
"path": "src/components/discord-text-display/DiscordTextDisplay.ts",
|
|
9067
|
-
"declarations": [
|
|
9068
|
-
{
|
|
9069
|
-
"kind": "class",
|
|
9070
|
-
"description": "",
|
|
9071
|
-
"name": "DiscordTextDisplay",
|
|
9072
|
-
"members": [],
|
|
9073
|
-
"superclass": {
|
|
9074
|
-
"name": "LitElement",
|
|
9075
|
-
"package": "lit"
|
|
9076
|
-
},
|
|
9077
|
-
"tagName": "discord-text-display",
|
|
9078
|
-
"customElement": true
|
|
9079
|
-
}
|
|
9080
|
-
],
|
|
9081
|
-
"exports": [
|
|
9082
|
-
{
|
|
9083
|
-
"kind": "js",
|
|
9084
|
-
"name": "DiscordTextDisplay",
|
|
9085
|
-
"declaration": {
|
|
9086
|
-
"name": "DiscordTextDisplay",
|
|
9087
|
-
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9088
|
-
}
|
|
9089
|
-
},
|
|
9090
|
-
{
|
|
9091
|
-
"kind": "custom-element-definition",
|
|
9092
|
-
"name": "discord-text-display",
|
|
9093
|
-
"declaration": {
|
|
9094
|
-
"name": "DiscordTextDisplay",
|
|
9095
|
-
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9096
|
-
}
|
|
9097
|
-
}
|
|
9098
|
-
]
|
|
9099
|
-
},
|
|
9100
|
-
{
|
|
9101
|
-
"kind": "javascript-module",
|
|
9102
|
-
"path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
|
|
9103
|
-
"declarations": [
|
|
9104
|
-
{
|
|
9105
|
-
"kind": "class",
|
|
9106
|
-
"description": "",
|
|
9107
|
-
"name": "DiscordTextFileAttachmentPreviewer",
|
|
9108
|
-
"members": [
|
|
9109
|
-
{
|
|
9110
|
-
"kind": "field",
|
|
9111
|
-
"name": "name",
|
|
9112
|
-
"type": {
|
|
9113
|
-
"text": "string"
|
|
9114
|
-
},
|
|
9115
|
-
"privacy": "public",
|
|
9116
|
-
"description": "The name of the file",
|
|
9117
|
-
"attribute": "name"
|
|
9118
|
-
},
|
|
9119
|
-
{
|
|
9120
|
-
"kind": "field",
|
|
9121
|
-
"name": "language",
|
|
9122
|
-
"type": {
|
|
9123
|
-
"text": "string"
|
|
9124
|
-
},
|
|
9125
|
-
"privacy": "public",
|
|
9126
|
-
"attribute": "language"
|
|
9127
|
-
},
|
|
9128
|
-
{
|
|
9129
|
-
"kind": "field",
|
|
9130
|
-
"name": "content",
|
|
9131
|
-
"type": {
|
|
9132
|
-
"text": "string"
|
|
9133
|
-
},
|
|
9134
|
-
"privacy": "public",
|
|
9135
|
-
"attribute": "content"
|
|
9136
|
-
},
|
|
9137
|
-
{
|
|
9138
|
-
"kind": "field",
|
|
9139
|
-
"name": "bytes",
|
|
9140
|
-
"type": {
|
|
9141
|
-
"text": "number"
|
|
9142
|
-
},
|
|
9143
|
-
"privacy": "public",
|
|
9144
|
-
"description": "The size of the file in bytes",
|
|
9145
|
-
"attribute": "bytes"
|
|
9146
|
-
},
|
|
9147
|
-
{
|
|
9148
|
-
"kind": "field",
|
|
9149
|
-
"name": "bytesUnit",
|
|
9150
|
-
"type": {
|
|
9151
|
-
"text": "string"
|
|
9152
|
-
},
|
|
9153
|
-
"privacy": "public",
|
|
9154
|
-
"description": "The unit of the file in a human-readable format",
|
|
9155
|
-
"attribute": "bytes-unit"
|
|
9156
|
-
},
|
|
9157
|
-
{
|
|
9158
|
-
"kind": "field",
|
|
9159
|
-
"name": "href",
|
|
9160
|
-
"type": {
|
|
9161
|
-
"text": "string"
|
|
9162
|
-
},
|
|
9163
|
-
"privacy": "public",
|
|
9164
|
-
"description": "The URL to the file, this is passed to `<discord-link>`",
|
|
9165
|
-
"attribute": "href"
|
|
9166
|
-
},
|
|
9167
|
-
{
|
|
9168
|
-
"kind": "field",
|
|
9169
|
-
"name": "lightTheme",
|
|
9170
|
-
"type": {
|
|
9171
|
-
"text": "boolean"
|
|
9171
|
+
"text": "boolean"
|
|
9172
9172
|
},
|
|
9173
9173
|
"privacy": "public",
|
|
9174
9174
|
"default": "false",
|
|
@@ -9733,323 +9733,191 @@
|
|
|
9733
9733
|
},
|
|
9734
9734
|
{
|
|
9735
9735
|
"kind": "javascript-module",
|
|
9736
|
-
"path": "src/components/discord-
|
|
9736
|
+
"path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
|
|
9737
9737
|
"declarations": [
|
|
9738
9738
|
{
|
|
9739
9739
|
"kind": "class",
|
|
9740
9740
|
"description": "",
|
|
9741
|
-
"name": "
|
|
9741
|
+
"name": "DiscordTranscriptHeader",
|
|
9742
9742
|
"members": [
|
|
9743
9743
|
{
|
|
9744
9744
|
"kind": "field",
|
|
9745
|
-
"name": "
|
|
9745
|
+
"name": "guild",
|
|
9746
9746
|
"type": {
|
|
9747
9747
|
"text": "string"
|
|
9748
9748
|
},
|
|
9749
9749
|
"privacy": "public",
|
|
9750
|
-
"
|
|
9750
|
+
"description": "The guild name",
|
|
9751
|
+
"attribute": "guild",
|
|
9752
|
+
"reflects": true
|
|
9751
9753
|
},
|
|
9752
9754
|
{
|
|
9753
9755
|
"kind": "field",
|
|
9754
|
-
"name": "
|
|
9756
|
+
"name": "channel",
|
|
9755
9757
|
"type": {
|
|
9756
9758
|
"text": "string"
|
|
9757
9759
|
},
|
|
9758
9760
|
"privacy": "public",
|
|
9759
|
-
"
|
|
9761
|
+
"description": "The name of the channel",
|
|
9762
|
+
"attribute": "channel",
|
|
9763
|
+
"reflects": true
|
|
9760
9764
|
},
|
|
9761
9765
|
{
|
|
9762
9766
|
"kind": "field",
|
|
9763
|
-
"name": "
|
|
9767
|
+
"name": "icon",
|
|
9764
9768
|
"type": {
|
|
9765
|
-
"text": "
|
|
9769
|
+
"text": "string | undefined"
|
|
9766
9770
|
},
|
|
9767
9771
|
"privacy": "public",
|
|
9768
|
-
"
|
|
9769
|
-
"attribute": "
|
|
9772
|
+
"description": "The icon to display.",
|
|
9773
|
+
"attribute": "icon",
|
|
9770
9774
|
"reflects": true
|
|
9775
|
+
},
|
|
9776
|
+
{
|
|
9777
|
+
"kind": "method",
|
|
9778
|
+
"name": "getLettersName",
|
|
9779
|
+
"privacy": "public"
|
|
9771
9780
|
}
|
|
9772
9781
|
],
|
|
9773
9782
|
"attributes": [
|
|
9774
9783
|
{
|
|
9775
|
-
"name": "
|
|
9784
|
+
"name": "guild",
|
|
9776
9785
|
"type": {
|
|
9777
9786
|
"text": "string"
|
|
9778
9787
|
},
|
|
9779
|
-
"
|
|
9788
|
+
"description": "The guild name",
|
|
9789
|
+
"fieldName": "guild"
|
|
9780
9790
|
},
|
|
9781
9791
|
{
|
|
9782
|
-
"name": "
|
|
9792
|
+
"name": "channel",
|
|
9783
9793
|
"type": {
|
|
9784
9794
|
"text": "string"
|
|
9785
9795
|
},
|
|
9786
|
-
"
|
|
9796
|
+
"description": "The name of the channel",
|
|
9797
|
+
"fieldName": "channel"
|
|
9787
9798
|
},
|
|
9788
9799
|
{
|
|
9789
|
-
"name": "
|
|
9800
|
+
"name": "icon",
|
|
9790
9801
|
"type": {
|
|
9791
|
-
"text": "
|
|
9802
|
+
"text": "string | undefined"
|
|
9792
9803
|
},
|
|
9793
|
-
"
|
|
9794
|
-
"fieldName": "
|
|
9804
|
+
"description": "The icon to display.",
|
|
9805
|
+
"fieldName": "icon"
|
|
9795
9806
|
}
|
|
9796
9807
|
],
|
|
9797
9808
|
"superclass": {
|
|
9798
9809
|
"name": "LitElement",
|
|
9799
9810
|
"package": "lit"
|
|
9800
9811
|
},
|
|
9801
|
-
"tagName": "discord-
|
|
9812
|
+
"tagName": "discord-transcript-header",
|
|
9802
9813
|
"customElement": true
|
|
9803
9814
|
}
|
|
9804
9815
|
],
|
|
9805
9816
|
"exports": [
|
|
9806
9817
|
{
|
|
9807
9818
|
"kind": "js",
|
|
9808
|
-
"name": "
|
|
9819
|
+
"name": "DiscordTranscriptHeader",
|
|
9809
9820
|
"declaration": {
|
|
9810
|
-
"name": "
|
|
9811
|
-
"module": "src/components/discord-
|
|
9821
|
+
"name": "DiscordTranscriptHeader",
|
|
9822
|
+
"module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
|
|
9812
9823
|
}
|
|
9813
9824
|
},
|
|
9814
9825
|
{
|
|
9815
9826
|
"kind": "custom-element-definition",
|
|
9816
|
-
"name": "discord-
|
|
9827
|
+
"name": "discord-transcript-header",
|
|
9817
9828
|
"declaration": {
|
|
9818
|
-
"name": "
|
|
9819
|
-
"module": "src/components/discord-
|
|
9829
|
+
"name": "DiscordTranscriptHeader",
|
|
9830
|
+
"module": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts"
|
|
9820
9831
|
}
|
|
9821
9832
|
}
|
|
9822
9833
|
]
|
|
9823
9834
|
},
|
|
9824
9835
|
{
|
|
9825
9836
|
"kind": "javascript-module",
|
|
9826
|
-
"path": "src/components/discord-
|
|
9837
|
+
"path": "src/components/discord-thumbnail/DiscordThumbnail.ts",
|
|
9827
9838
|
"declarations": [
|
|
9828
9839
|
{
|
|
9829
9840
|
"kind": "class",
|
|
9830
9841
|
"description": "",
|
|
9831
|
-
"name": "
|
|
9842
|
+
"name": "DiscordThumbnail",
|
|
9832
9843
|
"members": [
|
|
9833
9844
|
{
|
|
9834
9845
|
"kind": "field",
|
|
9835
|
-
"name": "
|
|
9846
|
+
"name": "media",
|
|
9836
9847
|
"type": {
|
|
9837
|
-
"text": "
|
|
9848
|
+
"text": "string"
|
|
9838
9849
|
},
|
|
9839
9850
|
"privacy": "public",
|
|
9840
|
-
"attribute": "
|
|
9841
|
-
"reflects": true
|
|
9851
|
+
"attribute": "media"
|
|
9842
9852
|
},
|
|
9843
9853
|
{
|
|
9844
9854
|
"kind": "field",
|
|
9845
|
-
"name": "
|
|
9855
|
+
"name": "description",
|
|
9846
9856
|
"type": {
|
|
9847
|
-
"text": "
|
|
9857
|
+
"text": "string"
|
|
9848
9858
|
},
|
|
9849
9859
|
"privacy": "public",
|
|
9850
|
-
"attribute": "
|
|
9851
|
-
"reflects": true
|
|
9860
|
+
"attribute": "description"
|
|
9852
9861
|
},
|
|
9853
9862
|
{
|
|
9854
9863
|
"kind": "field",
|
|
9855
|
-
"name": "
|
|
9864
|
+
"name": "spoiler",
|
|
9856
9865
|
"type": {
|
|
9857
|
-
"text": "
|
|
9866
|
+
"text": "boolean"
|
|
9858
9867
|
},
|
|
9859
9868
|
"privacy": "public",
|
|
9860
|
-
"default": "
|
|
9861
|
-
"attribute": "
|
|
9869
|
+
"default": "false",
|
|
9870
|
+
"attribute": "spoiler",
|
|
9862
9871
|
"reflects": true
|
|
9863
|
-
},
|
|
9864
|
-
{
|
|
9865
|
-
"kind": "field",
|
|
9866
|
-
"name": "timeout",
|
|
9867
|
-
"type": {
|
|
9868
|
-
"text": "number | undefined"
|
|
9869
|
-
},
|
|
9870
|
-
"privacy": "private"
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"kind": "field",
|
|
9874
|
-
"name": "resultTime",
|
|
9875
|
-
"type": {
|
|
9876
|
-
"text": "string | undefined"
|
|
9877
|
-
},
|
|
9878
|
-
"privacy": "private"
|
|
9879
|
-
},
|
|
9880
|
-
{
|
|
9881
|
-
"kind": "method",
|
|
9882
|
-
"name": "parseTime",
|
|
9883
|
-
"privacy": "private",
|
|
9884
|
-
"description": "Generates a string for the time."
|
|
9885
|
-
},
|
|
9886
|
-
{
|
|
9887
|
-
"kind": "method",
|
|
9888
|
-
"name": "getRelativeTime",
|
|
9889
|
-
"privacy": "private",
|
|
9890
|
-
"return": {
|
|
9891
|
-
"type": {
|
|
9892
|
-
"text": "[string, number]"
|
|
9893
|
-
}
|
|
9894
|
-
},
|
|
9895
|
-
"parameters": [
|
|
9896
|
-
{
|
|
9897
|
-
"name": "timestamp",
|
|
9898
|
-
"type": {
|
|
9899
|
-
"text": "number"
|
|
9900
|
-
}
|
|
9901
|
-
}
|
|
9902
|
-
]
|
|
9903
9872
|
}
|
|
9904
9873
|
],
|
|
9905
9874
|
"attributes": [
|
|
9906
9875
|
{
|
|
9907
|
-
"name": "
|
|
9876
|
+
"name": "media",
|
|
9908
9877
|
"type": {
|
|
9909
|
-
"text": "
|
|
9878
|
+
"text": "string"
|
|
9910
9879
|
},
|
|
9911
|
-
"fieldName": "
|
|
9880
|
+
"fieldName": "media"
|
|
9912
9881
|
},
|
|
9913
9882
|
{
|
|
9914
|
-
"name": "
|
|
9883
|
+
"name": "description",
|
|
9915
9884
|
"type": {
|
|
9916
|
-
"text": "
|
|
9885
|
+
"text": "string"
|
|
9917
9886
|
},
|
|
9918
|
-
"fieldName": "
|
|
9887
|
+
"fieldName": "description"
|
|
9919
9888
|
},
|
|
9920
9889
|
{
|
|
9921
|
-
"name": "
|
|
9890
|
+
"name": "spoiler",
|
|
9922
9891
|
"type": {
|
|
9923
|
-
"text": "
|
|
9892
|
+
"text": "boolean"
|
|
9924
9893
|
},
|
|
9925
|
-
"default": "
|
|
9926
|
-
"fieldName": "
|
|
9894
|
+
"default": "false",
|
|
9895
|
+
"fieldName": "spoiler"
|
|
9927
9896
|
}
|
|
9928
9897
|
],
|
|
9929
9898
|
"superclass": {
|
|
9930
9899
|
"name": "LitElement",
|
|
9931
9900
|
"package": "lit"
|
|
9932
9901
|
},
|
|
9933
|
-
"tagName": "discord-
|
|
9934
|
-
"customElement": true
|
|
9935
|
-
}
|
|
9936
|
-
],
|
|
9937
|
-
"exports": [
|
|
9938
|
-
{
|
|
9939
|
-
"kind": "js",
|
|
9940
|
-
"name": "DiscordTime",
|
|
9941
|
-
"declaration": {
|
|
9942
|
-
"name": "DiscordTime",
|
|
9943
|
-
"module": "src/components/discord-time/DiscordTime.ts"
|
|
9944
|
-
}
|
|
9945
|
-
},
|
|
9946
|
-
{
|
|
9947
|
-
"kind": "custom-element-definition",
|
|
9948
|
-
"name": "discord-time",
|
|
9949
|
-
"declaration": {
|
|
9950
|
-
"name": "DiscordTime",
|
|
9951
|
-
"module": "src/components/discord-time/DiscordTime.ts"
|
|
9952
|
-
}
|
|
9953
|
-
}
|
|
9954
|
-
]
|
|
9955
|
-
},
|
|
9956
|
-
{
|
|
9957
|
-
"kind": "javascript-module",
|
|
9958
|
-
"path": "src/components/discord-transcript-header/DiscordTranscriptHeader.ts",
|
|
9959
|
-
"declarations": [
|
|
9960
|
-
{
|
|
9961
|
-
"kind": "class",
|
|
9962
|
-
"description": "",
|
|
9963
|
-
"name": "DiscordTranscriptHeader",
|
|
9964
|
-
"members": [
|
|
9965
|
-
{
|
|
9966
|
-
"kind": "field",
|
|
9967
|
-
"name": "guild",
|
|
9968
|
-
"type": {
|
|
9969
|
-
"text": "string"
|
|
9970
|
-
},
|
|
9971
|
-
"privacy": "public",
|
|
9972
|
-
"description": "The guild name",
|
|
9973
|
-
"attribute": "guild",
|
|
9974
|
-
"reflects": true
|
|
9975
|
-
},
|
|
9976
|
-
{
|
|
9977
|
-
"kind": "field",
|
|
9978
|
-
"name": "channel",
|
|
9979
|
-
"type": {
|
|
9980
|
-
"text": "string"
|
|
9981
|
-
},
|
|
9982
|
-
"privacy": "public",
|
|
9983
|
-
"description": "The name of the channel",
|
|
9984
|
-
"attribute": "channel",
|
|
9985
|
-
"reflects": true
|
|
9986
|
-
},
|
|
9987
|
-
{
|
|
9988
|
-
"kind": "field",
|
|
9989
|
-
"name": "icon",
|
|
9990
|
-
"type": {
|
|
9991
|
-
"text": "string | undefined"
|
|
9992
|
-
},
|
|
9993
|
-
"privacy": "public",
|
|
9994
|
-
"description": "The icon to display.",
|
|
9995
|
-
"attribute": "icon",
|
|
9996
|
-
"reflects": true
|
|
9997
|
-
},
|
|
9998
|
-
{
|
|
9999
|
-
"kind": "method",
|
|
10000
|
-
"name": "getLettersName",
|
|
10001
|
-
"privacy": "public"
|
|
10002
|
-
}
|
|
10003
|
-
],
|
|
10004
|
-
"attributes": [
|
|
10005
|
-
{
|
|
10006
|
-
"name": "guild",
|
|
10007
|
-
"type": {
|
|
10008
|
-
"text": "string"
|
|
10009
|
-
},
|
|
10010
|
-
"description": "The guild name",
|
|
10011
|
-
"fieldName": "guild"
|
|
10012
|
-
},
|
|
10013
|
-
{
|
|
10014
|
-
"name": "channel",
|
|
10015
|
-
"type": {
|
|
10016
|
-
"text": "string"
|
|
10017
|
-
},
|
|
10018
|
-
"description": "The name of the channel",
|
|
10019
|
-
"fieldName": "channel"
|
|
10020
|
-
},
|
|
10021
|
-
{
|
|
10022
|
-
"name": "icon",
|
|
10023
|
-
"type": {
|
|
10024
|
-
"text": "string | undefined"
|
|
10025
|
-
},
|
|
10026
|
-
"description": "The icon to display.",
|
|
10027
|
-
"fieldName": "icon"
|
|
10028
|
-
}
|
|
10029
|
-
],
|
|
10030
|
-
"superclass": {
|
|
10031
|
-
"name": "LitElement",
|
|
10032
|
-
"package": "lit"
|
|
10033
|
-
},
|
|
10034
|
-
"tagName": "discord-transcript-header",
|
|
9902
|
+
"tagName": "discord-thumbnail",
|
|
10035
9903
|
"customElement": true
|
|
10036
9904
|
}
|
|
10037
9905
|
],
|
|
10038
9906
|
"exports": [
|
|
10039
9907
|
{
|
|
10040
9908
|
"kind": "js",
|
|
10041
|
-
"name": "
|
|
9909
|
+
"name": "DiscordThumbnail",
|
|
10042
9910
|
"declaration": {
|
|
10043
|
-
"name": "
|
|
10044
|
-
"module": "src/components/discord-
|
|
9911
|
+
"name": "DiscordThumbnail",
|
|
9912
|
+
"module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
|
|
10045
9913
|
}
|
|
10046
9914
|
},
|
|
10047
9915
|
{
|
|
10048
9916
|
"kind": "custom-element-definition",
|
|
10049
|
-
"name": "discord-
|
|
9917
|
+
"name": "discord-thumbnail",
|
|
10050
9918
|
"declaration": {
|
|
10051
|
-
"name": "
|
|
10052
|
-
"module": "src/components/discord-
|
|
9919
|
+
"name": "DiscordThumbnail",
|
|
9920
|
+
"module": "src/components/discord-thumbnail/DiscordThumbnail.ts"
|
|
10053
9921
|
}
|
|
10054
9922
|
}
|
|
10055
9923
|
]
|
|
@@ -10235,6 +10103,138 @@
|
|
|
10235
10103
|
}
|
|
10236
10104
|
]
|
|
10237
10105
|
},
|
|
10106
|
+
{
|
|
10107
|
+
"kind": "javascript-module",
|
|
10108
|
+
"path": "src/components/discord-time/DiscordTime.ts",
|
|
10109
|
+
"declarations": [
|
|
10110
|
+
{
|
|
10111
|
+
"kind": "class",
|
|
10112
|
+
"description": "",
|
|
10113
|
+
"name": "DiscordTime",
|
|
10114
|
+
"members": [
|
|
10115
|
+
{
|
|
10116
|
+
"kind": "field",
|
|
10117
|
+
"name": "timestamp",
|
|
10118
|
+
"type": {
|
|
10119
|
+
"text": "number"
|
|
10120
|
+
},
|
|
10121
|
+
"privacy": "public",
|
|
10122
|
+
"attribute": "timestamp",
|
|
10123
|
+
"reflects": true
|
|
10124
|
+
},
|
|
10125
|
+
{
|
|
10126
|
+
"kind": "field",
|
|
10127
|
+
"name": "baseNow",
|
|
10128
|
+
"type": {
|
|
10129
|
+
"text": "number | undefined"
|
|
10130
|
+
},
|
|
10131
|
+
"privacy": "public",
|
|
10132
|
+
"attribute": "baseNow",
|
|
10133
|
+
"reflects": true
|
|
10134
|
+
},
|
|
10135
|
+
{
|
|
10136
|
+
"kind": "field",
|
|
10137
|
+
"name": "format",
|
|
10138
|
+
"type": {
|
|
10139
|
+
"text": "keyof typeof DATE_TYPE_FORMATS"
|
|
10140
|
+
},
|
|
10141
|
+
"privacy": "public",
|
|
10142
|
+
"default": "'t'",
|
|
10143
|
+
"attribute": "format",
|
|
10144
|
+
"reflects": true
|
|
10145
|
+
},
|
|
10146
|
+
{
|
|
10147
|
+
"kind": "field",
|
|
10148
|
+
"name": "timeout",
|
|
10149
|
+
"type": {
|
|
10150
|
+
"text": "number | undefined"
|
|
10151
|
+
},
|
|
10152
|
+
"privacy": "private"
|
|
10153
|
+
},
|
|
10154
|
+
{
|
|
10155
|
+
"kind": "field",
|
|
10156
|
+
"name": "resultTime",
|
|
10157
|
+
"type": {
|
|
10158
|
+
"text": "string | undefined"
|
|
10159
|
+
},
|
|
10160
|
+
"privacy": "private"
|
|
10161
|
+
},
|
|
10162
|
+
{
|
|
10163
|
+
"kind": "method",
|
|
10164
|
+
"name": "parseTime",
|
|
10165
|
+
"privacy": "private",
|
|
10166
|
+
"description": "Generates a string for the time."
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"kind": "method",
|
|
10170
|
+
"name": "getRelativeTime",
|
|
10171
|
+
"privacy": "private",
|
|
10172
|
+
"return": {
|
|
10173
|
+
"type": {
|
|
10174
|
+
"text": "[string, number]"
|
|
10175
|
+
}
|
|
10176
|
+
},
|
|
10177
|
+
"parameters": [
|
|
10178
|
+
{
|
|
10179
|
+
"name": "timestamp",
|
|
10180
|
+
"type": {
|
|
10181
|
+
"text": "number"
|
|
10182
|
+
}
|
|
10183
|
+
}
|
|
10184
|
+
]
|
|
10185
|
+
}
|
|
10186
|
+
],
|
|
10187
|
+
"attributes": [
|
|
10188
|
+
{
|
|
10189
|
+
"name": "timestamp",
|
|
10190
|
+
"type": {
|
|
10191
|
+
"text": "number"
|
|
10192
|
+
},
|
|
10193
|
+
"fieldName": "timestamp"
|
|
10194
|
+
},
|
|
10195
|
+
{
|
|
10196
|
+
"name": "baseNow",
|
|
10197
|
+
"type": {
|
|
10198
|
+
"text": "number | undefined"
|
|
10199
|
+
},
|
|
10200
|
+
"fieldName": "baseNow"
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
"name": "format",
|
|
10204
|
+
"type": {
|
|
10205
|
+
"text": "keyof typeof DATE_TYPE_FORMATS"
|
|
10206
|
+
},
|
|
10207
|
+
"default": "'t'",
|
|
10208
|
+
"fieldName": "format"
|
|
10209
|
+
}
|
|
10210
|
+
],
|
|
10211
|
+
"superclass": {
|
|
10212
|
+
"name": "LitElement",
|
|
10213
|
+
"package": "lit"
|
|
10214
|
+
},
|
|
10215
|
+
"tagName": "discord-time",
|
|
10216
|
+
"customElement": true
|
|
10217
|
+
}
|
|
10218
|
+
],
|
|
10219
|
+
"exports": [
|
|
10220
|
+
{
|
|
10221
|
+
"kind": "js",
|
|
10222
|
+
"name": "DiscordTime",
|
|
10223
|
+
"declaration": {
|
|
10224
|
+
"name": "DiscordTime",
|
|
10225
|
+
"module": "src/components/discord-time/DiscordTime.ts"
|
|
10226
|
+
}
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"kind": "custom-element-definition",
|
|
10230
|
+
"name": "discord-time",
|
|
10231
|
+
"declaration": {
|
|
10232
|
+
"name": "DiscordTime",
|
|
10233
|
+
"module": "src/components/discord-time/DiscordTime.ts"
|
|
10234
|
+
}
|
|
10235
|
+
}
|
|
10236
|
+
]
|
|
10237
|
+
},
|
|
10238
10238
|
{
|
|
10239
10239
|
"kind": "javascript-module",
|
|
10240
10240
|
"path": "src/components/discord-video-attachment/DiscordVideoAttachment.ts",
|
|
@@ -11411,370 +11411,7 @@
|
|
|
11411
11411
|
},
|
|
11412
11412
|
{
|
|
11413
11413
|
"kind": "javascript-module",
|
|
11414
|
-
"path": "src/components/
|
|
11415
|
-
"declarations": [],
|
|
11416
|
-
"exports": []
|
|
11417
|
-
},
|
|
11418
|
-
{
|
|
11419
|
-
"kind": "javascript-module",
|
|
11420
|
-
"path": "src/components/_private/DiscordMediaLifecycle.ts",
|
|
11421
|
-
"declarations": [
|
|
11422
|
-
{
|
|
11423
|
-
"kind": "class",
|
|
11424
|
-
"description": "",
|
|
11425
|
-
"name": "DiscordMediaLifecycle",
|
|
11426
|
-
"members": [
|
|
11427
|
-
{
|
|
11428
|
-
"kind": "field",
|
|
11429
|
-
"name": "mediaComponentRef",
|
|
11430
|
-
"type": {
|
|
11431
|
-
"text": "Ref<HTMLAudioElement | HTMLVideoElement>"
|
|
11432
|
-
},
|
|
11433
|
-
"privacy": "protected"
|
|
11434
|
-
},
|
|
11435
|
-
{
|
|
11436
|
-
"kind": "field",
|
|
11437
|
-
"name": "seekSliderRef",
|
|
11438
|
-
"type": {
|
|
11439
|
-
"text": "Ref<HTMLInputElement>"
|
|
11440
|
-
},
|
|
11441
|
-
"privacy": "protected"
|
|
11442
|
-
},
|
|
11443
|
-
{
|
|
11444
|
-
"kind": "field",
|
|
11445
|
-
"name": "volumeControlRef",
|
|
11446
|
-
"type": {
|
|
11447
|
-
"text": "Ref<HTMLDivElement>"
|
|
11448
|
-
},
|
|
11449
|
-
"privacy": "protected"
|
|
11450
|
-
},
|
|
11451
|
-
{
|
|
11452
|
-
"kind": "field",
|
|
11453
|
-
"name": "volumeControlInputRef",
|
|
11454
|
-
"type": {
|
|
11455
|
-
"text": "Ref<HTMLInputElement>"
|
|
11456
|
-
},
|
|
11457
|
-
"privacy": "protected"
|
|
11458
|
-
},
|
|
11459
|
-
{
|
|
11460
|
-
"kind": "field",
|
|
11461
|
-
"name": "currentPlaybackPosition",
|
|
11462
|
-
"type": {
|
|
11463
|
-
"text": "string"
|
|
11464
|
-
},
|
|
11465
|
-
"privacy": "protected",
|
|
11466
|
-
"default": "'0:00'"
|
|
11467
|
-
},
|
|
11468
|
-
{
|
|
11469
|
-
"kind": "field",
|
|
11470
|
-
"name": "leftPlaybackPosition",
|
|
11471
|
-
"type": {
|
|
11472
|
-
"text": "string"
|
|
11473
|
-
},
|
|
11474
|
-
"privacy": "protected",
|
|
11475
|
-
"default": "'0:00'"
|
|
11476
|
-
},
|
|
11477
|
-
{
|
|
11478
|
-
"kind": "field",
|
|
11479
|
-
"name": "totalMediaDuration",
|
|
11480
|
-
"type": {
|
|
11481
|
-
"text": "string"
|
|
11482
|
-
},
|
|
11483
|
-
"privacy": "protected",
|
|
11484
|
-
"default": "''"
|
|
11485
|
-
},
|
|
11486
|
-
{
|
|
11487
|
-
"kind": "field",
|
|
11488
|
-
"name": "isPlaying",
|
|
11489
|
-
"type": {
|
|
11490
|
-
"text": "boolean"
|
|
11491
|
-
},
|
|
11492
|
-
"privacy": "protected",
|
|
11493
|
-
"default": "false"
|
|
11494
|
-
},
|
|
11495
|
-
{
|
|
11496
|
-
"kind": "field",
|
|
11497
|
-
"name": "raf",
|
|
11498
|
-
"type": {
|
|
11499
|
-
"text": "number | null"
|
|
11500
|
-
},
|
|
11501
|
-
"privacy": "private",
|
|
11502
|
-
"default": "null"
|
|
11503
|
-
},
|
|
11504
|
-
{
|
|
11505
|
-
"kind": "field",
|
|
11506
|
-
"name": "isMuted",
|
|
11507
|
-
"type": {
|
|
11508
|
-
"text": "boolean"
|
|
11509
|
-
},
|
|
11510
|
-
"privacy": "protected",
|
|
11511
|
-
"default": "false"
|
|
11512
|
-
},
|
|
11513
|
-
{
|
|
11514
|
-
"kind": "field",
|
|
11515
|
-
"name": "currentVolume",
|
|
11516
|
-
"type": {
|
|
11517
|
-
"text": "number"
|
|
11518
|
-
},
|
|
11519
|
-
"privacy": "protected",
|
|
11520
|
-
"default": "1",
|
|
11521
|
-
"description": "Volume is a fractional value between 0 and 1"
|
|
11522
|
-
},
|
|
11523
|
-
{
|
|
11524
|
-
"kind": "field",
|
|
11525
|
-
"name": "hasEnded",
|
|
11526
|
-
"type": {
|
|
11527
|
-
"text": "boolean"
|
|
11528
|
-
},
|
|
11529
|
-
"privacy": "protected",
|
|
11530
|
-
"default": "false"
|
|
11531
|
-
},
|
|
11532
|
-
{
|
|
11533
|
-
"kind": "field",
|
|
11534
|
-
"name": "hasRunUpdate",
|
|
11535
|
-
"type": {
|
|
11536
|
-
"text": "boolean"
|
|
11537
|
-
},
|
|
11538
|
-
"privacy": "private",
|
|
11539
|
-
"default": "false"
|
|
11540
|
-
},
|
|
11541
|
-
{
|
|
11542
|
-
"kind": "method",
|
|
11543
|
-
"name": "calculateTime",
|
|
11544
|
-
"privacy": "protected",
|
|
11545
|
-
"parameters": [
|
|
11546
|
-
{
|
|
11547
|
-
"name": "secs",
|
|
11548
|
-
"type": {
|
|
11549
|
-
"text": "number"
|
|
11550
|
-
}
|
|
11551
|
-
}
|
|
11552
|
-
]
|
|
11553
|
-
},
|
|
11554
|
-
{
|
|
11555
|
-
"kind": "method",
|
|
11556
|
-
"name": "displayMediaDuration",
|
|
11557
|
-
"privacy": "protected"
|
|
11558
|
-
},
|
|
11559
|
-
{
|
|
11560
|
-
"kind": "method",
|
|
11561
|
-
"name": "displayLeftPlaybackPosition",
|
|
11562
|
-
"privacy": "protected",
|
|
11563
|
-
"parameters": [
|
|
11564
|
-
{
|
|
11565
|
-
"name": "bufferedAmount",
|
|
11566
|
-
"type": {
|
|
11567
|
-
"text": "number"
|
|
11568
|
-
}
|
|
11569
|
-
}
|
|
11570
|
-
]
|
|
11571
|
-
},
|
|
11572
|
-
{
|
|
11573
|
-
"kind": "method",
|
|
11574
|
-
"name": "setSliderMax",
|
|
11575
|
-
"privacy": "protected"
|
|
11576
|
-
},
|
|
11577
|
-
{
|
|
11578
|
-
"kind": "method",
|
|
11579
|
-
"name": "displayBufferedAmount",
|
|
11580
|
-
"privacy": "protected"
|
|
11581
|
-
},
|
|
11582
|
-
{
|
|
11583
|
-
"kind": "field",
|
|
11584
|
-
"name": "wavesurfer",
|
|
11585
|
-
"type": {
|
|
11586
|
-
"text": "WaveSurfer | null | undefined"
|
|
11587
|
-
},
|
|
11588
|
-
"privacy": "protected",
|
|
11589
|
-
"default": "null"
|
|
11590
|
-
},
|
|
11591
|
-
{
|
|
11592
|
-
"kind": "field",
|
|
11593
|
-
"name": "whilePlaying",
|
|
11594
|
-
"privacy": "protected"
|
|
11595
|
-
},
|
|
11596
|
-
{
|
|
11597
|
-
"kind": "method",
|
|
11598
|
-
"name": "handleEnded",
|
|
11599
|
-
"privacy": "protected"
|
|
11600
|
-
},
|
|
11601
|
-
{
|
|
11602
|
-
"kind": "method",
|
|
11603
|
-
"name": "handleClickPlayPauseIcon",
|
|
11604
|
-
"privacy": "protected"
|
|
11605
|
-
},
|
|
11606
|
-
{
|
|
11607
|
-
"kind": "field",
|
|
11608
|
-
"name": "handleSpaceToPlayPause",
|
|
11609
|
-
"privacy": "protected"
|
|
11610
|
-
},
|
|
11611
|
-
{
|
|
11612
|
-
"kind": "method",
|
|
11613
|
-
"name": "handleClickMuteIcon",
|
|
11614
|
-
"privacy": "protected"
|
|
11615
|
-
},
|
|
11616
|
-
{
|
|
11617
|
-
"kind": "method",
|
|
11618
|
-
"name": "handleSeekSliderInput",
|
|
11619
|
-
"privacy": "protected",
|
|
11620
|
-
"parameters": [
|
|
11621
|
-
{
|
|
11622
|
-
"name": "event",
|
|
11623
|
-
"type": {
|
|
11624
|
-
"text": "Event"
|
|
11625
|
-
}
|
|
11626
|
-
}
|
|
11627
|
-
]
|
|
11628
|
-
},
|
|
11629
|
-
{
|
|
11630
|
-
"kind": "field",
|
|
11631
|
-
"name": "handleSeekSliderChange",
|
|
11632
|
-
"privacy": "protected"
|
|
11633
|
-
},
|
|
11634
|
-
{
|
|
11635
|
-
"kind": "method",
|
|
11636
|
-
"name": "handleVolumeSliderInput",
|
|
11637
|
-
"privacy": "protected",
|
|
11638
|
-
"parameters": [
|
|
11639
|
-
{
|
|
11640
|
-
"name": "event",
|
|
11641
|
-
"type": {
|
|
11642
|
-
"text": "Event"
|
|
11643
|
-
}
|
|
11644
|
-
}
|
|
11645
|
-
]
|
|
11646
|
-
},
|
|
11647
|
-
{
|
|
11648
|
-
"kind": "method",
|
|
11649
|
-
"name": "handleVolumeVerticalFocus",
|
|
11650
|
-
"privacy": "protected"
|
|
11651
|
-
},
|
|
11652
|
-
{
|
|
11653
|
-
"kind": "method",
|
|
11654
|
-
"name": "handleVolumeVerticalBlur",
|
|
11655
|
-
"privacy": "protected"
|
|
11656
|
-
},
|
|
11657
|
-
{
|
|
11658
|
-
"kind": "method",
|
|
11659
|
-
"name": "handleVolumeControlKeyboard",
|
|
11660
|
-
"privacy": "protected",
|
|
11661
|
-
"parameters": [
|
|
11662
|
-
{
|
|
11663
|
-
"name": "event",
|
|
11664
|
-
"type": {
|
|
11665
|
-
"text": "KeyboardEvent"
|
|
11666
|
-
}
|
|
11667
|
-
}
|
|
11668
|
-
]
|
|
11669
|
-
},
|
|
11670
|
-
{
|
|
11671
|
-
"kind": "method",
|
|
11672
|
-
"name": "adjustVolume",
|
|
11673
|
-
"privacy": "protected",
|
|
11674
|
-
"parameters": [
|
|
11675
|
-
{
|
|
11676
|
-
"name": "change",
|
|
11677
|
-
"type": {
|
|
11678
|
-
"text": "number"
|
|
11679
|
-
}
|
|
11680
|
-
},
|
|
11681
|
-
{
|
|
11682
|
-
"name": "event",
|
|
11683
|
-
"type": {
|
|
11684
|
-
"text": "KeyboardEvent"
|
|
11685
|
-
}
|
|
11686
|
-
}
|
|
11687
|
-
]
|
|
11688
|
-
},
|
|
11689
|
-
{
|
|
11690
|
-
"kind": "field",
|
|
11691
|
-
"name": "mediaMetadataLoaded",
|
|
11692
|
-
"privacy": "protected"
|
|
11693
|
-
}
|
|
11694
|
-
],
|
|
11695
|
-
"superclass": {
|
|
11696
|
-
"name": "LitElement",
|
|
11697
|
-
"package": "lit"
|
|
11698
|
-
},
|
|
11699
|
-
"customElement": true
|
|
11700
|
-
}
|
|
11701
|
-
],
|
|
11702
|
-
"exports": [
|
|
11703
|
-
{
|
|
11704
|
-
"kind": "js",
|
|
11705
|
-
"name": "DiscordMediaLifecycle",
|
|
11706
|
-
"declaration": {
|
|
11707
|
-
"name": "DiscordMediaLifecycle",
|
|
11708
|
-
"module": "src/components/_private/DiscordMediaLifecycle.ts"
|
|
11709
|
-
}
|
|
11710
|
-
}
|
|
11711
|
-
]
|
|
11712
|
-
},
|
|
11713
|
-
{
|
|
11714
|
-
"kind": "javascript-module",
|
|
11715
|
-
"path": "src/components/_private/DiscordPlaybackControlStyles.ts",
|
|
11716
|
-
"declarations": [
|
|
11717
|
-
{
|
|
11718
|
-
"kind": "variable",
|
|
11719
|
-
"name": "DiscordPlaybackControlStyles",
|
|
11720
|
-
"default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
|
|
11721
|
-
}
|
|
11722
|
-
],
|
|
11723
|
-
"exports": [
|
|
11724
|
-
{
|
|
11725
|
-
"kind": "js",
|
|
11726
|
-
"name": "DiscordPlaybackControlStyles",
|
|
11727
|
-
"declaration": {
|
|
11728
|
-
"name": "DiscordPlaybackControlStyles",
|
|
11729
|
-
"module": "src/components/_private/DiscordPlaybackControlStyles.ts"
|
|
11730
|
-
}
|
|
11731
|
-
}
|
|
11732
|
-
]
|
|
11733
|
-
},
|
|
11734
|
-
{
|
|
11735
|
-
"kind": "javascript-module",
|
|
11736
|
-
"path": "src/components/_private/DiscordVolumeControlStyles.ts",
|
|
11737
|
-
"declarations": [
|
|
11738
|
-
{
|
|
11739
|
-
"kind": "variable",
|
|
11740
|
-
"name": "DiscordVolumeControlStyles",
|
|
11741
|
-
"default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
|
|
11742
|
-
}
|
|
11743
|
-
],
|
|
11744
|
-
"exports": [
|
|
11745
|
-
{
|
|
11746
|
-
"kind": "js",
|
|
11747
|
-
"name": "DiscordVolumeControlStyles",
|
|
11748
|
-
"declaration": {
|
|
11749
|
-
"name": "DiscordVolumeControlStyles",
|
|
11750
|
-
"module": "src/components/_private/DiscordVolumeControlStyles.ts"
|
|
11751
|
-
}
|
|
11752
|
-
}
|
|
11753
|
-
]
|
|
11754
|
-
},
|
|
11755
|
-
{
|
|
11756
|
-
"kind": "javascript-module",
|
|
11757
|
-
"path": "src/components/_private/mediaGalleryFullScreenContext.ts",
|
|
11758
|
-
"declarations": [
|
|
11759
|
-
{
|
|
11760
|
-
"kind": "variable",
|
|
11761
|
-
"name": "isInMediaFullScreenPreviewer"
|
|
11762
|
-
}
|
|
11763
|
-
],
|
|
11764
|
-
"exports": [
|
|
11765
|
-
{
|
|
11766
|
-
"kind": "js",
|
|
11767
|
-
"name": "isInMediaFullScreenPreviewer",
|
|
11768
|
-
"declaration": {
|
|
11769
|
-
"name": "isInMediaFullScreenPreviewer",
|
|
11770
|
-
"module": "src/components/_private/mediaGalleryFullScreenContext.ts"
|
|
11771
|
-
}
|
|
11772
|
-
}
|
|
11773
|
-
]
|
|
11774
|
-
},
|
|
11775
|
-
{
|
|
11776
|
-
"kind": "javascript-module",
|
|
11777
|
-
"path": "src/components/svgs/AttachmentDownloadButton.ts",
|
|
11414
|
+
"path": "src/components/svgs/AttachmentDownloadButton.ts",
|
|
11778
11415
|
"declarations": [
|
|
11779
11416
|
{
|
|
11780
11417
|
"kind": "function",
|
|
@@ -12825,7 +12462,223 @@
|
|
|
12825
12462
|
"declarations": [
|
|
12826
12463
|
{
|
|
12827
12464
|
"kind": "function",
|
|
12828
|
-
"name": "SystemAlert",
|
|
12465
|
+
"name": "SystemAlert",
|
|
12466
|
+
"parameters": [
|
|
12467
|
+
{
|
|
12468
|
+
"name": "props",
|
|
12469
|
+
"default": "{}",
|
|
12470
|
+
"type": {
|
|
12471
|
+
"text": "Record<string, unknown>"
|
|
12472
|
+
}
|
|
12473
|
+
}
|
|
12474
|
+
]
|
|
12475
|
+
}
|
|
12476
|
+
],
|
|
12477
|
+
"exports": [
|
|
12478
|
+
{
|
|
12479
|
+
"kind": "js",
|
|
12480
|
+
"name": "default",
|
|
12481
|
+
"declaration": {
|
|
12482
|
+
"name": "SystemAlert",
|
|
12483
|
+
"module": "src/components/svgs/SystemAlert.ts"
|
|
12484
|
+
}
|
|
12485
|
+
}
|
|
12486
|
+
]
|
|
12487
|
+
},
|
|
12488
|
+
{
|
|
12489
|
+
"kind": "javascript-module",
|
|
12490
|
+
"path": "src/components/svgs/SystemError.ts",
|
|
12491
|
+
"declarations": [
|
|
12492
|
+
{
|
|
12493
|
+
"kind": "function",
|
|
12494
|
+
"name": "SystemError",
|
|
12495
|
+
"parameters": [
|
|
12496
|
+
{
|
|
12497
|
+
"name": "props",
|
|
12498
|
+
"default": "{}",
|
|
12499
|
+
"type": {
|
|
12500
|
+
"text": "Record<string, unknown>"
|
|
12501
|
+
}
|
|
12502
|
+
}
|
|
12503
|
+
]
|
|
12504
|
+
}
|
|
12505
|
+
],
|
|
12506
|
+
"exports": [
|
|
12507
|
+
{
|
|
12508
|
+
"kind": "js",
|
|
12509
|
+
"name": "default",
|
|
12510
|
+
"declaration": {
|
|
12511
|
+
"name": "SystemError",
|
|
12512
|
+
"module": "src/components/svgs/SystemError.ts"
|
|
12513
|
+
}
|
|
12514
|
+
}
|
|
12515
|
+
]
|
|
12516
|
+
},
|
|
12517
|
+
{
|
|
12518
|
+
"kind": "javascript-module",
|
|
12519
|
+
"path": "src/components/svgs/Thread.ts",
|
|
12520
|
+
"declarations": [
|
|
12521
|
+
{
|
|
12522
|
+
"kind": "function",
|
|
12523
|
+
"name": "Thread",
|
|
12524
|
+
"parameters": [
|
|
12525
|
+
{
|
|
12526
|
+
"name": "props",
|
|
12527
|
+
"default": "{}",
|
|
12528
|
+
"type": {
|
|
12529
|
+
"text": "Record<string, unknown>"
|
|
12530
|
+
}
|
|
12531
|
+
}
|
|
12532
|
+
]
|
|
12533
|
+
}
|
|
12534
|
+
],
|
|
12535
|
+
"exports": [
|
|
12536
|
+
{
|
|
12537
|
+
"kind": "js",
|
|
12538
|
+
"name": "default",
|
|
12539
|
+
"declaration": {
|
|
12540
|
+
"name": "Thread",
|
|
12541
|
+
"module": "src/components/svgs/Thread.ts"
|
|
12542
|
+
}
|
|
12543
|
+
}
|
|
12544
|
+
]
|
|
12545
|
+
},
|
|
12546
|
+
{
|
|
12547
|
+
"kind": "javascript-module",
|
|
12548
|
+
"path": "src/components/svgs/UserJoin.ts",
|
|
12549
|
+
"declarations": [
|
|
12550
|
+
{
|
|
12551
|
+
"kind": "function",
|
|
12552
|
+
"name": "UserJoin",
|
|
12553
|
+
"parameters": [
|
|
12554
|
+
{
|
|
12555
|
+
"name": "props",
|
|
12556
|
+
"default": "{}",
|
|
12557
|
+
"type": {
|
|
12558
|
+
"text": "Record<string, unknown>"
|
|
12559
|
+
}
|
|
12560
|
+
}
|
|
12561
|
+
]
|
|
12562
|
+
}
|
|
12563
|
+
],
|
|
12564
|
+
"exports": [
|
|
12565
|
+
{
|
|
12566
|
+
"kind": "js",
|
|
12567
|
+
"name": "default",
|
|
12568
|
+
"declaration": {
|
|
12569
|
+
"name": "UserJoin",
|
|
12570
|
+
"module": "src/components/svgs/UserJoin.ts"
|
|
12571
|
+
}
|
|
12572
|
+
}
|
|
12573
|
+
]
|
|
12574
|
+
},
|
|
12575
|
+
{
|
|
12576
|
+
"kind": "javascript-module",
|
|
12577
|
+
"path": "src/components/svgs/UserLeave.ts",
|
|
12578
|
+
"declarations": [
|
|
12579
|
+
{
|
|
12580
|
+
"kind": "function",
|
|
12581
|
+
"name": "UserLeave",
|
|
12582
|
+
"parameters": [
|
|
12583
|
+
{
|
|
12584
|
+
"name": "props",
|
|
12585
|
+
"default": "{}",
|
|
12586
|
+
"type": {
|
|
12587
|
+
"text": "Record<string, unknown>"
|
|
12588
|
+
}
|
|
12589
|
+
}
|
|
12590
|
+
]
|
|
12591
|
+
}
|
|
12592
|
+
],
|
|
12593
|
+
"exports": [
|
|
12594
|
+
{
|
|
12595
|
+
"kind": "js",
|
|
12596
|
+
"name": "default",
|
|
12597
|
+
"declaration": {
|
|
12598
|
+
"name": "UserLeave",
|
|
12599
|
+
"module": "src/components/svgs/UserLeave.ts"
|
|
12600
|
+
}
|
|
12601
|
+
}
|
|
12602
|
+
]
|
|
12603
|
+
},
|
|
12604
|
+
{
|
|
12605
|
+
"kind": "javascript-module",
|
|
12606
|
+
"path": "src/components/svgs/VerifiedBadgeOverlay.ts",
|
|
12607
|
+
"declarations": [
|
|
12608
|
+
{
|
|
12609
|
+
"kind": "function",
|
|
12610
|
+
"name": "VerifiedBadgeOverlay",
|
|
12611
|
+
"parameters": [
|
|
12612
|
+
{
|
|
12613
|
+
"name": "props",
|
|
12614
|
+
"default": "{}",
|
|
12615
|
+
"type": {
|
|
12616
|
+
"text": "Record<string, unknown>"
|
|
12617
|
+
}
|
|
12618
|
+
}
|
|
12619
|
+
]
|
|
12620
|
+
}
|
|
12621
|
+
],
|
|
12622
|
+
"exports": [
|
|
12623
|
+
{
|
|
12624
|
+
"kind": "js",
|
|
12625
|
+
"name": "default",
|
|
12626
|
+
"declaration": {
|
|
12627
|
+
"name": "VerifiedBadgeOverlay",
|
|
12628
|
+
"module": "src/components/svgs/VerifiedBadgeOverlay.ts"
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
]
|
|
12632
|
+
},
|
|
12633
|
+
{
|
|
12634
|
+
"kind": "javascript-module",
|
|
12635
|
+
"path": "src/components/svgs/VerifiedTick.ts",
|
|
12636
|
+
"declarations": [
|
|
12637
|
+
{
|
|
12638
|
+
"kind": "function",
|
|
12639
|
+
"name": "VerifiedTick",
|
|
12640
|
+
"parameters": [
|
|
12641
|
+
{
|
|
12642
|
+
"name": "props",
|
|
12643
|
+
"default": "{}",
|
|
12644
|
+
"type": {
|
|
12645
|
+
"text": "Record<string, unknown>"
|
|
12646
|
+
}
|
|
12647
|
+
}
|
|
12648
|
+
]
|
|
12649
|
+
}
|
|
12650
|
+
],
|
|
12651
|
+
"exports": [
|
|
12652
|
+
{
|
|
12653
|
+
"kind": "js",
|
|
12654
|
+
"name": "default",
|
|
12655
|
+
"declaration": {
|
|
12656
|
+
"name": "VerifiedTick",
|
|
12657
|
+
"module": "src/components/svgs/VerifiedTick.ts"
|
|
12658
|
+
}
|
|
12659
|
+
}
|
|
12660
|
+
]
|
|
12661
|
+
},
|
|
12662
|
+
{
|
|
12663
|
+
"kind": "javascript-module",
|
|
12664
|
+
"path": "src/components/svgs/VideoFullScreenIcon.ts",
|
|
12665
|
+
"declarations": [
|
|
12666
|
+
{
|
|
12667
|
+
"kind": "function",
|
|
12668
|
+
"name": "VideoFullScreenIcon",
|
|
12669
|
+
"parameters": [
|
|
12670
|
+
{
|
|
12671
|
+
"name": "props",
|
|
12672
|
+
"default": "{}",
|
|
12673
|
+
"type": {
|
|
12674
|
+
"text": "Record<string, unknown>"
|
|
12675
|
+
}
|
|
12676
|
+
}
|
|
12677
|
+
]
|
|
12678
|
+
},
|
|
12679
|
+
{
|
|
12680
|
+
"kind": "function",
|
|
12681
|
+
"name": "VideoExitFullScreenIcon",
|
|
12829
12682
|
"parameters": [
|
|
12830
12683
|
{
|
|
12831
12684
|
"name": "props",
|
|
@@ -12842,19 +12695,27 @@
|
|
|
12842
12695
|
"kind": "js",
|
|
12843
12696
|
"name": "default",
|
|
12844
12697
|
"declaration": {
|
|
12845
|
-
"name": "
|
|
12846
|
-
"module": "src/components/svgs/
|
|
12698
|
+
"name": "VideoFullScreenIcon",
|
|
12699
|
+
"module": "src/components/svgs/VideoFullScreenIcon.ts"
|
|
12700
|
+
}
|
|
12701
|
+
},
|
|
12702
|
+
{
|
|
12703
|
+
"kind": "js",
|
|
12704
|
+
"name": "VideoExitFullScreenIcon",
|
|
12705
|
+
"declaration": {
|
|
12706
|
+
"name": "VideoExitFullScreenIcon",
|
|
12707
|
+
"module": "src/components/svgs/VideoFullScreenIcon.ts"
|
|
12847
12708
|
}
|
|
12848
12709
|
}
|
|
12849
12710
|
]
|
|
12850
12711
|
},
|
|
12851
12712
|
{
|
|
12852
12713
|
"kind": "javascript-module",
|
|
12853
|
-
"path": "src/components/svgs/
|
|
12714
|
+
"path": "src/components/svgs/VideoPausePopIcon.ts",
|
|
12854
12715
|
"declarations": [
|
|
12855
12716
|
{
|
|
12856
12717
|
"kind": "function",
|
|
12857
|
-
"name": "
|
|
12718
|
+
"name": "VideoPausePopIcon",
|
|
12858
12719
|
"parameters": [
|
|
12859
12720
|
{
|
|
12860
12721
|
"name": "props",
|
|
@@ -12871,19 +12732,19 @@
|
|
|
12871
12732
|
"kind": "js",
|
|
12872
12733
|
"name": "default",
|
|
12873
12734
|
"declaration": {
|
|
12874
|
-
"name": "
|
|
12875
|
-
"module": "src/components/svgs/
|
|
12735
|
+
"name": "VideoPausePopIcon",
|
|
12736
|
+
"module": "src/components/svgs/VideoPausePopIcon.ts"
|
|
12876
12737
|
}
|
|
12877
12738
|
}
|
|
12878
12739
|
]
|
|
12879
12740
|
},
|
|
12880
12741
|
{
|
|
12881
12742
|
"kind": "javascript-module",
|
|
12882
|
-
"path": "src/components/svgs/
|
|
12743
|
+
"path": "src/components/svgs/VideoPlayPopIcon.ts",
|
|
12883
12744
|
"declarations": [
|
|
12884
12745
|
{
|
|
12885
12746
|
"kind": "function",
|
|
12886
|
-
"name": "
|
|
12747
|
+
"name": "VideoPlayPopIcon",
|
|
12887
12748
|
"parameters": [
|
|
12888
12749
|
{
|
|
12889
12750
|
"name": "props",
|
|
@@ -12900,19 +12761,19 @@
|
|
|
12900
12761
|
"kind": "js",
|
|
12901
12762
|
"name": "default",
|
|
12902
12763
|
"declaration": {
|
|
12903
|
-
"name": "
|
|
12904
|
-
"module": "src/components/svgs/
|
|
12764
|
+
"name": "VideoPlayPopIcon",
|
|
12765
|
+
"module": "src/components/svgs/VideoPlayPopIcon.ts"
|
|
12905
12766
|
}
|
|
12906
12767
|
}
|
|
12907
12768
|
]
|
|
12908
12769
|
},
|
|
12909
12770
|
{
|
|
12910
12771
|
"kind": "javascript-module",
|
|
12911
|
-
"path": "src/components/svgs/
|
|
12772
|
+
"path": "src/components/svgs/VoiceChannel.ts",
|
|
12912
12773
|
"declarations": [
|
|
12913
12774
|
{
|
|
12914
12775
|
"kind": "function",
|
|
12915
|
-
"name": "
|
|
12776
|
+
"name": "VoiceChannel",
|
|
12916
12777
|
"parameters": [
|
|
12917
12778
|
{
|
|
12918
12779
|
"name": "props",
|
|
@@ -12929,232 +12790,371 @@
|
|
|
12929
12790
|
"kind": "js",
|
|
12930
12791
|
"name": "default",
|
|
12931
12792
|
"declaration": {
|
|
12932
|
-
"name": "
|
|
12933
|
-
"module": "src/components/svgs/
|
|
12793
|
+
"name": "VoiceChannel",
|
|
12794
|
+
"module": "src/components/svgs/VoiceChannel.ts"
|
|
12934
12795
|
}
|
|
12935
12796
|
}
|
|
12936
12797
|
]
|
|
12937
12798
|
},
|
|
12938
12799
|
{
|
|
12939
12800
|
"kind": "javascript-module",
|
|
12940
|
-
"path": "src/components/
|
|
12801
|
+
"path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
|
|
12802
|
+
"declarations": [],
|
|
12803
|
+
"exports": []
|
|
12804
|
+
},
|
|
12805
|
+
{
|
|
12806
|
+
"kind": "javascript-module",
|
|
12807
|
+
"path": "src/components/_private/DiscordMediaLifecycle.ts",
|
|
12941
12808
|
"declarations": [
|
|
12942
12809
|
{
|
|
12943
|
-
"kind": "
|
|
12944
|
-
"
|
|
12945
|
-
"
|
|
12810
|
+
"kind": "class",
|
|
12811
|
+
"description": "",
|
|
12812
|
+
"name": "DiscordMediaLifecycle",
|
|
12813
|
+
"members": [
|
|
12814
|
+
{
|
|
12815
|
+
"kind": "field",
|
|
12816
|
+
"name": "mediaComponentRef",
|
|
12817
|
+
"type": {
|
|
12818
|
+
"text": "Ref<HTMLAudioElement | HTMLVideoElement>"
|
|
12819
|
+
},
|
|
12820
|
+
"privacy": "protected"
|
|
12821
|
+
},
|
|
12822
|
+
{
|
|
12823
|
+
"kind": "field",
|
|
12824
|
+
"name": "seekSliderRef",
|
|
12825
|
+
"type": {
|
|
12826
|
+
"text": "Ref<HTMLInputElement>"
|
|
12827
|
+
},
|
|
12828
|
+
"privacy": "protected"
|
|
12829
|
+
},
|
|
12830
|
+
{
|
|
12831
|
+
"kind": "field",
|
|
12832
|
+
"name": "volumeControlRef",
|
|
12833
|
+
"type": {
|
|
12834
|
+
"text": "Ref<HTMLDivElement>"
|
|
12835
|
+
},
|
|
12836
|
+
"privacy": "protected"
|
|
12837
|
+
},
|
|
12838
|
+
{
|
|
12839
|
+
"kind": "field",
|
|
12840
|
+
"name": "volumeControlInputRef",
|
|
12841
|
+
"type": {
|
|
12842
|
+
"text": "Ref<HTMLInputElement>"
|
|
12843
|
+
},
|
|
12844
|
+
"privacy": "protected"
|
|
12845
|
+
},
|
|
12846
|
+
{
|
|
12847
|
+
"kind": "field",
|
|
12848
|
+
"name": "currentPlaybackPosition",
|
|
12849
|
+
"type": {
|
|
12850
|
+
"text": "string"
|
|
12851
|
+
},
|
|
12852
|
+
"privacy": "protected",
|
|
12853
|
+
"default": "'0:00'"
|
|
12854
|
+
},
|
|
12855
|
+
{
|
|
12856
|
+
"kind": "field",
|
|
12857
|
+
"name": "leftPlaybackPosition",
|
|
12858
|
+
"type": {
|
|
12859
|
+
"text": "string"
|
|
12860
|
+
},
|
|
12861
|
+
"privacy": "protected",
|
|
12862
|
+
"default": "'0:00'"
|
|
12863
|
+
},
|
|
12864
|
+
{
|
|
12865
|
+
"kind": "field",
|
|
12866
|
+
"name": "totalMediaDuration",
|
|
12867
|
+
"type": {
|
|
12868
|
+
"text": "string"
|
|
12869
|
+
},
|
|
12870
|
+
"privacy": "protected",
|
|
12871
|
+
"default": "''"
|
|
12872
|
+
},
|
|
12873
|
+
{
|
|
12874
|
+
"kind": "field",
|
|
12875
|
+
"name": "isPlaying",
|
|
12876
|
+
"type": {
|
|
12877
|
+
"text": "boolean"
|
|
12878
|
+
},
|
|
12879
|
+
"privacy": "protected",
|
|
12880
|
+
"default": "false"
|
|
12881
|
+
},
|
|
12882
|
+
{
|
|
12883
|
+
"kind": "field",
|
|
12884
|
+
"name": "raf",
|
|
12885
|
+
"type": {
|
|
12886
|
+
"text": "number | null"
|
|
12887
|
+
},
|
|
12888
|
+
"privacy": "private",
|
|
12889
|
+
"default": "null"
|
|
12890
|
+
},
|
|
12891
|
+
{
|
|
12892
|
+
"kind": "field",
|
|
12893
|
+
"name": "isMuted",
|
|
12894
|
+
"type": {
|
|
12895
|
+
"text": "boolean"
|
|
12896
|
+
},
|
|
12897
|
+
"privacy": "protected",
|
|
12898
|
+
"default": "false"
|
|
12899
|
+
},
|
|
12900
|
+
{
|
|
12901
|
+
"kind": "field",
|
|
12902
|
+
"name": "currentVolume",
|
|
12903
|
+
"type": {
|
|
12904
|
+
"text": "number"
|
|
12905
|
+
},
|
|
12906
|
+
"privacy": "protected",
|
|
12907
|
+
"default": "1",
|
|
12908
|
+
"description": "Volume is a fractional value between 0 and 1"
|
|
12909
|
+
},
|
|
12910
|
+
{
|
|
12911
|
+
"kind": "field",
|
|
12912
|
+
"name": "hasEnded",
|
|
12913
|
+
"type": {
|
|
12914
|
+
"text": "boolean"
|
|
12915
|
+
},
|
|
12916
|
+
"privacy": "protected",
|
|
12917
|
+
"default": "false"
|
|
12918
|
+
},
|
|
12919
|
+
{
|
|
12920
|
+
"kind": "field",
|
|
12921
|
+
"name": "hasRunUpdate",
|
|
12922
|
+
"type": {
|
|
12923
|
+
"text": "boolean"
|
|
12924
|
+
},
|
|
12925
|
+
"privacy": "private",
|
|
12926
|
+
"default": "false"
|
|
12927
|
+
},
|
|
12928
|
+
{
|
|
12929
|
+
"kind": "method",
|
|
12930
|
+
"name": "calculateTime",
|
|
12931
|
+
"privacy": "protected",
|
|
12932
|
+
"parameters": [
|
|
12933
|
+
{
|
|
12934
|
+
"name": "secs",
|
|
12935
|
+
"type": {
|
|
12936
|
+
"text": "number"
|
|
12937
|
+
}
|
|
12938
|
+
}
|
|
12939
|
+
]
|
|
12940
|
+
},
|
|
12941
|
+
{
|
|
12942
|
+
"kind": "method",
|
|
12943
|
+
"name": "displayMediaDuration",
|
|
12944
|
+
"privacy": "protected"
|
|
12945
|
+
},
|
|
12946
|
+
{
|
|
12947
|
+
"kind": "method",
|
|
12948
|
+
"name": "displayLeftPlaybackPosition",
|
|
12949
|
+
"privacy": "protected",
|
|
12950
|
+
"parameters": [
|
|
12951
|
+
{
|
|
12952
|
+
"name": "bufferedAmount",
|
|
12953
|
+
"type": {
|
|
12954
|
+
"text": "number"
|
|
12955
|
+
}
|
|
12956
|
+
}
|
|
12957
|
+
]
|
|
12958
|
+
},
|
|
12959
|
+
{
|
|
12960
|
+
"kind": "method",
|
|
12961
|
+
"name": "setSliderMax",
|
|
12962
|
+
"privacy": "protected"
|
|
12963
|
+
},
|
|
12964
|
+
{
|
|
12965
|
+
"kind": "method",
|
|
12966
|
+
"name": "displayBufferedAmount",
|
|
12967
|
+
"privacy": "protected"
|
|
12968
|
+
},
|
|
12969
|
+
{
|
|
12970
|
+
"kind": "field",
|
|
12971
|
+
"name": "wavesurfer",
|
|
12972
|
+
"type": {
|
|
12973
|
+
"text": "WaveSurfer | null | undefined"
|
|
12974
|
+
},
|
|
12975
|
+
"privacy": "protected",
|
|
12976
|
+
"default": "null"
|
|
12977
|
+
},
|
|
12978
|
+
{
|
|
12979
|
+
"kind": "field",
|
|
12980
|
+
"name": "whilePlaying",
|
|
12981
|
+
"privacy": "protected"
|
|
12982
|
+
},
|
|
12983
|
+
{
|
|
12984
|
+
"kind": "method",
|
|
12985
|
+
"name": "handleEnded",
|
|
12986
|
+
"privacy": "protected"
|
|
12987
|
+
},
|
|
12988
|
+
{
|
|
12989
|
+
"kind": "method",
|
|
12990
|
+
"name": "handleClickPlayPauseIcon",
|
|
12991
|
+
"privacy": "protected"
|
|
12992
|
+
},
|
|
12993
|
+
{
|
|
12994
|
+
"kind": "field",
|
|
12995
|
+
"name": "handleSpaceToPlayPause",
|
|
12996
|
+
"privacy": "protected"
|
|
12997
|
+
},
|
|
12998
|
+
{
|
|
12999
|
+
"kind": "method",
|
|
13000
|
+
"name": "handleClickMuteIcon",
|
|
13001
|
+
"privacy": "protected"
|
|
13002
|
+
},
|
|
13003
|
+
{
|
|
13004
|
+
"kind": "method",
|
|
13005
|
+
"name": "handleSeekSliderInput",
|
|
13006
|
+
"privacy": "protected",
|
|
13007
|
+
"parameters": [
|
|
13008
|
+
{
|
|
13009
|
+
"name": "event",
|
|
13010
|
+
"type": {
|
|
13011
|
+
"text": "Event"
|
|
13012
|
+
}
|
|
13013
|
+
}
|
|
13014
|
+
]
|
|
13015
|
+
},
|
|
12946
13016
|
{
|
|
12947
|
-
"
|
|
12948
|
-
"
|
|
12949
|
-
"
|
|
12950
|
-
|
|
12951
|
-
}
|
|
12952
|
-
}
|
|
12953
|
-
]
|
|
12954
|
-
}
|
|
12955
|
-
],
|
|
12956
|
-
"exports": [
|
|
12957
|
-
{
|
|
12958
|
-
"kind": "js",
|
|
12959
|
-
"name": "default",
|
|
12960
|
-
"declaration": {
|
|
12961
|
-
"name": "UserLeave",
|
|
12962
|
-
"module": "src/components/svgs/UserLeave.ts"
|
|
12963
|
-
}
|
|
12964
|
-
}
|
|
12965
|
-
]
|
|
12966
|
-
},
|
|
12967
|
-
{
|
|
12968
|
-
"kind": "javascript-module",
|
|
12969
|
-
"path": "src/components/svgs/VerifiedBadgeOverlay.ts",
|
|
12970
|
-
"declarations": [
|
|
12971
|
-
{
|
|
12972
|
-
"kind": "function",
|
|
12973
|
-
"name": "VerifiedBadgeOverlay",
|
|
12974
|
-
"parameters": [
|
|
13017
|
+
"kind": "field",
|
|
13018
|
+
"name": "handleSeekSliderChange",
|
|
13019
|
+
"privacy": "protected"
|
|
13020
|
+
},
|
|
12975
13021
|
{
|
|
12976
|
-
"
|
|
12977
|
-
"
|
|
12978
|
-
"
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
"name": "default",
|
|
12989
|
-
"declaration": {
|
|
12990
|
-
"name": "VerifiedBadgeOverlay",
|
|
12991
|
-
"module": "src/components/svgs/VerifiedBadgeOverlay.ts"
|
|
12992
|
-
}
|
|
12993
|
-
}
|
|
12994
|
-
]
|
|
12995
|
-
},
|
|
12996
|
-
{
|
|
12997
|
-
"kind": "javascript-module",
|
|
12998
|
-
"path": "src/components/svgs/VerifiedTick.ts",
|
|
12999
|
-
"declarations": [
|
|
13000
|
-
{
|
|
13001
|
-
"kind": "function",
|
|
13002
|
-
"name": "VerifiedTick",
|
|
13003
|
-
"parameters": [
|
|
13022
|
+
"kind": "method",
|
|
13023
|
+
"name": "handleVolumeSliderInput",
|
|
13024
|
+
"privacy": "protected",
|
|
13025
|
+
"parameters": [
|
|
13026
|
+
{
|
|
13027
|
+
"name": "event",
|
|
13028
|
+
"type": {
|
|
13029
|
+
"text": "Event"
|
|
13030
|
+
}
|
|
13031
|
+
}
|
|
13032
|
+
]
|
|
13033
|
+
},
|
|
13004
13034
|
{
|
|
13005
|
-
"
|
|
13006
|
-
"
|
|
13007
|
-
"
|
|
13008
|
-
|
|
13009
|
-
}
|
|
13010
|
-
}
|
|
13011
|
-
]
|
|
13012
|
-
}
|
|
13013
|
-
],
|
|
13014
|
-
"exports": [
|
|
13015
|
-
{
|
|
13016
|
-
"kind": "js",
|
|
13017
|
-
"name": "default",
|
|
13018
|
-
"declaration": {
|
|
13019
|
-
"name": "VerifiedTick",
|
|
13020
|
-
"module": "src/components/svgs/VerifiedTick.ts"
|
|
13021
|
-
}
|
|
13022
|
-
}
|
|
13023
|
-
]
|
|
13024
|
-
},
|
|
13025
|
-
{
|
|
13026
|
-
"kind": "javascript-module",
|
|
13027
|
-
"path": "src/components/svgs/VideoFullScreenIcon.ts",
|
|
13028
|
-
"declarations": [
|
|
13029
|
-
{
|
|
13030
|
-
"kind": "function",
|
|
13031
|
-
"name": "VideoFullScreenIcon",
|
|
13032
|
-
"parameters": [
|
|
13035
|
+
"kind": "method",
|
|
13036
|
+
"name": "handleVolumeVerticalFocus",
|
|
13037
|
+
"privacy": "protected"
|
|
13038
|
+
},
|
|
13033
13039
|
{
|
|
13034
|
-
"
|
|
13035
|
-
"
|
|
13036
|
-
"
|
|
13037
|
-
|
|
13038
|
-
}
|
|
13039
|
-
}
|
|
13040
|
-
]
|
|
13041
|
-
},
|
|
13042
|
-
{
|
|
13043
|
-
"kind": "function",
|
|
13044
|
-
"name": "VideoExitFullScreenIcon",
|
|
13045
|
-
"parameters": [
|
|
13040
|
+
"kind": "method",
|
|
13041
|
+
"name": "handleVolumeVerticalBlur",
|
|
13042
|
+
"privacy": "protected"
|
|
13043
|
+
},
|
|
13046
13044
|
{
|
|
13047
|
-
"
|
|
13048
|
-
"
|
|
13049
|
-
"
|
|
13050
|
-
|
|
13051
|
-
|
|
13045
|
+
"kind": "method",
|
|
13046
|
+
"name": "handleVolumeControlKeyboard",
|
|
13047
|
+
"privacy": "protected",
|
|
13048
|
+
"parameters": [
|
|
13049
|
+
{
|
|
13050
|
+
"name": "event",
|
|
13051
|
+
"type": {
|
|
13052
|
+
"text": "KeyboardEvent"
|
|
13053
|
+
}
|
|
13054
|
+
}
|
|
13055
|
+
]
|
|
13056
|
+
},
|
|
13057
|
+
{
|
|
13058
|
+
"kind": "method",
|
|
13059
|
+
"name": "adjustVolume",
|
|
13060
|
+
"privacy": "protected",
|
|
13061
|
+
"parameters": [
|
|
13062
|
+
{
|
|
13063
|
+
"name": "change",
|
|
13064
|
+
"type": {
|
|
13065
|
+
"text": "number"
|
|
13066
|
+
}
|
|
13067
|
+
},
|
|
13068
|
+
{
|
|
13069
|
+
"name": "event",
|
|
13070
|
+
"type": {
|
|
13071
|
+
"text": "KeyboardEvent"
|
|
13072
|
+
}
|
|
13073
|
+
}
|
|
13074
|
+
]
|
|
13075
|
+
},
|
|
13076
|
+
{
|
|
13077
|
+
"kind": "field",
|
|
13078
|
+
"name": "mediaMetadataLoaded",
|
|
13079
|
+
"privacy": "protected"
|
|
13052
13080
|
}
|
|
13053
|
-
]
|
|
13081
|
+
],
|
|
13082
|
+
"superclass": {
|
|
13083
|
+
"name": "LitElement",
|
|
13084
|
+
"package": "lit"
|
|
13085
|
+
},
|
|
13086
|
+
"customElement": true
|
|
13054
13087
|
}
|
|
13055
13088
|
],
|
|
13056
13089
|
"exports": [
|
|
13057
13090
|
{
|
|
13058
13091
|
"kind": "js",
|
|
13059
|
-
"name": "
|
|
13060
|
-
"declaration": {
|
|
13061
|
-
"name": "VideoFullScreenIcon",
|
|
13062
|
-
"module": "src/components/svgs/VideoFullScreenIcon.ts"
|
|
13063
|
-
}
|
|
13064
|
-
},
|
|
13065
|
-
{
|
|
13066
|
-
"kind": "js",
|
|
13067
|
-
"name": "VideoExitFullScreenIcon",
|
|
13092
|
+
"name": "DiscordMediaLifecycle",
|
|
13068
13093
|
"declaration": {
|
|
13069
|
-
"name": "
|
|
13070
|
-
"module": "src/components/
|
|
13094
|
+
"name": "DiscordMediaLifecycle",
|
|
13095
|
+
"module": "src/components/_private/DiscordMediaLifecycle.ts"
|
|
13071
13096
|
}
|
|
13072
13097
|
}
|
|
13073
13098
|
]
|
|
13074
13099
|
},
|
|
13075
13100
|
{
|
|
13076
13101
|
"kind": "javascript-module",
|
|
13077
|
-
"path": "src/components/
|
|
13102
|
+
"path": "src/components/_private/DiscordPlaybackControlStyles.ts",
|
|
13078
13103
|
"declarations": [
|
|
13079
13104
|
{
|
|
13080
|
-
"kind": "
|
|
13081
|
-
"name": "
|
|
13082
|
-
"
|
|
13083
|
-
{
|
|
13084
|
-
"name": "props",
|
|
13085
|
-
"default": "{}",
|
|
13086
|
-
"type": {
|
|
13087
|
-
"text": "Record<string, unknown>"
|
|
13088
|
-
}
|
|
13089
|
-
}
|
|
13090
|
-
]
|
|
13105
|
+
"kind": "variable",
|
|
13106
|
+
"name": "DiscordPlaybackControlStyles",
|
|
13107
|
+
"default": "css` .discord-media-attachment-horizontal { width: 100%; display: flex; align-self: stretch; } .discord-media-attachment-media-bar-interaction { position: relative; flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; cursor: pointer; margin: 0 7px; } .discord-media-attachment-playback-control { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); } :host([light-theme]) { .discord-media-attachment-controls { background-color: hsl(0 calc(1 * 0%) 0% /0.4); } } .discord-media-attachment-controls.no-background { background-color: transparent !important; } .discord-media-attachment-playback-control:hover { box-shadow: 0 1px 1px hsl(0 calc(1 * 0%) 0% / 0.3); } .discord-media-attachment-playback-control::before { background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); left: -3px; border-radius: 3px 0 0 3px; content: ''; position: absolute; top: 0; height: 100%; width: 3px; z-index: 1; } input[type='range'].discord-media-attachment-playback-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-runnable-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::-moz-range-track { width: 2.47264%; height: 100%; cursor: pointer; opacity: 1; border-radius: 3px; background: linear-gradient(to right, hsla(0, 0%, 100%, 0.25) var(--buffered-width), transparent var(--buffered-width)) hsl(240 calc(1 * 4.762%) 79.412% / 0.3); } input[type='range'].discord-media-attachment-playback-control::before { position: absolute; content: ''; inset: 0; width: 100%; height: 100%; border-radius: 3px; z-index: 3; background: linear-gradient( to right, hsl(234.935 calc(1 * 85.556%) 64.706% /1) var(--seek-before-width), transparent var(--seek-before-width) ); cursor: pointer; } input[type='range'].discord-media-attachment-playback-control::-webkit-slider-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 8px; height: 8px; line-height: 8px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -webkit-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control::-moz-range-thumb { position: relative; cursor: pointer; border-radius: 100%; width: 9px; height: 9px; line-height: 9px; text-align: center; font-weight: 600; font-size: 12px; color: hsl(0 calc(1 * 0%) 97.6% / 1); opacity: 1; transition: opacity 0.2s ease-out, scale 0.2s ease-out; pointer-events: none; -moz-appearance: none; box-sizing: content-box; background-color: hsl(234.935 calc(1 * 85.556%) 64.706% /1); z-index: 4; margin: -1px 0 0 0; } input[type='range'].discord-media-attachment-playback-control:hover::-webkit-slider-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control:hover::-moz-range-thumb { scale: 1.2; filter: brightness(85%); } input[type='range'].discord-media-attachment-playback-control::-moz-range-progress { background-color: transparent; } input[type='range'].discord-media-attachment-playback-control::-moz-focus-outer { border: 0; } `"
|
|
13091
13108
|
}
|
|
13092
13109
|
],
|
|
13093
13110
|
"exports": [
|
|
13094
13111
|
{
|
|
13095
13112
|
"kind": "js",
|
|
13096
|
-
"name": "
|
|
13113
|
+
"name": "DiscordPlaybackControlStyles",
|
|
13097
13114
|
"declaration": {
|
|
13098
|
-
"name": "
|
|
13099
|
-
"module": "src/components/
|
|
13115
|
+
"name": "DiscordPlaybackControlStyles",
|
|
13116
|
+
"module": "src/components/_private/DiscordPlaybackControlStyles.ts"
|
|
13100
13117
|
}
|
|
13101
13118
|
}
|
|
13102
13119
|
]
|
|
13103
13120
|
},
|
|
13104
13121
|
{
|
|
13105
13122
|
"kind": "javascript-module",
|
|
13106
|
-
"path": "src/components/
|
|
13123
|
+
"path": "src/components/_private/DiscordVolumeControlStyles.ts",
|
|
13107
13124
|
"declarations": [
|
|
13108
13125
|
{
|
|
13109
|
-
"kind": "
|
|
13110
|
-
"name": "
|
|
13111
|
-
"
|
|
13112
|
-
{
|
|
13113
|
-
"name": "props",
|
|
13114
|
-
"default": "{}",
|
|
13115
|
-
"type": {
|
|
13116
|
-
"text": "Record<string, unknown>"
|
|
13117
|
-
}
|
|
13118
|
-
}
|
|
13119
|
-
]
|
|
13126
|
+
"kind": "variable",
|
|
13127
|
+
"name": "DiscordVolumeControlStyles",
|
|
13128
|
+
"default": "css` .discord-media-attachment-flex { display: flex; } .discord-media-attachment-flex-container { justify-content: flex-end; align-items: center; flex-direction: column; display: flex; position: relative; } .discord-volume-container { border-radius: 50%; &:hover, :has(:focus-visible) { .discord-media-attachment-button-slider { opacity: 1; pointer-events: all; } } } .discord-media-attachment-button-slider { --slider-width: 98px; --slider-height: 16px; position: absolute; padding-bottom: 4px; bottom: 32px; opacity: 0; pointer-events: none; width: var(--slider-height); height: var(--slider-width); -webkit-app-region: no-drag; .discord-media-attachment-volume-vertical { padding: 3px; border-radius: 8px; overflow: hidden; background-color: #141417; display: flex; align-items: center; width: var(--slider-width); height: var(--slider-height); box-sizing: border-box; transform-origin: top right; transform: rotate(-90deg) translateY(calc(var(--slider-width) * -1)); input[type='range'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 8px; background: hsl(240 calc(1 * 4.762%) 79.412% / 0.3); border-radius: 3px; overflow: hidden; &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } &::-moz-range-thumb { -webkit-appearance: none; appearance: none; border-radius: 50%; width: 6px; height: 6px; background-color: hsl(234.935 calc(1 * 85.556%) 64.706%); box-shadow: -407px 0 0 404px hsl(234.935 calc(1 * 85.556%) 64.706%); } } } } .discord-voice-message { .discord-media-attachment-button-slider { padding-bottom: 0px; } } :host([light-theme]) { .discord-media-attachment-volume-vertical { background-color: #515151; } } .discord-media-attachment-button { cursor: pointer; line-height: 0; width: auto; background: transparent; color: currentColor; border: 0; padding: 0; margin: 0; position: relative; display: flex; justify-content: center; align-items: center; box-sizing: border-box; border-radius: 3px; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .discord-volume-container { button { border-radius: 50%; } } .discord-media-attachment-button-content { --custom-button-link-underline-offset: 1px; --button--underline-color: transparent; --custom-button-link-underline-width: 1px; --custom-button-link-underline-stop: calc(var(--custom-button-link-underline-width) + var(--custom-button-link-underline-offset)); background-image: linear-gradient( to top, transparent, transparent var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-offset), var(--button--underline-color) var(--custom-button-link-underline-stop), transparent var(--custom-button-link-underline-stop) ); } .discord-media-attachment-button-control-icon { display: block; width: 24px; height: 24px; padding: 4px; cursor: pointer; flex: 0 0 auto; opacity: 0.6; } .discord-media-attachment-volume-slider { position: relative; height: 6px; background-color: hsl(210 calc(1 * 9.3%) 78.8% / 0.3); width: 88px; } `"
|
|
13120
13129
|
}
|
|
13121
13130
|
],
|
|
13122
13131
|
"exports": [
|
|
13123
13132
|
{
|
|
13124
13133
|
"kind": "js",
|
|
13125
|
-
"name": "
|
|
13134
|
+
"name": "DiscordVolumeControlStyles",
|
|
13126
13135
|
"declaration": {
|
|
13127
|
-
"name": "
|
|
13128
|
-
"module": "src/components/
|
|
13136
|
+
"name": "DiscordVolumeControlStyles",
|
|
13137
|
+
"module": "src/components/_private/DiscordVolumeControlStyles.ts"
|
|
13129
13138
|
}
|
|
13130
13139
|
}
|
|
13131
13140
|
]
|
|
13132
13141
|
},
|
|
13133
13142
|
{
|
|
13134
13143
|
"kind": "javascript-module",
|
|
13135
|
-
"path": "src/components/
|
|
13144
|
+
"path": "src/components/_private/mediaGalleryFullScreenContext.ts",
|
|
13136
13145
|
"declarations": [
|
|
13137
13146
|
{
|
|
13138
|
-
"kind": "
|
|
13139
|
-
"name": "
|
|
13140
|
-
"parameters": [
|
|
13141
|
-
{
|
|
13142
|
-
"name": "props",
|
|
13143
|
-
"default": "{}",
|
|
13144
|
-
"type": {
|
|
13145
|
-
"text": "Record<string, unknown>"
|
|
13146
|
-
}
|
|
13147
|
-
}
|
|
13148
|
-
]
|
|
13147
|
+
"kind": "variable",
|
|
13148
|
+
"name": "isInMediaFullScreenPreviewer"
|
|
13149
13149
|
}
|
|
13150
13150
|
],
|
|
13151
13151
|
"exports": [
|
|
13152
13152
|
{
|
|
13153
13153
|
"kind": "js",
|
|
13154
|
-
"name": "
|
|
13154
|
+
"name": "isInMediaFullScreenPreviewer",
|
|
13155
13155
|
"declaration": {
|
|
13156
|
-
"name": "
|
|
13157
|
-
"module": "src/components/
|
|
13156
|
+
"name": "isInMediaFullScreenPreviewer",
|
|
13157
|
+
"module": "src/components/_private/mediaGalleryFullScreenContext.ts"
|
|
13158
13158
|
}
|
|
13159
13159
|
}
|
|
13160
13160
|
]
|