geer-builder 1.2.939 → 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.
@@ -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.939",
3
+ "version": "1.2.940",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {