geer-builder 1.2.593 → 1.2.596

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/GCompanyToken.vue CHANGED
@@ -11,7 +11,7 @@
11
11
  <div class="label">
12
12
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
13
13
  <q-icon class="q-mr-sm" name="fas fa-money-check" size="16px"></q-icon>
14
- <div>Use Token</div>
14
+ <div class="token-label">Redeem Reward Points</div>
15
15
  </q-btn>
16
16
  </div>
17
17
  </div>
@@ -19,7 +19,7 @@
19
19
  <div class="label">
20
20
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
21
21
  <q-icon class="q-mr-sm" name="fas fa-money-check" size="16px"></q-icon>
22
- <div>View Token History</div>
22
+ <div class="token-label">View Reward Points History</div>
23
23
  </q-btn>
24
24
  </div>
25
25
  </div>
@@ -3,19 +3,24 @@
3
3
  <g-card :mode="mode">
4
4
  <div @click="$emit('closePopup')" class="profile" v-if="!hide_banner">
5
5
  <div class="image">
6
- <div class="bg-image" :style="`background-image: url('${prop_user_info.hasOwnProperty('profile_picture') ? prop_user_info.profile_picture : default_profile_picture}')`"></div>
7
- <div class="darkness"></div>
8
- <q-avatar class="avatar" size="100px">
9
- <q-img :src="prop_user_info.hasOwnProperty('profile_picture') ? prop_user_info.profile_picture : default_profile_picture"></q-img>
10
-
11
- </q-avatar>
12
- <div class="details">
6
+ <div class="profile-pic-holder" v-if="!hide_picture">
7
+ <div class="bg-image" :style="`background-image: url('${prop_user_info.hasOwnProperty('profile_picture') ? prop_user_info.profile_picture : default_profile_picture}')`"></div>
8
+ <div class="darkness"></div>
9
+ <q-avatar class="avatar" size="100px">
10
+ <q-img :src="prop_user_info.hasOwnProperty('profile_picture') ? prop_user_info.profile_picture : default_profile_picture"></q-img>
11
+ </q-avatar>
12
+ </div>
13
+ <div class="profile-details" v-if="profile_details">
14
+ <div class="total-earning-label">Total Earnings</div>
15
+ <div class="total-earning">{{$_formatNumber(slot_info.total_earned, { decimal: 2 })}}</div>
16
+ </div>
17
+ <div class="details" v-if="hide_name">
13
18
  <div class="name">{{ prop_user_info.full_name }}</div>
14
19
  <div class="email">{{ prop_user_info.email }}</div>
15
20
  </div>
16
21
  </div>
17
22
  </div>
18
- <div @click="$emit('closePopup')" class="pinfo">
23
+ <div @click="$emit('closePopup')" class="pinfo" :style="hide_rank ? 'grid-template-columns: 1fr 1fr 1fr 1fr;' : ''">
19
24
  <div class="group">
20
25
  <div class="val">{{ prop_user_info.slot_owned }}</div>
21
26
  <div class="lab" v-if="is_company_ultrapro">Slot Count</div>
@@ -81,7 +86,7 @@ import DB_SLOT from '../models/DB_SLOT';
81
86
  export default
82
87
  {
83
88
  mixins:[GlobalMixins],
84
- props: ['prop_user_info', 'dialog','mode', 'create_slot','is_company_success', 'hide_banner', 'is_company_ultrapro', 'hide_membership', 'hide_rank'],
89
+ props: ['hide_name','profile_details','hide_picture','prop_user_info', 'dialog','mode', 'create_slot','is_company_success', 'hide_banner', 'is_company_ultrapro', 'hide_membership', 'hide_rank'],
85
90
  components: { GCard, GCodeVault },
86
91
  filters: { },
87
92
  data:() =>
@@ -133,7 +138,15 @@ export default
133
138
  grid-template-columns: 1fr 1fr;
134
139
  border-top: 1px solid #eee;
135
140
  }
136
-
141
+ .profile-details{
142
+ padding: 50px;
143
+ .total-earning-label{
144
+ font-size: 1rem;
145
+ }
146
+ .total-earning{
147
+ font-size: 2rem;
148
+ }
149
+ }
137
150
  .profile {
138
151
  text-align: center;
139
152
  position: relative;
@@ -5,20 +5,32 @@
5
5
  <q-space />
6
6
  <q-btn dense flat icon='close' v-close-popup><q-tooltip content-class='bg-white text-primary'>Close</q-tooltip></q-btn>
7
7
  </q-bar>
8
-
9
- <div class="plan" style="border-bottom: 1px dashed #eee;" v-for="(plan, i) in plan_list" :key="i">
10
- <div class="desc text-center q-pa-lg">
11
- <h6 style="margin:0 auto">Plan Name: {{plan.name}} </h6>
12
- <h6 style="margin:0 auto">Required Token: {{plan.token_required}} </h6>
13
- <h6 style="margin:0 auto">Lock-in Days: {{plan.total_days}} </h6>
14
- <h6 style="margin:0 auto">Days to earn: Every {{plan.days_to_earn}} days </h6>
15
- <h6 style="margin:0 auto">Amount to earned: {{ $_formatNumber(plan.earned_amount, { decimal: 2}) }} </h6>
16
- </div>
17
- <div class="button-holder text-center q-pa-md">
18
- <q-btn size="12px" @click="claimPlan(plan,i)" class="text-white bg-primary investment__actions-button q-pa-sm">
19
- <q-icon class="q-mr-sm" name="fas fa-chart-line" size="16px"></q-icon>
20
- <div>Claim</div>
21
- </q-btn>
8
+ <div class="plan-holder">
9
+ <div class="plan" style="border-bottom: 1px dashed #eee;" v-for="(plan, i) in plan_list" :key="i">
10
+ <div class="claim-grid desc text-center q-pa-lg">
11
+ <div class="label">Plan Name:</div>
12
+ <div class="value">{{plan.name}}</div>
13
+ <div class="label">Required Token:</div>
14
+ <div class="value">{{plan.token_required}}</div>
15
+ <div class="label">Lock-in Days:</div>
16
+ <div class="value">{{plan.total_days}}</div>
17
+ <div class="label">Days to earn:</div>
18
+ <div class="value">{{plan.days_to_earn}}</div>
19
+ <div class="label">Amount to earned:</div>
20
+ <div class="value">{{ $_formatNumber(plan.earned_amount, { decimal: 2}) }} </div>
21
+
22
+ <!-- <h6 style="margin:0 auto">Plan Name: {{plan.name}} </h6> -->
23
+ <!-- <h6 style="margin:0 auto">Required Token: {{plan.token_required}} </h6>
24
+ <h6 style="margin:0 auto">Lock-in Days: {{plan.total_days}} </h6>
25
+ <h6 style="margin:0 auto">Days to earn: Every {{plan.days_to_earn}} days </h6>
26
+ <h6 style="margin:0 auto">Amount to earned: {{ $_formatNumber(plan.earned_amount, { decimal: 2}) }} </h6> -->
27
+ </div>
28
+ <div class="button-holder text-center q-pa-md">
29
+ <q-btn size="12px" @click="claimPlan(plan,i)" class="claim-btn text-white bg-primary investment__actions-button q-pa-sm">
30
+ <q-icon class="q-mr-sm claim-icon" name="fas fa-chart-line" size="16px"></q-icon>
31
+ <div class="token-claim">Claim</div>
32
+ </q-btn>
33
+ </div>
22
34
  </div>
23
35
  </div>
24
36
  </q-card>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.593",
3
+ "version": "1.2.596",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {