@opens/widget-ui 1.2.1 → 1.2.3
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/components/edges/app-edge.vue.d.ts +11 -0
- package/dist/components/pages/app-article-page.vue.d.ts +11 -0
- package/dist/components/widget/app-widget-view.vue.d.ts +2 -2
- package/dist/components/widget/app-widget.vue.d.ts +2 -2
- package/dist/edges/app-edge.vue.d.ts +4 -0
- package/dist/edges/app-edge.vue.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/main.d.ts +4 -2
- package/dist/mocks/demo-workflow.d.ts +1 -0
- package/dist/pages/app-article-page.vue.d.ts +6 -0
- package/dist/pages/app-article-page.vue.d.ts.map +1 -0
- package/dist/ui/app-audio-player.vue.d.ts.map +1 -0
- package/dist/ui/app-carousel.vue.d.ts.map +1 -0
- package/dist/ui/app-empty.vue.d.ts.map +1 -0
- package/dist/ui/app-group.vue.d.ts.map +1 -0
- package/dist/ui/app-skeleton.vue.d.ts.map +1 -0
- package/dist/utils/resolve-rule-option-icon.d.ts +3 -0
- package/dist/widget/app-widget-view.vue.d.ts +1 -1
- package/dist/yunique_widget_ui.cjs.js +870 -1
- package/dist/yunique_widget_ui.css +1 -1
- package/dist/yunique_widget_ui.es.js +2910 -1927
- package/dist/yunique_widget_ui.umd.js +871 -2
- package/package.json +3 -3
- package/dist/app-audio-player.vue.d.ts.map +0 -1
- package/dist/app-carousel.vue.d.ts.map +0 -1
- package/dist/app-empty.vue.d.ts.map +0 -1
- package/dist/app-group.vue.d.ts.map +0 -1
- package/dist/app-skeleton.vue.d.ts.map +0 -1
- package/dist/pages/app-identification-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/{app-audio-player.vue.d.ts → ui/app-audio-player.vue.d.ts} +0 -0
- /package/dist/{app-carousel.vue.d.ts → ui/app-carousel.vue.d.ts} +0 -0
- /package/dist/{app-empty.vue.d.ts → ui/app-empty.vue.d.ts} +0 -0
- /package/dist/{app-group.vue.d.ts → ui/app-group.vue.d.ts} +0 -0
- /package/dist/{app-skeleton.vue.d.ts → ui/app-skeleton.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,11 @@
|
|
|
1
|
+
import { Rule } from '@opens/gateways/chat-config';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
edge: Rule;
|
|
4
|
+
icon?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
click: (edge: Rule) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: ((edge: Rule) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Rule } from '@opens/gateways/chat-config';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
rule: Rule;
|
|
4
|
+
edges?: Rule[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"edge-click": (edge: Rule) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -10,17 +10,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
submit: (values: Record<string, string>) => any;
|
|
11
11
|
back: () => any;
|
|
12
12
|
close: () => any;
|
|
13
|
+
"edge-click": (edge: Rule) => any;
|
|
13
14
|
"message-action": (action: ServiceChatMessageAction) => any;
|
|
14
15
|
"send-message": () => any;
|
|
15
16
|
"retry-loading-chat-service": () => any;
|
|
16
|
-
"edge-click": (edge: Rule) => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
18
|
onSubmit?: ((values: Record<string, string>) => any) | undefined;
|
|
19
19
|
onBack?: (() => any) | undefined;
|
|
20
20
|
onClose?: (() => any) | undefined;
|
|
21
|
+
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
21
22
|
"onMessage-action"?: ((action: ServiceChatMessageAction) => any) | undefined;
|
|
22
23
|
"onSend-message"?: (() => any) | undefined;
|
|
23
24
|
"onRetry-loading-chat-service"?: (() => any) | undefined;
|
|
24
|
-
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
export default _default;
|
|
@@ -10,19 +10,19 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
submit: (values: Record<string, string>) => any;
|
|
11
11
|
back: () => any;
|
|
12
12
|
close: () => any;
|
|
13
|
+
"edge-click": (edge: Rule) => any;
|
|
13
14
|
open: () => any;
|
|
14
15
|
"message-action": (action: ServiceChatMessageAction) => any;
|
|
15
16
|
"send-message": () => any;
|
|
16
17
|
"retry-loading-chat-service": () => any;
|
|
17
|
-
"edge-click": (edge: Rule) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
onSubmit?: ((values: Record<string, string>) => any) | undefined;
|
|
20
20
|
onBack?: (() => any) | undefined;
|
|
21
21
|
onClose?: (() => any) | undefined;
|
|
22
|
+
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
22
23
|
onOpen?: (() => any) | undefined;
|
|
23
24
|
"onMessage-action"?: ((action: ServiceChatMessageAction) => any) | undefined;
|
|
24
25
|
"onSend-message"?: (() => any) | undefined;
|
|
25
26
|
"onRetry-loading-chat-service"?: (() => any) | undefined;
|
|
26
|
-
"onEdge-click"?: ((edge: Rule) => any) | undefined;
|
|
27
27
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import _sfc_main from "/opt/atlassian/pipelines/agent/build/src/components/edges/app-edge.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/edges/app-edge.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
+
export default _sfc_main;
|
|
4
|
+
//# sourceMappingURL=app-edge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-edge.vue.d.ts","sourceRoot":"","sources":["../../src/components/edges/app-edge.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, AppAudioPlayer, AppSkeleton, AppMessage, AppButton, AppWidget, AppEmpty, AppGroup, AppIcon, AppText, } from './main';
|
|
1
|
+
export { default, AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppArticlePage, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppAudioPlayer, AppSkeleton, AppMessage, AppButton, AppWidget, AppEmpty, AppGroup, AppEdge, AppIcon, AppText, } from './main';
|
|
2
2
|
export type { MessageAttachment, MessageAttachmentType, MessageInteractiveBody, MessageInteractiveOption, MessageResponse, MessageType, ServiceChatInteractiveBody, ServiceChatInteractiveOption, ServiceChatMessage, ServiceChatMessageAction, ServiceChatMessageAttachment, ServiceChatMessageAttachmentType, ServiceChatMessageFrom, ServiceChatMessageType, } from './composables/use-chat-service';
|
|
3
3
|
export { ServiceChatMessageBuilder, ServiceChatMessageVO } from './domain/chat-message';
|
|
4
4
|
export { useVoiceService } from './composables/use-voice-service';
|
|
@@ -7,6 +7,6 @@ export type { MaskFunction } from './composables/use-mask-functions';
|
|
|
7
7
|
export { useMaskFunctions } from './composables/use-mask-functions';
|
|
8
8
|
export { useServicePage } from './composables/use-service-page';
|
|
9
9
|
export { useAppWidget } from './composables/use-app-widget';
|
|
10
|
-
export { demoWorkflow, demoRootRule, findDemoRuleById } from './mocks/demo-workflow';
|
|
10
|
+
export { demoWorkflow, demoRootRule, demoArticleRule, findDemoRuleById } from './mocks/demo-workflow';
|
|
11
11
|
export type { WidgetConfiguration } from './mocks/demo-config';
|
|
12
12
|
export { demoWidgetConfig } from './mocks/demo-config';
|
package/dist/main.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { App } from 'vue';
|
|
|
2
2
|
import { default as AppIdentificationPage } from './components/pages/app-identification-page.vue';
|
|
3
3
|
import { default as AppFormTextInput } from './components/inputs/app-form-text-input.vue';
|
|
4
4
|
import { default as AppWidgetAnchor } from './components/widget/app-widget-anchor.vue';
|
|
5
|
+
import { default as AppArticlePage } from './components/pages/app-article-page.vue';
|
|
5
6
|
import { default as AppServicePage } from './components/pages/app-service-page.vue';
|
|
6
7
|
import { default as AppWidgetView } from './components/widget/app-widget-view.vue';
|
|
7
8
|
import { default as AppScreenPage } from './components/pages/app-screen-page.vue';
|
|
@@ -16,17 +17,18 @@ import { default as AppSkeleton } from './components/ui/app-skeleton.vue';
|
|
|
16
17
|
import { default as AppIcon } from './components/icons/app-icon.vue';
|
|
17
18
|
import { default as AppEmpty } from './components/ui/app-empty.vue';
|
|
18
19
|
import { default as AppGroup } from './components/ui/app-group.vue';
|
|
20
|
+
import { default as AppEdge } from './components/edges/app-edge.vue';
|
|
19
21
|
declare const _default: {
|
|
20
22
|
install: (app: App) => void;
|
|
21
23
|
};
|
|
22
24
|
export default _default;
|
|
23
|
-
export { AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppAudioPlayer, AppSkeleton, AppEmpty, AppMessage, AppWidget, AppButton, AppGroup, AppIcon, AppText, };
|
|
25
|
+
export { AppIdentificationPage, AppFormTextInput, AppWidgetAnchor, AppArticlePage, AppServicePage, AppWidgetView, AppScreenPage, AppTextInput, AppCarousel, AppAudioPlayer, AppSkeleton, AppEmpty, AppMessage, AppWidget, AppButton, AppGroup, AppEdge, AppIcon, AppText, };
|
|
24
26
|
export type { MessageAttachment, MessageAttachmentType, MessageInteractiveBody, MessageInteractiveOption, MessageResponse, MessageType, ServiceChatInteractiveBody, ServiceChatInteractiveOption, ServiceChatMessage, ServiceChatMessageAction, ServiceChatMessageAttachment, ServiceChatMessageAttachmentType, ServiceChatMessageFrom, ServiceChatMessageType, } from './composables/use-chat-service';
|
|
25
27
|
export { ServiceChatMessageBuilder, ServiceChatMessageVO } from './domain/chat-message';
|
|
26
28
|
export { useVoiceService } from './composables/use-voice-service';
|
|
27
29
|
export { useChatService } from './composables/use-chat-service';
|
|
28
30
|
export { useServicePage } from './composables/use-service-page';
|
|
29
31
|
export { useAppWidget } from './composables/use-app-widget';
|
|
30
|
-
export { demoWorkflow, demoRootRule, findDemoRuleById } from './mocks/demo-workflow';
|
|
32
|
+
export { demoWorkflow, demoRootRule, demoArticleRule, findDemoRuleById } from './mocks/demo-workflow';
|
|
31
33
|
export type { WidgetConfiguration } from './mocks/demo-config';
|
|
32
34
|
export { demoWidgetConfig } from './mocks/demo-config';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Rule, WorkflowData } from '@opens/gateways/chat-config';
|
|
2
2
|
export declare const demoWorkflow: WorkflowData;
|
|
3
|
+
export declare const demoArticleRule: Rule;
|
|
3
4
|
export declare const demoRootRule: Rule;
|
|
4
5
|
export declare const findDemoRuleById: (id: string) => Rule | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "/opt/atlassian/pipelines/agent/build/src/components/pages/app-article-page.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
+
import "/opt/atlassian/pipelines/agent/build/src/components/pages/app-article-page.vue?vue&type=style&index=0&scoped=54b98051&lang.css";
|
|
3
|
+
import "/opt/atlassian/pipelines/agent/build/src/components/pages/app-article-page.vue?vue&type=style&index=1&lang.css";
|
|
4
|
+
declare const _default: any;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=app-article-page.vue.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-audio-player.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-audio-player.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gHAAgH,CAAC;AACvI,cAAc,gHAAgH,CAAC;AAC/H,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-carousel.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-carousel.vue"],"names":[],"mappings":"AACA,cAAc,4GAA4G,CAAC;AAC3H,OAAO,yHAAyH,CAAC;;AAEjI,wBAA0F"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"app-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/ui/app-group.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,yGAAyG,CAAC;AAChI,cAAc,yGAAyG,CAAC;AACxH,eAAe,SAAS,CAAC"}
|
|
@@ -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=fea132f9&lang.css";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=app-widget-view.vue.d.ts.map
|