@polymarbot/nuxt-layer-shadcn-ui 0.7.1 → 0.7.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.
|
@@ -141,6 +141,7 @@ watch(() => props.filters, (newVal, oldVal) => {
|
|
|
141
141
|
// -- Expose --
|
|
142
142
|
|
|
143
143
|
defineExpose({
|
|
144
|
+
data: internalData,
|
|
144
145
|
refresh,
|
|
145
146
|
loadMore,
|
|
146
147
|
scrollToTop,
|
|
@@ -207,22 +208,22 @@ onMounted(() => {
|
|
|
207
208
|
<slot name="footer">
|
|
208
209
|
<div class="gap-2 text-xs flex items-center justify-between">
|
|
209
210
|
<div class="gap-2 flex items-center">
|
|
210
|
-
<Tooltip :text="T('
|
|
211
|
+
<Tooltip :text="T('refresh')">
|
|
211
212
|
<Button
|
|
212
213
|
variant="ghost"
|
|
213
214
|
size="icon-sm"
|
|
214
|
-
icon="
|
|
215
|
-
:disabled="loading
|
|
216
|
-
@click="
|
|
215
|
+
icon="rotate-cw"
|
|
216
|
+
:disabled="loading"
|
|
217
|
+
@click="refresh"
|
|
217
218
|
/>
|
|
218
219
|
</Tooltip>
|
|
219
|
-
<Tooltip :text="T('
|
|
220
|
+
<Tooltip :text="T('scrollToTop')">
|
|
220
221
|
<Button
|
|
221
222
|
variant="ghost"
|
|
222
223
|
size="icon-sm"
|
|
223
|
-
icon="
|
|
224
|
-
:disabled="loading"
|
|
225
|
-
@click="
|
|
224
|
+
icon="arrow-up-to-line"
|
|
225
|
+
:disabled="loading || internalData.length === 0"
|
|
226
|
+
@click="scrollToTop"
|
|
226
227
|
/>
|
|
227
228
|
</Tooltip>
|
|
228
229
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polymarbot/nuxt-layer-shadcn-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Nuxt layer providing shadcn-vue based UI components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./nuxt.config.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"vue-i18n": "^11",
|
|
43
43
|
"vue-router": "^4 || ^5"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "1cf78baf22c9e3479a08b872135040bc3d9a94d5"
|
|
46
46
|
}
|