@tak-ps/vue-tabler 3.65.0 → 3.66.0
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/CHANGELOG.md +4 -0
- package/components/None.vue +3 -1
- package/components/RefreshButton.vue +39 -0
- package/lib.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/components/None.vue
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton
|
|
3
|
+
:title='title'
|
|
4
|
+
>
|
|
5
|
+
<IconRefresh
|
|
6
|
+
v-if='!props.refreshing'
|
|
7
|
+
:size='32'
|
|
8
|
+
stroke='1'
|
|
9
|
+
/>
|
|
10
|
+
<div
|
|
11
|
+
v-else
|
|
12
|
+
style='{
|
|
13
|
+
height: 32px;
|
|
14
|
+
width: 32px;
|
|
15
|
+
}'
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
class='spinner-border text-secondary'
|
|
19
|
+
role='status'
|
|
20
|
+
/>
|
|
21
|
+
</div>
|
|
22
|
+
</IconButton>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script setup>
|
|
26
|
+
import { defineProps } from 'vue'
|
|
27
|
+
import IconButton from './IconButton.vue';
|
|
28
|
+
|
|
29
|
+
defineProps({
|
|
30
|
+
title: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: 'Refresh'
|
|
33
|
+
},
|
|
34
|
+
refreshing: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
</script>
|
package/lib.js
CHANGED
|
@@ -9,6 +9,7 @@ export { default as TablerInput } from './components/input/Input.vue'
|
|
|
9
9
|
export { default as TablerEnum } from './components/input/Enum.vue';
|
|
10
10
|
|
|
11
11
|
export { default as TablerButton } from './components/Button.vue'
|
|
12
|
+
export { default as TablerRefreshButton } from './components/RefreshButton.vue'
|
|
12
13
|
export { default as TablerIconButton } from './components/IconButton.vue'
|
|
13
14
|
export { default as TablerDropdown } from './components/Dropdown.vue'
|
|
14
15
|
export { default as TablerPager } from './components/Pager.vue'
|