@everymatrix/player-account-menu 0.0.166 → 0.0.170
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.
|
@@ -4498,7 +4498,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4498
4498
|
const { console: console_1$1 } = globals;
|
|
4499
4499
|
const file$1 = "../general-logout/src/GeneralLogout.svelte";
|
|
4500
4500
|
|
|
4501
|
-
// (
|
|
4501
|
+
// (50:0) {:else}
|
|
4502
4502
|
function create_else_block$1(ctx) {
|
|
4503
4503
|
let div;
|
|
4504
4504
|
let button;
|
|
@@ -4512,10 +4512,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4512
4512
|
button = element("button");
|
|
4513
4513
|
span = element("span");
|
|
4514
4514
|
span.textContent = "Logout";
|
|
4515
|
-
add_location(span, file$1,
|
|
4516
|
-
add_location(button, file$1,
|
|
4515
|
+
add_location(span, file$1, 51, 38, 2486);
|
|
4516
|
+
add_location(button, file$1, 51, 4, 2452);
|
|
4517
4517
|
attr_dev(div, "class", "GeneralLogout");
|
|
4518
|
-
add_location(div, file$1,
|
|
4518
|
+
add_location(div, file$1, 50, 2, 2420);
|
|
4519
4519
|
},
|
|
4520
4520
|
m: function mount(target, anchor) {
|
|
4521
4521
|
insert_dev(target, div, anchor);
|
|
@@ -4539,7 +4539,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4539
4539
|
block,
|
|
4540
4540
|
id: create_else_block$1.name,
|
|
4541
4541
|
type: "else",
|
|
4542
|
-
source: "(
|
|
4542
|
+
source: "(50:0) {:else}",
|
|
4543
4543
|
ctx
|
|
4544
4544
|
});
|
|
4545
4545
|
|
|
@@ -4551,9 +4551,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4551
4551
|
let p;
|
|
4552
4552
|
let span;
|
|
4553
4553
|
let svg;
|
|
4554
|
+
let defs;
|
|
4555
|
+
let style;
|
|
4556
|
+
let t0;
|
|
4554
4557
|
let path0;
|
|
4555
4558
|
let path1;
|
|
4556
|
-
let
|
|
4559
|
+
let t1;
|
|
4557
4560
|
let mounted;
|
|
4558
4561
|
let dispose;
|
|
4559
4562
|
let if_block = !/*isMobile*/ ctx[1] && create_if_block_1$1(ctx);
|
|
@@ -4563,25 +4566,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4563
4566
|
p = element("p");
|
|
4564
4567
|
span = element("span");
|
|
4565
4568
|
svg = svg_element("svg");
|
|
4569
|
+
defs = svg_element("defs");
|
|
4570
|
+
style = svg_element("style");
|
|
4571
|
+
t0 = text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:#fff;}");
|
|
4566
4572
|
path0 = svg_element("path");
|
|
4567
4573
|
path1 = svg_element("path");
|
|
4568
|
-
|
|
4574
|
+
t1 = space();
|
|
4569
4575
|
if (if_block) if_block.c();
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
attr_dev(
|
|
4576
|
+
add_location(style, file$1, 43, 135, 1742);
|
|
4577
|
+
add_location(defs, file$1, 43, 129, 1736);
|
|
4578
|
+
attr_dev(path0, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd");
|
|
4579
|
+
attr_dev(path0, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z");
|
|
4580
|
+
add_location(path0, file$1, 43, 206, 1813);
|
|
4581
|
+
attr_dev(path1, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd");
|
|
4582
|
+
attr_dev(path1, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z");
|
|
4583
|
+
add_location(path1, file$1, 43, 463, 2070);
|
|
4584
|
+
attr_dev(svg, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d");
|
|
4585
|
+
attr_dev(svg, "data-name", "Layer 1");
|
|
4577
4586
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4578
|
-
attr_dev(svg, "
|
|
4579
|
-
|
|
4580
|
-
attr_dev(svg, "y", "0px");
|
|
4581
|
-
attr_dev(svg, "viewBox", "0 0 384.971 384.971");
|
|
4582
|
-
set_style(svg, "enable-background", "new 0 0 384.971 384.971");
|
|
4583
|
-
attr_dev(svg, "xml:space", "preserve");
|
|
4584
|
-
add_location(svg, file$1, 43, 6, 1613);
|
|
4587
|
+
attr_dev(svg, "viewBox", "0 0 150 150");
|
|
4588
|
+
add_location(svg, file$1, 43, 5, 1612);
|
|
4585
4589
|
|
|
4586
4590
|
set_style(span, "width", !/*isMobile*/ ctx[1]
|
|
4587
4591
|
? "20px"
|
|
@@ -4601,9 +4605,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4601
4605
|
insert_dev(target, p, anchor);
|
|
4602
4606
|
append_dev(p, span);
|
|
4603
4607
|
append_dev(span, svg);
|
|
4608
|
+
append_dev(svg, defs);
|
|
4609
|
+
append_dev(defs, style);
|
|
4610
|
+
append_dev(style, t0);
|
|
4604
4611
|
append_dev(svg, path0);
|
|
4605
4612
|
append_dev(svg, path1);
|
|
4606
|
-
append_dev(p,
|
|
4613
|
+
append_dev(p, t1);
|
|
4607
4614
|
if (if_block) if_block.m(p, null);
|
|
4608
4615
|
|
|
4609
4616
|
if (!mounted) {
|
|
@@ -4631,7 +4638,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4631
4638
|
return block;
|
|
4632
4639
|
}
|
|
4633
4640
|
|
|
4634
|
-
// (
|
|
4641
|
+
// (46:4) {#if !isMobile}
|
|
4635
4642
|
function create_if_block_1$1(ctx) {
|
|
4636
4643
|
let span;
|
|
4637
4644
|
|
|
@@ -4640,7 +4647,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4640
4647
|
span = element("span");
|
|
4641
4648
|
span.textContent = "Logout";
|
|
4642
4649
|
attr_dev(span, "class", "PlayerLogoutText");
|
|
4643
|
-
add_location(span, file$1,
|
|
4650
|
+
add_location(span, file$1, 46, 6, 2348);
|
|
4644
4651
|
},
|
|
4645
4652
|
m: function mount(target, anchor) {
|
|
4646
4653
|
insert_dev(target, span, anchor);
|
|
@@ -4654,7 +4661,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4654
4661
|
block,
|
|
4655
4662
|
id: create_if_block_1$1.name,
|
|
4656
4663
|
type: "if",
|
|
4657
|
-
source: "(
|
|
4664
|
+
source: "(46:4) {#if !isMobile}",
|
|
4658
4665
|
ctx
|
|
4659
4666
|
});
|
|
4660
4667
|
|
|
@@ -5621,7 +5628,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5621
5628
|
class PlayerAccountMenu extends SvelteElement {
|
|
5622
5629
|
constructor(options) {
|
|
5623
5630
|
super();
|
|
5624
|
-
this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:unset;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:
|
|
5631
|
+
this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:unset;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#07072A;border-bottom:1px solid #07072A}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:40px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:10px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:12px;padding:0 5px 15px 5px;font-weight:600;word-break:break-word;text-align:center;color:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>`;
|
|
5625
5632
|
|
|
5626
5633
|
init(
|
|
5627
5634
|
this,
|