edvoyui-component-library-test-flight 0.0.146 → 0.0.147
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
|
@@ -150,32 +150,32 @@
|
|
|
150
150
|
</template>
|
|
151
151
|
|
|
152
152
|
<template v-else-if="isSelectAll || isCheckbox" #list-header>
|
|
153
|
-
<div v-if="isCheckbox" class="flex flex-row items-center justify-between gap-
|
|
154
|
-
<h3 class="text-
|
|
155
|
-
|
|
153
|
+
<div v-if="isCheckbox && groupSelect" class="flex flex-row items-center justify-between gap-1 px-2 py-2 border-b border-gray-200 border-solid">
|
|
154
|
+
<h3 class="text-xs font-semibold text-black">
|
|
155
|
+
Options
|
|
156
156
|
</h3>
|
|
157
157
|
|
|
158
|
-
<div class="flex items-center gap-
|
|
158
|
+
<div class="flex items-center gap-px whitespace-nowrap">
|
|
159
159
|
<button
|
|
160
|
-
class="w-full
|
|
161
|
-
:class="[items?.length !== selected?.length ? 'text-gray-600 hover:
|
|
160
|
+
class="w-full p-1 font-medium transition duration-75 rounded text-xss text-start"
|
|
161
|
+
:class="[items?.length !== selected?.length ? 'text-gray-600 hover:bg-gray-50 hover:text-violet-600': 'pointer-events-none opacity-50 cursor-default text-gray-400']"
|
|
162
162
|
:disabled="items?.length === selected?.length"
|
|
163
163
|
@click.prevent="isCheckedAll"
|
|
164
164
|
>
|
|
165
165
|
Select All
|
|
166
166
|
</button>
|
|
167
167
|
<button
|
|
168
|
-
class="w-full
|
|
169
|
-
:class="[(selected?.length ?? 0) > 0 ? 'text-gray-600 hover:text-gray-
|
|
168
|
+
class="w-full p-1 font-medium transition duration-75 rounded text-xss text-start"
|
|
169
|
+
:class="[(selected?.length ?? 0) > 0 ? 'text-gray-600 hover:text-red-600 hover:bg-gray-50': 'pointer-events-none opacity-50 cursor-default text-gray-400']"
|
|
170
170
|
:disabled="(selected?.length ?? 0) === 0"
|
|
171
171
|
@click.prevent="clearAll"
|
|
172
172
|
>
|
|
173
|
-
Clear
|
|
173
|
+
Clear All
|
|
174
174
|
</button>
|
|
175
175
|
</div>
|
|
176
176
|
</div>
|
|
177
177
|
|
|
178
|
-
<template v-else>
|
|
178
|
+
<template v-else-if="isSelectAll">
|
|
179
179
|
<button
|
|
180
180
|
v-if="items.length !== selected?.length"
|
|
181
181
|
class="w-full px-6 py-2 text-sm font-medium text-gray-600 transition duration-75 hover:font-bold hover:text-gray-900 text-start"
|
|
@@ -401,6 +401,7 @@ const props = defineProps({
|
|
|
401
401
|
type: Boolean,
|
|
402
402
|
default: false,
|
|
403
403
|
},
|
|
404
|
+
groupSelect: { type: Boolean, default: false }
|
|
404
405
|
});
|
|
405
406
|
|
|
406
407
|
const {
|