@itfin/components 1.4.24 → 1.4.26
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
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
:field="field"
|
|
16
16
|
:editable="editable"
|
|
17
17
|
:lock-fields="lockFields"
|
|
18
|
+
:full-name="fullName"
|
|
18
19
|
:value="value[field.Id]"
|
|
19
20
|
@input="$emit('input', { ...value, [field.Id]: $event })"
|
|
20
21
|
@delete="onDelete(field)"
|
|
@@ -104,6 +105,7 @@ class itfPropertiesList extends Vue {
|
|
|
104
105
|
@Prop({ type: Boolean, default: false }) loading;
|
|
105
106
|
@Prop({ type: Boolean, default: false }) editable;
|
|
106
107
|
@Prop({ type: Boolean, default: false }) lockFields;
|
|
108
|
+
@Prop({ type: Boolean, default: false }) fullName;
|
|
107
109
|
|
|
108
110
|
isShowAll = false;
|
|
109
111
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="d-flex align-items-center">
|
|
13
13
|
<!-- <itf-icon :name="field.Icon" :size="16" class="me-1" />-->
|
|
14
14
|
|
|
15
|
-
<div
|
|
15
|
+
<div :class="`b-properties-list__title-text-${fullName ? 'full' : 'short'}`" v-text="field.Name" />
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
<properties-edit-menu
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
&__name {
|
|
99
99
|
display: flex;
|
|
100
100
|
align-items: center;
|
|
101
|
-
height: 34px;
|
|
101
|
+
min-height: 34px;
|
|
102
102
|
width: 250px;
|
|
103
103
|
flex: 0 0 auto;
|
|
104
104
|
}
|
|
@@ -119,6 +119,15 @@
|
|
|
119
119
|
background-color: rgba(55, 53, 47, 0.08);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
+
&__title-text-short {
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
}
|
|
127
|
+
&__title-text-full {
|
|
128
|
+
white-space: normal;
|
|
129
|
+
word-break: break-word;
|
|
130
|
+
}
|
|
122
131
|
}
|
|
123
132
|
</style>
|
|
124
133
|
<script>
|
|
@@ -154,6 +163,7 @@ class itfPropertyItem extends Vue {
|
|
|
154
163
|
@Prop({ type: Boolean, default: false }) loading;
|
|
155
164
|
@Prop({ type: Boolean, default: false }) editable;
|
|
156
165
|
@Prop({ type: Boolean, default: false }) lockFields;
|
|
166
|
+
@Prop({ type: Boolean, default: false }) fullName;
|
|
157
167
|
|
|
158
168
|
isEditMode = false;
|
|
159
169
|
focusId = null;
|