@blockspark/chat-widget 1.0.1 → 1.0.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,191 @@
1
+ import type { App } from 'vue';
2
+ import { BlockSparkChatWidgetVue } from './ChatWidgetWrapper';
3
+ export { BlockSparkChatWidgetVue };
4
+ /**
5
+ * Vue 3 plugin. Use in main.js: app.use(BlockSparkChatWidget)
6
+ */
7
+ export declare function install(app: App, options?: {
8
+ name?: string;
9
+ }): void;
10
+ declare const _default: {
11
+ install: typeof install;
12
+ component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ title: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ subtitle: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ welcomeTitle: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ welcomeMessage: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ welcomeCta: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ showWelcomePopup: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ welcomePopupDelay: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ fallbackWelcomeMessage: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ inputPlaceholder: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ emptyStateMessage: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ debug: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ dfProjectId: {
58
+ type: StringConstructor;
59
+ default: undefined;
60
+ };
61
+ dfLocation: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ dfAgentId: {
66
+ type: StringConstructor;
67
+ default: undefined;
68
+ };
69
+ serviceAccountKey: {
70
+ type: ObjectConstructor;
71
+ default: undefined;
72
+ };
73
+ accessToken: {
74
+ type: StringConstructor;
75
+ default: undefined;
76
+ };
77
+ languageCode: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ backendBaseUrl: {
82
+ type: StringConstructor;
83
+ default: undefined;
84
+ };
85
+ backendWsUrl: {
86
+ type: StringConstructor;
87
+ default: undefined;
88
+ };
89
+ }>, {
90
+ containerRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
91
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
+ title: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ subtitle: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ welcomeTitle: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ welcomeMessage: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ welcomeCta: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ showWelcomePopup: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ welcomePopupDelay: {
117
+ type: NumberConstructor;
118
+ default: number;
119
+ };
120
+ fallbackWelcomeMessage: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ inputPlaceholder: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ emptyStateMessage: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ debug: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ dfProjectId: {
137
+ type: StringConstructor;
138
+ default: undefined;
139
+ };
140
+ dfLocation: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ dfAgentId: {
145
+ type: StringConstructor;
146
+ default: undefined;
147
+ };
148
+ serviceAccountKey: {
149
+ type: ObjectConstructor;
150
+ default: undefined;
151
+ };
152
+ accessToken: {
153
+ type: StringConstructor;
154
+ default: undefined;
155
+ };
156
+ languageCode: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ };
160
+ backendBaseUrl: {
161
+ type: StringConstructor;
162
+ default: undefined;
163
+ };
164
+ backendWsUrl: {
165
+ type: StringConstructor;
166
+ default: undefined;
167
+ };
168
+ }>> & Readonly<{}>, {
169
+ title: string;
170
+ subtitle: string;
171
+ welcomeTitle: string;
172
+ welcomeMessage: string;
173
+ welcomeCta: string;
174
+ showWelcomePopup: boolean;
175
+ welcomePopupDelay: number;
176
+ fallbackWelcomeMessage: string;
177
+ inputPlaceholder: string;
178
+ emptyStateMessage: string;
179
+ debug: boolean;
180
+ dfProjectId: string;
181
+ dfLocation: string;
182
+ dfAgentId: string;
183
+ serviceAccountKey: Record<string, any>;
184
+ accessToken: string;
185
+ languageCode: string;
186
+ backendBaseUrl: string;
187
+ backendWsUrl: string;
188
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
189
+ };
190
+ export default _default;
191
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC;;GAEG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,QAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,wBAGE"}