pukaad-ui-lib 1.2.0 → 1.3.2
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/dist/module.json +1 -1
- package/dist/runtime/assets/json/social-icon.json +77 -77
- package/dist/runtime/assets/svg/bell-outline.svg +3 -3
- package/dist/runtime/assets/svg/bookmark-solid.svg +2 -2
- package/dist/runtime/assets/svg/box.svg +22 -22
- package/dist/runtime/assets/svg/camera-plus.svg +9 -9
- package/dist/runtime/assets/svg/clock-fading.svg +46 -46
- package/dist/runtime/assets/svg/coin.svg +20 -20
- package/dist/runtime/assets/svg/empty-document.svg +15 -15
- package/dist/runtime/assets/svg/memsg-circle.svg +7 -7
- package/dist/runtime/assets/svg/memsg-fade.svg +5 -5
- package/dist/runtime/assets/svg/memsg-logo-outline.svg +3 -3
- package/dist/runtime/assets/svg/memsg-square.svg +9 -9
- package/dist/runtime/assets/svg/message.svg +3 -3
- package/dist/runtime/assets/svg/page-not-found.svg +9 -9
- package/dist/runtime/assets/svg/share-from-square.svg +3 -3
- package/dist/runtime/assets/svg/share.svg +2 -2
- package/dist/runtime/assets/svg/shopping-cart.svg +16 -16
- package/dist/runtime/assets/svg/socials/Email.svg +12 -12
- package/dist/runtime/assets/svg/socials/{facebook.svg → Facebook.svg} +4 -4
- package/dist/runtime/assets/svg/socials/Line.svg +11 -11
- package/dist/runtime/assets/svg/socials/LinkedIn.svg +5 -5
- package/dist/runtime/assets/svg/socials/Pinterest.svg +4 -4
- package/dist/runtime/assets/svg/socials/SnapChat.svg +5 -5
- package/dist/runtime/assets/svg/socials/Threads.svg +12 -12
- package/dist/runtime/assets/svg/socials/Tiktok.svg +6 -6
- package/dist/runtime/assets/svg/socials/Tumblr.svg +4 -4
- package/dist/runtime/assets/svg/socials/Website.svg +11 -11
- package/dist/runtime/assets/svg/socials/Whatsapp.svg +5 -5
- package/dist/runtime/assets/svg/socials/X.svg +4 -4
- package/dist/runtime/assets/svg/socials/Youtube.svg +5 -5
- package/dist/runtime/assets/svg/socials/instagram.svg +14 -14
- package/dist/runtime/assets/svg/thumbs-up-regular.svg +9 -9
- package/dist/runtime/assets/svg/thumbs-up-solid.svg +2 -2
- package/dist/runtime/assets/svg/vector.svg +2 -2
- package/dist/runtime/assets/svg/verify.svg +10 -10
- package/dist/runtime/assets/svg/write-review.svg +15 -15
- package/dist/runtime/components/button.vue +8 -8
- package/dist/runtime/components/card/card-announce2.vue +102 -104
- package/dist/runtime/components/card/card-place-detail.vue +90 -90
- package/dist/runtime/components/card/card-profile-about.vue +50 -50
- package/dist/runtime/components/card/card-profile-header.vue +94 -94
- package/dist/runtime/components/card/card-reaction.vue +29 -29
- package/dist/runtime/components/card/card-recommend-blog.vue +49 -49
- package/dist/runtime/components/card/card-recommend-place.vue +50 -50
- package/dist/runtime/components/card/card-recommend-publisher.vue +51 -51
- package/dist/runtime/components/card/card-review.vue +74 -74
- package/dist/runtime/components/card/card-user-blog.vue +66 -66
- package/dist/runtime/components/card/card-user-item.vue +54 -54
- package/dist/runtime/components/card/card.vue +25 -25
- package/dist/runtime/components/carousel.vue +29 -29
- package/dist/runtime/components/chip.vue +12 -12
- package/dist/runtime/components/collapse/collapse-multiple.vue +38 -38
- package/dist/runtime/components/collapse/collapse.vue +23 -23
- package/dist/runtime/components/comment.vue +216 -216
- package/dist/runtime/components/dialog/dialog-2FA-generate.vue +58 -58
- package/dist/runtime/components/dialog/dialog-2FA.vue +20 -20
- package/dist/runtime/components/dialog/dialog-email-OTP.vue +26 -26
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue +25 -25
- package/dist/runtime/components/display/display-image-place.vue +4 -4
- package/dist/runtime/components/display/display-image-review.vue +16 -16
- package/dist/runtime/components/display/display-image.vue +49 -49
- package/dist/runtime/components/divider.vue +8 -8
- package/dist/runtime/components/draggable.vue +13 -13
- package/dist/runtime/components/drawer/drawer-notification.vue +286 -286
- package/dist/runtime/components/drawer/drawer-post-blog.vue +80 -80
- package/dist/runtime/components/drawer/drawer-profile-about.vue +38 -38
- package/dist/runtime/components/drawer/drawer.vue +16 -16
- package/dist/runtime/components/dropdown.vue +8 -8
- package/dist/runtime/components/filter/filter-list-chip.vue +15 -15
- package/dist/runtime/components/filter/filter-list.vue +17 -17
- package/dist/runtime/components/icons.vue +1 -1
- package/dist/runtime/components/image/image-cropper.vue +9 -9
- package/dist/runtime/components/image/image.vue +29 -29
- package/dist/runtime/components/input/input-OTP.vue +16 -16
- package/dist/runtime/components/input/input-address.vue +81 -81
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-autocomplete.vue +80 -80
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-checkbox.vue +103 -103
- package/dist/runtime/components/input/input-combobox.d.vue.ts +5 -1
- package/dist/runtime/components/input/input-combobox.vue +97 -81
- package/dist/runtime/components/input/input-combobox.vue.d.ts +5 -1
- package/dist/runtime/components/input/input-comment.vue +6 -6
- package/dist/runtime/components/input/input-content.vue +5 -5
- package/dist/runtime/components/input/input-date-opening.vue +175 -176
- package/dist/runtime/components/input/input-email.vue +8 -8
- package/dist/runtime/components/input/input-file.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-file.vue +76 -76
- package/dist/runtime/components/input/input-file.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-link.vue +39 -39
- package/dist/runtime/components/input/input-media.vue +36 -36
- package/dist/runtime/components/input/input-password.vue +40 -40
- package/dist/runtime/components/input/input-phone.vue +6 -6
- package/dist/runtime/components/input/input-radio.d.vue.ts +4 -4
- package/dist/runtime/components/input/input-radio.vue +87 -87
- package/dist/runtime/components/input/input-radio.vue.d.ts +4 -4
- package/dist/runtime/components/input/input-rating.vue +13 -13
- package/dist/runtime/components/input/input-recaptcha.vue +19 -19
- package/dist/runtime/components/input/input-search.vue +69 -69
- package/dist/runtime/components/input/input-select-tag.vue +51 -51
- package/dist/runtime/components/input/input-select.vue +42 -42
- package/dist/runtime/components/input/input-slider.vue +19 -19
- package/dist/runtime/components/input/input-switch.vue +25 -25
- package/dist/runtime/components/input/input-tag.vue +37 -37
- package/dist/runtime/components/input/input-text-field.vue +83 -83
- package/dist/runtime/components/input/input-textarea.vue +54 -54
- package/dist/runtime/components/label/label-announce-time.vue +9 -9
- package/dist/runtime/components/label/label-card-atom.vue +8 -8
- package/dist/runtime/components/list/list-menu.vue +13 -13
- package/dist/runtime/components/modal/modal-2FA-generate.vue +62 -62
- package/dist/runtime/components/modal/modal-2FA.vue +21 -21
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue +33 -33
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue +32 -32
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue +45 -45
- package/dist/runtime/components/modal/modal-account-disabled.vue +9 -9
- package/dist/runtime/components/modal/modal-email-OTP.vue +31 -31
- package/dist/runtime/components/modal/modal-password-new.vue +27 -27
- package/dist/runtime/components/modal/modal-password.vue +27 -27
- package/dist/runtime/components/modal/modal-personal-card-ID.vue +194 -194
- package/dist/runtime/components/modal/modal-phone-OTP.vue +38 -38
- package/dist/runtime/components/modal/modal-profile-edit.vue +165 -165
- package/dist/runtime/components/modal/modal-province-domain.vue +23 -23
- package/dist/runtime/components/modal/modal-report.vue +49 -49
- package/dist/runtime/components/modal/modal-review-detail.vue +118 -118
- package/dist/runtime/components/modal/modal-secure.vue +10 -10
- package/dist/runtime/components/modal/modal-share.vue +24 -24
- package/dist/runtime/components/modal/modal-user-account-list.vue +29 -29
- package/dist/runtime/components/modal/modal-user-account-search.vue +24 -24
- package/dist/runtime/components/modal/modal.vue +27 -27
- package/dist/runtime/components/pagination.vue +43 -43
- package/dist/runtime/components/picker/picker-image-cover-profile.vue +91 -91
- package/dist/runtime/components/picker/picker-image-profile.vue +82 -82
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +14 -14
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +27 -27
- package/dist/runtime/components/profile-cover.vue +80 -80
- package/dist/runtime/components/progress-bar.vue +9 -9
- package/dist/runtime/components/read-more-text.vue +1 -1
- package/dist/runtime/components/tab.vue +78 -78
- package/dist/runtime/components/table.d.vue.ts +6 -6
- package/dist/runtime/components/table.vue +82 -82
- package/dist/runtime/components/table.vue.d.ts +6 -6
- package/dist/runtime/components/tooltip.vue +19 -19
- package/dist/runtime/components/ui/alert/Alert.vue +7 -7
- package/dist/runtime/components/ui/alert/AlertDescription.vue +6 -6
- package/dist/runtime/components/ui/alert/AlertTitle.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +3 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +3 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +13 -13
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +7 -7
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +7 -7
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +3 -3
- package/dist/runtime/components/ui/avatar/Avatar.vue +6 -6
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +7 -7
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +7 -7
- package/dist/runtime/components/ui/button/Button.vue +8 -8
- package/dist/runtime/components/ui/card/Card.vue +8 -8
- package/dist/runtime/components/ui/card/CardAction.vue +6 -6
- package/dist/runtime/components/ui/card/CardContent.vue +6 -6
- package/dist/runtime/components/ui/card/CardDescription.vue +6 -6
- package/dist/runtime/components/ui/card/CardFooter.vue +6 -6
- package/dist/runtime/components/ui/card/CardHeader.vue +6 -6
- package/dist/runtime/components/ui/card/CardTitle.vue +6 -6
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +14 -14
- package/dist/runtime/components/ui/command/Command.vue +7 -7
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +1 -1
- package/dist/runtime/components/ui/command/CommandDialog.vue +11 -11
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +1 -1
- package/dist/runtime/components/ui/command/CommandEmpty.vue +10 -10
- package/dist/runtime/components/ui/command/CommandGroup.vue +12 -12
- package/dist/runtime/components/ui/command/CommandInput.vue +13 -13
- package/dist/runtime/components/ui/command/CommandItem.vue +11 -11
- package/dist/runtime/components/ui/command/CommandList.vue +9 -9
- package/dist/runtime/components/ui/command/CommandSeparator.vue +7 -7
- package/dist/runtime/components/ui/command/CommandShortcut.vue +6 -6
- package/dist/runtime/components/ui/dialog/Dialog.vue +3 -3
- package/dist/runtime/components/ui/dialog/DialogClose.vue +3 -3
- package/dist/runtime/components/ui/dialog/DialogContent.vue +21 -21
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +3 -3
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +6 -6
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +20 -20
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +12 -12
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +9 -9
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +9 -9
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +8 -8
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +16 -16
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +5 -5
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +7 -7
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +8 -8
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +6 -6
- package/dist/runtime/components/ui/form/FormControl.vue +8 -8
- package/dist/runtime/components/ui/form/FormDescription.vue +7 -7
- package/dist/runtime/components/ui/form/FormItem.vue +3 -3
- package/dist/runtime/components/ui/form/FormLabel.vue +8 -8
- package/dist/runtime/components/ui/form/FormMessage.vue +7 -7
- package/dist/runtime/components/ui/input/Input.vue +5 -5
- package/dist/runtime/components/ui/input-group/InputGroup.vue +7 -7
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +9 -9
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +7 -7
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +4 -4
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +5 -5
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +4 -4
- package/dist/runtime/components/ui/label/Label.vue +7 -7
- package/dist/runtime/components/ui/pagination/Pagination.vue +8 -8
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +8 -8
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +7 -7
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +10 -10
- package/dist/runtime/components/ui/pin-input/PinInput.vue +8 -8
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +7 -7
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +3 -3
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +5 -5
- package/dist/runtime/components/ui/popover/Popover.vue +7 -7
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +6 -6
- package/dist/runtime/components/ui/popover/PopoverContent.vue +5 -5
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +6 -6
- package/dist/runtime/components/ui/select/Select.vue +7 -7
- package/dist/runtime/components/ui/select/SelectContent.vue +10 -10
- package/dist/runtime/components/ui/select/SelectGroup.vue +6 -6
- package/dist/runtime/components/ui/select/SelectItem.vue +17 -17
- package/dist/runtime/components/ui/select/SelectItemText.vue +6 -6
- package/dist/runtime/components/ui/select/SelectLabel.vue +6 -6
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +6 -6
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +6 -6
- package/dist/runtime/components/ui/select/SelectSeparator.vue +5 -5
- package/dist/runtime/components/ui/select/SelectTrigger.vue +11 -11
- package/dist/runtime/components/ui/select/SelectValue.vue +6 -6
- package/dist/runtime/components/ui/sheet/Sheet.vue +3 -3
- package/dist/runtime/components/ui/sheet/SheetClose.vue +3 -3
- package/dist/runtime/components/ui/sheet/SheetContent.vue +20 -20
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +6 -6
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +6 -6
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +3 -3
- package/dist/runtime/components/ui/spinner/Spinner.vue +5 -5
- package/dist/runtime/components/ui/table/Table.vue +5 -5
- package/dist/runtime/components/ui/table/TableBody.vue +6 -6
- package/dist/runtime/components/ui/table/TableCaption.vue +6 -6
- package/dist/runtime/components/ui/table/TableCell.vue +6 -6
- package/dist/runtime/components/ui/table/TableEmpty.vue +10 -10
- package/dist/runtime/components/ui/table/TableFooter.vue +6 -6
- package/dist/runtime/components/ui/table/TableHead.vue +6 -6
- package/dist/runtime/components/ui/table/TableHeader.vue +6 -6
- package/dist/runtime/components/ui/table/TableRow.vue +6 -6
- package/dist/runtime/components/ui/tabs/Tabs.vue +8 -8
- package/dist/runtime/components/ui/tabs/TabsContent.vue +7 -7
- package/dist/runtime/components/ui/tabs/TabsList.vue +7 -7
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +7 -7
- package/dist/runtime/components/ui/textarea/Textarea.vue +5 -5
- package/dist/runtime/components/video.vue +2 -2
- package/package.json +2 -2
|
@@ -1,104 +1,104 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-if="!props.disabledHeader">
|
|
3
|
-
<div class="relative">
|
|
4
|
-
<button
|
|
5
|
-
v-if="!isTabScrollLeft"
|
|
2
|
+
<div v-if="!props.disabledHeader">
|
|
3
|
+
<div class="relative">
|
|
4
|
+
<button
|
|
5
|
+
v-if="!isTabScrollLeft"
|
|
6
6
|
:class="[
|
|
7
7
|
'absolute flex items-center justify-start left-0 top-1/2 transform -translate-y-1/2',
|
|
8
8
|
'bg-gradient-to-r from-white via-white to-transparent w-12 cursor-pointer',
|
|
9
9
|
buttonSize
|
|
10
|
-
]"
|
|
11
|
-
@click="onScrollLeft"
|
|
12
|
-
>
|
|
13
|
-
<Icon name="mdi:chevron-left" size="24" />
|
|
14
|
-
</button>
|
|
15
|
-
|
|
16
|
-
<div
|
|
17
|
-
ref="tabHeaderRef"
|
|
18
|
-
class="flex overflow-x-hidden"
|
|
10
|
+
]"
|
|
11
|
+
@click="onScrollLeft"
|
|
12
|
+
>
|
|
13
|
+
<Icon name="mdi:chevron-left" size="24" />
|
|
14
|
+
</button>
|
|
15
|
+
|
|
16
|
+
<div
|
|
17
|
+
ref="tabHeaderRef"
|
|
18
|
+
class="flex overflow-x-hidden"
|
|
19
19
|
:style="{
|
|
20
20
|
columnGap: `${props.tabButtonGap}px`
|
|
21
|
-
}"
|
|
22
|
-
>
|
|
23
|
-
<div v-for="(tab, i) in items" :key="i" @click="activeTab = tab.value">
|
|
24
|
-
<slot
|
|
25
|
-
:name="`tab-${tab.value}-label`"
|
|
26
|
-
:active="activeTab == tab.value"
|
|
27
|
-
:disabled="tab.disabled"
|
|
28
|
-
>
|
|
29
|
-
<button
|
|
21
|
+
}"
|
|
22
|
+
>
|
|
23
|
+
<div v-for="(tab, i) in items" :key="i" @click="activeTab = tab.value">
|
|
24
|
+
<slot
|
|
25
|
+
:name="`tab-${tab.value}-label`"
|
|
26
|
+
:active="activeTab == tab.value"
|
|
27
|
+
:disabled="tab.disabled"
|
|
28
|
+
>
|
|
29
|
+
<button
|
|
30
30
|
:class="[
|
|
31
31
|
'flex items-center justify-center font-body-large p-[16px] gap-[8px] text-nowrap',
|
|
32
32
|
'cursor-pointer disabled:cursor-not-allowed',
|
|
33
33
|
tab.disabled ? 'text-cloud' : 'text-gray',
|
|
34
34
|
color(tab.value),
|
|
35
35
|
buttonSize
|
|
36
|
-
]"
|
|
37
|
-
:disabled="tab.disabled"
|
|
38
|
-
>
|
|
39
|
-
<slot :name="`tab-${tab.value}-label-text`">
|
|
40
|
-
<slot
|
|
36
|
+
]"
|
|
37
|
+
:disabled="tab.disabled"
|
|
38
|
+
>
|
|
39
|
+
<slot :name="`tab-${tab.value}-label-text`">
|
|
40
|
+
<slot
|
|
41
41
|
v-if="
|
|
42
42
|
$slots[`tab-${tab.value}-label-text-prepend-icon`] || props.tabButtonPrependIcon
|
|
43
|
-
"
|
|
44
|
-
:name="`tab-${tab.value}-label-text-prepend-icon`"
|
|
45
|
-
>
|
|
46
|
-
<Icon :name="props.tabButtonPrependIcon" />
|
|
47
|
-
</slot>
|
|
48
|
-
<slot :name="`tab-${tab.value}-label-text-word`">
|
|
49
|
-
{{ tab.label }}
|
|
50
|
-
</slot>
|
|
51
|
-
<slot
|
|
43
|
+
"
|
|
44
|
+
:name="`tab-${tab.value}-label-text-prepend-icon`"
|
|
45
|
+
>
|
|
46
|
+
<Icon :name="props.tabButtonPrependIcon" />
|
|
47
|
+
</slot>
|
|
48
|
+
<slot :name="`tab-${tab.value}-label-text-word`">
|
|
49
|
+
{{ tab.label }}
|
|
50
|
+
</slot>
|
|
51
|
+
<slot
|
|
52
52
|
v-if="
|
|
53
53
|
$slots[`tab-${tab.value}-label-text-append-icon`] || props.tabButtonAppendIcon
|
|
54
|
-
"
|
|
55
|
-
:name="`tab-${tab.value}-label-text-append-icon`"
|
|
56
|
-
>
|
|
57
|
-
<Icon :name="props.tabButtonAppendIcon" />
|
|
58
|
-
</slot>
|
|
59
|
-
</slot>
|
|
60
|
-
</button>
|
|
61
|
-
</slot>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<button
|
|
66
|
-
v-if="!isTabScrollRight"
|
|
54
|
+
"
|
|
55
|
+
:name="`tab-${tab.value}-label-text-append-icon`"
|
|
56
|
+
>
|
|
57
|
+
<Icon :name="props.tabButtonAppendIcon" />
|
|
58
|
+
</slot>
|
|
59
|
+
</slot>
|
|
60
|
+
</button>
|
|
61
|
+
</slot>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<button
|
|
66
|
+
v-if="!isTabScrollRight"
|
|
67
67
|
:class="[
|
|
68
68
|
'absolute flex items-center justify-end right-0 top-1/2 transform -translate-y-1/2',
|
|
69
69
|
'bg-gradient-to-l from-white via-white to-transparent w-12 cursor-pointer',
|
|
70
70
|
buttonSize
|
|
71
|
-
]"
|
|
72
|
-
@click="onScrollRight"
|
|
73
|
-
>
|
|
74
|
-
<Icon name="mdi:chevron-right" size="24" />
|
|
75
|
-
</button>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<Divider
|
|
79
|
-
v-if="!props.disabledHeaderDivider && props.variant == 'text'"
|
|
80
|
-
class="mt-[-2px]"
|
|
81
|
-
/>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<div
|
|
85
|
-
v-if="!props.disabledContent"
|
|
86
|
-
v-for="(content, i_content) in items"
|
|
87
|
-
:key="i_content"
|
|
88
|
-
v-show="activeTab == content.value"
|
|
71
|
+
]"
|
|
72
|
+
@click="onScrollRight"
|
|
73
|
+
>
|
|
74
|
+
<Icon name="mdi:chevron-right" size="24" />
|
|
75
|
+
</button>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<Divider
|
|
79
|
+
v-if="!props.disabledHeaderDivider && props.variant == 'text'"
|
|
80
|
+
class="mt-[-2px]"
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<div
|
|
85
|
+
v-if="!props.disabledContent"
|
|
86
|
+
v-for="(content, i_content) in items"
|
|
87
|
+
:key="i_content"
|
|
88
|
+
v-show="activeTab == content.value"
|
|
89
89
|
:style="{
|
|
90
90
|
marginTop: !props.disabledHeader ? `${props.tabContentGab}px` : '0px'
|
|
91
|
-
}"
|
|
92
|
-
>
|
|
93
|
-
<slot
|
|
94
|
-
:name="`tab-content-${content.value}`"
|
|
95
|
-
:active="activeTab == content.value"
|
|
96
|
-
>
|
|
97
|
-
<div class="font-body-medium">
|
|
98
|
-
{{ content.content }}
|
|
99
|
-
</div>
|
|
100
|
-
</slot>
|
|
101
|
-
</div>
|
|
91
|
+
}"
|
|
92
|
+
>
|
|
93
|
+
<slot
|
|
94
|
+
:name="`tab-content-${content.value}`"
|
|
95
|
+
:active="activeTab == content.value"
|
|
96
|
+
>
|
|
97
|
+
<div class="font-body-medium">
|
|
98
|
+
{{ content.content }}
|
|
99
|
+
</div>
|
|
100
|
+
</slot>
|
|
101
|
+
</div>
|
|
102
102
|
</template>
|
|
103
103
|
|
|
104
104
|
<script setup>
|
|
@@ -10,14 +10,14 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare var __VLS_1: {
|
|
11
11
|
item: TableHeader[];
|
|
12
12
|
}, __VLS_8: {
|
|
13
|
-
items: any;
|
|
14
|
-
header:
|
|
13
|
+
items: Record<string, any>[];
|
|
14
|
+
header: TableHeader[] | undefined;
|
|
15
15
|
}, __VLS_10: {
|
|
16
|
-
item: any
|
|
17
|
-
header:
|
|
16
|
+
item: Record<string, any>;
|
|
17
|
+
header: TableHeader[] | undefined;
|
|
18
18
|
index: number;
|
|
19
|
-
}, __VLS_13: `item-${
|
|
20
|
-
item: any
|
|
19
|
+
}, __VLS_13: `item-${string}`, __VLS_14: {
|
|
20
|
+
item: Record<string, any>;
|
|
21
21
|
};
|
|
22
22
|
type __VLS_Slots = {} & {
|
|
23
23
|
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="bg-white rounded-[8px] h-full">
|
|
3
|
-
<div
|
|
4
|
-
class="overflow-auto"
|
|
2
|
+
<div class="bg-white rounded-[8px] h-full">
|
|
3
|
+
<div
|
|
4
|
+
class="overflow-auto"
|
|
5
5
|
:style="{
|
|
6
6
|
height: props.fullHeight ? '100%' : `${props.height}px`
|
|
7
|
-
}"
|
|
8
|
-
>
|
|
9
|
-
<table class="w-full">
|
|
10
|
-
<thead v-if="!props.disabledHeader">
|
|
11
|
-
<slot name="header" :item="props.itemHeader">
|
|
12
|
-
<tr>
|
|
13
|
-
<template v-for="(header, i) in itemHeaders" :key="i">
|
|
14
|
-
<th class="sticky top-0 bg-white">
|
|
15
|
-
<div
|
|
16
|
-
class="p-[14px] flex gap-[8px] text-gray font-label-sans-serif-large"
|
|
7
|
+
}"
|
|
8
|
+
>
|
|
9
|
+
<table class="w-full">
|
|
10
|
+
<thead v-if="!props.disabledHeader">
|
|
11
|
+
<slot name="header" :item="props.itemHeader">
|
|
12
|
+
<tr>
|
|
13
|
+
<template v-for="(header, i) in itemHeaders" :key="i">
|
|
14
|
+
<th class="sticky top-0 bg-white">
|
|
15
|
+
<div
|
|
16
|
+
class="p-[14px] flex gap-[8px] text-gray font-label-sans-serif-large"
|
|
17
17
|
:style="{
|
|
18
18
|
justifyContent: header.alinement || props.headerAlinement
|
|
19
|
-
}"
|
|
20
|
-
>
|
|
21
|
-
<div class="flex">
|
|
22
|
-
{{ header.label }}
|
|
23
|
-
</div>
|
|
24
|
-
<div
|
|
19
|
+
}"
|
|
20
|
+
>
|
|
21
|
+
<div class="flex">
|
|
22
|
+
{{ header.label }}
|
|
23
|
+
</div>
|
|
24
|
+
<div
|
|
25
25
|
:class="[
|
|
26
26
|
'flex justify-center items-center cursor-pointer',
|
|
27
27
|
sortkey === header.key && 'text-primary'
|
|
28
|
-
]"
|
|
29
|
-
@click="onSortBy(header.key)"
|
|
30
|
-
>
|
|
31
|
-
<Icon name="fa6-solid:sort" size="16" />
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</th>
|
|
35
|
-
</template>
|
|
36
|
-
</tr>
|
|
37
|
-
</slot>
|
|
38
|
-
</thead>
|
|
39
|
-
|
|
40
|
-
<slot name="body" :items="items" :header="itemHeaders">
|
|
41
|
-
<tbody>
|
|
42
|
-
<tr
|
|
43
|
-
v-for="(body, i_body) in items"
|
|
44
|
-
:key="i_body"
|
|
45
|
-
@click="emit('click-row', body, i_body)"
|
|
46
|
-
>
|
|
47
|
-
<slot
|
|
48
|
-
name="item"
|
|
49
|
-
:item="body"
|
|
50
|
-
:header="itemHeaders"
|
|
51
|
-
:index="i_body"
|
|
52
|
-
>
|
|
53
|
-
<td
|
|
54
|
-
v-for="(header, i_header) in itemHeaders"
|
|
55
|
-
:key="i_header"
|
|
56
|
-
class="font-body-medium border-y-[1px] border-mercury p-[14px]"
|
|
57
|
-
>
|
|
58
|
-
<slot :name="`item-${header.key}`" :item="body">
|
|
59
|
-
<div>
|
|
60
|
-
{{ body[header.key] }}
|
|
61
|
-
</div>
|
|
62
|
-
</slot>
|
|
63
|
-
</td>
|
|
64
|
-
</slot>
|
|
65
|
-
</tr>
|
|
66
|
-
</tbody>
|
|
67
|
-
</slot>
|
|
68
|
-
</table>
|
|
69
|
-
</div>
|
|
70
|
-
|
|
71
|
-
<div
|
|
72
|
-
v-if="items.length === 0"
|
|
73
|
-
class="w-full h-full flex justify-center items-center p-[16px]"
|
|
74
|
-
>
|
|
75
|
-
<Icon name="pukaad:page-not-found" size="150"></Icon>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<div
|
|
79
|
-
v-if="items.length > 0"
|
|
80
|
-
class="p-[14px] flex justify-center items-center"
|
|
81
|
-
>
|
|
82
|
-
<Pagination
|
|
83
|
-
:totalPage="props.totalPage"
|
|
84
|
-
:totalVisible="props.paginationVisible"
|
|
85
|
-
@change="(e) => emit('change-page', e)"
|
|
86
|
-
@select="(e) => emit('select-page', e)"
|
|
87
|
-
v-model="page"
|
|
88
|
-
/>
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
28
|
+
]"
|
|
29
|
+
@click="onSortBy(header.key)"
|
|
30
|
+
>
|
|
31
|
+
<Icon name="fa6-solid:sort" size="16" />
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</th>
|
|
35
|
+
</template>
|
|
36
|
+
</tr>
|
|
37
|
+
</slot>
|
|
38
|
+
</thead>
|
|
39
|
+
|
|
40
|
+
<slot name="body" :items="items" :header="itemHeaders">
|
|
41
|
+
<tbody>
|
|
42
|
+
<tr
|
|
43
|
+
v-for="(body, i_body) in items"
|
|
44
|
+
:key="i_body"
|
|
45
|
+
@click="emit('click-row', body, i_body)"
|
|
46
|
+
>
|
|
47
|
+
<slot
|
|
48
|
+
name="item"
|
|
49
|
+
:item="body"
|
|
50
|
+
:header="itemHeaders"
|
|
51
|
+
:index="i_body"
|
|
52
|
+
>
|
|
53
|
+
<td
|
|
54
|
+
v-for="(header, i_header) in itemHeaders"
|
|
55
|
+
:key="i_header"
|
|
56
|
+
class="font-body-medium border-y-[1px] border-mercury p-[14px]"
|
|
57
|
+
>
|
|
58
|
+
<slot :name="`item-${header.key}`" :item="body">
|
|
59
|
+
<div>
|
|
60
|
+
{{ body[header.key] }}
|
|
61
|
+
</div>
|
|
62
|
+
</slot>
|
|
63
|
+
</td>
|
|
64
|
+
</slot>
|
|
65
|
+
</tr>
|
|
66
|
+
</tbody>
|
|
67
|
+
</slot>
|
|
68
|
+
</table>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<div
|
|
72
|
+
v-if="items.length === 0"
|
|
73
|
+
class="w-full h-full flex justify-center items-center p-[16px]"
|
|
74
|
+
>
|
|
75
|
+
<Icon name="pukaad:page-not-found" size="150"></Icon>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div
|
|
79
|
+
v-if="items.length > 0"
|
|
80
|
+
class="p-[14px] flex justify-center items-center"
|
|
81
|
+
>
|
|
82
|
+
<Pagination
|
|
83
|
+
:totalPage="props.totalPage"
|
|
84
|
+
:totalVisible="props.paginationVisible"
|
|
85
|
+
@change="(e) => emit('change-page', e)"
|
|
86
|
+
@select="(e) => emit('select-page', e)"
|
|
87
|
+
v-model="page"
|
|
88
|
+
/>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
91
|
</template>
|
|
92
92
|
|
|
93
93
|
<script setup>
|
|
@@ -10,14 +10,14 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare var __VLS_1: {
|
|
11
11
|
item: TableHeader[];
|
|
12
12
|
}, __VLS_8: {
|
|
13
|
-
items: any;
|
|
14
|
-
header:
|
|
13
|
+
items: Record<string, any>[];
|
|
14
|
+
header: TableHeader[] | undefined;
|
|
15
15
|
}, __VLS_10: {
|
|
16
|
-
item: any
|
|
17
|
-
header:
|
|
16
|
+
item: Record<string, any>;
|
|
17
|
+
header: TableHeader[] | undefined;
|
|
18
18
|
index: number;
|
|
19
|
-
}, __VLS_13: `item-${
|
|
20
|
-
item: any
|
|
19
|
+
}, __VLS_13: `item-${string}`, __VLS_14: {
|
|
20
|
+
item: Record<string, any>;
|
|
21
21
|
};
|
|
22
22
|
type __VLS_Slots = {} & {
|
|
23
23
|
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="relative inline-block"
|
|
4
|
-
@mouseenter="onMouseEnter"
|
|
5
|
-
@mouseleave="onMouseLeave"
|
|
6
|
-
>
|
|
7
|
-
<slot name="default" />
|
|
8
|
-
<transition name="fade">
|
|
9
|
-
<div
|
|
10
|
-
v-if="isShowTooltip"
|
|
11
|
-
:class="['tooltip', positionClass, { 'has-arrow': props.arrow }]"
|
|
12
|
-
>
|
|
13
|
-
<slot v-if="$slots.text || props.text" name="text">
|
|
14
|
-
<div class="font-body-small">
|
|
15
|
-
{{ props.text }}
|
|
16
|
-
</div>
|
|
17
|
-
</slot>
|
|
18
|
-
</div>
|
|
19
|
-
</transition>
|
|
20
|
-
</div>
|
|
2
|
+
<div
|
|
3
|
+
class="relative inline-block"
|
|
4
|
+
@mouseenter="onMouseEnter"
|
|
5
|
+
@mouseleave="onMouseLeave"
|
|
6
|
+
>
|
|
7
|
+
<slot name="default" />
|
|
8
|
+
<transition name="fade">
|
|
9
|
+
<div
|
|
10
|
+
v-if="isShowTooltip"
|
|
11
|
+
:class="['tooltip', positionClass, { 'has-arrow': props.arrow }]"
|
|
12
|
+
>
|
|
13
|
+
<slot v-if="$slots.text || props.text" name="text">
|
|
14
|
+
<div class="font-body-small">
|
|
15
|
+
{{ props.text }}
|
|
16
|
+
</div>
|
|
17
|
+
</slot>
|
|
18
|
+
</div>
|
|
19
|
+
</transition>
|
|
20
|
+
</div>
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
23
|
<script setup>
|
|
@@ -8,11 +8,11 @@ const props = defineProps({
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<div
|
|
12
|
-
data-slot="alert"
|
|
13
|
-
:class="cn(alertVariants({ variant }), props.class)"
|
|
14
|
-
role="alert"
|
|
15
|
-
>
|
|
16
|
-
<slot />
|
|
17
|
-
</div>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert"
|
|
13
|
+
:class="cn(alertVariants({ variant }), props.class)"
|
|
14
|
+
role="alert"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
18
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-description"
|
|
11
|
-
:class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-description"
|
|
11
|
+
:class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
15
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-title"
|
|
11
|
-
:class="cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-title"
|
|
11
|
+
:class="cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
15
|
</template>
|
|
@@ -9,7 +9,7 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|
|
9
9
|
</script>
|
|
10
10
|
|
|
11
11
|
<template>
|
|
12
|
-
<AlertDialogRoot v-slot="slotProps" data-slot="alert-dialog" v-bind="forwarded">
|
|
13
|
-
<slot v-bind="slotProps" />
|
|
14
|
-
</AlertDialogRoot>
|
|
12
|
+
<AlertDialogRoot v-slot="slotProps" data-slot="alert-dialog" v-bind="forwarded">
|
|
13
|
+
<slot v-bind="slotProps" />
|
|
14
|
+
</AlertDialogRoot>
|
|
15
15
|
</template>
|
|
@@ -12,7 +12,7 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
|
|
16
|
-
<slot />
|
|
17
|
-
</AlertDialogAction>
|
|
15
|
+
<AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
|
|
16
|
+
<slot />
|
|
17
|
+
</AlertDialogAction>
|
|
18
18
|
</template>
|
|
@@ -12,14 +12,14 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<AlertDialogCancel
|
|
16
|
-
v-bind="delegatedProps"
|
|
15
|
+
<AlertDialogCancel
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
17
|
:class="cn(
|
|
18
18
|
buttonVariants({ variant: 'outline' }),
|
|
19
19
|
'mt-2 sm:mt-0',
|
|
20
20
|
props.class
|
|
21
|
-
)"
|
|
22
|
-
>
|
|
23
|
-
<slot />
|
|
24
|
-
</AlertDialogCancel>
|
|
21
|
+
)"
|
|
22
|
+
>
|
|
23
|
+
<slot />
|
|
24
|
+
</AlertDialogCancel>
|
|
25
25
|
</template>
|
|
@@ -23,22 +23,22 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<template>
|
|
26
|
-
<AlertDialogPortal>
|
|
27
|
-
<AlertDialogOverlay
|
|
28
|
-
data-slot="alert-dialog-overlay"
|
|
29
|
-
class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"
|
|
30
|
-
/>
|
|
31
|
-
<AlertDialogContent
|
|
32
|
-
data-slot="alert-dialog-content"
|
|
33
|
-
v-bind="{ ...$attrs, ...forwarded }"
|
|
26
|
+
<AlertDialogPortal>
|
|
27
|
+
<AlertDialogOverlay
|
|
28
|
+
data-slot="alert-dialog-overlay"
|
|
29
|
+
class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"
|
|
30
|
+
/>
|
|
31
|
+
<AlertDialogContent
|
|
32
|
+
data-slot="alert-dialog-content"
|
|
33
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
34
34
|
:class="
|
|
35
35
|
cn(
|
|
36
36
|
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
|
|
37
37
|
props.class
|
|
38
38
|
)
|
|
39
|
-
"
|
|
40
|
-
>
|
|
41
|
-
<slot />
|
|
42
|
-
</AlertDialogContent>
|
|
43
|
-
</AlertDialogPortal>
|
|
39
|
+
"
|
|
40
|
+
>
|
|
41
|
+
<slot />
|
|
42
|
+
</AlertDialogContent>
|
|
43
|
+
</AlertDialogPortal>
|
|
44
44
|
</template>
|
|
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<AlertDialogDescription
|
|
15
|
-
data-slot="alert-dialog-description"
|
|
16
|
-
v-bind="delegatedProps"
|
|
17
|
-
:class="cn('font-body-medium text-gray', props.class)"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</AlertDialogDescription>
|
|
14
|
+
<AlertDialogDescription
|
|
15
|
+
data-slot="alert-dialog-description"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('font-body-medium text-gray', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</AlertDialogDescription>
|
|
21
21
|
</template>
|
|
@@ -6,15 +6,15 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-dialog-footer"
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-dialog-footer"
|
|
11
11
|
:class="
|
|
12
12
|
cn(
|
|
13
13
|
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
|
|
14
14
|
props.class
|
|
15
15
|
)
|
|
16
|
-
"
|
|
17
|
-
>
|
|
18
|
-
<slot />
|
|
19
|
-
</div>
|
|
16
|
+
"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</div>
|
|
20
20
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-dialog-header"
|
|
11
|
-
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-dialog-header"
|
|
11
|
+
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
15
|
</template>
|