project-booster-vue 9.15.0 → 9.16.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.15.0",
3
+ "version": "9.16.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -34,6 +34,7 @@
34
34
  class="pb-configurations-list__card"
35
35
  :flag-label="configuration.type"
36
36
  :hero="configuration.label"
37
+ :flattened="readOnly"
37
38
  :title="
38
39
  configuration.prices && configuration.prices['20.0'] !== undefined
39
40
  ? `${configuration.prices['20.0']}€`
@@ -126,6 +127,13 @@ export default defineComponent({
126
127
  type: String,
127
128
  default: '1of3',
128
129
  },
130
+ /**
131
+ * Indicates whether the UI is read only (Collaborators mode)
132
+ */
133
+ readOnly: {
134
+ type: Boolean,
135
+ default: false,
136
+ },
129
137
  },
130
138
 
131
139
  data: () => ({
@@ -17,6 +17,7 @@
17
17
  :configurations="configurations"
18
18
  :is-loading-configurations="isLoadingConfigurations"
19
19
  :show-load-more-button="hasStillConfigurations"
20
+ :readOnly="readOnly"
20
21
  @configuration-click="handleConfigurationClickEvent"
21
22
  @load-more="handleLoadMoreEvent"
22
23
  @refresh-configuration="handleRefreshConfigurationEvent"
@@ -74,6 +75,16 @@ export default defineComponent({
74
75
  PbConfigurationsList,
75
76
  },
76
77
 
78
+ props: {
79
+ /**
80
+ * Indicates whether the UI is read only (Collaborators mode)
81
+ */
82
+ readOnly: {
83
+ type: Boolean,
84
+ default: false,
85
+ },
86
+ },
87
+
77
88
  data: () => ({
78
89
  CONFIGURATION_ANIMATION_DURATION,
79
90
  }),
@@ -291,7 +291,7 @@
291
291
  </m-accordion>
292
292
  </div>
293
293
  <div class="pb-project-hub__section-content">
294
- <pb-configurations-section @configuration-click="handleConfigurationClickEvent" />
294
+ <pb-configurations-section @configuration-click="handleConfigurationClickEvent" :readOnly="readOnly" />
295
295
  </div>
296
296
  </m-flex>
297
297
  <m-flex
@@ -908,7 +908,7 @@ export default defineComponent({
908
908
  default: () => PROJECT_LOAD_PAYLOAD,
909
909
  },
910
910
  /**
911
- * Indicates whether the UI is read only
911
+ * Indicates whether the UI is read only (Collaborators mode)
912
912
  */
913
913
  readOnly: {
914
914
  type: Boolean,