pukaad-ui-lib 1.348.0 → 1.350.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/dist/module.json
CHANGED
|
@@ -25,11 +25,17 @@
|
|
|
25
25
|
<Icon
|
|
26
26
|
name="lucide:clock"
|
|
27
27
|
:size="20"
|
|
28
|
-
class="
|
|
28
|
+
:class="[
|
|
29
|
+
'text-primary shrink-0 mt-[2px]',
|
|
30
|
+
props.item.open_status === 'temporarily_closed' && 'text-destructive'
|
|
31
|
+
]"
|
|
29
32
|
/>
|
|
30
33
|
<div v-if="businessHours.length" class="flex flex-col gap-[4px] flex-1">
|
|
31
|
-
<div
|
|
32
|
-
|
|
34
|
+
<div
|
|
35
|
+
v-if="props.item.open_status === 'temporarily_closed'"
|
|
36
|
+
class="font-body-large-prominent text-error"
|
|
37
|
+
>
|
|
38
|
+
ปิดชั่วคราว
|
|
33
39
|
</div>
|
|
34
40
|
<div
|
|
35
41
|
v-for="(hour, index) in businessHours"
|
|
@@ -38,12 +44,16 @@
|
|
|
38
44
|
>
|
|
39
45
|
<span>{{ hour.day }}</span>
|
|
40
46
|
<div class="flex flex-col items-end">
|
|
41
|
-
<span v-for="(line, li) in hour.time_lines" :key="li">{{
|
|
47
|
+
<span v-for="(line, li) in hour.time_lines" :key="li">{{
|
|
48
|
+
line
|
|
49
|
+
}}</span>
|
|
42
50
|
</div>
|
|
43
51
|
</div>
|
|
44
52
|
|
|
45
53
|
<template v-if="upcomingSpecialDays.length">
|
|
46
|
-
<div class="font-body-large-prominent text-warning"
|
|
54
|
+
<div class="font-body-large-prominent text-warning">
|
|
55
|
+
วันทำการพิเศษ
|
|
56
|
+
</div>
|
|
47
57
|
<div
|
|
48
58
|
v-for="(special, index) in upcomingSpecialDays"
|
|
49
59
|
:key="index"
|
|
@@ -51,11 +61,18 @@
|
|
|
51
61
|
>
|
|
52
62
|
<span>{{ special.date_label }}</span>
|
|
53
63
|
<div class="flex flex-col items-end">
|
|
54
|
-
<span v-for="(line, li) in special.time_lines" :key="li">{{
|
|
64
|
+
<span v-for="(line, li) in special.time_lines" :key="li">{{
|
|
65
|
+
line
|
|
66
|
+
}}</span>
|
|
55
67
|
</div>
|
|
56
68
|
</div>
|
|
57
69
|
</template>
|
|
58
70
|
</div>
|
|
71
|
+
<div v-else-if="props.item.open_status === 'temporarily_closed'">
|
|
72
|
+
<div class="font-body-large-prominent text-destructive">
|
|
73
|
+
ปิดชั่วคราว
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
59
76
|
<div v-else class="text-cloud">ไม่มีข้อมูลเวลาทำการ</div>
|
|
60
77
|
</div>
|
|
61
78
|
|