@everymatrix/casino-tournaments-controller 1.0.16 → 1.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-tournaments-controller",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"main": "dist/casino-tournaments-controller.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "62036ada223f2b4f7b64d99a81ab2229ecba3cf1"
|
|
40
40
|
}
|
|
@@ -330,12 +330,10 @@
|
|
|
330
330
|
.then((data:any) => {
|
|
331
331
|
cssFile.innerHTML = data
|
|
332
332
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
setTimeout(() => { displayNone = false; }, 500);
|
|
336
|
-
}
|
|
333
|
+
setTimeout(() => { customStylingContainer.appendChild(cssFile) }, 1);
|
|
334
|
+
setTimeout(() => { displayNone = false; }, 500);
|
|
337
335
|
});
|
|
338
|
-
}
|
|
336
|
+
}
|
|
339
337
|
|
|
340
338
|
onMount(() => {
|
|
341
339
|
setTimeout(()=>{
|
|
@@ -364,58 +362,64 @@
|
|
|
364
362
|
$: readyToLoad && isMounted && initialLoad();
|
|
365
363
|
</script>
|
|
366
364
|
|
|
367
|
-
{
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
{
|
|
371
|
-
|
|
372
|
-
<div class="
|
|
373
|
-
<div class="
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
365
|
+
<div bind:this={customStylingContainer}>
|
|
366
|
+
{#if hasErrors}
|
|
367
|
+
<p>{$_('tournamentsController.500')}</p>
|
|
368
|
+
<p>{error}</p>
|
|
369
|
+
{:else}
|
|
370
|
+
<div class="TournamentsWrapper" part="TournamentsWrapper">
|
|
371
|
+
<div class="Tournaments" style="max-width: {containermaxwidth}px;" part="Tournaments">
|
|
372
|
+
<div class="FirstRow" part="FirstRow">
|
|
373
|
+
{#if filtersLoaded}
|
|
374
|
+
<casino-tournaments-filter-controller
|
|
375
|
+
{clientstyling}
|
|
376
|
+
{clientstylingurl}
|
|
377
|
+
filters={filtersArray}
|
|
378
|
+
activefilters={filters}
|
|
379
|
+
exportparts="FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem"
|
|
380
|
+
></casino-tournaments-filter-controller>
|
|
381
|
+
{/if}
|
|
382
|
+
</div>
|
|
383
|
+
<div class="SecondRow" part="SecondRow">
|
|
384
|
+
{#if tournamentsNumber == 0}
|
|
385
|
+
{#if isLoading}
|
|
386
|
+
<p class="LoadingMessage" part="LoadingMessage">{$_('tournamentsController.loading')}</p>
|
|
387
|
+
{:else}
|
|
388
|
+
<p class="NoTournaments" part="NoTournaments">{$_('tournamentsController.noTournaments')}</p>
|
|
389
|
+
{/if}
|
|
386
390
|
{:else}
|
|
387
|
-
<
|
|
391
|
+
<casino-tournaments-list-controller
|
|
392
|
+
{clientstyling}
|
|
393
|
+
{clientstylingurl}
|
|
394
|
+
session={session}
|
|
395
|
+
userid={userid}
|
|
396
|
+
numberoftournaments={numberoftournaments}
|
|
397
|
+
endpoint={endpoint}
|
|
398
|
+
loginurl={loginurl}
|
|
399
|
+
loginevent={loginevent}
|
|
400
|
+
registerurl={registerurl}
|
|
401
|
+
registerevent={registerevent}
|
|
402
|
+
{lang}
|
|
403
|
+
{currency}
|
|
404
|
+
{keepbrowsercontext}
|
|
405
|
+
exportparts="Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
|
|
406
|
+
TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
|
|
407
|
+
TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
|
|
408
|
+
TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper"
|
|
409
|
+
></casino-tournaments-list-controller>
|
|
388
410
|
{/if}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
loginevent={loginevent}
|
|
397
|
-
registerurl={registerurl}
|
|
398
|
-
registerevent={registerevent}
|
|
399
|
-
{lang}
|
|
400
|
-
{currency}
|
|
401
|
-
{keepbrowsercontext}
|
|
402
|
-
exportparts="Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
|
|
403
|
-
TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
|
|
404
|
-
TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
|
|
405
|
-
TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper"
|
|
406
|
-
></casino-tournaments-list-controller>
|
|
411
|
+
</div>
|
|
412
|
+
{#if !allTournamentsShown}
|
|
413
|
+
<div class="ThirdRow" part="ThirdRow">
|
|
414
|
+
<div class="CenterButton" part="CenterButton">
|
|
415
|
+
<button class="ShowMoreButton" part="ShowMoreButton" on:click="{() => showMoreAction()}" title="Show More">{$_('tournamentsController.showMore')}</button>
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
407
418
|
{/if}
|
|
408
419
|
</div>
|
|
409
|
-
{#if !allTournamentsShown}
|
|
410
|
-
<div class="ThirdRow" part="ThirdRow">
|
|
411
|
-
<div class="CenterButton" part="CenterButton">
|
|
412
|
-
<button class="ShowMoreButton" part="ShowMoreButton" on:click="{() => showMoreAction()}" title="Show More">{$_('tournamentsController.showMore')}</button>
|
|
413
|
-
</div>
|
|
414
|
-
</div>
|
|
415
|
-
{/if}
|
|
416
420
|
</div>
|
|
417
|
-
|
|
418
|
-
|
|
421
|
+
{/if}
|
|
422
|
+
</div>
|
|
419
423
|
|
|
420
424
|
<style lang="scss">
|
|
421
425
|
$primary-background-color: var(--emfe-w-color-contrast, #07072A);
|