@saasmakers/ui 1.4.25 → 1.4.26
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.
|
@@ -44,24 +44,21 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
|
|
|
44
44
|
'w-full': size === 'base',
|
|
45
45
|
}"
|
|
46
46
|
>
|
|
47
|
-
<div
|
|
48
|
-
class="flex items-center"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
@click="onNavigate($event, 'previous')"
|
|
60
|
-
/>
|
|
47
|
+
<div class="grid grid-cols-[1fr_auto_1fr] items-center">
|
|
48
|
+
<div class="min-w-0 flex items-center">
|
|
49
|
+
<BaseIcon
|
|
50
|
+
v-if="navigable && !loading && !hidePrevious"
|
|
51
|
+
class="mr-2 shrink-0 hover:!no-underline"
|
|
52
|
+
clickable
|
|
53
|
+
:icon="getIcon('chevronLeft')"
|
|
54
|
+
size="xs"
|
|
55
|
+
:text="t('previous')"
|
|
56
|
+
:uppercase="false"
|
|
57
|
+
@click="onNavigate($event, 'previous')"
|
|
58
|
+
/>
|
|
61
59
|
|
|
62
|
-
<div class="min-w-0 flex flex-1 items-center">
|
|
63
60
|
<div
|
|
64
|
-
class="flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
61
|
+
class="min-w-0 flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
65
62
|
:class="{
|
|
66
63
|
'border-dashed': borderStyle === 'dashed',
|
|
67
64
|
'border-dotted': borderStyle === 'dotted',
|
|
@@ -69,16 +66,18 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
|
|
|
69
66
|
}"
|
|
70
67
|
style="height: 1px"
|
|
71
68
|
/>
|
|
69
|
+
</div>
|
|
72
70
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
<BaseText
|
|
72
|
+
v-if="loading || title"
|
|
73
|
+
class="shrink-0 px-4 text-center"
|
|
74
|
+
size="sm"
|
|
75
|
+
:text="loading ? t('loading') : title"
|
|
76
|
+
/>
|
|
79
77
|
|
|
78
|
+
<div class="min-w-0 flex items-center">
|
|
80
79
|
<div
|
|
81
|
-
class="flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
80
|
+
class="min-w-0 flex-1 border-t border-gray-300 dark:border-gray-700"
|
|
82
81
|
:class="{
|
|
83
82
|
'border-dashed': borderStyle === 'dashed',
|
|
84
83
|
'border-dotted': borderStyle === 'dotted',
|
|
@@ -86,19 +85,19 @@ function onNavigate(event: MouseEvent, direction: BaseDividerNavigateDirection)
|
|
|
86
85
|
}"
|
|
87
86
|
style="height: 1px"
|
|
88
87
|
/>
|
|
89
|
-
</div>
|
|
90
88
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
<BaseIcon
|
|
90
|
+
v-if="navigable && !loading && !hideNext"
|
|
91
|
+
class="ml-2 shrink-0 hover:!no-underline"
|
|
92
|
+
clickable
|
|
93
|
+
reverse
|
|
94
|
+
:icon="getIcon('chevronRight')"
|
|
95
|
+
size="xs"
|
|
96
|
+
:text="t('next')"
|
|
97
|
+
:uppercase="false"
|
|
98
|
+
@click="onNavigate($event, 'next')"
|
|
99
|
+
/>
|
|
100
|
+
</div>
|
|
102
101
|
</div>
|
|
103
102
|
</div>
|
|
104
103
|
</template>
|