@dataloop-ai/components 0.19.78 → 0.19.80
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
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
separate-close-popup
|
|
89
89
|
:disabled="disabled"
|
|
90
90
|
:max-height="maxHeight"
|
|
91
|
+
:max-width="menuMaxWidth"
|
|
91
92
|
@before-show="onBeforeShow"
|
|
92
93
|
@show="onShow"
|
|
93
94
|
@before-hide="onBeforeHide"
|
|
@@ -148,6 +149,7 @@
|
|
|
148
149
|
separate-close-popup
|
|
149
150
|
:disabled="disabled"
|
|
150
151
|
:max-height="maxHeight"
|
|
152
|
+
:max-width="menuMaxWidth"
|
|
151
153
|
:arrow-nav-items="arrowNavItems"
|
|
152
154
|
@before-show="onBeforeShow"
|
|
153
155
|
@show="onShow"
|
|
@@ -215,6 +217,7 @@ export default defineComponent({
|
|
|
215
217
|
default: 'top end'
|
|
216
218
|
},
|
|
217
219
|
menuOffset: { type: Array, default: () => [0, 0] },
|
|
220
|
+
menuMaxWidth: { type: String, default: null },
|
|
218
221
|
disableMainButton: Boolean,
|
|
219
222
|
disableDropdown: Boolean,
|
|
220
223
|
noIconAnimation: Boolean,
|
|
@@ -286,7 +286,12 @@
|
|
|
286
286
|
:opt="option"
|
|
287
287
|
name="option"
|
|
288
288
|
>
|
|
289
|
-
<
|
|
289
|
+
<span
|
|
290
|
+
v-if="fitContent"
|
|
291
|
+
class="inner-option"
|
|
292
|
+
v-html="getOptionHtml(option)"
|
|
293
|
+
/>
|
|
294
|
+
<dl-ellipsis v-else>
|
|
290
295
|
<span
|
|
291
296
|
class="inner-option"
|
|
292
297
|
v-html="getOptionHtml(option)"
|
|
@@ -927,7 +927,7 @@ export default defineComponent({
|
|
|
927
927
|
const draggable = ref('both')
|
|
928
928
|
const tableColumns = ref(columns)
|
|
929
929
|
const tableColumnsAligned = ref(columnsAligned)
|
|
930
|
-
const rowsPerPageOptions = ref([10, 12, 14, 16])
|
|
930
|
+
const rowsPerPageOptions = ref([5, 10, 12, 14, 16, 100])
|
|
931
931
|
|
|
932
932
|
const infiniteLoading = ref(false)
|
|
933
933
|
|