Skip to content

Commit a5c39e3

Browse files
authored
chore: lib updates (#246)
* chore: lib updates * chore: update
1 parent a551de1 commit a5c39e3

21 files changed

Lines changed: 1074 additions & 1320 deletions

File tree

apps/atrium-telegram/app/app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ init({
4141
debug: isDev,
4242
eruda: isDev,
4343
mockForMacOS: false,
44-
}).then(() => {
45-
useBackButton()
4644
})
4745
46+
useBackButton()
47+
4848
// Fix system theme
4949
const isDark = computed(() => themeParams.isDark())
5050
const colorMode = useColorMode()

apps/atrium-telegram/app/components/KitchenCard.vue

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,7 @@
2323
{{ kitchen.address }}, {{ kitchen.city }}
2424
</div>
2525

26-
<!-- <div>
27-
<div v-if="agreement.concludedAt" class="w-full text-base/5 font-normal">
28-
Заключен: {{ format(new Date(agreement.concludedAt), 'd MMMM yyyy', { locale: ru }) }}
29-
</div>
30-
31-
<div v-if="agreement.willEndAt" class="w-full text-base/5 font-normal">
32-
Заканчивается: {{ format(new Date(agreement.willEndAt), 'd MMMM yyyy', { locale: ru }) }}
33-
</div>
34-
</div> -->
35-
36-
<div v-if="kitchen.description" class="w-full text-base/5 text-muted font-normal whitespace-pre-wrap break-words line-clamp-5">
26+
<div v-if="kitchen.description" class="w-full text-base/5 text-muted font-normal whitespace-pre-wrap wrap-break-word line-clamp-5">
3727
{{ kitchen.description }}
3828
</div>
3929
</Section>

apps/atrium-telegram/app/components/PartnerCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<ActiveCard class="h-full">
3-
<Section class="!p-0 h-full">
3+
<Section class="p-0! h-full">
44
<div class="relative">
55
<img
66
:src="partnerUser?.avatarUrl ?? undefined"
@@ -33,7 +33,7 @@
3333
size="md"
3434
color="neutral"
3535
:ui="{
36-
indicator: '!bg-error',
36+
indicator: 'bg-error!',
3737
base: 'bg-error/25',
3838
}"
3939
/>

apps/atrium-telegram/app/components/TaskInfoCard.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,23 @@
3434
{{ task.name }}
3535
</h3>
3636

37-
<div v-if="task.description" class="w-full text-base/5 font-normal whitespace-pre-wrap break-words line-clamp-8">
37+
<div
38+
v-if="task.description"
39+
class="w-full text-base/5 font-normal whitespace-pre-wrap wrap-break-word line-clamp-8"
40+
>
3841
{{ task.description }}
3942
</div>
4043

4144
<div v-if="task?.date" class="flex flex-row gap-2 items-center w-full">
4245
<UIcon name="i-lucide-calendar" class="shrink-0 size-5 text-primary" />
43-
<p class="text-base/5 font-semibold whitespace-pre-wrap break-words">
46+
<p class="text-base/5 font-semibold whitespace-pre-wrap wrap-break-word">
4447
{{ format(new Date(task.date), 'd MMMM yyyy', { locale: ru }) }}
4548
</p>
4649
</div>
4750

4851
<div v-if="task.report" class="flex flex-row gap-2 items-start w-full">
4952
<UIcon name="i-lucide-clipboard-pen" class="shrink-0 size-5 text-primary" />
50-
<p class="text-base/5 font-semibold whitespace-pre-wrap break-words line-clamp-12">
53+
<p class="text-base/5 font-semibold whitespace-pre-wrap wrap-break-word line-clamp-12">
5154
{{ task.report }}
5255
</p>
5356
</div>

apps/atrium-telegram/app/pages/agreement/[agreementId]/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</div>
4545
</div>
4646

47-
<div v-if="agreement?.comment" class="w-full text-sm/5 text-muted font-normal whitespace-pre-wrap break-words line-clamp-5">
47+
<div v-if="agreement?.comment" class="w-full text-sm/5 text-muted font-normal whitespace-pre-wrap wrap-break-word line-clamp-5">
4848
{{ agreement.comment }}
4949
</div>
5050
</Section>

apps/atrium-telegram/app/pages/agreement/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
size="xl"
1212
trailing-icon="i-lucide-arrow-down-wide-narrow"
1313
:ui="{
14-
base: '!ring-0',
14+
base: 'ring-0!',
1515
}"
1616
:items="[
1717
{ label: 'По дате заключения (убывание)', value: 'concludedAtDesc' },
@@ -27,7 +27,7 @@
2727
size="xl"
2828
trailing-icon="i-lucide-funnel"
2929
:ui="{
30-
base: '!ring-0',
30+
base: 'ring-0!',
3131
}"
3232
:items="[
3333
{ label: 'Все', value: 'all' },

apps/atrium-telegram/app/pages/partner/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="flex flex-row gap-2.5 items-center">
44
<SectionTitle title="Партнеры" />
55
<CounterBadge v-if="filteredPartners.length" :value="filteredPartners.length" />
6-
<CounterBadge v-if="totalBalance" :value="`${new Intl.NumberFormat().format(totalBalance)} ₽`" />
6+
<CounterBadge v-if="typeof totalBalance === 'number'" :value="`${new Intl.NumberFormat().format(totalBalance)} ₽`" />
77
</div>
88

99
<div class="grid grid-cols-1 gap-2.5 items-center">
@@ -13,7 +13,7 @@
1313
trailing-icon="i-lucide-search"
1414
placeholder="Найти..."
1515
:ui="{
16-
base: '!ring-0',
16+
base: 'ring-0!',
1717
}"
1818
class="motion-preset-slide-down"
1919
/>
@@ -23,7 +23,7 @@
2323
size="xl"
2424
trailing-icon="i-lucide-arrow-down-wide-narrow"
2525
:ui="{
26-
base: '!ring-0',
26+
base: 'ring-0!',
2727
}"
2828
:items="[
2929
{ label: 'По фамилии (возрастание)', value: 'nameAsc' },
@@ -38,7 +38,7 @@
3838
size="xl"
3939
trailing-icon="i-lucide-funnel"
4040
:ui="{
41-
base: '!ring-0',
41+
base: 'ring-0!',
4242
}"
4343
:items="[
4444
{ label: 'Все', value: 'all' },

apps/atrium-telegram/app/pages/task/[taskId]/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@
3232

3333
<SectionTitle :title="task?.name ?? ''" />
3434

35-
<div v-if="task?.description" class="w-full text-base/5 font-normal whitespace-pre-wrap break-words">
35+
<div v-if="task?.description" class="w-full text-base/5 font-normal whitespace-pre-wrap wrap-break-word">
3636
{{ task.description }}
3737
</div>
3838

3939
<div v-if="task?.report" class="flex flex-row gap-2 items-start w-full">
4040
<UIcon name="i-lucide-clipboard-pen" class="shrink-0 size-6 text-primary" />
41-
<p class="text-base/5 font-semibold whitespace-pre-wrap break-words">
41+
<p class="text-base/5 font-semibold whitespace-pre-wrap wrap-break-word">
4242
{{ task.report }}
4343
</p>
4444
</div>
4545

4646
<div v-if="task?.date" class="flex flex-row gap-2 items-center w-full">
4747
<UIcon name="i-lucide-calendar" class="shrink-0 size-6 text-primary" />
48-
<p class="text-base/5 font-semibold whitespace-pre-wrap break-words">
48+
<p class="text-base/5 font-semibold whitespace-pre-wrap wrap-break-word">
4949
{{ format(new Date(task.date), 'd MMMM yyyy', { locale: ru }) }}
5050
</p>
5151
</div>
5252

5353
<div v-if="taskList" class="flex flex-row gap-2 items-center w-full">
5454
<UIcon name="i-lucide-book-marked" class="shrink-0 size-6 text-primary" />
55-
<p class="text-base/5 font-semibold whitespace-pre-wrap break-words">
55+
<p class="text-base/5 font-semibold whitespace-pre-wrap wrap-break-word">
5656
{{ taskList.name }}
5757
</p>
5858
</div>

apps/atrium-telegram/app/pages/task/all.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
size="xl"
1212
trailing-icon="i-lucide-arrow-down-wide-narrow"
1313
:ui="{
14-
base: '!ring-0',
14+
base: 'ring-0!',
1515
}"
1616
:items="[
1717
{ label: 'По дате создания (убывание)', value: 'updatedAtDesc' },
@@ -25,7 +25,7 @@
2525
size="xl"
2626
trailing-icon="i-lucide-funnel"
2727
:ui="{
28-
base: '!ring-0',
28+
base: 'ring-0!',
2929
}"
3030
:items="[
3131
{ label: 'Все задачи', value: 'all' },
@@ -40,7 +40,7 @@
4040
:items="availablePerformers"
4141
size="xl"
4242
:ui="{
43-
base: '!ring-0',
43+
base: 'ring-0!',
4444
}"
4545
placeholder="Все исполнители"
4646
class="motion-preset-slide-up"

apps/storefront-telegram/app/app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ init({
4141
debug: isDev,
4242
eruda: isDev,
4343
mockForMacOS: false,
44-
}).then(() => {
45-
useBackButton()
4644
})
4745
46+
useBackButton()
47+
4848
// Fix system theme
4949
const isDark = computed(() => themeParams.isDark())
5050
const colorMode = useColorMode()

0 commit comments

Comments
 (0)