@telia-ace/knowledge-widget-adapters 1.0.13 → 1.0.16
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/LICENSE.txt +5 -5
- package/README.md +3 -3
- package/{lib-esm → dist}/contact-methods/chat-popup/chat-popup-plugin.d.ts +2 -2
- package/{lib → dist}/contact-methods/chat-popup/index.d.ts +1 -1
- package/{lib-esm → dist}/contact-methods/email/email-form-component.d.ts +4 -4
- package/{lib-esm → dist}/contact-methods/email/email-plugin.d.ts +16 -16
- package/{lib-esm → dist}/contact-methods/email/index.d.ts +1 -1
- package/{lib → dist}/contact-methods/free-text/free-text-component.d.ts +4 -4
- package/{lib → dist}/contact-methods/free-text/free-text-plugin.d.ts +2 -2
- package/{lib → dist}/contact-methods/free-text/index.d.ts +1 -1
- package/{lib → dist}/contact-methods/index.d.ts +10 -10
- package/{lib-esm → dist}/contact-methods/link/index.d.ts +1 -1
- package/{lib → dist}/contact-methods/link/link-component.d.ts +4 -4
- package/{lib → dist}/contact-methods/link/link-plugin.d.ts +2 -2
- package/{lib-esm → dist}/contact-methods/phone/index.d.ts +1 -1
- package/{lib → dist}/contact-methods/phone/phone-component.d.ts +4 -4
- package/{lib → dist}/contact-methods/phone/phone-plugin.d.ts +2 -2
- package/{lib-esm → dist}/contact-methods/platform.d.ts +50 -50
- package/{lib-esm → dist}/contact-methods/ui/confirmation.d.ts +6 -6
- package/{lib → dist}/contact-methods/ui/contact-list.d.ts +15 -15
- package/{lib → dist}/contact-methods/ui/contact-method.d.ts +39 -39
- package/{lib-esm → dist}/contact-methods/ui/description.d.ts +3 -2
- package/{lib-esm → dist}/contact-methods/ui/form.d.ts +4 -4
- package/{lib-esm → dist}/contact-methods/ui/index.d.ts +7 -7
- package/{lib-esm → dist}/contact-methods/ui/use-contact-method.d.ts +2 -2
- package/{lib-esm → dist}/contact-methods/web-service/index.d.ts +1 -1
- package/{lib-esm → dist}/contact-methods/web-service/web-service-plugin.d.ts +2 -2
- package/{lib-esm → dist}/create-adapter.d.ts +7 -7
- package/{lib-esm → dist}/default-contact-methods-plugin.d.ts +8 -8
- package/dist/email-form-component.js +63 -0
- package/dist/email-form-component.js.map +1 -0
- package/dist/free-text-component.js +31 -0
- package/dist/free-text-component.js.map +1 -0
- package/{lib-esm → dist}/index.d.ts +5 -5
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/index2.js +699 -0
- package/dist/index2.js.map +1 -0
- package/dist/link-component.js +16 -0
- package/dist/link-component.js.map +1 -0
- package/dist/phone-component.js +15 -0
- package/dist/phone-component.js.map +1 -0
- package/package.json +14 -15
- package/lib/contact-methods/chat-popup/chat-popup-plugin.d.ts +0 -2
- package/lib/contact-methods/chat-popup/chat-popup-plugin.js +0 -79
- package/lib/contact-methods/chat-popup/index.js +0 -8
- package/lib/contact-methods/email/email-form-component.d.ts +0 -4
- package/lib/contact-methods/email/email-form-component.js +0 -58
- package/lib/contact-methods/email/email-plugin.d.ts +0 -16
- package/lib/contact-methods/email/email-plugin.js +0 -83
- package/lib/contact-methods/email/index.d.ts +0 -1
- package/lib/contact-methods/email/index.js +0 -12
- package/lib/contact-methods/free-text/free-text-component.js +0 -49
- package/lib/contact-methods/free-text/free-text-plugin.js +0 -34
- package/lib/contact-methods/free-text/index.js +0 -8
- package/lib/contact-methods/index.js +0 -31
- package/lib/contact-methods/link/index.d.ts +0 -1
- package/lib/contact-methods/link/index.js +0 -8
- package/lib/contact-methods/link/link-component.js +0 -13
- package/lib/contact-methods/link/link-plugin.js +0 -34
- package/lib/contact-methods/phone/index.d.ts +0 -1
- package/lib/contact-methods/phone/index.js +0 -8
- package/lib/contact-methods/phone/phone-component.js +0 -12
- package/lib/contact-methods/phone/phone-plugin.js +0 -34
- package/lib/contact-methods/platform.d.ts +0 -50
- package/lib/contact-methods/platform.js +0 -273
- package/lib/contact-methods/ui/confirmation.d.ts +0 -6
- package/lib/contact-methods/ui/confirmation.js +0 -47
- package/lib/contact-methods/ui/contact-list.js +0 -61
- package/lib/contact-methods/ui/contact-method.js +0 -110
- package/lib/contact-methods/ui/description.d.ts +0 -2
- package/lib/contact-methods/ui/description.js +0 -13
- package/lib/contact-methods/ui/form.d.ts +0 -4
- package/lib/contact-methods/ui/form.js +0 -54
- package/lib/contact-methods/ui/index.d.ts +0 -7
- package/lib/contact-methods/ui/index.js +0 -20
- package/lib/contact-methods/ui/use-contact-method.d.ts +0 -2
- package/lib/contact-methods/ui/use-contact-method.js +0 -39
- package/lib/contact-methods/web-service/index.d.ts +0 -1
- package/lib/contact-methods/web-service/index.js +0 -8
- package/lib/contact-methods/web-service/web-service-plugin.d.ts +0 -2
- package/lib/contact-methods/web-service/web-service-plugin.js +0 -30
- package/lib/create-adapter.d.ts +0 -7
- package/lib/create-adapter.js +0 -43
- package/lib/default-contact-methods-plugin.d.ts +0 -8
- package/lib/default-contact-methods-plugin.js +0 -42
- package/lib/index.d.ts +0 -5
- package/lib/index.js +0 -25
- package/lib-esm/contact-methods/chat-popup/chat-popup-plugin.js +0 -76
- package/lib-esm/contact-methods/chat-popup/index.d.ts +0 -1
- package/lib-esm/contact-methods/chat-popup/index.js +0 -1
- package/lib-esm/contact-methods/email/email-form-component.js +0 -33
- package/lib-esm/contact-methods/email/email-plugin.js +0 -52
- package/lib-esm/contact-methods/email/index.js +0 -1
- package/lib-esm/contact-methods/free-text/free-text-component.d.ts +0 -4
- package/lib-esm/contact-methods/free-text/free-text-component.js +0 -21
- package/lib-esm/contact-methods/free-text/free-text-plugin.d.ts +0 -2
- package/lib-esm/contact-methods/free-text/free-text-plugin.js +0 -8
- package/lib-esm/contact-methods/free-text/index.d.ts +0 -1
- package/lib-esm/contact-methods/free-text/index.js +0 -1
- package/lib-esm/contact-methods/index.d.ts +0 -10
- package/lib-esm/contact-methods/index.js +0 -8
- package/lib-esm/contact-methods/link/index.js +0 -1
- package/lib-esm/contact-methods/link/link-component.d.ts +0 -4
- package/lib-esm/contact-methods/link/link-component.js +0 -11
- package/lib-esm/contact-methods/link/link-plugin.d.ts +0 -2
- package/lib-esm/contact-methods/link/link-plugin.js +0 -8
- package/lib-esm/contact-methods/phone/index.js +0 -1
- package/lib-esm/contact-methods/phone/phone-component.d.ts +0 -4
- package/lib-esm/contact-methods/phone/phone-component.js +0 -10
- package/lib-esm/contact-methods/phone/phone-plugin.d.ts +0 -2
- package/lib-esm/contact-methods/phone/phone-plugin.js +0 -8
- package/lib-esm/contact-methods/platform.js +0 -270
- package/lib-esm/contact-methods/ui/confirmation.js +0 -22
- package/lib-esm/contact-methods/ui/contact-list.d.ts +0 -15
- package/lib-esm/contact-methods/ui/contact-list.js +0 -32
- package/lib-esm/contact-methods/ui/contact-method.d.ts +0 -39
- package/lib-esm/contact-methods/ui/contact-method.js +0 -81
- package/lib-esm/contact-methods/ui/description.js +0 -8
- package/lib-esm/contact-methods/ui/form.js +0 -49
- package/lib-esm/contact-methods/ui/index.js +0 -6
- package/lib-esm/contact-methods/ui/use-contact-method.js +0 -37
- package/lib-esm/contact-methods/web-service/index.js +0 -1
- package/lib-esm/contact-methods/web-service/web-service-plugin.js +0 -27
- package/lib-esm/create-adapter.js +0 -39
- package/lib-esm/default-contact-methods-plugin.js +0 -39
- package/lib-esm/index.js +0 -3
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
-
|
|
3
|
-
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
-
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
-
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
1
|
+
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
+
|
|
3
|
+
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
+
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
+
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
6
6
|
http://www.humany.com/legal
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# `@telia-ace/knowledge-widget-adapters`
|
|
2
|
-
|
|
3
|
-
Adapters for ACE knowledge widgets.
|
|
1
|
+
# `@telia-ace/knowledge-widget-adapters`
|
|
2
|
+
|
|
3
|
+
Adapters for ACE knowledge widgets.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export default function chatPopupPlugin(container: Container): void;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export default function chatPopupPlugin(container: Container): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as ChatPopupPlugin } from './chat-popup-plugin';
|
|
1
|
+
export { default as ChatPopupPlugin } from './chat-popup-plugin';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ContactMethodProps } from '../ui';
|
|
3
|
-
declare const EmailFormComponent: React.FC<ContactMethodProps>;
|
|
4
|
-
export default EmailFormComponent;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContactMethodProps } from '../ui';
|
|
3
|
+
declare const EmailFormComponent: React.FC<ContactMethodProps>;
|
|
4
|
+
export default EmailFormComponent;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { SubmissionApiResult } from '@telia-ace/knowledge-serviceclient';
|
|
2
|
-
import { Container } from '@webprovisions/platform';
|
|
3
|
-
import { ContactMethodType } from '../ui';
|
|
4
|
-
export declare const submit: (container: Container, contactMethod: ContactMethodType, transform?: ((response: any) => SubmissionApiResult) | undefined) => Promise<string>;
|
|
5
|
-
export declare const validate: (container: Container, contactMethod: ContactMethodType) => Promise<{
|
|
6
|
-
valid: boolean;
|
|
7
|
-
errors: {
|
|
8
|
-
[key: string]: string;
|
|
9
|
-
};
|
|
10
|
-
errorTypes: {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
};
|
|
13
|
-
}>;
|
|
14
|
-
export declare const evaluate: (container: Container, contactMethod: ContactMethodType) => Promise<import("@telia-ace/widget-forms").Form>;
|
|
15
|
-
export declare const complete: (container: Container, contactMethod: ContactMethodType) => Promise<void>;
|
|
16
|
-
export default function emailPlugin(container: Container): void;
|
|
1
|
+
import { SubmissionApiResult } from '@telia-ace/knowledge-serviceclient';
|
|
2
|
+
import { Container } from '@webprovisions/platform';
|
|
3
|
+
import { ContactMethodType } from '../ui';
|
|
4
|
+
export declare const submit: (container: Container, contactMethod: ContactMethodType, transform?: ((response: any) => SubmissionApiResult) | undefined) => Promise<string>;
|
|
5
|
+
export declare const validate: (container: Container, contactMethod: ContactMethodType) => Promise<{
|
|
6
|
+
valid: boolean;
|
|
7
|
+
errors: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
errorTypes: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export declare const evaluate: (container: Container, contactMethod: ContactMethodType) => Promise<import("@telia-ace/widget-forms").Form>;
|
|
15
|
+
export declare const complete: (container: Container, contactMethod: ContactMethodType) => Promise<void>;
|
|
16
|
+
export default function emailPlugin(container: Container): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { complete as defaultComplete, default as EmailPlugin, evaluate as defaultEvaluate, submit as defaultSubmit, validate as defaultValidate, } from './email-plugin';
|
|
1
|
+
export { complete as defaultComplete, default as EmailPlugin, evaluate as defaultEvaluate, submit as defaultSubmit, validate as defaultValidate, } from './email-plugin';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ContactMethodProps } from '../ui';
|
|
3
|
-
declare const FreeTextComponent: React.SFC<ContactMethodProps>;
|
|
4
|
-
export default FreeTextComponent;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContactMethodProps } from '../ui';
|
|
3
|
+
declare const FreeTextComponent: React.SFC<ContactMethodProps>;
|
|
4
|
+
export default FreeTextComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export default function freeTextPlugin(container: Container): void;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export default function freeTextPlugin(container: Container): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as FreeTextPlugin } from './free-text-plugin';
|
|
1
|
+
export { default as FreeTextPlugin } from './free-text-plugin';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ChatPopupPlugin } from './chat-popup';
|
|
2
|
-
export { defaultComplete, defaultEvaluate, defaultSubmit, defaultValidate, EmailPlugin, } from './email';
|
|
3
|
-
export { FreeTextPlugin } from './free-text';
|
|
4
|
-
export { LinkPlugin } from './link';
|
|
5
|
-
export { PhonePlugin } from './phone';
|
|
6
|
-
export { default as ContactMethodPlatform } from './platform';
|
|
7
|
-
export type { Click as ContactMethodClick, ReactComponentImport } from './platform';
|
|
8
|
-
export { contactItemList, contactLink, ContactList, ContactMethod, Form as DefaultForm, useContactMethod, } from './ui';
|
|
9
|
-
export type { ContactMethodType } from './ui';
|
|
10
|
-
export { WebServicePlugin } from './web-service';
|
|
1
|
+
export { ChatPopupPlugin } from './chat-popup';
|
|
2
|
+
export { defaultComplete, defaultEvaluate, defaultSubmit, defaultValidate, EmailPlugin, } from './email';
|
|
3
|
+
export { FreeTextPlugin } from './free-text';
|
|
4
|
+
export { LinkPlugin } from './link';
|
|
5
|
+
export { PhonePlugin } from './phone';
|
|
6
|
+
export { default as ContactMethodPlatform } from './platform';
|
|
7
|
+
export type { Click as ContactMethodClick, ReactComponentImport } from './platform';
|
|
8
|
+
export { contactItemList, contactLink, ContactList, ContactMethod, Form as DefaultForm, useContactMethod, } from './ui';
|
|
9
|
+
export type { ContactMethodType } from './ui';
|
|
10
|
+
export { WebServicePlugin } from './web-service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as LinkPlugin } from './link-plugin';
|
|
1
|
+
export { default as LinkPlugin } from './link-plugin';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ContactMethodProps } from '../ui';
|
|
3
|
-
declare const LinkComponent: React.SFC<ContactMethodProps>;
|
|
4
|
-
export default LinkComponent;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContactMethodProps } from '../ui';
|
|
3
|
+
declare const LinkComponent: React.SFC<ContactMethodProps>;
|
|
4
|
+
export default LinkComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export default function linkPlugin(container: Container): void;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export default function linkPlugin(container: Container): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as PhonePlugin } from './phone-plugin';
|
|
1
|
+
export { default as PhonePlugin } from './phone-plugin';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ContactMethodProps } from '../ui';
|
|
3
|
-
declare const PhoneComponent: React.SFC<ContactMethodProps>;
|
|
4
|
-
export default PhoneComponent;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ContactMethodProps } from '../ui';
|
|
3
|
+
declare const PhoneComponent: React.SFC<ContactMethodProps>;
|
|
4
|
+
export default PhoneComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export default function phonePlugin(container: Container): void;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export default function phonePlugin(container: Container): void;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { ComponentPlatform } from '@telia-ace/knowledge-widget-core';
|
|
2
|
-
import { Form } from '@telia-ace/widget-forms';
|
|
3
|
-
import { Container } from '@webprovisions/platform';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { ContactMethodProps } from './ui';
|
|
6
|
-
export declare type ReactComponentImport = Promise<{
|
|
7
|
-
default: React.FunctionComponent<any>;
|
|
8
|
-
}>;
|
|
9
|
-
export declare type Click = (e: React.MouseEvent, cm: ContactMethodProps) => void;
|
|
10
|
-
export declare type AdapterSettings = {
|
|
11
|
-
clientName: string;
|
|
12
|
-
render: string | ReactComponentImport;
|
|
13
|
-
handleDescription?: (cm: ContactMethodProps) => Promise<string> | string;
|
|
14
|
-
handleDisabled?: (cm: ContactMethodProps) => Promise<boolean> | boolean;
|
|
15
|
-
handleClick?: (cm: ContactMethodProps) => Promise<Click> | Click;
|
|
16
|
-
onEvaluate?: (cm: ContactMethodProps) => Promise<Form> | Form;
|
|
17
|
-
onValidate?: (cm: ContactMethodProps) => Promise<ValidationResult> | ValidationResult;
|
|
18
|
-
onSubmit?: (cm: ContactMethodProps) => Promise<string> | string;
|
|
19
|
-
onComplete?: (cm: ContactMethodProps) => Promise<void> | void;
|
|
20
|
-
};
|
|
21
|
-
export declare type ValidationResult = {
|
|
22
|
-
errors?: {
|
|
23
|
-
[key: string]: string;
|
|
24
|
-
};
|
|
25
|
-
errorTypes?: {
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
};
|
|
28
|
-
valid: boolean;
|
|
29
|
-
};
|
|
30
|
-
export declare enum ContactMethodTrackTypes {
|
|
31
|
-
ContactMethodValidate = "contact-method-validate",
|
|
32
|
-
ContactMethodComplete = "contact-method-complete"
|
|
33
|
-
}
|
|
34
|
-
declare class ContactMethodPlatform {
|
|
35
|
-
private container;
|
|
36
|
-
private componentPlatform;
|
|
37
|
-
private adapters;
|
|
38
|
-
private subs;
|
|
39
|
-
static create(container: Container): Promise<ContactMethodPlatform>;
|
|
40
|
-
constructor(container: Container, componentPlatform: ComponentPlatform);
|
|
41
|
-
static getInstance(container: Container, key?: string): Promise<ContactMethodPlatform>;
|
|
42
|
-
private track;
|
|
43
|
-
complete(contactMethod: ContactMethodProps): void | Promise<void>;
|
|
44
|
-
evaluate(contactMethod: ContactMethodProps): Promise<Form>;
|
|
45
|
-
validate(contactMethod: ContactMethodProps): Promise<ValidationResult>;
|
|
46
|
-
submit(contactMethod: ContactMethodProps): Promise<string>;
|
|
47
|
-
create(settings: AdapterSettings): Promise<void>;
|
|
48
|
-
dispose(): void;
|
|
49
|
-
}
|
|
50
|
-
export default ContactMethodPlatform;
|
|
1
|
+
import { ComponentPlatform } from '@telia-ace/knowledge-widget-core';
|
|
2
|
+
import { Form } from '@telia-ace/widget-forms';
|
|
3
|
+
import { Container } from '@webprovisions/platform';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { ContactMethodProps } from './ui';
|
|
6
|
+
export declare type ReactComponentImport = Promise<{
|
|
7
|
+
default: React.FunctionComponent<any>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare type Click = (e: React.MouseEvent, cm: ContactMethodProps) => void;
|
|
10
|
+
export declare type AdapterSettings = {
|
|
11
|
+
clientName: string;
|
|
12
|
+
render: string | ReactComponentImport;
|
|
13
|
+
handleDescription?: (cm: ContactMethodProps) => Promise<string> | string;
|
|
14
|
+
handleDisabled?: (cm: ContactMethodProps) => Promise<boolean> | boolean;
|
|
15
|
+
handleClick?: (cm: ContactMethodProps) => Promise<Click> | Click;
|
|
16
|
+
onEvaluate?: (cm: ContactMethodProps) => Promise<Form> | Form;
|
|
17
|
+
onValidate?: (cm: ContactMethodProps) => Promise<ValidationResult> | ValidationResult;
|
|
18
|
+
onSubmit?: (cm: ContactMethodProps) => Promise<string> | string;
|
|
19
|
+
onComplete?: (cm: ContactMethodProps) => Promise<void> | void;
|
|
20
|
+
};
|
|
21
|
+
export declare type ValidationResult = {
|
|
22
|
+
errors?: {
|
|
23
|
+
[key: string]: string;
|
|
24
|
+
};
|
|
25
|
+
errorTypes?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
valid: boolean;
|
|
29
|
+
};
|
|
30
|
+
export declare enum ContactMethodTrackTypes {
|
|
31
|
+
ContactMethodValidate = "contact-method-validate",
|
|
32
|
+
ContactMethodComplete = "contact-method-complete"
|
|
33
|
+
}
|
|
34
|
+
declare class ContactMethodPlatform {
|
|
35
|
+
private container;
|
|
36
|
+
private componentPlatform;
|
|
37
|
+
private adapters;
|
|
38
|
+
private subs;
|
|
39
|
+
static create(container: Container): Promise<ContactMethodPlatform>;
|
|
40
|
+
constructor(container: Container, componentPlatform: ComponentPlatform);
|
|
41
|
+
static getInstance(container: Container, key?: string): Promise<ContactMethodPlatform>;
|
|
42
|
+
private track;
|
|
43
|
+
complete(contactMethod: ContactMethodProps): void | Promise<void>;
|
|
44
|
+
evaluate(contactMethod: ContactMethodProps): Promise<Form>;
|
|
45
|
+
validate(contactMethod: ContactMethodProps): Promise<ValidationResult>;
|
|
46
|
+
submit(contactMethod: ContactMethodProps): Promise<string>;
|
|
47
|
+
create(settings: AdapterSettings): Promise<void>;
|
|
48
|
+
dispose(): void;
|
|
49
|
+
}
|
|
50
|
+
export default ContactMethodPlatform;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
html: string;
|
|
4
|
-
};
|
|
5
|
-
declare const Confirmation: React.SFC<Props>;
|
|
6
|
-
export default Confirmation;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
declare const Confirmation: React.SFC<Props>;
|
|
6
|
+
export default Confirmation;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { DispatchAction } from '@telia-ace/knowledge-widget-ui';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import { ContactMethodType } from './contact-method';
|
|
4
|
-
export declare const contactItemList: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
5
|
-
declare type Props = {
|
|
6
|
-
contactMethods: ContactMethodType[];
|
|
7
|
-
header?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
action?: (action: string, value?: any) => void;
|
|
10
|
-
dispatch?: DispatchAction;
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
guideId?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const ContactList: React.SFC<Props>;
|
|
15
|
-
export default ContactList;
|
|
1
|
+
import { DispatchAction } from '@telia-ace/knowledge-widget-ui';
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
|
+
import { ContactMethodType } from './contact-method';
|
|
4
|
+
export declare const contactItemList: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
5
|
+
declare type Props = {
|
|
6
|
+
contactMethods: ContactMethodType[];
|
|
7
|
+
header?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
action?: (action: string, value?: any) => void;
|
|
10
|
+
dispatch?: DispatchAction;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
guideId?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const ContactList: React.SFC<Props>;
|
|
15
|
+
export default ContactList;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { Symbol } from '@telia-ace/knowledge-widget-core';
|
|
2
|
-
import { DispatchAction, HtmlParseInstruction } from '@telia-ace/knowledge-widget-ui';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare type ContactMethodType = {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
symbol?: Symbol;
|
|
8
|
-
clientName: string;
|
|
9
|
-
expanded: boolean;
|
|
10
|
-
inline: boolean;
|
|
11
|
-
body: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
|
-
description?: string;
|
|
15
|
-
confirmation?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
guideId?: string;
|
|
18
|
-
};
|
|
19
|
-
export declare type Props = Merge<ContactMethodType, {
|
|
20
|
-
className?: string;
|
|
21
|
-
onClick?: (event: React.MouseEvent, properties: Props) => void;
|
|
22
|
-
renderDefault?: (extraProps?: Partial<Props>) => any;
|
|
23
|
-
htmlParseInstruction?: HtmlParseInstruction;
|
|
24
|
-
href?: string;
|
|
25
|
-
target?: string;
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
action?: (action: string, value: any) => void;
|
|
28
|
-
dispatch?: DispatchAction;
|
|
29
|
-
symbol?: Symbol;
|
|
30
|
-
description?: string;
|
|
31
|
-
confirmation?: string;
|
|
32
|
-
guideId?: string;
|
|
33
|
-
autoFocus?: boolean;
|
|
34
|
-
}>;
|
|
35
|
-
declare const ContactMethod: React.FC<Props>;
|
|
36
|
-
export default ContactMethod;
|
|
37
|
-
export declare const contactLink: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
}, any>>;
|
|
1
|
+
import { Symbol } from '@telia-ace/knowledge-widget-core';
|
|
2
|
+
import { DispatchAction, HtmlParseInstruction } from '@telia-ace/knowledge-widget-ui';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare type ContactMethodType = {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
symbol?: Symbol;
|
|
8
|
+
clientName: string;
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
inline: boolean;
|
|
11
|
+
body: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
description?: string;
|
|
15
|
+
confirmation?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
guideId?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare type Props = Merge<ContactMethodType, {
|
|
20
|
+
className?: string;
|
|
21
|
+
onClick?: (event: React.MouseEvent, properties: Props) => void;
|
|
22
|
+
renderDefault?: (extraProps?: Partial<Props>) => any;
|
|
23
|
+
htmlParseInstruction?: HtmlParseInstruction;
|
|
24
|
+
href?: string;
|
|
25
|
+
target?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
action?: (action: string, value: any) => void;
|
|
28
|
+
dispatch?: DispatchAction;
|
|
29
|
+
symbol?: Symbol;
|
|
30
|
+
description?: string;
|
|
31
|
+
confirmation?: string;
|
|
32
|
+
guideId?: string;
|
|
33
|
+
autoFocus?: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
declare const ContactMethod: React.FC<Props>;
|
|
36
|
+
export default ContactMethod;
|
|
37
|
+
export declare const contactLink: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
}, any>>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@telia-ace/knowledge-widget-ui").HtmlProps, "html" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
3
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ContactMethodProps } from '.';
|
|
3
|
-
declare const Form: React.SFC<ContactMethodProps>;
|
|
4
|
-
export default Form;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ContactMethodProps } from '.';
|
|
3
|
+
declare const Form: React.SFC<ContactMethodProps>;
|
|
4
|
+
export default Form;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { default as Confirmation } from './confirmation';
|
|
2
|
-
export { contactItemList, default as ContactList } from './contact-list';
|
|
3
|
-
export { contactLink, default as ContactMethod } from './contact-method';
|
|
4
|
-
export type { ContactMethodType, Props as ContactMethodProps } from './contact-method';
|
|
5
|
-
export { default as Description } from './description';
|
|
6
|
-
export { default as Form } from './form';
|
|
7
|
-
export { default as useContactMethod } from './use-contact-method';
|
|
1
|
+
export { default as Confirmation } from './confirmation';
|
|
2
|
+
export { contactItemList, default as ContactList } from './contact-list';
|
|
3
|
+
export { contactLink, default as ContactMethod } from './contact-method';
|
|
4
|
+
export type { ContactMethodType, Props as ContactMethodProps } from './contact-method';
|
|
5
|
+
export { default as Description } from './description';
|
|
6
|
+
export { default as Form } from './form';
|
|
7
|
+
export { default as useContactMethod } from './use-contact-method';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useContactMethod: (clientName: string) => any | null;
|
|
2
|
-
export default useContactMethod;
|
|
1
|
+
declare const useContactMethod: (clientName: string) => any | null;
|
|
2
|
+
export default useContactMethod;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as WebServicePlugin } from './web-service-plugin';
|
|
1
|
+
export { default as WebServicePlugin } from './web-service-plugin';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export default function webServicePlugin(container: Container): void;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export default function webServicePlugin(container: Container): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export declare type Callback = (settings: {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}, data?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}) => Promise<string | void> | (string | void);
|
|
7
|
-
export declare const createSubmitAdapter: (container: Container, clientName: string, fn: Callback) => Promise<void>;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export declare type Callback = (settings: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}, data?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}) => Promise<string | void> | (string | void);
|
|
7
|
+
export declare const createSubmitAdapter: (container: Container, clientName: string, fn: Callback) => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Plugin } from '@telia-ace/knowledge-widget-core';
|
|
2
|
-
import { Container } from '@webprovisions/platform';
|
|
3
|
-
/**
|
|
4
|
-
* Registers default Humany contact methods.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DefaultContactMethodsPlugin extends Plugin {
|
|
7
|
-
constructor(container: Container, settings: any);
|
|
8
|
-
}
|
|
1
|
+
import { Plugin } from '@telia-ace/knowledge-widget-core';
|
|
2
|
+
import { Container } from '@webprovisions/platform';
|
|
3
|
+
/**
|
|
4
|
+
* Registers default Humany contact methods.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DefaultContactMethodsPlugin extends Plugin {
|
|
7
|
+
constructor(container: Container, settings: any);
|
|
8
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { Html, genericHtml, headingElement } from "@telia-ace/knowledge-widget-ui";
|
|
21
|
+
import { appendClassNames } from "@telia-ace/widget-utilities";
|
|
22
|
+
import * as React from "react";
|
|
23
|
+
import styled, { css } from "styled-components";
|
|
24
|
+
import { F as Form } from "./index2.js";
|
|
25
|
+
import "@telia-ace/widget-forms";
|
|
26
|
+
import "@telia-ace/knowledge-widget-core";
|
|
27
|
+
const StyledHtml = styled(Html)`
|
|
28
|
+
${genericHtml}
|
|
29
|
+
|
|
30
|
+
${headingElement("h1", css`
|
|
31
|
+
font-weight: normal;
|
|
32
|
+
font-size: ${(p) => {
|
|
33
|
+
var _a;
|
|
34
|
+
return (_a = p.theme.fonts) == null ? void 0 : _a.medium;
|
|
35
|
+
}};
|
|
36
|
+
`)}
|
|
37
|
+
`;
|
|
38
|
+
const EmailFormComponent = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
className,
|
|
41
|
+
renderDefault = () => {
|
|
42
|
+
},
|
|
43
|
+
body: { form },
|
|
44
|
+
confirmation,
|
|
45
|
+
htmlParseInstruction,
|
|
46
|
+
disabled
|
|
47
|
+
} = props;
|
|
48
|
+
if (confirmation) {
|
|
49
|
+
return /* @__PURE__ */ React.createElement(StyledHtml, {
|
|
50
|
+
className: appendClassNames(className, "humany-contact-method-confirmation", "humany-contact-method-email"),
|
|
51
|
+
html: confirmation,
|
|
52
|
+
htmlParseInstruction
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (form && !disabled) {
|
|
56
|
+
return /* @__PURE__ */ React.createElement(Form, __spreadProps(__spreadValues({}, props), {
|
|
57
|
+
className: appendClassNames(className, "humany-contact-method-email")
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
return renderDefault();
|
|
61
|
+
};
|
|
62
|
+
export { EmailFormComponent as default };
|
|
63
|
+
//# sourceMappingURL=email-form-component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-form-component.js","sources":["../src/contact-methods/email/email-form-component.tsx"],"sourcesContent":["import { genericHtml, headingElement, Html } from '@telia-ace/knowledge-widget-ui';\nimport { appendClassNames } from '@telia-ace/widget-utilities';\nimport * as React from 'react';\nimport styled, { css } from 'styled-components';\nimport { ContactMethodProps, Form } from '../ui';\n\nconst StyledHtml = styled(Html)`\n ${genericHtml}\n\n ${headingElement(\n 'h1',\n css`\n font-weight: normal;\n font-size: ${(p) => p.theme.fonts?.medium};\n `\n )}\n`;\n\nconst EmailFormComponent: React.FC<ContactMethodProps> = (props) => {\n const {\n className,\n renderDefault = () => {},\n body: { form },\n confirmation,\n htmlParseInstruction,\n disabled,\n } = props;\n\n if (confirmation) {\n return (\n <StyledHtml\n className={appendClassNames(\n className,\n 'humany-contact-method-confirmation',\n 'humany-contact-method-email'\n )}\n html={confirmation}\n htmlParseInstruction={htmlParseInstruction}\n />\n );\n }\n\n if (form && !disabled) {\n return (\n <Form\n {...props}\n className={appendClassNames(className, 'humany-contact-method-email')}\n />\n );\n }\n\n return renderDefault();\n};\n\nexport default EmailFormComponent;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,aAAa,OAAO,IAAI;AAAA,MACxB;AAAA;AAAA,MAEA,eACE,MACA;AAAA;AAAA,yBAEiB,CAAC,MAAM;;AAAA,iBAAE,MAAM,UAAR,mBAAe;AAAA;AAAA,SAE3C;AAAA;AAGE,MAAA,qBAAmD,CAAC,UAAU;AAC1D,QAAA;AAAA,IACF;AAAA,IACA,gBAAgB,MAAM;AAAA,IAAC;AAAA,IACvB,MAAM,EAAE;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,MACA;AAEJ,MAAI,cAAc;AACd,WACK,sBAAA,cAAA,YAAA;AAAA,MACG,WAAW,iBACP,WACA,sCACA,6BACJ;AAAA,MACA,MAAM;AAAA,MACN;AAAA,IAAA,CACJ;AAAA,EAER;AAEI,MAAA,QAAQ,CAAC,UAAU;AACnB,WACK,sBAAA,cAAA,MAAA,iCACO,QADP;AAAA,MAEG,WAAW,iBAAiB,WAAW,6BAA6B;AAAA,IAAA,EACxE;AAAA,EAER;AAEA,SAAO,cAAc;AACzB;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Html, genericHtml } from "@telia-ace/knowledge-widget-ui";
|
|
2
|
+
import { appendClassNames } from "@telia-ace/widget-utilities";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import styled from "styled-components";
|
|
5
|
+
import { D as Description } from "./index2.js";
|
|
6
|
+
import "@telia-ace/widget-forms";
|
|
7
|
+
import "@telia-ace/knowledge-widget-core";
|
|
8
|
+
const FreeTextComponent = ({
|
|
9
|
+
className,
|
|
10
|
+
description,
|
|
11
|
+
body: { freetext },
|
|
12
|
+
htmlParseInstruction
|
|
13
|
+
}) => {
|
|
14
|
+
if (!freetext) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
18
|
+
className: appendClassNames(className, "humany-contact-method-free-text")
|
|
19
|
+
}, /* @__PURE__ */ React.createElement(StyledHtml, {
|
|
20
|
+
html: freetext,
|
|
21
|
+
htmlParseInstruction
|
|
22
|
+
}), description && /* @__PURE__ */ React.createElement(Description, {
|
|
23
|
+
html: description,
|
|
24
|
+
htmlParseInstruction
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
27
|
+
const StyledHtml = styled(Html)`
|
|
28
|
+
${genericHtml};
|
|
29
|
+
`;
|
|
30
|
+
export { FreeTextComponent as default };
|
|
31
|
+
//# sourceMappingURL=free-text-component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"free-text-component.js","sources":["../src/contact-methods/free-text/free-text-component.tsx"],"sourcesContent":["import { genericHtml, Html } from '@telia-ace/knowledge-widget-ui';\nimport { appendClassNames } from '@telia-ace/widget-utilities';\nimport * as React from 'react';\nimport styled from 'styled-components';\nimport { ContactMethodProps, Description } from '../ui';\n\nconst FreeTextComponent: React.SFC<ContactMethodProps> = ({\n className,\n description,\n body: { freetext },\n htmlParseInstruction,\n}) => {\n if (!freetext) {\n return null;\n }\n return (\n <div className={appendClassNames(className, 'humany-contact-method-free-text')}>\n <StyledHtml html={freetext} htmlParseInstruction={htmlParseInstruction} />\n {description && (\n <Description html={description} htmlParseInstruction={htmlParseInstruction} />\n )}\n </div>\n );\n};\n\nexport default FreeTextComponent;\n\nconst StyledHtml = styled(Html)`\n ${genericHtml};\n`;\n"],"names":[],"mappings":";;;;;;;AAMA,MAAM,oBAAmD,CAAC;AAAA,EACtD;AAAA,EACA;AAAA,EACA,MAAM,EAAE;AAAA,EACR;AAAA,MACE;AACF,MAAI,CAAC,UAAU;AACJ,WAAA;AAAA,EACX;AACA,SACK,sBAAA,cAAA,OAAA;AAAA,IAAI,WAAW,iBAAiB,WAAW,iCAAiC;AAAA,EAAA,GACxE,sBAAA,cAAA,YAAA;AAAA,IAAW,MAAM;AAAA,IAAU;AAAA,EAA4C,CAAA,GACvE,eACI,sBAAA,cAAA,aAAA;AAAA,IAAY,MAAM;AAAA,IAAa;AAAA,EAA4C,CAAA,CAEpF;AAER;AAIA,MAAM,aAAa,OAAO,IAAI;AAAA,MACxB;AAAA;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ChatPopupPlugin, contactItemList, contactLink, ContactList, ContactMethod, ContactMethodPlatform, defaultComplete, defaultEvaluate, DefaultForm, defaultSubmit, defaultValidate, EmailPlugin as EmailFormPlugin, FreeTextPlugin, LinkPlugin, PhonePlugin, useContactMethod, WebServicePlugin, } from './contact-methods';
|
|
2
|
-
export type { ContactMethodClick, ContactMethodType, ReactComponentImport, } from './contact-methods';
|
|
3
|
-
export { createSubmitAdapter } from './create-adapter';
|
|
4
|
-
export type { Callback } from './create-adapter';
|
|
5
|
-
export { DefaultContactMethodsPlugin } from './default-contact-methods-plugin';
|
|
1
|
+
export { ChatPopupPlugin, contactItemList, contactLink, ContactList, ContactMethod, ContactMethodPlatform, defaultComplete, defaultEvaluate, DefaultForm, defaultSubmit, defaultValidate, EmailPlugin as EmailFormPlugin, FreeTextPlugin, LinkPlugin, PhonePlugin, useContactMethod, WebServicePlugin, } from './contact-methods';
|
|
2
|
+
export type { ContactMethodClick, ContactMethodType, ReactComponentImport, } from './contact-methods';
|
|
3
|
+
export { createSubmitAdapter } from './create-adapter';
|
|
4
|
+
export type { Callback } from './create-adapter';
|
|
5
|
+
export { DefaultContactMethodsPlugin } from './default-contact-methods-plugin';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { c as ChatPopupPlugin, C as ContactList, d as ContactMethod, e as ContactMethodPlatform, k as DefaultContactMethodsPlugin, F as DefaultForm, h as EmailFormPlugin, i as FreeTextPlugin, l as LinkPlugin, p as PhonePlugin, w as WebServicePlugin, a as contactItemList, b as contactLink, j as createSubmitAdapter, f as defaultComplete, g as defaultEvaluate, s as defaultSubmit, v as defaultValidate, u as useContactMethod } from "./index2.js";
|
|
2
|
+
import "@telia-ace/widget-forms";
|
|
3
|
+
import "@telia-ace/knowledge-widget-core";
|
|
4
|
+
import "@telia-ace/widget-utilities";
|
|
5
|
+
import "react";
|
|
6
|
+
import "@telia-ace/knowledge-widget-ui";
|
|
7
|
+
import "styled-components";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|