pukaad-ui-lib 1.459.0 → 1.460.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-color-post-it.d.vue.ts +10 -0
- package/dist/runtime/components/card/card-color-post-it.vue +46 -0
- package/dist/runtime/components/card/card-color-post-it.vue.d.ts +10 -0
- package/dist/runtime/components/card/card-mention/card-mention.d.vue.ts +1 -0
- package/dist/runtime/components/card/card-mention/card-mention.vue +5 -5
- package/dist/runtime/components/card/card-mention/card-mention.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-address.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-address.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-birth-date.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-birth-date.vue.d.ts +1 -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-date-picker.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-date-picker.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-mention.d.vue.ts +1 -0
- package/dist/runtime/components/input/input-mention.vue +4 -1
- package/dist/runtime/components/input/input-mention.vue.d.ts +1 -0
- package/dist/runtime/components/input/input-tag-modal.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag-modal.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-password-confirmed.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-password-verify.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-password-verify.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/dist/runtime/composables/useContentCard.js +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CardColorPostItProps {
|
|
2
|
+
color?: string;
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<CardColorPostItProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardColorPostItProps> & Readonly<{}>, {
|
|
6
|
+
size: number;
|
|
7
|
+
color: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex">
|
|
3
|
+
<div
|
|
4
|
+
class="rounded-[4px] shrink-0 flex items-center justify-center"
|
|
5
|
+
:style="{
|
|
6
|
+
width: `${props.size}px`,
|
|
7
|
+
height: `${props.size}px`,
|
|
8
|
+
backgroundColor: background,
|
|
9
|
+
color: iconColor
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<Icon name="fa6-solid:message" size="24" />
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script setup>
|
|
18
|
+
import { computed } from "vue";
|
|
19
|
+
const props = defineProps({
|
|
20
|
+
color: { type: String, required: false, default: "" },
|
|
21
|
+
size: { type: Number, required: false, default: 40 }
|
|
22
|
+
});
|
|
23
|
+
const DEFAULT_BACKGROUND = "#E6DEFF";
|
|
24
|
+
const DEFAULT_ICON_COLOR = "#8836F1";
|
|
25
|
+
const ICON_COLORS = {
|
|
26
|
+
"#E6DEFF": "#8836F1",
|
|
27
|
+
"#C9E8FF": "#1976B8",
|
|
28
|
+
"#DEFFE1": "#23AA99",
|
|
29
|
+
"#FFF5C2": "#FFD233",
|
|
30
|
+
"#FFDDDD": "#F80003",
|
|
31
|
+
// #FDD
|
|
32
|
+
"#FFDAC3": "#ED4D2D",
|
|
33
|
+
"#FFE6F4": "#F50D71"
|
|
34
|
+
};
|
|
35
|
+
const normalizeHex = (hex) => {
|
|
36
|
+
const value = hex.trim().toUpperCase();
|
|
37
|
+
if (/^#[0-9A-F]{3}$/.test(value)) {
|
|
38
|
+
return `#${value.slice(1).split("").map((c) => c + c).join("")}`;
|
|
39
|
+
}
|
|
40
|
+
return value;
|
|
41
|
+
};
|
|
42
|
+
const background = computed(() => props.color?.trim() || DEFAULT_BACKGROUND);
|
|
43
|
+
const iconColor = computed(
|
|
44
|
+
() => ICON_COLORS[normalizeHex(background.value)] ?? DEFAULT_ICON_COLOR
|
|
45
|
+
);
|
|
46
|
+
</script>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CardColorPostItProps {
|
|
2
|
+
color?: string;
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<CardColorPostItProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardColorPostItProps> & Readonly<{}>, {
|
|
6
|
+
size: number;
|
|
7
|
+
color: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex gap-[8px] items-center w-full min-w-0 contain-inline-size">
|
|
3
3
|
<template v-if="isPost">
|
|
4
|
-
<
|
|
4
|
+
<CardColorPostIt
|
|
5
5
|
v-if="props.item.contentType === 'post-it'"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
</div>
|
|
6
|
+
:color="props.item.coverColor"
|
|
7
|
+
class="shrink-0"
|
|
8
|
+
/>
|
|
10
9
|
<div
|
|
11
10
|
v-else-if="props.item.contentType === 'video'"
|
|
12
11
|
class="relative w-[40px] h-[40px] shrink-0 bg-black/20 rounded-[4px]"
|
|
@@ -83,6 +82,7 @@
|
|
|
83
82
|
|
|
84
83
|
<script setup>
|
|
85
84
|
import { computed } from "vue";
|
|
85
|
+
import CardColorPostIt from "../card-color-post-it.vue";
|
|
86
86
|
const props = defineProps({
|
|
87
87
|
item: { type: Object, required: true },
|
|
88
88
|
selected: { type: Boolean, required: false, default: false },
|
|
@@ -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;
|
|
@@ -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;
|
|
106
105
|
sources: DisplayVideoSource[];
|
|
107
106
|
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;
|
|
106
105
|
sources: DisplayVideoSource[];
|
|
107
106
|
tracks: DisplayVideoTrack[];
|
|
107
|
+
playsinline: boolean;
|
|
108
108
|
disablePictureInPicture: boolean;
|
|
109
109
|
disableRemotePlayback: boolean;
|
|
110
110
|
volume: number;
|
|
@@ -64,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
67
68
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
68
69
|
responsive: boolean;
|
|
69
70
|
restore: boolean;
|
|
@@ -72,7 +73,6 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
72
73
|
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -64,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
+
background: boolean;
|
|
67
68
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
68
69
|
responsive: boolean;
|
|
69
70
|
restore: boolean;
|
|
@@ -72,7 +73,6 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
72
73
|
modal: boolean;
|
|
73
74
|
guides: boolean;
|
|
74
75
|
highlight: boolean;
|
|
75
|
-
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: 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
|
-
placeholder: string;
|
|
54
53
|
layout: "vertical" | "horizontal";
|
|
54
|
+
placeholder: string;
|
|
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
|
-
placeholder: string;
|
|
54
53
|
layout: "vertical" | "horizontal";
|
|
54
|
+
placeholder: string;
|
|
55
55
|
labelDetail: string;
|
|
56
56
|
placeholderDetail: string;
|
|
57
57
|
requiredDetail: boolean;
|
|
@@ -69,9 +69,9 @@ 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[];
|
|
72
73
|
labelKey: string;
|
|
73
74
|
placeholder: string;
|
|
74
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
75
75
|
limit: number;
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: boolean;
|
|
@@ -69,9 +69,9 @@ 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[];
|
|
72
73
|
labelKey: string;
|
|
73
74
|
placeholder: string;
|
|
74
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
75
75
|
limit: number;
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: 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";
|
|
33
34
|
locale: string;
|
|
34
35
|
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";
|
|
33
34
|
locale: string;
|
|
34
35
|
placeholder: string;
|
|
35
|
-
layout: "month-and-year" | "month-only" | "year-only";
|
|
36
36
|
disabledErrorMessage: boolean;
|
|
37
37
|
dateFormat: string;
|
|
38
38
|
minAge: number;
|
|
@@ -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";
|
|
47
48
|
locale: string;
|
|
48
49
|
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";
|
|
47
48
|
locale: string;
|
|
48
49
|
placeholder: string;
|
|
49
|
-
layout: "month-and-year" | "month-only" | "year-only";
|
|
50
50
|
disabledErrorMessage: boolean;
|
|
51
51
|
dateFormat: string;
|
|
52
52
|
showTime: boolean;
|
|
@@ -11,8 +11,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
label: string;
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
|
-
placeholder: string;
|
|
15
14
|
options: InputSelectItem[];
|
|
15
|
+
placeholder: string;
|
|
16
16
|
limit: number;
|
|
17
17
|
removable: boolean;
|
|
18
18
|
showCounter: boolean;
|
|
@@ -11,8 +11,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
label: string;
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
|
-
placeholder: string;
|
|
15
14
|
options: InputSelectItem[];
|
|
15
|
+
placeholder: string;
|
|
16
16
|
limit: number;
|
|
17
17
|
removable: boolean;
|
|
18
18
|
showCounter: boolean;
|
|
@@ -157,6 +157,7 @@ const mapPost = (raw) => {
|
|
|
157
157
|
mentionType: "post",
|
|
158
158
|
title: raw.cover_text?.trim() || raw.description?.trim() || "",
|
|
159
159
|
contentType,
|
|
160
|
+
coverColor: contentType === "post-it" ? raw.cover_color : void 0,
|
|
160
161
|
image: contentType === "image" ? raw.media?.[0]?.url ?? null : null,
|
|
161
162
|
thumbnail: contentType === "video" ? raw.video_poster_url : void 0,
|
|
162
163
|
placeName: raw.places?.[0]?.name || void 0
|
|
@@ -272,7 +273,8 @@ const toMentionItem = (card) => ({
|
|
|
272
273
|
mentionType: card.mentionType,
|
|
273
274
|
placeName: card.placeName,
|
|
274
275
|
authorName: card.author?.name,
|
|
275
|
-
authorAvatar: card.author?.avatar ?? void 0
|
|
276
|
+
authorAvatar: card.author?.avatar ?? void 0,
|
|
277
|
+
coverColor: card.coverColor
|
|
276
278
|
});
|
|
277
279
|
const fromMentionItem = (item) => {
|
|
278
280
|
const mentionType = item.mentionType === "blog" || item.mentionType === "link" ? item.mentionType : "post";
|
|
@@ -281,6 +283,7 @@ const fromMentionItem = (item) => {
|
|
|
281
283
|
mentionType,
|
|
282
284
|
title: item.title,
|
|
283
285
|
contentType: mentionType === "post" ? item.type : void 0,
|
|
286
|
+
coverColor: item.coverColor,
|
|
284
287
|
image: item.image,
|
|
285
288
|
thumbnail: item.thumnail,
|
|
286
289
|
placeName: item.placeName,
|
|
@@ -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[];
|
|
43
44
|
labelKey: string;
|
|
44
45
|
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[];
|
|
43
44
|
labelKey: string;
|
|
44
45
|
placeholder: string;
|
|
45
|
-
options: InputTagModalOption[];
|
|
46
46
|
disabledErrorMessage: boolean;
|
|
47
47
|
valueKey: string;
|
|
48
48
|
searchPlaceholder: string;
|
|
@@ -26,8 +26,8 @@ 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;
|
|
30
29
|
state: "user" | "admin";
|
|
30
|
+
placeholder: string;
|
|
31
31
|
limit: number;
|
|
32
32
|
profileScope: "personal" | "business";
|
|
33
33
|
ignore: string[];
|
|
@@ -26,8 +26,8 @@ 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;
|
|
30
29
|
state: "user" | "admin";
|
|
30
|
+
placeholder: string;
|
|
31
31
|
limit: number;
|
|
32
32
|
profileScope: "personal" | "business";
|
|
33
33
|
ignore: string[];
|
|
@@ -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;
|
|
@@ -121,7 +121,7 @@ export declare const useChatStore: import("pinia").StoreDefinition<"pukaad-chat"
|
|
|
121
121
|
startRealtime: () => void;
|
|
122
122
|
stopRealtime: () => void;
|
|
123
123
|
resync: (activeConversationId?: string) => Promise<void>;
|
|
124
|
-
}, "headers" | "conversations" | "unreadFirst" | "hasMoreConversations" | "hasLoadedConversations" | "isLoadingConversations" | "peerLastRead" | "messages" | "hasOlder" | "isLoadingOlder" | "
|
|
124
|
+
}, "headers" | "isConnected" | "conversations" | "unreadFirst" | "hasMoreConversations" | "hasLoadedConversations" | "isLoadingConversations" | "peerLastRead" | "messages" | "hasOlder" | "isLoadingOlder" | "unreadChatCount">, Pick<{
|
|
125
125
|
conversations: import("vue").Ref<{
|
|
126
126
|
id: string;
|
|
127
127
|
profile: {
|
|
@@ -365,4 +365,4 @@ export declare const useChatStore: import("pinia").StoreDefinition<"pukaad-chat"
|
|
|
365
365
|
startRealtime: () => void;
|
|
366
366
|
stopRealtime: () => void;
|
|
367
367
|
resync: (activeConversationId?: string) => Promise<void>;
|
|
368
|
-
}, "reset" | "setUnreadFirst" | "setMyProfileId" | "fetchConversations" | "fetchConversation" | "fetchLatestMessages" | "fetchOlderMessages" | "sendMessage" | "sendMedia" | "retryMessage" | "
|
|
368
|
+
}, "reset" | "markRead" | "setUnreadFirst" | "setMyProfileId" | "fetchConversations" | "fetchConversation" | "fetchLatestMessages" | "fetchOlderMessages" | "sendMessage" | "sendMedia" | "retryMessage" | "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
|
+
}, "fetchList" | "loadMore" | "prefetch" | "markRead" | "markAllRead" | "fetchUnreadCount" | "initRealtime" | "closeRealtime" | "setUnreadCount" | "openDrawer" | "closeDrawer" | "toggleDrawer">>;
|
|
@@ -3,6 +3,7 @@ export const CONTENT_COVER_COLORS = [
|
|
|
3
3
|
{ hex: "#C9E8FF", name: "blue-info" },
|
|
4
4
|
{ hex: "#DEFFE1", name: "green-info" },
|
|
5
5
|
{ hex: "#FFF5C2", name: "yellow-info" },
|
|
6
|
+
{ hex: "#FFDAC3", name: "orange-info" },
|
|
6
7
|
{ hex: "#FDD", name: "red-info" },
|
|
7
8
|
{ hex: "#FFE6F4", name: "pink-info" }
|
|
8
9
|
];
|