@bildvitta/quasar-ui-asteroid 3.12.0-beta.1 → 3.12.0-beta.3
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
|
@@ -132,6 +132,10 @@ const props = defineProps({
|
|
|
132
132
|
selectListProps: {
|
|
133
133
|
type: Object,
|
|
134
134
|
default: () => ({})
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
useLazyLoading: {
|
|
138
|
+
type: Boolean
|
|
135
139
|
}
|
|
136
140
|
})
|
|
137
141
|
|
|
@@ -184,7 +188,9 @@ const labelProps = computed(() => {
|
|
|
184
188
|
}
|
|
185
189
|
})
|
|
186
190
|
|
|
187
|
-
const hasLazyLoading = computed(() =>
|
|
191
|
+
const hasLazyLoading = computed(() => {
|
|
192
|
+
return props.useLazyLoading || !!props.selectListProps?.searchBoxProps?.useLazyLoading
|
|
193
|
+
})
|
|
188
194
|
|
|
189
195
|
watch(() => props.modelValue, newValue => {
|
|
190
196
|
model.value = [...newValue]
|
|
@@ -322,6 +328,7 @@ function useSelectDialog () {
|
|
|
322
328
|
...props.selectListProps,
|
|
323
329
|
|
|
324
330
|
searchBoxProps: {
|
|
331
|
+
useLazyLoading: props.useLazyLoading,
|
|
325
332
|
list: props.options,
|
|
326
333
|
height: '160px',
|
|
327
334
|
optionsToExclude: model.value,
|
|
@@ -60,6 +60,11 @@ props:
|
|
|
60
60
|
default: []
|
|
61
61
|
type: Array
|
|
62
62
|
|
|
63
|
+
use-lazy-loading:
|
|
64
|
+
desc: O componente precisa saber se o lazy-loading esta habilitado para este componente, e caso esteja usando customização pelos slots do "dialog-description", é necessário informar por esta prop.
|
|
65
|
+
default: false
|
|
66
|
+
type: Boolean
|
|
67
|
+
|
|
63
68
|
slots:
|
|
64
69
|
dialog-actions:
|
|
65
70
|
desc: Slot para substituir ações do dialog.
|