@opens/widget-ui 1.4.0 → 1.4.1

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-screen-page.vue.d.ts","sourceRoot":"","sources":["../src/components/pages/app-screen-page.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kHAAkH,CAAC;AACzI,cAAc,kHAAkH,CAAC;AACjI,eAAe,SAAS,CAAC"}
@@ -2,6 +2,7 @@ import { Rule, ScreenRuleHeaderComponent, WorkflowData } from '@opens/gateways/c
2
2
  import { WidgetConfiguration } from '../mocks/demo-config';
3
3
  export declare const useAppWidget: () => {
4
4
  chat: {
5
+ unreadMessagesCount: import('vue').ComputedRef<number>;
5
6
  isSendingMessage: import('vue').Ref<boolean, boolean>;
6
7
  isErrorLoading: import('vue').Ref<boolean, boolean>;
7
8
  attachments: import('vue').ShallowRef<import('./use-chat-service').ServiceChatAttachment[], import('./use-chat-service').ServiceChatAttachment[]>;
@@ -197,6 +198,8 @@ export declare const useAppWidget: () => {
197
198
  isTyping: import('vue').Ref<boolean, boolean>;
198
199
  audio: import('vue').ShallowRef<import('./use-chat-service').ServiceChatAudio | null, import('./use-chat-service').ServiceChatAudio | null>;
199
200
  text: import('vue').Ref<string, string>;
201
+ setUnreadMessages: (list: import('./use-chat-service').ServiceChatMessage[]) => void;
202
+ addUnreadMessage: (message: import('./use-chat-service').ServiceChatMessage) => void;
200
203
  setMessages: (list: import('./use-chat-service').ServiceChatMessage[]) => void;
201
204
  addMessage: (message: import('./use-chat-service').ServiceChatMessage) => void;
202
205
  };
@@ -1,6 +1,7 @@
1
1
  import { ServiceChatAttachment, ServiceChatAudio, ServiceChatMessage } from '../domain/chat-message';
2
2
  export type { MessageAttachment, MessageAttachmentType, MessageInteractiveBody, MessageInteractiveOption, MessageResponse, MessageType, ServiceChatAttachment, ServiceChatAttachmentType, ServiceChatAudio, ServiceChatInteractiveBody, ServiceChatInteractiveOption, ServiceChatMessage, ServiceChatMessageAction, ServiceChatServiceAction, ServiceChatMessageAttachment, ServiceChatMessageAttachmentType, ServiceChatMessageFrom, ServiceChatMessageType, } from '../domain/chat-message';
3
3
  export declare function useChatService(): {
4
+ unreadMessagesCount: import('vue').ComputedRef<number>;
4
5
  isSendingMessage: import('vue').Ref<boolean, boolean>;
5
6
  isErrorLoading: import('vue').Ref<boolean, boolean>;
6
7
  attachments: import('vue').ShallowRef<ServiceChatAttachment[], ServiceChatAttachment[]>;
@@ -196,6 +197,8 @@ export declare function useChatService(): {
196
197
  isTyping: import('vue').Ref<boolean, boolean>;
197
198
  audio: import('vue').ShallowRef<ServiceChatAudio | null, ServiceChatAudio | null>;
198
199
  text: import('vue').Ref<string, string>;
200
+ setUnreadMessages: (list: ServiceChatMessage[]) => void;
201
+ addUnreadMessage: (message: ServiceChatMessage) => void;
199
202
  setMessages: (list: ServiceChatMessage[]) => void;
200
203
  addMessage: (message: ServiceChatMessage) => void;
201
204
  };
@@ -1,5 +1,6 @@
1
1
  export declare function useServicePage(): {
2
2
  chat: {
3
+ unreadMessagesCount: import('vue').ComputedRef<number>;
3
4
  isSendingMessage: import('vue').Ref<boolean, boolean>;
4
5
  isErrorLoading: import('vue').Ref<boolean, boolean>;
5
6
  attachments: import('vue').ShallowRef<import('./use-chat-service').ServiceChatAttachment[], import('./use-chat-service').ServiceChatAttachment[]>;
@@ -195,6 +196,8 @@ export declare function useServicePage(): {
195
196
  isTyping: import('vue').Ref<boolean, boolean>;
196
197
  audio: import('vue').ShallowRef<import('./use-chat-service').ServiceChatAudio | null, import('./use-chat-service').ServiceChatAudio | null>;
197
198
  text: import('vue').Ref<string, string>;
199
+ setUnreadMessages: (list: import('./use-chat-service').ServiceChatMessage[]) => void;
200
+ addUnreadMessage: (message: import('./use-chat-service').ServiceChatMessage) => void;
198
201
  setMessages: (list: import('./use-chat-service').ServiceChatMessage[]) => void;
199
202
  addMessage: (message: import('./use-chat-service').ServiceChatMessage) => void;
200
203
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-article-page.vue.d.ts","sourceRoot":"","sources":["../../src/components/pages/app-article-page.vue"],"names":[],"mappings":"AACA,cAAc,mHAAmH,CAAC;AAClI,OAAO,gIAAgI,CAAC;AACxI,OAAO,gHAAgH,CAAC;;AAExH,wBAA0F"}
@@ -1,5 +1,5 @@
1
1
  export * from "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget.vue?vue&type=script&setup=true&lang.ts";
2
- import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget.vue?vue&type=style&index=0&scoped=ffcd4172&lang.css";
2
+ import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget.vue?vue&type=style&index=0&scoped=a407563b&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-widget.vue.d.ts.map