@cloudron/pankow 3.6.1 → 3.6.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.
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
:fallbackIcon="fallbackIcon"
|
|
48
48
|
:item="item"
|
|
49
49
|
:show-owner="showOwner"
|
|
50
|
-
:show-share="showShare"
|
|
51
50
|
:show-extract="showExtract"
|
|
52
51
|
:show-size="showSize"
|
|
53
52
|
:show-star="showStar"
|
|
54
53
|
:show-modified="showModified"
|
|
55
54
|
:rename-handler="renameHandler"
|
|
55
|
+
:share-indicator-property="shareIndicatorProperty"
|
|
56
56
|
:select-handler="onSelectAndFocus"
|
|
57
57
|
:drop-handler="onDrop"
|
|
58
58
|
:can-drop-handler="onCanDropHandler"
|
|
@@ -145,14 +145,18 @@ export default {
|
|
|
145
145
|
default: true
|
|
146
146
|
},
|
|
147
147
|
showShare: {
|
|
148
|
-
|
|
149
|
-
type: [ Boolean, String ],
|
|
148
|
+
type: Boolean,
|
|
150
149
|
default: false
|
|
151
150
|
},
|
|
152
151
|
showModified: {
|
|
153
152
|
type: Boolean,
|
|
154
153
|
default: false
|
|
155
154
|
},
|
|
155
|
+
shareIndicatorProperty: {
|
|
156
|
+
// the name of the property for existing share indicator
|
|
157
|
+
type: String,
|
|
158
|
+
default: '',
|
|
159
|
+
},
|
|
156
160
|
editable: {
|
|
157
161
|
type: Boolean,
|
|
158
162
|
default: true
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
<div v-if="visible" class="col icon">
|
|
15
15
|
<img :src="item.previewUrl || item.icon" ref="iconImage" @error="iconError($event)"/>
|
|
16
|
-
<i v-show="
|
|
16
|
+
<i v-show="shareIndicatorProperty !== '' && !!item[shareIndicatorProperty]" class="fa-solid fa-share-nodes is-shared"></i>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div v-if="visible && !rename" class="col label">
|
|
@@ -68,11 +68,6 @@ export default {
|
|
|
68
68
|
type: Boolean,
|
|
69
69
|
default: false
|
|
70
70
|
},
|
|
71
|
-
showShare: {
|
|
72
|
-
// if String its the name of the property for existing share indicator
|
|
73
|
-
type: [ Boolean, String ],
|
|
74
|
-
default: false
|
|
75
|
-
},
|
|
76
71
|
showSize: {
|
|
77
72
|
type: Boolean,
|
|
78
73
|
default: false
|
|
@@ -85,6 +80,10 @@ export default {
|
|
|
85
80
|
type: Boolean,
|
|
86
81
|
default: false
|
|
87
82
|
},
|
|
83
|
+
shareIndicatorProperty: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: '',
|
|
86
|
+
},
|
|
88
87
|
fallbackIcon: String,
|
|
89
88
|
renameHandler: {
|
|
90
89
|
type: Function,
|
|
@@ -297,7 +296,6 @@ export default {
|
|
|
297
296
|
|
|
298
297
|
.star-icon {
|
|
299
298
|
color: #ffcb00;
|
|
300
|
-
padding: 10px;
|
|
301
299
|
visibility: hidden;
|
|
302
300
|
cursor: pointer;
|
|
303
301
|
}
|