@voicenter-team/voicenter-ui-plus 3.4.4 → 3.4.6
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/README.md +502 -502
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAvatar/VcAvatar.css +1 -0
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -0
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -0
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -0
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -0
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageAudioBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -0
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -0
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/components/VcAvatar/VcAvatar.vue.mjs +62 -0
- package/library/components/VcAvatar/VcAvatar.vue3.mjs +5 -0
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +31 -0
- package/library/components/VcBadgeTag/VcBadgeTag.vue3.mjs +5 -0
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +554 -0
- package/library/components/VcChatComposer/VcChatComposer.vue3.mjs +5 -0
- package/library/components/VcChatComposer/richText.mjs +320 -0
- package/library/components/VcEmojiPicker/VcEmojiPicker.vue.mjs +387 -0
- package/library/components/VcEmojiPicker/VcEmojiPicker.vue3.mjs +5 -0
- package/library/components/VcEmojiPicker/emojiData.mjs +26 -0
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +146 -0
- package/library/components/VcFileUploader/VcFileItem.vue3.mjs +5 -0
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +24 -147
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMessage/VcMessage.vue.mjs +212 -0
- package/library/components/VcMessage/VcMessage.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue.mjs +53 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +80 -0
- package/library/components/VcMessage/content/VcMessageFileBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageImageBlock.vue.mjs +57 -0
- package/library/components/VcMessage/content/VcMessageImageBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +19 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +17 -0
- package/library/components/VcMessage/reactions/VcMessageEmojiPicker.vue.mjs +167 -0
- package/library/components/VcMessage/reactions/VcMessageEmojiPicker.vue3.mjs +5 -0
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +82 -0
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue3.mjs +5 -0
- package/library/components/VcMessage/reactions/emojis.mjs +4 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +243 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue3.mjs +5 -0
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSoundplayer/useSoundPlayerProvideInject.mjs +1 -1
- package/library/composables/useAudioRecorder.mjs +120 -0
- package/library/enum/fileTypes.mjs +51 -0
- package/library/index.mjs +237 -216
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +24 -1
- package/library/plugin-components.gen.mjs +171 -150
- package/library/plugin.mjs +235 -214
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +42 -16
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +47 -0
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +42 -0
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +81 -0
- package/library/types/components/VcChatComposer/richText.d.ts +12 -0
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +1 -1
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +63 -0
- package/library/types/components/VcEmojiPicker/emojiData.d.ts +16 -0
- package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +2 -2
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +85 -0
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +3 -3
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +17 -18
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +3 -3
- package/library/types/components/VcForm/VcForm.vue.d.ts +1 -1
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +66 -0
- package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +28 -0
- package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/messageContentComponents.d.ts +3 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +68 -0
- package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +28 -0
- package/library/types/components/VcMessage/reactions/emojis.d.ts +1 -0
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +71 -0
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +3 -3
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +6 -6
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +3 -3
- package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +1 -1
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +15 -1
- package/library/types/components.gen.d.ts +7 -0
- package/library/types/composables/useAudioRecorder.d.ts +18 -0
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +3 -3
- package/library/types/enum/fileTypes.d.ts +3 -0
- package/library/types/localization/locales/en.json.d.ts +187 -164
- package/library/types/theme/themes.json.d.ts +227 -227
- package/library/types/types/VcAvatar.types.d.ts +35 -0
- package/library/types/types/VcBadgeTag.types.d.ts +19 -0
- package/library/types/types/VcChatComposer.types.d.ts +112 -0
- package/library/types/types/VcEmojiPicker.types.d.ts +20 -0
- package/library/types/types/VcFileUploader.types.d.ts +4 -0
- package/library/types/types/VcMessage.types.d.ts +131 -0
- package/library/types/types/VcMessagesWrapper.types.d.ts +61 -0
- package/library/types/types/index.d.ts +6 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +215 -185
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +37 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +40 -40
- package/src/theme/themes.json +227 -227
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +192 -192
|
@@ -1,230 +1,230 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"blue": {
|
|
3
|
-
"card-shadow-color": "#E0E2E5",
|
|
4
|
-
"card-bg-color": "#fff",
|
|
5
|
-
"table-shadow-color": "#EBEBEB",
|
|
6
|
-
"default-text": "#263148",
|
|
7
|
-
"primary-text": "#263148",
|
|
8
|
-
"secondary-text": "#567391",
|
|
9
|
-
"heading-text": "#263148",
|
|
10
|
-
"active-elements": "#2675FF",
|
|
11
|
-
"inactive-elements": "#BEC2C9",
|
|
12
|
-
"primary": "#2675FF",
|
|
13
|
-
"primary-alternative": "#2675FF",
|
|
14
|
-
"secondary": "#BEC2C9",
|
|
15
|
-
"destructive": "#FF4D4D",
|
|
16
|
-
"ui-lines": "#EBEBEB",
|
|
17
|
-
"major-ui-lines": "#E0E2E5",
|
|
18
|
-
"progress-line-done": "#2675FF",
|
|
19
|
-
"progress-line-not-done": "#BEC2C9",
|
|
20
|
-
"icons": "#2675FF",
|
|
21
|
-
"headers": "#263148",
|
|
22
|
-
"placeholders": "#9EA6B2",
|
|
23
|
-
"field-borders": "#EBEBEB",
|
|
24
|
-
"field-bg": "#FFFFFF",
|
|
25
|
-
"table-headings": "#2675FF",
|
|
26
|
-
"inactive-text": "#888F9D",
|
|
27
|
-
"default-loader": "#FFFFFF",
|
|
28
|
-
"skeleton-loader": "#EDEDED",
|
|
29
|
-
"skeleton-loader-animation": "#ffffff59",
|
|
30
|
-
"transparent": "transparent",
|
|
31
|
-
"current": "currentColor",
|
|
32
|
-
"error": "#FF4D4D",
|
|
33
|
-
"success": "#7ED321",
|
|
34
|
-
"warning": "#FAB11E",
|
|
35
|
-
"white": "#FFFFFF",
|
|
36
|
-
"black": "#000000",
|
|
37
|
-
"light-bg": "#FFFFFF",
|
|
38
|
-
"main-bg": "#F5F6FA",
|
|
39
|
-
"dark-bg": "#E0E2E5",
|
|
40
|
-
"btn-filled-text": "#FFF",
|
|
41
|
-
"overlay-bg": "#000",
|
|
42
|
-
"scrollbar-track": "#f1f1f1",
|
|
43
|
-
"scrollbar-thumb": "#888",
|
|
44
|
-
"scrollbar-thumb-hover": "#555",
|
|
45
|
-
"actions-mix-color": "#000000"
|
|
46
|
-
},
|
|
47
|
-
"red": {
|
|
48
|
-
"card-shadow-color": "#CCCCCC",
|
|
49
|
-
"card-bg-color": "#fff",
|
|
50
|
-
"table-shadow-color": "#EBEBEB",
|
|
51
|
-
"default-text": "#575757",
|
|
52
|
-
"heading-text": "#575757",
|
|
53
|
-
"primary-text": "#263148",
|
|
54
|
-
"secondary-text": "#567391",
|
|
55
|
-
"active-elements": "#5969E4",
|
|
56
|
-
"inactive-elements": "#8292A5",
|
|
57
|
-
"primary-alternative": "#EC444D",
|
|
58
|
-
"primary": "#fc0303",
|
|
59
|
-
"secondary": "#8292A5",
|
|
60
|
-
"destructive": "#EC444D",
|
|
61
|
-
"ui-lines": "#E0E2E5",
|
|
62
|
-
"major-ui-lines": "#FFCCCE",
|
|
63
|
-
"progress-line-done": "#575757",
|
|
64
|
-
"progress-line-not-done": "#8292A5",
|
|
65
|
-
"icons": "#0E5263",
|
|
66
|
-
"headers": "#263148",
|
|
67
|
-
"placeholders": "#9EA6B2",
|
|
68
|
-
"field-borders": "#BEC2C9",
|
|
69
|
-
"field-bg": "#FFFFFF",
|
|
70
|
-
"table-headings": "#0E5263",
|
|
71
|
-
"inactive-text": "#888F9D",
|
|
72
|
-
"default-loader": "#FFFFFF",
|
|
73
|
-
"skeleton-loader": "#EDEDED",
|
|
74
|
-
"skeleton-loader-animation": "#ffffff59",
|
|
75
|
-
"transparent": "transparent",
|
|
76
|
-
"current": "currentColor",
|
|
77
|
-
"error": "#EC444D",
|
|
78
|
-
"success": "#0EB886",
|
|
79
|
-
"warning": "#ECA944",
|
|
80
|
-
"white": "#FFFFFF",
|
|
81
|
-
"black": "#000000",
|
|
82
|
-
"light-bg": "#FFFFFF",
|
|
83
|
-
"main-bg": "#F7FAFC",
|
|
84
|
-
"dark-bg": "#FFCCCE",
|
|
85
|
-
"btn-filled-text": "#FFF",
|
|
86
|
-
"overlay-bg": "#000",
|
|
87
|
-
"scrollbar-track": "#f1f1f1",
|
|
88
|
-
"scrollbar-thumb": "#888",
|
|
89
|
-
"scrollbar-thumb-hover": "#555",
|
|
90
|
-
"actions-mix-color": "#000000"
|
|
91
|
-
},
|
|
92
|
-
"redGreen": {
|
|
93
|
-
"card-shadow-color": "#CCCCCC",
|
|
94
|
-
"card-bg-color": "#fff",
|
|
95
|
-
"table-shadow-color": "#EBEBEB",
|
|
96
|
-
"default-text": "#263148",
|
|
97
|
-
"heading-text": "#263148",
|
|
98
|
-
"primary-text": "#263148",
|
|
99
|
-
"secondary-text": "#567391",
|
|
100
|
-
"active-elements": "#D34C4C",
|
|
101
|
-
"inactive-elements": "#8292A5",
|
|
102
|
-
"primary-alternative": "#19815A",
|
|
103
|
-
"primary": "#D34C4C",
|
|
104
|
-
"secondary": "#8292A5",
|
|
105
|
-
"destructive": "#FF4D4D",
|
|
106
|
-
"ui-lines": "#E0E2E5",
|
|
107
|
-
"major-ui-lines": "#FFCCCE",
|
|
108
|
-
"progress-line-done": "#575757",
|
|
109
|
-
"progress-line-not-done": "#8292A5",
|
|
110
|
-
"icons": "#D34C4C",
|
|
111
|
-
"headers": "#263148",
|
|
112
|
-
"placeholders": "#9EA6B2",
|
|
113
|
-
"field-borders": "#BEC2C9",
|
|
114
|
-
"field-bg": "#FFFFFF",
|
|
115
|
-
"table-headings": "#D34C4C",
|
|
116
|
-
"inactive-text": "#888F9D",
|
|
117
|
-
"default-loader": "#FFFFFF",
|
|
118
|
-
"skeleton-loader": "#EDEDED",
|
|
119
|
-
"skeleton-loader-animation": "#ffffff59",
|
|
120
|
-
"transparent": "transparent",
|
|
121
|
-
"current": "currentColor",
|
|
122
|
-
"error": "#EC444D",
|
|
123
|
-
"success": "#0EB886",
|
|
124
|
-
"warning": "#ECA944",
|
|
125
|
-
"white": "#FFFFFF",
|
|
126
|
-
"black": "#000000",
|
|
127
|
-
"light-bg": "#FFFFFF",
|
|
128
|
-
"main-bg": "#F7FAFC",
|
|
129
|
-
"dark-bg": "#FFCCCE",
|
|
130
|
-
"btn-filled-text": "#FFF",
|
|
131
|
-
"overlay-bg": "#000",
|
|
132
|
-
"scrollbar-track": "#f1f1f1",
|
|
133
|
-
"scrollbar-thumb": "#888",
|
|
134
|
-
"scrollbar-thumb-hover": "#555",
|
|
135
|
-
"actions-mix-color": "#000000"
|
|
136
|
-
},
|
|
137
|
-
"black": {
|
|
138
|
-
"default-text": "#FFF",
|
|
139
|
-
"heading-text": "#FFF",
|
|
140
|
-
"primary-text": "#FFF",
|
|
141
|
-
"secondary-text": "#FFF",
|
|
142
|
-
"card-shadow-color": "#EBEBEB",
|
|
143
|
-
"card-bg-color": "#000",
|
|
144
|
-
"active-elements": "#D34C4C",
|
|
145
|
-
"inactive-elements": "#8292A5",
|
|
146
|
-
"primary-alternative": "#0f8ea7",
|
|
147
|
-
"primary": "#D34C4C",
|
|
148
|
-
"secondary": "#8292A5",
|
|
149
|
-
"destructive": "#711132",
|
|
150
|
-
"ui-lines": "#474747",
|
|
151
|
-
"major-ui-lines": "#E0E2E5",
|
|
152
|
-
"progress-line-done": "#575757",
|
|
153
|
-
"progress-line-not-done": "#363636",
|
|
154
|
-
"icons": "#07687B",
|
|
155
|
-
"headers": "#338ea9",
|
|
156
|
-
"placeholders": "#CCCCCC",
|
|
157
|
-
"field-borders": "#E0E2E5",
|
|
158
|
-
"field-bg": "#151515",
|
|
159
|
-
"table-headings": "#338ea9",
|
|
160
|
-
"table-shadow-color": "#EBEBEB",
|
|
161
|
-
"inactive-text": "#CCCCCC",
|
|
162
|
-
"default-loader": "#FFFFFF",
|
|
163
|
-
"skeleton-loader": "#3b3d41",
|
|
164
|
-
"skeleton-loader-animation": "#00000059",
|
|
165
|
-
"error": "#dc3643",
|
|
166
|
-
"success": "#13a363",
|
|
167
|
-
"warning": "#ffb341",
|
|
168
|
-
"transparent": "transparent",
|
|
169
|
-
"current": "currentColor",
|
|
170
|
-
"white": "#FFFFFF",
|
|
171
|
-
"black": "#000000",
|
|
172
|
-
"light-bg": "#000",
|
|
173
|
-
"main-bg": "#202124",
|
|
174
|
-
"dark-bg": "#131212",
|
|
175
|
-
"btn-filled-text": "#FFF",
|
|
176
|
-
"overlay-bg": "#636c78",
|
|
177
|
-
"scrollbar-track": "#f1f1f1",
|
|
178
|
-
"scrollbar-thumb": "#888",
|
|
179
|
-
"scrollbar-thumb-hover": "#555",
|
|
180
|
-
"actions-mix-color": "#FFF"
|
|
181
|
-
},
|
|
182
|
-
"voicenterRed": {
|
|
183
|
-
"card-shadow-color": "#0000001f",
|
|
184
|
-
"card-bg-color": "#ffffff",
|
|
185
|
-
"table-shadow-color": "#00000012",
|
|
186
|
-
"default-text": "#525D70",
|
|
187
|
-
"heading-text": "#161922",
|
|
188
|
-
"primary-text": "#161922",
|
|
189
|
-
"secondary-text": "#525D70",
|
|
190
|
-
"active-elements": "#E80130",
|
|
191
|
-
"inactive-elements": "#A6B0C0",
|
|
192
|
-
"primary-alternative": "#cf1137",
|
|
193
|
-
"primary": "#E80130",
|
|
194
|
-
"secondary": "#567391",
|
|
195
|
-
"destructive": "#720118",
|
|
196
|
-
"ui-lines": "#E2E6EE",
|
|
197
|
-
"major-ui-lines": "#CDD4E0",
|
|
198
|
-
"progress-line-done": "#0eb886",
|
|
199
|
-
"progress-line-not-done": "#cfd8e1",
|
|
200
|
-
"icons": "#161922",
|
|
201
|
-
"headers": "#161922",
|
|
202
|
-
"placeholders": "#567391",
|
|
203
|
-
"field-borders": "#CDD4E0",
|
|
204
|
-
"field-bg": "#FFFFFF",
|
|
205
|
-
"table-headings": "#161922",
|
|
206
|
-
"inactive-text": "#A6B0C0",
|
|
207
|
-
"default-loader": "#FFFFFF",
|
|
208
|
-
"skeleton-loader": "#EEF1F4",
|
|
209
|
-
"skeleton-loader-animation": "#ffffff59",
|
|
210
|
-
"transparent": "transparent",
|
|
211
|
-
"current": "currentColor",
|
|
212
|
-
"error": "#720118",
|
|
213
|
-
"success": "#0eb886",
|
|
214
|
-
"warning": "#D67804",
|
|
215
|
-
"white": "#FFFFFF",
|
|
216
|
-
"black": "#000000",
|
|
217
|
-
"light-bg": "#FFFFFF",
|
|
218
|
-
"main-bg": "#F8F9FB",
|
|
219
|
-
"dark-bg": "#EEF1F4",
|
|
220
|
-
"btn-filled-text": "#FFFFFF",
|
|
221
|
-
"overlay-bg": "#161922",
|
|
222
|
-
"scrollbar-track": "#FFFFFF",
|
|
223
|
-
"scrollbar-thumb": "#E2E6EE",
|
|
224
|
-
"scrollbar-thumb-hover": "#949EAF",
|
|
225
|
-
"actions-mix-color": "#161922"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"blue": {
|
|
3
|
+
"card-shadow-color": "#E0E2E5",
|
|
4
|
+
"card-bg-color": "#fff",
|
|
5
|
+
"table-shadow-color": "#EBEBEB",
|
|
6
|
+
"default-text": "#263148",
|
|
7
|
+
"primary-text": "#263148",
|
|
8
|
+
"secondary-text": "#567391",
|
|
9
|
+
"heading-text": "#263148",
|
|
10
|
+
"active-elements": "#2675FF",
|
|
11
|
+
"inactive-elements": "#BEC2C9",
|
|
12
|
+
"primary": "#2675FF",
|
|
13
|
+
"primary-alternative": "#2675FF",
|
|
14
|
+
"secondary": "#BEC2C9",
|
|
15
|
+
"destructive": "#FF4D4D",
|
|
16
|
+
"ui-lines": "#EBEBEB",
|
|
17
|
+
"major-ui-lines": "#E0E2E5",
|
|
18
|
+
"progress-line-done": "#2675FF",
|
|
19
|
+
"progress-line-not-done": "#BEC2C9",
|
|
20
|
+
"icons": "#2675FF",
|
|
21
|
+
"headers": "#263148",
|
|
22
|
+
"placeholders": "#9EA6B2",
|
|
23
|
+
"field-borders": "#EBEBEB",
|
|
24
|
+
"field-bg": "#FFFFFF",
|
|
25
|
+
"table-headings": "#2675FF",
|
|
26
|
+
"inactive-text": "#888F9D",
|
|
27
|
+
"default-loader": "#FFFFFF",
|
|
28
|
+
"skeleton-loader": "#EDEDED",
|
|
29
|
+
"skeleton-loader-animation": "#ffffff59",
|
|
30
|
+
"transparent": "transparent",
|
|
31
|
+
"current": "currentColor",
|
|
32
|
+
"error": "#FF4D4D",
|
|
33
|
+
"success": "#7ED321",
|
|
34
|
+
"warning": "#FAB11E",
|
|
35
|
+
"white": "#FFFFFF",
|
|
36
|
+
"black": "#000000",
|
|
37
|
+
"light-bg": "#FFFFFF",
|
|
38
|
+
"main-bg": "#F5F6FA",
|
|
39
|
+
"dark-bg": "#E0E2E5",
|
|
40
|
+
"btn-filled-text": "#FFF",
|
|
41
|
+
"overlay-bg": "#000",
|
|
42
|
+
"scrollbar-track": "#f1f1f1",
|
|
43
|
+
"scrollbar-thumb": "#888",
|
|
44
|
+
"scrollbar-thumb-hover": "#555",
|
|
45
|
+
"actions-mix-color": "#000000"
|
|
46
|
+
},
|
|
47
|
+
"red": {
|
|
48
|
+
"card-shadow-color": "#CCCCCC",
|
|
49
|
+
"card-bg-color": "#fff",
|
|
50
|
+
"table-shadow-color": "#EBEBEB",
|
|
51
|
+
"default-text": "#575757",
|
|
52
|
+
"heading-text": "#575757",
|
|
53
|
+
"primary-text": "#263148",
|
|
54
|
+
"secondary-text": "#567391",
|
|
55
|
+
"active-elements": "#5969E4",
|
|
56
|
+
"inactive-elements": "#8292A5",
|
|
57
|
+
"primary-alternative": "#EC444D",
|
|
58
|
+
"primary": "#fc0303",
|
|
59
|
+
"secondary": "#8292A5",
|
|
60
|
+
"destructive": "#EC444D",
|
|
61
|
+
"ui-lines": "#E0E2E5",
|
|
62
|
+
"major-ui-lines": "#FFCCCE",
|
|
63
|
+
"progress-line-done": "#575757",
|
|
64
|
+
"progress-line-not-done": "#8292A5",
|
|
65
|
+
"icons": "#0E5263",
|
|
66
|
+
"headers": "#263148",
|
|
67
|
+
"placeholders": "#9EA6B2",
|
|
68
|
+
"field-borders": "#BEC2C9",
|
|
69
|
+
"field-bg": "#FFFFFF",
|
|
70
|
+
"table-headings": "#0E5263",
|
|
71
|
+
"inactive-text": "#888F9D",
|
|
72
|
+
"default-loader": "#FFFFFF",
|
|
73
|
+
"skeleton-loader": "#EDEDED",
|
|
74
|
+
"skeleton-loader-animation": "#ffffff59",
|
|
75
|
+
"transparent": "transparent",
|
|
76
|
+
"current": "currentColor",
|
|
77
|
+
"error": "#EC444D",
|
|
78
|
+
"success": "#0EB886",
|
|
79
|
+
"warning": "#ECA944",
|
|
80
|
+
"white": "#FFFFFF",
|
|
81
|
+
"black": "#000000",
|
|
82
|
+
"light-bg": "#FFFFFF",
|
|
83
|
+
"main-bg": "#F7FAFC",
|
|
84
|
+
"dark-bg": "#FFCCCE",
|
|
85
|
+
"btn-filled-text": "#FFF",
|
|
86
|
+
"overlay-bg": "#000",
|
|
87
|
+
"scrollbar-track": "#f1f1f1",
|
|
88
|
+
"scrollbar-thumb": "#888",
|
|
89
|
+
"scrollbar-thumb-hover": "#555",
|
|
90
|
+
"actions-mix-color": "#000000"
|
|
91
|
+
},
|
|
92
|
+
"redGreen": {
|
|
93
|
+
"card-shadow-color": "#CCCCCC",
|
|
94
|
+
"card-bg-color": "#fff",
|
|
95
|
+
"table-shadow-color": "#EBEBEB",
|
|
96
|
+
"default-text": "#263148",
|
|
97
|
+
"heading-text": "#263148",
|
|
98
|
+
"primary-text": "#263148",
|
|
99
|
+
"secondary-text": "#567391",
|
|
100
|
+
"active-elements": "#D34C4C",
|
|
101
|
+
"inactive-elements": "#8292A5",
|
|
102
|
+
"primary-alternative": "#19815A",
|
|
103
|
+
"primary": "#D34C4C",
|
|
104
|
+
"secondary": "#8292A5",
|
|
105
|
+
"destructive": "#FF4D4D",
|
|
106
|
+
"ui-lines": "#E0E2E5",
|
|
107
|
+
"major-ui-lines": "#FFCCCE",
|
|
108
|
+
"progress-line-done": "#575757",
|
|
109
|
+
"progress-line-not-done": "#8292A5",
|
|
110
|
+
"icons": "#D34C4C",
|
|
111
|
+
"headers": "#263148",
|
|
112
|
+
"placeholders": "#9EA6B2",
|
|
113
|
+
"field-borders": "#BEC2C9",
|
|
114
|
+
"field-bg": "#FFFFFF",
|
|
115
|
+
"table-headings": "#D34C4C",
|
|
116
|
+
"inactive-text": "#888F9D",
|
|
117
|
+
"default-loader": "#FFFFFF",
|
|
118
|
+
"skeleton-loader": "#EDEDED",
|
|
119
|
+
"skeleton-loader-animation": "#ffffff59",
|
|
120
|
+
"transparent": "transparent",
|
|
121
|
+
"current": "currentColor",
|
|
122
|
+
"error": "#EC444D",
|
|
123
|
+
"success": "#0EB886",
|
|
124
|
+
"warning": "#ECA944",
|
|
125
|
+
"white": "#FFFFFF",
|
|
126
|
+
"black": "#000000",
|
|
127
|
+
"light-bg": "#FFFFFF",
|
|
128
|
+
"main-bg": "#F7FAFC",
|
|
129
|
+
"dark-bg": "#FFCCCE",
|
|
130
|
+
"btn-filled-text": "#FFF",
|
|
131
|
+
"overlay-bg": "#000",
|
|
132
|
+
"scrollbar-track": "#f1f1f1",
|
|
133
|
+
"scrollbar-thumb": "#888",
|
|
134
|
+
"scrollbar-thumb-hover": "#555",
|
|
135
|
+
"actions-mix-color": "#000000"
|
|
136
|
+
},
|
|
137
|
+
"black": {
|
|
138
|
+
"default-text": "#FFF",
|
|
139
|
+
"heading-text": "#FFF",
|
|
140
|
+
"primary-text": "#FFF",
|
|
141
|
+
"secondary-text": "#FFF",
|
|
142
|
+
"card-shadow-color": "#EBEBEB",
|
|
143
|
+
"card-bg-color": "#000",
|
|
144
|
+
"active-elements": "#D34C4C",
|
|
145
|
+
"inactive-elements": "#8292A5",
|
|
146
|
+
"primary-alternative": "#0f8ea7",
|
|
147
|
+
"primary": "#D34C4C",
|
|
148
|
+
"secondary": "#8292A5",
|
|
149
|
+
"destructive": "#711132",
|
|
150
|
+
"ui-lines": "#474747",
|
|
151
|
+
"major-ui-lines": "#E0E2E5",
|
|
152
|
+
"progress-line-done": "#575757",
|
|
153
|
+
"progress-line-not-done": "#363636",
|
|
154
|
+
"icons": "#07687B",
|
|
155
|
+
"headers": "#338ea9",
|
|
156
|
+
"placeholders": "#CCCCCC",
|
|
157
|
+
"field-borders": "#E0E2E5",
|
|
158
|
+
"field-bg": "#151515",
|
|
159
|
+
"table-headings": "#338ea9",
|
|
160
|
+
"table-shadow-color": "#EBEBEB",
|
|
161
|
+
"inactive-text": "#CCCCCC",
|
|
162
|
+
"default-loader": "#FFFFFF",
|
|
163
|
+
"skeleton-loader": "#3b3d41",
|
|
164
|
+
"skeleton-loader-animation": "#00000059",
|
|
165
|
+
"error": "#dc3643",
|
|
166
|
+
"success": "#13a363",
|
|
167
|
+
"warning": "#ffb341",
|
|
168
|
+
"transparent": "transparent",
|
|
169
|
+
"current": "currentColor",
|
|
170
|
+
"white": "#FFFFFF",
|
|
171
|
+
"black": "#000000",
|
|
172
|
+
"light-bg": "#000",
|
|
173
|
+
"main-bg": "#202124",
|
|
174
|
+
"dark-bg": "#131212",
|
|
175
|
+
"btn-filled-text": "#FFF",
|
|
176
|
+
"overlay-bg": "#636c78",
|
|
177
|
+
"scrollbar-track": "#f1f1f1",
|
|
178
|
+
"scrollbar-thumb": "#888",
|
|
179
|
+
"scrollbar-thumb-hover": "#555",
|
|
180
|
+
"actions-mix-color": "#FFF"
|
|
181
|
+
},
|
|
182
|
+
"voicenterRed": {
|
|
183
|
+
"card-shadow-color": "#0000001f",
|
|
184
|
+
"card-bg-color": "#ffffff",
|
|
185
|
+
"table-shadow-color": "#00000012",
|
|
186
|
+
"default-text": "#525D70",
|
|
187
|
+
"heading-text": "#161922",
|
|
188
|
+
"primary-text": "#161922",
|
|
189
|
+
"secondary-text": "#525D70",
|
|
190
|
+
"active-elements": "#E80130",
|
|
191
|
+
"inactive-elements": "#A6B0C0",
|
|
192
|
+
"primary-alternative": "#cf1137",
|
|
193
|
+
"primary": "#E80130",
|
|
194
|
+
"secondary": "#567391",
|
|
195
|
+
"destructive": "#720118",
|
|
196
|
+
"ui-lines": "#E2E6EE",
|
|
197
|
+
"major-ui-lines": "#CDD4E0",
|
|
198
|
+
"progress-line-done": "#0eb886",
|
|
199
|
+
"progress-line-not-done": "#cfd8e1",
|
|
200
|
+
"icons": "#161922",
|
|
201
|
+
"headers": "#161922",
|
|
202
|
+
"placeholders": "#567391",
|
|
203
|
+
"field-borders": "#CDD4E0",
|
|
204
|
+
"field-bg": "#FFFFFF",
|
|
205
|
+
"table-headings": "#161922",
|
|
206
|
+
"inactive-text": "#A6B0C0",
|
|
207
|
+
"default-loader": "#FFFFFF",
|
|
208
|
+
"skeleton-loader": "#EEF1F4",
|
|
209
|
+
"skeleton-loader-animation": "#ffffff59",
|
|
210
|
+
"transparent": "transparent",
|
|
211
|
+
"current": "currentColor",
|
|
212
|
+
"error": "#720118",
|
|
213
|
+
"success": "#0eb886",
|
|
214
|
+
"warning": "#D67804",
|
|
215
|
+
"white": "#FFFFFF",
|
|
216
|
+
"black": "#000000",
|
|
217
|
+
"light-bg": "#FFFFFF",
|
|
218
|
+
"main-bg": "#F8F9FB",
|
|
219
|
+
"dark-bg": "#EEF1F4",
|
|
220
|
+
"btn-filled-text": "#FFFFFF",
|
|
221
|
+
"overlay-bg": "#161922",
|
|
222
|
+
"scrollbar-track": "#FFFFFF",
|
|
223
|
+
"scrollbar-thumb": "#E2E6EE",
|
|
224
|
+
"scrollbar-thumb-hover": "#949EAF",
|
|
225
|
+
"actions-mix-color": "#161922"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
228
|
;
|
|
229
229
|
|
|
230
230
|
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* xl — 34px, lg — 32px, md — 26px, sm — 24px, xs — 20px.
|
|
3
|
+
*/
|
|
4
|
+
export type VcAvatarSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
5
|
+
export interface VcAvatarProps {
|
|
6
|
+
/**
|
|
7
|
+
* Image URL. Covers the whole circle; falls back to the initials when it fails to load.
|
|
8
|
+
*/
|
|
9
|
+
src?: string;
|
|
10
|
+
/**
|
|
11
|
+
* One or two letters shown when there is no image. Longer values are cut to two letters.
|
|
12
|
+
*/
|
|
13
|
+
initials?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Image alt and aria-label.
|
|
16
|
+
*/
|
|
17
|
+
alt?: string;
|
|
18
|
+
size?: VcAvatarSize;
|
|
19
|
+
/**
|
|
20
|
+
* Fill color behind the initials. Any CSS color value.
|
|
21
|
+
*/
|
|
22
|
+
color?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Initials color. Any CSS color value.
|
|
25
|
+
*/
|
|
26
|
+
textColor?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Status dot color. The dot is shown only when it is set.
|
|
29
|
+
*/
|
|
30
|
+
statusColor?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Status dot border color.
|
|
33
|
+
*/
|
|
34
|
+
statusBorderColor?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Height (and minimal width): lg — 22px, md — 20px, sm — 18px.
|
|
3
|
+
*/
|
|
4
|
+
export type VcBadgeTagSize = 'lg' | 'md' | 'sm';
|
|
5
|
+
export interface VcBadgeTagProps {
|
|
6
|
+
/**
|
|
7
|
+
* Badge content. The default slot overrides it.
|
|
8
|
+
*/
|
|
9
|
+
value?: string | number;
|
|
10
|
+
size?: VcBadgeTagSize;
|
|
11
|
+
/**
|
|
12
|
+
* Background color. Any CSS color value.
|
|
13
|
+
*/
|
|
14
|
+
color?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Text color. Any CSS color value.
|
|
17
|
+
*/
|
|
18
|
+
textColor?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { FileUploaded, VcFileItemStatus } from './VcFileUploader.types';
|
|
2
|
+
export type VcChatTextFormatType = 'bold' | 'italic' | 'strike' | 'code';
|
|
3
|
+
export type VcChatEntityType = VcChatTextFormatType | 'mention';
|
|
4
|
+
/**
|
|
5
|
+
* A formatted range of the text. `offset` and `length` are in UTF-16 code units,
|
|
6
|
+
* i.e. JavaScript string indexes (an emoji like 👍 takes 2).
|
|
7
|
+
*/
|
|
8
|
+
export interface VcChatTextEntity {
|
|
9
|
+
type: VcChatEntityType;
|
|
10
|
+
offset: number;
|
|
11
|
+
length: number;
|
|
12
|
+
/**
|
|
13
|
+
* Mentioned user, for `type: 'mention'`.
|
|
14
|
+
*/
|
|
15
|
+
userId?: string | number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Plain text with formatting ranges; paragraphs are separated with `\n`.
|
|
19
|
+
*/
|
|
20
|
+
export interface VcChatRichText {
|
|
21
|
+
text: string;
|
|
22
|
+
entities: Array<VcChatTextEntity>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Converts the composer value to / from the rich text, e.g. for a backend format.
|
|
26
|
+
*/
|
|
27
|
+
export interface VcChatComposerFormat<Value = unknown> {
|
|
28
|
+
parse: (value: Value) => VcChatRichText;
|
|
29
|
+
serialize: (richText: VcChatRichText) => Value;
|
|
30
|
+
}
|
|
31
|
+
export type VcChatComposerBuiltInFormat = 'entities' | 'markdown' | 'html';
|
|
32
|
+
export interface VcChatMentionUser {
|
|
33
|
+
id: string | number;
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* Avatar image in the suggestion list; initials are shown without it.
|
|
37
|
+
*/
|
|
38
|
+
avatar?: string;
|
|
39
|
+
}
|
|
40
|
+
export type VcChatAttachmentStatus = VcFileItemStatus;
|
|
41
|
+
/**
|
|
42
|
+
* An attached file. Set `status` / `progress` while you upload it; without them it is a plain file.
|
|
43
|
+
*/
|
|
44
|
+
export type VcChatAttachment = FileUploaded & {
|
|
45
|
+
status?: VcChatAttachmentStatus;
|
|
46
|
+
/**
|
|
47
|
+
* 0–100, for `status: 'uploading'`.
|
|
48
|
+
*/
|
|
49
|
+
progress?: number;
|
|
50
|
+
};
|
|
51
|
+
export interface VcChatComposerSendPayload<Value = unknown> {
|
|
52
|
+
/**
|
|
53
|
+
* The text in the `format` of the composer.
|
|
54
|
+
*/
|
|
55
|
+
value: Value;
|
|
56
|
+
richText: VcChatRichText;
|
|
57
|
+
attachments: Array<VcChatAttachment>;
|
|
58
|
+
voice?: Blob;
|
|
59
|
+
}
|
|
60
|
+
export interface VcChatComposerProps {
|
|
61
|
+
/**
|
|
62
|
+
* The text in the `format` of the composer.
|
|
63
|
+
*/
|
|
64
|
+
modelValue?: unknown;
|
|
65
|
+
/**
|
|
66
|
+
* Value format: `entities` — `{ text, entities }`, `markdown`, `html` or a custom converter.
|
|
67
|
+
*/
|
|
68
|
+
format?: VcChatComposerBuiltInFormat | VcChatComposerFormat;
|
|
69
|
+
/**
|
|
70
|
+
* Enabled text formats (keyboard shortcuts and markdown-like typing).
|
|
71
|
+
*/
|
|
72
|
+
formats?: Array<VcChatTextFormatType>;
|
|
73
|
+
/**
|
|
74
|
+
* Users suggested after "@". Mentions are off when empty.
|
|
75
|
+
*/
|
|
76
|
+
mentions?: Array<VcChatMentionUser>;
|
|
77
|
+
attachments?: Array<VcChatAttachment>;
|
|
78
|
+
placeholder?: string;
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Accepted file types of the file dialog, e.g. `image/*,.pdf`.
|
|
82
|
+
*/
|
|
83
|
+
accept?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Maximum number of attachments.
|
|
86
|
+
*/
|
|
87
|
+
maxFiles?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Maximum size of one attachment, in bytes.
|
|
90
|
+
*/
|
|
91
|
+
fileSizeLimit?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum total size of the attachments, in bytes.
|
|
94
|
+
*/
|
|
95
|
+
fileListSizeLimit?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Hint of the drop zone, e.g. "Images, PDF, DOCX — up to 25 MB each".
|
|
98
|
+
*/
|
|
99
|
+
dropHintText?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Emoji of the "Frequently used" group of the emoji picker.
|
|
102
|
+
*/
|
|
103
|
+
recentEmojis?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Shows the voice recording button.
|
|
106
|
+
*/
|
|
107
|
+
enableVoice?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Clears the text, the attachments and the voice message after `send`.
|
|
110
|
+
*/
|
|
111
|
+
clearOnSend?: boolean;
|
|
112
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PopoverPlacementType } from './VcPopover.types';
|
|
2
|
+
export interface VcEmojiPickerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Emoji shown in the "Frequently used" group at the top. The group is hidden when empty.
|
|
5
|
+
* The picker does not store them: keep the list on your side, e.g. from the `select` events.
|
|
6
|
+
*/
|
|
7
|
+
recentEmojis?: Array<string>;
|
|
8
|
+
/**
|
|
9
|
+
* Newest Unicode Emoji version shown. Newer emoji are hidden, as older systems
|
|
10
|
+
* (e.g. Windows 10, which supports up to 12.1) render them as empty boxes.
|
|
11
|
+
*/
|
|
12
|
+
maxEmojiVersion?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Close the popover after an emoji is picked. Off by default, so several emoji can be picked in a row.
|
|
15
|
+
*/
|
|
16
|
+
closeOnSelect?: boolean;
|
|
17
|
+
placement?: PopoverPlacementType;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
teleported?: boolean;
|
|
20
|
+
}
|
|
@@ -8,3 +8,7 @@ export interface FileUploaded extends File {
|
|
|
8
8
|
File: string | ArrayBuffer | null | File;
|
|
9
9
|
}
|
|
10
10
|
export type ReturnFileType = 'base64' | 'file';
|
|
11
|
+
/**
|
|
12
|
+
* Upload state of a VcFileItem; no status means a plain file.
|
|
13
|
+
*/
|
|
14
|
+
export type VcFileItemStatus = 'uploading' | 'error';
|