@opens/widget-ui 1.0.10 → 1.0.12
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/dist/app-identification-page.vue.d.ts.map +1 -0
- package/dist/app-screen-page.vue.d.ts.map +1 -0
- package/dist/components/pages/app-service-page.vue.d.ts +2 -0
- package/dist/components/ui/app-empty.vue.d.ts +18 -0
- package/dist/components/ui/app-skeleton.vue.d.ts +14 -0
- package/dist/components/widget/app-widget-view.vue.d.ts +2 -0
- package/dist/components/widget/app-widget.vue.d.ts +2 -0
- package/dist/composables/use-app-widget.d.ts +3 -0
- package/dist/composables/use-service-chat-behavior.d.ts +3 -0
- package/dist/composables/use-service-page.d.ts +3 -0
- package/dist/icons/app-icon.vue.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/main.d.ts +3 -1
- package/dist/ui/app-empty.vue.d.ts +4 -0
- package/dist/ui/app-empty.vue.d.ts.map +1 -0
- package/dist/ui/app-skeleton.vue.d.ts +4 -0
- package/dist/ui/app-skeleton.vue.d.ts.map +1 -0
- package/dist/widget/app-widget-view.vue.d.ts +1 -1
- package/dist/widget/app-widget.vue.d.ts +1 -1
- package/dist/yunique_widget_ui.cjs.js +1 -1
- package/dist/yunique_widget_ui.css +1 -1
- package/dist/yunique_widget_ui.es.js +1276 -1156
- package/dist/yunique_widget_ui.umd.js +2 -2
- package/package.json +1 -1
- package/dist/app-icon.vue.d.ts.map +0 -1
- package/dist/pages/app-identification-page.vue.d.ts.map +0 -1
- package/dist/pages/app-screen-page.vue.d.ts.map +0 -1
- /package/dist/{pages/app-identification-page.vue.d.ts → app-identification-page.vue.d.ts} +0 -0
- /package/dist/{pages/app-screen-page.vue.d.ts → app-screen-page.vue.d.ts} +0 -0
- /package/dist/{app-icon.vue.d.ts → icons/app-icon.vue.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-identification-page.vue.d.ts","sourceRoot":"","sources":["../src/components/pages/app-identification-page.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0HAA0H,CAAC;AACjJ,cAAc,0HAA0H,CAAC;AACzI,eAAe,SAAS,CAAC"}
|
|
@@ -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"}
|
|
@@ -5,7 +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
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
10
|
"onSend-message"?: ((text: string) => any) | undefined;
|
|
11
|
+
"onRetry-loading-messages"?: (() => any) | undefined;
|
|
10
12
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
13
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
error: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
refetch: (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
error: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onRefetch?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
error: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
round: BooleanConstructor;
|
|
3
|
+
fluid: BooleanConstructor;
|
|
4
|
+
block: BooleanConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
round: BooleanConstructor;
|
|
7
|
+
fluid: BooleanConstructor;
|
|
8
|
+
block: BooleanConstructor;
|
|
9
|
+
}>> & Readonly<{}>, {
|
|
10
|
+
fluid: boolean;
|
|
11
|
+
round: boolean;
|
|
12
|
+
block: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -10,12 +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
14
|
"edge-click": (edge: Rule) => any;
|
|
14
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
16
|
onSubmit?: ((values: Record<string, string>) => any) | undefined;
|
|
16
17
|
onBack?: (() => any) | undefined;
|
|
17
18
|
onClose?: (() => any) | undefined;
|
|
18
19
|
"onSend-message"?: ((text: string) => any) | undefined;
|
|
20
|
+
"onRetry-loading-messages"?: (() => any) | undefined;
|
|
19
21
|
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
20
22
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
23
|
export default _default;
|
|
@@ -10,6 +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
14
|
open: () => any;
|
|
14
15
|
"edge-click": (edge: Rule) => any;
|
|
15
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -17,6 +18,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
18
|
onBack?: (() => any) | undefined;
|
|
18
19
|
onClose?: (() => any) | undefined;
|
|
19
20
|
"onSend-message"?: ((text: string) => any) | undefined;
|
|
21
|
+
"onRetry-loading-messages"?: (() => any) | undefined;
|
|
20
22
|
onOpen?: (() => any) | undefined;
|
|
21
23
|
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
22
24
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +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
|
+
isSendingMessage: import('vue').Ref<boolean, boolean>;
|
|
4
7
|
messages: import('vue').Ref<{
|
|
5
8
|
from: import('./use-service-chat-behavior').ServiceChatMessageFrom;
|
|
6
9
|
text: string;
|
|
@@ -4,6 +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
|
+
isSendingMessage: import('vue').Ref<boolean, boolean>;
|
|
7
10
|
messages: import('vue').Ref<{
|
|
8
11
|
from: ServiceChatMessageFrom;
|
|
9
12
|
text: string;
|
|
@@ -1,5 +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
|
+
isSendingMessage: import('vue').Ref<boolean, boolean>;
|
|
3
6
|
messages: import('vue').Ref<{
|
|
4
7
|
from: import('./use-service-chat-behavior').ServiceChatMessageFrom;
|
|
5
8
|
text: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-icon.vue.d.ts","sourceRoot":"","sources":["../../src/components/icons/app-icon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,2GAA2G,CAAC;AAClI,cAAc,2GAA2G,CAAC;AAC1H,eAAe,SAAS,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default, AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppMessage, AppButton, AppWidget, AppGroup, AppIcon, AppText, } from './main';
|
|
1
|
+
export { default, AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppSkeleton, AppMessage, AppButton, AppWidget, AppEmpty, AppGroup, AppIcon, AppText, } from './main';
|
|
2
2
|
export type { ServiceChatMessage, ServiceChatMessageFrom } from './composables/use-service-chat-behavior';
|
|
3
3
|
export { useServiceVoiceBehavior } from './composables/use-service-voice-behavior';
|
|
4
4
|
export { useServiceChatBehavior } from './composables/use-service-chat-behavior';
|
package/dist/main.d.ts
CHANGED
|
@@ -11,13 +11,15 @@ import { default as AppButton } from './components/buttons/app-button.vue';
|
|
|
11
11
|
import { default as AppText } from './components/typography/app-text.vue';
|
|
12
12
|
import { default as AppWidget } from './components/widget/app-widget.vue';
|
|
13
13
|
import { default as AppCarousel } from './components/ui/app-carousel.vue';
|
|
14
|
+
import { default as AppSkeleton } from './components/ui/app-skeleton.vue';
|
|
14
15
|
import { default as AppIcon } from './components/icons/app-icon.vue';
|
|
16
|
+
import { default as AppEmpty } from './components/ui/app-empty.vue';
|
|
15
17
|
import { default as AppGroup } from './components/ui/app-group.vue';
|
|
16
18
|
declare const _default: {
|
|
17
19
|
install: (app: App) => void;
|
|
18
20
|
};
|
|
19
21
|
export default _default;
|
|
20
|
-
export { AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppMessage, AppWidget, AppButton, AppGroup, AppIcon, AppText, };
|
|
22
|
+
export { AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppSkeleton, AppEmpty, AppMessage, AppWidget, AppButton, AppGroup, AppIcon, AppText, };
|
|
21
23
|
export type { ServiceChatMessage, ServiceChatMessageFrom } from './composables/use-service-chat-behavior';
|
|
22
24
|
export { useServiceVoiceBehavior } from './composables/use-service-voice-behavior';
|
|
23
25
|
export { useServiceChatBehavior } from './composables/use-service-chat-behavior';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-empty.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-empty.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-empty.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-empty.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-empty.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,yGAAyG,CAAC;AAChI,cAAc,yGAAyG,CAAC;AACxH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-skeleton.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/ui/app-skeleton.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-skeleton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-skeleton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-skeleton.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4GAA4G,CAAC;AACnI,cAAc,4GAA4G,CAAC;AAC3H,eAAe,SAAS,CAAC"}
|
|
@@ -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=
|
|
2
|
+
import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget-view.vue?vue&type=style&index=0&scoped=16ec137d&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=
|
|
2
|
+
import "/opt/atlassian/pipelines/agent/build/src/components/widget/app-widget.vue?vue&type=style&index=0&scoped=d89436c3&lang.css";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=app-widget.vue.d.ts.map
|