geer-builder 1.2.823 → 1.2.825

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/GCaptcha.vue CHANGED
@@ -10,16 +10,16 @@
10
10
  </div>
11
11
  <div class="actions">
12
12
  <div class="left">
13
- <q-btn @click="checkExchangeToday()" size="12px" class="full-width q-pa-sm text-primary" flat>
14
- <q-icon class="q-mr-sm" :name="display_data.exchange_icon" size="16px"></q-icon>
15
- {{display_data.exchange_label ? display_data.exchange_label : 'Exchange Points'}}
13
+ <q-btn @click="checkExchangeToday()" size="12px" class="full-width q-pa-sm text-primary exchange-points-button" flat>
14
+ <q-icon class="q-mr-sm " :name="display_data.exchange_icon" size="16px"></q-icon>
15
+ Exchange Points
16
16
 
17
17
  </q-btn>
18
18
  </div>
19
19
  <div class="right">
20
- <q-btn @click="is_captcha_dialog_open = true" size="12px" class="full-width q-pa-sm text-primary" flat>
20
+ <q-btn @click="is_captcha_dialog_open = true" size="12px" class="full-width q-pa-sm text-primary start-captcha-button" flat>
21
21
  <q-icon class="q-mr-sm" :name="display_data.start_icon" size="16px"></q-icon>
22
- {{display_data.start_label ? display_data.start_label : 'Start Captcha'}}
22
+ Start Captcha
23
23
  </q-btn>
24
24
  </div>
25
25
  </div>
package/GSlotWallet.vue CHANGED
@@ -229,7 +229,7 @@
229
229
  <gc-logs-dialog/>
230
230
  </q-dialog>
231
231
  <q-dialog v-model="is_wallet_logs_dialog_open" :maximized="true">
232
- <wallet-logs-dialog :is_teslab_wallet="is_teslab"/>
232
+ <wallet-logs-dialog :is_teslab_wallet="is_teslab" :is_company_adspro="is_company_adspro"/>
233
233
  </q-dialog>
234
234
 
235
235
  <q-dialog v-model="is_wallet_cd_pay_dialog_open" :maximized="true">
@@ -290,6 +290,7 @@ export default
290
290
  is_company_success: Boolean,
291
291
  is_company_qdy:Boolean,
292
292
  is_company_ultrapro:Boolean,
293
+ is_company_adspro:Boolean,
293
294
  show_points_history:Boolean,
294
295
  show_binary_history:Boolean,
295
296
  hide_reactivation:Boolean,
@@ -95,7 +95,7 @@ export default
95
95
  {
96
96
  filters: { },
97
97
  components: { },
98
- props:['hide_search', 'mbot', 'special_binary','is_teslab_wallet'],
98
+ props:['hide_search', 'mbot', 'special_binary','is_teslab_wallet','is_company_adspro'],
99
99
  data:() =>(
100
100
  {
101
101
  is_wallet_convert_open:false,
@@ -289,6 +289,44 @@ export default
289
289
  this.table_data.splice(i, 1);
290
290
  i--;
291
291
  }
292
+
293
+ if(this.is_company_adspro && this.table_data[i].type == 'indirect')
294
+ {
295
+ const input = this.table_data[i].message;
296
+
297
+ // Extract the important parts using a regular expression
298
+ const match = input.match(/slot <b>(.*?)<\/b> earned.*amounting to <b>(.*?)<\/b> from (.*)/);
299
+
300
+ if (match)
301
+ {
302
+ const slot = match[1]; // e.g., ADMELIXT99R-PH
303
+ const amount = match[2]; // e.g., USD 1.45
304
+ const description = match[3]; // e.g., registration of MEMADSEYYFR-PH on your 4th generation
305
+
306
+ console.log(match)
307
+ // Modify and construct the output string
308
+ const output = `You earned ${amount} (${slot}) IRB from <b>${description.replace('registration', 'the subscription')}</b>`; //`You earned ${amount} (${slot}) IRB from ${description.replace('registration', 'the subscription')}`;${amount} (${slot}) IRB from ${description.replace('registration', 'the subscription')}`;
309
+ this.table_data[i].message = output
310
+ }
311
+ }
312
+
313
+ if(this.is_company_adspro && this.table_data[i].type == 'direct')
314
+ {
315
+ const input = "Your slot ADMELIXT99R-PH earned direct referral amounting to PHP 200.00 from registration of MEMELIE3BXE-PH.";
316
+
317
+ // Extract the important parts using a regular expression
318
+ const match = input.match(/slot (\S+) earned.*amounting to (\S+ \S+).*from (.*)/);
319
+
320
+ if (match) {
321
+ const slot = match[1]; // e.g., ADMELIXT99R-PH
322
+ const amount = match[2]; // e.g., PHP 200.00
323
+ const description = match[3]; // e.g., registration of MEMELIE3BXE-PH
324
+
325
+ // Construct the output string
326
+ const output = `You earned ${amount} (${slot}) IRB from ${description.replace('registration', 'the subscription')}`;
327
+ this.table_data[i].message = output
328
+ }
329
+ }
292
330
  }
293
331
  this.table_loading = false;
294
332
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <q-card class="captcha-window">
3
3
  <q-card-section class="full-width text-white captcha-title-bar">
4
- <div class="captcha-title">Captcha Earnings</div>
4
+ <div class="captcha-title">AdsPro Captcha Summary</div>
5
5
 
6
6
  <q-space />
7
7
 
@@ -18,12 +18,12 @@
18
18
  <q-card-section v-if="!loading">
19
19
  <div class="summaries">
20
20
  <div class="summary" v-if="current_slot_info">
21
- <div class="summary-label"> Captcha Points Converted</div>
21
+ <div class="summary-label"> AdsPro CPoints Converted</div>
22
22
  <div class="summary-value">{{ $_formatNumber(current_slot_info.captcha_points, { decimal: 5 })
23
23
  }}</div>
24
24
  </div>
25
25
  <div class="summary">
26
- <div class="summary-label">My Earnings</div>
26
+ <div class="summary-label">Total Earnings</div>
27
27
  <div class="summary-value">{{ $_formatNumber(slot_points, { decimal: 5 }) }}</div>
28
28
  </div>
29
29
  </div>
@@ -44,13 +44,11 @@
44
44
  <input placeholder="Type the answer here" id="answer" type="text" dense v-model="answer"
45
45
  class="answer-input">
46
46
  <div class="answer-buttons">
47
- <q-btn :loading="loading" type="submit" class="full-width captcha-submit" unelevated>Submit
47
+ <q-btn :loading="loading" type="submit" class="full-width captcha-submit" unelevated>Send
48
48
  Answer</q-btn>
49
49
  <q-btn @click="convertCaptchaEarning()" class="q-mt-sm full-width captcha-convert"
50
50
  unelevated>
51
51
  Convert Earnings
52
- <br>
53
- (click to reflect earnings on captcha points dashboard)
54
52
  </q-btn>
55
53
  </div>
56
54
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.823",
3
+ "version": "1.2.825",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {