@opens/widget-ui 1.0.12 → 1.0.14

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 CHANGED
@@ -38,4 +38,4 @@ npm run test:unit
38
38
  - `src/composables` — composables
39
39
  - `__tests__` — testes unitários (espelha a estrutura de `src`)
40
40
  - `src/*.story.vue` — stories do Histoire (junto ao componente)
41
- - Configs: Vite, Tailwind (`yu-` prefix), Histoire, Vitest, Cypress
41
+ - Configs: Vite, Tailwind (`wu-` prefix), Histoire, Vitest, Cypress
@@ -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"}
@@ -5,9 +5,9 @@ type __VLS_Props = {
5
5
  };
6
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "send-message": (text: string) => any;
8
- "retry-loading-messages": () => any;
8
+ "retry-loading-chat-service": () => any;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  "onSend-message"?: ((text: string) => any) | undefined;
11
- "onRetry-loading-messages"?: (() => any) | undefined;
11
+ "onRetry-loading-chat-service"?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -1,43 +1,43 @@
1
1
  import { IElement, ITypographyProps } from './types';
2
2
  export declare function useTypographyClasses(element: IElement, props: ITypographyProps): {
3
3
  fontClass: import('vue').ComputedRef<{
4
- '!yu-font-plus': boolean | undefined;
5
- '!yu-font-inter': boolean | undefined;
6
- '!yu-font-titillium': boolean | undefined;
7
- '!yu-font-mono': boolean | undefined;
4
+ '!wu-font-plus': boolean | undefined;
5
+ '!wu-font-inter': boolean | undefined;
6
+ '!wu-font-titillium': boolean | undefined;
7
+ '!wu-font-mono': boolean | undefined;
8
8
  }>;
9
9
  colorClass: import('vue').ComputedRef<{
10
- '!yu-text-white': boolean | undefined;
11
- '!yu-text-primary': boolean | undefined;
12
- '!yu-text-secondary': boolean | undefined;
13
- '!yu-text-base': boolean | undefined;
14
- '!yu-text-neutral dark:!yu-text-neutral-200': boolean | undefined;
10
+ '!wu-text-white': boolean | undefined;
11
+ '!wu-text-primary': boolean | undefined;
12
+ '!wu-text-secondary': boolean | undefined;
13
+ '!wu-text-base': boolean | undefined;
14
+ '!wu-text-neutral dark:!wu-text-neutral-200': boolean | undefined;
15
15
  }>;
16
16
  weightClass: import('vue').ComputedRef<{
17
- '!yu-font-thin': boolean | undefined;
18
- '!yu-font-extralight': boolean | undefined;
19
- '!yu-font-light': boolean | undefined;
20
- '!yu-font-normal': boolean | undefined;
21
- '!yu-font-medium': boolean | undefined;
22
- '!yu-font-semibold': boolean | undefined;
23
- '!yu-font-bold': boolean | undefined;
24
- '!yu-font-extrabold': boolean | undefined;
25
- '!yu-font-black': boolean | undefined;
17
+ '!wu-font-thin': boolean | undefined;
18
+ '!wu-font-extralight': boolean | undefined;
19
+ '!wu-font-light': boolean | undefined;
20
+ '!wu-font-normal': boolean | undefined;
21
+ '!wu-font-medium': boolean | undefined;
22
+ '!wu-font-semibold': boolean | undefined;
23
+ '!wu-font-bold': boolean | undefined;
24
+ '!wu-font-extrabold': boolean | undefined;
25
+ '!wu-font-black': boolean | undefined;
26
26
  }>;
27
27
  sizeClass: import('vue').ComputedRef<{
28
- '!yu-text-xl': boolean | undefined;
29
- '!yu-text-2xl': boolean | undefined;
30
- '!yu-text-3xl': boolean | undefined;
31
- '!yu-text-4xl': boolean | undefined;
28
+ '!wu-text-xl': boolean | undefined;
29
+ '!wu-text-2xl': boolean | undefined;
30
+ '!wu-text-3xl': boolean | undefined;
31
+ '!wu-text-4xl': boolean | undefined;
32
32
  } | {
33
- '!yu-text-sm': boolean | undefined;
34
- '!yu-text-md': boolean | undefined;
35
- '!yu-text-xl': boolean | undefined;
33
+ '!wu-text-sm': boolean | undefined;
34
+ '!wu-text-md': boolean | undefined;
35
+ '!wu-text-xl': boolean | undefined;
36
36
  } | {
37
- '!yu-text-xxs': boolean | undefined;
38
- '!yu-text-xs': boolean | undefined;
39
- '!yu-text-sm': boolean | undefined;
40
- '!yu-text-lg': boolean | undefined;
41
- '!yu-text-2xl': boolean | undefined;
37
+ '!wu-text-xxs': boolean | undefined;
38
+ '!wu-text-xs': boolean | undefined;
39
+ '!wu-text-sm': boolean | undefined;
40
+ '!wu-text-lg': boolean | undefined;
41
+ '!wu-text-2xl': boolean | undefined;
42
42
  }>;
43
43
  };
@@ -10,14 +10,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  back: () => any;
11
11
  close: () => any;
12
12
  "send-message": (text: string) => any;
13
- "retry-loading-messages": () => any;
13
+ "retry-loading-chat-service": () => any;
14
14
  "edge-click": (edge: Rule) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  onSubmit?: ((values: Record<string, string>) => any) | undefined;
17
17
  onBack?: (() => any) | undefined;
18
18
  onClose?: (() => any) | undefined;
19
19
  "onSend-message"?: ((text: string) => any) | undefined;
20
- "onRetry-loading-messages"?: (() => any) | undefined;
20
+ "onRetry-loading-chat-service"?: (() => any) | undefined;
21
21
  "onEdge-click"?: ((edge: Rule) => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
23
  export default _default;
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  back: () => any;
11
11
  close: () => any;
12
12
  "send-message": (text: string) => any;
13
- "retry-loading-messages": () => any;
13
+ "retry-loading-chat-service": () => any;
14
14
  open: () => any;
15
15
  "edge-click": (edge: Rule) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
18
18
  onBack?: (() => any) | undefined;
19
19
  onClose?: (() => any) | undefined;
20
20
  "onSend-message"?: ((text: string) => any) | undefined;
21
- "onRetry-loading-messages"?: (() => any) | undefined;
21
+ "onRetry-loading-chat-service"?: (() => any) | undefined;
22
22
  onOpen?: (() => any) | undefined;
23
23
  "onEdge-click"?: ((edge: Rule) => any) | undefined;
24
24
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,9 +1,9 @@
1
1
  import { Rule, WorkflowData } from '@opens/gateways/chat-config';
2
2
  export declare const useAppWidget: () => {
3
3
  chat: {
4
- isErrorLoadingMessages: import('vue').Ref<boolean, boolean>;
5
- isLoadingMessages: import('vue').Ref<boolean, boolean>;
6
4
  isSendingMessage: import('vue').Ref<boolean, boolean>;
5
+ isErrorLoading: import('vue').Ref<boolean, boolean>;
6
+ isLoading: import('vue').Ref<boolean, boolean>;
7
7
  messages: import('vue').Ref<{
8
8
  from: import('./use-service-chat-behavior').ServiceChatMessageFrom;
9
9
  text: string;
@@ -3,9 +3,9 @@ interface StyleProps {
3
3
  small?: boolean;
4
4
  }
5
5
  export declare function useButtonStyle(props: StyleProps): {
6
- height: import('vue').ComputedRef<"" | "!yu-h-8 !yu-min-h-[2rem]">;
6
+ height: import('vue').ComputedRef<"" | "!wu-h-8 !wu-min-h-[2rem]">;
7
7
  textSize: import('vue').ComputedRef<string>;
8
- padding: import('vue').ComputedRef<"yu-px-[0.625rem]" | "yu-p-[0.9rem]">;
9
- width: import('vue').ComputedRef<"!yu-w-full" | "yu-w-fit">;
8
+ padding: import('vue').ComputedRef<"wu-px-[0.625rem]" | "wu-p-[0.9rem]">;
9
+ width: import('vue').ComputedRef<"!wu-w-full" | "wu-w-fit">;
10
10
  };
11
11
  export {};
@@ -3,8 +3,8 @@ interface StyleProps {
3
3
  small?: boolean;
4
4
  }
5
5
  export declare function useInputStyle(props: StyleProps): {
6
- height: import('vue').ComputedRef<"!yu-h-8 !yu-min-h-[2rem]" | "!yu-h-12 !yu-min-h-[3rem]">;
6
+ height: import('vue').ComputedRef<"!wu-h-8 !wu-min-h-[2rem]" | "!wu-h-12 !wu-min-h-[3rem]">;
7
7
  textSize: import('vue').ComputedRef<string>;
8
- width: import('vue').ComputedRef<"!yu-w-full" | "yu-w-fit">;
8
+ width: import('vue').ComputedRef<"!wu-w-full" | "wu-w-fit">;
9
9
  };
10
10
  export {};
@@ -4,9 +4,9 @@ export type ServiceChatMessage = {
4
4
  text: string;
5
5
  };
6
6
  export declare function useServiceChatBehavior(): {
7
- isErrorLoadingMessages: import('vue').Ref<boolean, boolean>;
8
- isLoadingMessages: import('vue').Ref<boolean, boolean>;
9
7
  isSendingMessage: import('vue').Ref<boolean, boolean>;
8
+ isErrorLoading: import('vue').Ref<boolean, boolean>;
9
+ isLoading: import('vue').Ref<boolean, boolean>;
10
10
  messages: import('vue').Ref<{
11
11
  from: ServiceChatMessageFrom;
12
12
  text: string;
@@ -1,8 +1,8 @@
1
1
  export declare function useServicePage(): {
2
2
  chat: {
3
- isErrorLoadingMessages: import('vue').Ref<boolean, boolean>;
4
- isLoadingMessages: import('vue').Ref<boolean, boolean>;
5
3
  isSendingMessage: import('vue').Ref<boolean, boolean>;
4
+ isErrorLoading: import('vue').Ref<boolean, boolean>;
5
+ isLoading: import('vue').Ref<boolean, boolean>;
6
6
  messages: import('vue').Ref<{
7
7
  from: import('./use-service-chat-behavior').ServiceChatMessageFrom;
8
8
  text: string;
@@ -7,7 +7,7 @@ type WidgetAppearance = {
7
7
  };
8
8
  export declare const useWidgetAppearance: (appearance: MaybeRefOrGetter<WidgetAppearance>) => {
9
9
  isDark: import('vue').ComputedRef<boolean>;
10
- themeClass: import('vue').ComputedRef<"" | "yu-dark">;
10
+ themeClass: import('vue').ComputedRef<"" | "wu-dark">;
11
11
  resolvedTheme: import('vue').ComputedRef<ResolvedWidgetTheme>;
12
12
  appearanceStyle: import('vue').ComputedRef<{
13
13
  colorScheme: ResolvedWidgetTheme;
@@ -1,5 +1,5 @@
1
1
  export * from "/opt/atlassian/pipelines/agent/build/src/components/typography/app-text.vue?vue&type=script&setup=true&lang.ts";
2
- import "/opt/atlassian/pipelines/agent/build/src/components/typography/app-text.vue?vue&type=style&index=0&scoped=030e2417&lang.css";
2
+ import "/opt/atlassian/pipelines/agent/build/src/components/typography/app-text.vue?vue&type=style&index=0&scoped=5fc0fe9d&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-text.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-carousel.vue?vue&type=script&setup=true&lang.ts";
2
- import "/opt/atlassian/pipelines/agent/build/src/components/ui/app-carousel.vue?vue&type=style&index=0&scoped=c6006063&lang.css";
2
+ import "/opt/atlassian/pipelines/agent/build/src/components/ui/app-carousel.vue?vue&type=style&index=0&scoped=744169d9&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-carousel.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget-view.vue?vue&type=script&setup=true&lang.ts";
2
- import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget-view.vue?vue&type=style&index=0&scoped=16ec137d&lang.css";
2
+ import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget-view.vue?vue&type=style&index=0&scoped=b632d712&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-widget-view.vue.d.ts.map
@@ -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=d89436c3&lang.css";
2
+ import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget.vue?vue&type=style&index=0&scoped=fcbcb50d&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-widget.vue.d.ts.map