@everymatrix/player-bonus-history 0.0.168 → 0.0.172

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.
@@ -10913,35 +10913,35 @@
10913
10913
  attr_dev(h2, "class", "BonusesTitle " + (/*isMobile*/ ctx[11] ? "BonusesTitleNone" : ""));
10914
10914
  add_location(h2, file, 95, 4, 3670);
10915
10915
  attr_dev(label0, "for", "BonusCalendarStartDate");
10916
- add_location(label0, file, 98, 8, 3940);
10916
+ add_location(label0, file, 99, 8, 3941);
10917
10917
  set_custom_element_data(vaadin_date_picker0, "max", /*maxDate*/ ctx[2]);
10918
10918
  set_custom_element_data(vaadin_date_picker0, "value", /*lastMonth*/ ctx[3]);
10919
10919
  set_custom_element_data(vaadin_date_picker0, "placeholder", "From");
10920
- add_location(vaadin_date_picker0, file, 99, 8, 3998);
10920
+ add_location(vaadin_date_picker0, file, 100, 8, 3999);
10921
10921
  attr_dev(div0, "class", "BonusesCalendarStartDate " + (/*isMobile*/ ctx[11] ? "BonusesCalendarMobile" : ""));
10922
- add_location(div0, file, 97, 6, 3851);
10922
+ add_location(div0, file, 98, 6, 3852);
10923
10923
  attr_dev(label1, "for", "BonusesCalendarEndDate");
10924
- add_location(label1, file, 102, 8, 4223);
10924
+ add_location(label1, file, 103, 8, 4224);
10925
10925
  set_custom_element_data(vaadin_date_picker1, "max", /*maxDate*/ ctx[2]);
10926
10926
  set_custom_element_data(vaadin_date_picker1, "value", /*maxDate*/ ctx[2]);
10927
10927
  set_custom_element_data(vaadin_date_picker1, "placeholder", "To");
10928
- add_location(vaadin_date_picker1, file, 103, 8, 4279);
10928
+ add_location(vaadin_date_picker1, file, 104, 8, 4280);
10929
10929
  attr_dev(div1, "class", "BonusesCalendarEndDate " + (/*isMobile*/ ctx[11] ? "BonusesCalendarMobile" : ""));
10930
- add_location(div1, file, 101, 6, 4136);
10930
+ add_location(div1, file, 102, 6, 4137);
10931
10931
 
10932
10932
  attr_dev(button, "class", "BonusesCalendarFilter " + (/*isMobile*/ ctx[11]
10933
10933
  ? "BonusesCalendarFilterMobile"
10934
10934
  : ""));
10935
10935
 
10936
- add_location(button, file, 105, 6, 4411);
10936
+ add_location(button, file, 106, 6, 4412);
10937
10937
 
10938
10938
  attr_dev(div2, "class", "BonusesCalendarContainer " + (/*isMobile*/ ctx[11]
10939
10939
  ? "BonusesCalendarContainerMobile"
10940
10940
  : ""));
10941
10941
 
10942
- add_location(div2, file, 96, 4, 3755);
10942
+ add_location(div2, file, 97, 4, 3756);
10943
10943
  attr_dev(div3, "class", "BonusesGrid " + (/*isMobile*/ ctx[11] ? "BonusesGridMobile" : ""));
10944
- add_location(div3, file, 107, 4, 4559);
10944
+ add_location(div3, file, 108, 4, 4560);
10945
10945
  attr_dev(div4, "class", "BonusesWrapper " + (/*isMobile*/ ctx[11] ? "BonusesWrapperMobile" : ""));
10946
10946
  add_location(div4, file, 84, 2, 3027);
10947
10947
  },
@@ -11159,7 +11159,7 @@
11159
11159
  return block;
11160
11160
  }
11161
11161
 
11162
- // (111:6) {:else}
11162
+ // (112:6) {:else}
11163
11163
  function create_else_block_1(ctx) {
11164
11164
  let each_1_anchor;
11165
11165
  let each_value_1 = /*bonusesList*/ ctx[9];
@@ -11220,14 +11220,14 @@
11220
11220
  block,
11221
11221
  id: create_else_block_1.name,
11222
11222
  type: "else",
11223
- source: "(111:6) {:else}",
11223
+ source: "(112:6) {:else}",
11224
11224
  ctx
11225
11225
  });
11226
11226
 
11227
11227
  return block;
11228
11228
  }
11229
11229
 
11230
- // (109:6) {#if bonusesList.length === 0}
11230
+ // (110:6) {#if bonusesList.length === 0}
11231
11231
  function create_if_block_2(ctx) {
11232
11232
  let p;
11233
11233
 
@@ -11235,7 +11235,7 @@
11235
11235
  c: function create() {
11236
11236
  p = element("p");
11237
11237
  p.textContent = "You have no bonuses at the moment.";
11238
- add_location(p, file, 109, 8, 4668);
11238
+ add_location(p, file, 110, 8, 4669);
11239
11239
  },
11240
11240
  m: function mount(target, anchor) {
11241
11241
  insert_dev(target, p, anchor);
@@ -11250,14 +11250,14 @@
11250
11250
  block,
11251
11251
  id: create_if_block_2.name,
11252
11252
  type: "if",
11253
- source: "(109:6) {#if bonusesList.length === 0}",
11253
+ source: "(110:6) {#if bonusesList.length === 0}",
11254
11254
  ctx
11255
11255
  });
11256
11256
 
11257
11257
  return block;
11258
11258
  }
11259
11259
 
11260
- // (122:10) {:else}
11260
+ // (123:10) {:else}
11261
11261
  function create_else_block_2(ctx) {
11262
11262
  let player_bonus_card;
11263
11263
  let player_bonus_card_bonuswalletid_value;
@@ -11282,7 +11282,7 @@
11282
11282
  set_custom_element_data(player_bonus_card, "bonuswageringamount", player_bonus_card_bonuswageringamount_value = /*bonus*/ ctx[36].totalWR);
11283
11283
  set_custom_element_data(player_bonus_card, "bonusremainingamount", player_bonus_card_bonusremainingamount_value = /*bonus*/ ctx[36].currentAmount);
11284
11284
  set_custom_element_data(player_bonus_card, "bonuscurrency", player_bonus_card_bonuscurrency_value = /*bonus*/ ctx[36].currency);
11285
- add_location(player_bonus_card, file, 122, 12, 5144);
11285
+ add_location(player_bonus_card, file, 123, 12, 5145);
11286
11286
  },
11287
11287
  m: function mount(target, anchor) {
11288
11288
  insert_dev(target, player_bonus_card, anchor);
@@ -11333,14 +11333,14 @@
11333
11333
  block,
11334
11334
  id: create_else_block_2.name,
11335
11335
  type: "else",
11336
- source: "(122:10) {:else}",
11336
+ source: "(123:10) {:else}",
11337
11337
  ctx
11338
11338
  });
11339
11339
 
11340
11340
  return block;
11341
11341
  }
11342
11342
 
11343
- // (113:10) {#if bonus.type === 'freeRound'}
11343
+ // (114:10) {#if bonus.type === 'freeRound'}
11344
11344
  function create_if_block_3(ctx) {
11345
11345
  let player_bonus_card;
11346
11346
  let player_bonus_card_bonuswalletid_value;
@@ -11359,7 +11359,7 @@
11359
11359
  set_custom_element_data(player_bonus_card, "bonusname", player_bonus_card_bonusname_value = /*bonus*/ ctx[36].name);
11360
11360
  set_custom_element_data(player_bonus_card, "bonustype", player_bonus_card_bonustype_value = /*bonus*/ ctx[36].type);
11361
11361
  set_custom_element_data(player_bonus_card, "bonuscurrency", player_bonus_card_bonuscurrency_value = /*bonus*/ ctx[36].currency);
11362
- add_location(player_bonus_card, file, 113, 12, 4816);
11362
+ add_location(player_bonus_card, file, 114, 12, 4817);
11363
11363
  },
11364
11364
  m: function mount(target, anchor) {
11365
11365
  insert_dev(target, player_bonus_card, anchor);
@@ -11398,14 +11398,14 @@
11398
11398
  block,
11399
11399
  id: create_if_block_3.name,
11400
11400
  type: "if",
11401
- source: "(113:10) {#if bonus.type === 'freeRound'}",
11401
+ source: "(114:10) {#if bonus.type === 'freeRound'}",
11402
11402
  ctx
11403
11403
  });
11404
11404
 
11405
11405
  return block;
11406
11406
  }
11407
11407
 
11408
- // (112:8) {#each bonusesList as bonus}
11408
+ // (113:8) {#each bonusesList as bonus}
11409
11409
  function create_each_block_1(ctx) {
11410
11410
  let if_block_anchor;
11411
11411
 
@@ -11449,14 +11449,14 @@
11449
11449
  block,
11450
11450
  id: create_each_block_1.name,
11451
11451
  type: "each",
11452
- source: "(112:8) {#each bonusesList as bonus}",
11452
+ source: "(113:8) {#each bonusesList as bonus}",
11453
11453
  ctx
11454
11454
  });
11455
11455
 
11456
11456
  return block;
11457
11457
  }
11458
11458
 
11459
- // (138:4) {#if bonusesList.length !== 0}
11459
+ // (139:4) {#if bonusesList.length !== 0}
11460
11460
  function create_if_block_1(ctx) {
11461
11461
  let div;
11462
11462
  let span0;
@@ -11506,27 +11506,27 @@
11506
11506
  span3 = element("span");
11507
11507
  t7 = text(">|");
11508
11508
  attr_dev(span0, "class", span0_class_value = "BonusesFirst " + (/*currentPage*/ ctx[8] === 0 ? "Inactive" : ""));
11509
- add_location(span0, file, 139, 8, 5791);
11509
+ add_location(span0, file, 140, 8, 5792);
11510
11510
  attr_dev(span1, "class", span1_class_value = "BonusesPrev " + (/*currentPage*/ ctx[8] === 0 ? "Inactive" : ""));
11511
- add_location(span1, file, 140, 8, 5913);
11511
+ add_location(span1, file, 141, 8, 5914);
11512
11512
 
11513
11513
  attr_dev(span2, "class", span2_class_value = "BonusesNext " + (/*currentPage*/ ctx[8] === /*numberOfPages*/ ctx[7] - 1
11514
11514
  ? "Inactive"
11515
11515
  : ""));
11516
11516
 
11517
- add_location(span2, file, 144, 8, 6243);
11517
+ add_location(span2, file, 145, 8, 6244);
11518
11518
 
11519
11519
  attr_dev(span3, "class", span3_class_value = "BonusesLast " + (/*currentPage*/ ctx[8] === /*numberOfPages*/ ctx[7] - 1
11520
11520
  ? "Inactive"
11521
11521
  : ""));
11522
11522
 
11523
- add_location(span3, file, 145, 8, 6390);
11523
+ add_location(span3, file, 146, 8, 6391);
11524
11524
 
11525
11525
  attr_dev(div, "class", "BonusesPaginationWrapper " + (/*isMobile*/ ctx[11]
11526
11526
  ? "BonusesPaginationWrapperMobile"
11527
11527
  : ""));
11528
11528
 
11529
- add_location(div, file, 138, 6, 5693);
11529
+ add_location(div, file, 139, 6, 5694);
11530
11530
  },
11531
11531
  m: function mount(target, anchor) {
11532
11532
  insert_dev(target, div, anchor);
@@ -11616,14 +11616,14 @@
11616
11616
  block,
11617
11617
  id: create_if_block_1.name,
11618
11618
  type: "if",
11619
- source: "(138:4) {#if bonusesList.length !== 0}",
11619
+ source: "(139:4) {#if bonusesList.length !== 0}",
11620
11620
  ctx
11621
11621
  });
11622
11622
 
11623
11623
  return block;
11624
11624
  }
11625
11625
 
11626
- // (142:8) {#each Array(numberOfPages) as _, i}
11626
+ // (143:8) {#each Array(numberOfPages) as _, i}
11627
11627
  function create_each_block(ctx) {
11628
11628
  let span;
11629
11629
  let t_value = /*i*/ ctx[35] + 1 + "";
@@ -11645,7 +11645,7 @@
11645
11645
  ? "BonusPageActive"
11646
11646
  : ""));
11647
11647
 
11648
- add_location(span, file, 142, 10, 6089);
11648
+ add_location(span, file, 143, 10, 6090);
11649
11649
  },
11650
11650
  m: function mount(target, anchor) {
11651
11651
  insert_dev(target, span, anchor);
@@ -11676,7 +11676,7 @@
11676
11676
  block,
11677
11677
  id: create_each_block.name,
11678
11678
  type: "each",
11679
- source: "(142:8) {#each Array(numberOfPages) as _, i}",
11679
+ source: "(143:8) {#each Array(numberOfPages) as _, i}",
11680
11680
  ctx
11681
11681
  });
11682
11682
 
@@ -11951,7 +11951,7 @@
11951
11951
  class PlayerBonusHistory extends SvelteElement {
11952
11952
  constructor(options) {
11953
11953
  super();
11954
- this.shadowRoot.innerHTML = `<style>.BonusesWrapper{color:#07072A;padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:#D0046C}.BonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusesCalendarContainer{display:flex;gap:20px;padding-bottom:30px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:column}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:#58586B;display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:120px;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%}.BonusesCalendarFilter:active{background:#9e0352}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>`;
11954
+ this.shadowRoot.innerHTML = `<style>.BonusesWrapper{color:#07072A;padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.BonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusesCalendarContainer{display:flex;gap:20px;padding-bottom:30px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:column}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:#58586B;display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:120px;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%}.BonusesCalendarFilter:active{background:#9e0352}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>`;
11955
11955
 
11956
11956
  init(
11957
11957
  this,