stuff
This commit is contained in:
parent
f43b149cd2
commit
c57834eb37
|
@ -1417,7 +1417,6 @@ var BDFDB = {
|
||||||
var LibraryModules = {};
|
var LibraryModules = {};
|
||||||
LibraryModules.AckUtils = BDFDB.ModuleUtils.findByProperties("localAck", "bulkAck");
|
LibraryModules.AckUtils = BDFDB.ModuleUtils.findByProperties("localAck", "bulkAck");
|
||||||
LibraryModules.APIUtils = BDFDB.ModuleUtils.findByProperties("getAPIBaseURL");
|
LibraryModules.APIUtils = BDFDB.ModuleUtils.findByProperties("getAPIBaseURL");
|
||||||
LibraryModules.Animations = BDFDB.ModuleUtils.findByProperties("Controller", "Spring");
|
|
||||||
LibraryModules.AnimationUtils = BDFDB.ModuleUtils.findByProperties("spring", "decay");
|
LibraryModules.AnimationUtils = BDFDB.ModuleUtils.findByProperties("spring", "decay");
|
||||||
LibraryModules.BadgeUtils = BDFDB.ModuleUtils.findByProperties("getBadgeCountString", "getBadgeWidthForValue");
|
LibraryModules.BadgeUtils = BDFDB.ModuleUtils.findByProperties("getBadgeCountString", "getBadgeWidthForValue");
|
||||||
LibraryModules.CategoryCollapseStore = BDFDB.ModuleUtils.findByProperties("getCollapsedCategories", "isCollapsed");
|
LibraryModules.CategoryCollapseStore = BDFDB.ModuleUtils.findByProperties("getCollapsedCategories", "isCollapsed");
|
||||||
|
@ -4113,6 +4112,8 @@ var BDFDB = {
|
||||||
confirmModal: "confirmModal-t-WDWJ",
|
confirmModal: "confirmModal-t-WDWJ",
|
||||||
favButtonContainer: "favbutton-8Fzu45",
|
favButtonContainer: "favbutton-8Fzu45",
|
||||||
guild: "guild-r3yAE_",
|
guild: "guild-r3yAE_",
|
||||||
|
guildLowerLeftBadge: "lowerLeftBadge-zr4T_9",
|
||||||
|
guildUpperLeftBadge: "upperLeftBadge-e35IpL",
|
||||||
hotkeyResetButton: "resetButton-hI9Ax7",
|
hotkeyResetButton: "resetButton-hI9Ax7",
|
||||||
hotkeyWrapper: "recorder-can0vx",
|
hotkeyWrapper: "recorder-can0vx",
|
||||||
inputNumberButton: "button-J9muv5",
|
inputNumberButton: "button-J9muv5",
|
||||||
|
@ -5007,6 +5008,7 @@ var BDFDB = {
|
||||||
guildinner: ["Guild", "wrapper"],
|
guildinner: ["Guild", "wrapper"],
|
||||||
guildinnerwrapper: ["GuildsItems", "listItemWrapper"],
|
guildinnerwrapper: ["GuildsItems", "listItemWrapper"],
|
||||||
guildlowerbadge: ["Guild", "lowerBadge"],
|
guildlowerbadge: ["Guild", "lowerBadge"],
|
||||||
|
guildlowerleftbadge: ["BDFDB", "guildLowerLeftBadge"],
|
||||||
guildouter: ["GuildsItems", "listItem"],
|
guildouter: ["GuildsItems", "listItem"],
|
||||||
guildpill: ["GuildServer", "pill"],
|
guildpill: ["GuildServer", "pill"],
|
||||||
guildpillitem: ["PillWrapper", "item"],
|
guildpillitem: ["PillWrapper", "item"],
|
||||||
|
@ -5033,6 +5035,7 @@ var BDFDB = {
|
||||||
guildswrapperunreadmentionsbarbottom: ["GuildsWrapper", "unreadMentionsIndicatorBottom"],
|
guildswrapperunreadmentionsbarbottom: ["GuildsWrapper", "unreadMentionsIndicatorBottom"],
|
||||||
guildswrapperunreadmentionsbartop: ["GuildsWrapper", "unreadMentionsIndicatorTop"],
|
guildswrapperunreadmentionsbartop: ["GuildsWrapper", "unreadMentionsIndicatorTop"],
|
||||||
guildupperbadge: ["Guild", "upperBadge"],
|
guildupperbadge: ["Guild", "upperBadge"],
|
||||||
|
guildupperleftbadge: ["BDFDB", "guildUpperLeftBadge"],
|
||||||
h1: ["Text", "h1"],
|
h1: ["Text", "h1"],
|
||||||
h1defaultmargin: ["Text", "defaultMarginh1"],
|
h1defaultmargin: ["Text", "defaultMarginh1"],
|
||||||
h2: ["Text", "h2"],
|
h2: ["Text", "h2"],
|
||||||
|
@ -6276,10 +6279,27 @@ var BDFDB = {
|
||||||
|
|
||||||
LibraryComponents.Anchor = BDFDB.ModuleUtils.findByName("Anchor");
|
LibraryComponents.Anchor = BDFDB.ModuleUtils.findByName("Anchor");
|
||||||
|
|
||||||
|
LibraryComponents.Animations = Object.assign({}, BDFDB.ModuleUtils.findByProperties("Controller", "Spring"));
|
||||||
|
|
||||||
LibraryComponents.Avatar = (BDFDB.ModuleUtils.findByProperties("AnimatedAvatar") || {}).default;
|
LibraryComponents.Avatar = (BDFDB.ModuleUtils.findByProperties("AnimatedAvatar") || {}).default;
|
||||||
|
|
||||||
LibraryComponents.BadgeComponents = Object.assign({}, BDFDB.ModuleUtils.findByProperties("IconBadge", "NumberBadge"));
|
LibraryComponents.BadgeComponents = Object.assign({}, BDFDB.ModuleUtils.findByProperties("IconBadge", "NumberBadge"));
|
||||||
|
|
||||||
|
LibraryComponents.BadgeComponents.AnimationContainer = reactInitialized && class BDFDB_BadgeContainer extends LibraryModules.React.Component {
|
||||||
|
componentDidMount() {BDFDB.ReactUtils.forceUpdate(this);}
|
||||||
|
componentWillAppear(e) {if (typeof e == "function") e();}
|
||||||
|
componentWillEnter(e) {if (typeof e == "function") e();}
|
||||||
|
componentWillLeave(e) {if (typeof e == "function") this.timeoutId = setTimeout(e, 300);}
|
||||||
|
componentWillUnmount() {clearTimeout(this.timeoutId)}
|
||||||
|
render() {
|
||||||
|
return BDFDB.ReactUtils.createElement(LibraryModules.animated.div, {
|
||||||
|
className: this.props.className,
|
||||||
|
style: this.props.animatedStyle,
|
||||||
|
children: this.props.children
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
LibraryComponents.BotTag = reactInitialized && class BDFDB_BotTag extends LibraryModules.React.Component {
|
LibraryComponents.BotTag = reactInitialized && class BDFDB_BotTag extends LibraryModules.React.Component {
|
||||||
handleClick(e) {if (typeof this.props.onClick == "function") this.props.onClick(e, this);}
|
handleClick(e) {if (typeof this.props.onClick == "function") this.props.onClick(e, this);}
|
||||||
handleContextMenu(e) {if (typeof this.props.onContextMenu == "function") this.props.onContextMenu(e, this);}
|
handleContextMenu(e) {if (typeof this.props.onContextMenu == "function") this.props.onContextMenu(e, this);}
|
||||||
|
@ -7890,6 +7910,18 @@ var BDFDB = {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${BDFDB.dotCN.guildupperleftbadge} {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
${BDFDB.dotCN.guildlowerleftbadge} {
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
${BDFDB.dotCNC.guildlowerleftbadge + BDFDB.dotCN.guildupperleftbadge} {
|
||||||
|
pointer-events: none;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
${BDFDB.dotCN.svgicon} {
|
${BDFDB.dotCN.svgicon} {
|
||||||
color: var(--interactive-normal);
|
color: var(--interactive-normal);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue