@penwin/discord-components-core 4.2.1 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2483 -690
- package/dist/bundle/index.mjs +1681 -1148
- package/dist/bundle/index.mjs.map +1 -1
- package/dist/components/_private/BaseDiscordSelectMenuOption.d.ts +12 -0
- package/dist/components/_private/BaseDiscordSelectMenuOption.d.ts.map +1 -0
- package/dist/components/_private/BaseDiscordSelectMenuOption.js +121 -0
- package/dist/components/_private/BaseDiscordSelectMenuOption.js.map +1 -0
- package/dist/components/discord-author-info/DiscordAuthorInfo.js +1 -1
- package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.d.ts +29 -0
- package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.d.ts.map +1 -0
- package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js +214 -0
- package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js.map +1 -0
- package/dist/components/discord-custom-emoji/DiscordCustomEmoji.js +2 -2
- package/dist/components/discord-embed/DiscordEmbed.d.ts +2 -0
- package/dist/components/discord-embed/DiscordEmbed.d.ts.map +1 -1
- package/dist/components/discord-embed/DiscordEmbed.js +54 -8
- package/dist/components/discord-embed/DiscordEmbed.js.map +1 -1
- package/dist/components/discord-embed-description/DiscordEmbedDescription.d.ts.map +1 -1
- package/dist/components/discord-embed-description/DiscordEmbedDescription.js +4 -0
- package/dist/components/discord-embed-description/DiscordEmbedDescription.js.map +1 -1
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.d.ts +3 -2
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.d.ts.map +1 -1
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +11 -31
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js.map +1 -1
- package/dist/components/discord-header/DiscordHeader.js +3 -3
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts +7 -6
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.d.ts.map +1 -1
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +42 -13
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js.map +1 -1
- package/dist/components/discord-media-gallery/DiscordMediaGallery.d.ts +4 -4
- package/dist/components/discord-media-gallery/DiscordMediaGallery.d.ts.map +1 -1
- package/dist/components/discord-media-gallery/DiscordMediaGallery.js +2 -5
- package/dist/components/discord-media-gallery/DiscordMediaGallery.js.map +1 -1
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts +4 -2
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -1
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +40 -8
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
- package/dist/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.d.ts +10 -0
- package/dist/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.d.ts.map +1 -0
- package/dist/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.js +19 -0
- package/dist/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.js.map +1 -0
- package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
- package/dist/components/discord-message/DiscordMessage.js +13 -2
- package/dist/components/discord-message/DiscordMessage.js.map +1 -1
- package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.d.ts +29 -0
- package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.d.ts.map +1 -0
- package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js +141 -0
- package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js.map +1 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts +14 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts.map +1 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +84 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js.map +1 -0
- package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.d.ts +16 -1
- package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.d.ts.map +1 -1
- package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js +214 -29
- package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js.map +1 -1
- package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.d.ts +4 -6
- package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.d.ts.map +1 -1
- package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.js +44 -60
- package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.js.map +1 -1
- package/dist/components/discord-thumbnail/DiscordThumbnail.d.ts +1 -0
- package/dist/components/discord-thumbnail/DiscordThumbnail.d.ts.map +1 -1
- package/dist/components/discord-thumbnail/DiscordThumbnail.js +17 -4
- package/dist/components/discord-thumbnail/DiscordThumbnail.js.map +1 -1
- package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.d.ts +31 -0
- package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.d.ts.map +1 -0
- package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js +129 -0
- package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js.map +1 -0
- package/dist/components/discord-video-attachment/DiscordVideoAttachment.d.ts +2 -0
- package/dist/components/discord-video-attachment/DiscordVideoAttachment.d.ts.map +1 -1
- package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +38 -6
- package/dist/components/discord-video-attachment/DiscordVideoAttachment.js.map +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/util.d.ts +1 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +48 -0
- package/dist/util.js.map +1 -1
- package/package.json +15 -4
package/custom-elements.json
CHANGED
|
@@ -216,6 +216,30 @@
|
|
|
216
216
|
"path": "src/index.ts",
|
|
217
217
|
"declarations": [],
|
|
218
218
|
"exports": [
|
|
219
|
+
{
|
|
220
|
+
"kind": "js",
|
|
221
|
+
"name": "RoleSelectMenuOptionData",
|
|
222
|
+
"declaration": {
|
|
223
|
+
"name": "RoleSelectMenuOptionData",
|
|
224
|
+
"module": "./components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "js",
|
|
229
|
+
"name": "UserSelectMenuOptionData",
|
|
230
|
+
"declaration": {
|
|
231
|
+
"name": "UserSelectMenuOptionData",
|
|
232
|
+
"module": "./components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "js",
|
|
237
|
+
"name": "ChannelSelectMenuOptionData",
|
|
238
|
+
"declaration": {
|
|
239
|
+
"name": "ChannelSelectMenuOptionData",
|
|
240
|
+
"module": "./components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
219
243
|
{
|
|
220
244
|
"kind": "js",
|
|
221
245
|
"name": "DiscordActionRow",
|
|
@@ -264,6 +288,14 @@
|
|
|
264
288
|
"module": "./components/discord-button/DiscordButton.js"
|
|
265
289
|
}
|
|
266
290
|
},
|
|
291
|
+
{
|
|
292
|
+
"kind": "js",
|
|
293
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
294
|
+
"declaration": {
|
|
295
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
296
|
+
"module": "./components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
267
299
|
{
|
|
268
300
|
"kind": "js",
|
|
269
301
|
"name": "DiscordCode",
|
|
@@ -464,6 +496,14 @@
|
|
|
464
496
|
"module": "./components/discord-mention/DiscordMention.js"
|
|
465
497
|
}
|
|
466
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"kind": "js",
|
|
501
|
+
"name": "DiscordMentionableSelectMenu",
|
|
502
|
+
"declaration": {
|
|
503
|
+
"name": "DiscordMentionableSelectMenu",
|
|
504
|
+
"module": "./components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.js"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
467
507
|
{
|
|
468
508
|
"kind": "js",
|
|
469
509
|
"name": "DiscordMessage",
|
|
@@ -552,6 +592,14 @@
|
|
|
552
592
|
"module": "./components/discord-reply/DiscordReply.js"
|
|
553
593
|
}
|
|
554
594
|
},
|
|
595
|
+
{
|
|
596
|
+
"kind": "js",
|
|
597
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
598
|
+
"declaration": {
|
|
599
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
600
|
+
"module": "./components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
555
603
|
{
|
|
556
604
|
"kind": "js",
|
|
557
605
|
"name": "DiscordSection",
|
|
@@ -568,6 +616,14 @@
|
|
|
568
616
|
"module": "./components/discord-section-components/DiscordSectionComponents.js"
|
|
569
617
|
}
|
|
570
618
|
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "js",
|
|
621
|
+
"name": "DiscordSelectMenuPortal",
|
|
622
|
+
"declaration": {
|
|
623
|
+
"name": "DiscordSelectMenuPortal",
|
|
624
|
+
"module": "./components/discord-select-menu-portal/DiscordSelectMenuPortal.js"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
571
627
|
{
|
|
572
628
|
"kind": "js",
|
|
573
629
|
"name": "DiscordSeparator",
|
|
@@ -696,6 +752,14 @@
|
|
|
696
752
|
"module": "./components/discord-unordered-list/DiscordUnorderedList.js"
|
|
697
753
|
}
|
|
698
754
|
},
|
|
755
|
+
{
|
|
756
|
+
"kind": "js",
|
|
757
|
+
"name": "DiscordUserSelectMenuOption",
|
|
758
|
+
"declaration": {
|
|
759
|
+
"name": "DiscordUserSelectMenuOption",
|
|
760
|
+
"module": "./components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
699
763
|
{
|
|
700
764
|
"kind": "js",
|
|
701
765
|
"name": "DiscordVerifiedAuthorTag",
|
|
@@ -911,6 +975,27 @@
|
|
|
911
975
|
}
|
|
912
976
|
}
|
|
913
977
|
]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "function",
|
|
981
|
+
"name": "dateFormatter",
|
|
982
|
+
"return": {
|
|
983
|
+
"type": {
|
|
984
|
+
"text": "string"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"parameters": [
|
|
988
|
+
{
|
|
989
|
+
"name": "date",
|
|
990
|
+
"type": {
|
|
991
|
+
"text": "Date | string"
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "allowWeekday",
|
|
996
|
+
"default": "false"
|
|
997
|
+
}
|
|
998
|
+
]
|
|
914
999
|
}
|
|
915
1000
|
],
|
|
916
1001
|
"exports": [
|
|
@@ -969,6 +1054,14 @@
|
|
|
969
1054
|
"name": "litMemo",
|
|
970
1055
|
"module": "src/util.ts"
|
|
971
1056
|
}
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"kind": "js",
|
|
1060
|
+
"name": "dateFormatter",
|
|
1061
|
+
"declaration": {
|
|
1062
|
+
"name": "dateFormatter",
|
|
1063
|
+
"module": "src/util.ts"
|
|
1064
|
+
}
|
|
972
1065
|
}
|
|
973
1066
|
]
|
|
974
1067
|
},
|
|
@@ -2124,25 +2217,84 @@
|
|
|
2124
2217
|
},
|
|
2125
2218
|
{
|
|
2126
2219
|
"kind": "javascript-module",
|
|
2127
|
-
"path": "src/components/discord-
|
|
2220
|
+
"path": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts",
|
|
2128
2221
|
"declarations": [
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "variable",
|
|
2224
|
+
"name": "channelIcon",
|
|
2225
|
+
"type": {
|
|
2226
|
+
"text": "Record<number | string, { normal: TemplateResult; private?: TemplateResult }>"
|
|
2227
|
+
},
|
|
2228
|
+
"default": "{ '0': { // Guild Text normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10.99 3.16A1 1 0 1 0 9 2.84L8.15 8H4a1 1 0 0 0 0 2h3.82l-.67 4H3a1 1 0 1 0 0 2h3.82l-.8 4.84a1 1 0 0 0 1.97.32L8.85 16h4.97l-.8 4.84a1 1 0 0 0 1.97.32l.86-5.16H20a1 1 0 1 0 0-2h-3.82l.67-4H21a1 1 0 1 0 0-2h-3.82l.8-4.84a1 1 0 1 0-1.97-.32L15.15 8h-4.97l.8-4.84ZM14.15 14l.67-4H9.85l-.67 4h4.97Z\" clip-rule=\"evenodd\" class=\"\" ></path> </svg> `, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M12.5 8c.28 0 .5.22.5.5V9c0 .1 0 .2.02.31.03.34-.21.69-.56.69H9.85l-.67 4h4.97l.28-1.68c.06-.34.44-.52.77-.43a3 3 0 0 0 .8.11c.27 0 .47.24.43.5l-.25 1.5H20a1 1 0 1 1 0 2h-4.15l-.86 5.16a1 1 0 0 1-1.98-.32l.8-4.84H8.86l-.86 5.16A1 1 0 0 1 6 20.84L6.82 16H3a1 1 0 1 1 0-2h4.15l.67-4H4a1 1 0 1 1 0-2h4.15l.86-5.16a1 1 0 1 1 1.98.32L10.19 8h2.31Z\" class=\"\" ></path> </svg> ` }, '2': { // Guild Voice normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M12 3a1 1 0 0 0-1-1h-.06a1 1 0 0 0-.74.32L5.92 7H3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.92l4.28 4.68a1 1 0 0 0 .74.32H11a1 1 0 0 0 1-1V3ZM15.1 20.75c-.58.14-1.1-.33-1.1-.92v-.03c0-.5.37-.92.85-1.05a7 7 0 0 0 0-13.5A1.11 1.11 0 0 1 14 4.2v-.03c0-.6.52-1.06 1.1-.92a9 9 0 0 1 0 17.5Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M15.16 16.51c-.57.28-1.16-.2-1.16-.83v-.14c0-.43.28-.8.63-1.02a3 3 0 0 0 0-5.04c-.35-.23-.63-.6-.63-1.02v-.14c0-.63.59-1.1 1.16-.83a5 5 0 0 1 0 9.02Z\" class=\"\" ></path> </svg>`, private: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16 4h.5v-.5a2.5 2.5 0 0 1 5 0V4h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Zm4-.5V4h-2v-.5a1 1 0 1 1 2 0Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M11 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1h-.06a1 1 0 0 1-.74-.32L5.92 17H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h2.92l4.28-4.68a1 1 0 0 1 .74-.32H11ZM20.5 12c-.28 0-.5.22-.52.5a7 7 0 0 1-5.13 6.25c-.48.13-.85.55-.85 1.05v.03c0 .6.52 1.06 1.1.92a9 9 0 0 0 6.89-8.25.48.48 0 0 0-.49-.5h-1ZM16.5 12c-.28 0-.5.23-.54.5a3 3 0 0 1-1.33 2.02c-.35.23-.63.6-.63 1.02v.14c0 .63.59 1.1 1.16.83a5 5 0 0 0 2.82-4.01c.02-.28-.2-.5-.48-.5h-1Z\" class=\"\" ></path> </svg> ` }, '4': { // Guild Category normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M2 5a3 3 0 0 1 3-3h3.93a2 2 0 0 1 1.66.9L12 5h7a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Z\" class=\"\" ></path> </svg>` }, '5': { // Guild Announcement normal: html` <svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M19.56 2a3 3 0 0 0-2.46 1.28 3.85 3.85 0 0 1-1.86 1.42l-8.9 3.18a.5.5 0 0 0-.34.47v10.09a3 3 0 0 0 2.27 2.9l.62.16c1.57.4 3.15-.56 3.55-2.12a.92.92 0 0 1 1.23-.63l2.36.94c.42.27.79.62 1.07 1.03A3 3 0 0 0 19.56 22h.94c.83 0 1.5-.67 1.5-1.5v-17c0-.83-.67-1.5-1.5-1.5h-.94Zm-8.53 15.8L8 16.7v1.73a1 1 0 0 0 .76.97l.62.15c.5.13 1-.17 1.12-.67.1-.41.29-.78.53-1.1Z\" clip-rule=\"evenodd\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M2 10c0-1.1.9-2 2-2h.5c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5H4a2 2 0 0 1-2-2v-4Z\" class=\"\"></path> </svg> ` }, '15': { // Guild Forum normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"> <path fill=\"currentColor\" d=\"M18.91 12.98a5.45 5.45 0 0 1 2.18 6.2c-.1.33-.09.68.1.96l.83 1.32a1 1 0 0 1-.84 1.54h-5.5A5.6 5.6 0 0 1 10 17.5a5.6 5.6 0 0 1 5.68-5.5c1.2 0 2.32.36 3.23.98Z\" class=\"\" ></path> <path fill=\"currentColor\" d=\"M19.24 10.86c.32.16.72-.02.74-.38L20 10c0-4.42-4.03-8-9-8s-9 3.58-9 8c0 1.5.47 2.91 1.28 4.11.14.21.12.49-.06.67l-1.51 1.51A1 1 0 0 0 2.4 18h5.1a.5.5 0 0 0 .49-.5c0-4.2 3.5-7.5 7.68-7.5 1.28 0 2.5.3 3.56.86Z\" class=\"\" ></path> </svg>` }, '16': { // Guild Media normal: html`<svg aria-hidden=\"true\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" width=\"24\" height=\"24\" viewBox=\"0 0 64 64\"> <path fill=\"currentColor\" d=\"M56 50.6667V13.3333C56 10.4 53.6 8 50.6667 8H13.3333C10.4 8 8 10.4 8 13.3333V50.6667C8 53.6 10.4 56 13.3333 56H50.6667C53.6 56 56 53.6 56 50.6667ZM22.6667 36L29.3333 44.0267L38.6667 32L50.6667 48H13.3333L22.6667 36Z\" /> </svg>` } }"
|
|
2229
|
+
},
|
|
2129
2230
|
{
|
|
2130
2231
|
"kind": "class",
|
|
2131
2232
|
"description": "",
|
|
2132
|
-
"name": "
|
|
2233
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
2133
2234
|
"members": [
|
|
2134
2235
|
{
|
|
2135
2236
|
"kind": "field",
|
|
2136
|
-
"name": "
|
|
2237
|
+
"name": "identifier",
|
|
2238
|
+
"type": {
|
|
2239
|
+
"text": "string"
|
|
2240
|
+
},
|
|
2241
|
+
"privacy": "public",
|
|
2242
|
+
"attribute": "identifier",
|
|
2243
|
+
"reflects": true
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"kind": "field",
|
|
2247
|
+
"name": "name",
|
|
2248
|
+
"type": {
|
|
2249
|
+
"text": "string"
|
|
2250
|
+
},
|
|
2251
|
+
"privacy": "public",
|
|
2252
|
+
"attribute": "name",
|
|
2253
|
+
"reflects": true
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"kind": "field",
|
|
2257
|
+
"name": "type",
|
|
2258
|
+
"type": {
|
|
2259
|
+
"text": "number"
|
|
2260
|
+
},
|
|
2261
|
+
"privacy": "public",
|
|
2262
|
+
"attribute": "type",
|
|
2263
|
+
"reflects": true
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"kind": "field",
|
|
2267
|
+
"name": "isPrivate",
|
|
2137
2268
|
"type": {
|
|
2138
2269
|
"text": "boolean"
|
|
2139
2270
|
},
|
|
2140
2271
|
"privacy": "public",
|
|
2141
2272
|
"default": "false",
|
|
2142
|
-
"
|
|
2143
|
-
"attribute": "multiline",
|
|
2273
|
+
"attribute": "is-private",
|
|
2144
2274
|
"reflects": true
|
|
2145
2275
|
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "method",
|
|
2278
|
+
"name": "filter",
|
|
2279
|
+
"privacy": "public",
|
|
2280
|
+
"return": {
|
|
2281
|
+
"type": {
|
|
2282
|
+
"text": "boolean"
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
"parameters": [
|
|
2286
|
+
{
|
|
2287
|
+
"name": "searchValue",
|
|
2288
|
+
"type": {
|
|
2289
|
+
"text": "string"
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
],
|
|
2293
|
+
"inheritedFrom": {
|
|
2294
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2295
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2146
2298
|
{
|
|
2147
2299
|
"kind": "field",
|
|
2148
2300
|
"name": "lightTheme",
|
|
@@ -2152,30 +2304,109 @@
|
|
|
2152
2304
|
"privacy": "public",
|
|
2153
2305
|
"default": "false",
|
|
2154
2306
|
"attribute": "light-theme",
|
|
2155
|
-
"reflects": true
|
|
2307
|
+
"reflects": true,
|
|
2308
|
+
"inheritedFrom": {
|
|
2309
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2310
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2311
|
+
}
|
|
2156
2312
|
},
|
|
2157
2313
|
{
|
|
2158
2314
|
"kind": "field",
|
|
2159
|
-
"name": "
|
|
2315
|
+
"name": "selected",
|
|
2160
2316
|
"type": {
|
|
2161
2317
|
"text": "boolean"
|
|
2162
2318
|
},
|
|
2163
2319
|
"privacy": "public",
|
|
2164
2320
|
"default": "false",
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2321
|
+
"attribute": "selected",
|
|
2322
|
+
"reflects": true,
|
|
2323
|
+
"inheritedFrom": {
|
|
2324
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2325
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "field",
|
|
2330
|
+
"name": "baseStyles",
|
|
2331
|
+
"privacy": "public",
|
|
2332
|
+
"static": true,
|
|
2333
|
+
"default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `",
|
|
2334
|
+
"inheritedFrom": {
|
|
2335
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2336
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"kind": "method",
|
|
2341
|
+
"name": "renderSelectedContainer",
|
|
2342
|
+
"privacy": "protected",
|
|
2343
|
+
"parameters": [
|
|
2344
|
+
{
|
|
2345
|
+
"name": "content",
|
|
2346
|
+
"type": {
|
|
2347
|
+
"text": "TemplateResult"
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
],
|
|
2351
|
+
"inheritedFrom": {
|
|
2352
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2353
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"kind": "field",
|
|
2358
|
+
"name": "visible",
|
|
2359
|
+
"type": {
|
|
2360
|
+
"text": "boolean"
|
|
2361
|
+
},
|
|
2362
|
+
"privacy": "public",
|
|
2363
|
+
"default": "true",
|
|
2364
|
+
"attribute": "visible",
|
|
2365
|
+
"reflects": true,
|
|
2366
|
+
"inheritedFrom": {
|
|
2367
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2368
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2369
|
+
}
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"kind": "method",
|
|
2373
|
+
"name": "selectOption",
|
|
2374
|
+
"privacy": "public",
|
|
2375
|
+
"inheritedFrom": {
|
|
2376
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2377
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2378
|
+
}
|
|
2168
2379
|
}
|
|
2169
2380
|
],
|
|
2170
2381
|
"attributes": [
|
|
2171
2382
|
{
|
|
2172
|
-
"name": "
|
|
2383
|
+
"name": "identifier",
|
|
2384
|
+
"type": {
|
|
2385
|
+
"text": "string"
|
|
2386
|
+
},
|
|
2387
|
+
"fieldName": "identifier"
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"name": "name",
|
|
2391
|
+
"type": {
|
|
2392
|
+
"text": "string"
|
|
2393
|
+
},
|
|
2394
|
+
"fieldName": "name"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "type",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "number"
|
|
2400
|
+
},
|
|
2401
|
+
"fieldName": "type"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "is-private",
|
|
2173
2405
|
"type": {
|
|
2174
2406
|
"text": "boolean"
|
|
2175
2407
|
},
|
|
2176
2408
|
"default": "false",
|
|
2177
|
-
"
|
|
2178
|
-
"fieldName": "multiline"
|
|
2409
|
+
"fieldName": "isPrivate"
|
|
2179
2410
|
},
|
|
2180
2411
|
{
|
|
2181
2412
|
"name": "light-theme",
|
|
@@ -2183,99 +2414,226 @@
|
|
|
2183
2414
|
"text": "boolean"
|
|
2184
2415
|
},
|
|
2185
2416
|
"default": "false",
|
|
2186
|
-
"fieldName": "lightTheme"
|
|
2417
|
+
"fieldName": "lightTheme",
|
|
2418
|
+
"inheritedFrom": {
|
|
2419
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2420
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2421
|
+
}
|
|
2187
2422
|
},
|
|
2188
2423
|
{
|
|
2189
|
-
"name": "
|
|
2424
|
+
"name": "selected",
|
|
2190
2425
|
"type": {
|
|
2191
2426
|
"text": "boolean"
|
|
2192
2427
|
},
|
|
2193
2428
|
"default": "false",
|
|
2194
|
-
"
|
|
2195
|
-
"
|
|
2429
|
+
"fieldName": "selected",
|
|
2430
|
+
"inheritedFrom": {
|
|
2431
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2432
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"name": "visible",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "boolean"
|
|
2439
|
+
},
|
|
2440
|
+
"default": "true",
|
|
2441
|
+
"fieldName": "visible",
|
|
2442
|
+
"inheritedFrom": {
|
|
2443
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2444
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
2445
|
+
}
|
|
2196
2446
|
}
|
|
2197
2447
|
],
|
|
2198
2448
|
"superclass": {
|
|
2199
|
-
"name": "
|
|
2200
|
-
"
|
|
2449
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
2450
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
2201
2451
|
},
|
|
2202
|
-
"tagName": "discord-
|
|
2452
|
+
"tagName": "discord-channel-select-menu-option",
|
|
2203
2453
|
"customElement": true
|
|
2204
2454
|
}
|
|
2205
2455
|
],
|
|
2206
2456
|
"exports": [
|
|
2207
2457
|
{
|
|
2208
2458
|
"kind": "js",
|
|
2209
|
-
"name": "
|
|
2459
|
+
"name": "channelIcon",
|
|
2210
2460
|
"declaration": {
|
|
2211
|
-
"name": "
|
|
2212
|
-
"module": "src/components/discord-
|
|
2461
|
+
"name": "channelIcon",
|
|
2462
|
+
"module": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "js",
|
|
2467
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
2468
|
+
"declaration": {
|
|
2469
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
2470
|
+
"module": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts"
|
|
2213
2471
|
}
|
|
2214
2472
|
},
|
|
2215
2473
|
{
|
|
2216
2474
|
"kind": "custom-element-definition",
|
|
2217
|
-
"name": "discord-
|
|
2475
|
+
"name": "discord-channel-select-menu-option",
|
|
2218
2476
|
"declaration": {
|
|
2219
|
-
"name": "
|
|
2220
|
-
"module": "src/components/discord-
|
|
2477
|
+
"name": "DiscordChannelSelectMenuOption",
|
|
2478
|
+
"module": "src/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.ts"
|
|
2221
2479
|
}
|
|
2222
2480
|
}
|
|
2223
2481
|
]
|
|
2224
2482
|
},
|
|
2225
2483
|
{
|
|
2226
2484
|
"kind": "javascript-module",
|
|
2227
|
-
"path": "src/components/discord-code
|
|
2485
|
+
"path": "src/components/discord-code/DiscordCode.ts",
|
|
2228
2486
|
"declarations": [
|
|
2229
2487
|
{
|
|
2230
2488
|
"kind": "class",
|
|
2231
2489
|
"description": "",
|
|
2232
|
-
"name": "
|
|
2490
|
+
"name": "DiscordCode",
|
|
2233
2491
|
"members": [
|
|
2234
2492
|
{
|
|
2235
2493
|
"kind": "field",
|
|
2236
|
-
"name": "
|
|
2494
|
+
"name": "multiline",
|
|
2237
2495
|
"type": {
|
|
2238
|
-
"text": "
|
|
2496
|
+
"text": "boolean"
|
|
2239
2497
|
},
|
|
2240
2498
|
"privacy": "public",
|
|
2241
|
-
"
|
|
2499
|
+
"default": "false",
|
|
2500
|
+
"description": "Whether this code block is a multi-line code block",
|
|
2501
|
+
"attribute": "multiline",
|
|
2502
|
+
"reflects": true
|
|
2242
2503
|
},
|
|
2243
2504
|
{
|
|
2244
2505
|
"kind": "field",
|
|
2245
|
-
"name": "
|
|
2506
|
+
"name": "lightTheme",
|
|
2246
2507
|
"type": {
|
|
2247
|
-
"text": "
|
|
2508
|
+
"text": "boolean"
|
|
2248
2509
|
},
|
|
2249
2510
|
"privacy": "public",
|
|
2250
|
-
"
|
|
2251
|
-
"attribute": "
|
|
2511
|
+
"default": "false",
|
|
2512
|
+
"attribute": "light-theme",
|
|
2513
|
+
"reflects": true
|
|
2252
2514
|
},
|
|
2253
2515
|
{
|
|
2254
2516
|
"kind": "field",
|
|
2255
|
-
"name": "
|
|
2517
|
+
"name": "embed",
|
|
2256
2518
|
"type": {
|
|
2257
2519
|
"text": "boolean"
|
|
2258
2520
|
},
|
|
2259
2521
|
"privacy": "public",
|
|
2260
2522
|
"default": "false",
|
|
2261
|
-
"
|
|
2523
|
+
"description": "Whether this code block exists within a `discord-embed` component.",
|
|
2524
|
+
"attribute": "embed",
|
|
2262
2525
|
"reflects": true
|
|
2263
2526
|
}
|
|
2264
2527
|
],
|
|
2265
2528
|
"attributes": [
|
|
2266
2529
|
{
|
|
2267
|
-
"name": "
|
|
2530
|
+
"name": "multiline",
|
|
2268
2531
|
"type": {
|
|
2269
|
-
"text": "
|
|
2532
|
+
"text": "boolean"
|
|
2270
2533
|
},
|
|
2271
|
-
"
|
|
2534
|
+
"default": "false",
|
|
2535
|
+
"description": "Whether this code block is a multi-line code block",
|
|
2536
|
+
"fieldName": "multiline"
|
|
2272
2537
|
},
|
|
2273
2538
|
{
|
|
2274
|
-
"name": "
|
|
2539
|
+
"name": "light-theme",
|
|
2275
2540
|
"type": {
|
|
2276
|
-
"text": "
|
|
2541
|
+
"text": "boolean"
|
|
2277
2542
|
},
|
|
2278
|
-
"
|
|
2543
|
+
"default": "false",
|
|
2544
|
+
"fieldName": "lightTheme"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "embed",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "boolean"
|
|
2550
|
+
},
|
|
2551
|
+
"default": "false",
|
|
2552
|
+
"description": "Whether this code block exists within a `discord-embed` component.",
|
|
2553
|
+
"fieldName": "embed"
|
|
2554
|
+
}
|
|
2555
|
+
],
|
|
2556
|
+
"superclass": {
|
|
2557
|
+
"name": "LitElement",
|
|
2558
|
+
"package": "lit"
|
|
2559
|
+
},
|
|
2560
|
+
"tagName": "discord-code",
|
|
2561
|
+
"customElement": true
|
|
2562
|
+
}
|
|
2563
|
+
],
|
|
2564
|
+
"exports": [
|
|
2565
|
+
{
|
|
2566
|
+
"kind": "js",
|
|
2567
|
+
"name": "DiscordCode",
|
|
2568
|
+
"declaration": {
|
|
2569
|
+
"name": "DiscordCode",
|
|
2570
|
+
"module": "src/components/discord-code/DiscordCode.ts"
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"kind": "custom-element-definition",
|
|
2575
|
+
"name": "discord-code",
|
|
2576
|
+
"declaration": {
|
|
2577
|
+
"name": "DiscordCode",
|
|
2578
|
+
"module": "src/components/discord-code/DiscordCode.ts"
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
]
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"kind": "javascript-module",
|
|
2585
|
+
"path": "src/components/discord-code-block/DiscordCodeBlock.ts",
|
|
2586
|
+
"declarations": [
|
|
2587
|
+
{
|
|
2588
|
+
"kind": "class",
|
|
2589
|
+
"description": "",
|
|
2590
|
+
"name": "DiscordCodeBlock",
|
|
2591
|
+
"members": [
|
|
2592
|
+
{
|
|
2593
|
+
"kind": "field",
|
|
2594
|
+
"name": "language",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "string | undefined"
|
|
2597
|
+
},
|
|
2598
|
+
"privacy": "public",
|
|
2599
|
+
"attribute": "language"
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"kind": "field",
|
|
2603
|
+
"name": "code",
|
|
2604
|
+
"type": {
|
|
2605
|
+
"text": "string"
|
|
2606
|
+
},
|
|
2607
|
+
"privacy": "public",
|
|
2608
|
+
"description": "The code to display.",
|
|
2609
|
+
"attribute": "code"
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"kind": "field",
|
|
2613
|
+
"name": "lightTheme",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "boolean"
|
|
2616
|
+
},
|
|
2617
|
+
"privacy": "public",
|
|
2618
|
+
"default": "false",
|
|
2619
|
+
"attribute": "light-theme",
|
|
2620
|
+
"reflects": true
|
|
2621
|
+
}
|
|
2622
|
+
],
|
|
2623
|
+
"attributes": [
|
|
2624
|
+
{
|
|
2625
|
+
"name": "language",
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "string | undefined"
|
|
2628
|
+
},
|
|
2629
|
+
"fieldName": "language"
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "code",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "string"
|
|
2635
|
+
},
|
|
2636
|
+
"description": "The code to display.",
|
|
2279
2637
|
"fieldName": "code"
|
|
2280
2638
|
},
|
|
2281
2639
|
{
|
|
@@ -2961,127 +3319,6 @@
|
|
|
2961
3319
|
}
|
|
2962
3320
|
]
|
|
2963
3321
|
},
|
|
2964
|
-
{
|
|
2965
|
-
"kind": "javascript-module",
|
|
2966
|
-
"path": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts",
|
|
2967
|
-
"declarations": [
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "class",
|
|
2970
|
-
"description": "",
|
|
2971
|
-
"name": "DiscordCustomEmoji",
|
|
2972
|
-
"members": [
|
|
2973
|
-
{
|
|
2974
|
-
"kind": "field",
|
|
2975
|
-
"name": "name",
|
|
2976
|
-
"type": {
|
|
2977
|
-
"text": "string"
|
|
2978
|
-
},
|
|
2979
|
-
"privacy": "public",
|
|
2980
|
-
"description": "The name of the emoji",
|
|
2981
|
-
"attribute": "name"
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
"kind": "field",
|
|
2985
|
-
"name": "url",
|
|
2986
|
-
"type": {
|
|
2987
|
-
"text": "string"
|
|
2988
|
-
},
|
|
2989
|
-
"privacy": "public",
|
|
2990
|
-
"description": "The emoji URL to use in the message.",
|
|
2991
|
-
"attribute": "url"
|
|
2992
|
-
},
|
|
2993
|
-
{
|
|
2994
|
-
"kind": "field",
|
|
2995
|
-
"name": "customEmojisMap",
|
|
2996
|
-
"type": {
|
|
2997
|
-
"text": "{ [key: string]: Emoji }"
|
|
2998
|
-
},
|
|
2999
|
-
"privacy": "public",
|
|
3000
|
-
"default": "{}",
|
|
3001
|
-
"description": "A map of emoji names and their data DiscordCustomEmoji.name| name.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordCustomEmoji.name| name.\r\n\r\nBy default this component will use the global emojis from\r\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\r\nwork so we provide this as an alternative method."
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
"kind": "field",
|
|
3005
|
-
"name": "embedEmoji",
|
|
3006
|
-
"type": {
|
|
3007
|
-
"text": "boolean"
|
|
3008
|
-
},
|
|
3009
|
-
"privacy": "public",
|
|
3010
|
-
"description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
|
|
3011
|
-
"attribute": "embed-emoji"
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"kind": "field",
|
|
3015
|
-
"name": "jumbo",
|
|
3016
|
-
"type": {
|
|
3017
|
-
"text": "boolean"
|
|
3018
|
-
},
|
|
3019
|
-
"privacy": "public",
|
|
3020
|
-
"description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
|
|
3021
|
-
"attribute": "jumbo"
|
|
3022
|
-
}
|
|
3023
|
-
],
|
|
3024
|
-
"attributes": [
|
|
3025
|
-
{
|
|
3026
|
-
"name": "name",
|
|
3027
|
-
"type": {
|
|
3028
|
-
"text": "string"
|
|
3029
|
-
},
|
|
3030
|
-
"description": "The name of the emoji",
|
|
3031
|
-
"fieldName": "name"
|
|
3032
|
-
},
|
|
3033
|
-
{
|
|
3034
|
-
"name": "url",
|
|
3035
|
-
"type": {
|
|
3036
|
-
"text": "string"
|
|
3037
|
-
},
|
|
3038
|
-
"description": "The emoji URL to use in the message.",
|
|
3039
|
-
"fieldName": "url"
|
|
3040
|
-
},
|
|
3041
|
-
{
|
|
3042
|
-
"name": "embed-emoji",
|
|
3043
|
-
"type": {
|
|
3044
|
-
"text": "boolean"
|
|
3045
|
-
},
|
|
3046
|
-
"description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
|
|
3047
|
-
"fieldName": "embedEmoji"
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"name": "jumbo",
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "boolean"
|
|
3053
|
-
},
|
|
3054
|
-
"description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
|
|
3055
|
-
"fieldName": "jumbo"
|
|
3056
|
-
}
|
|
3057
|
-
],
|
|
3058
|
-
"superclass": {
|
|
3059
|
-
"name": "LitElement",
|
|
3060
|
-
"package": "lit"
|
|
3061
|
-
},
|
|
3062
|
-
"tagName": "discord-custom-emoji",
|
|
3063
|
-
"customElement": true
|
|
3064
|
-
}
|
|
3065
|
-
],
|
|
3066
|
-
"exports": [
|
|
3067
|
-
{
|
|
3068
|
-
"kind": "js",
|
|
3069
|
-
"name": "DiscordCustomEmoji",
|
|
3070
|
-
"declaration": {
|
|
3071
|
-
"name": "DiscordCustomEmoji",
|
|
3072
|
-
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3073
|
-
}
|
|
3074
|
-
},
|
|
3075
|
-
{
|
|
3076
|
-
"kind": "custom-element-definition",
|
|
3077
|
-
"name": "discord-custom-emoji",
|
|
3078
|
-
"declaration": {
|
|
3079
|
-
"name": "DiscordCustomEmoji",
|
|
3080
|
-
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3081
|
-
}
|
|
3082
|
-
}
|
|
3083
|
-
]
|
|
3084
|
-
},
|
|
3085
3322
|
{
|
|
3086
3323
|
"kind": "javascript-module",
|
|
3087
3324
|
"path": "src/components/discord-embed/DiscordEmbed.ts",
|
|
@@ -3212,6 +3449,24 @@
|
|
|
3212
3449
|
"attribute": "light-theme",
|
|
3213
3450
|
"reflects": true
|
|
3214
3451
|
},
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "field",
|
|
3454
|
+
"name": "isThumbnailOpen",
|
|
3455
|
+
"type": {
|
|
3456
|
+
"text": "boolean"
|
|
3457
|
+
},
|
|
3458
|
+
"privacy": "private",
|
|
3459
|
+
"default": "false"
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"kind": "field",
|
|
3463
|
+
"name": "isImageOpen",
|
|
3464
|
+
"type": {
|
|
3465
|
+
"text": "boolean"
|
|
3466
|
+
},
|
|
3467
|
+
"privacy": "private",
|
|
3468
|
+
"default": "false"
|
|
3469
|
+
},
|
|
3215
3470
|
{
|
|
3216
3471
|
"kind": "method",
|
|
3217
3472
|
"name": "renderMedia",
|
|
@@ -3351,247 +3606,179 @@
|
|
|
3351
3606
|
},
|
|
3352
3607
|
{
|
|
3353
3608
|
"kind": "javascript-module",
|
|
3354
|
-
"path": "src/components/discord-
|
|
3609
|
+
"path": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts",
|
|
3355
3610
|
"declarations": [
|
|
3356
3611
|
{
|
|
3357
3612
|
"kind": "class",
|
|
3358
3613
|
"description": "",
|
|
3359
|
-
"name": "
|
|
3614
|
+
"name": "DiscordCustomEmoji",
|
|
3360
3615
|
"members": [
|
|
3361
3616
|
{
|
|
3362
3617
|
"kind": "field",
|
|
3363
|
-
"name": "
|
|
3618
|
+
"name": "name",
|
|
3364
3619
|
"type": {
|
|
3365
|
-
"text": "
|
|
3620
|
+
"text": "string"
|
|
3366
3621
|
},
|
|
3367
3622
|
"privacy": "public",
|
|
3368
|
-
"
|
|
3369
|
-
"attribute": "
|
|
3370
|
-
|
|
3371
|
-
}
|
|
3372
|
-
],
|
|
3373
|
-
"attributes": [
|
|
3623
|
+
"description": "The name of the emoji",
|
|
3624
|
+
"attribute": "name"
|
|
3625
|
+
},
|
|
3374
3626
|
{
|
|
3375
|
-
"
|
|
3627
|
+
"kind": "field",
|
|
3628
|
+
"name": "url",
|
|
3376
3629
|
"type": {
|
|
3377
|
-
"text": "
|
|
3378
|
-
},
|
|
3379
|
-
"default": "false",
|
|
3380
|
-
"fieldName": "lightTheme"
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"superclass": {
|
|
3384
|
-
"name": "LitElement",
|
|
3385
|
-
"package": "lit"
|
|
3386
|
-
},
|
|
3387
|
-
"tagName": "discord-embed-description",
|
|
3388
|
-
"customElement": true
|
|
3389
|
-
}
|
|
3390
|
-
],
|
|
3391
|
-
"exports": [
|
|
3392
|
-
{
|
|
3393
|
-
"kind": "js",
|
|
3394
|
-
"name": "DiscordEmbedDescription",
|
|
3395
|
-
"declaration": {
|
|
3396
|
-
"name": "DiscordEmbedDescription",
|
|
3397
|
-
"module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
{
|
|
3401
|
-
"kind": "custom-element-definition",
|
|
3402
|
-
"name": "discord-embed-description",
|
|
3403
|
-
"declaration": {
|
|
3404
|
-
"name": "DiscordEmbedDescription",
|
|
3405
|
-
"module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
|
|
3406
|
-
}
|
|
3407
|
-
}
|
|
3408
|
-
]
|
|
3409
|
-
},
|
|
3410
|
-
{
|
|
3411
|
-
"kind": "javascript-module",
|
|
3412
|
-
"path": "src/components/discord-embed-field/DiscordEmbedField.ts",
|
|
3413
|
-
"declarations": [
|
|
3414
|
-
{
|
|
3415
|
-
"kind": "class",
|
|
3416
|
-
"description": "",
|
|
3417
|
-
"name": "DiscordEmbedField",
|
|
3418
|
-
"members": [
|
|
3419
|
-
{
|
|
3420
|
-
"kind": "field",
|
|
3421
|
-
"name": "fieldTitle",
|
|
3422
|
-
"type": {
|
|
3423
|
-
"text": "string"
|
|
3630
|
+
"text": "string"
|
|
3424
3631
|
},
|
|
3425
3632
|
"privacy": "public",
|
|
3426
|
-
"
|
|
3427
|
-
"
|
|
3633
|
+
"description": "The emoji URL to use in the message.",
|
|
3634
|
+
"attribute": "url"
|
|
3428
3635
|
},
|
|
3429
3636
|
{
|
|
3430
3637
|
"kind": "field",
|
|
3431
|
-
"name": "
|
|
3638
|
+
"name": "customEmojisMap",
|
|
3432
3639
|
"type": {
|
|
3433
3640
|
"text": "{ [key: string]: Emoji }"
|
|
3434
3641
|
},
|
|
3435
3642
|
"privacy": "public",
|
|
3436
3643
|
"default": "{}",
|
|
3437
|
-
"description": "
|
|
3644
|
+
"description": "A map of emoji names and their data DiscordCustomEmoji.name| name.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordCustomEmoji.name| name.\r\n\r\nBy default this component will use the global emojis from\r\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\r\nwork so we provide this as an alternative method."
|
|
3438
3645
|
},
|
|
3439
3646
|
{
|
|
3440
3647
|
"kind": "field",
|
|
3441
|
-
"name": "
|
|
3648
|
+
"name": "embedEmoji",
|
|
3442
3649
|
"type": {
|
|
3443
3650
|
"text": "boolean"
|
|
3444
3651
|
},
|
|
3445
3652
|
"privacy": "public",
|
|
3446
|
-
"
|
|
3447
|
-
"
|
|
3448
|
-
"attribute": "inline",
|
|
3449
|
-
"reflects": true
|
|
3450
|
-
},
|
|
3451
|
-
{
|
|
3452
|
-
"kind": "field",
|
|
3453
|
-
"name": "inlineIndex",
|
|
3454
|
-
"type": {
|
|
3455
|
-
"text": "number | undefined"
|
|
3456
|
-
},
|
|
3457
|
-
"privacy": "public",
|
|
3458
|
-
"default": "undefined",
|
|
3459
|
-
"description": "The index of this inline field",
|
|
3460
|
-
"attribute": "inline-index",
|
|
3461
|
-
"reflects": true
|
|
3653
|
+
"description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
|
|
3654
|
+
"attribute": "embed-emoji"
|
|
3462
3655
|
},
|
|
3463
3656
|
{
|
|
3464
3657
|
"kind": "field",
|
|
3465
|
-
"name": "
|
|
3658
|
+
"name": "jumbo",
|
|
3466
3659
|
"type": {
|
|
3467
3660
|
"text": "boolean"
|
|
3468
3661
|
},
|
|
3469
3662
|
"privacy": "public",
|
|
3470
|
-
"
|
|
3471
|
-
"attribute": "
|
|
3472
|
-
"reflects": true
|
|
3473
|
-
},
|
|
3474
|
-
{
|
|
3475
|
-
"kind": "field",
|
|
3476
|
-
"name": "validInlineIndices",
|
|
3477
|
-
"privacy": "private",
|
|
3478
|
-
"readonly": true,
|
|
3479
|
-
"default": "new Set([1, 2, 3])"
|
|
3480
|
-
},
|
|
3481
|
-
{
|
|
3482
|
-
"kind": "method",
|
|
3483
|
-
"name": "checkInlineIndex",
|
|
3484
|
-
"privacy": "public"
|
|
3485
|
-
},
|
|
3486
|
-
{
|
|
3487
|
-
"kind": "method",
|
|
3488
|
-
"name": "parseTitle",
|
|
3489
|
-
"privacy": "private",
|
|
3490
|
-
"parameters": [
|
|
3491
|
-
{
|
|
3492
|
-
"name": "title",
|
|
3493
|
-
"optional": true,
|
|
3494
|
-
"type": {
|
|
3495
|
-
"text": "string"
|
|
3496
|
-
}
|
|
3497
|
-
}
|
|
3498
|
-
]
|
|
3663
|
+
"description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
|
|
3664
|
+
"attribute": "jumbo"
|
|
3499
3665
|
}
|
|
3500
3666
|
],
|
|
3501
3667
|
"attributes": [
|
|
3502
3668
|
{
|
|
3503
|
-
"name": "
|
|
3669
|
+
"name": "name",
|
|
3504
3670
|
"type": {
|
|
3505
3671
|
"text": "string"
|
|
3506
3672
|
},
|
|
3507
|
-
"
|
|
3673
|
+
"description": "The name of the emoji",
|
|
3674
|
+
"fieldName": "name"
|
|
3508
3675
|
},
|
|
3509
3676
|
{
|
|
3510
|
-
"name": "
|
|
3677
|
+
"name": "url",
|
|
3511
3678
|
"type": {
|
|
3512
|
-
"text": "
|
|
3679
|
+
"text": "string"
|
|
3513
3680
|
},
|
|
3514
|
-
"
|
|
3515
|
-
"
|
|
3516
|
-
"fieldName": "inline"
|
|
3681
|
+
"description": "The emoji URL to use in the message.",
|
|
3682
|
+
"fieldName": "url"
|
|
3517
3683
|
},
|
|
3518
3684
|
{
|
|
3519
|
-
"name": "
|
|
3685
|
+
"name": "embed-emoji",
|
|
3520
3686
|
"type": {
|
|
3521
|
-
"text": "
|
|
3687
|
+
"text": "boolean"
|
|
3522
3688
|
},
|
|
3523
|
-
"
|
|
3524
|
-
"
|
|
3525
|
-
"fieldName": "inlineIndex"
|
|
3689
|
+
"description": "Determines whether or not the emoji is used in an embed, or a message.\r\nIf it is used in an embed, the sizing is adjusted accordingly.",
|
|
3690
|
+
"fieldName": "embedEmoji"
|
|
3526
3691
|
},
|
|
3527
3692
|
{
|
|
3528
|
-
"name": "
|
|
3693
|
+
"name": "jumbo",
|
|
3529
3694
|
"type": {
|
|
3530
3695
|
"text": "boolean"
|
|
3531
3696
|
},
|
|
3532
|
-
"
|
|
3533
|
-
"fieldName": "
|
|
3697
|
+
"description": "Determines whether or not the emoji is of \"jumbo size\",\r\nThis means it is larger and is what Discord uses when the message exclusively has emojis,\r\nup to a maximum of 30 emojis.",
|
|
3698
|
+
"fieldName": "jumbo"
|
|
3534
3699
|
}
|
|
3535
3700
|
],
|
|
3536
3701
|
"superclass": {
|
|
3537
3702
|
"name": "LitElement",
|
|
3538
3703
|
"package": "lit"
|
|
3539
3704
|
},
|
|
3540
|
-
"tagName": "discord-
|
|
3705
|
+
"tagName": "discord-custom-emoji",
|
|
3541
3706
|
"customElement": true
|
|
3542
3707
|
}
|
|
3543
3708
|
],
|
|
3544
3709
|
"exports": [
|
|
3545
3710
|
{
|
|
3546
3711
|
"kind": "js",
|
|
3547
|
-
"name": "
|
|
3712
|
+
"name": "DiscordCustomEmoji",
|
|
3548
3713
|
"declaration": {
|
|
3549
|
-
"name": "
|
|
3550
|
-
"module": "src/components/discord-
|
|
3714
|
+
"name": "DiscordCustomEmoji",
|
|
3715
|
+
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3551
3716
|
}
|
|
3552
3717
|
},
|
|
3553
3718
|
{
|
|
3554
3719
|
"kind": "custom-element-definition",
|
|
3555
|
-
"name": "discord-
|
|
3720
|
+
"name": "discord-custom-emoji",
|
|
3556
3721
|
"declaration": {
|
|
3557
|
-
"name": "
|
|
3558
|
-
"module": "src/components/discord-
|
|
3722
|
+
"name": "DiscordCustomEmoji",
|
|
3723
|
+
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3559
3724
|
}
|
|
3560
3725
|
}
|
|
3561
3726
|
]
|
|
3562
3727
|
},
|
|
3563
3728
|
{
|
|
3564
3729
|
"kind": "javascript-module",
|
|
3565
|
-
"path": "src/components/discord-embed-
|
|
3730
|
+
"path": "src/components/discord-embed-description/DiscordEmbedDescription.ts",
|
|
3566
3731
|
"declarations": [
|
|
3567
3732
|
{
|
|
3568
3733
|
"kind": "class",
|
|
3569
3734
|
"description": "",
|
|
3570
|
-
"name": "
|
|
3571
|
-
"members": [
|
|
3735
|
+
"name": "DiscordEmbedDescription",
|
|
3736
|
+
"members": [
|
|
3737
|
+
{
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "lightTheme",
|
|
3740
|
+
"type": {
|
|
3741
|
+
"text": "boolean"
|
|
3742
|
+
},
|
|
3743
|
+
"privacy": "public",
|
|
3744
|
+
"default": "false",
|
|
3745
|
+
"attribute": "light-theme",
|
|
3746
|
+
"reflects": true
|
|
3747
|
+
}
|
|
3748
|
+
],
|
|
3749
|
+
"attributes": [
|
|
3750
|
+
{
|
|
3751
|
+
"name": "light-theme",
|
|
3752
|
+
"type": {
|
|
3753
|
+
"text": "boolean"
|
|
3754
|
+
},
|
|
3755
|
+
"default": "false",
|
|
3756
|
+
"fieldName": "lightTheme"
|
|
3757
|
+
}
|
|
3758
|
+
],
|
|
3572
3759
|
"superclass": {
|
|
3573
3760
|
"name": "LitElement",
|
|
3574
3761
|
"package": "lit"
|
|
3575
3762
|
},
|
|
3576
|
-
"tagName": "discord-embed-
|
|
3763
|
+
"tagName": "discord-embed-description",
|
|
3577
3764
|
"customElement": true
|
|
3578
3765
|
}
|
|
3579
3766
|
],
|
|
3580
3767
|
"exports": [
|
|
3581
3768
|
{
|
|
3582
3769
|
"kind": "js",
|
|
3583
|
-
"name": "
|
|
3770
|
+
"name": "DiscordEmbedDescription",
|
|
3584
3771
|
"declaration": {
|
|
3585
|
-
"name": "
|
|
3586
|
-
"module": "src/components/discord-embed-
|
|
3772
|
+
"name": "DiscordEmbedDescription",
|
|
3773
|
+
"module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
|
|
3587
3774
|
}
|
|
3588
3775
|
},
|
|
3589
3776
|
{
|
|
3590
3777
|
"kind": "custom-element-definition",
|
|
3591
|
-
"name": "discord-embed-
|
|
3778
|
+
"name": "discord-embed-description",
|
|
3592
3779
|
"declaration": {
|
|
3593
|
-
"name": "
|
|
3594
|
-
"module": "src/components/discord-embed-
|
|
3780
|
+
"name": "DiscordEmbedDescription",
|
|
3781
|
+
"module": "src/components/discord-embed-description/DiscordEmbedDescription.ts"
|
|
3595
3782
|
}
|
|
3596
3783
|
}
|
|
3597
3784
|
]
|
|
@@ -3730,48 +3917,237 @@
|
|
|
3730
3917
|
},
|
|
3731
3918
|
{
|
|
3732
3919
|
"kind": "javascript-module",
|
|
3733
|
-
"path": "src/components/discord-
|
|
3920
|
+
"path": "src/components/discord-embed-fields/DiscordEmbedFields.ts",
|
|
3734
3921
|
"declarations": [
|
|
3735
3922
|
{
|
|
3736
3923
|
"kind": "class",
|
|
3737
3924
|
"description": "",
|
|
3738
|
-
"name": "
|
|
3925
|
+
"name": "DiscordEmbedFields",
|
|
3926
|
+
"members": [],
|
|
3927
|
+
"superclass": {
|
|
3928
|
+
"name": "LitElement",
|
|
3929
|
+
"package": "lit"
|
|
3930
|
+
},
|
|
3931
|
+
"tagName": "discord-embed-fields",
|
|
3932
|
+
"customElement": true
|
|
3933
|
+
}
|
|
3934
|
+
],
|
|
3935
|
+
"exports": [
|
|
3936
|
+
{
|
|
3937
|
+
"kind": "js",
|
|
3938
|
+
"name": "DiscordEmbedFields",
|
|
3939
|
+
"declaration": {
|
|
3940
|
+
"name": "DiscordEmbedFields",
|
|
3941
|
+
"module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"kind": "custom-element-definition",
|
|
3946
|
+
"name": "discord-embed-fields",
|
|
3947
|
+
"declaration": {
|
|
3948
|
+
"name": "DiscordEmbedFields",
|
|
3949
|
+
"module": "src/components/discord-embed-fields/DiscordEmbedFields.ts"
|
|
3950
|
+
}
|
|
3951
|
+
}
|
|
3952
|
+
]
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
"kind": "javascript-module",
|
|
3956
|
+
"path": "src/components/discord-embed-field/DiscordEmbedField.ts",
|
|
3957
|
+
"declarations": [
|
|
3958
|
+
{
|
|
3959
|
+
"kind": "class",
|
|
3960
|
+
"description": "",
|
|
3961
|
+
"name": "DiscordEmbedField",
|
|
3739
3962
|
"members": [
|
|
3740
3963
|
{
|
|
3741
3964
|
"kind": "field",
|
|
3742
|
-
"name": "
|
|
3965
|
+
"name": "fieldTitle",
|
|
3743
3966
|
"type": {
|
|
3744
3967
|
"text": "string"
|
|
3745
3968
|
},
|
|
3746
3969
|
"privacy": "public",
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3970
|
+
"attribute": "field-title",
|
|
3971
|
+
"reflects": true
|
|
3749
3972
|
},
|
|
3750
3973
|
{
|
|
3751
3974
|
"kind": "field",
|
|
3752
|
-
"name": "
|
|
3975
|
+
"name": "embedFieldEmojisMap",
|
|
3753
3976
|
"type": {
|
|
3754
|
-
"text": "
|
|
3977
|
+
"text": "{ [key: string]: Emoji }"
|
|
3755
3978
|
},
|
|
3756
3979
|
"privacy": "public",
|
|
3757
|
-
"
|
|
3758
|
-
"
|
|
3980
|
+
"default": "{}",
|
|
3981
|
+
"description": "An emoji that is prefixed to DiscordEmbedField.fieldTitle| fieldTitle.\r\n\r\nThis should be keyed as `{ key: { emojiData } }` wherein `key`\r\nshould occur in the DiscordEmbedField.fieldTitle| fieldTitle.\r\n\r\nBy default this component will use the global emojis from\r\ngetGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn't\r\nwork so we provide this as an alternative method."
|
|
3759
3982
|
},
|
|
3760
3983
|
{
|
|
3761
3984
|
"kind": "field",
|
|
3762
|
-
"name": "
|
|
3985
|
+
"name": "inline",
|
|
3763
3986
|
"type": {
|
|
3764
|
-
"text": "
|
|
3987
|
+
"text": "boolean"
|
|
3765
3988
|
},
|
|
3766
3989
|
"privacy": "public",
|
|
3767
|
-
"
|
|
3768
|
-
"
|
|
3990
|
+
"default": "false",
|
|
3991
|
+
"description": "Whether this field should be displayed inline or not.",
|
|
3992
|
+
"attribute": "inline",
|
|
3993
|
+
"reflects": true
|
|
3769
3994
|
},
|
|
3770
3995
|
{
|
|
3771
3996
|
"kind": "field",
|
|
3772
|
-
"name": "
|
|
3997
|
+
"name": "inlineIndex",
|
|
3773
3998
|
"type": {
|
|
3774
|
-
"text": "
|
|
3999
|
+
"text": "number | undefined"
|
|
4000
|
+
},
|
|
4001
|
+
"privacy": "public",
|
|
4002
|
+
"default": "undefined",
|
|
4003
|
+
"description": "The index of this inline field",
|
|
4004
|
+
"attribute": "inline-index",
|
|
4005
|
+
"reflects": true
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
"kind": "field",
|
|
4009
|
+
"name": "lightTheme",
|
|
4010
|
+
"type": {
|
|
4011
|
+
"text": "boolean"
|
|
4012
|
+
},
|
|
4013
|
+
"privacy": "public",
|
|
4014
|
+
"default": "false",
|
|
4015
|
+
"attribute": "light-theme",
|
|
4016
|
+
"reflects": true
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
"kind": "field",
|
|
4020
|
+
"name": "validInlineIndices",
|
|
4021
|
+
"privacy": "private",
|
|
4022
|
+
"readonly": true,
|
|
4023
|
+
"default": "new Set([1, 2, 3])"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"kind": "method",
|
|
4027
|
+
"name": "checkInlineIndex",
|
|
4028
|
+
"privacy": "public"
|
|
4029
|
+
},
|
|
4030
|
+
{
|
|
4031
|
+
"kind": "method",
|
|
4032
|
+
"name": "parseTitle",
|
|
4033
|
+
"privacy": "private",
|
|
4034
|
+
"parameters": [
|
|
4035
|
+
{
|
|
4036
|
+
"name": "title",
|
|
4037
|
+
"optional": true,
|
|
4038
|
+
"type": {
|
|
4039
|
+
"text": "string"
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
]
|
|
4043
|
+
}
|
|
4044
|
+
],
|
|
4045
|
+
"attributes": [
|
|
4046
|
+
{
|
|
4047
|
+
"name": "field-title",
|
|
4048
|
+
"type": {
|
|
4049
|
+
"text": "string"
|
|
4050
|
+
},
|
|
4051
|
+
"fieldName": "fieldTitle"
|
|
4052
|
+
},
|
|
4053
|
+
{
|
|
4054
|
+
"name": "inline",
|
|
4055
|
+
"type": {
|
|
4056
|
+
"text": "boolean"
|
|
4057
|
+
},
|
|
4058
|
+
"default": "false",
|
|
4059
|
+
"description": "Whether this field should be displayed inline or not.",
|
|
4060
|
+
"fieldName": "inline"
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"name": "inline-index",
|
|
4064
|
+
"type": {
|
|
4065
|
+
"text": "number | undefined"
|
|
4066
|
+
},
|
|
4067
|
+
"default": "undefined",
|
|
4068
|
+
"description": "The index of this inline field",
|
|
4069
|
+
"fieldName": "inlineIndex"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"name": "light-theme",
|
|
4073
|
+
"type": {
|
|
4074
|
+
"text": "boolean"
|
|
4075
|
+
},
|
|
4076
|
+
"default": "false",
|
|
4077
|
+
"fieldName": "lightTheme"
|
|
4078
|
+
}
|
|
4079
|
+
],
|
|
4080
|
+
"superclass": {
|
|
4081
|
+
"name": "LitElement",
|
|
4082
|
+
"package": "lit"
|
|
4083
|
+
},
|
|
4084
|
+
"tagName": "discord-embed-field",
|
|
4085
|
+
"customElement": true
|
|
4086
|
+
}
|
|
4087
|
+
],
|
|
4088
|
+
"exports": [
|
|
4089
|
+
{
|
|
4090
|
+
"kind": "js",
|
|
4091
|
+
"name": "DiscordEmbedField",
|
|
4092
|
+
"declaration": {
|
|
4093
|
+
"name": "DiscordEmbedField",
|
|
4094
|
+
"module": "src/components/discord-embed-field/DiscordEmbedField.ts"
|
|
4095
|
+
}
|
|
4096
|
+
},
|
|
4097
|
+
{
|
|
4098
|
+
"kind": "custom-element-definition",
|
|
4099
|
+
"name": "discord-embed-field",
|
|
4100
|
+
"declaration": {
|
|
4101
|
+
"name": "DiscordEmbedField",
|
|
4102
|
+
"module": "src/components/discord-embed-field/DiscordEmbedField.ts"
|
|
4103
|
+
}
|
|
4104
|
+
}
|
|
4105
|
+
]
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
"kind": "javascript-module",
|
|
4109
|
+
"path": "src/components/discord-file-attachment/DiscordFileAttachment.ts",
|
|
4110
|
+
"declarations": [
|
|
4111
|
+
{
|
|
4112
|
+
"kind": "class",
|
|
4113
|
+
"description": "",
|
|
4114
|
+
"name": "DiscordFileAttachment",
|
|
4115
|
+
"members": [
|
|
4116
|
+
{
|
|
4117
|
+
"kind": "field",
|
|
4118
|
+
"name": "name",
|
|
4119
|
+
"type": {
|
|
4120
|
+
"text": "string"
|
|
4121
|
+
},
|
|
4122
|
+
"privacy": "public",
|
|
4123
|
+
"description": "The name of the file",
|
|
4124
|
+
"attribute": "name"
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
"kind": "field",
|
|
4128
|
+
"name": "bytes",
|
|
4129
|
+
"type": {
|
|
4130
|
+
"text": "number"
|
|
4131
|
+
},
|
|
4132
|
+
"privacy": "public",
|
|
4133
|
+
"description": "The size of the file in bytes",
|
|
4134
|
+
"attribute": "bytes"
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
"kind": "field",
|
|
4138
|
+
"name": "bytesUnit",
|
|
4139
|
+
"type": {
|
|
4140
|
+
"text": "string"
|
|
4141
|
+
},
|
|
4142
|
+
"privacy": "public",
|
|
4143
|
+
"description": "The unit of the file in a human-readable format",
|
|
4144
|
+
"attribute": "bytes-unit"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"kind": "field",
|
|
4148
|
+
"name": "href",
|
|
4149
|
+
"type": {
|
|
4150
|
+
"text": "string"
|
|
3775
4151
|
},
|
|
3776
4152
|
"privacy": "public",
|
|
3777
4153
|
"description": "The URL to the file, this is passed to `<discord-link>`",
|
|
@@ -3975,14 +4351,24 @@
|
|
|
3975
4351
|
"attribute": "guild-icon",
|
|
3976
4352
|
"reflects": true
|
|
3977
4353
|
},
|
|
4354
|
+
{
|
|
4355
|
+
"kind": "field",
|
|
4356
|
+
"name": "isSameGuild",
|
|
4357
|
+
"type": {
|
|
4358
|
+
"text": "boolean"
|
|
4359
|
+
},
|
|
4360
|
+
"privacy": "public",
|
|
4361
|
+
"default": "false",
|
|
4362
|
+
"attribute": "is-same-guild",
|
|
4363
|
+
"reflects": true
|
|
4364
|
+
},
|
|
3978
4365
|
{
|
|
3979
4366
|
"kind": "field",
|
|
3980
4367
|
"name": "timestamp",
|
|
3981
4368
|
"type": {
|
|
3982
|
-
"text": "
|
|
4369
|
+
"text": "string | undefined"
|
|
3983
4370
|
},
|
|
3984
4371
|
"privacy": "public",
|
|
3985
|
-
"default": "new Date()",
|
|
3986
4372
|
"attribute": "timestamp",
|
|
3987
4373
|
"reflects": true
|
|
3988
4374
|
},
|
|
@@ -4029,12 +4415,19 @@
|
|
|
4029
4415
|
},
|
|
4030
4416
|
"fieldName": "guildIcon"
|
|
4031
4417
|
},
|
|
4418
|
+
{
|
|
4419
|
+
"name": "is-same-guild",
|
|
4420
|
+
"type": {
|
|
4421
|
+
"text": "boolean"
|
|
4422
|
+
},
|
|
4423
|
+
"default": "false",
|
|
4424
|
+
"fieldName": "isSameGuild"
|
|
4425
|
+
},
|
|
4032
4426
|
{
|
|
4033
4427
|
"name": "timestamp",
|
|
4034
4428
|
"type": {
|
|
4035
|
-
"text": "
|
|
4429
|
+
"text": "string | undefined"
|
|
4036
4430
|
},
|
|
4037
|
-
"default": "new Date()",
|
|
4038
4431
|
"fieldName": "timestamp"
|
|
4039
4432
|
},
|
|
4040
4433
|
{
|
|
@@ -5333,7 +5726,7 @@
|
|
|
5333
5726
|
"kind": "field",
|
|
5334
5727
|
"name": "mediaItems",
|
|
5335
5728
|
"type": {
|
|
5336
|
-
"text": "
|
|
5729
|
+
"text": "Pick<DiscordMediaGalleryItem, 'height' | 'media' | 'mimeType' | 'width'>[]"
|
|
5337
5730
|
},
|
|
5338
5731
|
"privacy": "public"
|
|
5339
5732
|
},
|
|
@@ -5449,6 +5842,16 @@
|
|
|
5449
5842
|
}
|
|
5450
5843
|
}
|
|
5451
5844
|
]
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"kind": "field",
|
|
5848
|
+
"name": "currentMediaContainer",
|
|
5849
|
+
"privacy": "private"
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"kind": "method",
|
|
5853
|
+
"name": "patchCurrentMediaContainerHeight",
|
|
5854
|
+
"privacy": "private"
|
|
5452
5855
|
}
|
|
5453
5856
|
],
|
|
5454
5857
|
"attributes": [
|
|
@@ -5514,7 +5917,7 @@
|
|
|
5514
5917
|
"kind": "field",
|
|
5515
5918
|
"name": "mediaItems",
|
|
5516
5919
|
"type": {
|
|
5517
|
-
"text": "
|
|
5920
|
+
"text": "DiscordMediaGalleryItem[]"
|
|
5518
5921
|
},
|
|
5519
5922
|
"privacy": "public"
|
|
5520
5923
|
},
|
|
@@ -5600,83 +6003,229 @@
|
|
|
5600
6003
|
},
|
|
5601
6004
|
{
|
|
5602
6005
|
"kind": "javascript-module",
|
|
5603
|
-
"path": "src/components/discord-media-
|
|
6006
|
+
"path": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts",
|
|
5604
6007
|
"declarations": [
|
|
5605
6008
|
{
|
|
5606
6009
|
"kind": "class",
|
|
5607
6010
|
"description": "",
|
|
5608
|
-
"name": "
|
|
6011
|
+
"name": "DiscordMediaSpoileableCover",
|
|
5609
6012
|
"members": [
|
|
5610
6013
|
{
|
|
5611
|
-
"kind": "
|
|
5612
|
-
"name": "
|
|
5613
|
-
"type": {
|
|
5614
|
-
"text": "string"
|
|
5615
|
-
},
|
|
5616
|
-
"privacy": "public",
|
|
5617
|
-
"attribute": "media"
|
|
5618
|
-
},
|
|
5619
|
-
{
|
|
5620
|
-
"kind": "field",
|
|
5621
|
-
"name": "mimeType",
|
|
5622
|
-
"type": {
|
|
5623
|
-
"text": "string | undefined"
|
|
5624
|
-
},
|
|
5625
|
-
"privacy": "public",
|
|
5626
|
-
"attribute": "mime-type"
|
|
5627
|
-
},
|
|
5628
|
-
{
|
|
5629
|
-
"kind": "field",
|
|
5630
|
-
"name": "description",
|
|
5631
|
-
"type": {
|
|
5632
|
-
"text": "string"
|
|
5633
|
-
},
|
|
6014
|
+
"kind": "method",
|
|
6015
|
+
"name": "createWrapperStyles",
|
|
5634
6016
|
"privacy": "public",
|
|
5635
|
-
"
|
|
6017
|
+
"static": true,
|
|
6018
|
+
"parameters": [
|
|
6019
|
+
{
|
|
6020
|
+
"name": "wrapper",
|
|
6021
|
+
"type": {
|
|
6022
|
+
"text": "':host' | (string & {})"
|
|
6023
|
+
}
|
|
6024
|
+
}
|
|
6025
|
+
]
|
|
5636
6026
|
},
|
|
5637
6027
|
{
|
|
5638
6028
|
"kind": "field",
|
|
5639
|
-
"name": "
|
|
5640
|
-
"type": {
|
|
5641
|
-
"text": "string"
|
|
5642
|
-
},
|
|
6029
|
+
"name": "hostStyles",
|
|
5643
6030
|
"privacy": "public",
|
|
5644
|
-
"
|
|
6031
|
+
"static": true
|
|
5645
6032
|
},
|
|
5646
6033
|
{
|
|
5647
6034
|
"kind": "field",
|
|
5648
|
-
"name": "
|
|
6035
|
+
"name": "isRevealed",
|
|
5649
6036
|
"type": {
|
|
5650
6037
|
"text": "boolean"
|
|
5651
6038
|
},
|
|
5652
6039
|
"privacy": "public",
|
|
5653
6040
|
"default": "false",
|
|
5654
|
-
"attribute": "
|
|
5655
|
-
|
|
5656
|
-
{
|
|
5657
|
-
"kind": "field",
|
|
5658
|
-
"name": "discordSupportedVideoExtensions",
|
|
5659
|
-
"privacy": "public",
|
|
5660
|
-
"static": true,
|
|
5661
|
-
"default": "new Set(['mp4', 'webm', 'mov', 'avi', 'mkv', 'wmv', 'flv'])"
|
|
6041
|
+
"attribute": "is-revealed",
|
|
6042
|
+
"reflects": true
|
|
5662
6043
|
},
|
|
5663
6044
|
{
|
|
5664
|
-
"kind": "
|
|
5665
|
-
"name": "
|
|
6045
|
+
"kind": "method",
|
|
6046
|
+
"name": "handleReveal",
|
|
5666
6047
|
"privacy": "public",
|
|
5667
|
-
"
|
|
5668
|
-
|
|
6048
|
+
"parameters": [
|
|
6049
|
+
{
|
|
6050
|
+
"name": "_event",
|
|
6051
|
+
"type": {
|
|
6052
|
+
"text": "MouseEvent"
|
|
6053
|
+
}
|
|
6054
|
+
}
|
|
6055
|
+
]
|
|
5669
6056
|
},
|
|
5670
6057
|
{
|
|
5671
6058
|
"kind": "method",
|
|
5672
|
-
"name": "
|
|
6059
|
+
"name": "inject",
|
|
5673
6060
|
"privacy": "public",
|
|
5674
6061
|
"static": true,
|
|
5675
6062
|
"parameters": [
|
|
5676
6063
|
{
|
|
5677
|
-
"name": "
|
|
5678
|
-
"
|
|
5679
|
-
|
|
6064
|
+
"name": "isSpoiler",
|
|
6065
|
+
"default": "false"
|
|
6066
|
+
},
|
|
6067
|
+
{
|
|
6068
|
+
"name": "lightTheme",
|
|
6069
|
+
"default": "false"
|
|
6070
|
+
}
|
|
6071
|
+
]
|
|
6072
|
+
}
|
|
6073
|
+
],
|
|
6074
|
+
"attributes": [
|
|
6075
|
+
{
|
|
6076
|
+
"name": "is-revealed",
|
|
6077
|
+
"type": {
|
|
6078
|
+
"text": "boolean"
|
|
6079
|
+
},
|
|
6080
|
+
"default": "false",
|
|
6081
|
+
"fieldName": "isRevealed"
|
|
6082
|
+
}
|
|
6083
|
+
],
|
|
6084
|
+
"superclass": {
|
|
6085
|
+
"name": "LitElement",
|
|
6086
|
+
"package": "lit"
|
|
6087
|
+
},
|
|
6088
|
+
"tagName": "discord-media-spoileable-cover",
|
|
6089
|
+
"customElement": true
|
|
6090
|
+
}
|
|
6091
|
+
],
|
|
6092
|
+
"exports": [
|
|
6093
|
+
{
|
|
6094
|
+
"kind": "js",
|
|
6095
|
+
"name": "DiscordMediaSpoileableCover",
|
|
6096
|
+
"declaration": {
|
|
6097
|
+
"name": "DiscordMediaSpoileableCover",
|
|
6098
|
+
"module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
|
|
6099
|
+
}
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
"kind": "custom-element-definition",
|
|
6103
|
+
"name": "discord-media-spoileable-cover",
|
|
6104
|
+
"declaration": {
|
|
6105
|
+
"name": "DiscordMediaSpoileableCover",
|
|
6106
|
+
"module": "src/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.ts"
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6109
|
+
]
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"kind": "javascript-module",
|
|
6113
|
+
"path": "src/components/discord-media-gallery-item/DiscordMediaGalleryItem.ts",
|
|
6114
|
+
"declarations": [
|
|
6115
|
+
{
|
|
6116
|
+
"kind": "class",
|
|
6117
|
+
"description": "",
|
|
6118
|
+
"name": "DiscordMediaGalleryItem",
|
|
6119
|
+
"members": [
|
|
6120
|
+
{
|
|
6121
|
+
"kind": "field",
|
|
6122
|
+
"name": "media",
|
|
6123
|
+
"type": {
|
|
6124
|
+
"text": "string"
|
|
6125
|
+
},
|
|
6126
|
+
"privacy": "public",
|
|
6127
|
+
"attribute": "media"
|
|
6128
|
+
},
|
|
6129
|
+
{
|
|
6130
|
+
"kind": "field",
|
|
6131
|
+
"name": "mimeType",
|
|
6132
|
+
"type": {
|
|
6133
|
+
"text": "string | undefined"
|
|
6134
|
+
},
|
|
6135
|
+
"privacy": "public",
|
|
6136
|
+
"attribute": "mime-type"
|
|
6137
|
+
},
|
|
6138
|
+
{
|
|
6139
|
+
"kind": "field",
|
|
6140
|
+
"name": "description",
|
|
6141
|
+
"type": {
|
|
6142
|
+
"text": "string"
|
|
6143
|
+
},
|
|
6144
|
+
"privacy": "public",
|
|
6145
|
+
"attribute": "description"
|
|
6146
|
+
},
|
|
6147
|
+
{
|
|
6148
|
+
"kind": "field",
|
|
6149
|
+
"name": "realSize",
|
|
6150
|
+
"type": {
|
|
6151
|
+
"text": "string"
|
|
6152
|
+
},
|
|
6153
|
+
"privacy": "public",
|
|
6154
|
+
"attribute": "real-size"
|
|
6155
|
+
},
|
|
6156
|
+
{
|
|
6157
|
+
"kind": "field",
|
|
6158
|
+
"name": "spoiler",
|
|
6159
|
+
"type": {
|
|
6160
|
+
"text": "boolean"
|
|
6161
|
+
},
|
|
6162
|
+
"privacy": "public",
|
|
6163
|
+
"default": "false",
|
|
6164
|
+
"attribute": "spoiler"
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
"kind": "field",
|
|
6168
|
+
"name": "width",
|
|
6169
|
+
"type": {
|
|
6170
|
+
"text": "number | undefined"
|
|
6171
|
+
},
|
|
6172
|
+
"privacy": "public",
|
|
6173
|
+
"attribute": "width"
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
"kind": "field",
|
|
6177
|
+
"name": "height",
|
|
6178
|
+
"type": {
|
|
6179
|
+
"text": "number | undefined"
|
|
6180
|
+
},
|
|
6181
|
+
"privacy": "public",
|
|
6182
|
+
"attribute": "height"
|
|
6183
|
+
},
|
|
6184
|
+
{
|
|
6185
|
+
"kind": "field",
|
|
6186
|
+
"name": "discordSupportedVideoExtensions",
|
|
6187
|
+
"privacy": "public",
|
|
6188
|
+
"static": true,
|
|
6189
|
+
"default": "new Set(['mp4', 'webm', 'mov', 'avi', 'mkv', 'wmv', 'flv'])"
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
"kind": "field",
|
|
6193
|
+
"name": "discordSupportedVideoMimeTypes",
|
|
6194
|
+
"privacy": "public",
|
|
6195
|
+
"static": true,
|
|
6196
|
+
"default": "new Set([ 'video/mp4', 'video/webm', 'video/quicktime', 'video/x-msvideo', 'video/x-ms-wmv', 'video/x-flv' ])"
|
|
6197
|
+
},
|
|
6198
|
+
{
|
|
6199
|
+
"kind": "method",
|
|
6200
|
+
"name": "isVideo",
|
|
6201
|
+
"privacy": "public",
|
|
6202
|
+
"static": true,
|
|
6203
|
+
"parameters": [
|
|
6204
|
+
{
|
|
6205
|
+
"name": "url",
|
|
6206
|
+
"type": {
|
|
6207
|
+
"text": "string"
|
|
6208
|
+
}
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"name": "mimeType",
|
|
6212
|
+
"optional": true,
|
|
6213
|
+
"type": {
|
|
6214
|
+
"text": "string | null"
|
|
6215
|
+
}
|
|
6216
|
+
}
|
|
6217
|
+
]
|
|
6218
|
+
},
|
|
6219
|
+
{
|
|
6220
|
+
"kind": "method",
|
|
6221
|
+
"name": "isGif",
|
|
6222
|
+
"privacy": "public",
|
|
6223
|
+
"static": true,
|
|
6224
|
+
"parameters": [
|
|
6225
|
+
{
|
|
6226
|
+
"name": "url",
|
|
6227
|
+
"type": {
|
|
6228
|
+
"text": "string"
|
|
5680
6229
|
}
|
|
5681
6230
|
},
|
|
5682
6231
|
{
|
|
@@ -5692,7 +6241,7 @@
|
|
|
5692
6241
|
"kind": "field",
|
|
5693
6242
|
"name": "mediaItems",
|
|
5694
6243
|
"type": {
|
|
5695
|
-
"text": "
|
|
6244
|
+
"text": "DiscordMediaGalleryItem[]"
|
|
5696
6245
|
},
|
|
5697
6246
|
"privacy": "public"
|
|
5698
6247
|
},
|
|
@@ -5738,6 +6287,20 @@
|
|
|
5738
6287
|
},
|
|
5739
6288
|
"default": "false",
|
|
5740
6289
|
"fieldName": "spoiler"
|
|
6290
|
+
},
|
|
6291
|
+
{
|
|
6292
|
+
"name": "width",
|
|
6293
|
+
"type": {
|
|
6294
|
+
"text": "number | undefined"
|
|
6295
|
+
},
|
|
6296
|
+
"fieldName": "width"
|
|
6297
|
+
},
|
|
6298
|
+
{
|
|
6299
|
+
"name": "height",
|
|
6300
|
+
"type": {
|
|
6301
|
+
"text": "number | undefined"
|
|
6302
|
+
},
|
|
6303
|
+
"fieldName": "height"
|
|
5741
6304
|
}
|
|
5742
6305
|
],
|
|
5743
6306
|
"superclass": {
|
|
@@ -5769,201 +6332,372 @@
|
|
|
5769
6332
|
},
|
|
5770
6333
|
{
|
|
5771
6334
|
"kind": "javascript-module",
|
|
5772
|
-
"path": "src/components/discord-
|
|
6335
|
+
"path": "src/components/discord-mention/DiscordMention.ts",
|
|
5773
6336
|
"declarations": [
|
|
5774
6337
|
{
|
|
5775
6338
|
"kind": "class",
|
|
5776
6339
|
"description": "",
|
|
5777
|
-
"name": "
|
|
6340
|
+
"name": "DiscordMention",
|
|
5778
6341
|
"members": [
|
|
5779
6342
|
{
|
|
5780
|
-
"kind": "
|
|
5781
|
-
"name": "
|
|
6343
|
+
"kind": "field",
|
|
6344
|
+
"name": "highlight",
|
|
6345
|
+
"type": {
|
|
6346
|
+
"text": "boolean"
|
|
6347
|
+
},
|
|
5782
6348
|
"privacy": "public",
|
|
5783
|
-
"
|
|
5784
|
-
"
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
"type": {
|
|
5788
|
-
"text": "':host' | (string & {})"
|
|
5789
|
-
}
|
|
5790
|
-
}
|
|
5791
|
-
]
|
|
6349
|
+
"default": "false",
|
|
6350
|
+
"description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
|
|
6351
|
+
"attribute": "highlight",
|
|
6352
|
+
"reflects": true
|
|
5792
6353
|
},
|
|
5793
6354
|
{
|
|
5794
6355
|
"kind": "field",
|
|
5795
|
-
"name": "
|
|
6356
|
+
"name": "type",
|
|
6357
|
+
"type": {
|
|
6358
|
+
"text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
|
|
6359
|
+
},
|
|
5796
6360
|
"privacy": "public",
|
|
5797
|
-
"
|
|
6361
|
+
"default": "'user'",
|
|
6362
|
+
"description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
|
|
6363
|
+
"attribute": "type",
|
|
6364
|
+
"reflects": true
|
|
5798
6365
|
},
|
|
5799
6366
|
{
|
|
5800
6367
|
"kind": "field",
|
|
5801
|
-
"name": "
|
|
6368
|
+
"name": "color",
|
|
5802
6369
|
"type": {
|
|
5803
|
-
"text": "
|
|
6370
|
+
"text": "string"
|
|
5804
6371
|
},
|
|
5805
6372
|
"privacy": "public",
|
|
5806
|
-
"
|
|
5807
|
-
"attribute": "is-revealed",
|
|
6373
|
+
"attribute": "color",
|
|
5808
6374
|
"reflects": true
|
|
5809
6375
|
},
|
|
5810
6376
|
{
|
|
5811
|
-
"kind": "
|
|
5812
|
-
"name": "
|
|
5813
|
-
"privacy": "public"
|
|
5814
|
-
"parameters": [
|
|
5815
|
-
{
|
|
5816
|
-
"name": "_event",
|
|
5817
|
-
"type": {
|
|
5818
|
-
"text": "MouseEvent"
|
|
5819
|
-
}
|
|
5820
|
-
}
|
|
5821
|
-
]
|
|
6377
|
+
"kind": "field",
|
|
6378
|
+
"name": "setHoverColor",
|
|
6379
|
+
"privacy": "public"
|
|
5822
6380
|
},
|
|
5823
6381
|
{
|
|
5824
|
-
"kind": "
|
|
5825
|
-
"name": "
|
|
6382
|
+
"kind": "field",
|
|
6383
|
+
"name": "resetHoverColor",
|
|
6384
|
+
"privacy": "public"
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"kind": "field",
|
|
6388
|
+
"name": "lightTheme",
|
|
6389
|
+
"type": {
|
|
6390
|
+
"text": "boolean"
|
|
6391
|
+
},
|
|
5826
6392
|
"privacy": "public",
|
|
5827
|
-
"
|
|
5828
|
-
"
|
|
5829
|
-
|
|
5830
|
-
"name": "isSpoiler",
|
|
5831
|
-
"default": "false"
|
|
5832
|
-
},
|
|
5833
|
-
{
|
|
5834
|
-
"name": "lightTheme",
|
|
5835
|
-
"default": "false"
|
|
5836
|
-
}
|
|
5837
|
-
]
|
|
6393
|
+
"default": "false",
|
|
6394
|
+
"attribute": "light-theme",
|
|
6395
|
+
"reflects": true
|
|
5838
6396
|
}
|
|
5839
6397
|
],
|
|
5840
6398
|
"attributes": [
|
|
5841
6399
|
{
|
|
5842
|
-
"name": "
|
|
6400
|
+
"name": "highlight",
|
|
5843
6401
|
"type": {
|
|
5844
6402
|
"text": "boolean"
|
|
5845
6403
|
},
|
|
5846
6404
|
"default": "false",
|
|
5847
|
-
"
|
|
6405
|
+
"description": "Whether this entire message block should be highlighted (to emulate the \"logged in user\" being pinged).",
|
|
6406
|
+
"fieldName": "highlight"
|
|
6407
|
+
},
|
|
6408
|
+
{
|
|
6409
|
+
"name": "type",
|
|
6410
|
+
"type": {
|
|
6411
|
+
"text": "| 'channel'\r\n\t\t| 'channels-and-roles'\r\n\t\t| 'customize-community'\r\n\t\t| 'forum'\r\n\t\t| 'locked'\r\n\t\t| 'role'\r\n\t\t| 'server-guide'\r\n\t\t| 'slash'\r\n\t\t| 'thread'\r\n\t\t| 'user'\r\n\t\t| 'voice'"
|
|
6412
|
+
},
|
|
6413
|
+
"default": "'user'",
|
|
6414
|
+
"description": "The type of mention this should be. This will prepend the proper prefix character.\r\nValid values:\r\n- `'user'`\r\n- `'channel'`\r\n- `'role'`\r\n- `'voice'`\r\n- `'locked'`\r\n- `'thread'`\r\n- `'forum'`\r\n- `'slash'`\r\n- `'server-guide'`\r\n- `'channels-and-roles'`\r\n- `'customize-community'`",
|
|
6415
|
+
"fieldName": "type"
|
|
6416
|
+
},
|
|
6417
|
+
{
|
|
6418
|
+
"name": "color",
|
|
6419
|
+
"type": {
|
|
6420
|
+
"text": "string"
|
|
6421
|
+
},
|
|
6422
|
+
"fieldName": "color"
|
|
6423
|
+
},
|
|
6424
|
+
{
|
|
6425
|
+
"name": "light-theme",
|
|
6426
|
+
"type": {
|
|
6427
|
+
"text": "boolean"
|
|
6428
|
+
},
|
|
6429
|
+
"default": "false",
|
|
6430
|
+
"fieldName": "lightTheme"
|
|
5848
6431
|
}
|
|
5849
6432
|
],
|
|
5850
6433
|
"superclass": {
|
|
5851
6434
|
"name": "LitElement",
|
|
5852
6435
|
"package": "lit"
|
|
5853
6436
|
},
|
|
5854
|
-
"tagName": "discord-
|
|
6437
|
+
"tagName": "discord-mention",
|
|
5855
6438
|
"customElement": true
|
|
5856
6439
|
}
|
|
5857
6440
|
],
|
|
5858
6441
|
"exports": [
|
|
5859
6442
|
{
|
|
5860
6443
|
"kind": "js",
|
|
5861
|
-
"name": "
|
|
6444
|
+
"name": "DiscordMention",
|
|
5862
6445
|
"declaration": {
|
|
5863
|
-
"name": "
|
|
5864
|
-
"module": "src/components/discord-
|
|
6446
|
+
"name": "DiscordMention",
|
|
6447
|
+
"module": "src/components/discord-mention/DiscordMention.ts"
|
|
5865
6448
|
}
|
|
5866
6449
|
},
|
|
5867
6450
|
{
|
|
5868
6451
|
"kind": "custom-element-definition",
|
|
5869
|
-
"name": "discord-
|
|
6452
|
+
"name": "discord-mention",
|
|
5870
6453
|
"declaration": {
|
|
5871
|
-
"name": "
|
|
5872
|
-
"module": "src/components/discord-
|
|
6454
|
+
"name": "DiscordMention",
|
|
6455
|
+
"module": "src/components/discord-mention/DiscordMention.ts"
|
|
5873
6456
|
}
|
|
5874
6457
|
}
|
|
5875
6458
|
]
|
|
5876
6459
|
},
|
|
5877
6460
|
{
|
|
5878
6461
|
"kind": "javascript-module",
|
|
5879
|
-
"path": "src/components/discord-
|
|
6462
|
+
"path": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts",
|
|
5880
6463
|
"declarations": [
|
|
5881
6464
|
{
|
|
5882
6465
|
"kind": "class",
|
|
5883
6466
|
"description": "",
|
|
5884
|
-
"name": "
|
|
6467
|
+
"name": "DiscordMentionableSelectMenu",
|
|
5885
6468
|
"members": [
|
|
5886
6469
|
{
|
|
5887
6470
|
"kind": "field",
|
|
5888
|
-
"name": "
|
|
6471
|
+
"name": "withSearch",
|
|
5889
6472
|
"type": {
|
|
5890
6473
|
"text": "boolean"
|
|
5891
6474
|
},
|
|
5892
6475
|
"privacy": "public",
|
|
5893
|
-
"default": "
|
|
5894
|
-
"
|
|
5895
|
-
|
|
5896
|
-
|
|
6476
|
+
"default": "true",
|
|
6477
|
+
"inheritedFrom": {
|
|
6478
|
+
"name": "DiscordStringSelectMenu",
|
|
6479
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6480
|
+
}
|
|
5897
6481
|
},
|
|
5898
6482
|
{
|
|
5899
6483
|
"kind": "field",
|
|
5900
|
-
"name": "
|
|
6484
|
+
"name": "disabled",
|
|
5901
6485
|
"type": {
|
|
5902
|
-
"text": "
|
|
6486
|
+
"text": "boolean"
|
|
5903
6487
|
},
|
|
5904
6488
|
"privacy": "public",
|
|
5905
|
-
"
|
|
5906
|
-
"
|
|
5907
|
-
"
|
|
5908
|
-
|
|
6489
|
+
"description": "Whether to show the `discord-string-select-menu` as disabled.",
|
|
6490
|
+
"attribute": "disabled",
|
|
6491
|
+
"inheritedFrom": {
|
|
6492
|
+
"name": "DiscordStringSelectMenu",
|
|
6493
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6494
|
+
}
|
|
5909
6495
|
},
|
|
5910
6496
|
{
|
|
5911
6497
|
"kind": "field",
|
|
5912
|
-
"name": "
|
|
6498
|
+
"name": "placeholder",
|
|
5913
6499
|
"type": {
|
|
5914
6500
|
"text": "string"
|
|
5915
6501
|
},
|
|
5916
6502
|
"privacy": "public",
|
|
5917
|
-
"
|
|
5918
|
-
"
|
|
6503
|
+
"default": "'Make a selection'",
|
|
6504
|
+
"description": "The placeholder of the select-menu",
|
|
6505
|
+
"attribute": "placeholder",
|
|
6506
|
+
"inheritedFrom": {
|
|
6507
|
+
"name": "DiscordStringSelectMenu",
|
|
6508
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6509
|
+
}
|
|
5919
6510
|
},
|
|
5920
6511
|
{
|
|
5921
6512
|
"kind": "field",
|
|
5922
|
-
"name": "
|
|
5923
|
-
"
|
|
6513
|
+
"name": "lightTheme",
|
|
6514
|
+
"type": {
|
|
6515
|
+
"text": "boolean"
|
|
6516
|
+
},
|
|
6517
|
+
"privacy": "public",
|
|
6518
|
+
"default": "false",
|
|
6519
|
+
"attribute": "light-theme",
|
|
6520
|
+
"reflects": true,
|
|
6521
|
+
"inheritedFrom": {
|
|
6522
|
+
"name": "DiscordStringSelectMenu",
|
|
6523
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6524
|
+
}
|
|
5924
6525
|
},
|
|
5925
6526
|
{
|
|
5926
6527
|
"kind": "field",
|
|
5927
|
-
"name": "
|
|
5928
|
-
"
|
|
6528
|
+
"name": "__previousSelectedNode",
|
|
6529
|
+
"type": {
|
|
6530
|
+
"text": "BaseDiscordSelectMenuOption | undefined"
|
|
6531
|
+
},
|
|
6532
|
+
"privacy": "private",
|
|
6533
|
+
"inheritedFrom": {
|
|
6534
|
+
"name": "DiscordStringSelectMenu",
|
|
6535
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6536
|
+
}
|
|
6537
|
+
},
|
|
6538
|
+
{
|
|
6539
|
+
"kind": "method",
|
|
6540
|
+
"name": "selectOption",
|
|
6541
|
+
"privacy": "public",
|
|
6542
|
+
"parameters": [
|
|
6543
|
+
{
|
|
6544
|
+
"name": "selectedOption",
|
|
6545
|
+
"optional": true,
|
|
6546
|
+
"type": {
|
|
6547
|
+
"text": "BaseDiscordSelectMenuOption"
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
],
|
|
6551
|
+
"inheritedFrom": {
|
|
6552
|
+
"name": "DiscordStringSelectMenu",
|
|
6553
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6554
|
+
}
|
|
5929
6555
|
},
|
|
5930
6556
|
{
|
|
5931
6557
|
"kind": "field",
|
|
5932
|
-
"name": "
|
|
6558
|
+
"name": "options",
|
|
5933
6559
|
"type": {
|
|
5934
|
-
"text": "
|
|
6560
|
+
"text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
|
|
5935
6561
|
},
|
|
5936
6562
|
"privacy": "public",
|
|
5937
|
-
"
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
"attributes": [
|
|
6563
|
+
"inheritedFrom": {
|
|
6564
|
+
"name": "DiscordStringSelectMenu",
|
|
6565
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6566
|
+
}
|
|
6567
|
+
},
|
|
5943
6568
|
{
|
|
5944
|
-
"
|
|
6569
|
+
"kind": "field",
|
|
6570
|
+
"name": "currentOpenInstance",
|
|
6571
|
+
"type": {
|
|
6572
|
+
"text": "DiscordStringSelectMenu | undefined"
|
|
6573
|
+
},
|
|
6574
|
+
"privacy": "public",
|
|
6575
|
+
"static": true,
|
|
6576
|
+
"inheritedFrom": {
|
|
6577
|
+
"name": "DiscordStringSelectMenu",
|
|
6578
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6579
|
+
}
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
"kind": "field",
|
|
6583
|
+
"name": "noResultsFound",
|
|
5945
6584
|
"type": {
|
|
5946
6585
|
"text": "boolean"
|
|
5947
6586
|
},
|
|
6587
|
+
"privacy": "private",
|
|
5948
6588
|
"default": "false",
|
|
5949
|
-
"
|
|
5950
|
-
|
|
6589
|
+
"inheritedFrom": {
|
|
6590
|
+
"name": "DiscordStringSelectMenu",
|
|
6591
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6592
|
+
}
|
|
5951
6593
|
},
|
|
5952
6594
|
{
|
|
5953
|
-
"
|
|
6595
|
+
"kind": "field",
|
|
6596
|
+
"name": "isSearching",
|
|
5954
6597
|
"type": {
|
|
5955
|
-
"text": "
|
|
6598
|
+
"text": "boolean"
|
|
5956
6599
|
},
|
|
5957
|
-
"
|
|
5958
|
-
"
|
|
5959
|
-
"
|
|
6600
|
+
"privacy": "private",
|
|
6601
|
+
"default": "false",
|
|
6602
|
+
"inheritedFrom": {
|
|
6603
|
+
"name": "DiscordStringSelectMenu",
|
|
6604
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6605
|
+
}
|
|
6606
|
+
},
|
|
6607
|
+
{
|
|
6608
|
+
"kind": "method",
|
|
6609
|
+
"name": "handleInput",
|
|
6610
|
+
"privacy": "public",
|
|
6611
|
+
"parameters": [
|
|
6612
|
+
{
|
|
6613
|
+
"name": "input",
|
|
6614
|
+
"type": {
|
|
6615
|
+
"text": "string"
|
|
6616
|
+
}
|
|
6617
|
+
}
|
|
6618
|
+
],
|
|
6619
|
+
"inheritedFrom": {
|
|
6620
|
+
"name": "DiscordStringSelectMenu",
|
|
6621
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6622
|
+
}
|
|
6623
|
+
},
|
|
6624
|
+
{
|
|
6625
|
+
"kind": "method",
|
|
6626
|
+
"name": "doVisibleAllOptions",
|
|
6627
|
+
"privacy": "private",
|
|
6628
|
+
"inheritedFrom": {
|
|
6629
|
+
"name": "DiscordStringSelectMenu",
|
|
6630
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6631
|
+
}
|
|
6632
|
+
},
|
|
6633
|
+
{
|
|
6634
|
+
"kind": "field",
|
|
6635
|
+
"name": "inputRef",
|
|
6636
|
+
"privacy": "private",
|
|
6637
|
+
"inheritedFrom": {
|
|
6638
|
+
"name": "DiscordStringSelectMenu",
|
|
6639
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6640
|
+
}
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
"kind": "method",
|
|
6644
|
+
"name": "handleWindowClickOutsideEvent",
|
|
6645
|
+
"privacy": "private",
|
|
6646
|
+
"inheritedFrom": {
|
|
6647
|
+
"name": "DiscordStringSelectMenu",
|
|
6648
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6649
|
+
}
|
|
6650
|
+
},
|
|
6651
|
+
{
|
|
6652
|
+
"kind": "method",
|
|
6653
|
+
"name": "openOptions",
|
|
6654
|
+
"privacy": "private",
|
|
6655
|
+
"parameters": [
|
|
6656
|
+
{
|
|
6657
|
+
"name": "open",
|
|
6658
|
+
"optional": true,
|
|
6659
|
+
"type": {
|
|
6660
|
+
"text": "boolean"
|
|
6661
|
+
}
|
|
6662
|
+
}
|
|
6663
|
+
],
|
|
6664
|
+
"inheritedFrom": {
|
|
6665
|
+
"name": "DiscordStringSelectMenu",
|
|
6666
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6667
|
+
}
|
|
6668
|
+
}
|
|
6669
|
+
],
|
|
6670
|
+
"superclass": {
|
|
6671
|
+
"name": "DiscordStringSelectMenu",
|
|
6672
|
+
"module": "/src/components/discord-string-select-menu/DiscordStringSelectMenu.js"
|
|
6673
|
+
},
|
|
6674
|
+
"tagName": "discord-mentionable-select-menu",
|
|
6675
|
+
"customElement": true,
|
|
6676
|
+
"attributes": [
|
|
6677
|
+
{
|
|
6678
|
+
"name": "disabled",
|
|
6679
|
+
"type": {
|
|
6680
|
+
"text": "boolean"
|
|
6681
|
+
},
|
|
6682
|
+
"description": "Whether to show the `discord-string-select-menu` as disabled.",
|
|
6683
|
+
"fieldName": "disabled",
|
|
6684
|
+
"inheritedFrom": {
|
|
6685
|
+
"name": "DiscordStringSelectMenu",
|
|
6686
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6687
|
+
}
|
|
5960
6688
|
},
|
|
5961
6689
|
{
|
|
5962
|
-
"name": "
|
|
6690
|
+
"name": "placeholder",
|
|
5963
6691
|
"type": {
|
|
5964
6692
|
"text": "string"
|
|
5965
6693
|
},
|
|
5966
|
-
"
|
|
6694
|
+
"default": "'Make a selection'",
|
|
6695
|
+
"description": "The placeholder of the select-menu",
|
|
6696
|
+
"fieldName": "placeholder",
|
|
6697
|
+
"inheritedFrom": {
|
|
6698
|
+
"name": "DiscordStringSelectMenu",
|
|
6699
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6700
|
+
}
|
|
5967
6701
|
},
|
|
5968
6702
|
{
|
|
5969
6703
|
"name": "light-theme",
|
|
@@ -5971,32 +6705,30 @@
|
|
|
5971
6705
|
"text": "boolean"
|
|
5972
6706
|
},
|
|
5973
6707
|
"default": "false",
|
|
5974
|
-
"fieldName": "lightTheme"
|
|
6708
|
+
"fieldName": "lightTheme",
|
|
6709
|
+
"inheritedFrom": {
|
|
6710
|
+
"name": "DiscordStringSelectMenu",
|
|
6711
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6712
|
+
}
|
|
5975
6713
|
}
|
|
5976
|
-
]
|
|
5977
|
-
"superclass": {
|
|
5978
|
-
"name": "LitElement",
|
|
5979
|
-
"package": "lit"
|
|
5980
|
-
},
|
|
5981
|
-
"tagName": "discord-mention",
|
|
5982
|
-
"customElement": true
|
|
6714
|
+
]
|
|
5983
6715
|
}
|
|
5984
6716
|
],
|
|
5985
6717
|
"exports": [
|
|
5986
6718
|
{
|
|
5987
6719
|
"kind": "js",
|
|
5988
|
-
"name": "
|
|
6720
|
+
"name": "DiscordMentionableSelectMenu",
|
|
5989
6721
|
"declaration": {
|
|
5990
|
-
"name": "
|
|
5991
|
-
"module": "src/components/discord-
|
|
6722
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6723
|
+
"module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
|
|
5992
6724
|
}
|
|
5993
6725
|
},
|
|
5994
6726
|
{
|
|
5995
6727
|
"kind": "custom-element-definition",
|
|
5996
|
-
"name": "discord-
|
|
6728
|
+
"name": "discord-mentionable-select-menu",
|
|
5997
6729
|
"declaration": {
|
|
5998
|
-
"name": "
|
|
5999
|
-
"module": "src/components/discord-
|
|
6730
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6731
|
+
"module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
|
|
6000
6732
|
}
|
|
6001
6733
|
}
|
|
6002
6734
|
]
|
|
@@ -8232,59 +8964,342 @@
|
|
|
8232
8964
|
"type": {
|
|
8233
8965
|
"text": "string"
|
|
8234
8966
|
},
|
|
8235
|
-
"description": "The clan name of the author, which comes from the enabled clan tag",
|
|
8236
|
-
"fieldName": "clanTag"
|
|
8967
|
+
"description": "The clan name of the author, which comes from the enabled clan tag",
|
|
8968
|
+
"fieldName": "clanTag"
|
|
8969
|
+
},
|
|
8970
|
+
{
|
|
8971
|
+
"name": "deleted",
|
|
8972
|
+
"type": {
|
|
8973
|
+
"text": "boolean"
|
|
8974
|
+
},
|
|
8975
|
+
"default": "false",
|
|
8976
|
+
"description": "Whether this reply is a deleted message.\r\nWhen set to true, any content inside the tags is ignored as no `slot` is rendered.\r\nThe message will always be `\"Original message was deleted\"`.\r\nFurthermore, the following properties are ignored:\r\n\r\n- DiscordReply.profile| profile\r\n- DiscordReply.author| author\r\n- DiscordReply.avatar| avatar\r\n- DiscordReply.bot| bot\r\n- DiscordReply.server| server\r\n- DiscordReply.op| op\r\n- DiscordReply.verified| verified\r\n- DiscordReply.edited| edited\r\n- DiscordReply.roleColor| roleColor\r\n- DiscordReply.command| command\r\n- DiscordReply.attachment| attachment\r\n- DiscordReply.mentions| mentions\r\n- DiscordReply.clanIcon| clanIcon\r\n- DiscordReply.clanTag| clanTag",
|
|
8977
|
+
"fieldName": "deleted"
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"name": "light-theme",
|
|
8981
|
+
"type": {
|
|
8982
|
+
"text": "boolean"
|
|
8983
|
+
},
|
|
8984
|
+
"default": "false",
|
|
8985
|
+
"fieldName": "lightTheme"
|
|
8986
|
+
},
|
|
8987
|
+
{
|
|
8988
|
+
"name": "compact-mode",
|
|
8989
|
+
"type": {
|
|
8990
|
+
"text": "boolean"
|
|
8991
|
+
},
|
|
8992
|
+
"default": "false",
|
|
8993
|
+
"description": "Whether to use compact mode or not.",
|
|
8994
|
+
"fieldName": "compactMode"
|
|
8995
|
+
}
|
|
8996
|
+
],
|
|
8997
|
+
"superclass": {
|
|
8998
|
+
"name": "LitElement",
|
|
8999
|
+
"package": "lit"
|
|
9000
|
+
},
|
|
9001
|
+
"tagName": "discord-reply",
|
|
9002
|
+
"customElement": true
|
|
9003
|
+
}
|
|
9004
|
+
],
|
|
9005
|
+
"exports": [
|
|
9006
|
+
{
|
|
9007
|
+
"kind": "js",
|
|
9008
|
+
"name": "DiscordReply",
|
|
9009
|
+
"declaration": {
|
|
9010
|
+
"name": "DiscordReply",
|
|
9011
|
+
"module": "src/components/discord-reply/DiscordReply.ts"
|
|
9012
|
+
}
|
|
9013
|
+
},
|
|
9014
|
+
{
|
|
9015
|
+
"kind": "custom-element-definition",
|
|
9016
|
+
"name": "discord-reply",
|
|
9017
|
+
"declaration": {
|
|
9018
|
+
"name": "DiscordReply",
|
|
9019
|
+
"module": "src/components/discord-reply/DiscordReply.ts"
|
|
9020
|
+
}
|
|
9021
|
+
}
|
|
9022
|
+
]
|
|
9023
|
+
},
|
|
9024
|
+
{
|
|
9025
|
+
"kind": "javascript-module",
|
|
9026
|
+
"path": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts",
|
|
9027
|
+
"declarations": [
|
|
9028
|
+
{
|
|
9029
|
+
"kind": "class",
|
|
9030
|
+
"description": "",
|
|
9031
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9032
|
+
"members": [
|
|
9033
|
+
{
|
|
9034
|
+
"kind": "field",
|
|
9035
|
+
"name": "identifier",
|
|
9036
|
+
"type": {
|
|
9037
|
+
"text": "string"
|
|
9038
|
+
},
|
|
9039
|
+
"privacy": "public",
|
|
9040
|
+
"attribute": "identifier",
|
|
9041
|
+
"reflects": true
|
|
9042
|
+
},
|
|
9043
|
+
{
|
|
9044
|
+
"kind": "field",
|
|
9045
|
+
"name": "name",
|
|
9046
|
+
"type": {
|
|
9047
|
+
"text": "string"
|
|
9048
|
+
},
|
|
9049
|
+
"privacy": "public",
|
|
9050
|
+
"attribute": "name",
|
|
9051
|
+
"reflects": true
|
|
9052
|
+
},
|
|
9053
|
+
{
|
|
9054
|
+
"kind": "field",
|
|
9055
|
+
"name": "color",
|
|
9056
|
+
"type": {
|
|
9057
|
+
"text": "string"
|
|
9058
|
+
},
|
|
9059
|
+
"privacy": "public",
|
|
9060
|
+
"attribute": "color",
|
|
9061
|
+
"reflects": true
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"kind": "field",
|
|
9065
|
+
"name": "memberCount",
|
|
9066
|
+
"type": {
|
|
9067
|
+
"text": "number"
|
|
9068
|
+
},
|
|
9069
|
+
"privacy": "public",
|
|
9070
|
+
"attribute": "member-count",
|
|
9071
|
+
"reflects": true
|
|
9072
|
+
},
|
|
9073
|
+
{
|
|
9074
|
+
"kind": "field",
|
|
9075
|
+
"name": "showMemberCount",
|
|
9076
|
+
"type": {
|
|
9077
|
+
"text": "boolean"
|
|
9078
|
+
},
|
|
9079
|
+
"privacy": "public",
|
|
9080
|
+
"default": "true",
|
|
9081
|
+
"attribute": "show-member-count",
|
|
9082
|
+
"reflects": true
|
|
9083
|
+
},
|
|
9084
|
+
{
|
|
9085
|
+
"kind": "field",
|
|
9086
|
+
"name": "iconUrl",
|
|
9087
|
+
"type": {
|
|
9088
|
+
"text": "string | undefined"
|
|
9089
|
+
},
|
|
9090
|
+
"privacy": "public",
|
|
9091
|
+
"attribute": "icon-url",
|
|
9092
|
+
"reflects": true
|
|
9093
|
+
},
|
|
9094
|
+
{
|
|
9095
|
+
"kind": "method",
|
|
9096
|
+
"name": "filter",
|
|
9097
|
+
"privacy": "public",
|
|
9098
|
+
"return": {
|
|
9099
|
+
"type": {
|
|
9100
|
+
"text": "boolean"
|
|
9101
|
+
}
|
|
9102
|
+
},
|
|
9103
|
+
"parameters": [
|
|
9104
|
+
{
|
|
9105
|
+
"name": "searchValue",
|
|
9106
|
+
"type": {
|
|
9107
|
+
"text": "string"
|
|
9108
|
+
}
|
|
9109
|
+
}
|
|
9110
|
+
],
|
|
9111
|
+
"inheritedFrom": {
|
|
9112
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9113
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9114
|
+
}
|
|
9115
|
+
},
|
|
9116
|
+
{
|
|
9117
|
+
"kind": "field",
|
|
9118
|
+
"name": "lightTheme",
|
|
9119
|
+
"type": {
|
|
9120
|
+
"text": "boolean"
|
|
9121
|
+
},
|
|
9122
|
+
"privacy": "public",
|
|
9123
|
+
"default": "false",
|
|
9124
|
+
"attribute": "light-theme",
|
|
9125
|
+
"reflects": true,
|
|
9126
|
+
"inheritedFrom": {
|
|
9127
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9128
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9129
|
+
}
|
|
9130
|
+
},
|
|
9131
|
+
{
|
|
9132
|
+
"kind": "field",
|
|
9133
|
+
"name": "selected",
|
|
9134
|
+
"type": {
|
|
9135
|
+
"text": "boolean"
|
|
9136
|
+
},
|
|
9137
|
+
"privacy": "public",
|
|
9138
|
+
"default": "false",
|
|
9139
|
+
"attribute": "selected",
|
|
9140
|
+
"reflects": true,
|
|
9141
|
+
"inheritedFrom": {
|
|
9142
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9143
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9144
|
+
}
|
|
9145
|
+
},
|
|
9146
|
+
{
|
|
9147
|
+
"kind": "field",
|
|
9148
|
+
"name": "baseStyles",
|
|
9149
|
+
"privacy": "public",
|
|
9150
|
+
"static": true,
|
|
9151
|
+
"default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `",
|
|
9152
|
+
"inheritedFrom": {
|
|
9153
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9154
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9155
|
+
}
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
"kind": "method",
|
|
9159
|
+
"name": "renderSelectedContainer",
|
|
9160
|
+
"privacy": "protected",
|
|
9161
|
+
"parameters": [
|
|
9162
|
+
{
|
|
9163
|
+
"name": "content",
|
|
9164
|
+
"type": {
|
|
9165
|
+
"text": "TemplateResult"
|
|
9166
|
+
}
|
|
9167
|
+
}
|
|
9168
|
+
],
|
|
9169
|
+
"inheritedFrom": {
|
|
9170
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9171
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9172
|
+
}
|
|
9173
|
+
},
|
|
9174
|
+
{
|
|
9175
|
+
"kind": "field",
|
|
9176
|
+
"name": "visible",
|
|
9177
|
+
"type": {
|
|
9178
|
+
"text": "boolean"
|
|
9179
|
+
},
|
|
9180
|
+
"privacy": "public",
|
|
9181
|
+
"default": "true",
|
|
9182
|
+
"attribute": "visible",
|
|
9183
|
+
"reflects": true,
|
|
9184
|
+
"inheritedFrom": {
|
|
9185
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9186
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9187
|
+
}
|
|
9188
|
+
},
|
|
9189
|
+
{
|
|
9190
|
+
"kind": "method",
|
|
9191
|
+
"name": "selectOption",
|
|
9192
|
+
"privacy": "public",
|
|
9193
|
+
"inheritedFrom": {
|
|
9194
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9195
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9196
|
+
}
|
|
9197
|
+
}
|
|
9198
|
+
],
|
|
9199
|
+
"attributes": [
|
|
9200
|
+
{
|
|
9201
|
+
"name": "identifier",
|
|
9202
|
+
"type": {
|
|
9203
|
+
"text": "string"
|
|
9204
|
+
},
|
|
9205
|
+
"fieldName": "identifier"
|
|
9206
|
+
},
|
|
9207
|
+
{
|
|
9208
|
+
"name": "name",
|
|
9209
|
+
"type": {
|
|
9210
|
+
"text": "string"
|
|
9211
|
+
},
|
|
9212
|
+
"fieldName": "name"
|
|
9213
|
+
},
|
|
9214
|
+
{
|
|
9215
|
+
"name": "color",
|
|
9216
|
+
"type": {
|
|
9217
|
+
"text": "string"
|
|
9218
|
+
},
|
|
9219
|
+
"fieldName": "color"
|
|
9220
|
+
},
|
|
9221
|
+
{
|
|
9222
|
+
"name": "member-count",
|
|
9223
|
+
"type": {
|
|
9224
|
+
"text": "number"
|
|
9225
|
+
},
|
|
9226
|
+
"fieldName": "memberCount"
|
|
9227
|
+
},
|
|
9228
|
+
{
|
|
9229
|
+
"name": "show-member-count",
|
|
9230
|
+
"type": {
|
|
9231
|
+
"text": "boolean"
|
|
9232
|
+
},
|
|
9233
|
+
"default": "true",
|
|
9234
|
+
"fieldName": "showMemberCount"
|
|
9235
|
+
},
|
|
9236
|
+
{
|
|
9237
|
+
"name": "icon-url",
|
|
9238
|
+
"type": {
|
|
9239
|
+
"text": "string | undefined"
|
|
9240
|
+
},
|
|
9241
|
+
"fieldName": "iconUrl"
|
|
8237
9242
|
},
|
|
8238
9243
|
{
|
|
8239
|
-
"name": "
|
|
9244
|
+
"name": "light-theme",
|
|
8240
9245
|
"type": {
|
|
8241
9246
|
"text": "boolean"
|
|
8242
9247
|
},
|
|
8243
9248
|
"default": "false",
|
|
8244
|
-
"
|
|
8245
|
-
"
|
|
9249
|
+
"fieldName": "lightTheme",
|
|
9250
|
+
"inheritedFrom": {
|
|
9251
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9252
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9253
|
+
}
|
|
8246
9254
|
},
|
|
8247
9255
|
{
|
|
8248
|
-
"name": "
|
|
9256
|
+
"name": "selected",
|
|
8249
9257
|
"type": {
|
|
8250
9258
|
"text": "boolean"
|
|
8251
9259
|
},
|
|
8252
9260
|
"default": "false",
|
|
8253
|
-
"fieldName": "
|
|
9261
|
+
"fieldName": "selected",
|
|
9262
|
+
"inheritedFrom": {
|
|
9263
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9264
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9265
|
+
}
|
|
8254
9266
|
},
|
|
8255
9267
|
{
|
|
8256
|
-
"name": "
|
|
9268
|
+
"name": "visible",
|
|
8257
9269
|
"type": {
|
|
8258
9270
|
"text": "boolean"
|
|
8259
9271
|
},
|
|
8260
|
-
"default": "
|
|
8261
|
-
"
|
|
8262
|
-
"
|
|
9272
|
+
"default": "true",
|
|
9273
|
+
"fieldName": "visible",
|
|
9274
|
+
"inheritedFrom": {
|
|
9275
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9276
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9277
|
+
}
|
|
8263
9278
|
}
|
|
8264
9279
|
],
|
|
8265
9280
|
"superclass": {
|
|
8266
|
-
"name": "
|
|
8267
|
-
"
|
|
9281
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9282
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
8268
9283
|
},
|
|
8269
|
-
"tagName": "discord-
|
|
9284
|
+
"tagName": "discord-role-select-menu-option",
|
|
8270
9285
|
"customElement": true
|
|
8271
9286
|
}
|
|
8272
9287
|
],
|
|
8273
9288
|
"exports": [
|
|
8274
9289
|
{
|
|
8275
9290
|
"kind": "js",
|
|
8276
|
-
"name": "
|
|
9291
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
8277
9292
|
"declaration": {
|
|
8278
|
-
"name": "
|
|
8279
|
-
"module": "src/components/discord-
|
|
9293
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9294
|
+
"module": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts"
|
|
8280
9295
|
}
|
|
8281
9296
|
},
|
|
8282
9297
|
{
|
|
8283
9298
|
"kind": "custom-element-definition",
|
|
8284
|
-
"name": "discord-
|
|
9299
|
+
"name": "discord-role-select-menu-option",
|
|
8285
9300
|
"declaration": {
|
|
8286
|
-
"name": "
|
|
8287
|
-
"module": "src/components/discord-
|
|
9301
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9302
|
+
"module": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts"
|
|
8288
9303
|
}
|
|
8289
9304
|
}
|
|
8290
9305
|
]
|
|
@@ -8407,6 +9422,95 @@
|
|
|
8407
9422
|
}
|
|
8408
9423
|
]
|
|
8409
9424
|
},
|
|
9425
|
+
{
|
|
9426
|
+
"kind": "javascript-module",
|
|
9427
|
+
"path": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts",
|
|
9428
|
+
"declarations": [
|
|
9429
|
+
{
|
|
9430
|
+
"kind": "class",
|
|
9431
|
+
"description": "",
|
|
9432
|
+
"name": "DiscordSelectMenuPortal",
|
|
9433
|
+
"members": [
|
|
9434
|
+
{
|
|
9435
|
+
"kind": "field",
|
|
9436
|
+
"name": "type",
|
|
9437
|
+
"type": {
|
|
9438
|
+
"text": "'channel' | 'mentionable' | 'role' | 'user'"
|
|
9439
|
+
},
|
|
9440
|
+
"privacy": "public",
|
|
9441
|
+
"attribute": "type"
|
|
9442
|
+
},
|
|
9443
|
+
{
|
|
9444
|
+
"kind": "field",
|
|
9445
|
+
"name": "defaultIdentifier",
|
|
9446
|
+
"type": {
|
|
9447
|
+
"text": "string | undefined"
|
|
9448
|
+
},
|
|
9449
|
+
"privacy": "public",
|
|
9450
|
+
"attribute": "default-identifier",
|
|
9451
|
+
"reflects": true
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"kind": "field",
|
|
9455
|
+
"name": "defaultType",
|
|
9456
|
+
"type": {
|
|
9457
|
+
"text": "'channel' | 'role' | 'user' | undefined"
|
|
9458
|
+
},
|
|
9459
|
+
"privacy": "public",
|
|
9460
|
+
"attribute": "default-name",
|
|
9461
|
+
"reflects": true
|
|
9462
|
+
}
|
|
9463
|
+
],
|
|
9464
|
+
"attributes": [
|
|
9465
|
+
{
|
|
9466
|
+
"name": "type",
|
|
9467
|
+
"type": {
|
|
9468
|
+
"text": "'channel' | 'mentionable' | 'role' | 'user'"
|
|
9469
|
+
},
|
|
9470
|
+
"fieldName": "type"
|
|
9471
|
+
},
|
|
9472
|
+
{
|
|
9473
|
+
"name": "default-identifier",
|
|
9474
|
+
"type": {
|
|
9475
|
+
"text": "string | undefined"
|
|
9476
|
+
},
|
|
9477
|
+
"fieldName": "defaultIdentifier"
|
|
9478
|
+
},
|
|
9479
|
+
{
|
|
9480
|
+
"name": "default-name",
|
|
9481
|
+
"type": {
|
|
9482
|
+
"text": "'channel' | 'role' | 'user' | undefined"
|
|
9483
|
+
},
|
|
9484
|
+
"fieldName": "defaultType"
|
|
9485
|
+
}
|
|
9486
|
+
],
|
|
9487
|
+
"superclass": {
|
|
9488
|
+
"name": "LitElement",
|
|
9489
|
+
"package": "lit"
|
|
9490
|
+
},
|
|
9491
|
+
"tagName": "discord-select-menu-portal",
|
|
9492
|
+
"customElement": true
|
|
9493
|
+
}
|
|
9494
|
+
],
|
|
9495
|
+
"exports": [
|
|
9496
|
+
{
|
|
9497
|
+
"kind": "js",
|
|
9498
|
+
"name": "DiscordSelectMenuPortal",
|
|
9499
|
+
"declaration": {
|
|
9500
|
+
"name": "DiscordSelectMenuPortal",
|
|
9501
|
+
"module": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts"
|
|
9502
|
+
}
|
|
9503
|
+
},
|
|
9504
|
+
{
|
|
9505
|
+
"kind": "custom-element-definition",
|
|
9506
|
+
"name": "discord-select-menu-portal",
|
|
9507
|
+
"declaration": {
|
|
9508
|
+
"name": "DiscordSelectMenuPortal",
|
|
9509
|
+
"module": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts"
|
|
9510
|
+
}
|
|
9511
|
+
}
|
|
9512
|
+
]
|
|
9513
|
+
},
|
|
8410
9514
|
{
|
|
8411
9515
|
"kind": "javascript-module",
|
|
8412
9516
|
"path": "src/components/discord-separator/DiscordSeparator.ts",
|
|
@@ -8571,6 +9675,15 @@
|
|
|
8571
9675
|
"description": "",
|
|
8572
9676
|
"name": "DiscordStringSelectMenu",
|
|
8573
9677
|
"members": [
|
|
9678
|
+
{
|
|
9679
|
+
"kind": "field",
|
|
9680
|
+
"name": "withSearch",
|
|
9681
|
+
"type": {
|
|
9682
|
+
"text": "boolean"
|
|
9683
|
+
},
|
|
9684
|
+
"privacy": "public",
|
|
9685
|
+
"default": "false"
|
|
9686
|
+
},
|
|
8574
9687
|
{
|
|
8575
9688
|
"kind": "field",
|
|
8576
9689
|
"name": "disabled",
|
|
@@ -8603,10 +9716,104 @@
|
|
|
8603
9716
|
"attribute": "light-theme",
|
|
8604
9717
|
"reflects": true
|
|
8605
9718
|
},
|
|
9719
|
+
{
|
|
9720
|
+
"kind": "field",
|
|
9721
|
+
"name": "__previousSelectedNode",
|
|
9722
|
+
"type": {
|
|
9723
|
+
"text": "BaseDiscordSelectMenuOption | undefined"
|
|
9724
|
+
},
|
|
9725
|
+
"privacy": "private"
|
|
9726
|
+
},
|
|
8606
9727
|
{
|
|
8607
9728
|
"kind": "method",
|
|
8608
|
-
"name": "
|
|
9729
|
+
"name": "selectOption",
|
|
9730
|
+
"privacy": "public",
|
|
9731
|
+
"parameters": [
|
|
9732
|
+
{
|
|
9733
|
+
"name": "selectedOption",
|
|
9734
|
+
"optional": true,
|
|
9735
|
+
"type": {
|
|
9736
|
+
"text": "BaseDiscordSelectMenuOption"
|
|
9737
|
+
}
|
|
9738
|
+
}
|
|
9739
|
+
]
|
|
9740
|
+
},
|
|
9741
|
+
{
|
|
9742
|
+
"kind": "field",
|
|
9743
|
+
"name": "options",
|
|
9744
|
+
"type": {
|
|
9745
|
+
"text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
|
|
9746
|
+
},
|
|
9747
|
+
"privacy": "public"
|
|
9748
|
+
},
|
|
9749
|
+
{
|
|
9750
|
+
"kind": "field",
|
|
9751
|
+
"name": "currentOpenInstance",
|
|
9752
|
+
"type": {
|
|
9753
|
+
"text": "DiscordStringSelectMenu | undefined"
|
|
9754
|
+
},
|
|
9755
|
+
"privacy": "public",
|
|
9756
|
+
"static": true
|
|
9757
|
+
},
|
|
9758
|
+
{
|
|
9759
|
+
"kind": "field",
|
|
9760
|
+
"name": "noResultsFound",
|
|
9761
|
+
"type": {
|
|
9762
|
+
"text": "boolean"
|
|
9763
|
+
},
|
|
9764
|
+
"privacy": "private",
|
|
9765
|
+
"default": "false"
|
|
9766
|
+
},
|
|
9767
|
+
{
|
|
9768
|
+
"kind": "field",
|
|
9769
|
+
"name": "isSearching",
|
|
9770
|
+
"type": {
|
|
9771
|
+
"text": "boolean"
|
|
9772
|
+
},
|
|
9773
|
+
"privacy": "private",
|
|
9774
|
+
"default": "false"
|
|
9775
|
+
},
|
|
9776
|
+
{
|
|
9777
|
+
"kind": "method",
|
|
9778
|
+
"name": "handleInput",
|
|
9779
|
+
"privacy": "public",
|
|
9780
|
+
"parameters": [
|
|
9781
|
+
{
|
|
9782
|
+
"name": "input",
|
|
9783
|
+
"type": {
|
|
9784
|
+
"text": "string"
|
|
9785
|
+
}
|
|
9786
|
+
}
|
|
9787
|
+
]
|
|
9788
|
+
},
|
|
9789
|
+
{
|
|
9790
|
+
"kind": "method",
|
|
9791
|
+
"name": "doVisibleAllOptions",
|
|
9792
|
+
"privacy": "private"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"kind": "field",
|
|
9796
|
+
"name": "inputRef",
|
|
9797
|
+
"privacy": "private"
|
|
9798
|
+
},
|
|
9799
|
+
{
|
|
9800
|
+
"kind": "method",
|
|
9801
|
+
"name": "handleWindowClickOutsideEvent",
|
|
8609
9802
|
"privacy": "private"
|
|
9803
|
+
},
|
|
9804
|
+
{
|
|
9805
|
+
"kind": "method",
|
|
9806
|
+
"name": "openOptions",
|
|
9807
|
+
"privacy": "private",
|
|
9808
|
+
"parameters": [
|
|
9809
|
+
{
|
|
9810
|
+
"name": "open",
|
|
9811
|
+
"optional": true,
|
|
9812
|
+
"type": {
|
|
9813
|
+
"text": "boolean"
|
|
9814
|
+
}
|
|
9815
|
+
}
|
|
9816
|
+
]
|
|
8610
9817
|
}
|
|
8611
9818
|
],
|
|
8612
9819
|
"attributes": [
|
|
@@ -8716,17 +9923,31 @@
|
|
|
8716
9923
|
"attribute": "description"
|
|
8717
9924
|
},
|
|
8718
9925
|
{
|
|
8719
|
-
"kind": "
|
|
8720
|
-
"name": "
|
|
8721
|
-
"type": {
|
|
8722
|
-
"text": "(...args: unknown[]) => void"
|
|
8723
|
-
},
|
|
9926
|
+
"kind": "method",
|
|
9927
|
+
"name": "checkLabelIsProvided",
|
|
8724
9928
|
"privacy": "public"
|
|
8725
9929
|
},
|
|
8726
9930
|
{
|
|
8727
9931
|
"kind": "method",
|
|
8728
|
-
"name": "
|
|
8729
|
-
"privacy": "public"
|
|
9932
|
+
"name": "filter",
|
|
9933
|
+
"privacy": "public",
|
|
9934
|
+
"return": {
|
|
9935
|
+
"type": {
|
|
9936
|
+
"text": "boolean"
|
|
9937
|
+
}
|
|
9938
|
+
},
|
|
9939
|
+
"parameters": [
|
|
9940
|
+
{
|
|
9941
|
+
"name": "searchValue",
|
|
9942
|
+
"type": {
|
|
9943
|
+
"text": "string"
|
|
9944
|
+
}
|
|
9945
|
+
}
|
|
9946
|
+
],
|
|
9947
|
+
"inheritedFrom": {
|
|
9948
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9949
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9950
|
+
}
|
|
8730
9951
|
},
|
|
8731
9952
|
{
|
|
8732
9953
|
"kind": "field",
|
|
@@ -8737,7 +9958,78 @@
|
|
|
8737
9958
|
"privacy": "public",
|
|
8738
9959
|
"default": "false",
|
|
8739
9960
|
"attribute": "light-theme",
|
|
8740
|
-
"reflects": true
|
|
9961
|
+
"reflects": true,
|
|
9962
|
+
"inheritedFrom": {
|
|
9963
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9964
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9965
|
+
}
|
|
9966
|
+
},
|
|
9967
|
+
{
|
|
9968
|
+
"kind": "field",
|
|
9969
|
+
"name": "selected",
|
|
9970
|
+
"type": {
|
|
9971
|
+
"text": "boolean"
|
|
9972
|
+
},
|
|
9973
|
+
"privacy": "public",
|
|
9974
|
+
"default": "false",
|
|
9975
|
+
"attribute": "selected",
|
|
9976
|
+
"reflects": true,
|
|
9977
|
+
"inheritedFrom": {
|
|
9978
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9979
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9980
|
+
}
|
|
9981
|
+
},
|
|
9982
|
+
{
|
|
9983
|
+
"kind": "field",
|
|
9984
|
+
"name": "baseStyles",
|
|
9985
|
+
"privacy": "public",
|
|
9986
|
+
"static": true,
|
|
9987
|
+
"default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `",
|
|
9988
|
+
"inheritedFrom": {
|
|
9989
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9990
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9991
|
+
}
|
|
9992
|
+
},
|
|
9993
|
+
{
|
|
9994
|
+
"kind": "method",
|
|
9995
|
+
"name": "renderSelectedContainer",
|
|
9996
|
+
"privacy": "protected",
|
|
9997
|
+
"parameters": [
|
|
9998
|
+
{
|
|
9999
|
+
"name": "content",
|
|
10000
|
+
"type": {
|
|
10001
|
+
"text": "TemplateResult"
|
|
10002
|
+
}
|
|
10003
|
+
}
|
|
10004
|
+
],
|
|
10005
|
+
"inheritedFrom": {
|
|
10006
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10007
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10008
|
+
}
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"kind": "field",
|
|
10012
|
+
"name": "visible",
|
|
10013
|
+
"type": {
|
|
10014
|
+
"text": "boolean"
|
|
10015
|
+
},
|
|
10016
|
+
"privacy": "public",
|
|
10017
|
+
"default": "true",
|
|
10018
|
+
"attribute": "visible",
|
|
10019
|
+
"reflects": true,
|
|
10020
|
+
"inheritedFrom": {
|
|
10021
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10022
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10023
|
+
}
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
"kind": "method",
|
|
10027
|
+
"name": "selectOption",
|
|
10028
|
+
"privacy": "public",
|
|
10029
|
+
"inheritedFrom": {
|
|
10030
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10031
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10032
|
+
}
|
|
8741
10033
|
}
|
|
8742
10034
|
],
|
|
8743
10035
|
"attributes": [
|
|
@@ -8780,12 +10072,40 @@
|
|
|
8780
10072
|
"text": "boolean"
|
|
8781
10073
|
},
|
|
8782
10074
|
"default": "false",
|
|
8783
|
-
"fieldName": "lightTheme"
|
|
10075
|
+
"fieldName": "lightTheme",
|
|
10076
|
+
"inheritedFrom": {
|
|
10077
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10078
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10079
|
+
}
|
|
10080
|
+
},
|
|
10081
|
+
{
|
|
10082
|
+
"name": "selected",
|
|
10083
|
+
"type": {
|
|
10084
|
+
"text": "boolean"
|
|
10085
|
+
},
|
|
10086
|
+
"default": "false",
|
|
10087
|
+
"fieldName": "selected",
|
|
10088
|
+
"inheritedFrom": {
|
|
10089
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10090
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10091
|
+
}
|
|
10092
|
+
},
|
|
10093
|
+
{
|
|
10094
|
+
"name": "visible",
|
|
10095
|
+
"type": {
|
|
10096
|
+
"text": "boolean"
|
|
10097
|
+
},
|
|
10098
|
+
"default": "true",
|
|
10099
|
+
"fieldName": "visible",
|
|
10100
|
+
"inheritedFrom": {
|
|
10101
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10102
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10103
|
+
}
|
|
8784
10104
|
}
|
|
8785
10105
|
],
|
|
8786
10106
|
"superclass": {
|
|
8787
|
-
"name": "
|
|
8788
|
-
"
|
|
10107
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10108
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
8789
10109
|
},
|
|
8790
10110
|
"tagName": "discord-string-select-menu-option",
|
|
8791
10111
|
"customElement": true
|
|
@@ -9105,42 +10425,6 @@
|
|
|
9105
10425
|
}
|
|
9106
10426
|
]
|
|
9107
10427
|
},
|
|
9108
|
-
{
|
|
9109
|
-
"kind": "javascript-module",
|
|
9110
|
-
"path": "src/components/discord-text-display/DiscordTextDisplay.ts",
|
|
9111
|
-
"declarations": [
|
|
9112
|
-
{
|
|
9113
|
-
"kind": "class",
|
|
9114
|
-
"description": "",
|
|
9115
|
-
"name": "DiscordTextDisplay",
|
|
9116
|
-
"members": [],
|
|
9117
|
-
"superclass": {
|
|
9118
|
-
"name": "LitElement",
|
|
9119
|
-
"package": "lit"
|
|
9120
|
-
},
|
|
9121
|
-
"tagName": "discord-text-display",
|
|
9122
|
-
"customElement": true
|
|
9123
|
-
}
|
|
9124
|
-
],
|
|
9125
|
-
"exports": [
|
|
9126
|
-
{
|
|
9127
|
-
"kind": "js",
|
|
9128
|
-
"name": "DiscordTextDisplay",
|
|
9129
|
-
"declaration": {
|
|
9130
|
-
"name": "DiscordTextDisplay",
|
|
9131
|
-
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9132
|
-
}
|
|
9133
|
-
},
|
|
9134
|
-
{
|
|
9135
|
-
"kind": "custom-element-definition",
|
|
9136
|
-
"name": "discord-text-display",
|
|
9137
|
-
"declaration": {
|
|
9138
|
-
"name": "DiscordTextDisplay",
|
|
9139
|
-
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9140
|
-
}
|
|
9141
|
-
}
|
|
9142
|
-
]
|
|
9143
|
-
},
|
|
9144
10428
|
{
|
|
9145
10429
|
"kind": "javascript-module",
|
|
9146
10430
|
"path": "src/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.ts",
|
|
@@ -9429,98 +10713,36 @@
|
|
|
9429
10713
|
},
|
|
9430
10714
|
{
|
|
9431
10715
|
"kind": "javascript-module",
|
|
9432
|
-
"path": "src/components/discord-
|
|
10716
|
+
"path": "src/components/discord-text-display/DiscordTextDisplay.ts",
|
|
9433
10717
|
"declarations": [
|
|
9434
10718
|
{
|
|
9435
10719
|
"kind": "class",
|
|
9436
10720
|
"description": "",
|
|
9437
|
-
"name": "
|
|
9438
|
-
"members": [
|
|
9439
|
-
{
|
|
9440
|
-
"kind": "field",
|
|
9441
|
-
"name": "name",
|
|
9442
|
-
"type": {
|
|
9443
|
-
"text": "string"
|
|
9444
|
-
},
|
|
9445
|
-
"privacy": "public",
|
|
9446
|
-
"default": "'Thread'",
|
|
9447
|
-
"description": "The name of the thread.",
|
|
9448
|
-
"attribute": "name"
|
|
9449
|
-
},
|
|
9450
|
-
{
|
|
9451
|
-
"kind": "field",
|
|
9452
|
-
"name": "cta",
|
|
9453
|
-
"type": {
|
|
9454
|
-
"text": "string"
|
|
9455
|
-
},
|
|
9456
|
-
"privacy": "public",
|
|
9457
|
-
"default": "'See Thread'",
|
|
9458
|
-
"description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
|
|
9459
|
-
"attribute": "cta"
|
|
9460
|
-
},
|
|
9461
|
-
{
|
|
9462
|
-
"kind": "field",
|
|
9463
|
-
"name": "lightTheme",
|
|
9464
|
-
"type": {
|
|
9465
|
-
"text": "boolean"
|
|
9466
|
-
},
|
|
9467
|
-
"privacy": "public",
|
|
9468
|
-
"default": "false",
|
|
9469
|
-
"attribute": "light-theme",
|
|
9470
|
-
"reflects": true
|
|
9471
|
-
}
|
|
9472
|
-
],
|
|
9473
|
-
"attributes": [
|
|
9474
|
-
{
|
|
9475
|
-
"name": "name",
|
|
9476
|
-
"type": {
|
|
9477
|
-
"text": "string"
|
|
9478
|
-
},
|
|
9479
|
-
"default": "'Thread'",
|
|
9480
|
-
"description": "The name of the thread.",
|
|
9481
|
-
"fieldName": "name"
|
|
9482
|
-
},
|
|
9483
|
-
{
|
|
9484
|
-
"name": "cta",
|
|
9485
|
-
"type": {
|
|
9486
|
-
"text": "string"
|
|
9487
|
-
},
|
|
9488
|
-
"default": "'See Thread'",
|
|
9489
|
-
"description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
|
|
9490
|
-
"fieldName": "cta"
|
|
9491
|
-
},
|
|
9492
|
-
{
|
|
9493
|
-
"name": "light-theme",
|
|
9494
|
-
"type": {
|
|
9495
|
-
"text": "boolean"
|
|
9496
|
-
},
|
|
9497
|
-
"default": "false",
|
|
9498
|
-
"fieldName": "lightTheme"
|
|
9499
|
-
}
|
|
9500
|
-
],
|
|
10721
|
+
"name": "DiscordTextDisplay",
|
|
10722
|
+
"members": [],
|
|
9501
10723
|
"superclass": {
|
|
9502
10724
|
"name": "LitElement",
|
|
9503
10725
|
"package": "lit"
|
|
9504
10726
|
},
|
|
9505
|
-
"tagName": "discord-
|
|
10727
|
+
"tagName": "discord-text-display",
|
|
9506
10728
|
"customElement": true
|
|
9507
10729
|
}
|
|
9508
10730
|
],
|
|
9509
10731
|
"exports": [
|
|
9510
10732
|
{
|
|
9511
10733
|
"kind": "js",
|
|
9512
|
-
"name": "
|
|
10734
|
+
"name": "DiscordTextDisplay",
|
|
9513
10735
|
"declaration": {
|
|
9514
|
-
"name": "
|
|
9515
|
-
"module": "src/components/discord-
|
|
10736
|
+
"name": "DiscordTextDisplay",
|
|
10737
|
+
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9516
10738
|
}
|
|
9517
10739
|
},
|
|
9518
10740
|
{
|
|
9519
10741
|
"kind": "custom-element-definition",
|
|
9520
|
-
"name": "discord-
|
|
10742
|
+
"name": "discord-text-display",
|
|
9521
10743
|
"declaration": {
|
|
9522
|
-
"name": "
|
|
9523
|
-
"module": "src/components/discord-
|
|
10744
|
+
"name": "DiscordTextDisplay",
|
|
10745
|
+
"module": "src/components/discord-text-display/DiscordTextDisplay.ts"
|
|
9524
10746
|
}
|
|
9525
10747
|
}
|
|
9526
10748
|
]
|
|
@@ -9670,74 +10892,172 @@
|
|
|
9670
10892
|
"fieldName": "profile"
|
|
9671
10893
|
},
|
|
9672
10894
|
{
|
|
9673
|
-
"name": "author",
|
|
10895
|
+
"name": "author",
|
|
10896
|
+
"type": {
|
|
10897
|
+
"text": "string"
|
|
10898
|
+
},
|
|
10899
|
+
"default": "'User'",
|
|
10900
|
+
"description": "The message author's username.",
|
|
10901
|
+
"fieldName": "author"
|
|
10902
|
+
},
|
|
10903
|
+
{
|
|
10904
|
+
"name": "avatar",
|
|
10905
|
+
"type": {
|
|
10906
|
+
"text": "string"
|
|
10907
|
+
},
|
|
10908
|
+
"description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
|
|
10909
|
+
"fieldName": "avatar"
|
|
10910
|
+
},
|
|
10911
|
+
{
|
|
10912
|
+
"name": "bot",
|
|
10913
|
+
"type": {
|
|
10914
|
+
"text": "boolean"
|
|
10915
|
+
},
|
|
10916
|
+
"default": "false",
|
|
10917
|
+
"description": "Whether the message author is a bot or not.\r\nOnly works if `server` is `false` or `undefined`.",
|
|
10918
|
+
"fieldName": "bot"
|
|
10919
|
+
},
|
|
10920
|
+
{
|
|
10921
|
+
"name": "server",
|
|
10922
|
+
"type": {
|
|
10923
|
+
"text": "boolean"
|
|
10924
|
+
},
|
|
10925
|
+
"default": "false",
|
|
10926
|
+
"description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` is `false` or `undefined`.",
|
|
10927
|
+
"fieldName": "server"
|
|
10928
|
+
},
|
|
10929
|
+
{
|
|
10930
|
+
"name": "verified",
|
|
10931
|
+
"type": {
|
|
10932
|
+
"text": "boolean"
|
|
10933
|
+
},
|
|
10934
|
+
"default": "false",
|
|
10935
|
+
"description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
|
|
10936
|
+
"fieldName": "verified"
|
|
10937
|
+
},
|
|
10938
|
+
{
|
|
10939
|
+
"name": "edited",
|
|
10940
|
+
"type": {
|
|
10941
|
+
"text": "boolean"
|
|
10942
|
+
},
|
|
10943
|
+
"default": "false",
|
|
10944
|
+
"description": "Whether the message has been edited or not.",
|
|
10945
|
+
"fieldName": "edited"
|
|
10946
|
+
},
|
|
10947
|
+
{
|
|
10948
|
+
"name": "role-color",
|
|
10949
|
+
"type": {
|
|
10950
|
+
"text": "string"
|
|
10951
|
+
},
|
|
10952
|
+
"description": "The message author's primary role color. Can be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
|
|
10953
|
+
"fieldName": "roleColor"
|
|
10954
|
+
},
|
|
10955
|
+
{
|
|
10956
|
+
"name": "relative-timestamp",
|
|
10957
|
+
"type": {
|
|
10958
|
+
"text": "string"
|
|
10959
|
+
},
|
|
10960
|
+
"default": "'1m ago'",
|
|
10961
|
+
"description": "The relative timestamp of the message.",
|
|
10962
|
+
"fieldName": "relativeTimestamp"
|
|
10963
|
+
},
|
|
10964
|
+
{
|
|
10965
|
+
"name": "light-theme",
|
|
10966
|
+
"type": {
|
|
10967
|
+
"text": "boolean"
|
|
10968
|
+
},
|
|
10969
|
+
"default": "false",
|
|
10970
|
+
"fieldName": "lightTheme"
|
|
10971
|
+
}
|
|
10972
|
+
],
|
|
10973
|
+
"superclass": {
|
|
10974
|
+
"name": "LitElement",
|
|
10975
|
+
"package": "lit"
|
|
10976
|
+
},
|
|
10977
|
+
"tagName": "discord-thread-message",
|
|
10978
|
+
"customElement": true
|
|
10979
|
+
}
|
|
10980
|
+
],
|
|
10981
|
+
"exports": [
|
|
10982
|
+
{
|
|
10983
|
+
"kind": "js",
|
|
10984
|
+
"name": "DiscordThreadMessage",
|
|
10985
|
+
"declaration": {
|
|
10986
|
+
"name": "DiscordThreadMessage",
|
|
10987
|
+
"module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
|
|
10988
|
+
}
|
|
10989
|
+
},
|
|
10990
|
+
{
|
|
10991
|
+
"kind": "custom-element-definition",
|
|
10992
|
+
"name": "discord-thread-message",
|
|
10993
|
+
"declaration": {
|
|
10994
|
+
"name": "DiscordThreadMessage",
|
|
10995
|
+
"module": "src/components/discord-thread-message/DiscordThreadMessage.ts"
|
|
10996
|
+
}
|
|
10997
|
+
}
|
|
10998
|
+
]
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
"kind": "javascript-module",
|
|
11002
|
+
"path": "src/components/discord-thread/DiscordThread.ts",
|
|
11003
|
+
"declarations": [
|
|
11004
|
+
{
|
|
11005
|
+
"kind": "class",
|
|
11006
|
+
"description": "",
|
|
11007
|
+
"name": "DiscordThread",
|
|
11008
|
+
"members": [
|
|
11009
|
+
{
|
|
11010
|
+
"kind": "field",
|
|
11011
|
+
"name": "name",
|
|
9674
11012
|
"type": {
|
|
9675
11013
|
"text": "string"
|
|
9676
11014
|
},
|
|
9677
|
-
"
|
|
9678
|
-
"
|
|
9679
|
-
"
|
|
11015
|
+
"privacy": "public",
|
|
11016
|
+
"default": "'Thread'",
|
|
11017
|
+
"description": "The name of the thread.",
|
|
11018
|
+
"attribute": "name"
|
|
9680
11019
|
},
|
|
9681
11020
|
{
|
|
9682
|
-
"
|
|
11021
|
+
"kind": "field",
|
|
11022
|
+
"name": "cta",
|
|
9683
11023
|
"type": {
|
|
9684
11024
|
"text": "string"
|
|
9685
11025
|
},
|
|
9686
|
-
"
|
|
9687
|
-
"
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
"name": "bot",
|
|
9691
|
-
"type": {
|
|
9692
|
-
"text": "boolean"
|
|
9693
|
-
},
|
|
9694
|
-
"default": "false",
|
|
9695
|
-
"description": "Whether the message author is a bot or not.\r\nOnly works if `server` is `false` or `undefined`.",
|
|
9696
|
-
"fieldName": "bot"
|
|
9697
|
-
},
|
|
9698
|
-
{
|
|
9699
|
-
"name": "server",
|
|
9700
|
-
"type": {
|
|
9701
|
-
"text": "boolean"
|
|
9702
|
-
},
|
|
9703
|
-
"default": "false",
|
|
9704
|
-
"description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` is `false` or `undefined`.",
|
|
9705
|
-
"fieldName": "server"
|
|
9706
|
-
},
|
|
9707
|
-
{
|
|
9708
|
-
"name": "verified",
|
|
9709
|
-
"type": {
|
|
9710
|
-
"text": "boolean"
|
|
9711
|
-
},
|
|
9712
|
-
"default": "false",
|
|
9713
|
-
"description": "Whether the bot is verified or not.\r\nOnly works if `bot` is `true`",
|
|
9714
|
-
"fieldName": "verified"
|
|
11026
|
+
"privacy": "public",
|
|
11027
|
+
"default": "'See Thread'",
|
|
11028
|
+
"description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
|
|
11029
|
+
"attribute": "cta"
|
|
9715
11030
|
},
|
|
9716
11031
|
{
|
|
9717
|
-
"
|
|
11032
|
+
"kind": "field",
|
|
11033
|
+
"name": "lightTheme",
|
|
9718
11034
|
"type": {
|
|
9719
11035
|
"text": "boolean"
|
|
9720
11036
|
},
|
|
11037
|
+
"privacy": "public",
|
|
9721
11038
|
"default": "false",
|
|
9722
|
-
"
|
|
9723
|
-
"
|
|
9724
|
-
}
|
|
11039
|
+
"attribute": "light-theme",
|
|
11040
|
+
"reflects": true
|
|
11041
|
+
}
|
|
11042
|
+
],
|
|
11043
|
+
"attributes": [
|
|
9725
11044
|
{
|
|
9726
|
-
"name": "
|
|
11045
|
+
"name": "name",
|
|
9727
11046
|
"type": {
|
|
9728
11047
|
"text": "string"
|
|
9729
11048
|
},
|
|
9730
|
-
"
|
|
9731
|
-
"
|
|
11049
|
+
"default": "'Thread'",
|
|
11050
|
+
"description": "The name of the thread.",
|
|
11051
|
+
"fieldName": "name"
|
|
9732
11052
|
},
|
|
9733
11053
|
{
|
|
9734
|
-
"name": "
|
|
11054
|
+
"name": "cta",
|
|
9735
11055
|
"type": {
|
|
9736
11056
|
"text": "string"
|
|
9737
11057
|
},
|
|
9738
|
-
"default": "'
|
|
9739
|
-
"description": "The
|
|
9740
|
-
"fieldName": "
|
|
11058
|
+
"default": "'See Thread'",
|
|
11059
|
+
"description": "The the text within the call to action text. (i.e. 'See Thread' or 'x Messages')",
|
|
11060
|
+
"fieldName": "cta"
|
|
9741
11061
|
},
|
|
9742
11062
|
{
|
|
9743
11063
|
"name": "light-theme",
|
|
@@ -9752,25 +11072,25 @@
|
|
|
9752
11072
|
"name": "LitElement",
|
|
9753
11073
|
"package": "lit"
|
|
9754
11074
|
},
|
|
9755
|
-
"tagName": "discord-thread
|
|
11075
|
+
"tagName": "discord-thread",
|
|
9756
11076
|
"customElement": true
|
|
9757
11077
|
}
|
|
9758
11078
|
],
|
|
9759
11079
|
"exports": [
|
|
9760
11080
|
{
|
|
9761
11081
|
"kind": "js",
|
|
9762
|
-
"name": "
|
|
11082
|
+
"name": "DiscordThread",
|
|
9763
11083
|
"declaration": {
|
|
9764
|
-
"name": "
|
|
9765
|
-
"module": "src/components/discord-thread
|
|
11084
|
+
"name": "DiscordThread",
|
|
11085
|
+
"module": "src/components/discord-thread/DiscordThread.ts"
|
|
9766
11086
|
}
|
|
9767
11087
|
},
|
|
9768
11088
|
{
|
|
9769
11089
|
"kind": "custom-element-definition",
|
|
9770
|
-
"name": "discord-thread
|
|
11090
|
+
"name": "discord-thread",
|
|
9771
11091
|
"declaration": {
|
|
9772
|
-
"name": "
|
|
9773
|
-
"module": "src/components/discord-thread
|
|
11092
|
+
"name": "DiscordThread",
|
|
11093
|
+
"module": "src/components/discord-thread/DiscordThread.ts"
|
|
9774
11094
|
}
|
|
9775
11095
|
}
|
|
9776
11096
|
]
|
|
@@ -9812,6 +11132,15 @@
|
|
|
9812
11132
|
"default": "false",
|
|
9813
11133
|
"attribute": "spoiler",
|
|
9814
11134
|
"reflects": true
|
|
11135
|
+
},
|
|
11136
|
+
{
|
|
11137
|
+
"kind": "field",
|
|
11138
|
+
"name": "isOpen",
|
|
11139
|
+
"type": {
|
|
11140
|
+
"text": "boolean"
|
|
11141
|
+
},
|
|
11142
|
+
"privacy": "private",
|
|
11143
|
+
"default": "false"
|
|
9815
11144
|
}
|
|
9816
11145
|
],
|
|
9817
11146
|
"attributes": [
|
|
@@ -10145,56 +11474,358 @@
|
|
|
10145
11474
|
"members": [
|
|
10146
11475
|
{
|
|
10147
11476
|
"kind": "field",
|
|
10148
|
-
"name": "nested",
|
|
11477
|
+
"name": "nested",
|
|
11478
|
+
"type": {
|
|
11479
|
+
"text": "boolean"
|
|
11480
|
+
},
|
|
11481
|
+
"privacy": "public",
|
|
11482
|
+
"default": "false",
|
|
11483
|
+
"description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
|
|
11484
|
+
"attribute": "nested",
|
|
11485
|
+
"reflects": true
|
|
11486
|
+
},
|
|
11487
|
+
{
|
|
11488
|
+
"kind": "method",
|
|
11489
|
+
"name": "checkChildren",
|
|
11490
|
+
"privacy": "public"
|
|
11491
|
+
}
|
|
11492
|
+
],
|
|
11493
|
+
"attributes": [
|
|
11494
|
+
{
|
|
11495
|
+
"name": "nested",
|
|
11496
|
+
"type": {
|
|
11497
|
+
"text": "boolean"
|
|
11498
|
+
},
|
|
11499
|
+
"default": "false",
|
|
11500
|
+
"description": "Whether this is a nested list or not, this will change the style of the list-style.\r\n\r\nThe library will try to guess this automatically based on the component tree, but\r\nyou can also set this manually.",
|
|
11501
|
+
"fieldName": "nested"
|
|
11502
|
+
}
|
|
11503
|
+
],
|
|
11504
|
+
"superclass": {
|
|
11505
|
+
"name": "LitElement",
|
|
11506
|
+
"package": "lit"
|
|
11507
|
+
},
|
|
11508
|
+
"tagName": "discord-unordered-list",
|
|
11509
|
+
"customElement": true
|
|
11510
|
+
}
|
|
11511
|
+
],
|
|
11512
|
+
"exports": [
|
|
11513
|
+
{
|
|
11514
|
+
"kind": "js",
|
|
11515
|
+
"name": "DiscordUnorderedList",
|
|
11516
|
+
"declaration": {
|
|
11517
|
+
"name": "DiscordUnorderedList",
|
|
11518
|
+
"module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
|
|
11519
|
+
}
|
|
11520
|
+
},
|
|
11521
|
+
{
|
|
11522
|
+
"kind": "custom-element-definition",
|
|
11523
|
+
"name": "discord-unordered-list",
|
|
11524
|
+
"declaration": {
|
|
11525
|
+
"name": "DiscordUnorderedList",
|
|
11526
|
+
"module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
|
|
11527
|
+
}
|
|
11528
|
+
}
|
|
11529
|
+
]
|
|
11530
|
+
},
|
|
11531
|
+
{
|
|
11532
|
+
"kind": "javascript-module",
|
|
11533
|
+
"path": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts",
|
|
11534
|
+
"declarations": [
|
|
11535
|
+
{
|
|
11536
|
+
"kind": "class",
|
|
11537
|
+
"description": "",
|
|
11538
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11539
|
+
"members": [
|
|
11540
|
+
{
|
|
11541
|
+
"kind": "field",
|
|
11542
|
+
"name": "identifier",
|
|
11543
|
+
"type": {
|
|
11544
|
+
"text": "string"
|
|
11545
|
+
},
|
|
11546
|
+
"privacy": "public",
|
|
11547
|
+
"attribute": "identifier",
|
|
11548
|
+
"reflects": true
|
|
11549
|
+
},
|
|
11550
|
+
{
|
|
11551
|
+
"kind": "field",
|
|
11552
|
+
"name": "avatarUrl",
|
|
11553
|
+
"type": {
|
|
11554
|
+
"text": "string"
|
|
11555
|
+
},
|
|
11556
|
+
"privacy": "public",
|
|
11557
|
+
"attribute": "avatar-url",
|
|
11558
|
+
"reflects": true
|
|
11559
|
+
},
|
|
11560
|
+
{
|
|
11561
|
+
"kind": "field",
|
|
11562
|
+
"name": "username",
|
|
11563
|
+
"type": {
|
|
11564
|
+
"text": "string"
|
|
11565
|
+
},
|
|
11566
|
+
"privacy": "public",
|
|
11567
|
+
"attribute": "username",
|
|
11568
|
+
"reflects": true
|
|
11569
|
+
},
|
|
11570
|
+
{
|
|
11571
|
+
"kind": "field",
|
|
11572
|
+
"name": "discriminator",
|
|
11573
|
+
"type": {
|
|
11574
|
+
"text": "string"
|
|
11575
|
+
},
|
|
11576
|
+
"privacy": "public",
|
|
11577
|
+
"attribute": "discriminator",
|
|
11578
|
+
"reflects": true
|
|
11579
|
+
},
|
|
11580
|
+
{
|
|
11581
|
+
"kind": "field",
|
|
11582
|
+
"name": "globalName",
|
|
11583
|
+
"type": {
|
|
11584
|
+
"text": "string"
|
|
11585
|
+
},
|
|
11586
|
+
"privacy": "public",
|
|
11587
|
+
"attribute": "global-name",
|
|
11588
|
+
"reflects": true
|
|
11589
|
+
},
|
|
11590
|
+
{
|
|
11591
|
+
"kind": "field",
|
|
11592
|
+
"name": "bot",
|
|
11593
|
+
"type": {
|
|
11594
|
+
"text": "boolean"
|
|
11595
|
+
},
|
|
11596
|
+
"privacy": "public",
|
|
11597
|
+
"default": "false",
|
|
11598
|
+
"attribute": "bot",
|
|
11599
|
+
"reflects": true
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"kind": "field",
|
|
11603
|
+
"name": "verified",
|
|
11604
|
+
"type": {
|
|
11605
|
+
"text": "boolean"
|
|
11606
|
+
},
|
|
11607
|
+
"privacy": "public",
|
|
11608
|
+
"default": "false",
|
|
11609
|
+
"attribute": "verified",
|
|
11610
|
+
"reflects": true
|
|
11611
|
+
},
|
|
11612
|
+
{
|
|
11613
|
+
"kind": "method",
|
|
11614
|
+
"name": "filter",
|
|
11615
|
+
"privacy": "public",
|
|
11616
|
+
"return": {
|
|
11617
|
+
"type": {
|
|
11618
|
+
"text": "boolean"
|
|
11619
|
+
}
|
|
11620
|
+
},
|
|
11621
|
+
"parameters": [
|
|
11622
|
+
{
|
|
11623
|
+
"name": "searchValue",
|
|
11624
|
+
"type": {
|
|
11625
|
+
"text": "string"
|
|
11626
|
+
}
|
|
11627
|
+
}
|
|
11628
|
+
],
|
|
11629
|
+
"inheritedFrom": {
|
|
11630
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11631
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11632
|
+
}
|
|
11633
|
+
},
|
|
11634
|
+
{
|
|
11635
|
+
"kind": "field",
|
|
11636
|
+
"name": "lightTheme",
|
|
11637
|
+
"type": {
|
|
11638
|
+
"text": "boolean"
|
|
11639
|
+
},
|
|
11640
|
+
"privacy": "public",
|
|
11641
|
+
"default": "false",
|
|
11642
|
+
"attribute": "light-theme",
|
|
11643
|
+
"reflects": true,
|
|
11644
|
+
"inheritedFrom": {
|
|
11645
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11646
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11647
|
+
}
|
|
11648
|
+
},
|
|
11649
|
+
{
|
|
11650
|
+
"kind": "field",
|
|
11651
|
+
"name": "selected",
|
|
11652
|
+
"type": {
|
|
11653
|
+
"text": "boolean"
|
|
11654
|
+
},
|
|
11655
|
+
"privacy": "public",
|
|
11656
|
+
"default": "false",
|
|
11657
|
+
"attribute": "selected",
|
|
11658
|
+
"reflects": true,
|
|
11659
|
+
"inheritedFrom": {
|
|
11660
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11661
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11662
|
+
}
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"kind": "field",
|
|
11666
|
+
"name": "baseStyles",
|
|
11667
|
+
"privacy": "public",
|
|
11668
|
+
"static": true,
|
|
11669
|
+
"default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `",
|
|
11670
|
+
"inheritedFrom": {
|
|
11671
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11672
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11673
|
+
}
|
|
11674
|
+
},
|
|
11675
|
+
{
|
|
11676
|
+
"kind": "method",
|
|
11677
|
+
"name": "renderSelectedContainer",
|
|
11678
|
+
"privacy": "protected",
|
|
11679
|
+
"parameters": [
|
|
11680
|
+
{
|
|
11681
|
+
"name": "content",
|
|
11682
|
+
"type": {
|
|
11683
|
+
"text": "TemplateResult"
|
|
11684
|
+
}
|
|
11685
|
+
}
|
|
11686
|
+
],
|
|
11687
|
+
"inheritedFrom": {
|
|
11688
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11689
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11690
|
+
}
|
|
11691
|
+
},
|
|
11692
|
+
{
|
|
11693
|
+
"kind": "field",
|
|
11694
|
+
"name": "visible",
|
|
10149
11695
|
"type": {
|
|
10150
11696
|
"text": "boolean"
|
|
10151
11697
|
},
|
|
10152
11698
|
"privacy": "public",
|
|
10153
|
-
"default": "
|
|
10154
|
-
"
|
|
10155
|
-
"
|
|
10156
|
-
"
|
|
11699
|
+
"default": "true",
|
|
11700
|
+
"attribute": "visible",
|
|
11701
|
+
"reflects": true,
|
|
11702
|
+
"inheritedFrom": {
|
|
11703
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11704
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11705
|
+
}
|
|
10157
11706
|
},
|
|
10158
11707
|
{
|
|
10159
11708
|
"kind": "method",
|
|
10160
|
-
"name": "
|
|
10161
|
-
"privacy": "public"
|
|
11709
|
+
"name": "selectOption",
|
|
11710
|
+
"privacy": "public",
|
|
11711
|
+
"inheritedFrom": {
|
|
11712
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11713
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11714
|
+
}
|
|
10162
11715
|
}
|
|
10163
11716
|
],
|
|
10164
11717
|
"attributes": [
|
|
10165
11718
|
{
|
|
10166
|
-
"name": "
|
|
11719
|
+
"name": "identifier",
|
|
11720
|
+
"type": {
|
|
11721
|
+
"text": "string"
|
|
11722
|
+
},
|
|
11723
|
+
"fieldName": "identifier"
|
|
11724
|
+
},
|
|
11725
|
+
{
|
|
11726
|
+
"name": "avatar-url",
|
|
11727
|
+
"type": {
|
|
11728
|
+
"text": "string"
|
|
11729
|
+
},
|
|
11730
|
+
"fieldName": "avatarUrl"
|
|
11731
|
+
},
|
|
11732
|
+
{
|
|
11733
|
+
"name": "username",
|
|
11734
|
+
"type": {
|
|
11735
|
+
"text": "string"
|
|
11736
|
+
},
|
|
11737
|
+
"fieldName": "username"
|
|
11738
|
+
},
|
|
11739
|
+
{
|
|
11740
|
+
"name": "discriminator",
|
|
11741
|
+
"type": {
|
|
11742
|
+
"text": "string"
|
|
11743
|
+
},
|
|
11744
|
+
"fieldName": "discriminator"
|
|
11745
|
+
},
|
|
11746
|
+
{
|
|
11747
|
+
"name": "global-name",
|
|
11748
|
+
"type": {
|
|
11749
|
+
"text": "string"
|
|
11750
|
+
},
|
|
11751
|
+
"fieldName": "globalName"
|
|
11752
|
+
},
|
|
11753
|
+
{
|
|
11754
|
+
"name": "bot",
|
|
10167
11755
|
"type": {
|
|
10168
11756
|
"text": "boolean"
|
|
10169
11757
|
},
|
|
10170
11758
|
"default": "false",
|
|
10171
|
-
"
|
|
10172
|
-
|
|
11759
|
+
"fieldName": "bot"
|
|
11760
|
+
},
|
|
11761
|
+
{
|
|
11762
|
+
"name": "verified",
|
|
11763
|
+
"type": {
|
|
11764
|
+
"text": "boolean"
|
|
11765
|
+
},
|
|
11766
|
+
"default": "false",
|
|
11767
|
+
"fieldName": "verified"
|
|
11768
|
+
},
|
|
11769
|
+
{
|
|
11770
|
+
"name": "light-theme",
|
|
11771
|
+
"type": {
|
|
11772
|
+
"text": "boolean"
|
|
11773
|
+
},
|
|
11774
|
+
"default": "false",
|
|
11775
|
+
"fieldName": "lightTheme",
|
|
11776
|
+
"inheritedFrom": {
|
|
11777
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11778
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11779
|
+
}
|
|
11780
|
+
},
|
|
11781
|
+
{
|
|
11782
|
+
"name": "selected",
|
|
11783
|
+
"type": {
|
|
11784
|
+
"text": "boolean"
|
|
11785
|
+
},
|
|
11786
|
+
"default": "false",
|
|
11787
|
+
"fieldName": "selected",
|
|
11788
|
+
"inheritedFrom": {
|
|
11789
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11790
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11791
|
+
}
|
|
11792
|
+
},
|
|
11793
|
+
{
|
|
11794
|
+
"name": "visible",
|
|
11795
|
+
"type": {
|
|
11796
|
+
"text": "boolean"
|
|
11797
|
+
},
|
|
11798
|
+
"default": "true",
|
|
11799
|
+
"fieldName": "visible",
|
|
11800
|
+
"inheritedFrom": {
|
|
11801
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11802
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11803
|
+
}
|
|
10173
11804
|
}
|
|
10174
11805
|
],
|
|
10175
11806
|
"superclass": {
|
|
10176
|
-
"name": "
|
|
10177
|
-
"
|
|
11807
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11808
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
10178
11809
|
},
|
|
10179
|
-
"tagName": "discord-
|
|
11810
|
+
"tagName": "discord-user-select-menu-option",
|
|
10180
11811
|
"customElement": true
|
|
10181
11812
|
}
|
|
10182
11813
|
],
|
|
10183
11814
|
"exports": [
|
|
10184
11815
|
{
|
|
10185
11816
|
"kind": "js",
|
|
10186
|
-
"name": "
|
|
11817
|
+
"name": "DiscordUserSelectMenuOption",
|
|
10187
11818
|
"declaration": {
|
|
10188
|
-
"name": "
|
|
10189
|
-
"module": "src/components/discord-
|
|
11819
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11820
|
+
"module": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts"
|
|
10190
11821
|
}
|
|
10191
11822
|
},
|
|
10192
11823
|
{
|
|
10193
11824
|
"kind": "custom-element-definition",
|
|
10194
|
-
"name": "discord-
|
|
11825
|
+
"name": "discord-user-select-menu-option",
|
|
10195
11826
|
"declaration": {
|
|
10196
|
-
"name": "
|
|
10197
|
-
"module": "src/components/discord-
|
|
11827
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11828
|
+
"module": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts"
|
|
10198
11829
|
}
|
|
10199
11830
|
}
|
|
10200
11831
|
]
|
|
@@ -10377,6 +12008,24 @@
|
|
|
10377
12008
|
},
|
|
10378
12009
|
"privacy": "private"
|
|
10379
12010
|
},
|
|
12011
|
+
{
|
|
12012
|
+
"kind": "field",
|
|
12013
|
+
"name": "width",
|
|
12014
|
+
"type": {
|
|
12015
|
+
"text": "number | undefined"
|
|
12016
|
+
},
|
|
12017
|
+
"privacy": "public",
|
|
12018
|
+
"attribute": "width"
|
|
12019
|
+
},
|
|
12020
|
+
{
|
|
12021
|
+
"kind": "field",
|
|
12022
|
+
"name": "height",
|
|
12023
|
+
"type": {
|
|
12024
|
+
"text": "number | undefined"
|
|
12025
|
+
},
|
|
12026
|
+
"privacy": "public",
|
|
12027
|
+
"attribute": "height"
|
|
12028
|
+
},
|
|
10380
12029
|
{
|
|
10381
12030
|
"kind": "method",
|
|
10382
12031
|
"name": "handleFullScreenChange",
|
|
@@ -10834,6 +12483,20 @@
|
|
|
10834
12483
|
},
|
|
10835
12484
|
"default": "false",
|
|
10836
12485
|
"fieldName": "isInMediaFullScreenPreviewer"
|
|
12486
|
+
},
|
|
12487
|
+
{
|
|
12488
|
+
"name": "width",
|
|
12489
|
+
"type": {
|
|
12490
|
+
"text": "number | undefined"
|
|
12491
|
+
},
|
|
12492
|
+
"fieldName": "width"
|
|
12493
|
+
},
|
|
12494
|
+
{
|
|
12495
|
+
"name": "height",
|
|
12496
|
+
"type": {
|
|
12497
|
+
"text": "number | undefined"
|
|
12498
|
+
},
|
|
12499
|
+
"fieldName": "height"
|
|
10837
12500
|
}
|
|
10838
12501
|
],
|
|
10839
12502
|
"superclass": {
|
|
@@ -12913,6 +14576,136 @@
|
|
|
12913
14576
|
}
|
|
12914
14577
|
]
|
|
12915
14578
|
},
|
|
14579
|
+
{
|
|
14580
|
+
"kind": "javascript-module",
|
|
14581
|
+
"path": "src/components/_private/BaseDiscordSelectMenuOption.ts",
|
|
14582
|
+
"declarations": [
|
|
14583
|
+
{
|
|
14584
|
+
"kind": "class",
|
|
14585
|
+
"description": "",
|
|
14586
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14587
|
+
"members": [
|
|
14588
|
+
{
|
|
14589
|
+
"kind": "field",
|
|
14590
|
+
"name": "lightTheme",
|
|
14591
|
+
"type": {
|
|
14592
|
+
"text": "boolean"
|
|
14593
|
+
},
|
|
14594
|
+
"privacy": "public",
|
|
14595
|
+
"default": "false",
|
|
14596
|
+
"attribute": "light-theme",
|
|
14597
|
+
"reflects": true
|
|
14598
|
+
},
|
|
14599
|
+
{
|
|
14600
|
+
"kind": "field",
|
|
14601
|
+
"name": "selected",
|
|
14602
|
+
"type": {
|
|
14603
|
+
"text": "boolean"
|
|
14604
|
+
},
|
|
14605
|
+
"privacy": "public",
|
|
14606
|
+
"default": "false",
|
|
14607
|
+
"attribute": "selected",
|
|
14608
|
+
"reflects": true
|
|
14609
|
+
},
|
|
14610
|
+
{
|
|
14611
|
+
"kind": "field",
|
|
14612
|
+
"name": "baseStyles",
|
|
14613
|
+
"privacy": "public",
|
|
14614
|
+
"static": true,
|
|
14615
|
+
"default": "css` label { display: flex; align-items: center; max-width: 400px; padding: 12px 8px 8px 12px; gap: 10px; font-size: small; cursor: pointer; } :host { user-select: none; } label:hover, :host([selected]) label { background-color: rgba(255, 255, 255, 0.1); } :host([light-theme]) { background-color: #f2f3f5 !important; border-color: #d9d9d9 !important; color: #2e3338; span { color: #434c4f; } } :host([light-theme]) label:hover, :host([selected][light-theme]) label { background-color: rgba(204, 204, 204, 2) !important; } .selected-tick { width: 20px; height: 20px; border-radius: 50%; background-color: #5865f2; color: #fff; display: flex; align-items: center; justify-content: center; svg { width: 32px; height: 32px; } } .flex-container { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: space-between; } :host([slot='default']) { pointer-events: none; background-color: transparent !important; border-color: transparent !important; label { padding-left: 4px !important; } } :host(:not([visible])) { display: none; } `"
|
|
14616
|
+
},
|
|
14617
|
+
{
|
|
14618
|
+
"kind": "method",
|
|
14619
|
+
"name": "renderSelectedContainer",
|
|
14620
|
+
"privacy": "protected",
|
|
14621
|
+
"parameters": [
|
|
14622
|
+
{
|
|
14623
|
+
"name": "content",
|
|
14624
|
+
"type": {
|
|
14625
|
+
"text": "TemplateResult"
|
|
14626
|
+
}
|
|
14627
|
+
}
|
|
14628
|
+
]
|
|
14629
|
+
},
|
|
14630
|
+
{
|
|
14631
|
+
"kind": "field",
|
|
14632
|
+
"name": "visible",
|
|
14633
|
+
"type": {
|
|
14634
|
+
"text": "boolean"
|
|
14635
|
+
},
|
|
14636
|
+
"privacy": "public",
|
|
14637
|
+
"default": "true",
|
|
14638
|
+
"attribute": "visible",
|
|
14639
|
+
"reflects": true
|
|
14640
|
+
},
|
|
14641
|
+
{
|
|
14642
|
+
"kind": "method",
|
|
14643
|
+
"name": "filter",
|
|
14644
|
+
"privacy": "public",
|
|
14645
|
+
"return": {
|
|
14646
|
+
"type": {
|
|
14647
|
+
"text": "boolean"
|
|
14648
|
+
}
|
|
14649
|
+
},
|
|
14650
|
+
"parameters": [
|
|
14651
|
+
{
|
|
14652
|
+
"name": "searchValue",
|
|
14653
|
+
"type": {
|
|
14654
|
+
"text": "Lowercase<string>"
|
|
14655
|
+
}
|
|
14656
|
+
}
|
|
14657
|
+
]
|
|
14658
|
+
},
|
|
14659
|
+
{
|
|
14660
|
+
"kind": "method",
|
|
14661
|
+
"name": "selectOption",
|
|
14662
|
+
"privacy": "public"
|
|
14663
|
+
}
|
|
14664
|
+
],
|
|
14665
|
+
"attributes": [
|
|
14666
|
+
{
|
|
14667
|
+
"name": "light-theme",
|
|
14668
|
+
"type": {
|
|
14669
|
+
"text": "boolean"
|
|
14670
|
+
},
|
|
14671
|
+
"default": "false",
|
|
14672
|
+
"fieldName": "lightTheme"
|
|
14673
|
+
},
|
|
14674
|
+
{
|
|
14675
|
+
"name": "selected",
|
|
14676
|
+
"type": {
|
|
14677
|
+
"text": "boolean"
|
|
14678
|
+
},
|
|
14679
|
+
"default": "false",
|
|
14680
|
+
"fieldName": "selected"
|
|
14681
|
+
},
|
|
14682
|
+
{
|
|
14683
|
+
"name": "visible",
|
|
14684
|
+
"type": {
|
|
14685
|
+
"text": "boolean"
|
|
14686
|
+
},
|
|
14687
|
+
"default": "true",
|
|
14688
|
+
"fieldName": "visible"
|
|
14689
|
+
}
|
|
14690
|
+
],
|
|
14691
|
+
"superclass": {
|
|
14692
|
+
"name": "LitElement",
|
|
14693
|
+
"package": "lit"
|
|
14694
|
+
},
|
|
14695
|
+
"customElement": true
|
|
14696
|
+
}
|
|
14697
|
+
],
|
|
14698
|
+
"exports": [
|
|
14699
|
+
{
|
|
14700
|
+
"kind": "js",
|
|
14701
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14702
|
+
"declaration": {
|
|
14703
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14704
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
14705
|
+
}
|
|
14706
|
+
}
|
|
14707
|
+
]
|
|
14708
|
+
},
|
|
12916
14709
|
{
|
|
12917
14710
|
"kind": "javascript-module",
|
|
12918
14711
|
"path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
|