@everymatrix/casino-search 1.0.16 → 1.1.1
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/dist/casino-search.js +44 -48
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +1 -3
package/dist/casino-search.js
CHANGED
|
@@ -15128,7 +15128,7 @@
|
|
|
15128
15128
|
return child_ctx;
|
|
15129
15129
|
}
|
|
15130
15130
|
|
|
15131
|
-
// (
|
|
15131
|
+
// (223:4) {:else}
|
|
15132
15132
|
function create_else_block(ctx) {
|
|
15133
15133
|
let t0;
|
|
15134
15134
|
let div;
|
|
@@ -15154,7 +15154,7 @@
|
|
|
15154
15154
|
t1 = space();
|
|
15155
15155
|
if (if_block2) if_block2.c();
|
|
15156
15156
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'));
|
|
15157
|
-
add_location(div, file,
|
|
15157
|
+
add_location(div, file, 233, 6, 8214);
|
|
15158
15158
|
},
|
|
15159
15159
|
m: function mount(target, anchor) {
|
|
15160
15160
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15223,14 +15223,14 @@
|
|
|
15223
15223
|
block,
|
|
15224
15224
|
id: create_else_block.name,
|
|
15225
15225
|
type: "else",
|
|
15226
|
-
source: "(
|
|
15226
|
+
source: "(223:4) {:else}",
|
|
15227
15227
|
ctx
|
|
15228
15228
|
});
|
|
15229
15229
|
|
|
15230
15230
|
return block;
|
|
15231
15231
|
}
|
|
15232
15232
|
|
|
15233
|
-
// (
|
|
15233
|
+
// (221:4) {#if isLoading}
|
|
15234
15234
|
function create_if_block(ctx) {
|
|
15235
15235
|
let p;
|
|
15236
15236
|
let t_value = /*$_*/ ctx[13]('Translations.loading') + "";
|
|
@@ -15240,7 +15240,7 @@
|
|
|
15240
15240
|
c: function create() {
|
|
15241
15241
|
p = element("p");
|
|
15242
15242
|
t = text(t_value);
|
|
15243
|
-
add_location(p, file,
|
|
15243
|
+
add_location(p, file, 221, 6, 7706);
|
|
15244
15244
|
},
|
|
15245
15245
|
m: function mount(target, anchor) {
|
|
15246
15246
|
insert_dev(target, p, anchor);
|
|
@@ -15258,14 +15258,14 @@
|
|
|
15258
15258
|
block,
|
|
15259
15259
|
id: create_if_block.name,
|
|
15260
15260
|
type: "if",
|
|
15261
|
-
source: "(
|
|
15261
|
+
source: "(221:4) {#if isLoading}",
|
|
15262
15262
|
ctx
|
|
15263
15263
|
});
|
|
15264
15264
|
|
|
15265
15265
|
return block;
|
|
15266
15266
|
}
|
|
15267
15267
|
|
|
15268
|
-
// (
|
|
15268
|
+
// (231:40)
|
|
15269
15269
|
function create_if_block_5(ctx) {
|
|
15270
15270
|
let p;
|
|
15271
15271
|
let t_value = /*$_*/ ctx[13]('Translations.searchResult') + "";
|
|
@@ -15276,7 +15276,7 @@
|
|
|
15276
15276
|
p = element("p");
|
|
15277
15277
|
t = text(t_value);
|
|
15278
15278
|
attr_dev(p, "class", "SearchMessage");
|
|
15279
|
-
add_location(p, file,
|
|
15279
|
+
add_location(p, file, 231, 8, 8132);
|
|
15280
15280
|
},
|
|
15281
15281
|
m: function mount(target, anchor) {
|
|
15282
15282
|
insert_dev(target, p, anchor);
|
|
@@ -15294,14 +15294,14 @@
|
|
|
15294
15294
|
block,
|
|
15295
15295
|
id: create_if_block_5.name,
|
|
15296
15296
|
type: "if",
|
|
15297
|
-
source: "(
|
|
15297
|
+
source: "(231:40) ",
|
|
15298
15298
|
ctx
|
|
15299
15299
|
});
|
|
15300
15300
|
|
|
15301
15301
|
return block;
|
|
15302
15302
|
}
|
|
15303
15303
|
|
|
15304
|
-
// (
|
|
15304
|
+
// (224:6) {#if searchActive == true && searchValue.length < 2}
|
|
15305
15305
|
function create_if_block_3(ctx) {
|
|
15306
15306
|
let p;
|
|
15307
15307
|
let t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "";
|
|
@@ -15318,7 +15318,7 @@
|
|
|
15318
15318
|
if (if_block) if_block.c();
|
|
15319
15319
|
if_block_anchor = empty();
|
|
15320
15320
|
attr_dev(p, "class", "SearchMessage");
|
|
15321
|
-
add_location(p, file,
|
|
15321
|
+
add_location(p, file, 224, 8, 7821);
|
|
15322
15322
|
},
|
|
15323
15323
|
m: function mount(target, anchor) {
|
|
15324
15324
|
insert_dev(target, p, anchor);
|
|
@@ -15355,14 +15355,14 @@
|
|
|
15355
15355
|
block,
|
|
15356
15356
|
id: create_if_block_3.name,
|
|
15357
15357
|
type: "if",
|
|
15358
|
-
source: "(
|
|
15358
|
+
source: "(224:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15359
15359
|
ctx
|
|
15360
15360
|
});
|
|
15361
15361
|
|
|
15362
15362
|
return block;
|
|
15363
15363
|
}
|
|
15364
15364
|
|
|
15365
|
-
// (
|
|
15365
|
+
// (226:10) {#if searchArray.length == 0}
|
|
15366
15366
|
function create_if_block_4(ctx) {
|
|
15367
15367
|
let div;
|
|
15368
15368
|
let p;
|
|
@@ -15375,9 +15375,9 @@
|
|
|
15375
15375
|
p = element("p");
|
|
15376
15376
|
t = text(t_value);
|
|
15377
15377
|
attr_dev(p, "class", "SearchMessage");
|
|
15378
|
-
add_location(p, file,
|
|
15378
|
+
add_location(p, file, 227, 12, 7982);
|
|
15379
15379
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15380
|
-
add_location(div, file,
|
|
15380
|
+
add_location(div, file, 226, 10, 7934);
|
|
15381
15381
|
},
|
|
15382
15382
|
m: function mount(target, anchor) {
|
|
15383
15383
|
insert_dev(target, div, anchor);
|
|
@@ -15396,14 +15396,14 @@
|
|
|
15396
15396
|
block,
|
|
15397
15397
|
id: create_if_block_4.name,
|
|
15398
15398
|
type: "if",
|
|
15399
|
-
source: "(
|
|
15399
|
+
source: "(226:10) {#if searchArray.length == 0}",
|
|
15400
15400
|
ctx
|
|
15401
15401
|
});
|
|
15402
15402
|
|
|
15403
15403
|
return block;
|
|
15404
15404
|
}
|
|
15405
15405
|
|
|
15406
|
-
// (
|
|
15406
|
+
// (235:8) {#if searchCancelled === false}
|
|
15407
15407
|
function create_if_block_2(ctx) {
|
|
15408
15408
|
let each_1_anchor;
|
|
15409
15409
|
let each_value = /*searchArray*/ ctx[9];
|
|
@@ -15464,14 +15464,14 @@
|
|
|
15464
15464
|
block,
|
|
15465
15465
|
id: create_if_block_2.name,
|
|
15466
15466
|
type: "if",
|
|
15467
|
-
source: "(
|
|
15467
|
+
source: "(235:8) {#if searchCancelled === false}",
|
|
15468
15468
|
ctx
|
|
15469
15469
|
});
|
|
15470
15470
|
|
|
15471
15471
|
return block;
|
|
15472
15472
|
}
|
|
15473
15473
|
|
|
15474
|
-
// (
|
|
15474
|
+
// (236:10) {#each searchArray as game}
|
|
15475
15475
|
function create_each_block(ctx) {
|
|
15476
15476
|
let casino_game_thumbnail;
|
|
15477
15477
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15508,7 +15508,7 @@
|
|
|
15508
15508
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
|
|
15509
15509
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15510
15510
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15511
|
-
add_location(casino_game_thumbnail, file,
|
|
15511
|
+
add_location(casino_game_thumbnail, file, 236, 12, 8383);
|
|
15512
15512
|
},
|
|
15513
15513
|
m: function mount(target, anchor) {
|
|
15514
15514
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15589,14 +15589,14 @@
|
|
|
15589
15589
|
block,
|
|
15590
15590
|
id: create_each_block.name,
|
|
15591
15591
|
type: "each",
|
|
15592
|
-
source: "(
|
|
15592
|
+
source: "(236:10) {#each searchArray as game}",
|
|
15593
15593
|
ctx
|
|
15594
15594
|
});
|
|
15595
15595
|
|
|
15596
15596
|
return block;
|
|
15597
15597
|
}
|
|
15598
15598
|
|
|
15599
|
-
// (
|
|
15599
|
+
// (257:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15600
15600
|
function create_if_block_1(ctx) {
|
|
15601
15601
|
let div;
|
|
15602
15602
|
let p0;
|
|
@@ -15616,10 +15616,10 @@
|
|
|
15616
15616
|
p1 = element("p");
|
|
15617
15617
|
t2 = text(t2_value);
|
|
15618
15618
|
attr_dev(p0, "class", "SearchMessage");
|
|
15619
|
-
add_location(p0, file,
|
|
15620
|
-
add_location(p1, file,
|
|
15619
|
+
add_location(p0, file, 258, 12, 9247);
|
|
15620
|
+
add_location(p1, file, 259, 12, 9318);
|
|
15621
15621
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15622
|
-
add_location(div, file,
|
|
15622
|
+
add_location(div, file, 257, 10, 9199);
|
|
15623
15623
|
},
|
|
15624
15624
|
m: function mount(target, anchor) {
|
|
15625
15625
|
insert_dev(target, div, anchor);
|
|
@@ -15642,7 +15642,7 @@
|
|
|
15642
15642
|
block,
|
|
15643
15643
|
id: create_if_block_1.name,
|
|
15644
15644
|
type: "if",
|
|
15645
|
-
source: "(
|
|
15645
|
+
source: "(257:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15646
15646
|
ctx
|
|
15647
15647
|
});
|
|
15648
15648
|
|
|
@@ -15650,7 +15650,6 @@
|
|
|
15650
15650
|
}
|
|
15651
15651
|
|
|
15652
15652
|
function create_fragment(ctx) {
|
|
15653
|
-
let div4;
|
|
15654
15653
|
let div3;
|
|
15655
15654
|
let div2;
|
|
15656
15655
|
let div0;
|
|
@@ -15685,7 +15684,6 @@
|
|
|
15685
15684
|
|
|
15686
15685
|
const block = {
|
|
15687
15686
|
c: function create() {
|
|
15688
|
-
div4 = element("div");
|
|
15689
15687
|
div3 = element("div");
|
|
15690
15688
|
div2 = element("div");
|
|
15691
15689
|
div0 = element("div");
|
|
@@ -15710,53 +15708,51 @@
|
|
|
15710
15708
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15711
15709
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15712
15710
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15713
|
-
add_location(path0, file,
|
|
15711
|
+
add_location(path0, file, 204, 10, 6677);
|
|
15714
15712
|
attr_dev(circle, "cx", "6.5");
|
|
15715
15713
|
attr_dev(circle, "cy", "6.5");
|
|
15716
15714
|
attr_dev(circle, "r", "5.75");
|
|
15717
15715
|
attr_dev(circle, "stroke", "#212121");
|
|
15718
15716
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15719
|
-
add_location(circle, file,
|
|
15717
|
+
add_location(circle, file, 205, 10, 6805);
|
|
15720
15718
|
attr_dev(svg0, "width", "14");
|
|
15721
15719
|
attr_dev(svg0, "height", "15");
|
|
15722
15720
|
attr_dev(svg0, "fill", "none");
|
|
15723
15721
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15724
|
-
add_location(svg0, file,
|
|
15722
|
+
add_location(svg0, file, 203, 8, 6591);
|
|
15725
15723
|
attr_dev(div0, "class", "SearchIcon");
|
|
15726
|
-
add_location(div0, file,
|
|
15724
|
+
add_location(div0, file, 202, 6, 6558);
|
|
15727
15725
|
attr_dev(input, "class", "SearchInput");
|
|
15728
15726
|
attr_dev(input, "type", "search");
|
|
15729
15727
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'));
|
|
15730
|
-
add_location(input, file,
|
|
15728
|
+
add_location(input, file, 209, 8, 6950);
|
|
15731
15729
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15732
15730
|
attr_dev(path1, "stroke", "#717171");
|
|
15733
15731
|
attr_dev(path1, "stroke-width", "2");
|
|
15734
15732
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15735
15733
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15736
|
-
add_location(path1, file,
|
|
15734
|
+
add_location(path1, file, 212, 12, 7337);
|
|
15737
15735
|
attr_dev(svg1, "width", "11");
|
|
15738
15736
|
attr_dev(svg1, "height", "11");
|
|
15739
15737
|
attr_dev(svg1, "fill", "none");
|
|
15740
15738
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15741
|
-
add_location(svg1, file,
|
|
15739
|
+
add_location(svg1, file, 211, 10, 7249);
|
|
15742
15740
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'));
|
|
15743
|
-
add_location(span, file,
|
|
15741
|
+
add_location(span, file, 210, 8, 7128);
|
|
15744
15742
|
attr_dev(div1, "class", "SearchContainer");
|
|
15745
|
-
add_location(div1, file,
|
|
15743
|
+
add_location(div1, file, 208, 6, 6912);
|
|
15746
15744
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''));
|
|
15747
|
-
add_location(small, file,
|
|
15745
|
+
add_location(small, file, 216, 6, 7513);
|
|
15748
15746
|
attr_dev(div2, "class", "Search");
|
|
15749
|
-
add_location(div2, file,
|
|
15747
|
+
add_location(div2, file, 201, 4, 6531);
|
|
15750
15748
|
attr_dev(div3, "class", "CasinoSearch");
|
|
15751
|
-
add_location(div3, file,
|
|
15752
|
-
add_location(div4, file, 200, 0, 6463);
|
|
15749
|
+
add_location(div3, file, 200, 2, 6465);
|
|
15753
15750
|
},
|
|
15754
15751
|
l: function claim(nodes) {
|
|
15755
15752
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
15756
15753
|
},
|
|
15757
15754
|
m: function mount(target, anchor) {
|
|
15758
|
-
insert_dev(target,
|
|
15759
|
-
append_dev(div4, div3);
|
|
15755
|
+
insert_dev(target, div3, anchor);
|
|
15760
15756
|
append_dev(div3, div2);
|
|
15761
15757
|
append_dev(div2, div0);
|
|
15762
15758
|
append_dev(div0, svg0);
|
|
@@ -15776,7 +15772,7 @@
|
|
|
15776
15772
|
append_dev(small, t3);
|
|
15777
15773
|
append_dev(div3, t4);
|
|
15778
15774
|
if_block.m(div3, null);
|
|
15779
|
-
/*
|
|
15775
|
+
/*div3_binding*/ ctx[23](div3);
|
|
15780
15776
|
|
|
15781
15777
|
if (!mounted) {
|
|
15782
15778
|
dispose = [
|
|
@@ -15823,10 +15819,10 @@
|
|
|
15823
15819
|
i: noop$1,
|
|
15824
15820
|
o: noop$1,
|
|
15825
15821
|
d: function destroy(detaching) {
|
|
15826
|
-
if (detaching) detach_dev(
|
|
15822
|
+
if (detaching) detach_dev(div3);
|
|
15827
15823
|
/*input_binding*/ ctx[20](null);
|
|
15828
15824
|
if_block.d();
|
|
15829
|
-
/*
|
|
15825
|
+
/*div3_binding*/ ctx[23](null);
|
|
15830
15826
|
mounted = false;
|
|
15831
15827
|
run_all(dispose);
|
|
15832
15828
|
}
|
|
@@ -16080,7 +16076,7 @@
|
|
|
16080
16076
|
const click_handler = () => clearSearch();
|
|
16081
16077
|
const click_handler_1 = () => cancelSearch();
|
|
16082
16078
|
|
|
16083
|
-
function
|
|
16079
|
+
function div3_binding($$value) {
|
|
16084
16080
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16085
16081
|
customStylingContainer = $$value;
|
|
16086
16082
|
$$invalidate(8, customStylingContainer);
|
|
@@ -16226,7 +16222,7 @@
|
|
|
16226
16222
|
input_binding,
|
|
16227
16223
|
click_handler,
|
|
16228
16224
|
click_handler_1,
|
|
16229
|
-
|
|
16225
|
+
div3_binding
|
|
16230
16226
|
];
|
|
16231
16227
|
}
|
|
16232
16228
|
|