@hostlink/nuxt-light 1.23.3 → 1.23.5
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/dist/module.json
CHANGED
|
@@ -35,7 +35,7 @@ const attrs = computed(() => {
|
|
|
35
35
|
</script>
|
|
36
36
|
<template>
|
|
37
37
|
<q-file v-model="value" :label="context.label" v-bind="attrs" :error="error" :error-message="errorMessage"
|
|
38
|
-
@blur="onBlur" hide-bottom-space>
|
|
38
|
+
@blur="onBlur" hide-bottom-space :color="$light.color">
|
|
39
39
|
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
40
40
|
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
41
41
|
</template>
|
|
@@ -76,7 +76,7 @@ const cursor = ref('cursor-grab');
|
|
|
76
76
|
<template>
|
|
77
77
|
<FormKit type="list" v-model="localValue" dynamic #default="{ items, node }" :name="node.name">
|
|
78
78
|
<q-list bordered separator ref="parent">
|
|
79
|
-
<FormKit type="group" v-for="(item, index) in items" :index="index" :key="item">
|
|
79
|
+
<FormKit type="group" v-for="(item, index) in items" :index="index" :key="item" #default="{ node }">
|
|
80
80
|
<q-item class="q-pa-xs">
|
|
81
81
|
<q-item-section avatar class="">
|
|
82
82
|
<div class="l-repeater-handle" v-if="sortable" :class="cursor" @mousedown="cursor = 'cursor-grabbing'"
|
|
@@ -94,7 +94,7 @@ const cursor = ref('cursor-grab');
|
|
|
94
94
|
<q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" :color="$light.color"
|
|
95
95
|
dense flat :disable="!isAllowMoveUp(index)" />
|
|
96
96
|
|
|
97
|
-
<q-btn type="button" @click="onRemove" icon="sym_o_delete" :color="$light.color" dense
|
|
97
|
+
<q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" :color="$light.color" dense
|
|
98
98
|
:disable="!isAllowRemove" flat />
|
|
99
99
|
<!-- down -->
|
|
100
100
|
<q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward"
|