@everymatrix/player-challenges 0.1.18 → 0.1.20
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/components/{ArrowLeftIcon-f3IOpYNO.cjs → ArrowLeftIcon-DO6udG1s.cjs} +1 -1
- package/components/{ArrowLeftIcon-DorWQbN-.js → ArrowLeftIcon-Kaa3LG8f.js} +1 -1
- package/components/Badge-CRqhE-Hj.js +138 -0
- package/components/Badge-D0ZJbgp_.cjs +9 -0
- package/components/{Button-DgtpbC5z.js → Button--aG_lPro.js} +17 -17
- package/components/{Button-CUICdAqJ.cjs → Button-DAWII22_.cjs} +2 -2
- package/components/ChallengeBanner-BSZGA4qu.js +75 -0
- package/components/ChallengeBanner-Bs54x1Zc.cjs +4 -0
- package/components/ChallengeBreadcrumbs-D-k5g986.cjs +1 -0
- package/components/{ChallengeBreadcrumbs-DHNKXK43.js → ChallengeBreadcrumbs-DeCNSw4j.js} +7 -7
- package/components/{ChallengeCard-BuDYjnna.cjs → ChallengeCard-DV8NRsI8.cjs} +1 -1
- package/components/{ChallengeCard-SkQ_xfqo.js → ChallengeCard-DmJwt2y9.js} +5 -5
- package/components/{ChallengeClaimCode-zgBFr-2W.cjs → ChallengeClaimCode-C3wmimbK.cjs} +1 -1
- package/components/{ChallengeClaimCode-DiJqww5t.js → ChallengeClaimCode-lHWYRca3.js} +2 -2
- package/components/{ChallengeDetails-DMdkjCMC.js → ChallengeDetails-CfJ9IZJZ.js} +2 -2
- package/components/{ChallengeDetails-D1h6ITwb.cjs → ChallengeDetails-DhoUowNR.cjs} +1 -1
- package/components/ChallengeDetailsSkeleton-CQE9XygJ.js +138 -0
- package/components/ChallengeDetailsSkeleton-DUsj6Ex3.cjs +20 -0
- package/components/{ChallengeEvents-B6l3iUIf.js → ChallengeEvents-D94H9Krw.js} +16 -16
- package/components/{ChallengeEvents-D5kenBIc.cjs → ChallengeEvents-DbhIZhJN.cjs} +1 -1
- package/components/ChallengeGames-BzYJAg3r.cjs +14 -0
- package/components/ChallengeGames-CEbrL9fk.js +135 -0
- package/components/{ChallengeHistory-8LPDK1aA.js → ChallengeHistory-C37Ju-TF.js} +4 -4
- package/components/{ChallengeHistory-CHK2Q13H.cjs → ChallengeHistory-IrHNMx-f.cjs} +1 -1
- package/components/ChallengeLevels-C1Za1xaA.js +314 -0
- package/components/ChallengeLevels-C9PgTVw2.cjs +8 -0
- package/components/ChallengeList-DBHOCEpb.cjs +21 -0
- package/components/ChallengeList-DNBErKGO.js +1228 -0
- package/components/{ChallengeProgress-BFAihSd8.js → ChallengeProgress-BYIofXd9.js} +15 -15
- package/components/{ChallengeProgress-F4DvqxcC.cjs → ChallengeProgress-DD6NEO1V.cjs} +1 -1
- package/components/{ChallengeProgressItem-BHk-1FKU.js → ChallengeProgressItem-BPDACh1_.js} +241 -225
- package/components/ChallengeProgressItem-Cx1q3OK1.cjs +69 -0
- package/components/ChallengeRules-Cd4G_z7I.js +161 -0
- package/components/ChallengeRules-yhHxeXjC.cjs +1 -0
- package/components/ChallengeSummary-DUvVQjAb.js +230 -0
- package/components/ChallengeSummary-DYXjswnX.cjs +1 -0
- package/components/ChallengeTabContent-GaoM87MI.cjs +16 -0
- package/components/ChallengeTabContent-e78Z_mn_.js +782 -0
- package/components/ChallengeTabPanel-CSDQ_fby.cjs +1 -0
- package/components/{ChallengeTabPanel-CdcGT_LI.js → ChallengeTabPanel-swSmY8NR.js} +47 -44
- package/components/ChallengeTabs-C8XAfjLf.cjs +14 -0
- package/components/ChallengeTabs-DJMMrYac.js +8754 -0
- package/components/{CheckIcon-BqS1Tdfu.cjs → CheckIcon-BlrbsjpT.cjs} +1 -1
- package/components/{CheckIcon-B82NDFTL.js → CheckIcon-tK7V78N4.js} +1 -1
- package/components/{ChevronIcon-zvGKIAT7.cjs → ChevronIcon-BqhIe8-q.cjs} +1 -1
- package/components/{ChevronIcon-C0yjiiug.js → ChevronIcon-qaJ1Oj2y.js} +1 -1
- package/components/ChipIcon-BduX6dog.cjs +1 -0
- package/components/ChipIcon-Ujh-VOxq.js +26 -0
- package/components/ChipShineIcon-CeuttnnT.js +28 -0
- package/components/ChipShineIcon-Da9RxUg4.cjs +1 -0
- package/components/{ExistIcon-Y3lLvkAJ.js → ExistIcon-D4vwoDrn.js} +1 -1
- package/components/{ExistIcon-DifozqZH.cjs → ExistIcon-DRSBI9MS.cjs} +1 -1
- package/components/{GiftIcon-Bd4y8-Fm.cjs → GiftIcon-CamLbeF4.cjs} +1 -1
- package/components/{GiftIcon-CY_-XK0b.js → GiftIcon-OBRuiA-K.js} +14 -14
- package/components/{LinkIcon-CLHvOQ2s.js → LinkIcon-CgJEoIZw.js} +1 -1
- package/components/{LinkIcon-Bttg6ZAz.cjs → LinkIcon-Ddovd_62.cjs} +1 -1
- package/components/{LockIcon-gAFRYl52.js → LockIcon-DIQ-GJQk.js} +1 -1
- package/components/{LockIcon-BgDxb03o.cjs → LockIcon-a1RxQQaV.cjs} +1 -1
- package/components/Pagination-CP5YVa1Z.js +113 -0
- package/components/Pagination-o53D-u3a.cjs +4 -0
- package/components/PlayerChallenges-B8InccvG.cjs +1 -0
- package/components/{PlayerChallenges-CaUu7idr.js → PlayerChallenges-BvI4m2pX.js} +158 -135
- package/components/{StarIcon-DE0r6703.cjs → StarIcon-BObqgUDq.cjs} +1 -1
- package/components/{StarIcon-CbfuCfUA.js → StarIcon-DndEbyJY.js} +1 -1
- package/components/{TargetIcon-BVhRYDcS.js → TargetIcon-Bo2nEJYn.js} +14 -14
- package/components/{TargetIcon-DDclkkVP.cjs → TargetIcon-DI14gV_H.cjs} +1 -1
- package/esnext/player-challenges.cjs +1 -1
- package/esnext/player-challenges.js +2 -2
- package/package.json +1 -1
- package/components/Badge-BDyFx08l.cjs +0 -7
- package/components/Badge-t5ERZxvC.js +0 -130
- package/components/ChallengeBanner-DSarDh3k.js +0 -59
- package/components/ChallengeBanner-uzrRUAwa.cjs +0 -4
- package/components/ChallengeBreadcrumbs-DwyCD4n7.cjs +0 -1
- package/components/ChallengeGames-CZu1MzPA.cjs +0 -11
- package/components/ChallengeGames-CjLLzYVy.js +0 -134
- package/components/ChallengeLevels-CCZGLr9f.cjs +0 -8
- package/components/ChallengeLevels-s9abBMuq.js +0 -292
- package/components/ChallengeList-CK16hckg.cjs +0 -20
- package/components/ChallengeList-D6_LjVsa.js +0 -1203
- package/components/ChallengeProgressItem-DrMZEU3z.cjs +0 -68
- package/components/ChallengeRules-CIINsSVb.js +0 -173
- package/components/ChallengeRules-D5vuaTVl.cjs +0 -1
- package/components/ChallengeSummary-BhoNxD8d.cjs +0 -1
- package/components/ChallengeSummary-sGIfhmFq.js +0 -213
- package/components/ChallengeTabContent-CYsszYCj.js +0 -795
- package/components/ChallengeTabContent-CftvI5C6.cjs +0 -12
- package/components/ChallengeTabPanel-ChsZw13b.cjs +0 -1
- package/components/ChallengeTabSkeleton-CDYom40f.cjs +0 -15
- package/components/ChallengeTabSkeleton-CuRzH3G_.js +0 -92
- package/components/ChallengeTabs-Dcgam5G5.cjs +0 -14
- package/components/ChallengeTabs-TgwP2u9F.js +0 -8618
- package/components/Pagination-4P-rWszf.cjs +0 -12
- package/components/Pagination-CbvI_9SC.js +0 -123
- package/components/PlayerChallenges-CtnY-k5K.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-C8XAfjLf.cjs"),S=require("./ChallengeLevels-C9PgTVw2.cjs"),b=require("./ChallengeGames-BzYJAg3r.cjs"),T=require("./ChallengeEvents-DbhIZhJN.cjs"),_=require("./ChallengeRules-yhHxeXjC.cjs");var y=e.from_html('<div class="challenge-details__tab-panel"><!></div>');const P={hash:"svelte-c4i06z",code:""};function d(c,t){e.push(t,!0),e.append_styles(c,P);const s=e.prop(t,"challengeItem",7),a=e.prop(t,"activeTab",15),l=e.prop(t,"endpoint",7),u=e.prop(t,"domainId",7),r=e.prop(t,"userSession",7),i=e.prop(t,"userId",7),o=e.prop(t,"isPaused",7,!1),g=e.prop(t,"onStatusChange",7);var m={get challengeItem(){return s()},set challengeItem(n){s(n),e.flushSync()},get activeTab(){return a()},set activeTab(n){a(n),e.flushSync()},get endpoint(){return l()},set endpoint(n){l(n),e.flushSync()},get domainId(){return u()},set domainId(n){u(n),e.flushSync()},get userSession(){return r()},set userSession(n){r(n),e.flushSync()},get userId(){return i()},set userId(n){i(n),e.flushSync()},get isPaused(){return o()},set isPaused(n=!1){o(n),e.flushSync()},get onStatusChange(){return g()},set onStatusChange(n){g(n),e.flushSync()}},h=y(),p=e.child(h);{var v=n=>{S.ChallengeLevels(n,{get challengeItem(){return s()},get isPaused(){return o()}})},f=n=>{b.ChallengeGames(n,{get challengeItem(){return s()},get endpoint(){return l()},get userSession(){return r()}})},C=n=>{T.ChallengeEvents(n,{get challengeItem(){return s()}})},I=n=>{_.ChallengeRules(n,{get challengeItem(){return s()},get endpoint(){return l()},get domainId(){return u()},get userSession(){return r()},get userId(){return i()},get onStatusChange(){return g()}})};e.if_block(p,n=>{a()===e.ChallengeDetailsTab.Levels?n(v):a()===e.ChallengeDetailsTab.Games?n(f,1):a()===e.ChallengeDetailsTab.Events?n(C,2):a()===e.ChallengeDetailsTab.Rules&&n(I,3)})}return e.reset(h),e.append(c,h),e.pop(m)}e.create_custom_element(d,{challengeItem:{},activeTab:{},endpoint:{},domainId:{},userSession:{},userId:{},isPaused:{},onStatusChange:{}},[],[],{mode:"open"});exports.ChallengeTabPanel=d;
|
|
@@ -1,103 +1,106 @@
|
|
|
1
|
-
import { c as T, d as p, h as
|
|
2
|
-
import { C as z } from "./ChallengeLevels-
|
|
3
|
-
import { C as D } from "./ChallengeGames-
|
|
4
|
-
import { C as G } from "./ChallengeEvents-
|
|
5
|
-
import { C as H } from "./ChallengeRules-
|
|
1
|
+
import { c as T, d as p, h as P, p as s, z as _, a as E, b as L, k as y, e as a, n as k, aq as u, r as x } from "./ChallengeTabs-DJMMrYac.js";
|
|
2
|
+
import { C as z } from "./ChallengeLevels-C1Za1xaA.js";
|
|
3
|
+
import { C as D } from "./ChallengeGames-CEbrL9fk.js";
|
|
4
|
+
import { C as G } from "./ChallengeEvents-D94H9Krw.js";
|
|
5
|
+
import { C as H } from "./ChallengeRules-Cd4G_z7I.js";
|
|
6
6
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
7
7
|
}, globalThis.customElements = { define() {
|
|
8
8
|
}, get() {
|
|
9
9
|
}, whenDefined() {
|
|
10
10
|
} });
|
|
11
|
-
var
|
|
12
|
-
const
|
|
13
|
-
function
|
|
14
|
-
p(t, !0),
|
|
15
|
-
const
|
|
11
|
+
var M = y('<div class="challenge-details__tab-panel"><!></div>');
|
|
12
|
+
const R = { hash: "svelte-c4i06z", code: "" };
|
|
13
|
+
function q(c, t) {
|
|
14
|
+
p(t, !0), P(c, R);
|
|
15
|
+
const n = s(t, "challengeItem", 7), r = s(t, "activeTab", 15), l = s(t, "endpoint", 7), o = s(t, "domainId", 7), i = s(t, "userSession", 7), g = s(t, "userId", 7), d = s(t, "isPaused", 7, !1), m = s(t, "onStatusChange", 7);
|
|
16
16
|
var v = {
|
|
17
17
|
get challengeItem() {
|
|
18
|
-
return
|
|
18
|
+
return n();
|
|
19
19
|
},
|
|
20
20
|
set challengeItem(e) {
|
|
21
|
-
|
|
21
|
+
n(e), a();
|
|
22
22
|
},
|
|
23
23
|
get activeTab() {
|
|
24
|
-
return
|
|
24
|
+
return r();
|
|
25
25
|
},
|
|
26
26
|
set activeTab(e) {
|
|
27
|
-
|
|
27
|
+
r(e), a();
|
|
28
28
|
},
|
|
29
29
|
get endpoint() {
|
|
30
|
-
return
|
|
30
|
+
return l();
|
|
31
31
|
},
|
|
32
32
|
set endpoint(e) {
|
|
33
|
-
|
|
33
|
+
l(e), a();
|
|
34
34
|
},
|
|
35
35
|
get domainId() {
|
|
36
|
-
return
|
|
36
|
+
return o();
|
|
37
37
|
},
|
|
38
38
|
set domainId(e) {
|
|
39
|
-
|
|
39
|
+
o(e), a();
|
|
40
40
|
},
|
|
41
41
|
get userSession() {
|
|
42
42
|
return i();
|
|
43
43
|
},
|
|
44
44
|
set userSession(e) {
|
|
45
|
-
i(e),
|
|
45
|
+
i(e), a();
|
|
46
46
|
},
|
|
47
47
|
get userId() {
|
|
48
48
|
return g();
|
|
49
49
|
},
|
|
50
50
|
set userId(e) {
|
|
51
|
-
g(e),
|
|
51
|
+
g(e), a();
|
|
52
52
|
},
|
|
53
|
-
get
|
|
54
|
-
return
|
|
53
|
+
get isPaused() {
|
|
54
|
+
return d();
|
|
55
55
|
},
|
|
56
|
-
set
|
|
57
|
-
|
|
56
|
+
set isPaused(e = !1) {
|
|
57
|
+
d(e), a();
|
|
58
58
|
},
|
|
59
59
|
get onStatusChange() {
|
|
60
|
-
return
|
|
60
|
+
return m();
|
|
61
61
|
},
|
|
62
62
|
set onStatusChange(e) {
|
|
63
|
-
|
|
63
|
+
m(e), a();
|
|
64
64
|
}
|
|
65
|
-
},
|
|
65
|
+
}, h = M(), I = k(h);
|
|
66
66
|
{
|
|
67
|
-
var
|
|
67
|
+
var f = (e) => {
|
|
68
68
|
z(e, {
|
|
69
69
|
get challengeItem() {
|
|
70
|
-
return
|
|
70
|
+
return n();
|
|
71
|
+
},
|
|
72
|
+
get isPaused() {
|
|
73
|
+
return d();
|
|
71
74
|
}
|
|
72
75
|
});
|
|
73
|
-
},
|
|
76
|
+
}, C = (e) => {
|
|
74
77
|
D(e, {
|
|
75
78
|
get challengeItem() {
|
|
76
|
-
return
|
|
79
|
+
return n();
|
|
77
80
|
},
|
|
78
81
|
get endpoint() {
|
|
79
|
-
return
|
|
82
|
+
return l();
|
|
80
83
|
},
|
|
81
84
|
get userSession() {
|
|
82
85
|
return i();
|
|
83
86
|
}
|
|
84
87
|
});
|
|
85
|
-
},
|
|
88
|
+
}, S = (e) => {
|
|
86
89
|
G(e, {
|
|
87
90
|
get challengeItem() {
|
|
88
|
-
return
|
|
91
|
+
return n();
|
|
89
92
|
}
|
|
90
93
|
});
|
|
91
|
-
},
|
|
94
|
+
}, b = (e) => {
|
|
92
95
|
H(e, {
|
|
93
96
|
get challengeItem() {
|
|
94
|
-
return
|
|
97
|
+
return n();
|
|
95
98
|
},
|
|
96
99
|
get endpoint() {
|
|
97
|
-
return
|
|
100
|
+
return l();
|
|
98
101
|
},
|
|
99
102
|
get domainId() {
|
|
100
|
-
return
|
|
103
|
+
return o();
|
|
101
104
|
},
|
|
102
105
|
get userSession() {
|
|
103
106
|
return i();
|
|
@@ -106,18 +109,18 @@ function P(h, t) {
|
|
|
106
109
|
return g();
|
|
107
110
|
},
|
|
108
111
|
get onStatusChange() {
|
|
109
|
-
return
|
|
112
|
+
return m();
|
|
110
113
|
}
|
|
111
114
|
});
|
|
112
115
|
};
|
|
113
116
|
_(I, (e) => {
|
|
114
|
-
|
|
117
|
+
r() === u.Levels ? e(f) : r() === u.Games ? e(C, 1) : r() === u.Events ? e(S, 2) : r() === u.Rules && e(b, 3);
|
|
115
118
|
});
|
|
116
119
|
}
|
|
117
|
-
return x(
|
|
120
|
+
return x(h), E(c, h), L(v);
|
|
118
121
|
}
|
|
119
122
|
T(
|
|
120
|
-
|
|
123
|
+
q,
|
|
121
124
|
{
|
|
122
125
|
challengeItem: {},
|
|
123
126
|
activeTab: {},
|
|
@@ -125,7 +128,7 @@ T(
|
|
|
125
128
|
domainId: {},
|
|
126
129
|
userSession: {},
|
|
127
130
|
userId: {},
|
|
128
|
-
|
|
131
|
+
isPaused: {},
|
|
129
132
|
onStatusChange: {}
|
|
130
133
|
},
|
|
131
134
|
[],
|
|
@@ -133,5 +136,5 @@ T(
|
|
|
133
136
|
{ mode: "open" }
|
|
134
137
|
);
|
|
135
138
|
export {
|
|
136
|
-
|
|
139
|
+
q as C
|
|
137
140
|
};
|