@weni/unnnic-system 3.25.7 → 3.26.1-alpha.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 (75) hide show
  1. package/dist/index.d.ts +37 -1299
  2. package/dist/style.css +1 -1
  3. package/dist/tokens/colors.d.ts +2 -0
  4. package/dist/tokens/colors.mjs +2 -0
  5. package/dist/unnnic.mjs +101803 -249
  6. package/dist/unnnic.umd.js +29 -35
  7. package/package.json +3 -2
  8. package/src/assets/scss/colors-hsl.scss +2 -0
  9. package/src/assets/scss/colors.scss +0 -43
  10. package/src/assets/scss/deprecated/colors.scss +1 -0
  11. package/src/assets/scss/scheme-colors.scss +3 -0
  12. package/src/assets/scss/semantic-colors.scss +48 -0
  13. package/src/assets/scss/semantic-text-utilities.scss +9 -0
  14. package/src/assets/scss/tailwind.scss +1 -1
  15. package/src/assets/scss/theme.scss +98 -0
  16. package/src/assets/scss/unnnic.scss +2 -0
  17. package/src/assets/tokens/colors-primitives.json +155 -0
  18. package/src/assets/tokens/colors-semantic-dark.json +55 -0
  19. package/src/assets/tokens/colors-semantic.json +55 -0
  20. package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +1 -1
  21. package/src/components/AudioRecorder/AudioTranscriptionButton.vue +3 -1
  22. package/src/components/Button/Button.vue +17 -18
  23. package/src/components/Card/CardCompany.vue +1 -1
  24. package/src/components/CardNumber/CardNumber.vue +1 -1
  25. package/src/components/CardProject/CardProject.vue +4 -4
  26. package/src/components/Carousel/TagCarousel.vue +2 -2
  27. package/src/components/ChartRainbow/ChartRainbow.vue +2 -2
  28. package/src/components/ChatsMessage/ChatsMessage.vue +6 -7
  29. package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +1 -1
  30. package/src/components/ChatsMessage/ReplyMessage.vue +4 -4
  31. package/src/components/ChatsUserAvatar/ChatsUserAvatar.vue +3 -3
  32. package/src/components/Chip/Chip.vue +20 -26
  33. package/src/components/Chip/__tests__/Chip.spec.js +3 -3
  34. package/src/components/DataTable/index.vue +2 -2
  35. package/src/components/DatePicker/DatePicker.vue +4 -4
  36. package/src/components/EmojiPicker/EmojiPicker.vue +40 -4
  37. package/src/components/EmojiPicker/__tests__/EmojiPicker.spec.js +1 -1
  38. package/src/components/FormElement/FormElement.vue +1 -1
  39. package/src/components/Input/Input.scss +2 -2
  40. package/src/components/Input/TextInput.vue +1 -1
  41. package/src/components/SelectTime/index.vue +1 -1
  42. package/src/components/Sidebar/index.vue +1 -1
  43. package/src/components/SkeletonLoading/skeletonTheme.vue +2 -4
  44. package/src/components/Table/Table.vue +1 -1
  45. package/src/components/Tag/DefaultTag.vue +9 -11
  46. package/src/components/TemplatePreview/TemplatePreview.vue +1 -1
  47. package/src/components/Toast/Toast.vue +4 -4
  48. package/src/components/Toast/__tests__/Toast.spec.js +5 -5
  49. package/src/components/ToolTip/ToolTip.vue +1 -1
  50. package/src/components/Tour/TourMask.vue +1 -1
  51. package/src/components/index.ts +0 -16
  52. package/src/components/ui/dialog/DialogContent.vue +1 -1
  53. package/src/components/ui/popover/PopoverContent.vue +1 -1
  54. package/src/components/ui/popover/PopoverOption.vue +2 -2
  55. package/src/components/ui/tooltip/TooltipContent.vue +5 -4
  56. package/src/composables/useTheme.ts +67 -0
  57. package/src/index.ts +2 -0
  58. package/src/stories/Colors.stories.js +6 -1
  59. package/src/stories/Icon.stories.js +1 -0
  60. package/src/stories/IconLoading.stories.js +1 -0
  61. package/src/types/scheme-colors.d.ts +2 -0
  62. package/dist/es-Cez02syJ.mjs +0 -92
  63. package/dist/index-B-NJIYYT.mjs +0 -102428
  64. package/dist/pt-br-u8UEMjaT.mjs +0 -53
  65. package/src/assets/tokens/colors.json +0 -552
  66. package/src/components/ChatsContact/ChatsContact.vue +0 -719
  67. package/src/components/ChatsContact/__tests__/ChatsContact.spec.js +0 -424
  68. package/src/components/ChatsContact/__tests__/__snapshots__/ChatsContact.spec.js.snap +0 -24
  69. package/src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue +0 -82
  70. package/src/components/ChatsHeader/ChatsHeader.vue +0 -302
  71. package/src/components/ChatsNavbar/ChatsNavbar.vue +0 -153
  72. package/src/stories/ChatsContact.stories.js +0 -275
  73. package/src/stories/ChatsDashboardTagLive.stories.js +0 -17
  74. package/src/stories/ChatsHeader.stories.js +0 -103
  75. package/src/stories/ChatsNavbar.stories.js +0 -64
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { ComponentCustomProps } from 'vue';
5
5
  import { ComponentOptionsBase } from 'vue';
6
6
  import { ComponentOptionsMixin } from 'vue';
7
7
  import { ComponentProvideOptions } from 'vue';
8
+ import { ComputedRef } from 'vue';
8
9
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
9
10
  import { DefineComponent } from 'vue';
10
11
  import { DefineSetupFnComponent } from 'vue';
@@ -244,6 +245,10 @@ declare interface TextAreaProps {
244
245
  errors?: string | string[];
245
246
  }
246
247
 
248
+ export declare type Theme = 'light' | 'dark';
249
+
250
+ export declare type ThemePreference = Theme | 'system';
251
+
247
252
  declare interface ToastButton {
248
253
  text: string;
249
254
  action: () => void;
@@ -6095,1198 +6100,44 @@ modelValue: {
6095
6100
  type: NumberConstructor;
6096
6101
  default: number;
6097
6102
  };
6098
- description: {
6099
- type: StringConstructor;
6100
- };
6101
- }>, {}, {}, {}, {
6102
- updateChartSvg(): void;
6103
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6104
- modelValue: {
6105
- type: NumberConstructor;
6106
- default: number;
6107
- };
6108
- description: {
6109
- type: StringConstructor;
6110
- };
6111
- }>> & Readonly<{}>, {
6112
- modelValue: number;
6113
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6114
-
6115
- export declare const unnnicChartRainbow: DefineComponent<ExtractPropTypes< {
6116
- modelValue: {
6117
- type: NumberConstructor;
6118
- default: number;
6119
- };
6120
- description: {
6121
- type: StringConstructor;
6122
- };
6123
- }>, {}, {}, {}, {
6124
- updateChartSvg(): void;
6125
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6126
- modelValue: {
6127
- type: NumberConstructor;
6128
- default: number;
6129
- };
6130
- description: {
6131
- type: StringConstructor;
6132
- };
6133
- }>> & Readonly<{}>, {
6134
- modelValue: number;
6135
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6136
-
6137
- export declare const UnnnicChatsContact: DefineComponent<ExtractPropTypes< {
6138
- locale: {
6139
- type: StringConstructor;
6140
- default: string;
6141
- };
6142
- title: {
6143
- type: StringConstructor;
6144
- default: string;
6145
- };
6146
- lastMessage: {
6147
- type: ObjectConstructor;
6148
- default: () => {};
6149
- };
6150
- lastInteractionTimePrefix: {
6151
- type: StringConstructor;
6152
- default: string;
6153
- };
6154
- lastInteractionTime: {
6155
- type: StringConstructor;
6156
- default: string;
6157
- };
6158
- userPhoto: {
6159
- type: StringConstructor;
6160
- default: string;
6161
- };
6162
- waitingTime: {
6163
- type: NumberConstructor;
6164
- default: number;
6165
- };
6166
- unreadMessages: {
6167
- type: NumberConstructor;
6168
- default: number;
6169
- };
6170
- forceShowUnreadMessages: {
6171
- type: BooleanConstructor;
6172
- default: boolean;
6173
- };
6174
- selected: {
6175
- type: BooleanConstructor;
6176
- default: boolean;
6177
- };
6178
- disabled: {
6179
- type: BooleanConstructor;
6180
- default: boolean;
6181
- };
6182
- checkboxWhenSelect: {
6183
- type: BooleanConstructor;
6184
- default: boolean;
6185
- };
6186
- discussionGoal: {
6187
- type: StringConstructor;
6188
- default: string;
6189
- };
6190
- projectName: {
6191
- type: StringConstructor;
6192
- default: string;
6193
- };
6194
- pinned: {
6195
- type: BooleanConstructor;
6196
- default: boolean;
6197
- };
6198
- activePin: {
6199
- type: BooleanConstructor;
6200
- default: boolean;
6201
- };
6202
- schemePin: {
6203
- type: StringConstructor;
6204
- default: string;
6205
- };
6206
- pendingResponse: {
6207
- type: BooleanConstructor;
6208
- default: boolean;
6209
- };
6210
- pendingResponseTooltip: {
6211
- type: StringConstructor;
6212
- default: string;
6213
- };
6214
- newMessageIndicator: {
6215
- type: BooleanConstructor;
6216
- default: boolean;
6217
- };
6218
- newMessageIndicatorTooltip: {
6219
- type: StringConstructor;
6220
- default: string;
6221
- };
6222
- }>, {}, {
6223
- isHovered: boolean;
6224
- defaultTranslations: {
6225
- unnamed_contact: {
6226
- 'pt-br': string;
6227
- en: string;
6228
- es: string;
6229
- };
6230
- yesterday: {
6231
- 'pt-br': string;
6232
- en: string;
6233
- es: string;
6234
- };
6235
- waiting_for: {
6236
- 'pt-br': string;
6237
- en: string;
6238
- es: string;
6239
- };
6240
- unread_messages: {
6241
- 'pt-br': string;
6242
- en: string;
6243
- es: string;
6244
- };
6245
- discussion_about: {
6246
- 'pt-br': string;
6247
- en: string;
6248
- es: string;
6249
- };
6250
- audio_message: {
6251
- 'pt-br': string;
6252
- en: string;
6253
- es: string;
6254
- };
6255
- image_message: {
6256
- 'pt-br': string;
6257
- en: string;
6258
- es: string;
6259
- };
6260
- video_message: {
6261
- 'pt-br': string;
6262
- en: string;
6263
- es: string;
6264
- };
6265
- you_message_prefix: {
6266
- 'pt-br': string;
6267
- en: string;
6268
- es: string;
6269
- };
6270
- };
6271
- }, {
6272
- messageInfoAlign(): "center" | "space-between" | "flex-start";
6273
- messageInfoMarginTop(): "0px" | "4px";
6274
- formattedLastInteraction(): any;
6275
- lastMessageMedia(): {
6276
- isMedia: any;
6277
- contentType?: undefined;
6278
- lastMessage?: undefined;
6279
- mediaIcon?: undefined;
6280
- mediaText?: undefined;
6281
- } | {
6282
- isMedia: any;
6283
- contentType: any;
6284
- lastMessage: Record<string, any>;
6285
- mediaIcon: any;
6286
- mediaText: any;
6287
- };
6288
- contactName(): string;
6289
- subtitle(): any;
6290
- isUnpinned(): boolean;
6291
- isRenderPin(): boolean;
6292
- }, {
6293
- handleContactClick(event: any): void;
6294
- handleContactKeypress(): void;
6295
- handlePinClick(event: any): void;
6296
- handlePinMouseDown(event: any): void;
6297
- }, {
6298
- props: {
6299
- locale: {
6300
- type: StringConstructor;
6301
- };
6302
- translations: {
6303
- type: ObjectConstructor;
6304
- };
6305
- };
6306
- methods: {
6307
- i18n(...args: any[]): any;
6308
- };
6309
- }, ComponentOptionsMixin, ("click" | "clickPin")[], "click" | "clickPin", PublicProps, Readonly<ExtractPropTypes< {
6310
- locale: {
6311
- type: StringConstructor;
6312
- default: string;
6313
- };
6314
- title: {
6315
- type: StringConstructor;
6316
- default: string;
6317
- };
6318
- lastMessage: {
6319
- type: ObjectConstructor;
6320
- default: () => {};
6321
- };
6322
- lastInteractionTimePrefix: {
6323
- type: StringConstructor;
6324
- default: string;
6325
- };
6326
- lastInteractionTime: {
6327
- type: StringConstructor;
6328
- default: string;
6329
- };
6330
- userPhoto: {
6331
- type: StringConstructor;
6332
- default: string;
6333
- };
6334
- waitingTime: {
6335
- type: NumberConstructor;
6336
- default: number;
6337
- };
6338
- unreadMessages: {
6339
- type: NumberConstructor;
6340
- default: number;
6341
- };
6342
- forceShowUnreadMessages: {
6343
- type: BooleanConstructor;
6344
- default: boolean;
6345
- };
6346
- selected: {
6347
- type: BooleanConstructor;
6348
- default: boolean;
6349
- };
6350
- disabled: {
6351
- type: BooleanConstructor;
6352
- default: boolean;
6353
- };
6354
- checkboxWhenSelect: {
6355
- type: BooleanConstructor;
6356
- default: boolean;
6357
- };
6358
- discussionGoal: {
6359
- type: StringConstructor;
6360
- default: string;
6361
- };
6362
- projectName: {
6363
- type: StringConstructor;
6364
- default: string;
6365
- };
6366
- pinned: {
6367
- type: BooleanConstructor;
6368
- default: boolean;
6369
- };
6370
- activePin: {
6371
- type: BooleanConstructor;
6372
- default: boolean;
6373
- };
6374
- schemePin: {
6375
- type: StringConstructor;
6376
- default: string;
6377
- };
6378
- pendingResponse: {
6379
- type: BooleanConstructor;
6380
- default: boolean;
6381
- };
6382
- pendingResponseTooltip: {
6383
- type: StringConstructor;
6384
- default: string;
6385
- };
6386
- newMessageIndicator: {
6387
- type: BooleanConstructor;
6388
- default: boolean;
6389
- };
6390
- newMessageIndicatorTooltip: {
6391
- type: StringConstructor;
6392
- default: string;
6393
- };
6394
- }>> & Readonly<{
6395
- onClick?: ((...args: any[]) => any) | undefined;
6396
- onClickPin?: ((...args: any[]) => any) | undefined;
6397
- }>, {
6398
- disabled: boolean;
6399
- title: string;
6400
- selected: boolean;
6401
- locale: string;
6402
- lastMessage: Record<string, any>;
6403
- lastInteractionTimePrefix: string;
6404
- lastInteractionTime: string;
6405
- userPhoto: string;
6406
- waitingTime: number;
6407
- unreadMessages: number;
6408
- forceShowUnreadMessages: boolean;
6409
- checkboxWhenSelect: boolean;
6410
- discussionGoal: string;
6411
- projectName: string;
6412
- pinned: boolean;
6413
- activePin: boolean;
6414
- schemePin: string;
6415
- pendingResponse: boolean;
6416
- pendingResponseTooltip: string;
6417
- newMessageIndicator: boolean;
6418
- newMessageIndicatorTooltip: string;
6419
- }, {}, {
6420
- UserAvatar: DefineComponent<ExtractPropTypes< {
6421
- active: {
6422
- type: BooleanConstructor;
6423
- default: boolean;
6424
- };
6425
- clickable: {
6426
- type: BooleanConstructor;
6427
- default: boolean;
6428
- };
6429
- disabled: {
6430
- type: BooleanConstructor;
6431
- default: boolean;
6432
- };
6433
- size: {
6434
- type: StringConstructor;
6435
- default: string;
6436
- validator: (value: unknown) => boolean;
6437
- };
6438
- username: {
6439
- type: StringConstructor;
6440
- default: string;
6441
- };
6442
- photoUrl: {
6443
- type: StringConstructor;
6444
- default: string;
6445
- };
6446
- scheme: {
6447
- type: StringConstructor;
6448
- default: string;
6449
- };
6450
- textColor: {
6451
- type: StringConstructor;
6452
- default: string;
6453
- };
6454
- }>, {}, {}, {
6455
- getUsernameFirstCharacter(): string;
6456
- }, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes< {
6457
- active: {
6458
- type: BooleanConstructor;
6459
- default: boolean;
6460
- };
6461
- clickable: {
6462
- type: BooleanConstructor;
6463
- default: boolean;
6464
- };
6465
- disabled: {
6466
- type: BooleanConstructor;
6467
- default: boolean;
6468
- };
6469
- size: {
6470
- type: StringConstructor;
6471
- default: string;
6472
- validator: (value: unknown) => boolean;
6473
- };
6474
- username: {
6475
- type: StringConstructor;
6476
- default: string;
6477
- };
6478
- photoUrl: {
6479
- type: StringConstructor;
6480
- default: string;
6481
- };
6482
- scheme: {
6483
- type: StringConstructor;
6484
- default: string;
6485
- };
6486
- textColor: {
6487
- type: StringConstructor;
6488
- default: string;
6489
- };
6490
- }>> & Readonly<{
6491
- onClick?: ((...args: any[]) => any) | undefined;
6492
- }>, {
6493
- disabled: boolean;
6494
- size: string;
6495
- clickable: boolean;
6496
- scheme: string;
6497
- active: boolean;
6498
- username: string;
6499
- photoUrl: string;
6500
- textColor: string;
6501
- }, {}, {
6502
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6503
- click: (event: Event) => any;
6504
- mousedown: (event: Event) => any;
6505
- mouseup: (event: Event) => any;
6506
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
6507
- onClick?: ((event: Event) => any) | undefined;
6508
- onMousedown?: ((event: Event) => any) | undefined;
6509
- onMouseup?: ((event: Event) => any) | undefined;
6510
- }>, {
6511
- size: IconSize;
6512
- filled: boolean;
6513
- icon: string | null;
6514
- clickable: boolean;
6515
- scheme: SchemeColor_2;
6516
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
6517
- }, {}, string, ComponentProvideOptions, true, {}, any>;
6518
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6519
- click: (event: Event) => any;
6520
- mousedown: (event: Event) => any;
6521
- mouseup: (event: Event) => any;
6522
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
6523
- onClick?: ((event: Event) => any) | undefined;
6524
- onMousedown?: ((event: Event) => any) | undefined;
6525
- onMouseup?: ((event: Event) => any) | undefined;
6526
- }>, {
6527
- size: IconSize;
6528
- filled: boolean;
6529
- icon: string | null;
6530
- clickable: boolean;
6531
- scheme: SchemeColor_2;
6532
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
6533
- TransitionRipple: DefineComponent<ExtractPropTypes< {
6534
- color: {
6535
- type: StringConstructor;
6536
- default: string;
6537
- };
6538
- }>, {}, {
6539
- ripples: never[];
6540
- rippleWidth: number;
6541
- halfRippleWidth: number;
6542
- }, {}, {
6543
- addRipple(e: any): void;
6544
- purgeRipples(): void;
6545
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6546
- color: {
6547
- type: StringConstructor;
6548
- default: string;
6549
- };
6550
- }>> & Readonly<{}>, {
6551
- color: string;
6552
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6553
- Checkbox: DefineComponent<ExtractPropTypes< {
6554
- modelValue: {
6555
- type: (BooleanConstructor | StringConstructor)[];
6556
- default: boolean;
6557
- validator(value: unknown): boolean;
6558
- };
6559
- disabled: {
6560
- type: BooleanConstructor;
6561
- default: boolean;
6562
- };
6563
- label: {
6564
- type: StringConstructor;
6565
- default: string;
6566
- };
6567
- helper: {
6568
- type: StringConstructor;
6569
- default: string;
6570
- };
6571
- textRight: {
6572
- type: StringConstructor;
6573
- default: string;
6574
- };
6575
- }>, {}, {}, {
6576
- valueName(): "default" | "less" | "checked";
6577
- }, {
6578
- pick: {
6579
- <T extends object, U extends keyof T>(object: T, ...props: Array<Many<U>>): Pick<T, U>;
6580
- <T>(object: T | null | undefined, ...props: Array<Many<PropertyPath>>): PartialObject<T>;
6581
- };
6582
- click(): void;
6583
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:model-value")[], "change" | "update:model-value", PublicProps, Readonly<ExtractPropTypes< {
6584
- modelValue: {
6585
- type: (BooleanConstructor | StringConstructor)[];
6586
- default: boolean;
6587
- validator(value: unknown): boolean;
6588
- };
6589
- disabled: {
6590
- type: BooleanConstructor;
6591
- default: boolean;
6592
- };
6593
- label: {
6594
- type: StringConstructor;
6595
- default: string;
6596
- };
6597
- helper: {
6598
- type: StringConstructor;
6599
- default: string;
6600
- };
6601
- textRight: {
6602
- type: StringConstructor;
6603
- default: string;
6604
- };
6605
- }>> & Readonly<{
6606
- onChange?: ((...args: any[]) => any) | undefined;
6607
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
6608
- }>, {
6609
- disabled: boolean;
6610
- label: string;
6611
- modelValue: string | boolean;
6612
- helper: string;
6613
- textRight: string;
6614
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6615
- UnnnicTooltip: {
6616
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<TooltipProps> & Readonly<{
6617
- "onClick:close"?: ((...args: any[]) => any) | undefined;
6618
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6619
- "click:close": (...args: any[]) => void;
6620
- }, PublicProps, {
6621
- text: string;
6622
- class: string;
6623
- side: "top" | "right" | "bottom" | "left";
6624
- enabled: boolean;
6625
- forceOpen: boolean;
6626
- maxWidth: string;
6627
- enableHtml: boolean;
6628
- showClose: boolean;
6629
- contentProps: Partial<TooltipContentProps>;
6630
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
6631
- P: {};
6632
- B: {};
6633
- D: {};
6634
- C: {};
6635
- M: {};
6636
- Defaults: {};
6637
- }, Readonly<TooltipProps> & Readonly<{
6638
- "onClick:close"?: ((...args: any[]) => any) | undefined;
6639
- }>, {}, {}, {}, {}, {
6640
- text: string;
6641
- class: string;
6642
- side: "top" | "right" | "bottom" | "left";
6643
- enabled: boolean;
6644
- forceOpen: boolean;
6645
- maxWidth: string;
6646
- enableHtml: boolean;
6647
- showClose: boolean;
6648
- contentProps: Partial<TooltipContentProps>;
6649
- }>;
6650
- __isFragment?: never;
6651
- __isTeleport?: never;
6652
- __isSuspense?: never;
6653
- } & ComponentOptionsBase<Readonly<TooltipProps> & Readonly<{
6654
- "onClick:close"?: ((...args: any[]) => any) | undefined;
6655
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6656
- "click:close": (...args: any[]) => void;
6657
- }, string, {
6658
- text: string;
6659
- class: string;
6660
- side: "top" | "right" | "bottom" | "left";
6661
- enabled: boolean;
6662
- forceOpen: boolean;
6663
- maxWidth: string;
6664
- enableHtml: boolean;
6665
- showClose: boolean;
6666
- contentProps: Partial<TooltipContentProps>;
6667
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
6668
- $slots: {
6669
- default?(_: {}): any;
6670
- };
6671
- });
6672
- }, {}, string, ComponentProvideOptions, true, {}, any>;
6673
-
6674
- export declare const unnnicChatsContact: DefineComponent<ExtractPropTypes< {
6675
- locale: {
6676
- type: StringConstructor;
6677
- default: string;
6678
- };
6679
- title: {
6680
- type: StringConstructor;
6681
- default: string;
6682
- };
6683
- lastMessage: {
6684
- type: ObjectConstructor;
6685
- default: () => {};
6686
- };
6687
- lastInteractionTimePrefix: {
6688
- type: StringConstructor;
6689
- default: string;
6690
- };
6691
- lastInteractionTime: {
6692
- type: StringConstructor;
6693
- default: string;
6694
- };
6695
- userPhoto: {
6696
- type: StringConstructor;
6697
- default: string;
6698
- };
6699
- waitingTime: {
6700
- type: NumberConstructor;
6701
- default: number;
6702
- };
6703
- unreadMessages: {
6704
- type: NumberConstructor;
6705
- default: number;
6706
- };
6707
- forceShowUnreadMessages: {
6708
- type: BooleanConstructor;
6709
- default: boolean;
6710
- };
6711
- selected: {
6712
- type: BooleanConstructor;
6713
- default: boolean;
6714
- };
6715
- disabled: {
6716
- type: BooleanConstructor;
6717
- default: boolean;
6718
- };
6719
- checkboxWhenSelect: {
6720
- type: BooleanConstructor;
6721
- default: boolean;
6722
- };
6723
- discussionGoal: {
6724
- type: StringConstructor;
6725
- default: string;
6726
- };
6727
- projectName: {
6728
- type: StringConstructor;
6729
- default: string;
6730
- };
6731
- pinned: {
6732
- type: BooleanConstructor;
6733
- default: boolean;
6734
- };
6735
- activePin: {
6736
- type: BooleanConstructor;
6737
- default: boolean;
6738
- };
6739
- schemePin: {
6740
- type: StringConstructor;
6741
- default: string;
6742
- };
6743
- pendingResponse: {
6744
- type: BooleanConstructor;
6745
- default: boolean;
6746
- };
6747
- pendingResponseTooltip: {
6748
- type: StringConstructor;
6749
- default: string;
6750
- };
6751
- newMessageIndicator: {
6752
- type: BooleanConstructor;
6753
- default: boolean;
6754
- };
6755
- newMessageIndicatorTooltip: {
6756
- type: StringConstructor;
6757
- default: string;
6758
- };
6759
- }>, {}, {
6760
- isHovered: boolean;
6761
- defaultTranslations: {
6762
- unnamed_contact: {
6763
- 'pt-br': string;
6764
- en: string;
6765
- es: string;
6766
- };
6767
- yesterday: {
6768
- 'pt-br': string;
6769
- en: string;
6770
- es: string;
6771
- };
6772
- waiting_for: {
6773
- 'pt-br': string;
6774
- en: string;
6775
- es: string;
6776
- };
6777
- unread_messages: {
6778
- 'pt-br': string;
6779
- en: string;
6780
- es: string;
6781
- };
6782
- discussion_about: {
6783
- 'pt-br': string;
6784
- en: string;
6785
- es: string;
6786
- };
6787
- audio_message: {
6788
- 'pt-br': string;
6789
- en: string;
6790
- es: string;
6791
- };
6792
- image_message: {
6793
- 'pt-br': string;
6794
- en: string;
6795
- es: string;
6796
- };
6797
- video_message: {
6798
- 'pt-br': string;
6799
- en: string;
6800
- es: string;
6801
- };
6802
- you_message_prefix: {
6803
- 'pt-br': string;
6804
- en: string;
6805
- es: string;
6806
- };
6807
- };
6808
- }, {
6809
- messageInfoAlign(): "center" | "space-between" | "flex-start";
6810
- messageInfoMarginTop(): "0px" | "4px";
6811
- formattedLastInteraction(): any;
6812
- lastMessageMedia(): {
6813
- isMedia: any;
6814
- contentType?: undefined;
6815
- lastMessage?: undefined;
6816
- mediaIcon?: undefined;
6817
- mediaText?: undefined;
6818
- } | {
6819
- isMedia: any;
6820
- contentType: any;
6821
- lastMessage: Record<string, any>;
6822
- mediaIcon: any;
6823
- mediaText: any;
6824
- };
6825
- contactName(): string;
6826
- subtitle(): any;
6827
- isUnpinned(): boolean;
6828
- isRenderPin(): boolean;
6829
- }, {
6830
- handleContactClick(event: any): void;
6831
- handleContactKeypress(): void;
6832
- handlePinClick(event: any): void;
6833
- handlePinMouseDown(event: any): void;
6834
- }, {
6835
- props: {
6836
- locale: {
6837
- type: StringConstructor;
6838
- };
6839
- translations: {
6840
- type: ObjectConstructor;
6841
- };
6842
- };
6843
- methods: {
6844
- i18n(...args: any[]): any;
6845
- };
6846
- }, ComponentOptionsMixin, ("click" | "clickPin")[], "click" | "clickPin", PublicProps, Readonly<ExtractPropTypes< {
6847
- locale: {
6848
- type: StringConstructor;
6849
- default: string;
6850
- };
6851
- title: {
6852
- type: StringConstructor;
6853
- default: string;
6854
- };
6855
- lastMessage: {
6856
- type: ObjectConstructor;
6857
- default: () => {};
6858
- };
6859
- lastInteractionTimePrefix: {
6860
- type: StringConstructor;
6861
- default: string;
6862
- };
6863
- lastInteractionTime: {
6864
- type: StringConstructor;
6865
- default: string;
6866
- };
6867
- userPhoto: {
6868
- type: StringConstructor;
6869
- default: string;
6870
- };
6871
- waitingTime: {
6872
- type: NumberConstructor;
6873
- default: number;
6874
- };
6875
- unreadMessages: {
6876
- type: NumberConstructor;
6877
- default: number;
6878
- };
6879
- forceShowUnreadMessages: {
6880
- type: BooleanConstructor;
6881
- default: boolean;
6882
- };
6883
- selected: {
6884
- type: BooleanConstructor;
6885
- default: boolean;
6886
- };
6887
- disabled: {
6888
- type: BooleanConstructor;
6889
- default: boolean;
6890
- };
6891
- checkboxWhenSelect: {
6892
- type: BooleanConstructor;
6893
- default: boolean;
6894
- };
6895
- discussionGoal: {
6896
- type: StringConstructor;
6897
- default: string;
6898
- };
6899
- projectName: {
6900
- type: StringConstructor;
6901
- default: string;
6902
- };
6903
- pinned: {
6904
- type: BooleanConstructor;
6905
- default: boolean;
6906
- };
6907
- activePin: {
6908
- type: BooleanConstructor;
6909
- default: boolean;
6910
- };
6911
- schemePin: {
6912
- type: StringConstructor;
6913
- default: string;
6914
- };
6915
- pendingResponse: {
6916
- type: BooleanConstructor;
6917
- default: boolean;
6918
- };
6919
- pendingResponseTooltip: {
6920
- type: StringConstructor;
6921
- default: string;
6922
- };
6923
- newMessageIndicator: {
6924
- type: BooleanConstructor;
6925
- default: boolean;
6926
- };
6927
- newMessageIndicatorTooltip: {
6928
- type: StringConstructor;
6929
- default: string;
6930
- };
6931
- }>> & Readonly<{
6932
- onClick?: ((...args: any[]) => any) | undefined;
6933
- onClickPin?: ((...args: any[]) => any) | undefined;
6934
- }>, {
6935
- disabled: boolean;
6936
- title: string;
6937
- selected: boolean;
6938
- locale: string;
6939
- lastMessage: Record<string, any>;
6940
- lastInteractionTimePrefix: string;
6941
- lastInteractionTime: string;
6942
- userPhoto: string;
6943
- waitingTime: number;
6944
- unreadMessages: number;
6945
- forceShowUnreadMessages: boolean;
6946
- checkboxWhenSelect: boolean;
6947
- discussionGoal: string;
6948
- projectName: string;
6949
- pinned: boolean;
6950
- activePin: boolean;
6951
- schemePin: string;
6952
- pendingResponse: boolean;
6953
- pendingResponseTooltip: string;
6954
- newMessageIndicator: boolean;
6955
- newMessageIndicatorTooltip: string;
6956
- }, {}, {
6957
- UserAvatar: DefineComponent<ExtractPropTypes< {
6958
- active: {
6959
- type: BooleanConstructor;
6960
- default: boolean;
6961
- };
6962
- clickable: {
6963
- type: BooleanConstructor;
6964
- default: boolean;
6965
- };
6966
- disabled: {
6967
- type: BooleanConstructor;
6968
- default: boolean;
6969
- };
6970
- size: {
6971
- type: StringConstructor;
6972
- default: string;
6973
- validator: (value: unknown) => boolean;
6974
- };
6975
- username: {
6976
- type: StringConstructor;
6977
- default: string;
6978
- };
6979
- photoUrl: {
6980
- type: StringConstructor;
6981
- default: string;
6982
- };
6983
- scheme: {
6984
- type: StringConstructor;
6985
- default: string;
6986
- };
6987
- textColor: {
6988
- type: StringConstructor;
6989
- default: string;
6990
- };
6991
- }>, {}, {}, {
6992
- getUsernameFirstCharacter(): string;
6993
- }, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes< {
6994
- active: {
6995
- type: BooleanConstructor;
6996
- default: boolean;
6997
- };
6998
- clickable: {
6999
- type: BooleanConstructor;
7000
- default: boolean;
7001
- };
7002
- disabled: {
7003
- type: BooleanConstructor;
7004
- default: boolean;
7005
- };
7006
- size: {
7007
- type: StringConstructor;
7008
- default: string;
7009
- validator: (value: unknown) => boolean;
7010
- };
7011
- username: {
7012
- type: StringConstructor;
7013
- default: string;
7014
- };
7015
- photoUrl: {
7016
- type: StringConstructor;
7017
- default: string;
7018
- };
7019
- scheme: {
7020
- type: StringConstructor;
7021
- default: string;
7022
- };
7023
- textColor: {
7024
- type: StringConstructor;
7025
- default: string;
7026
- };
7027
- }>> & Readonly<{
7028
- onClick?: ((...args: any[]) => any) | undefined;
7029
- }>, {
7030
- disabled: boolean;
7031
- size: string;
7032
- clickable: boolean;
7033
- scheme: string;
7034
- active: boolean;
7035
- username: string;
7036
- photoUrl: string;
7037
- textColor: string;
7038
- }, {}, {
7039
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7040
- click: (event: Event) => any;
7041
- mousedown: (event: Event) => any;
7042
- mouseup: (event: Event) => any;
7043
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
7044
- onClick?: ((event: Event) => any) | undefined;
7045
- onMousedown?: ((event: Event) => any) | undefined;
7046
- onMouseup?: ((event: Event) => any) | undefined;
7047
- }>, {
7048
- size: IconSize;
7049
- filled: boolean;
7050
- icon: string | null;
7051
- clickable: boolean;
7052
- scheme: SchemeColor_2;
7053
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7054
- }, {}, string, ComponentProvideOptions, true, {}, any>;
7055
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7056
- click: (event: Event) => any;
7057
- mousedown: (event: Event) => any;
7058
- mouseup: (event: Event) => any;
7059
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
7060
- onClick?: ((event: Event) => any) | undefined;
7061
- onMousedown?: ((event: Event) => any) | undefined;
7062
- onMouseup?: ((event: Event) => any) | undefined;
7063
- }>, {
7064
- size: IconSize;
7065
- filled: boolean;
7066
- icon: string | null;
7067
- clickable: boolean;
7068
- scheme: SchemeColor_2;
7069
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7070
- TransitionRipple: DefineComponent<ExtractPropTypes< {
7071
- color: {
7072
- type: StringConstructor;
7073
- default: string;
7074
- };
7075
- }>, {}, {
7076
- ripples: never[];
7077
- rippleWidth: number;
7078
- halfRippleWidth: number;
7079
- }, {}, {
7080
- addRipple(e: any): void;
7081
- purgeRipples(): void;
7082
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
7083
- color: {
7084
- type: StringConstructor;
7085
- default: string;
7086
- };
7087
- }>> & Readonly<{}>, {
7088
- color: string;
7089
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7090
- Checkbox: DefineComponent<ExtractPropTypes< {
7091
- modelValue: {
7092
- type: (BooleanConstructor | StringConstructor)[];
7093
- default: boolean;
7094
- validator(value: unknown): boolean;
7095
- };
7096
- disabled: {
7097
- type: BooleanConstructor;
7098
- default: boolean;
7099
- };
7100
- label: {
7101
- type: StringConstructor;
7102
- default: string;
7103
- };
7104
- helper: {
7105
- type: StringConstructor;
7106
- default: string;
7107
- };
7108
- textRight: {
7109
- type: StringConstructor;
7110
- default: string;
7111
- };
7112
- }>, {}, {}, {
7113
- valueName(): "default" | "less" | "checked";
7114
- }, {
7115
- pick: {
7116
- <T extends object, U extends keyof T>(object: T, ...props: Array<Many<U>>): Pick<T, U>;
7117
- <T>(object: T | null | undefined, ...props: Array<Many<PropertyPath>>): PartialObject<T>;
7118
- };
7119
- click(): void;
7120
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:model-value")[], "change" | "update:model-value", PublicProps, Readonly<ExtractPropTypes< {
7121
- modelValue: {
7122
- type: (BooleanConstructor | StringConstructor)[];
7123
- default: boolean;
7124
- validator(value: unknown): boolean;
7125
- };
7126
- disabled: {
7127
- type: BooleanConstructor;
7128
- default: boolean;
7129
- };
7130
- label: {
6103
+ description: {
7131
6104
  type: StringConstructor;
7132
- default: string;
7133
6105
  };
7134
- helper: {
7135
- type: StringConstructor;
7136
- default: string;
6106
+ }>, {}, {}, {}, {
6107
+ updateChartSvg(): void;
6108
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6109
+ modelValue: {
6110
+ type: NumberConstructor;
6111
+ default: number;
7137
6112
  };
7138
- textRight: {
6113
+ description: {
7139
6114
  type: StringConstructor;
7140
- default: string;
7141
6115
  };
7142
- }>> & Readonly<{
7143
- onChange?: ((...args: any[]) => any) | undefined;
7144
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
7145
- }>, {
7146
- disabled: boolean;
7147
- label: string;
7148
- modelValue: string | boolean;
7149
- helper: string;
7150
- textRight: string;
6116
+ }>> & Readonly<{}>, {
6117
+ modelValue: number;
7151
6118
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7152
- UnnnicTooltip: {
7153
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<TooltipProps> & Readonly<{
7154
- "onClick:close"?: ((...args: any[]) => any) | undefined;
7155
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7156
- "click:close": (...args: any[]) => void;
7157
- }, PublicProps, {
7158
- text: string;
7159
- class: string;
7160
- side: "top" | "right" | "bottom" | "left";
7161
- enabled: boolean;
7162
- forceOpen: boolean;
7163
- maxWidth: string;
7164
- enableHtml: boolean;
7165
- showClose: boolean;
7166
- contentProps: Partial<TooltipContentProps>;
7167
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
7168
- P: {};
7169
- B: {};
7170
- D: {};
7171
- C: {};
7172
- M: {};
7173
- Defaults: {};
7174
- }, Readonly<TooltipProps> & Readonly<{
7175
- "onClick:close"?: ((...args: any[]) => any) | undefined;
7176
- }>, {}, {}, {}, {}, {
7177
- text: string;
7178
- class: string;
7179
- side: "top" | "right" | "bottom" | "left";
7180
- enabled: boolean;
7181
- forceOpen: boolean;
7182
- maxWidth: string;
7183
- enableHtml: boolean;
7184
- showClose: boolean;
7185
- contentProps: Partial<TooltipContentProps>;
7186
- }>;
7187
- __isFragment?: never;
7188
- __isTeleport?: never;
7189
- __isSuspense?: never;
7190
- } & ComponentOptionsBase<Readonly<TooltipProps> & Readonly<{
7191
- "onClick:close"?: ((...args: any[]) => any) | undefined;
7192
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7193
- "click:close": (...args: any[]) => void;
7194
- }, string, {
7195
- text: string;
7196
- class: string;
7197
- side: "top" | "right" | "bottom" | "left";
7198
- enabled: boolean;
7199
- forceOpen: boolean;
7200
- maxWidth: string;
7201
- enableHtml: boolean;
7202
- showClose: boolean;
7203
- contentProps: Partial<TooltipContentProps>;
7204
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
7205
- $slots: {
7206
- default?(_: {}): any;
7207
- };
7208
- });
7209
- }, {}, string, ComponentProvideOptions, true, {}, any>;
7210
6119
 
7211
- export declare const UnnnicChatsDashboardTagLive: DefineComponent< {}, {}, {
7212
- defaultTranslations: {
7213
- live: {
7214
- 'pt-br': string;
7215
- en: string;
7216
- es: string;
7217
- };
6120
+ export declare const unnnicChartRainbow: DefineComponent<ExtractPropTypes< {
6121
+ modelValue: {
6122
+ type: NumberConstructor;
6123
+ default: number;
7218
6124
  };
7219
- }, {}, {}, {
7220
- props: {
7221
- locale: {
6125
+ description: {
7222
6126
  type: StringConstructor;
7223
6127
  };
7224
- translations: {
7225
- type: ObjectConstructor;
7226
- };
7227
- };
7228
- methods: {
7229
- i18n(...args: any[]): any;
7230
- };
7231
- }, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
7232
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7233
- click: (event: Event) => any;
7234
- mousedown: (event: Event) => any;
7235
- mouseup: (event: Event) => any;
7236
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
7237
- onClick?: ((event: Event) => any) | undefined;
7238
- onMousedown?: ((event: Event) => any) | undefined;
7239
- onMouseup?: ((event: Event) => any) | undefined;
7240
- }>, {
7241
- size: IconSize;
7242
- filled: boolean;
7243
- icon: string | null;
7244
- clickable: boolean;
7245
- scheme: SchemeColor_2;
7246
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7247
- }, {}, string, ComponentProvideOptions, true, {}, any>;
7248
-
7249
- export declare const unnnicChatsDashboardTagLive: DefineComponent< {}, {}, {
7250
- defaultTranslations: {
7251
- live: {
7252
- 'pt-br': string;
7253
- en: string;
7254
- es: string;
7255
- };
6128
+ }>, {}, {}, {}, {
6129
+ updateChartSvg(): void;
6130
+ }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
6131
+ modelValue: {
6132
+ type: NumberConstructor;
6133
+ default: number;
7256
6134
  };
7257
- }, {}, {}, {
7258
- props: {
7259
- locale: {
6135
+ description: {
7260
6136
  type: StringConstructor;
7261
6137
  };
7262
- translations: {
7263
- type: ObjectConstructor;
7264
- };
7265
- };
7266
- methods: {
7267
- i18n(...args: any[]): any;
7268
- };
7269
- }, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
7270
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7271
- click: (event: Event) => any;
7272
- mousedown: (event: Event) => any;
7273
- mouseup: (event: Event) => any;
7274
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
7275
- onClick?: ((event: Event) => any) | undefined;
7276
- onMousedown?: ((event: Event) => any) | undefined;
7277
- onMouseup?: ((event: Event) => any) | undefined;
7278
- }>, {
7279
- size: IconSize;
7280
- filled: boolean;
7281
- icon: string | null;
7282
- clickable: boolean;
7283
- scheme: SchemeColor_2;
7284
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7285
- }, {}, string, ComponentProvideOptions, true, {}, any>;
7286
-
7287
- export declare const UnnnicChatsHeader: VueComponent;
7288
-
7289
- export declare const unnnicChatsHeader: VueComponent;
6138
+ }>> & Readonly<{}>, {
6139
+ modelValue: number;
6140
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7290
6141
 
7291
6142
  export declare const UnnnicChatsMessage: DefineComponent<ExtractPropTypes< {
7292
6143
  locale: {
@@ -8018,126 +6869,6 @@ readonly messageType?: string | undefined;
8018
6869
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8019
6870
  }, {}, string, ComponentProvideOptions, true, {}, any>;
8020
6871
 
8021
- export declare const UnnnicChatsNavbar: DefineComponent<ExtractPropTypes< {
8022
- links: {
8023
- type: ArrayConstructor;
8024
- required: true;
8025
- default: () => {
8026
- name: string;
8027
- icon: {
8028
- default: string;
8029
- selected: string;
8030
- };
8031
- action: () => void;
8032
- }[];
8033
- validator(value: unknown): any;
8034
- };
8035
- modelValue: {
8036
- type: StringConstructor;
8037
- required: true;
8038
- };
8039
- }>, {}, {}, {}, {
8040
- selectLink(link: any): void;
8041
- isSelected(link: any): boolean;
8042
- getLinkIcon(link: any): any;
8043
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8044
- links: {
8045
- type: ArrayConstructor;
8046
- required: true;
8047
- default: () => {
8048
- name: string;
8049
- icon: {
8050
- default: string;
8051
- selected: string;
8052
- };
8053
- action: () => void;
8054
- }[];
8055
- validator(value: unknown): any;
8056
- };
8057
- modelValue: {
8058
- type: StringConstructor;
8059
- required: true;
8060
- };
8061
- }>> & Readonly<{}>, {
8062
- links: unknown[];
8063
- }, {}, {
8064
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8065
- click: (event: Event) => any;
8066
- mousedown: (event: Event) => any;
8067
- mouseup: (event: Event) => any;
8068
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
8069
- onClick?: ((event: Event) => any) | undefined;
8070
- onMousedown?: ((event: Event) => any) | undefined;
8071
- onMouseup?: ((event: Event) => any) | undefined;
8072
- }>, {
8073
- size: IconSize;
8074
- filled: boolean;
8075
- icon: string | null;
8076
- clickable: boolean;
8077
- scheme: SchemeColor_2;
8078
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8079
- }, {}, string, ComponentProvideOptions, true, {}, any>;
8080
-
8081
- export declare const unnnicChatsNavbar: DefineComponent<ExtractPropTypes< {
8082
- links: {
8083
- type: ArrayConstructor;
8084
- required: true;
8085
- default: () => {
8086
- name: string;
8087
- icon: {
8088
- default: string;
8089
- selected: string;
8090
- };
8091
- action: () => void;
8092
- }[];
8093
- validator(value: unknown): any;
8094
- };
8095
- modelValue: {
8096
- type: StringConstructor;
8097
- required: true;
8098
- };
8099
- }>, {}, {}, {}, {
8100
- selectLink(link: any): void;
8101
- isSelected(link: any): boolean;
8102
- getLinkIcon(link: any): any;
8103
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8104
- links: {
8105
- type: ArrayConstructor;
8106
- required: true;
8107
- default: () => {
8108
- name: string;
8109
- icon: {
8110
- default: string;
8111
- selected: string;
8112
- };
8113
- action: () => void;
8114
- }[];
8115
- validator(value: unknown): any;
8116
- };
8117
- modelValue: {
8118
- type: StringConstructor;
8119
- required: true;
8120
- };
8121
- }>> & Readonly<{}>, {
8122
- links: unknown[];
8123
- }, {}, {
8124
- UnnnicIcon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8125
- click: (event: Event) => any;
8126
- mousedown: (event: Event) => any;
8127
- mouseup: (event: Event) => any;
8128
- }, string, PublicProps, Readonly<IconProps> & Readonly<{
8129
- onClick?: ((event: Event) => any) | undefined;
8130
- onMousedown?: ((event: Event) => any) | undefined;
8131
- onMouseup?: ((event: Event) => any) | undefined;
8132
- }>, {
8133
- size: IconSize;
8134
- filled: boolean;
8135
- icon: string | null;
8136
- clickable: boolean;
8137
- scheme: SchemeColor_2;
8138
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8139
- }, {}, string, ComponentProvideOptions, true, {}, any>;
8140
-
8141
6872
  export declare const UnnnicChatsUserAvatar: DefineComponent<ExtractPropTypes< {
8142
6873
  active: {
8143
6874
  type: BooleanConstructor;
@@ -22207,6 +20938,13 @@ scheme: SchemeColor_2;
22207
20938
  }, {}, string, ComponentProvideOptions, true, {}, any>;
22208
20939
  }, {}, string, ComponentProvideOptions, true, {}, any>;
22209
20940
 
20941
+ export declare function useTheme(): {
20942
+ preference: Ref<ThemePreference, ThemePreference>;
20943
+ resolvedTheme: ComputedRef<Theme>;
20944
+ setTheme: (value: ThemePreference) => void;
20945
+ toggleTheme: () => void;
20946
+ };
20947
+
22210
20948
  declare type VueComponent = Component;
22211
20949
 
22212
20950
  export { }