project-booster-vue 9.15.0 → 9.16.2
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 +1 -1
- package/src/components/configurations/list/PbConfigurationsList.vue +8 -0
- package/src/components/configurations/section/PbConfigurationsSection.vue +11 -0
- package/src/components/projects/project-hub/PbProjectHub.vue +2 -2
- package/src/components/scenario/scenarii/appointment-qualification-kitchen.json +2 -2
package/package.json
CHANGED
|
@@ -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,
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
"payload": {
|
|
1059
1059
|
"code": "PROJECT_UPDATED",
|
|
1060
1060
|
"viewModel": {
|
|
1061
|
-
"title": "
|
|
1061
|
+
"title": "À présent, trouvons un créneau ensemble !",
|
|
1062
1062
|
"icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/check_80.svg",
|
|
1063
1063
|
"description": [
|
|
1064
1064
|
{
|
|
@@ -1095,7 +1095,7 @@
|
|
|
1095
1095
|
"payload": {
|
|
1096
1096
|
"code": "__END__",
|
|
1097
1097
|
"viewModel": {
|
|
1098
|
-
"title": "
|
|
1098
|
+
"title": "À présent, trouvons un créneau ensemble !",
|
|
1099
1099
|
"icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/check_80.svg",
|
|
1100
1100
|
"description": [
|
|
1101
1101
|
{
|