pukaad-ui-lib 1.453.0 → 1.456.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.
Files changed (43) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/chat/chat-conversation-item.d.vue.ts +2 -2
  3. package/dist/runtime/components/chat/chat-conversation-item.vue.d.ts +2 -2
  4. package/dist/runtime/components/display/display-video.d.vue.ts +4 -4
  5. package/dist/runtime/components/display/display-video.vue.d.ts +4 -4
  6. package/dist/runtime/components/input/input-address.d.vue.ts +1 -1
  7. package/dist/runtime/components/input/input-address.vue.d.ts +1 -1
  8. package/dist/runtime/components/input/input-autocomplete.d.vue.ts +2 -2
  9. package/dist/runtime/components/input/input-autocomplete.vue.d.ts +2 -2
  10. package/dist/runtime/components/input/input-birth-date.d.vue.ts +1 -1
  11. package/dist/runtime/components/input/input-birth-date.vue.d.ts +1 -1
  12. package/dist/runtime/components/input/input-combobox.d.vue.ts +1 -1
  13. package/dist/runtime/components/input/input-combobox.vue.d.ts +1 -1
  14. package/dist/runtime/components/input/input-comment.d.vue.ts +1 -1
  15. package/dist/runtime/components/input/input-comment.vue.d.ts +1 -1
  16. package/dist/runtime/components/input/input-date-picker.d.vue.ts +1 -1
  17. package/dist/runtime/components/input/input-date-picker.vue.d.ts +1 -1
  18. package/dist/runtime/components/input/input-file.d.vue.ts +1 -1
  19. package/dist/runtime/components/input/input-file.vue.d.ts +1 -1
  20. package/dist/runtime/components/input/input-localized-name.d.vue.ts +1 -1
  21. package/dist/runtime/components/input/input-localized-name.vue.d.ts +1 -1
  22. package/dist/runtime/components/input/input-select-place.vue +10 -3
  23. package/dist/runtime/components/input/input-suggest.d.vue.ts +1 -1
  24. package/dist/runtime/components/input/input-suggest.vue.d.ts +1 -1
  25. package/dist/runtime/components/input/input-tag-modal.d.vue.ts +1 -1
  26. package/dist/runtime/components/input/input-tag-modal.vue.d.ts +1 -1
  27. package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
  28. package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
  29. package/dist/runtime/components/input/input-textarea.d.vue.ts +1 -1
  30. package/dist/runtime/components/input/input-textarea.vue.d.ts +1 -1
  31. package/dist/runtime/components/modal/modal-password-confirmed.d.vue.ts +1 -1
  32. package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +1 -1
  33. package/dist/runtime/components/modal/modal-password-verify.d.vue.ts +1 -1
  34. package/dist/runtime/components/modal/modal-password-verify.vue.d.ts +1 -1
  35. package/dist/runtime/components/preview/preview-content.d.vue.ts +56 -0
  36. package/dist/runtime/components/preview/preview-content.vue +307 -0
  37. package/dist/runtime/components/preview/preview-content.vue.d.ts +56 -0
  38. package/dist/runtime/components/preview/preview-place.d.vue.ts +47 -0
  39. package/dist/runtime/components/preview/preview-place.vue +342 -0
  40. package/dist/runtime/components/preview/preview-place.vue.d.ts +47 -0
  41. package/dist/runtime/composables/store-chat.d.ts +2 -2
  42. package/dist/runtime/composables/store-notification.d.ts +1 -1
  43. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.453.0",
4
+ "version": "1.456.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -27,12 +27,12 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
27
27
  avatar: string | null;
28
28
  muted: boolean;
29
29
  disabledMenu: boolean;
30
+ unreadCount: number;
31
+ pinned: boolean;
30
32
  preview: string;
31
33
  to: string;
32
34
  active: boolean;
33
35
  typing: boolean;
34
- unreadCount: number;
35
- pinned: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
@@ -27,12 +27,12 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
27
27
  avatar: string | null;
28
28
  muted: boolean;
29
29
  disabledMenu: boolean;
30
+ unreadCount: number;
31
+ pinned: boolean;
30
32
  preview: string;
31
33
  to: string;
32
34
  active: boolean;
33
35
  typing: boolean;
34
- unreadCount: number;
35
- pinned: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
@@ -81,16 +81,16 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
81
81
  toggle: () => void;
82
82
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
83
  close: (payload: DisplayVideoAction) => any;
84
- fullscreen: (payload: DisplayVideoAction) => any;
85
- "play-click": (payload: DisplayVideoAction) => any;
86
84
  prev: (payload: DisplayVideoAction) => any;
87
85
  next: (payload: DisplayVideoAction) => any;
86
+ fullscreen: (payload: DisplayVideoAction) => any;
87
+ "play-click": (payload: DisplayVideoAction) => any;
88
88
  }, string, import("vue").PublicProps, Readonly<DisplayVideoProps> & Readonly<{
89
89
  onClose?: ((payload: DisplayVideoAction) => any) | undefined;
90
- onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
91
- "onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
92
90
  onPrev?: ((payload: DisplayVideoAction) => any) | undefined;
93
91
  onNext?: ((payload: DisplayVideoAction) => any) | undefined;
92
+ onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
93
+ "onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
94
94
  }>, {
95
95
  src: string;
96
96
  fullWidth: boolean;
@@ -81,16 +81,16 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
81
81
  toggle: () => void;
82
82
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
83
  close: (payload: DisplayVideoAction) => any;
84
- fullscreen: (payload: DisplayVideoAction) => any;
85
- "play-click": (payload: DisplayVideoAction) => any;
86
84
  prev: (payload: DisplayVideoAction) => any;
87
85
  next: (payload: DisplayVideoAction) => any;
86
+ fullscreen: (payload: DisplayVideoAction) => any;
87
+ "play-click": (payload: DisplayVideoAction) => any;
88
88
  }, string, import("vue").PublicProps, Readonly<DisplayVideoProps> & Readonly<{
89
89
  onClose?: ((payload: DisplayVideoAction) => any) | undefined;
90
- onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
91
- "onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
92
90
  onPrev?: ((payload: DisplayVideoAction) => any) | undefined;
93
91
  onNext?: ((payload: DisplayVideoAction) => any) | undefined;
92
+ onFullscreen?: ((payload: DisplayVideoAction) => any) | undefined;
93
+ "onPlay-click"?: ((payload: DisplayVideoAction) => any) | undefined;
94
94
  }>, {
95
95
  src: string;
96
96
  fullWidth: boolean;
@@ -50,8 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
50
50
  label: string;
51
51
  name: string;
52
52
  required: boolean;
53
- layout: "vertical" | "horizontal";
54
53
  placeholder: string;
54
+ layout: "vertical" | "horizontal";
55
55
  labelDetail: string;
56
56
  placeholderDetail: string;
57
57
  requiredDetail: boolean;
@@ -50,8 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
50
50
  label: string;
51
51
  name: string;
52
52
  required: boolean;
53
- layout: "vertical" | "horizontal";
54
53
  placeholder: string;
54
+ layout: "vertical" | "horizontal";
55
55
  labelDetail: string;
56
56
  placeholderDetail: string;
57
57
  requiredDetail: boolean;
@@ -69,10 +69,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
69
69
  name: string;
70
70
  required: boolean;
71
71
  description: string;
72
- options: AutocompleteOption[] | string[] | number[];
73
- limit: number;
74
72
  labelKey: string;
75
73
  placeholder: string;
74
+ options: AutocompleteOption[] | string[] | number[];
75
+ limit: number;
76
76
  disabledErrorMessage: boolean;
77
77
  disabledBorder: boolean;
78
78
  showCounter: boolean;
@@ -69,10 +69,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
69
69
  name: string;
70
70
  required: boolean;
71
71
  description: string;
72
- options: AutocompleteOption[] | string[] | number[];
73
- limit: number;
74
72
  labelKey: string;
75
73
  placeholder: string;
74
+ options: AutocompleteOption[] | string[] | number[];
75
+ limit: number;
76
76
  disabledErrorMessage: boolean;
77
77
  disabledBorder: boolean;
78
78
  showCounter: boolean;
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
- layout: "month-and-year" | "month-only" | "year-only";
34
33
  locale: string;
35
34
  placeholder: string;
35
+ layout: "month-and-year" | "month-only" | "year-only";
36
36
  disabledErrorMessage: boolean;
37
37
  dateFormat: string;
38
38
  minAge: number;
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
- layout: "month-and-year" | "month-only" | "year-only";
34
33
  locale: string;
35
34
  placeholder: string;
35
+ layout: "month-and-year" | "month-only" | "year-only";
36
36
  disabledErrorMessage: boolean;
37
37
  dateFormat: string;
38
38
  minAge: number;
@@ -60,8 +60,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
60
60
  }>, {
61
61
  pageSize: number;
62
62
  name: string;
63
- limit: number;
64
63
  labelKey: string;
64
+ limit: number;
65
65
  valueKey: string;
66
66
  multiple: boolean;
67
67
  placeholderSearch: string;
@@ -60,8 +60,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
60
60
  }>, {
61
61
  pageSize: number;
62
62
  name: string;
63
- limit: number;
64
63
  labelKey: string;
64
+ limit: number;
65
65
  valueKey: string;
66
66
  multiple: boolean;
67
67
  placeholderSearch: string;
@@ -47,10 +47,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
47
47
  loading: boolean;
48
48
  disabled: boolean;
49
49
  placeholder: string;
50
- cancelText: string;
51
50
  autofocus: boolean;
52
51
  disabledAvatar: boolean;
53
52
  submitText: string;
53
+ cancelText: string;
54
54
  actionsOnFocus: boolean;
55
55
  disabledActions: boolean;
56
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -47,10 +47,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
47
47
  loading: boolean;
48
48
  disabled: boolean;
49
49
  placeholder: string;
50
- cancelText: string;
51
50
  autofocus: boolean;
52
51
  disabledAvatar: boolean;
53
52
  submitText: string;
53
+ cancelText: string;
54
54
  actionsOnFocus: boolean;
55
55
  disabledActions: boolean;
56
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
- layout: "month-and-year" | "month-only" | "year-only";
48
47
  locale: string;
49
48
  placeholder: string;
49
+ layout: "month-and-year" | "month-only" | "year-only";
50
50
  disabledErrorMessage: boolean;
51
51
  dateFormat: string;
52
52
  showTime: boolean;
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
- layout: "month-and-year" | "month-only" | "year-only";
48
47
  locale: string;
49
48
  placeholder: string;
49
+ layout: "month-and-year" | "month-only" | "year-only";
50
50
  disabledErrorMessage: boolean;
51
51
  dateFormat: string;
52
52
  showTime: boolean;
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
37
37
  fullWidth: boolean;
38
38
  fullHeight: boolean;
39
39
  limit: number;
40
- accept: string;
41
40
  disabledErrorMessage: boolean;
41
+ accept: string;
42
42
  labelIcon: string;
43
43
  disabledDrop: boolean;
44
44
  column: boolean;
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
37
37
  fullWidth: boolean;
38
38
  fullHeight: boolean;
39
39
  limit: number;
40
- accept: string;
41
40
  disabledErrorMessage: boolean;
41
+ accept: string;
42
42
  labelIcon: string;
43
43
  disabledDrop: boolean;
44
44
  column: boolean;
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
11
11
  label: string;
12
12
  name: string;
13
13
  modelValue: LocalizedNameItem[];
14
+ placeholder: string;
14
15
  options: InputSelectItem[];
15
16
  limit: number;
16
- placeholder: string;
17
17
  removable: boolean;
18
18
  showCounter: boolean;
19
19
  addLabel: string;
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
11
11
  label: string;
12
12
  name: string;
13
13
  modelValue: LocalizedNameItem[];
14
+ placeholder: string;
14
15
  options: InputSelectItem[];
15
16
  limit: number;
16
- placeholder: string;
17
17
  removable: boolean;
18
18
  showCounter: boolean;
19
19
  addLabel: string;
@@ -1,10 +1,16 @@
1
1
  <template>
2
- <div class="flex flex-col gap-[4px] w-full">
2
+ <div class="relative flex flex-col gap-[4px] w-full">
3
3
  <div class="font-body-large-prominent text-gray">
4
4
  {{ props.label }}
5
5
  <span v-if="props.required" class="text-destructive">*</span>
6
6
  </div>
7
- <div v-show="selectedItems.length === 0">
7
+ <!-- input เป็น anchor ของ popover — ห้ามซ่อนด้วย display:none (v-show) ตอนมีการเลือก ไม่งั้น anchor ไม่มี
8
+ ตำแหน่ง popover ลอยไปมุมซ้ายบนจอ ใช้ invisible + วางทับขอบล่างการ์ดแทน ให้เปิดจากการ์ดแล้วโผล่ใต้การ์ดพอดี -->
9
+ <div
10
+ :class="
11
+ selectedItems.length > 0 ? 'invisible absolute inset-x-0 bottom-0' : ''
12
+ "
13
+ >
8
14
  <InputCombobox
9
15
  ref="comboboxRef"
10
16
  name="input_select_place"
@@ -96,7 +102,7 @@
96
102
  </InputCombobox>
97
103
  </div>
98
104
 
99
- <!-- แสดงแทน input ตอนมีการเลือกอยู่ (input จริงยังอยู่ใน DOM แค่ v-show ซ่อนไว้ ไม่ได้ unmount — กันเสีย
105
+ <!-- แสดงแทน input ตอนมีการเลือกอยู่ (input จริงยังอยู่ใน DOM แค่ซ่อนแบบ invisible ไว้ ไม่ได้ unmount — กันเสีย
100
106
  state/ref ของ InputCombobox) คลิกที่การ์ดเปิด popover กลับมาเพื่อเลือกเพิ่ม/แก้ไขได้ ผ่าน openPopover()
101
107
  ที่ expose ไว้ (ไม่ต้องแตะ template ของ input-combobox.vue เลย ปลอดภัยกับ component กลาง) -->
102
108
  <div
@@ -262,6 +268,7 @@ const toggleSelect = (id) => {
262
268
  }
263
269
  if (item) selectedCache.value.set(id, item);
264
270
  selectedIds.value = [...selectedIds.value, id];
271
+ comboboxRef.value?.closePopover();
265
272
  }
266
273
  };
267
274
  const selectedItems = computed(
@@ -20,9 +20,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
20
20
  name: string;
21
21
  required: boolean;
22
22
  description: string;
23
- limit: number;
24
23
  labelKey: string;
25
24
  placeholder: string;
25
+ limit: number;
26
26
  disabledErrorMessage: boolean;
27
27
  disabledBorder: boolean;
28
28
  showCounter: boolean;
@@ -20,9 +20,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
20
20
  name: string;
21
21
  required: boolean;
22
22
  description: string;
23
- limit: number;
24
23
  labelKey: string;
25
24
  placeholder: string;
25
+ limit: number;
26
26
  disabledErrorMessage: boolean;
27
27
  disabledBorder: boolean;
28
28
  showCounter: boolean;
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
40
40
  id: string;
41
41
  name: string;
42
42
  required: boolean;
43
- options: InputTagModalOption[];
44
43
  labelKey: string;
45
44
  placeholder: string;
45
+ options: InputTagModalOption[];
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
40
40
  id: string;
41
41
  name: string;
42
42
  required: boolean;
43
- options: InputTagModalOption[];
44
43
  labelKey: string;
45
44
  placeholder: string;
45
+ options: InputTagModalOption[];
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
26
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
+ placeholder: string;
29
30
  state: "user" | "admin";
30
31
  limit: number;
31
- placeholder: string;
32
32
  profileScope: "personal" | "business";
33
33
  ignore: string[];
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
26
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
+ placeholder: string;
29
30
  state: "user" | "admin";
30
31
  limit: number;
31
- placeholder: string;
32
32
  profileScope: "personal" | "business";
33
33
  ignore: string[];
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
46
  resize: "none" | "both" | "horizontal" | "vertical";
47
47
  fullWidth: boolean;
48
48
  fullHeight: boolean;
49
- limit: number;
50
49
  rows: number;
50
+ limit: number;
51
51
  readonly: boolean;
52
52
  disabledErrorMessage: boolean;
53
53
  disabledBorder: boolean;
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
46
  resize: "none" | "both" | "horizontal" | "vertical";
47
47
  fullWidth: boolean;
48
48
  fullHeight: boolean;
49
- limit: number;
50
49
  rows: number;
50
+ limit: number;
51
51
  readonly: boolean;
52
52
  disabledErrorMessage: boolean;
53
53
  disabledBorder: boolean;
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
24
24
  }) => any) | undefined;
25
25
  }>, {
26
26
  title: string;
27
- confirmText: string;
28
27
  disabledForgotPassword: boolean;
28
+ confirmText: string;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  export default _default;
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
24
24
  }) => any) | undefined;
25
25
  }>, {
26
26
  title: string;
27
- confirmText: string;
28
27
  disabledForgotPassword: boolean;
28
+ confirmText: string;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  export default _default;
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
32
32
  }>, {
33
33
  title: string;
34
34
  mode: "login" | "secure";
35
- confirmText: string;
36
35
  disabledForgotPassword: boolean;
36
+ confirmText: string;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  export default _default;
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
32
32
  }>, {
33
33
  title: string;
34
34
  mode: "login" | "secure";
35
- confirmText: string;
36
35
  disabledForgotPassword: boolean;
36
+ confirmText: string;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  export default _default;
@@ -0,0 +1,56 @@
1
+ import type { CardReferItem } from "#pukaad-ui/runtime/components/card/card-refer.vue";
2
+ export type PreviewContentState = "personal" | "office" | "business";
3
+ export interface PreviewContentMedia {
4
+ id?: string | number;
5
+ media_type: string;
6
+ url: string;
7
+ description?: string;
8
+ }
9
+ export interface PreviewContentData {
10
+ id?: string;
11
+ content_type?: "post_it" | "image" | "video";
12
+ labels?: {
13
+ id: string;
14
+ name: string;
15
+ }[];
16
+ cover_text?: string;
17
+ cover_color?: string;
18
+ video_poster_url?: string;
19
+ description?: string;
20
+ media?: PreviewContentMedia[];
21
+ tags?: {
22
+ id: string;
23
+ name: string;
24
+ }[];
25
+ mentions?: CardReferItem[];
26
+ places?: {
27
+ id: string;
28
+ name: string;
29
+ address?: string;
30
+ }[];
31
+ like_count?: number;
32
+ bookmark_count?: number;
33
+ share_count?: number;
34
+ author?: {
35
+ id: string;
36
+ name: string;
37
+ avatar: string | null;
38
+ follower_count?: number;
39
+ published_count?: number;
40
+ response_rate?: number;
41
+ };
42
+ }
43
+ type __VLS_Props = {
44
+ contentId: string | number;
45
+ /** เลือก endpoint ตามแอปที่เปิดพรีวิว */
46
+ state?: PreviewContentState;
47
+ };
48
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
+ exit: () => any;
50
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
51
+ onExit?: (() => any) | undefined;
52
+ }>, {
53
+ state: PreviewContentState;
54
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
55
+ declare const _default: typeof __VLS_export;
56
+ export default _default;