@penwin/discord-components-core 4.2.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2136 -362
- package/dist/bundle/index.mjs +1676 -1152
- 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 +213 -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 +2 -2
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.d.ts.map +1 -1
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +4 -29
- 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 +39 -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 +13 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.d.ts.map +1 -0
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +79 -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 +210 -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 +5 -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
|
{
|
|
@@ -2844,6 +3202,127 @@
|
|
|
2844
3202
|
}
|
|
2845
3203
|
]
|
|
2846
3204
|
},
|
|
3205
|
+
{
|
|
3206
|
+
"kind": "javascript-module",
|
|
3207
|
+
"path": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts",
|
|
3208
|
+
"declarations": [
|
|
3209
|
+
{
|
|
3210
|
+
"kind": "class",
|
|
3211
|
+
"description": "",
|
|
3212
|
+
"name": "DiscordCustomEmoji",
|
|
3213
|
+
"members": [
|
|
3214
|
+
{
|
|
3215
|
+
"kind": "field",
|
|
3216
|
+
"name": "name",
|
|
3217
|
+
"type": {
|
|
3218
|
+
"text": "string"
|
|
3219
|
+
},
|
|
3220
|
+
"privacy": "public",
|
|
3221
|
+
"description": "The name of the emoji",
|
|
3222
|
+
"attribute": "name"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"kind": "field",
|
|
3226
|
+
"name": "url",
|
|
3227
|
+
"type": {
|
|
3228
|
+
"text": "string"
|
|
3229
|
+
},
|
|
3230
|
+
"privacy": "public",
|
|
3231
|
+
"description": "The emoji URL to use in the message.",
|
|
3232
|
+
"attribute": "url"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"kind": "field",
|
|
3236
|
+
"name": "customEmojisMap",
|
|
3237
|
+
"type": {
|
|
3238
|
+
"text": "{ [key: string]: Emoji }"
|
|
3239
|
+
},
|
|
3240
|
+
"privacy": "public",
|
|
3241
|
+
"default": "{}",
|
|
3242
|
+
"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."
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "field",
|
|
3246
|
+
"name": "embedEmoji",
|
|
3247
|
+
"type": {
|
|
3248
|
+
"text": "boolean"
|
|
3249
|
+
},
|
|
3250
|
+
"privacy": "public",
|
|
3251
|
+
"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.",
|
|
3252
|
+
"attribute": "embed-emoji"
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"kind": "field",
|
|
3256
|
+
"name": "jumbo",
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "boolean"
|
|
3259
|
+
},
|
|
3260
|
+
"privacy": "public",
|
|
3261
|
+
"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.",
|
|
3262
|
+
"attribute": "jumbo"
|
|
3263
|
+
}
|
|
3264
|
+
],
|
|
3265
|
+
"attributes": [
|
|
3266
|
+
{
|
|
3267
|
+
"name": "name",
|
|
3268
|
+
"type": {
|
|
3269
|
+
"text": "string"
|
|
3270
|
+
},
|
|
3271
|
+
"description": "The name of the emoji",
|
|
3272
|
+
"fieldName": "name"
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"name": "url",
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "string"
|
|
3278
|
+
},
|
|
3279
|
+
"description": "The emoji URL to use in the message.",
|
|
3280
|
+
"fieldName": "url"
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"name": "embed-emoji",
|
|
3284
|
+
"type": {
|
|
3285
|
+
"text": "boolean"
|
|
3286
|
+
},
|
|
3287
|
+
"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.",
|
|
3288
|
+
"fieldName": "embedEmoji"
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"name": "jumbo",
|
|
3292
|
+
"type": {
|
|
3293
|
+
"text": "boolean"
|
|
3294
|
+
},
|
|
3295
|
+
"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.",
|
|
3296
|
+
"fieldName": "jumbo"
|
|
3297
|
+
}
|
|
3298
|
+
],
|
|
3299
|
+
"superclass": {
|
|
3300
|
+
"name": "LitElement",
|
|
3301
|
+
"package": "lit"
|
|
3302
|
+
},
|
|
3303
|
+
"tagName": "discord-custom-emoji",
|
|
3304
|
+
"customElement": true
|
|
3305
|
+
}
|
|
3306
|
+
],
|
|
3307
|
+
"exports": [
|
|
3308
|
+
{
|
|
3309
|
+
"kind": "js",
|
|
3310
|
+
"name": "DiscordCustomEmoji",
|
|
3311
|
+
"declaration": {
|
|
3312
|
+
"name": "DiscordCustomEmoji",
|
|
3313
|
+
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3314
|
+
}
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"kind": "custom-element-definition",
|
|
3318
|
+
"name": "discord-custom-emoji",
|
|
3319
|
+
"declaration": {
|
|
3320
|
+
"name": "DiscordCustomEmoji",
|
|
3321
|
+
"module": "src/components/discord-custom-emoji/DiscordCustomEmoji.ts"
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
]
|
|
3325
|
+
},
|
|
2847
3326
|
{
|
|
2848
3327
|
"kind": "javascript-module",
|
|
2849
3328
|
"path": "src/components/discord-container/DiscordContainer.ts",
|
|
@@ -2963,179 +3442,58 @@
|
|
|
2963
3442
|
},
|
|
2964
3443
|
{
|
|
2965
3444
|
"kind": "javascript-module",
|
|
2966
|
-
"path": "src/components/discord-
|
|
3445
|
+
"path": "src/components/discord-embed/DiscordEmbed.ts",
|
|
2967
3446
|
"declarations": [
|
|
2968
3447
|
{
|
|
2969
3448
|
"kind": "class",
|
|
2970
3449
|
"description": "",
|
|
2971
|
-
"name": "
|
|
3450
|
+
"name": "DiscordEmbed",
|
|
2972
3451
|
"members": [
|
|
2973
3452
|
{
|
|
2974
3453
|
"kind": "field",
|
|
2975
|
-
"name": "
|
|
3454
|
+
"name": "color",
|
|
2976
3455
|
"type": {
|
|
2977
3456
|
"text": "string"
|
|
2978
3457
|
},
|
|
2979
3458
|
"privacy": "public",
|
|
2980
|
-
"description": "The
|
|
2981
|
-
"attribute": "
|
|
3459
|
+
"description": "The color to use for the embed's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
|
|
3460
|
+
"attribute": "color"
|
|
2982
3461
|
},
|
|
2983
3462
|
{
|
|
2984
3463
|
"kind": "field",
|
|
2985
|
-
"name": "
|
|
3464
|
+
"name": "authorName",
|
|
2986
3465
|
"type": {
|
|
2987
3466
|
"text": "string"
|
|
2988
3467
|
},
|
|
2989
3468
|
"privacy": "public",
|
|
2990
|
-
"description": "The
|
|
2991
|
-
"attribute": "
|
|
3469
|
+
"description": "The author's name.",
|
|
3470
|
+
"attribute": "author-name"
|
|
2992
3471
|
},
|
|
2993
3472
|
{
|
|
2994
3473
|
"kind": "field",
|
|
2995
|
-
"name": "
|
|
3474
|
+
"name": "authorImage",
|
|
2996
3475
|
"type": {
|
|
2997
|
-
"text": "
|
|
3476
|
+
"text": "string"
|
|
2998
3477
|
},
|
|
2999
3478
|
"privacy": "public",
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3479
|
+
"description": "The author's avatar URL.",
|
|
3480
|
+
"attribute": "author-image"
|
|
3002
3481
|
},
|
|
3003
3482
|
{
|
|
3004
3483
|
"kind": "field",
|
|
3005
|
-
"name": "
|
|
3484
|
+
"name": "authorUrl",
|
|
3006
3485
|
"type": {
|
|
3007
|
-
"text": "
|
|
3486
|
+
"text": "string"
|
|
3008
3487
|
},
|
|
3009
3488
|
"privacy": "public",
|
|
3010
|
-
"description": "
|
|
3011
|
-
"attribute": "
|
|
3489
|
+
"description": "The URL to open when you click on the author's name.",
|
|
3490
|
+
"attribute": "author-url"
|
|
3012
3491
|
},
|
|
3013
3492
|
{
|
|
3014
3493
|
"kind": "field",
|
|
3015
|
-
"name": "
|
|
3494
|
+
"name": "embedTitle",
|
|
3016
3495
|
"type": {
|
|
3017
|
-
"text": "
|
|
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
|
-
{
|
|
3086
|
-
"kind": "javascript-module",
|
|
3087
|
-
"path": "src/components/discord-embed/DiscordEmbed.ts",
|
|
3088
|
-
"declarations": [
|
|
3089
|
-
{
|
|
3090
|
-
"kind": "class",
|
|
3091
|
-
"description": "",
|
|
3092
|
-
"name": "DiscordEmbed",
|
|
3093
|
-
"members": [
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "field",
|
|
3096
|
-
"name": "color",
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "string"
|
|
3099
|
-
},
|
|
3100
|
-
"privacy": "public",
|
|
3101
|
-
"description": "The color to use for the embed's left border.\r\nCan be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).",
|
|
3102
|
-
"attribute": "color"
|
|
3103
|
-
},
|
|
3104
|
-
{
|
|
3105
|
-
"kind": "field",
|
|
3106
|
-
"name": "authorName",
|
|
3107
|
-
"type": {
|
|
3108
|
-
"text": "string"
|
|
3109
|
-
},
|
|
3110
|
-
"privacy": "public",
|
|
3111
|
-
"description": "The author's name.",
|
|
3112
|
-
"attribute": "author-name"
|
|
3113
|
-
},
|
|
3114
|
-
{
|
|
3115
|
-
"kind": "field",
|
|
3116
|
-
"name": "authorImage",
|
|
3117
|
-
"type": {
|
|
3118
|
-
"text": "string"
|
|
3119
|
-
},
|
|
3120
|
-
"privacy": "public",
|
|
3121
|
-
"description": "The author's avatar URL.",
|
|
3122
|
-
"attribute": "author-image"
|
|
3123
|
-
},
|
|
3124
|
-
{
|
|
3125
|
-
"kind": "field",
|
|
3126
|
-
"name": "authorUrl",
|
|
3127
|
-
"type": {
|
|
3128
|
-
"text": "string"
|
|
3129
|
-
},
|
|
3130
|
-
"privacy": "public",
|
|
3131
|
-
"description": "The URL to open when you click on the author's name.",
|
|
3132
|
-
"attribute": "author-url"
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
"kind": "field",
|
|
3136
|
-
"name": "embedTitle",
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "string"
|
|
3496
|
+
"text": "string"
|
|
3139
3497
|
},
|
|
3140
3498
|
"privacy": "public",
|
|
3141
3499
|
"description": "The embed title.",
|
|
@@ -3212,6 +3570,24 @@
|
|
|
3212
3570
|
"attribute": "light-theme",
|
|
3213
3571
|
"reflects": true
|
|
3214
3572
|
},
|
|
3573
|
+
{
|
|
3574
|
+
"kind": "field",
|
|
3575
|
+
"name": "isThumbnailOpen",
|
|
3576
|
+
"type": {
|
|
3577
|
+
"text": "boolean"
|
|
3578
|
+
},
|
|
3579
|
+
"privacy": "private",
|
|
3580
|
+
"default": "false"
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"kind": "field",
|
|
3584
|
+
"name": "isImageOpen",
|
|
3585
|
+
"type": {
|
|
3586
|
+
"text": "boolean"
|
|
3587
|
+
},
|
|
3588
|
+
"privacy": "private",
|
|
3589
|
+
"default": "false"
|
|
3590
|
+
},
|
|
3215
3591
|
{
|
|
3216
3592
|
"kind": "method",
|
|
3217
3593
|
"name": "renderMedia",
|
|
@@ -3979,10 +4355,9 @@
|
|
|
3979
4355
|
"kind": "field",
|
|
3980
4356
|
"name": "timestamp",
|
|
3981
4357
|
"type": {
|
|
3982
|
-
"text": "
|
|
4358
|
+
"text": "string | undefined"
|
|
3983
4359
|
},
|
|
3984
4360
|
"privacy": "public",
|
|
3985
|
-
"default": "new Date()",
|
|
3986
4361
|
"attribute": "timestamp",
|
|
3987
4362
|
"reflects": true
|
|
3988
4363
|
},
|
|
@@ -4032,9 +4407,8 @@
|
|
|
4032
4407
|
{
|
|
4033
4408
|
"name": "timestamp",
|
|
4034
4409
|
"type": {
|
|
4035
|
-
"text": "
|
|
4410
|
+
"text": "string | undefined"
|
|
4036
4411
|
},
|
|
4037
|
-
"default": "new Date()",
|
|
4038
4412
|
"fieldName": "timestamp"
|
|
4039
4413
|
},
|
|
4040
4414
|
{
|
|
@@ -5333,7 +5707,7 @@
|
|
|
5333
5707
|
"kind": "field",
|
|
5334
5708
|
"name": "mediaItems",
|
|
5335
5709
|
"type": {
|
|
5336
|
-
"text": "
|
|
5710
|
+
"text": "Pick<DiscordMediaGalleryItem, 'height' | 'media' | 'mimeType' | 'width'>[]"
|
|
5337
5711
|
},
|
|
5338
5712
|
"privacy": "public"
|
|
5339
5713
|
},
|
|
@@ -5449,6 +5823,16 @@
|
|
|
5449
5823
|
}
|
|
5450
5824
|
}
|
|
5451
5825
|
]
|
|
5826
|
+
},
|
|
5827
|
+
{
|
|
5828
|
+
"kind": "field",
|
|
5829
|
+
"name": "currentMediaContainer",
|
|
5830
|
+
"privacy": "private"
|
|
5831
|
+
},
|
|
5832
|
+
{
|
|
5833
|
+
"kind": "method",
|
|
5834
|
+
"name": "patchCurrentMediaContainerHeight",
|
|
5835
|
+
"privacy": "private"
|
|
5452
5836
|
}
|
|
5453
5837
|
],
|
|
5454
5838
|
"attributes": [
|
|
@@ -5514,7 +5898,7 @@
|
|
|
5514
5898
|
"kind": "field",
|
|
5515
5899
|
"name": "mediaItems",
|
|
5516
5900
|
"type": {
|
|
5517
|
-
"text": "
|
|
5901
|
+
"text": "DiscordMediaGalleryItem[]"
|
|
5518
5902
|
},
|
|
5519
5903
|
"privacy": "public"
|
|
5520
5904
|
},
|
|
@@ -5653,6 +6037,24 @@
|
|
|
5653
6037
|
"default": "false",
|
|
5654
6038
|
"attribute": "spoiler"
|
|
5655
6039
|
},
|
|
6040
|
+
{
|
|
6041
|
+
"kind": "field",
|
|
6042
|
+
"name": "width",
|
|
6043
|
+
"type": {
|
|
6044
|
+
"text": "number | undefined"
|
|
6045
|
+
},
|
|
6046
|
+
"privacy": "public",
|
|
6047
|
+
"attribute": "width"
|
|
6048
|
+
},
|
|
6049
|
+
{
|
|
6050
|
+
"kind": "field",
|
|
6051
|
+
"name": "height",
|
|
6052
|
+
"type": {
|
|
6053
|
+
"text": "number | undefined"
|
|
6054
|
+
},
|
|
6055
|
+
"privacy": "public",
|
|
6056
|
+
"attribute": "height"
|
|
6057
|
+
},
|
|
5656
6058
|
{
|
|
5657
6059
|
"kind": "field",
|
|
5658
6060
|
"name": "discordSupportedVideoExtensions",
|
|
@@ -5688,11 +6090,32 @@
|
|
|
5688
6090
|
}
|
|
5689
6091
|
]
|
|
5690
6092
|
},
|
|
6093
|
+
{
|
|
6094
|
+
"kind": "method",
|
|
6095
|
+
"name": "isGif",
|
|
6096
|
+
"privacy": "public",
|
|
6097
|
+
"static": true,
|
|
6098
|
+
"parameters": [
|
|
6099
|
+
{
|
|
6100
|
+
"name": "url",
|
|
6101
|
+
"type": {
|
|
6102
|
+
"text": "string"
|
|
6103
|
+
}
|
|
6104
|
+
},
|
|
6105
|
+
{
|
|
6106
|
+
"name": "mimeType",
|
|
6107
|
+
"optional": true,
|
|
6108
|
+
"type": {
|
|
6109
|
+
"text": "string | null"
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6112
|
+
]
|
|
6113
|
+
},
|
|
5691
6114
|
{
|
|
5692
6115
|
"kind": "field",
|
|
5693
6116
|
"name": "mediaItems",
|
|
5694
6117
|
"type": {
|
|
5695
|
-
"text": "
|
|
6118
|
+
"text": "DiscordMediaGalleryItem[]"
|
|
5696
6119
|
},
|
|
5697
6120
|
"privacy": "public"
|
|
5698
6121
|
},
|
|
@@ -5738,6 +6161,20 @@
|
|
|
5738
6161
|
},
|
|
5739
6162
|
"default": "false",
|
|
5740
6163
|
"fieldName": "spoiler"
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
"name": "width",
|
|
6167
|
+
"type": {
|
|
6168
|
+
"text": "number | undefined"
|
|
6169
|
+
},
|
|
6170
|
+
"fieldName": "width"
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
"name": "height",
|
|
6174
|
+
"type": {
|
|
6175
|
+
"text": "number | undefined"
|
|
6176
|
+
},
|
|
6177
|
+
"fieldName": "height"
|
|
5741
6178
|
}
|
|
5742
6179
|
],
|
|
5743
6180
|
"superclass": {
|
|
@@ -6003,79 +6440,355 @@
|
|
|
6003
6440
|
},
|
|
6004
6441
|
{
|
|
6005
6442
|
"kind": "javascript-module",
|
|
6006
|
-
"path": "src/components/discord-
|
|
6443
|
+
"path": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts",
|
|
6007
6444
|
"declarations": [
|
|
6008
|
-
{
|
|
6009
|
-
"kind": "variable",
|
|
6010
|
-
"name": "messageProfile"
|
|
6011
|
-
},
|
|
6012
|
-
{
|
|
6013
|
-
"kind": "variable",
|
|
6014
|
-
"name": "messageTimestamp"
|
|
6015
|
-
},
|
|
6016
6445
|
{
|
|
6017
6446
|
"kind": "class",
|
|
6018
6447
|
"description": "",
|
|
6019
|
-
"name": "
|
|
6448
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6020
6449
|
"members": [
|
|
6021
6450
|
{
|
|
6022
6451
|
"kind": "field",
|
|
6023
|
-
"name": "
|
|
6452
|
+
"name": "withSearch",
|
|
6024
6453
|
"type": {
|
|
6025
|
-
"text": "
|
|
6454
|
+
"text": "boolean"
|
|
6026
6455
|
},
|
|
6027
6456
|
"privacy": "public",
|
|
6028
|
-
"default": "
|
|
6029
|
-
"
|
|
6030
|
-
|
|
6457
|
+
"default": "true",
|
|
6458
|
+
"inheritedFrom": {
|
|
6459
|
+
"name": "DiscordStringSelectMenu",
|
|
6460
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6461
|
+
}
|
|
6031
6462
|
},
|
|
6032
6463
|
{
|
|
6033
6464
|
"kind": "field",
|
|
6034
|
-
"name": "
|
|
6465
|
+
"name": "disabled",
|
|
6035
6466
|
"type": {
|
|
6036
|
-
"text": "
|
|
6467
|
+
"text": "boolean"
|
|
6037
6468
|
},
|
|
6038
6469
|
"privacy": "public",
|
|
6039
|
-
"
|
|
6040
|
-
"
|
|
6041
|
-
"
|
|
6470
|
+
"description": "Whether to show the `discord-string-select-menu` as disabled.",
|
|
6471
|
+
"attribute": "disabled",
|
|
6472
|
+
"inheritedFrom": {
|
|
6473
|
+
"name": "DiscordStringSelectMenu",
|
|
6474
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6475
|
+
}
|
|
6042
6476
|
},
|
|
6043
6477
|
{
|
|
6044
6478
|
"kind": "field",
|
|
6045
|
-
"name": "
|
|
6479
|
+
"name": "placeholder",
|
|
6046
6480
|
"type": {
|
|
6047
|
-
"text": "string
|
|
6481
|
+
"text": "string"
|
|
6048
6482
|
},
|
|
6049
6483
|
"privacy": "public",
|
|
6050
|
-
"default": "
|
|
6051
|
-
"description": "The
|
|
6052
|
-
"attribute": "
|
|
6484
|
+
"default": "'Make a selection'",
|
|
6485
|
+
"description": "The placeholder of the select-menu",
|
|
6486
|
+
"attribute": "placeholder",
|
|
6487
|
+
"inheritedFrom": {
|
|
6488
|
+
"name": "DiscordStringSelectMenu",
|
|
6489
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6490
|
+
}
|
|
6053
6491
|
},
|
|
6054
6492
|
{
|
|
6055
6493
|
"kind": "field",
|
|
6056
|
-
"name": "
|
|
6494
|
+
"name": "lightTheme",
|
|
6057
6495
|
"type": {
|
|
6058
6496
|
"text": "boolean"
|
|
6059
6497
|
},
|
|
6060
6498
|
"privacy": "public",
|
|
6061
6499
|
"default": "false",
|
|
6062
|
-
"
|
|
6063
|
-
"
|
|
6500
|
+
"attribute": "light-theme",
|
|
6501
|
+
"reflects": true,
|
|
6502
|
+
"inheritedFrom": {
|
|
6503
|
+
"name": "DiscordStringSelectMenu",
|
|
6504
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6505
|
+
}
|
|
6064
6506
|
},
|
|
6065
6507
|
{
|
|
6066
6508
|
"kind": "field",
|
|
6067
|
-
"name": "
|
|
6509
|
+
"name": "__previousSelectedNode",
|
|
6068
6510
|
"type": {
|
|
6069
|
-
"text": "
|
|
6511
|
+
"text": "BaseDiscordSelectMenuOption | undefined"
|
|
6070
6512
|
},
|
|
6071
|
-
"privacy": "
|
|
6072
|
-
"
|
|
6073
|
-
|
|
6074
|
-
|
|
6513
|
+
"privacy": "private",
|
|
6514
|
+
"inheritedFrom": {
|
|
6515
|
+
"name": "DiscordStringSelectMenu",
|
|
6516
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6517
|
+
}
|
|
6075
6518
|
},
|
|
6076
6519
|
{
|
|
6077
|
-
"kind": "
|
|
6078
|
-
"name": "
|
|
6520
|
+
"kind": "method",
|
|
6521
|
+
"name": "selectOption",
|
|
6522
|
+
"privacy": "public",
|
|
6523
|
+
"parameters": [
|
|
6524
|
+
{
|
|
6525
|
+
"name": "selectedOption",
|
|
6526
|
+
"optional": true,
|
|
6527
|
+
"type": {
|
|
6528
|
+
"text": "BaseDiscordSelectMenuOption"
|
|
6529
|
+
}
|
|
6530
|
+
}
|
|
6531
|
+
],
|
|
6532
|
+
"inheritedFrom": {
|
|
6533
|
+
"name": "DiscordStringSelectMenu",
|
|
6534
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6535
|
+
}
|
|
6536
|
+
},
|
|
6537
|
+
{
|
|
6538
|
+
"kind": "field",
|
|
6539
|
+
"name": "options",
|
|
6540
|
+
"type": {
|
|
6541
|
+
"text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
|
|
6542
|
+
},
|
|
6543
|
+
"privacy": "public",
|
|
6544
|
+
"inheritedFrom": {
|
|
6545
|
+
"name": "DiscordStringSelectMenu",
|
|
6546
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6547
|
+
}
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"kind": "field",
|
|
6551
|
+
"name": "currentOpenInstance",
|
|
6552
|
+
"type": {
|
|
6553
|
+
"text": "DiscordStringSelectMenu | undefined"
|
|
6554
|
+
},
|
|
6555
|
+
"privacy": "public",
|
|
6556
|
+
"static": true,
|
|
6557
|
+
"inheritedFrom": {
|
|
6558
|
+
"name": "DiscordStringSelectMenu",
|
|
6559
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6560
|
+
}
|
|
6561
|
+
},
|
|
6562
|
+
{
|
|
6563
|
+
"kind": "field",
|
|
6564
|
+
"name": "noResultsFound",
|
|
6565
|
+
"type": {
|
|
6566
|
+
"text": "boolean"
|
|
6567
|
+
},
|
|
6568
|
+
"privacy": "private",
|
|
6569
|
+
"default": "false",
|
|
6570
|
+
"inheritedFrom": {
|
|
6571
|
+
"name": "DiscordStringSelectMenu",
|
|
6572
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6573
|
+
}
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
"kind": "field",
|
|
6577
|
+
"name": "isSearching",
|
|
6578
|
+
"type": {
|
|
6579
|
+
"text": "boolean"
|
|
6580
|
+
},
|
|
6581
|
+
"privacy": "private",
|
|
6582
|
+
"default": "false",
|
|
6583
|
+
"inheritedFrom": {
|
|
6584
|
+
"name": "DiscordStringSelectMenu",
|
|
6585
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6586
|
+
}
|
|
6587
|
+
},
|
|
6588
|
+
{
|
|
6589
|
+
"kind": "method",
|
|
6590
|
+
"name": "handleInput",
|
|
6591
|
+
"privacy": "public",
|
|
6592
|
+
"parameters": [
|
|
6593
|
+
{
|
|
6594
|
+
"name": "input",
|
|
6595
|
+
"type": {
|
|
6596
|
+
"text": "string"
|
|
6597
|
+
}
|
|
6598
|
+
}
|
|
6599
|
+
],
|
|
6600
|
+
"inheritedFrom": {
|
|
6601
|
+
"name": "DiscordStringSelectMenu",
|
|
6602
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6603
|
+
}
|
|
6604
|
+
},
|
|
6605
|
+
{
|
|
6606
|
+
"kind": "method",
|
|
6607
|
+
"name": "doVisibleAllOptions",
|
|
6608
|
+
"privacy": "private",
|
|
6609
|
+
"inheritedFrom": {
|
|
6610
|
+
"name": "DiscordStringSelectMenu",
|
|
6611
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6612
|
+
}
|
|
6613
|
+
},
|
|
6614
|
+
{
|
|
6615
|
+
"kind": "field",
|
|
6616
|
+
"name": "inputRef",
|
|
6617
|
+
"privacy": "private",
|
|
6618
|
+
"inheritedFrom": {
|
|
6619
|
+
"name": "DiscordStringSelectMenu",
|
|
6620
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6621
|
+
}
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"kind": "method",
|
|
6625
|
+
"name": "handleWindowClickOutsideEvent",
|
|
6626
|
+
"privacy": "private",
|
|
6627
|
+
"inheritedFrom": {
|
|
6628
|
+
"name": "DiscordStringSelectMenu",
|
|
6629
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6630
|
+
}
|
|
6631
|
+
},
|
|
6632
|
+
{
|
|
6633
|
+
"kind": "method",
|
|
6634
|
+
"name": "openOptions",
|
|
6635
|
+
"privacy": "private",
|
|
6636
|
+
"parameters": [
|
|
6637
|
+
{
|
|
6638
|
+
"name": "open",
|
|
6639
|
+
"optional": true,
|
|
6640
|
+
"type": {
|
|
6641
|
+
"text": "boolean"
|
|
6642
|
+
}
|
|
6643
|
+
}
|
|
6644
|
+
],
|
|
6645
|
+
"inheritedFrom": {
|
|
6646
|
+
"name": "DiscordStringSelectMenu",
|
|
6647
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6648
|
+
}
|
|
6649
|
+
}
|
|
6650
|
+
],
|
|
6651
|
+
"superclass": {
|
|
6652
|
+
"name": "DiscordStringSelectMenu",
|
|
6653
|
+
"module": "/src/components/discord-string-select-menu/DiscordStringSelectMenu.js"
|
|
6654
|
+
},
|
|
6655
|
+
"tagName": "discord-mentionable-select-menu",
|
|
6656
|
+
"customElement": true,
|
|
6657
|
+
"attributes": [
|
|
6658
|
+
{
|
|
6659
|
+
"name": "disabled",
|
|
6660
|
+
"type": {
|
|
6661
|
+
"text": "boolean"
|
|
6662
|
+
},
|
|
6663
|
+
"description": "Whether to show the `discord-string-select-menu` as disabled.",
|
|
6664
|
+
"fieldName": "disabled",
|
|
6665
|
+
"inheritedFrom": {
|
|
6666
|
+
"name": "DiscordStringSelectMenu",
|
|
6667
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6668
|
+
}
|
|
6669
|
+
},
|
|
6670
|
+
{
|
|
6671
|
+
"name": "placeholder",
|
|
6672
|
+
"type": {
|
|
6673
|
+
"text": "string"
|
|
6674
|
+
},
|
|
6675
|
+
"default": "'Make a selection'",
|
|
6676
|
+
"description": "The placeholder of the select-menu",
|
|
6677
|
+
"fieldName": "placeholder",
|
|
6678
|
+
"inheritedFrom": {
|
|
6679
|
+
"name": "DiscordStringSelectMenu",
|
|
6680
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6681
|
+
}
|
|
6682
|
+
},
|
|
6683
|
+
{
|
|
6684
|
+
"name": "light-theme",
|
|
6685
|
+
"type": {
|
|
6686
|
+
"text": "boolean"
|
|
6687
|
+
},
|
|
6688
|
+
"default": "false",
|
|
6689
|
+
"fieldName": "lightTheme",
|
|
6690
|
+
"inheritedFrom": {
|
|
6691
|
+
"name": "DiscordStringSelectMenu",
|
|
6692
|
+
"module": "src/components/discord-string-select-menu/DiscordStringSelectMenu.ts"
|
|
6693
|
+
}
|
|
6694
|
+
}
|
|
6695
|
+
]
|
|
6696
|
+
}
|
|
6697
|
+
],
|
|
6698
|
+
"exports": [
|
|
6699
|
+
{
|
|
6700
|
+
"kind": "js",
|
|
6701
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6702
|
+
"declaration": {
|
|
6703
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6704
|
+
"module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
|
|
6705
|
+
}
|
|
6706
|
+
},
|
|
6707
|
+
{
|
|
6708
|
+
"kind": "custom-element-definition",
|
|
6709
|
+
"name": "discord-mentionable-select-menu",
|
|
6710
|
+
"declaration": {
|
|
6711
|
+
"name": "DiscordMentionableSelectMenu",
|
|
6712
|
+
"module": "src/components/discord-mentionable-select-menu/DiscordMentionableSelectMenu.ts"
|
|
6713
|
+
}
|
|
6714
|
+
}
|
|
6715
|
+
]
|
|
6716
|
+
},
|
|
6717
|
+
{
|
|
6718
|
+
"kind": "javascript-module",
|
|
6719
|
+
"path": "src/components/discord-message/DiscordMessage.ts",
|
|
6720
|
+
"declarations": [
|
|
6721
|
+
{
|
|
6722
|
+
"kind": "variable",
|
|
6723
|
+
"name": "messageProfile"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"kind": "variable",
|
|
6727
|
+
"name": "messageTimestamp"
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
"kind": "class",
|
|
6731
|
+
"description": "",
|
|
6732
|
+
"name": "DiscordMessage",
|
|
6733
|
+
"members": [
|
|
6734
|
+
{
|
|
6735
|
+
"kind": "field",
|
|
6736
|
+
"name": "profile",
|
|
6737
|
+
"type": {
|
|
6738
|
+
"text": "string | undefined"
|
|
6739
|
+
},
|
|
6740
|
+
"privacy": "public",
|
|
6741
|
+
"default": "undefined",
|
|
6742
|
+
"description": "The id of the profile data to use.",
|
|
6743
|
+
"attribute": "profile"
|
|
6744
|
+
},
|
|
6745
|
+
{
|
|
6746
|
+
"kind": "field",
|
|
6747
|
+
"name": "author",
|
|
6748
|
+
"type": {
|
|
6749
|
+
"text": "string | undefined"
|
|
6750
|
+
},
|
|
6751
|
+
"privacy": "public",
|
|
6752
|
+
"default": "'User'",
|
|
6753
|
+
"description": "The message author's username.",
|
|
6754
|
+
"attribute": "author"
|
|
6755
|
+
},
|
|
6756
|
+
{
|
|
6757
|
+
"kind": "field",
|
|
6758
|
+
"name": "avatar",
|
|
6759
|
+
"type": {
|
|
6760
|
+
"text": "string | undefined"
|
|
6761
|
+
},
|
|
6762
|
+
"privacy": "public",
|
|
6763
|
+
"default": "undefined",
|
|
6764
|
+
"description": "The message author's avatar. Can be an avatar shortcut, relative path, or external link.",
|
|
6765
|
+
"attribute": "avatar"
|
|
6766
|
+
},
|
|
6767
|
+
{
|
|
6768
|
+
"kind": "field",
|
|
6769
|
+
"name": "bot",
|
|
6770
|
+
"type": {
|
|
6771
|
+
"text": "boolean"
|
|
6772
|
+
},
|
|
6773
|
+
"privacy": "public",
|
|
6774
|
+
"default": "false",
|
|
6775
|
+
"description": "Whether the message author is a bot or not.\r\nOnly works if `server` and `officialApp` is `false` or `undefined`.",
|
|
6776
|
+
"attribute": "bot"
|
|
6777
|
+
},
|
|
6778
|
+
{
|
|
6779
|
+
"kind": "field",
|
|
6780
|
+
"name": "server",
|
|
6781
|
+
"type": {
|
|
6782
|
+
"text": "boolean"
|
|
6783
|
+
},
|
|
6784
|
+
"privacy": "public",
|
|
6785
|
+
"default": "false",
|
|
6786
|
+
"description": "Whether the message author is a server crosspost webhook or not.\r\nOnly works if `bot` and `officialApp` is `false` or `undefined`.",
|
|
6787
|
+
"attribute": "server"
|
|
6788
|
+
},
|
|
6789
|
+
{
|
|
6790
|
+
"kind": "field",
|
|
6791
|
+
"name": "officialApp",
|
|
6079
6792
|
"type": {
|
|
6080
6793
|
"text": "boolean"
|
|
6081
6794
|
},
|
|
@@ -7682,6 +8395,42 @@
|
|
|
7682
8395
|
}
|
|
7683
8396
|
]
|
|
7684
8397
|
},
|
|
8398
|
+
{
|
|
8399
|
+
"kind": "javascript-module",
|
|
8400
|
+
"path": "src/components/discord-reactions/DiscordReactions.ts",
|
|
8401
|
+
"declarations": [
|
|
8402
|
+
{
|
|
8403
|
+
"kind": "class",
|
|
8404
|
+
"description": "",
|
|
8405
|
+
"name": "DiscordReactions",
|
|
8406
|
+
"members": [],
|
|
8407
|
+
"superclass": {
|
|
8408
|
+
"name": "LitElement",
|
|
8409
|
+
"package": "lit"
|
|
8410
|
+
},
|
|
8411
|
+
"tagName": "discord-reactions",
|
|
8412
|
+
"customElement": true
|
|
8413
|
+
}
|
|
8414
|
+
],
|
|
8415
|
+
"exports": [
|
|
8416
|
+
{
|
|
8417
|
+
"kind": "js",
|
|
8418
|
+
"name": "DiscordReactions",
|
|
8419
|
+
"declaration": {
|
|
8420
|
+
"name": "DiscordReactions",
|
|
8421
|
+
"module": "src/components/discord-reactions/DiscordReactions.ts"
|
|
8422
|
+
}
|
|
8423
|
+
},
|
|
8424
|
+
{
|
|
8425
|
+
"kind": "custom-element-definition",
|
|
8426
|
+
"name": "discord-reactions",
|
|
8427
|
+
"declaration": {
|
|
8428
|
+
"name": "DiscordReactions",
|
|
8429
|
+
"module": "src/components/discord-reactions/DiscordReactions.ts"
|
|
8430
|
+
}
|
|
8431
|
+
}
|
|
8432
|
+
]
|
|
8433
|
+
},
|
|
7685
8434
|
{
|
|
7686
8435
|
"kind": "javascript-module",
|
|
7687
8436
|
"path": "src/components/discord-reaction/DiscordReaction.ts",
|
|
@@ -7845,42 +8594,6 @@
|
|
|
7845
8594
|
}
|
|
7846
8595
|
]
|
|
7847
8596
|
},
|
|
7848
|
-
{
|
|
7849
|
-
"kind": "javascript-module",
|
|
7850
|
-
"path": "src/components/discord-reactions/DiscordReactions.ts",
|
|
7851
|
-
"declarations": [
|
|
7852
|
-
{
|
|
7853
|
-
"kind": "class",
|
|
7854
|
-
"description": "",
|
|
7855
|
-
"name": "DiscordReactions",
|
|
7856
|
-
"members": [],
|
|
7857
|
-
"superclass": {
|
|
7858
|
-
"name": "LitElement",
|
|
7859
|
-
"package": "lit"
|
|
7860
|
-
},
|
|
7861
|
-
"tagName": "discord-reactions",
|
|
7862
|
-
"customElement": true
|
|
7863
|
-
}
|
|
7864
|
-
],
|
|
7865
|
-
"exports": [
|
|
7866
|
-
{
|
|
7867
|
-
"kind": "js",
|
|
7868
|
-
"name": "DiscordReactions",
|
|
7869
|
-
"declaration": {
|
|
7870
|
-
"name": "DiscordReactions",
|
|
7871
|
-
"module": "src/components/discord-reactions/DiscordReactions.ts"
|
|
7872
|
-
}
|
|
7873
|
-
},
|
|
7874
|
-
{
|
|
7875
|
-
"kind": "custom-element-definition",
|
|
7876
|
-
"name": "discord-reactions",
|
|
7877
|
-
"declaration": {
|
|
7878
|
-
"name": "DiscordReactions",
|
|
7879
|
-
"module": "src/components/discord-reactions/DiscordReactions.ts"
|
|
7880
|
-
}
|
|
7881
|
-
}
|
|
7882
|
-
]
|
|
7883
|
-
},
|
|
7884
8597
|
{
|
|
7885
8598
|
"kind": "javascript-module",
|
|
7886
8599
|
"path": "src/components/discord-reply/DiscordReply.ts",
|
|
@@ -8289,6 +9002,289 @@
|
|
|
8289
9002
|
}
|
|
8290
9003
|
]
|
|
8291
9004
|
},
|
|
9005
|
+
{
|
|
9006
|
+
"kind": "javascript-module",
|
|
9007
|
+
"path": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts",
|
|
9008
|
+
"declarations": [
|
|
9009
|
+
{
|
|
9010
|
+
"kind": "class",
|
|
9011
|
+
"description": "",
|
|
9012
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9013
|
+
"members": [
|
|
9014
|
+
{
|
|
9015
|
+
"kind": "field",
|
|
9016
|
+
"name": "identifier",
|
|
9017
|
+
"type": {
|
|
9018
|
+
"text": "string"
|
|
9019
|
+
},
|
|
9020
|
+
"privacy": "public",
|
|
9021
|
+
"attribute": "identifier",
|
|
9022
|
+
"reflects": true
|
|
9023
|
+
},
|
|
9024
|
+
{
|
|
9025
|
+
"kind": "field",
|
|
9026
|
+
"name": "name",
|
|
9027
|
+
"type": {
|
|
9028
|
+
"text": "string"
|
|
9029
|
+
},
|
|
9030
|
+
"privacy": "public",
|
|
9031
|
+
"attribute": "name",
|
|
9032
|
+
"reflects": true
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"kind": "field",
|
|
9036
|
+
"name": "color",
|
|
9037
|
+
"type": {
|
|
9038
|
+
"text": "string"
|
|
9039
|
+
},
|
|
9040
|
+
"privacy": "public",
|
|
9041
|
+
"attribute": "color",
|
|
9042
|
+
"reflects": true
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
"kind": "field",
|
|
9046
|
+
"name": "memberCount",
|
|
9047
|
+
"type": {
|
|
9048
|
+
"text": "number"
|
|
9049
|
+
},
|
|
9050
|
+
"privacy": "public",
|
|
9051
|
+
"attribute": "member-count",
|
|
9052
|
+
"reflects": true
|
|
9053
|
+
},
|
|
9054
|
+
{
|
|
9055
|
+
"kind": "field",
|
|
9056
|
+
"name": "showMemberCount",
|
|
9057
|
+
"type": {
|
|
9058
|
+
"text": "boolean"
|
|
9059
|
+
},
|
|
9060
|
+
"privacy": "public",
|
|
9061
|
+
"default": "true",
|
|
9062
|
+
"attribute": "show-member-count",
|
|
9063
|
+
"reflects": true
|
|
9064
|
+
},
|
|
9065
|
+
{
|
|
9066
|
+
"kind": "field",
|
|
9067
|
+
"name": "iconUrl",
|
|
9068
|
+
"type": {
|
|
9069
|
+
"text": "string | undefined"
|
|
9070
|
+
},
|
|
9071
|
+
"privacy": "public",
|
|
9072
|
+
"attribute": "icon-url",
|
|
9073
|
+
"reflects": true
|
|
9074
|
+
},
|
|
9075
|
+
{
|
|
9076
|
+
"kind": "method",
|
|
9077
|
+
"name": "filter",
|
|
9078
|
+
"privacy": "public",
|
|
9079
|
+
"return": {
|
|
9080
|
+
"type": {
|
|
9081
|
+
"text": "boolean"
|
|
9082
|
+
}
|
|
9083
|
+
},
|
|
9084
|
+
"parameters": [
|
|
9085
|
+
{
|
|
9086
|
+
"name": "searchValue",
|
|
9087
|
+
"type": {
|
|
9088
|
+
"text": "string"
|
|
9089
|
+
}
|
|
9090
|
+
}
|
|
9091
|
+
],
|
|
9092
|
+
"inheritedFrom": {
|
|
9093
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9094
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
{
|
|
9098
|
+
"kind": "field",
|
|
9099
|
+
"name": "lightTheme",
|
|
9100
|
+
"type": {
|
|
9101
|
+
"text": "boolean"
|
|
9102
|
+
},
|
|
9103
|
+
"privacy": "public",
|
|
9104
|
+
"default": "false",
|
|
9105
|
+
"attribute": "light-theme",
|
|
9106
|
+
"reflects": true,
|
|
9107
|
+
"inheritedFrom": {
|
|
9108
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9109
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9110
|
+
}
|
|
9111
|
+
},
|
|
9112
|
+
{
|
|
9113
|
+
"kind": "field",
|
|
9114
|
+
"name": "selected",
|
|
9115
|
+
"type": {
|
|
9116
|
+
"text": "boolean"
|
|
9117
|
+
},
|
|
9118
|
+
"privacy": "public",
|
|
9119
|
+
"default": "false",
|
|
9120
|
+
"attribute": "selected",
|
|
9121
|
+
"reflects": true,
|
|
9122
|
+
"inheritedFrom": {
|
|
9123
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9124
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9125
|
+
}
|
|
9126
|
+
},
|
|
9127
|
+
{
|
|
9128
|
+
"kind": "field",
|
|
9129
|
+
"name": "baseStyles",
|
|
9130
|
+
"privacy": "public",
|
|
9131
|
+
"static": true,
|
|
9132
|
+
"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; } `",
|
|
9133
|
+
"inheritedFrom": {
|
|
9134
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9135
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9136
|
+
}
|
|
9137
|
+
},
|
|
9138
|
+
{
|
|
9139
|
+
"kind": "method",
|
|
9140
|
+
"name": "renderSelectedContainer",
|
|
9141
|
+
"privacy": "protected",
|
|
9142
|
+
"parameters": [
|
|
9143
|
+
{
|
|
9144
|
+
"name": "content",
|
|
9145
|
+
"type": {
|
|
9146
|
+
"text": "TemplateResult"
|
|
9147
|
+
}
|
|
9148
|
+
}
|
|
9149
|
+
],
|
|
9150
|
+
"inheritedFrom": {
|
|
9151
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9152
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9153
|
+
}
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
"kind": "field",
|
|
9157
|
+
"name": "visible",
|
|
9158
|
+
"type": {
|
|
9159
|
+
"text": "boolean"
|
|
9160
|
+
},
|
|
9161
|
+
"privacy": "public",
|
|
9162
|
+
"default": "true",
|
|
9163
|
+
"attribute": "visible",
|
|
9164
|
+
"reflects": true,
|
|
9165
|
+
"inheritedFrom": {
|
|
9166
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9167
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9168
|
+
}
|
|
9169
|
+
},
|
|
9170
|
+
{
|
|
9171
|
+
"kind": "method",
|
|
9172
|
+
"name": "selectOption",
|
|
9173
|
+
"privacy": "public",
|
|
9174
|
+
"inheritedFrom": {
|
|
9175
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9176
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9177
|
+
}
|
|
9178
|
+
}
|
|
9179
|
+
],
|
|
9180
|
+
"attributes": [
|
|
9181
|
+
{
|
|
9182
|
+
"name": "identifier",
|
|
9183
|
+
"type": {
|
|
9184
|
+
"text": "string"
|
|
9185
|
+
},
|
|
9186
|
+
"fieldName": "identifier"
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
"name": "name",
|
|
9190
|
+
"type": {
|
|
9191
|
+
"text": "string"
|
|
9192
|
+
},
|
|
9193
|
+
"fieldName": "name"
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"name": "color",
|
|
9197
|
+
"type": {
|
|
9198
|
+
"text": "string"
|
|
9199
|
+
},
|
|
9200
|
+
"fieldName": "color"
|
|
9201
|
+
},
|
|
9202
|
+
{
|
|
9203
|
+
"name": "member-count",
|
|
9204
|
+
"type": {
|
|
9205
|
+
"text": "number"
|
|
9206
|
+
},
|
|
9207
|
+
"fieldName": "memberCount"
|
|
9208
|
+
},
|
|
9209
|
+
{
|
|
9210
|
+
"name": "show-member-count",
|
|
9211
|
+
"type": {
|
|
9212
|
+
"text": "boolean"
|
|
9213
|
+
},
|
|
9214
|
+
"default": "true",
|
|
9215
|
+
"fieldName": "showMemberCount"
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
"name": "icon-url",
|
|
9219
|
+
"type": {
|
|
9220
|
+
"text": "string | undefined"
|
|
9221
|
+
},
|
|
9222
|
+
"fieldName": "iconUrl"
|
|
9223
|
+
},
|
|
9224
|
+
{
|
|
9225
|
+
"name": "light-theme",
|
|
9226
|
+
"type": {
|
|
9227
|
+
"text": "boolean"
|
|
9228
|
+
},
|
|
9229
|
+
"default": "false",
|
|
9230
|
+
"fieldName": "lightTheme",
|
|
9231
|
+
"inheritedFrom": {
|
|
9232
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9233
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9234
|
+
}
|
|
9235
|
+
},
|
|
9236
|
+
{
|
|
9237
|
+
"name": "selected",
|
|
9238
|
+
"type": {
|
|
9239
|
+
"text": "boolean"
|
|
9240
|
+
},
|
|
9241
|
+
"default": "false",
|
|
9242
|
+
"fieldName": "selected",
|
|
9243
|
+
"inheritedFrom": {
|
|
9244
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9245
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9246
|
+
}
|
|
9247
|
+
},
|
|
9248
|
+
{
|
|
9249
|
+
"name": "visible",
|
|
9250
|
+
"type": {
|
|
9251
|
+
"text": "boolean"
|
|
9252
|
+
},
|
|
9253
|
+
"default": "true",
|
|
9254
|
+
"fieldName": "visible",
|
|
9255
|
+
"inheritedFrom": {
|
|
9256
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9257
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9258
|
+
}
|
|
9259
|
+
}
|
|
9260
|
+
],
|
|
9261
|
+
"superclass": {
|
|
9262
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9263
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
9264
|
+
},
|
|
9265
|
+
"tagName": "discord-role-select-menu-option",
|
|
9266
|
+
"customElement": true
|
|
9267
|
+
}
|
|
9268
|
+
],
|
|
9269
|
+
"exports": [
|
|
9270
|
+
{
|
|
9271
|
+
"kind": "js",
|
|
9272
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9273
|
+
"declaration": {
|
|
9274
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9275
|
+
"module": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts"
|
|
9276
|
+
}
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"kind": "custom-element-definition",
|
|
9280
|
+
"name": "discord-role-select-menu-option",
|
|
9281
|
+
"declaration": {
|
|
9282
|
+
"name": "DiscordRoleSelectMenuOption",
|
|
9283
|
+
"module": "src/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.ts"
|
|
9284
|
+
}
|
|
9285
|
+
}
|
|
9286
|
+
]
|
|
9287
|
+
},
|
|
8292
9288
|
{
|
|
8293
9289
|
"kind": "javascript-module",
|
|
8294
9290
|
"path": "src/components/discord-section/DiscordSection.ts",
|
|
@@ -8409,16 +9405,105 @@
|
|
|
8409
9405
|
},
|
|
8410
9406
|
{
|
|
8411
9407
|
"kind": "javascript-module",
|
|
8412
|
-
"path": "src/components/discord-
|
|
9408
|
+
"path": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts",
|
|
8413
9409
|
"declarations": [
|
|
8414
9410
|
{
|
|
8415
9411
|
"kind": "class",
|
|
8416
9412
|
"description": "",
|
|
8417
|
-
"name": "
|
|
9413
|
+
"name": "DiscordSelectMenuPortal",
|
|
8418
9414
|
"members": [
|
|
8419
9415
|
{
|
|
8420
9416
|
"kind": "field",
|
|
8421
|
-
"name": "
|
|
9417
|
+
"name": "type",
|
|
9418
|
+
"type": {
|
|
9419
|
+
"text": "'channel' | 'mentionable' | 'role' | 'user'"
|
|
9420
|
+
},
|
|
9421
|
+
"privacy": "public",
|
|
9422
|
+
"attribute": "type"
|
|
9423
|
+
},
|
|
9424
|
+
{
|
|
9425
|
+
"kind": "field",
|
|
9426
|
+
"name": "defaultIdentifier",
|
|
9427
|
+
"type": {
|
|
9428
|
+
"text": "string | undefined"
|
|
9429
|
+
},
|
|
9430
|
+
"privacy": "public",
|
|
9431
|
+
"attribute": "default-identifier",
|
|
9432
|
+
"reflects": true
|
|
9433
|
+
},
|
|
9434
|
+
{
|
|
9435
|
+
"kind": "field",
|
|
9436
|
+
"name": "defaultType",
|
|
9437
|
+
"type": {
|
|
9438
|
+
"text": "'channel' | 'role' | 'user' | undefined"
|
|
9439
|
+
},
|
|
9440
|
+
"privacy": "public",
|
|
9441
|
+
"attribute": "default-name",
|
|
9442
|
+
"reflects": true
|
|
9443
|
+
}
|
|
9444
|
+
],
|
|
9445
|
+
"attributes": [
|
|
9446
|
+
{
|
|
9447
|
+
"name": "type",
|
|
9448
|
+
"type": {
|
|
9449
|
+
"text": "'channel' | 'mentionable' | 'role' | 'user'"
|
|
9450
|
+
},
|
|
9451
|
+
"fieldName": "type"
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"name": "default-identifier",
|
|
9455
|
+
"type": {
|
|
9456
|
+
"text": "string | undefined"
|
|
9457
|
+
},
|
|
9458
|
+
"fieldName": "defaultIdentifier"
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
"name": "default-name",
|
|
9462
|
+
"type": {
|
|
9463
|
+
"text": "'channel' | 'role' | 'user' | undefined"
|
|
9464
|
+
},
|
|
9465
|
+
"fieldName": "defaultType"
|
|
9466
|
+
}
|
|
9467
|
+
],
|
|
9468
|
+
"superclass": {
|
|
9469
|
+
"name": "LitElement",
|
|
9470
|
+
"package": "lit"
|
|
9471
|
+
},
|
|
9472
|
+
"tagName": "discord-select-menu-portal",
|
|
9473
|
+
"customElement": true
|
|
9474
|
+
}
|
|
9475
|
+
],
|
|
9476
|
+
"exports": [
|
|
9477
|
+
{
|
|
9478
|
+
"kind": "js",
|
|
9479
|
+
"name": "DiscordSelectMenuPortal",
|
|
9480
|
+
"declaration": {
|
|
9481
|
+
"name": "DiscordSelectMenuPortal",
|
|
9482
|
+
"module": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts"
|
|
9483
|
+
}
|
|
9484
|
+
},
|
|
9485
|
+
{
|
|
9486
|
+
"kind": "custom-element-definition",
|
|
9487
|
+
"name": "discord-select-menu-portal",
|
|
9488
|
+
"declaration": {
|
|
9489
|
+
"name": "DiscordSelectMenuPortal",
|
|
9490
|
+
"module": "src/components/discord-select-menu-portal/DiscordSelectMenuPortal.ts"
|
|
9491
|
+
}
|
|
9492
|
+
}
|
|
9493
|
+
]
|
|
9494
|
+
},
|
|
9495
|
+
{
|
|
9496
|
+
"kind": "javascript-module",
|
|
9497
|
+
"path": "src/components/discord-separator/DiscordSeparator.ts",
|
|
9498
|
+
"declarations": [
|
|
9499
|
+
{
|
|
9500
|
+
"kind": "class",
|
|
9501
|
+
"description": "",
|
|
9502
|
+
"name": "DiscordSeparator",
|
|
9503
|
+
"members": [
|
|
9504
|
+
{
|
|
9505
|
+
"kind": "field",
|
|
9506
|
+
"name": "divider",
|
|
8422
9507
|
"type": {
|
|
8423
9508
|
"text": "boolean"
|
|
8424
9509
|
},
|
|
@@ -8571,6 +9656,15 @@
|
|
|
8571
9656
|
"description": "",
|
|
8572
9657
|
"name": "DiscordStringSelectMenu",
|
|
8573
9658
|
"members": [
|
|
9659
|
+
{
|
|
9660
|
+
"kind": "field",
|
|
9661
|
+
"name": "withSearch",
|
|
9662
|
+
"type": {
|
|
9663
|
+
"text": "boolean"
|
|
9664
|
+
},
|
|
9665
|
+
"privacy": "public",
|
|
9666
|
+
"default": "false"
|
|
9667
|
+
},
|
|
8574
9668
|
{
|
|
8575
9669
|
"kind": "field",
|
|
8576
9670
|
"name": "disabled",
|
|
@@ -8603,10 +9697,104 @@
|
|
|
8603
9697
|
"attribute": "light-theme",
|
|
8604
9698
|
"reflects": true
|
|
8605
9699
|
},
|
|
9700
|
+
{
|
|
9701
|
+
"kind": "field",
|
|
9702
|
+
"name": "__previousSelectedNode",
|
|
9703
|
+
"type": {
|
|
9704
|
+
"text": "BaseDiscordSelectMenuOption | undefined"
|
|
9705
|
+
},
|
|
9706
|
+
"privacy": "private"
|
|
9707
|
+
},
|
|
8606
9708
|
{
|
|
8607
9709
|
"kind": "method",
|
|
8608
|
-
"name": "
|
|
9710
|
+
"name": "selectOption",
|
|
9711
|
+
"privacy": "public",
|
|
9712
|
+
"parameters": [
|
|
9713
|
+
{
|
|
9714
|
+
"name": "selectedOption",
|
|
9715
|
+
"optional": true,
|
|
9716
|
+
"type": {
|
|
9717
|
+
"text": "BaseDiscordSelectMenuOption"
|
|
9718
|
+
}
|
|
9719
|
+
}
|
|
9720
|
+
]
|
|
9721
|
+
},
|
|
9722
|
+
{
|
|
9723
|
+
"kind": "field",
|
|
9724
|
+
"name": "options",
|
|
9725
|
+
"type": {
|
|
9726
|
+
"text": "NodeListOf<BaseDiscordSelectMenuOption> | undefined"
|
|
9727
|
+
},
|
|
9728
|
+
"privacy": "public"
|
|
9729
|
+
},
|
|
9730
|
+
{
|
|
9731
|
+
"kind": "field",
|
|
9732
|
+
"name": "currentOpenInstance",
|
|
9733
|
+
"type": {
|
|
9734
|
+
"text": "DiscordStringSelectMenu | undefined"
|
|
9735
|
+
},
|
|
9736
|
+
"privacy": "public",
|
|
9737
|
+
"static": true
|
|
9738
|
+
},
|
|
9739
|
+
{
|
|
9740
|
+
"kind": "field",
|
|
9741
|
+
"name": "noResultsFound",
|
|
9742
|
+
"type": {
|
|
9743
|
+
"text": "boolean"
|
|
9744
|
+
},
|
|
9745
|
+
"privacy": "private",
|
|
9746
|
+
"default": "false"
|
|
9747
|
+
},
|
|
9748
|
+
{
|
|
9749
|
+
"kind": "field",
|
|
9750
|
+
"name": "isSearching",
|
|
9751
|
+
"type": {
|
|
9752
|
+
"text": "boolean"
|
|
9753
|
+
},
|
|
9754
|
+
"privacy": "private",
|
|
9755
|
+
"default": "false"
|
|
9756
|
+
},
|
|
9757
|
+
{
|
|
9758
|
+
"kind": "method",
|
|
9759
|
+
"name": "handleInput",
|
|
9760
|
+
"privacy": "public",
|
|
9761
|
+
"parameters": [
|
|
9762
|
+
{
|
|
9763
|
+
"name": "input",
|
|
9764
|
+
"type": {
|
|
9765
|
+
"text": "string"
|
|
9766
|
+
}
|
|
9767
|
+
}
|
|
9768
|
+
]
|
|
9769
|
+
},
|
|
9770
|
+
{
|
|
9771
|
+
"kind": "method",
|
|
9772
|
+
"name": "doVisibleAllOptions",
|
|
9773
|
+
"privacy": "private"
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
"kind": "field",
|
|
9777
|
+
"name": "inputRef",
|
|
8609
9778
|
"privacy": "private"
|
|
9779
|
+
},
|
|
9780
|
+
{
|
|
9781
|
+
"kind": "method",
|
|
9782
|
+
"name": "handleWindowClickOutsideEvent",
|
|
9783
|
+
"privacy": "private"
|
|
9784
|
+
},
|
|
9785
|
+
{
|
|
9786
|
+
"kind": "method",
|
|
9787
|
+
"name": "openOptions",
|
|
9788
|
+
"privacy": "private",
|
|
9789
|
+
"parameters": [
|
|
9790
|
+
{
|
|
9791
|
+
"name": "open",
|
|
9792
|
+
"optional": true,
|
|
9793
|
+
"type": {
|
|
9794
|
+
"text": "boolean"
|
|
9795
|
+
}
|
|
9796
|
+
}
|
|
9797
|
+
]
|
|
8610
9798
|
}
|
|
8611
9799
|
],
|
|
8612
9800
|
"attributes": [
|
|
@@ -8716,17 +9904,31 @@
|
|
|
8716
9904
|
"attribute": "description"
|
|
8717
9905
|
},
|
|
8718
9906
|
{
|
|
8719
|
-
"kind": "
|
|
8720
|
-
"name": "
|
|
8721
|
-
"type": {
|
|
8722
|
-
"text": "(...args: unknown[]) => void"
|
|
8723
|
-
},
|
|
9907
|
+
"kind": "method",
|
|
9908
|
+
"name": "checkLabelIsProvided",
|
|
8724
9909
|
"privacy": "public"
|
|
8725
9910
|
},
|
|
8726
9911
|
{
|
|
8727
9912
|
"kind": "method",
|
|
8728
|
-
"name": "
|
|
8729
|
-
"privacy": "public"
|
|
9913
|
+
"name": "filter",
|
|
9914
|
+
"privacy": "public",
|
|
9915
|
+
"return": {
|
|
9916
|
+
"type": {
|
|
9917
|
+
"text": "boolean"
|
|
9918
|
+
}
|
|
9919
|
+
},
|
|
9920
|
+
"parameters": [
|
|
9921
|
+
{
|
|
9922
|
+
"name": "searchValue",
|
|
9923
|
+
"type": {
|
|
9924
|
+
"text": "string"
|
|
9925
|
+
}
|
|
9926
|
+
}
|
|
9927
|
+
],
|
|
9928
|
+
"inheritedFrom": {
|
|
9929
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9930
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9931
|
+
}
|
|
8730
9932
|
},
|
|
8731
9933
|
{
|
|
8732
9934
|
"kind": "field",
|
|
@@ -8737,7 +9939,78 @@
|
|
|
8737
9939
|
"privacy": "public",
|
|
8738
9940
|
"default": "false",
|
|
8739
9941
|
"attribute": "light-theme",
|
|
8740
|
-
"reflects": true
|
|
9942
|
+
"reflects": true,
|
|
9943
|
+
"inheritedFrom": {
|
|
9944
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9945
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9946
|
+
}
|
|
9947
|
+
},
|
|
9948
|
+
{
|
|
9949
|
+
"kind": "field",
|
|
9950
|
+
"name": "selected",
|
|
9951
|
+
"type": {
|
|
9952
|
+
"text": "boolean"
|
|
9953
|
+
},
|
|
9954
|
+
"privacy": "public",
|
|
9955
|
+
"default": "false",
|
|
9956
|
+
"attribute": "selected",
|
|
9957
|
+
"reflects": true,
|
|
9958
|
+
"inheritedFrom": {
|
|
9959
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9960
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9961
|
+
}
|
|
9962
|
+
},
|
|
9963
|
+
{
|
|
9964
|
+
"kind": "field",
|
|
9965
|
+
"name": "baseStyles",
|
|
9966
|
+
"privacy": "public",
|
|
9967
|
+
"static": true,
|
|
9968
|
+
"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; } `",
|
|
9969
|
+
"inheritedFrom": {
|
|
9970
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9971
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9972
|
+
}
|
|
9973
|
+
},
|
|
9974
|
+
{
|
|
9975
|
+
"kind": "method",
|
|
9976
|
+
"name": "renderSelectedContainer",
|
|
9977
|
+
"privacy": "protected",
|
|
9978
|
+
"parameters": [
|
|
9979
|
+
{
|
|
9980
|
+
"name": "content",
|
|
9981
|
+
"type": {
|
|
9982
|
+
"text": "TemplateResult"
|
|
9983
|
+
}
|
|
9984
|
+
}
|
|
9985
|
+
],
|
|
9986
|
+
"inheritedFrom": {
|
|
9987
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
9988
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
9989
|
+
}
|
|
9990
|
+
},
|
|
9991
|
+
{
|
|
9992
|
+
"kind": "field",
|
|
9993
|
+
"name": "visible",
|
|
9994
|
+
"type": {
|
|
9995
|
+
"text": "boolean"
|
|
9996
|
+
},
|
|
9997
|
+
"privacy": "public",
|
|
9998
|
+
"default": "true",
|
|
9999
|
+
"attribute": "visible",
|
|
10000
|
+
"reflects": true,
|
|
10001
|
+
"inheritedFrom": {
|
|
10002
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10003
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10004
|
+
}
|
|
10005
|
+
},
|
|
10006
|
+
{
|
|
10007
|
+
"kind": "method",
|
|
10008
|
+
"name": "selectOption",
|
|
10009
|
+
"privacy": "public",
|
|
10010
|
+
"inheritedFrom": {
|
|
10011
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10012
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10013
|
+
}
|
|
8741
10014
|
}
|
|
8742
10015
|
],
|
|
8743
10016
|
"attributes": [
|
|
@@ -8767,13 +10040,99 @@
|
|
|
8767
10040
|
"fieldName": "label"
|
|
8768
10041
|
},
|
|
8769
10042
|
{
|
|
8770
|
-
"name": "description",
|
|
10043
|
+
"name": "description",
|
|
10044
|
+
"type": {
|
|
10045
|
+
"text": "string"
|
|
10046
|
+
},
|
|
10047
|
+
"description": "The description of the option",
|
|
10048
|
+
"fieldName": "description"
|
|
10049
|
+
},
|
|
10050
|
+
{
|
|
10051
|
+
"name": "light-theme",
|
|
10052
|
+
"type": {
|
|
10053
|
+
"text": "boolean"
|
|
10054
|
+
},
|
|
10055
|
+
"default": "false",
|
|
10056
|
+
"fieldName": "lightTheme",
|
|
10057
|
+
"inheritedFrom": {
|
|
10058
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10059
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10060
|
+
}
|
|
10061
|
+
},
|
|
10062
|
+
{
|
|
10063
|
+
"name": "selected",
|
|
10064
|
+
"type": {
|
|
10065
|
+
"text": "boolean"
|
|
10066
|
+
},
|
|
10067
|
+
"default": "false",
|
|
10068
|
+
"fieldName": "selected",
|
|
10069
|
+
"inheritedFrom": {
|
|
10070
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10071
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10072
|
+
}
|
|
10073
|
+
},
|
|
10074
|
+
{
|
|
10075
|
+
"name": "visible",
|
|
10076
|
+
"type": {
|
|
10077
|
+
"text": "boolean"
|
|
10078
|
+
},
|
|
10079
|
+
"default": "true",
|
|
10080
|
+
"fieldName": "visible",
|
|
10081
|
+
"inheritedFrom": {
|
|
10082
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10083
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
10084
|
+
}
|
|
10085
|
+
}
|
|
10086
|
+
],
|
|
10087
|
+
"superclass": {
|
|
10088
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
10089
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
10090
|
+
},
|
|
10091
|
+
"tagName": "discord-string-select-menu-option",
|
|
10092
|
+
"customElement": true
|
|
10093
|
+
}
|
|
10094
|
+
],
|
|
10095
|
+
"exports": [
|
|
10096
|
+
{
|
|
10097
|
+
"kind": "js",
|
|
10098
|
+
"name": "DiscordStringSelectMenuOption",
|
|
10099
|
+
"declaration": {
|
|
10100
|
+
"name": "DiscordStringSelectMenuOption",
|
|
10101
|
+
"module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
|
|
10102
|
+
}
|
|
10103
|
+
},
|
|
10104
|
+
{
|
|
10105
|
+
"kind": "custom-element-definition",
|
|
10106
|
+
"name": "discord-string-select-menu-option",
|
|
10107
|
+
"declaration": {
|
|
10108
|
+
"name": "DiscordStringSelectMenuOption",
|
|
10109
|
+
"module": "src/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.ts"
|
|
10110
|
+
}
|
|
10111
|
+
}
|
|
10112
|
+
]
|
|
10113
|
+
},
|
|
10114
|
+
{
|
|
10115
|
+
"kind": "javascript-module",
|
|
10116
|
+
"path": "src/components/discord-subscript/DiscordSubscript.ts",
|
|
10117
|
+
"declarations": [
|
|
10118
|
+
{
|
|
10119
|
+
"kind": "class",
|
|
10120
|
+
"description": "",
|
|
10121
|
+
"name": "DiscordSubscript",
|
|
10122
|
+
"members": [
|
|
10123
|
+
{
|
|
10124
|
+
"kind": "field",
|
|
10125
|
+
"name": "lightTheme",
|
|
8771
10126
|
"type": {
|
|
8772
|
-
"text": "
|
|
10127
|
+
"text": "boolean"
|
|
8773
10128
|
},
|
|
8774
|
-
"
|
|
8775
|
-
"
|
|
8776
|
-
|
|
10129
|
+
"privacy": "public",
|
|
10130
|
+
"default": "false",
|
|
10131
|
+
"attribute": "light-theme",
|
|
10132
|
+
"reflects": true
|
|
10133
|
+
}
|
|
10134
|
+
],
|
|
10135
|
+
"attributes": [
|
|
8777
10136
|
{
|
|
8778
10137
|
"name": "light-theme",
|
|
8779
10138
|
"type": {
|
|
@@ -8787,25 +10146,25 @@
|
|
|
8787
10146
|
"name": "LitElement",
|
|
8788
10147
|
"package": "lit"
|
|
8789
10148
|
},
|
|
8790
|
-
"tagName": "discord-
|
|
10149
|
+
"tagName": "discord-subscript",
|
|
8791
10150
|
"customElement": true
|
|
8792
10151
|
}
|
|
8793
10152
|
],
|
|
8794
10153
|
"exports": [
|
|
8795
10154
|
{
|
|
8796
10155
|
"kind": "js",
|
|
8797
|
-
"name": "
|
|
10156
|
+
"name": "DiscordSubscript",
|
|
8798
10157
|
"declaration": {
|
|
8799
|
-
"name": "
|
|
8800
|
-
"module": "src/components/discord-
|
|
10158
|
+
"name": "DiscordSubscript",
|
|
10159
|
+
"module": "src/components/discord-subscript/DiscordSubscript.ts"
|
|
8801
10160
|
}
|
|
8802
10161
|
},
|
|
8803
10162
|
{
|
|
8804
10163
|
"kind": "custom-element-definition",
|
|
8805
|
-
"name": "discord-
|
|
10164
|
+
"name": "discord-subscript",
|
|
8806
10165
|
"declaration": {
|
|
8807
|
-
"name": "
|
|
8808
|
-
"module": "src/components/discord-
|
|
10166
|
+
"name": "DiscordSubscript",
|
|
10167
|
+
"module": "src/components/discord-subscript/DiscordSubscript.ts"
|
|
8809
10168
|
}
|
|
8810
10169
|
}
|
|
8811
10170
|
]
|
|
@@ -8954,64 +10313,6 @@
|
|
|
8954
10313
|
}
|
|
8955
10314
|
]
|
|
8956
10315
|
},
|
|
8957
|
-
{
|
|
8958
|
-
"kind": "javascript-module",
|
|
8959
|
-
"path": "src/components/discord-subscript/DiscordSubscript.ts",
|
|
8960
|
-
"declarations": [
|
|
8961
|
-
{
|
|
8962
|
-
"kind": "class",
|
|
8963
|
-
"description": "",
|
|
8964
|
-
"name": "DiscordSubscript",
|
|
8965
|
-
"members": [
|
|
8966
|
-
{
|
|
8967
|
-
"kind": "field",
|
|
8968
|
-
"name": "lightTheme",
|
|
8969
|
-
"type": {
|
|
8970
|
-
"text": "boolean"
|
|
8971
|
-
},
|
|
8972
|
-
"privacy": "public",
|
|
8973
|
-
"default": "false",
|
|
8974
|
-
"attribute": "light-theme",
|
|
8975
|
-
"reflects": true
|
|
8976
|
-
}
|
|
8977
|
-
],
|
|
8978
|
-
"attributes": [
|
|
8979
|
-
{
|
|
8980
|
-
"name": "light-theme",
|
|
8981
|
-
"type": {
|
|
8982
|
-
"text": "boolean"
|
|
8983
|
-
},
|
|
8984
|
-
"default": "false",
|
|
8985
|
-
"fieldName": "lightTheme"
|
|
8986
|
-
}
|
|
8987
|
-
],
|
|
8988
|
-
"superclass": {
|
|
8989
|
-
"name": "LitElement",
|
|
8990
|
-
"package": "lit"
|
|
8991
|
-
},
|
|
8992
|
-
"tagName": "discord-subscript",
|
|
8993
|
-
"customElement": true
|
|
8994
|
-
}
|
|
8995
|
-
],
|
|
8996
|
-
"exports": [
|
|
8997
|
-
{
|
|
8998
|
-
"kind": "js",
|
|
8999
|
-
"name": "DiscordSubscript",
|
|
9000
|
-
"declaration": {
|
|
9001
|
-
"name": "DiscordSubscript",
|
|
9002
|
-
"module": "src/components/discord-subscript/DiscordSubscript.ts"
|
|
9003
|
-
}
|
|
9004
|
-
},
|
|
9005
|
-
{
|
|
9006
|
-
"kind": "custom-element-definition",
|
|
9007
|
-
"name": "discord-subscript",
|
|
9008
|
-
"declaration": {
|
|
9009
|
-
"name": "DiscordSubscript",
|
|
9010
|
-
"module": "src/components/discord-subscript/DiscordSubscript.ts"
|
|
9011
|
-
}
|
|
9012
|
-
}
|
|
9013
|
-
]
|
|
9014
|
-
},
|
|
9015
10316
|
{
|
|
9016
10317
|
"kind": "javascript-module",
|
|
9017
10318
|
"path": "src/components/discord-tenor-video/DiscordTenorVideo.ts",
|
|
@@ -9812,6 +11113,15 @@
|
|
|
9812
11113
|
"default": "false",
|
|
9813
11114
|
"attribute": "spoiler",
|
|
9814
11115
|
"reflects": true
|
|
11116
|
+
},
|
|
11117
|
+
{
|
|
11118
|
+
"kind": "field",
|
|
11119
|
+
"name": "isOpen",
|
|
11120
|
+
"type": {
|
|
11121
|
+
"text": "boolean"
|
|
11122
|
+
},
|
|
11123
|
+
"privacy": "private",
|
|
11124
|
+
"default": "false"
|
|
9815
11125
|
}
|
|
9816
11126
|
],
|
|
9817
11127
|
"attributes": [
|
|
@@ -10145,56 +11455,358 @@
|
|
|
10145
11455
|
"members": [
|
|
10146
11456
|
{
|
|
10147
11457
|
"kind": "field",
|
|
10148
|
-
"name": "nested",
|
|
11458
|
+
"name": "nested",
|
|
11459
|
+
"type": {
|
|
11460
|
+
"text": "boolean"
|
|
11461
|
+
},
|
|
11462
|
+
"privacy": "public",
|
|
11463
|
+
"default": "false",
|
|
11464
|
+
"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.",
|
|
11465
|
+
"attribute": "nested",
|
|
11466
|
+
"reflects": true
|
|
11467
|
+
},
|
|
11468
|
+
{
|
|
11469
|
+
"kind": "method",
|
|
11470
|
+
"name": "checkChildren",
|
|
11471
|
+
"privacy": "public"
|
|
11472
|
+
}
|
|
11473
|
+
],
|
|
11474
|
+
"attributes": [
|
|
11475
|
+
{
|
|
11476
|
+
"name": "nested",
|
|
11477
|
+
"type": {
|
|
11478
|
+
"text": "boolean"
|
|
11479
|
+
},
|
|
11480
|
+
"default": "false",
|
|
11481
|
+
"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.",
|
|
11482
|
+
"fieldName": "nested"
|
|
11483
|
+
}
|
|
11484
|
+
],
|
|
11485
|
+
"superclass": {
|
|
11486
|
+
"name": "LitElement",
|
|
11487
|
+
"package": "lit"
|
|
11488
|
+
},
|
|
11489
|
+
"tagName": "discord-unordered-list",
|
|
11490
|
+
"customElement": true
|
|
11491
|
+
}
|
|
11492
|
+
],
|
|
11493
|
+
"exports": [
|
|
11494
|
+
{
|
|
11495
|
+
"kind": "js",
|
|
11496
|
+
"name": "DiscordUnorderedList",
|
|
11497
|
+
"declaration": {
|
|
11498
|
+
"name": "DiscordUnorderedList",
|
|
11499
|
+
"module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
|
|
11500
|
+
}
|
|
11501
|
+
},
|
|
11502
|
+
{
|
|
11503
|
+
"kind": "custom-element-definition",
|
|
11504
|
+
"name": "discord-unordered-list",
|
|
11505
|
+
"declaration": {
|
|
11506
|
+
"name": "DiscordUnorderedList",
|
|
11507
|
+
"module": "src/components/discord-unordered-list/DiscordUnorderedList.ts"
|
|
11508
|
+
}
|
|
11509
|
+
}
|
|
11510
|
+
]
|
|
11511
|
+
},
|
|
11512
|
+
{
|
|
11513
|
+
"kind": "javascript-module",
|
|
11514
|
+
"path": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts",
|
|
11515
|
+
"declarations": [
|
|
11516
|
+
{
|
|
11517
|
+
"kind": "class",
|
|
11518
|
+
"description": "",
|
|
11519
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11520
|
+
"members": [
|
|
11521
|
+
{
|
|
11522
|
+
"kind": "field",
|
|
11523
|
+
"name": "identifier",
|
|
11524
|
+
"type": {
|
|
11525
|
+
"text": "string"
|
|
11526
|
+
},
|
|
11527
|
+
"privacy": "public",
|
|
11528
|
+
"attribute": "identifier",
|
|
11529
|
+
"reflects": true
|
|
11530
|
+
},
|
|
11531
|
+
{
|
|
11532
|
+
"kind": "field",
|
|
11533
|
+
"name": "avatarUrl",
|
|
11534
|
+
"type": {
|
|
11535
|
+
"text": "string"
|
|
11536
|
+
},
|
|
11537
|
+
"privacy": "public",
|
|
11538
|
+
"attribute": "avatar-url",
|
|
11539
|
+
"reflects": true
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
"kind": "field",
|
|
11543
|
+
"name": "username",
|
|
11544
|
+
"type": {
|
|
11545
|
+
"text": "string"
|
|
11546
|
+
},
|
|
11547
|
+
"privacy": "public",
|
|
11548
|
+
"attribute": "username",
|
|
11549
|
+
"reflects": true
|
|
11550
|
+
},
|
|
11551
|
+
{
|
|
11552
|
+
"kind": "field",
|
|
11553
|
+
"name": "discriminator",
|
|
11554
|
+
"type": {
|
|
11555
|
+
"text": "string"
|
|
11556
|
+
},
|
|
11557
|
+
"privacy": "public",
|
|
11558
|
+
"attribute": "discriminator",
|
|
11559
|
+
"reflects": true
|
|
11560
|
+
},
|
|
11561
|
+
{
|
|
11562
|
+
"kind": "field",
|
|
11563
|
+
"name": "globalName",
|
|
11564
|
+
"type": {
|
|
11565
|
+
"text": "string"
|
|
11566
|
+
},
|
|
11567
|
+
"privacy": "public",
|
|
11568
|
+
"attribute": "global-name",
|
|
11569
|
+
"reflects": true
|
|
11570
|
+
},
|
|
11571
|
+
{
|
|
11572
|
+
"kind": "field",
|
|
11573
|
+
"name": "bot",
|
|
11574
|
+
"type": {
|
|
11575
|
+
"text": "boolean"
|
|
11576
|
+
},
|
|
11577
|
+
"privacy": "public",
|
|
11578
|
+
"default": "false",
|
|
11579
|
+
"attribute": "bot",
|
|
11580
|
+
"reflects": true
|
|
11581
|
+
},
|
|
11582
|
+
{
|
|
11583
|
+
"kind": "field",
|
|
11584
|
+
"name": "verified",
|
|
11585
|
+
"type": {
|
|
11586
|
+
"text": "boolean"
|
|
11587
|
+
},
|
|
11588
|
+
"privacy": "public",
|
|
11589
|
+
"default": "false",
|
|
11590
|
+
"attribute": "verified",
|
|
11591
|
+
"reflects": true
|
|
11592
|
+
},
|
|
11593
|
+
{
|
|
11594
|
+
"kind": "method",
|
|
11595
|
+
"name": "filter",
|
|
11596
|
+
"privacy": "public",
|
|
11597
|
+
"return": {
|
|
11598
|
+
"type": {
|
|
11599
|
+
"text": "boolean"
|
|
11600
|
+
}
|
|
11601
|
+
},
|
|
11602
|
+
"parameters": [
|
|
11603
|
+
{
|
|
11604
|
+
"name": "searchValue",
|
|
11605
|
+
"type": {
|
|
11606
|
+
"text": "string"
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
],
|
|
11610
|
+
"inheritedFrom": {
|
|
11611
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11612
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11613
|
+
}
|
|
11614
|
+
},
|
|
11615
|
+
{
|
|
11616
|
+
"kind": "field",
|
|
11617
|
+
"name": "lightTheme",
|
|
11618
|
+
"type": {
|
|
11619
|
+
"text": "boolean"
|
|
11620
|
+
},
|
|
11621
|
+
"privacy": "public",
|
|
11622
|
+
"default": "false",
|
|
11623
|
+
"attribute": "light-theme",
|
|
11624
|
+
"reflects": true,
|
|
11625
|
+
"inheritedFrom": {
|
|
11626
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11627
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11628
|
+
}
|
|
11629
|
+
},
|
|
11630
|
+
{
|
|
11631
|
+
"kind": "field",
|
|
11632
|
+
"name": "selected",
|
|
11633
|
+
"type": {
|
|
11634
|
+
"text": "boolean"
|
|
11635
|
+
},
|
|
11636
|
+
"privacy": "public",
|
|
11637
|
+
"default": "false",
|
|
11638
|
+
"attribute": "selected",
|
|
11639
|
+
"reflects": true,
|
|
11640
|
+
"inheritedFrom": {
|
|
11641
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11642
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11643
|
+
}
|
|
11644
|
+
},
|
|
11645
|
+
{
|
|
11646
|
+
"kind": "field",
|
|
11647
|
+
"name": "baseStyles",
|
|
11648
|
+
"privacy": "public",
|
|
11649
|
+
"static": true,
|
|
11650
|
+
"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; } `",
|
|
11651
|
+
"inheritedFrom": {
|
|
11652
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11653
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11654
|
+
}
|
|
11655
|
+
},
|
|
11656
|
+
{
|
|
11657
|
+
"kind": "method",
|
|
11658
|
+
"name": "renderSelectedContainer",
|
|
11659
|
+
"privacy": "protected",
|
|
11660
|
+
"parameters": [
|
|
11661
|
+
{
|
|
11662
|
+
"name": "content",
|
|
11663
|
+
"type": {
|
|
11664
|
+
"text": "TemplateResult"
|
|
11665
|
+
}
|
|
11666
|
+
}
|
|
11667
|
+
],
|
|
11668
|
+
"inheritedFrom": {
|
|
11669
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11670
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11671
|
+
}
|
|
11672
|
+
},
|
|
11673
|
+
{
|
|
11674
|
+
"kind": "field",
|
|
11675
|
+
"name": "visible",
|
|
10149
11676
|
"type": {
|
|
10150
11677
|
"text": "boolean"
|
|
10151
11678
|
},
|
|
10152
11679
|
"privacy": "public",
|
|
10153
|
-
"default": "
|
|
10154
|
-
"
|
|
10155
|
-
"
|
|
10156
|
-
"
|
|
11680
|
+
"default": "true",
|
|
11681
|
+
"attribute": "visible",
|
|
11682
|
+
"reflects": true,
|
|
11683
|
+
"inheritedFrom": {
|
|
11684
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11685
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11686
|
+
}
|
|
10157
11687
|
},
|
|
10158
11688
|
{
|
|
10159
11689
|
"kind": "method",
|
|
10160
|
-
"name": "
|
|
10161
|
-
"privacy": "public"
|
|
11690
|
+
"name": "selectOption",
|
|
11691
|
+
"privacy": "public",
|
|
11692
|
+
"inheritedFrom": {
|
|
11693
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11694
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11695
|
+
}
|
|
10162
11696
|
}
|
|
10163
11697
|
],
|
|
10164
11698
|
"attributes": [
|
|
10165
11699
|
{
|
|
10166
|
-
"name": "
|
|
11700
|
+
"name": "identifier",
|
|
11701
|
+
"type": {
|
|
11702
|
+
"text": "string"
|
|
11703
|
+
},
|
|
11704
|
+
"fieldName": "identifier"
|
|
11705
|
+
},
|
|
11706
|
+
{
|
|
11707
|
+
"name": "avatar-url",
|
|
11708
|
+
"type": {
|
|
11709
|
+
"text": "string"
|
|
11710
|
+
},
|
|
11711
|
+
"fieldName": "avatarUrl"
|
|
11712
|
+
},
|
|
11713
|
+
{
|
|
11714
|
+
"name": "username",
|
|
11715
|
+
"type": {
|
|
11716
|
+
"text": "string"
|
|
11717
|
+
},
|
|
11718
|
+
"fieldName": "username"
|
|
11719
|
+
},
|
|
11720
|
+
{
|
|
11721
|
+
"name": "discriminator",
|
|
11722
|
+
"type": {
|
|
11723
|
+
"text": "string"
|
|
11724
|
+
},
|
|
11725
|
+
"fieldName": "discriminator"
|
|
11726
|
+
},
|
|
11727
|
+
{
|
|
11728
|
+
"name": "global-name",
|
|
11729
|
+
"type": {
|
|
11730
|
+
"text": "string"
|
|
11731
|
+
},
|
|
11732
|
+
"fieldName": "globalName"
|
|
11733
|
+
},
|
|
11734
|
+
{
|
|
11735
|
+
"name": "bot",
|
|
10167
11736
|
"type": {
|
|
10168
11737
|
"text": "boolean"
|
|
10169
11738
|
},
|
|
10170
11739
|
"default": "false",
|
|
10171
|
-
"
|
|
10172
|
-
|
|
11740
|
+
"fieldName": "bot"
|
|
11741
|
+
},
|
|
11742
|
+
{
|
|
11743
|
+
"name": "verified",
|
|
11744
|
+
"type": {
|
|
11745
|
+
"text": "boolean"
|
|
11746
|
+
},
|
|
11747
|
+
"default": "false",
|
|
11748
|
+
"fieldName": "verified"
|
|
11749
|
+
},
|
|
11750
|
+
{
|
|
11751
|
+
"name": "light-theme",
|
|
11752
|
+
"type": {
|
|
11753
|
+
"text": "boolean"
|
|
11754
|
+
},
|
|
11755
|
+
"default": "false",
|
|
11756
|
+
"fieldName": "lightTheme",
|
|
11757
|
+
"inheritedFrom": {
|
|
11758
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11759
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11760
|
+
}
|
|
11761
|
+
},
|
|
11762
|
+
{
|
|
11763
|
+
"name": "selected",
|
|
11764
|
+
"type": {
|
|
11765
|
+
"text": "boolean"
|
|
11766
|
+
},
|
|
11767
|
+
"default": "false",
|
|
11768
|
+
"fieldName": "selected",
|
|
11769
|
+
"inheritedFrom": {
|
|
11770
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11771
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11772
|
+
}
|
|
11773
|
+
},
|
|
11774
|
+
{
|
|
11775
|
+
"name": "visible",
|
|
11776
|
+
"type": {
|
|
11777
|
+
"text": "boolean"
|
|
11778
|
+
},
|
|
11779
|
+
"default": "true",
|
|
11780
|
+
"fieldName": "visible",
|
|
11781
|
+
"inheritedFrom": {
|
|
11782
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11783
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
11784
|
+
}
|
|
10173
11785
|
}
|
|
10174
11786
|
],
|
|
10175
11787
|
"superclass": {
|
|
10176
|
-
"name": "
|
|
10177
|
-
"
|
|
11788
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
11789
|
+
"module": "/src/components/_private/BaseDiscordSelectMenuOption.js"
|
|
10178
11790
|
},
|
|
10179
|
-
"tagName": "discord-
|
|
11791
|
+
"tagName": "discord-user-select-menu-option",
|
|
10180
11792
|
"customElement": true
|
|
10181
11793
|
}
|
|
10182
11794
|
],
|
|
10183
11795
|
"exports": [
|
|
10184
11796
|
{
|
|
10185
11797
|
"kind": "js",
|
|
10186
|
-
"name": "
|
|
11798
|
+
"name": "DiscordUserSelectMenuOption",
|
|
10187
11799
|
"declaration": {
|
|
10188
|
-
"name": "
|
|
10189
|
-
"module": "src/components/discord-
|
|
11800
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11801
|
+
"module": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts"
|
|
10190
11802
|
}
|
|
10191
11803
|
},
|
|
10192
11804
|
{
|
|
10193
11805
|
"kind": "custom-element-definition",
|
|
10194
|
-
"name": "discord-
|
|
11806
|
+
"name": "discord-user-select-menu-option",
|
|
10195
11807
|
"declaration": {
|
|
10196
|
-
"name": "
|
|
10197
|
-
"module": "src/components/discord-
|
|
11808
|
+
"name": "DiscordUserSelectMenuOption",
|
|
11809
|
+
"module": "src/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.ts"
|
|
10198
11810
|
}
|
|
10199
11811
|
}
|
|
10200
11812
|
]
|
|
@@ -10377,6 +11989,24 @@
|
|
|
10377
11989
|
},
|
|
10378
11990
|
"privacy": "private"
|
|
10379
11991
|
},
|
|
11992
|
+
{
|
|
11993
|
+
"kind": "field",
|
|
11994
|
+
"name": "width",
|
|
11995
|
+
"type": {
|
|
11996
|
+
"text": "number | undefined"
|
|
11997
|
+
},
|
|
11998
|
+
"privacy": "public",
|
|
11999
|
+
"attribute": "width"
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
"kind": "field",
|
|
12003
|
+
"name": "height",
|
|
12004
|
+
"type": {
|
|
12005
|
+
"text": "number | undefined"
|
|
12006
|
+
},
|
|
12007
|
+
"privacy": "public",
|
|
12008
|
+
"attribute": "height"
|
|
12009
|
+
},
|
|
10380
12010
|
{
|
|
10381
12011
|
"kind": "method",
|
|
10382
12012
|
"name": "handleFullScreenChange",
|
|
@@ -10834,6 +12464,20 @@
|
|
|
10834
12464
|
},
|
|
10835
12465
|
"default": "false",
|
|
10836
12466
|
"fieldName": "isInMediaFullScreenPreviewer"
|
|
12467
|
+
},
|
|
12468
|
+
{
|
|
12469
|
+
"name": "width",
|
|
12470
|
+
"type": {
|
|
12471
|
+
"text": "number | undefined"
|
|
12472
|
+
},
|
|
12473
|
+
"fieldName": "width"
|
|
12474
|
+
},
|
|
12475
|
+
{
|
|
12476
|
+
"name": "height",
|
|
12477
|
+
"type": {
|
|
12478
|
+
"text": "number | undefined"
|
|
12479
|
+
},
|
|
12480
|
+
"fieldName": "height"
|
|
10837
12481
|
}
|
|
10838
12482
|
],
|
|
10839
12483
|
"superclass": {
|
|
@@ -12913,6 +14557,136 @@
|
|
|
12913
14557
|
}
|
|
12914
14558
|
]
|
|
12915
14559
|
},
|
|
14560
|
+
{
|
|
14561
|
+
"kind": "javascript-module",
|
|
14562
|
+
"path": "src/components/_private/BaseDiscordSelectMenuOption.ts",
|
|
14563
|
+
"declarations": [
|
|
14564
|
+
{
|
|
14565
|
+
"kind": "class",
|
|
14566
|
+
"description": "",
|
|
14567
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14568
|
+
"members": [
|
|
14569
|
+
{
|
|
14570
|
+
"kind": "field",
|
|
14571
|
+
"name": "lightTheme",
|
|
14572
|
+
"type": {
|
|
14573
|
+
"text": "boolean"
|
|
14574
|
+
},
|
|
14575
|
+
"privacy": "public",
|
|
14576
|
+
"default": "false",
|
|
14577
|
+
"attribute": "light-theme",
|
|
14578
|
+
"reflects": true
|
|
14579
|
+
},
|
|
14580
|
+
{
|
|
14581
|
+
"kind": "field",
|
|
14582
|
+
"name": "selected",
|
|
14583
|
+
"type": {
|
|
14584
|
+
"text": "boolean"
|
|
14585
|
+
},
|
|
14586
|
+
"privacy": "public",
|
|
14587
|
+
"default": "false",
|
|
14588
|
+
"attribute": "selected",
|
|
14589
|
+
"reflects": true
|
|
14590
|
+
},
|
|
14591
|
+
{
|
|
14592
|
+
"kind": "field",
|
|
14593
|
+
"name": "baseStyles",
|
|
14594
|
+
"privacy": "public",
|
|
14595
|
+
"static": true,
|
|
14596
|
+
"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; } `"
|
|
14597
|
+
},
|
|
14598
|
+
{
|
|
14599
|
+
"kind": "method",
|
|
14600
|
+
"name": "renderSelectedContainer",
|
|
14601
|
+
"privacy": "protected",
|
|
14602
|
+
"parameters": [
|
|
14603
|
+
{
|
|
14604
|
+
"name": "content",
|
|
14605
|
+
"type": {
|
|
14606
|
+
"text": "TemplateResult"
|
|
14607
|
+
}
|
|
14608
|
+
}
|
|
14609
|
+
]
|
|
14610
|
+
},
|
|
14611
|
+
{
|
|
14612
|
+
"kind": "field",
|
|
14613
|
+
"name": "visible",
|
|
14614
|
+
"type": {
|
|
14615
|
+
"text": "boolean"
|
|
14616
|
+
},
|
|
14617
|
+
"privacy": "public",
|
|
14618
|
+
"default": "true",
|
|
14619
|
+
"attribute": "visible",
|
|
14620
|
+
"reflects": true
|
|
14621
|
+
},
|
|
14622
|
+
{
|
|
14623
|
+
"kind": "method",
|
|
14624
|
+
"name": "filter",
|
|
14625
|
+
"privacy": "public",
|
|
14626
|
+
"return": {
|
|
14627
|
+
"type": {
|
|
14628
|
+
"text": "boolean"
|
|
14629
|
+
}
|
|
14630
|
+
},
|
|
14631
|
+
"parameters": [
|
|
14632
|
+
{
|
|
14633
|
+
"name": "searchValue",
|
|
14634
|
+
"type": {
|
|
14635
|
+
"text": "Lowercase<string>"
|
|
14636
|
+
}
|
|
14637
|
+
}
|
|
14638
|
+
]
|
|
14639
|
+
},
|
|
14640
|
+
{
|
|
14641
|
+
"kind": "method",
|
|
14642
|
+
"name": "selectOption",
|
|
14643
|
+
"privacy": "public"
|
|
14644
|
+
}
|
|
14645
|
+
],
|
|
14646
|
+
"attributes": [
|
|
14647
|
+
{
|
|
14648
|
+
"name": "light-theme",
|
|
14649
|
+
"type": {
|
|
14650
|
+
"text": "boolean"
|
|
14651
|
+
},
|
|
14652
|
+
"default": "false",
|
|
14653
|
+
"fieldName": "lightTheme"
|
|
14654
|
+
},
|
|
14655
|
+
{
|
|
14656
|
+
"name": "selected",
|
|
14657
|
+
"type": {
|
|
14658
|
+
"text": "boolean"
|
|
14659
|
+
},
|
|
14660
|
+
"default": "false",
|
|
14661
|
+
"fieldName": "selected"
|
|
14662
|
+
},
|
|
14663
|
+
{
|
|
14664
|
+
"name": "visible",
|
|
14665
|
+
"type": {
|
|
14666
|
+
"text": "boolean"
|
|
14667
|
+
},
|
|
14668
|
+
"default": "true",
|
|
14669
|
+
"fieldName": "visible"
|
|
14670
|
+
}
|
|
14671
|
+
],
|
|
14672
|
+
"superclass": {
|
|
14673
|
+
"name": "LitElement",
|
|
14674
|
+
"package": "lit"
|
|
14675
|
+
},
|
|
14676
|
+
"customElement": true
|
|
14677
|
+
}
|
|
14678
|
+
],
|
|
14679
|
+
"exports": [
|
|
14680
|
+
{
|
|
14681
|
+
"kind": "js",
|
|
14682
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14683
|
+
"declaration": {
|
|
14684
|
+
"name": "BaseDiscordSelectMenuOption",
|
|
14685
|
+
"module": "src/components/_private/BaseDiscordSelectMenuOption.ts"
|
|
14686
|
+
}
|
|
14687
|
+
}
|
|
14688
|
+
]
|
|
14689
|
+
},
|
|
12916
14690
|
{
|
|
12917
14691
|
"kind": "javascript-module",
|
|
12918
14692
|
"path": "src/components/_private/DiscordMediaAttachmentStyles.ts",
|