pukaad-ui-lib 1.462.0 → 1.464.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 +1 -1
- package/dist/runtime/components/card/card-refer.d.vue.ts +1 -0
- package/dist/runtime/components/card/card-refer.vue +4 -5
- package/dist/runtime/components/card/card-refer.vue.d.ts +1 -0
- package/dist/runtime/components/chat/chat-conversation-item.d.vue.ts +2 -2
- package/dist/runtime/components/chat/chat-conversation-item.vue.d.ts +2 -2
- package/dist/runtime/components/display/display-video.d.vue.ts +1 -1
- package/dist/runtime/components/display/display-video.vue.d.ts +1 -1
- package/dist/runtime/components/image/image-cropper.d.vue.ts +1 -1
- package/dist/runtime/components/image/image-cropper.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-combobox.vue +7 -1
- package/dist/runtime/components/input/input-comment.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-comment.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-localized-name.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-localized-name.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-typed-field.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-typed-field.vue.d.ts +1 -1
- package/dist/runtime/composables/store-chat.d.ts +2 -2
- package/dist/runtime/composables/store-notification.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/runtime/components/card/{card-spotlight.d.vue.ts → card-labels.d.vue.ts} +0 -0
- /package/dist/runtime/components/card/{card-spotlight.vue → card-labels.vue} +0 -0
- /package/dist/runtime/components/card/{card-spotlight.vue.d.ts → card-labels.vue.d.ts} +0 -0
package/dist/module.json
CHANGED
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
@click="onClick"
|
|
5
5
|
>
|
|
6
6
|
<!-- post-it -->
|
|
7
|
-
<
|
|
7
|
+
<CardColorPostIt
|
|
8
8
|
v-if="isPost && props.item.content_type === 'post_it'"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</div>
|
|
9
|
+
:color="props.item.cover_color"
|
|
10
|
+
:size="50"
|
|
11
|
+
/>
|
|
13
12
|
|
|
14
13
|
<!-- Image -->
|
|
15
14
|
<Image
|
|
@@ -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;
|
|
32
30
|
preview: string;
|
|
33
31
|
to: string;
|
|
34
32
|
active: boolean;
|
|
35
33
|
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;
|
|
32
30
|
preview: string;
|
|
33
31
|
to: string;
|
|
34
32
|
active: boolean;
|
|
35
33
|
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;
|
|
@@ -102,9 +102,9 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
|
|
|
102
102
|
loop: boolean;
|
|
103
103
|
controls: boolean;
|
|
104
104
|
preload: "none" | "metadata" | "auto";
|
|
105
|
+
playsinline: boolean;
|
|
105
106
|
sources: DisplayVideoSource[];
|
|
106
107
|
tracks: DisplayVideoTrack[];
|
|
107
|
-
playsinline: boolean;
|
|
108
108
|
disablePictureInPicture: boolean;
|
|
109
109
|
disableRemotePlayback: boolean;
|
|
110
110
|
volume: number;
|
|
@@ -102,9 +102,9 @@ declare const __VLS_base: import("vue").DefineComponent<DisplayVideoProps, {
|
|
|
102
102
|
loop: boolean;
|
|
103
103
|
controls: boolean;
|
|
104
104
|
preload: "none" | "metadata" | "auto";
|
|
105
|
+
playsinline: boolean;
|
|
105
106
|
sources: DisplayVideoSource[];
|
|
106
107
|
tracks: DisplayVideoTrack[];
|
|
107
|
-
playsinline: boolean;
|
|
108
108
|
disablePictureInPicture: boolean;
|
|
109
109
|
disableRemotePlayback: boolean;
|
|
110
110
|
volume: number;
|
|
@@ -65,12 +65,12 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
67
|
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
68
69
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
69
70
|
responsive: boolean;
|
|
70
71
|
restore: boolean;
|
|
71
72
|
checkCrossOrigin: boolean;
|
|
72
73
|
checkOrientation: boolean;
|
|
73
|
-
modal: boolean;
|
|
74
74
|
guides: boolean;
|
|
75
75
|
highlight: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
@@ -65,12 +65,12 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
67
|
background: boolean;
|
|
68
|
+
modal: boolean;
|
|
68
69
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
69
70
|
responsive: boolean;
|
|
70
71
|
restore: boolean;
|
|
71
72
|
checkCrossOrigin: boolean;
|
|
72
73
|
checkOrientation: boolean;
|
|
73
|
-
modal: boolean;
|
|
74
74
|
guides: boolean;
|
|
75
75
|
highlight: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
class="cursor-pointer"
|
|
15
15
|
@click="handleInputClick"
|
|
16
16
|
>
|
|
17
|
-
|
|
17
|
+
<!-- ส่ง #label เฉพาะตอนมี label/slot/counter — ไม่งั้น InputTextField วาด label ว่างจน input ตกลงมา -->
|
|
18
|
+
<template
|
|
19
|
+
v-if="
|
|
20
|
+
props.label || $slots.label || props.showCounter && props.limit > 0
|
|
21
|
+
"
|
|
22
|
+
#label
|
|
23
|
+
>
|
|
18
24
|
<slot name="label">
|
|
19
25
|
<div
|
|
20
26
|
:class="[
|
|
@@ -47,8 +47,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
47
47
|
loading: boolean;
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
placeholder: string;
|
|
50
|
-
autofocus: boolean;
|
|
51
50
|
cancelText: string;
|
|
51
|
+
autofocus: boolean;
|
|
52
52
|
disabledAvatar: boolean;
|
|
53
53
|
submitText: string;
|
|
54
54
|
actionsOnFocus: boolean;
|
|
@@ -47,8 +47,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
47
47
|
loading: boolean;
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
placeholder: string;
|
|
50
|
-
autofocus: boolean;
|
|
51
50
|
cancelText: string;
|
|
51
|
+
autofocus: boolean;
|
|
52
52
|
disabledAvatar: boolean;
|
|
53
53
|
submitText: string;
|
|
54
54
|
actionsOnFocus: boolean;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
14
|
options: InputSelectItem[];
|
|
15
15
|
placeholder: string;
|
|
16
|
-
limit: number;
|
|
17
16
|
removable: boolean;
|
|
17
|
+
limit: number;
|
|
18
18
|
showCounter: boolean;
|
|
19
19
|
addLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
14
|
options: InputSelectItem[];
|
|
15
15
|
placeholder: string;
|
|
16
|
-
limit: number;
|
|
17
16
|
removable: boolean;
|
|
17
|
+
limit: number;
|
|
18
18
|
showCounter: boolean;
|
|
19
19
|
addLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
22
22
|
name: string;
|
|
23
23
|
required: boolean;
|
|
24
24
|
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
25
|
-
limit: number;
|
|
26
25
|
removable: boolean;
|
|
26
|
+
limit: number;
|
|
27
27
|
showCounter: boolean;
|
|
28
28
|
selectClass: import("vue").HTMLAttributes["class"];
|
|
29
29
|
resetOnTypeChange: boolean;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
22
22
|
name: string;
|
|
23
23
|
required: boolean;
|
|
24
24
|
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
25
|
-
limit: number;
|
|
26
25
|
removable: boolean;
|
|
26
|
+
limit: number;
|
|
27
27
|
showCounter: boolean;
|
|
28
28
|
selectClass: import("vue").HTMLAttributes["class"];
|
|
29
29
|
resetOnTypeChange: boolean;
|
|
@@ -148,7 +148,7 @@ export declare const useChatStore: import("pinia").StoreDefinition<"pukaad-chat"
|
|
|
148
148
|
startRealtime: () => void;
|
|
149
149
|
stopRealtime: () => void;
|
|
150
150
|
resync: (activeConversationId?: string) => Promise<void>;
|
|
151
|
-
}, "headers" | "
|
|
151
|
+
}, "headers" | "conversations" | "unreadFirst" | "hasMoreConversations" | "hasLoadedConversations" | "isLoadingConversations" | "peerLastRead" | "messages" | "hasOlder" | "isLoadingOlder" | "isConnected" | "unreadChatCount">, Pick<{
|
|
152
152
|
conversations: import("vue").Ref<{
|
|
153
153
|
id: string;
|
|
154
154
|
profile: {
|
|
@@ -446,4 +446,4 @@ export declare const useChatStore: import("pinia").StoreDefinition<"pukaad-chat"
|
|
|
446
446
|
startRealtime: () => void;
|
|
447
447
|
stopRealtime: () => void;
|
|
448
448
|
resync: (activeConversationId?: string) => Promise<void>;
|
|
449
|
-
}, "reset" | "
|
|
449
|
+
}, "reset" | "setUnreadFirst" | "setMyProfileId" | "fetchConversations" | "fetchConversation" | "fetchLatestMessages" | "fetchOlderMessages" | "sendMessage" | "sendMedia" | "sendShare" | "retryMessage" | "markRead" | "isReadByPeer" | "unreadCountOf" | "startUnreadBadge" | "stopUnreadBadge" | "previewOf" | "sendTyping" | "isPeerTyping" | "deleteMessage" | "startRealtime" | "stopRealtime" | "resync">>;
|
|
@@ -215,4 +215,4 @@ export declare const useNotificationStore: import("pinia").StoreDefinition<"noti
|
|
|
215
215
|
openDrawer: () => void;
|
|
216
216
|
closeDrawer: () => void;
|
|
217
217
|
toggleDrawer: () => void;
|
|
218
|
-
}, "
|
|
218
|
+
}, "markRead" | "fetchList" | "loadMore" | "prefetch" | "markAllRead" | "fetchUnreadCount" | "initRealtime" | "closeRealtime" | "setUnreadCount" | "openDrawer" | "closeDrawer" | "toggleDrawer">>;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|