geer-builder 1.2.938 → 1.2.940

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/GProductList.vue CHANGED
@@ -61,7 +61,7 @@
61
61
  </div>
62
62
  <template v-if="!show_only">
63
63
  <div v-if="field.gc_price>0" class="gc_price gc">{{ (public_settings && public_settings.gc_label) || 'GC' }} {{$_formatNumber(field.gc_price, { decimal: 2})}}</div>
64
- <div v-else class="gc_price gc">Not Purchasable by {{ (public_settings && public_settings.gc_label) || 'GC' }}</div>
64
+ <div v-else-if="!hide_gc_notice" class="gc_price gc">Not Purchasable by {{ (public_settings && public_settings.gc_label) || 'GC' }}</div>
65
65
  </template>
66
66
  <div class="add-cart" v-if="show_button">View Product</div>
67
67
  </div>
@@ -87,7 +87,7 @@
87
87
  {{field.merchant_details.pickup_address.city.name}}
88
88
  </div>
89
89
  </div>
90
- <div class="merchant-details" v-else>
90
+ <div class="merchant-details" v-else-if="!hide_address_notice">
91
91
  <div class="merchant-city">
92
92
  No Address Set
93
93
  </div>
@@ -147,7 +147,9 @@ export default {
147
147
  is_membership_only:Boolean,
148
148
  reseller_commission:Boolean,
149
149
  show_merchant_details:Boolean,
150
- view_maintenance_product:Boolean
150
+ view_maintenance_product:Boolean,
151
+ hide_gc_notice:Boolean,
152
+ hide_address_notice:Boolean
151
153
 
152
154
  },
153
155
  data: () =>
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <div class="g-profile unselectable" :style="mode == 'dialog' ? 'width: 500px;' : ''">
2
+ <div class="g-profile unselectable" :class="{ 'g-profile--heartzone': is_heartzone }" :style="mode == 'dialog' ? 'width: 500px;' : ''">
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="profile-pic-holder" v-if="!hide_picture">
6
+ <div class="profile-pic-holder" v-if="!hide_picture && !hide_profile_image">
7
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
8
  <div class="darkness"></div>
9
9
  <q-avatar class="avatar" size="100px">
@@ -97,7 +97,7 @@ import DB_SLOT from '../models/DB_SLOT';
97
97
  export default
98
98
  {
99
99
  mixins:[GlobalMixins],
100
- props: ['hide_name','disable_privilege_card','profile_details','hide_picture','prop_user_info', 'dialog','mode', 'create_slot','is_company_success', 'hide_banner', 'is_company_ultrapro', 'hide_membership', 'hide_rank', 'enable_expiration', 'hide_slot_owned'],
100
+ props: ['hide_name','disable_privilege_card','profile_details','hide_picture','prop_user_info', 'dialog','mode', 'create_slot','is_company_success', 'hide_banner', 'is_company_ultrapro', 'hide_membership', 'hide_rank', 'enable_expiration', 'hide_slot_owned', 'is_heartzone', 'hide_profile_image'],
101
101
  components: { GCard, GCodeVault,GPrivilegeCard },
102
102
  filters: { },
103
103
  data:() =>
@@ -280,5 +280,21 @@ export default
280
280
  }
281
281
  }
282
282
  }
283
+
284
+ &.g-profile--heartzone {
285
+ ::v-deep .g-card {
286
+ display: grid;
287
+ grid-template-columns: 1fr;
288
+ }
289
+ .pinfo {
290
+ grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
291
+ text-align: center;
292
+
293
+ .group {
294
+ display: flex;
295
+ flex-direction: column-reverse;
296
+ }
297
+ }
298
+ }
283
299
  }
284
300
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.938",
3
+ "version": "1.2.940",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {