@mobilon-dev/chotto 0.3.3 → 0.3.5

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 (147) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +303 -303
  3. package/dist/{ModalVideoRecorder-CXr2HQuY.js → ModalVideoRecorder-BFZoDkGK.js} +2 -2
  4. package/dist/chotto.css +1 -1
  5. package/dist/index-DRZepRE6.js +20957 -0
  6. package/dist/types/{helpers → apps/helpers}/index.d.ts +5 -5
  7. package/dist/types/apps/helpers/sortByTimestamp.d.ts +5 -0
  8. package/dist/types/apps/helpers/useModalSelectUser2.d.ts +1 -0
  9. package/dist/types/{transform → apps/transform}/transformToFeed.d.ts +1 -1
  10. package/dist/types/components/atoms/Modal/styles/types.d.ts +161 -0
  11. package/dist/types/components/atoms/ModalFullscreen/styles/types.d.ts +133 -0
  12. package/dist/types/components/atoms/ModalNoFooter/styles/types.d.ts +105 -0
  13. package/dist/types/components/atoms/Tooltip/styles/types.d.ts +61 -0
  14. package/dist/types/components/blocks/ChatItem/ChatItem.vue.d.ts +23 -19
  15. package/dist/types/components/blocks/ChatItem/styles/types.d.ts +293 -0
  16. package/dist/types/components/blocks/ChatList/ChatList.vue.d.ts +1 -1
  17. package/dist/types/components/blocks/ChatList/styles/types.d.ts +123 -0
  18. package/dist/types/components/blocks/ChatPanel/styles/types.d.ts +53 -0
  19. package/dist/types/components/blocks/FeedFoundItem/styles/types.d.ts +89 -0
  20. package/dist/types/components/blocks/FeedFoundObjects/FeedFoundObjects.vue.d.ts +2 -2
  21. package/dist/types/components/blocks/FeedFoundObjects/styles/types.d.ts +37 -0
  22. package/dist/types/components/blocks/FeedSearch/styles/types.d.ts +51 -0
  23. package/dist/types/components/blocks/MessageKeyboard/styles/types.d.ts +51 -0
  24. package/dist/types/components/blocks/index.d.ts +0 -1
  25. package/dist/types/components/compounds/ChatInput/styles/types.d.ts +159 -0
  26. package/dist/types/components/compounds/CommunicationPanel/styles/types.d.ts +401 -0
  27. package/dist/types/components/compounds/Feed/Feed.vue.d.ts +11 -2
  28. package/dist/types/components/compounds/Feed/messages/AudioMessage/styles/types.d.ts +437 -0
  29. package/dist/types/components/compounds/Feed/messages/BaseReplyMessage/BaseReplyMessage.vue.d.ts +5 -1
  30. package/dist/types/components/compounds/Feed/messages/BaseReplyMessage/styles/types.d.ts +73 -0
  31. package/dist/types/components/compounds/Feed/messages/CallMessage/styles/types.d.ts +305 -0
  32. package/dist/types/components/compounds/Feed/messages/DateMessage/styles/types.d.ts +34 -0
  33. package/dist/types/components/compounds/Feed/messages/DateMessageSticky/styles/types.d.ts +35 -0
  34. package/dist/types/components/compounds/Feed/messages/FileMessage/styles/types.d.ts +253 -0
  35. package/dist/types/components/compounds/Feed/messages/ImageMessage/styles/types.d.ts +237 -0
  36. package/dist/types/components/compounds/Feed/messages/ReplyAudioMessage/styles/types.d.ts +71 -0
  37. package/dist/types/components/compounds/Feed/messages/ReplyCallMessage/styles/types.d.ts +61 -0
  38. package/dist/types/components/compounds/Feed/messages/ReplyFileMessage/styles/types.d.ts +67 -0
  39. package/dist/types/components/compounds/Feed/messages/ReplyImageMessage/styles/types.d.ts +85 -0
  40. package/dist/types/components/compounds/Feed/messages/ReplyTextMessage/styles/types.d.ts +35 -0
  41. package/dist/types/components/compounds/Feed/messages/ReplyVideoMessage/styles/types.d.ts +81 -0
  42. package/dist/types/components/compounds/Feed/messages/SystemMessage/styles/types.d.ts +23 -0
  43. package/dist/types/components/compounds/Feed/messages/TextMessage/styles/types.d.ts +203 -0
  44. package/dist/types/components/compounds/Feed/messages/TypingMessage/styles/types.d.ts +93 -0
  45. package/dist/types/components/compounds/Feed/messages/VideoMessage/VideoMessage.vue.d.ts +1 -1
  46. package/dist/types/components/compounds/Feed/messages/VideoMessage/styles/types.d.ts +241 -0
  47. package/dist/types/components/compounds/Feed/styles/types.d.ts +119 -0
  48. package/dist/types/components/compounds/ModalVideoRecorder/styles/types.d.ts +71 -0
  49. package/dist/types/components/compounds/SideBar/styles/types.d.ts +279 -0
  50. package/dist/types/components/compounds/TemplateSelector/TemplateSelector.vue.d.ts +2 -0
  51. package/dist/types/components/compounds/TemplateSelector/styles/types.d.ts +311 -0
  52. package/dist/types/components/compounds/UserProfile/styles/types.d.ts +61 -0
  53. package/dist/types/components/containers/BaseContainer/styles/types.d.ts +39 -0
  54. package/dist/types/components/containers/FloatContainer/styles/types.d.ts +89 -0
  55. package/dist/types/components/containers/PlaceholderComponent/styles/types.d.ts +17 -0
  56. package/dist/types/components/containers/SplashScreen/styles/types.d.ts +17 -0
  57. package/dist/types/components/elements/AudioRecorder/styles/types.d.ts +79 -0
  58. package/dist/types/components/elements/ButtonCommandsSelector/styles/types.d.ts +23 -0
  59. package/dist/types/components/elements/ButtonContextMenu/styles/types.d.ts +15 -0
  60. package/dist/types/components/elements/ButtonEmojiPicker/styles/types.d.ts +33 -0
  61. package/dist/types/components/elements/ButtonTemplateSelector/styles/types.d.ts +29 -0
  62. package/dist/types/components/elements/ButtonWabaTemplateSelector/styles/types.d.ts +29 -0
  63. package/dist/types/components/elements/ChannelSelector/ChannelSelector.vue.d.ts +2 -2
  64. package/dist/types/components/elements/ChannelSelector/styles/types.d.ts +49 -0
  65. package/dist/types/components/elements/ChatFilter/styles/types.d.ts +43 -0
  66. package/dist/types/components/elements/ChatInfo/styles/types.d.ts +93 -0
  67. package/dist/types/components/elements/ChatTabs/styles/types.d.ts +65 -0
  68. package/dist/types/components/elements/ContactInfo/ContactInfo.vue.d.ts +2 -2
  69. package/dist/types/components/elements/ContactInfo/stories/ContactInfo.stories.d.ts +2 -2
  70. package/dist/types/components/elements/ContactInfo/styles/types.d.ts +219 -0
  71. package/dist/types/components/elements/ContextMenu/styles/types.d.ts +59 -0
  72. package/dist/types/components/elements/FeedKeyboard/styles/types.d.ts +55 -0
  73. package/dist/types/components/elements/FilePreview/styles/types.d.ts +141 -0
  74. package/dist/types/components/elements/FileUploader/styles/types.d.ts +23 -0
  75. package/dist/types/components/elements/ThemeMode/styles/types.d.ts +99 -0
  76. package/dist/types/components/elements/VideoRecorder/styles/types.d.ts +37 -0
  77. package/dist/types/components/elements/WABAAttachmentSection/styles/types.d.ts +59 -0
  78. package/dist/types/components/elements/WABAQuickReplyButtons/styles/types.d.ts +35 -0
  79. package/dist/types/components/elements/WABASeparatedQuickButtons/styles/types.d.ts +65 -0
  80. package/dist/types/components/elements/WABATemplateSelector/WABATemplateSelector.vue.d.ts +2 -0
  81. package/dist/types/components/elements/WABATemplateSelector/stories/WABATemplateSelector.stories.d.ts +2 -0
  82. package/dist/types/components/elements/WABATemplateSelector/styles/types.d.ts +363 -0
  83. package/dist/types/components/layouts/AdaptiveExtendedLayout/styles/types.d.ts +83 -0
  84. package/dist/types/components/layouts/BaseLayout/styles/types.d.ts +63 -0
  85. package/dist/types/components/layouts/ChatWrapper/styles/types.d.ts +43 -0
  86. package/dist/types/components/layouts/ExtendedLayout/styles/types.d.ts +79 -0
  87. package/dist/types/components/layouts/FeedLayout/styles/types.d.ts +33 -0
  88. package/dist/types/components/molecules/CreateDialog/CreateDialog.vue.d.ts +2 -2
  89. package/dist/types/components/molecules/CreateDialog/stories/CreateDialog.stories.d.ts +2 -2
  90. package/dist/types/components/molecules/CreateDialog/styles/types.d.ts +19 -0
  91. package/dist/types/components/molecules/EmbedPreview/styles/types.d.ts +29 -0
  92. package/dist/types/components/molecules/LinkPreview/styles/types.d.ts +55 -0
  93. package/dist/types/components/molecules/SelectUser/styles/types.d.ts +53 -0
  94. package/dist/types/components/molecules/SelectUser2/styles/types.d.ts +19 -0
  95. package/dist/types/components/molecules/index.d.ts +4 -0
  96. package/dist/types/hooks/index.d.ts +12 -0
  97. package/dist/types/index.d.ts +1 -1
  98. package/dist/types/themes/index.d.ts +1 -2
  99. package/dist/types/themes/types.d.ts +64 -113
  100. package/dist/types/types/components.d.ts +33 -0
  101. package/dist/vuessages.es.js +65 -62
  102. package/dist/vuessages.umd.js +6 -6
  103. package/package.json +64 -63
  104. package/dist/CreateChat-Dv1RI_Uw.js +0 -31
  105. package/dist/CreateChat2-DR5H827U.js +0 -42
  106. package/dist/CreateDialog-lcy7szHJ.js +0 -77
  107. package/dist/SelectUser2-BpDHmoMk.js +0 -46
  108. package/dist/chat-background.svg +0 -3
  109. package/dist/index-BAlmGgQr.js +0 -20864
  110. package/dist/types/helpers/sortByTimestamp.d.ts +0 -1
  111. package/dist/types/helpers/useModalSelectUser2.d.ts +0 -1
  112. package/dist/types/themes/constants.d.ts +0 -18
  113. /package/dist/types/{BaseAdaptiveExtendedChatApp.vue.d.ts → apps/BaseAdaptiveExtendedChatApp/BaseAdaptiveExtendedChatApp.vue.d.ts} +0 -0
  114. /package/dist/types/{BaseBaseChatApp.vue.d.ts → apps/BaseBaseChatApp/BaseBaseChatApp.vue.d.ts} +0 -0
  115. /package/dist/types/{BaseExtendedChatApp.vue.d.ts → apps/BaseExtendedChatApp/BaseExtendedChatApp.vue.d.ts} +0 -0
  116. /package/dist/types/{BaseFeedChatApp.vue.d.ts → apps/BaseFeedChatApp/BaseFeedChatApp.vue.d.ts} +0 -0
  117. /package/dist/types/{FloatExtendedChatApp.vue.d.ts → apps/FloatExtendedChatApp/FloatExtendedChatApp.vue.d.ts} +0 -0
  118. /package/dist/types/{MobilonExtendedChatApp.vue.d.ts → apps/MobilonExtendedChatApp/MobilonExtendedChatApp.vue.d.ts} +0 -0
  119. /package/dist/types/{data → apps/data}/channels.d.ts +0 -0
  120. /package/dist/types/{data → apps/data}/chats.d.ts +0 -0
  121. /package/dist/types/{data → apps/data}/groupTemplates.d.ts +0 -0
  122. /package/dist/types/{data → apps/data}/index.d.ts +0 -0
  123. /package/dist/types/{data → apps/data}/messages.d.ts +0 -0
  124. /package/dist/types/{data → apps/data}/sidebarItems.d.ts +0 -0
  125. /package/dist/types/{data → apps/data}/templates.d.ts +0 -0
  126. /package/dist/types/{data → apps/data}/userProfile.d.ts +0 -0
  127. /package/dist/types/{data → apps/data}/users.d.ts +0 -0
  128. /package/dist/types/{data → apps/data}/wabaTemplates.d.ts +0 -0
  129. /package/dist/types/{helpers → apps/helpers}/formatTimestamp.d.ts +0 -0
  130. /package/dist/types/{helpers → apps/helpers}/playNotificationAudio.d.ts +0 -0
  131. /package/dist/types/{helpers → apps/helpers}/prepareTimeline.d.ts +0 -0
  132. /package/dist/types/{helpers → apps/helpers}/useCreateChat.d.ts +0 -0
  133. /package/dist/types/{helpers → apps/helpers}/useCreateChat2.d.ts +0 -0
  134. /package/dist/types/{helpers → apps/helpers}/useCreateDialog.d.ts +0 -0
  135. /package/dist/types/{stores → apps/stores}/useChatStore.d.ts +0 -0
  136. /package/dist/types/{helpers → hooks}/generatePreview.d.ts +0 -0
  137. /package/dist/types/{helpers → hooks}/getStatusMessage.d.ts +0 -0
  138. /package/dist/types/{helpers → hooks}/getTypeFileByMime.d.ts +0 -0
  139. /package/dist/types/{helpers → hooks}/throttle.d.ts +0 -0
  140. /package/dist/types/{helpers → hooks}/uploadFile.d.ts +0 -0
  141. /package/dist/types/{helpers → hooks}/useDelayDebouncedRef.d.ts +0 -0
  142. /package/dist/types/{helpers → hooks}/useImmediateDebouncedRef.d.ts +0 -0
  143. /package/dist/types/{helpers → hooks}/useMessage.d.ts +0 -0
  144. /package/dist/types/{helpers → hooks}/useModal.d.ts +0 -0
  145. /package/dist/types/{helpers → hooks}/useSearchModel.d.ts +0 -0
  146. /package/dist/types/{helpers → hooks}/useTheme.d.ts +0 -0
  147. /package/dist/types/{helpers → hooks}/useVideoRecorder.d.ts +0 -0
@@ -1 +0,0 @@
1
- export declare const sortByTimestamp: (messages: any) => any;
@@ -1 +0,0 @@
1
- export declare const useModalSelectUser2: (title: any, users: any, theme: any) => Promise<Record<string, unknown>>;
@@ -1,18 +0,0 @@
1
- /**
2
- * Theme constants and configuration
3
- */
4
- import type { ThemeName } from './types';
5
- export declare const THEME_NAMES: ThemeName[];
6
- export declare const THEME_DISPLAY_NAMES: Record<ThemeName, string>;
7
- export declare const THEME_DESCRIPTIONS: Record<ThemeName, string>;
8
- export declare const THEME_VARIABLE_PREFIX: "--chotto-theme";
9
- export declare const REQUIRED_THEME_VARIABLES: readonly ["--chotto-theme-font-family", "--chotto-theme-container-font-weight", "--chotto-theme-container-borders", "--chotto-theme-float-container-border-radius-header", "--chotto-theme-float-container-box-shadow", "--chotto-theme-float-container-bg-header", "--chotto-theme-modal-padding", "--chotto-theme-modal-border-radius", "--chotto-theme-modal-mask-background", "--chotto-theme-modal-overlay-shadow", "--chotto-theme-modal-bg", "--chotto-theme-layout-extended-third-col-bg", "--chotto-theme-layout-extended-second-col-bg", "--chotto-theme-layout-extended-first-col-bg", "--chotto-theme-layout-extended-first-col-width", "--chotto-theme-layout-extended-second-col-width", "--chotto-theme-layout-base-second-col-bg", "--chotto-theme-layout-base-first-col-bg", "--chotto-theme-layout-feed-bg", "--chotto-theme-message-right-bg", "--chotto-theme-message-right-secondary-bg", "--chotto-theme-message-left-bg", "--chotto-theme-message-left-secondary-bg", "--chotto-theme-message-accent-line-color", "--chotto-theme-message-focused-color", "--chotto-theme-message-margin", "--chotto-theme-message-type-icon-bg-color", "--chotto-theme-message-type-icon-color", "--chotto-theme-message-popup-info-bg-color", "--chotto-theme-message-popup-info-color", "--chotto-theme-message-border-radius", "--chotto-theme-audio-message-transcript-delimiter-color", "--chotto-theme-audio-message-pbc-background-color", "--chotto-theme-audio-message-pb-background-color", "--chotto-theme-call-message-phone-icon-missed-color", "--chotto-theme-system-message-bg-color", "--chotto-theme-primary-color", "--chotto-theme-secondary-color", "--chotto-theme-primary-text-color", "--chotto-theme-secondary-text-color", "--chotto-theme-header-font", "--chotto-theme-header-font-color", "--chotto-theme-header-font-size", "--chotto-theme-title-font-size", "--chotto-theme-text-font-size", "--chotto-theme-additional-text-font-size", "--chotto-theme-small-text-font-size", "--chotto-theme-header-font-weight", "--chotto-theme-title-font-weight", "--chotto-theme-button-icon-size", "--chotto-theme-text-icon-size", "--chotto-theme-small-text-icon-size", "--chotto-theme-button-color-active", "--chotto-theme-button-color-hover", "--chotto-theme-button-color-disabled", "--chotto-theme-action-button-color-active", "--chotto-theme-action-button-color-hover", "--chotto-theme-action-button-color-disabled", "--chotto-theme-shadow-color", "--chotto-theme-shadow-light-color", "--chotto-theme-status-color-received", "--chotto-theme-status-color-read", "--chotto-theme-item-background-color-focus", "--chotto-theme-item-background-color-hover", "--chotto-theme-item-border-color", "--chotto-theme-unread-background-color", "--chotto-theme-unread-text-color", "--chotto-theme-scrollbar-bg", "--chotto-theme-scrollbar-thumb-bg"];
10
- export declare const ALL_THEME_VARIABLES: readonly ["--chotto-theme-font-family", "--chotto-theme-container-font-weight", "--chotto-theme-container-borders", "--chotto-theme-float-container-border-radius-header", "--chotto-theme-float-container-box-shadow", "--chotto-theme-float-container-bg-header", "--chotto-theme-modal-padding", "--chotto-theme-modal-border-radius", "--chotto-theme-modal-mask-background", "--chotto-theme-modal-overlay-shadow", "--chotto-theme-modal-bg", "--chotto-theme-layout-extended-third-col-bg", "--chotto-theme-layout-extended-second-col-bg", "--chotto-theme-layout-extended-first-col-bg", "--chotto-theme-layout-extended-first-col-width", "--chotto-theme-layout-extended-second-col-width", "--chotto-theme-layout-base-second-col-bg", "--chotto-theme-layout-base-first-col-bg", "--chotto-theme-layout-feed-bg", "--chotto-theme-message-right-bg", "--chotto-theme-message-right-secondary-bg", "--chotto-theme-message-left-bg", "--chotto-theme-message-left-secondary-bg", "--chotto-theme-message-accent-line-color", "--chotto-theme-message-focused-color", "--chotto-theme-message-margin", "--chotto-theme-message-type-icon-bg-color", "--chotto-theme-message-type-icon-color", "--chotto-theme-message-popup-info-bg-color", "--chotto-theme-message-popup-info-color", "--chotto-theme-message-border-radius", "--chotto-theme-audio-message-transcript-delimiter-color", "--chotto-theme-audio-message-pbc-background-color", "--chotto-theme-audio-message-pb-background-color", "--chotto-theme-call-message-phone-icon-missed-color", "--chotto-theme-system-message-bg-color", "--chotto-theme-primary-color", "--chotto-theme-secondary-color", "--chotto-theme-primary-text-color", "--chotto-theme-secondary-text-color", "--chotto-theme-header-font", "--chotto-theme-header-font-color", "--chotto-theme-header-font-size", "--chotto-theme-title-font-size", "--chotto-theme-text-font-size", "--chotto-theme-additional-text-font-size", "--chotto-theme-small-text-font-size", "--chotto-theme-header-font-weight", "--chotto-theme-title-font-weight", "--chotto-theme-button-icon-size", "--chotto-theme-text-icon-size", "--chotto-theme-small-text-icon-size", "--chotto-theme-button-color-active", "--chotto-theme-button-color-hover", "--chotto-theme-button-color-disabled", "--chotto-theme-action-button-color-active", "--chotto-theme-action-button-color-hover", "--chotto-theme-action-button-color-disabled", "--chotto-theme-shadow-color", "--chotto-theme-shadow-light-color", "--chotto-theme-status-color-received", "--chotto-theme-status-color-read", "--chotto-theme-item-background-color-focus", "--chotto-theme-item-background-color-hover", "--chotto-theme-item-border-color", "--chotto-theme-unread-background-color", "--chotto-theme-unread-text-color", "--chotto-theme-scrollbar-bg", "--chotto-theme-scrollbar-thumb-bg"];
11
- export declare const THEME_FILE_PATHS: Record<ThemeName, string>;
12
- export declare const DEFAULT_THEME: ThemeName;
13
- export declare const THEME_VALIDATION_CONFIG: {
14
- readonly strictMode: true;
15
- readonly allowOptionalVariables: true;
16
- readonly validateSyntax: true;
17
- readonly checkConsistency: true;
18
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes