@opens/widget-ui 1.4.0 → 1.4.2

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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-service-page.vue.d.ts","sourceRoot":"","sources":["../src/components/pages/app-service-page.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mHAAmH,CAAC;AAC1I,cAAc,mHAAmH,CAAC;AAClI,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
  };
@@ -333,6 +336,10 @@ export declare const useAppWidget: () => {
333
336
  }[] | undefined;
334
337
  } | undefined;
335
338
  behavior?: import('@opens/gateways/chat-config').ServiceRuleBehavior | undefined;
339
+ service?: {
340
+ targetRuleId?: string | undefined;
341
+ targetWorkFlowId?: string | undefined;
342
+ } | undefined;
336
343
  form?: {
337
344
  fields?: {
338
345
  name: string;
@@ -478,6 +485,10 @@ export declare const useAppWidget: () => {
478
485
  }[] | undefined;
479
486
  } | undefined;
480
487
  behavior?: import('@opens/gateways/chat-config').ServiceRuleBehavior | undefined;
488
+ service?: {
489
+ targetRuleId?: string | undefined;
490
+ targetWorkFlowId?: string | undefined;
491
+ } | undefined;
481
492
  form?: {
482
493
  fields?: {
483
494
  name: string;
@@ -521,6 +532,12 @@ export declare const useAppWidget: () => {
521
532
  y: number;
522
533
  };
523
534
  };
535
+ audio?: {
536
+ enabled: boolean;
537
+ } | undefined;
538
+ notifications?: {
539
+ enabled: boolean;
540
+ } | undefined;
524
541
  };
525
542
  } | undefined, WidgetConfiguration | {
526
543
  configurations: {
@@ -544,6 +561,12 @@ export declare const useAppWidget: () => {
544
561
  y: number;
545
562
  };
546
563
  };
564
+ audio?: {
565
+ enabled: boolean;
566
+ } | undefined;
567
+ notifications?: {
568
+ enabled: boolean;
569
+ } | undefined;
547
570
  };
548
571
  } | undefined>;
549
572
  edges: import('vue').ComputedRef<Rule[]>;
@@ -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
  };
@@ -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=41bbef45&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-widget.vue.d.ts.map