pukaad-ui-lib 1.303.0 → 1.304.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.303.0",
4
+ "version": "1.304.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,22 +2,40 @@
2
2
  <Card variant="outline">
3
3
  <div class="flex flex-col gap-[16px]">
4
4
  <div class="flex gap-[12px]">
5
- <Icon name="lucide:circle-alert" :size="20" class="text-primary shrink-0 mt-[2px]" />
5
+ <Icon
6
+ name="lucide:circle-alert"
7
+ :size="20"
8
+ class="text-primary shrink-0 mt-[2px]"
9
+ />
6
10
  <div v-if="props.item.description">{{ props.item.description }}</div>
7
11
  <div v-else class="text-cloud">ไม่มีข้อมูลคำอธิบาย</div>
8
12
  </div>
9
13
 
10
14
  <div class="flex gap-[12px]">
11
- <Icon name="lucide:tag" :size="20" class="text-primary shrink-0 mt-[2px]" />
15
+ <Icon
16
+ name="lucide:tag"
17
+ :size="20"
18
+ class="text-primary shrink-0 mt-[2px]"
19
+ />
12
20
  <div v-if="categoryText">{{ categoryText }}</div>
13
21
  <div v-else class="text-cloud">ไม่มีข้อมูลประเภท</div>
14
22
  </div>
15
23
 
16
24
  <div class="flex gap-[12px]">
17
- <Icon name="lucide:clock" :size="20" class="text-primary shrink-0 mt-[2px]" />
25
+ <Icon
26
+ name="lucide:clock"
27
+ :size="20"
28
+ class="text-primary shrink-0 mt-[2px]"
29
+ />
18
30
  <div v-if="businessHours.length" class="flex flex-col gap-[4px] flex-1">
19
- <div class="font-body-large-prominent text-success">{{ props.item.open_status ?? "\u0E40\u0E1B\u0E34\u0E14\u0E2D\u0E22\u0E39\u0E48" }}</div>
20
- <div v-for="(hour, index) in businessHours" :key="index" class="flex items-center justify-between">
31
+ <div class="font-body-large-prominent text-success">
32
+ {{ props.item.open_status ?? "\u0E40\u0E1B\u0E34\u0E14\u0E2D\u0E22\u0E39\u0E48" }}
33
+ </div>
34
+ <div
35
+ v-for="(hour, index) in businessHours"
36
+ :key="index"
37
+ class="flex items-center justify-between"
38
+ >
21
39
  <span>{{ hour.day }}</span>
22
40
  <span>{{ hour.time_range }}</span>
23
41
  </div>
@@ -26,7 +44,11 @@
26
44
  </div>
27
45
 
28
46
  <div class="flex gap-[12px]">
29
- <Icon name="lucide:phone" :size="20" class="text-primary shrink-0 mt-[2px]" />
47
+ <Icon
48
+ name="lucide:phone"
49
+ :size="20"
50
+ class="text-primary shrink-0 mt-[2px]"
51
+ />
30
52
  <div v-if="props.item.phone">{{ props.item.phone }}</div>
31
53
  <div v-else class="text-cloud">ไม่มีข้อมูลเบอร์โทรศัพท์</div>
32
54
  </div>
@@ -40,7 +62,11 @@
40
62
  class="flex gap-[12px] items-center cursor-pointer hover:underline"
41
63
  @click="onClickLink(linkItem.link)"
42
64
  >
43
- <Icon :name="`pukaad-social:${linkItem.name}`" :size="20" class="shrink-0" />
65
+ <Icon
66
+ :name="`pukaad-social:${linkItem.name}`"
67
+ :size="20"
68
+ class="shrink-0"
69
+ />
44
70
  <span>{{ linkItem.link }}</span>
45
71
  </div>
46
72
  </div>
@@ -54,7 +80,15 @@
54
80
 
55
81
  <script setup>
56
82
  import { computed } from "vue";
57
- const DAY_NAMES = ["\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C", "\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C", "\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23", "\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18", "\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35", "\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C", "\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C"];
83
+ const DAY_NAMES = [
84
+ "\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C",
85
+ "\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C",
86
+ "\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23",
87
+ "\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18",
88
+ "\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35",
89
+ "\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C",
90
+ "\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C"
91
+ ];
58
92
  const props = defineProps({
59
93
  item: { type: Object, required: false, default: () => ({}) }
60
94
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.303.0",
3
+ "version": "1.304.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",