@askdialog/dialog-sdk 1.0.7 → 1.0.10
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 +90 -0
- package/dist/Dialog.d.ts +4 -1
- package/dist/Dialog.d.ts.map +1 -1
- package/dist/Dialog.js +31 -0
- package/dist/config/config.development.d.ts +1 -0
- package/dist/config/config.development.d.ts.map +1 -1
- package/dist/config/config.development.js +1 -0
- package/dist/config/config.production.d.ts +1 -0
- package/dist/config/config.production.d.ts.map +1 -1
- package/dist/config/config.production.js +1 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +1 -0
- package/dist/constants/theme.d.ts.map +1 -1
- package/dist/constants/theme.js +12 -2
- package/dist/types/constructor.d.ts +1 -1
- package/dist/types/constructor.d.ts.map +1 -1
- package/dist/types/theme.d.ts +19 -9
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/utils/localization.d.ts +1 -0
- package/dist/utils/localization.d.ts.map +1 -1
- package/dist/utils/localization.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,15 @@ The locale specifies the language you want to use.
|
|
|
48
48
|
The addToCart function is triggered when a user clicks the AddToCart button.
|
|
49
49
|
The getProduct function is used to display product information in the assistant.
|
|
50
50
|
|
|
51
|
+
When the client is instantiated, it will automatically insert in the DOM the Dialog Assistant script, so you can interact with the assistant with `sendProductMessage` and `sendGenericMessage`.
|
|
52
|
+
|
|
53
|
+
### Getters
|
|
54
|
+
|
|
55
|
+
- apiKey
|
|
56
|
+
- theme
|
|
57
|
+
- userId
|
|
58
|
+
- locale
|
|
59
|
+
|
|
51
60
|
### Features
|
|
52
61
|
|
|
53
62
|
- Send a message with context
|
|
@@ -70,6 +79,50 @@ client.sendGenericMessage({
|
|
|
70
79
|
});
|
|
71
80
|
```
|
|
72
81
|
|
|
82
|
+
- Get locale information
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
const localizationInfos = await client.getLocalizationInformations();
|
|
86
|
+
|
|
87
|
+
/*
|
|
88
|
+
Example of expected result when locale: 'en'
|
|
89
|
+
{
|
|
90
|
+
countryCode: "US",
|
|
91
|
+
formatted: "en-US",
|
|
92
|
+
language: "English",
|
|
93
|
+
locale: "en"
|
|
94
|
+
}
|
|
95
|
+
*/
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
- Get suggestion questions
|
|
99
|
+
|
|
100
|
+
You can use this query to make your own integration and trigger `sendProductMessage` or `sendGenericMessage` on user click.
|
|
101
|
+
|
|
102
|
+
```typescript
|
|
103
|
+
const suggestions = await client.getSuggestions(productId);
|
|
104
|
+
|
|
105
|
+
/*
|
|
106
|
+
Example of expected result:
|
|
107
|
+
{
|
|
108
|
+
"questions": [
|
|
109
|
+
{
|
|
110
|
+
"question": "What is the formula used in this repairing gel to soothe the skin after sun exposure?"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"question": "How does this gel relieve sunburn and reduce pain?"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"question": "What are the benefits for the skin after using this product following excessive exposure to UV rays?"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"assistantName": "Your expert",
|
|
120
|
+
"inputPlaceholder": "Ask any question...",
|
|
121
|
+
"description": "Ask any question about this product"
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
|
|
73
126
|
- Handler for fetch product
|
|
74
127
|
|
|
75
128
|
```typescript
|
|
@@ -103,3 +156,40 @@ const client = new Dialog({
|
|
|
103
156
|
},
|
|
104
157
|
});
|
|
105
158
|
```
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Theming (Still in construction)
|
|
162
|
+
|
|
163
|
+
We are currently working on the theming part so you may find some issues. Contact us if you need more customisation.
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
⚠️ Title, description and content properties are used only to theme the vue component for the moment.
|
|
167
|
+
|
|
168
|
+
```typescript
|
|
169
|
+
const client = new Dialog({
|
|
170
|
+
...,
|
|
171
|
+
theme: {
|
|
172
|
+
backgroundColor?: string;
|
|
173
|
+
primaryColor?: string;
|
|
174
|
+
ctaTextColor?: string;
|
|
175
|
+
ctaBorderType?: 'straight' | 'rounded';
|
|
176
|
+
capitalizeCtas?: boolean;
|
|
177
|
+
fontFamily?: string;
|
|
178
|
+
highlightProductName?: boolean;
|
|
179
|
+
title?: { // Used in Vue component only
|
|
180
|
+
fontSize?: string;
|
|
181
|
+
color?: string;
|
|
182
|
+
}
|
|
183
|
+
description?: {
|
|
184
|
+
fontSize?: string;
|
|
185
|
+
color?: string;
|
|
186
|
+
}
|
|
187
|
+
content?: {
|
|
188
|
+
fontSize?: string;
|
|
189
|
+
color?: string;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
|
package/dist/Dialog.d.ts
CHANGED
|
@@ -13,8 +13,10 @@ export declare class Dialog {
|
|
|
13
13
|
private _eventsHandler;
|
|
14
14
|
private _tracking;
|
|
15
15
|
constructor({ apiKey, locale, callbacks, theme, userId }: DialogConstructor);
|
|
16
|
+
get apiKey(): string;
|
|
16
17
|
get theme(): Theme;
|
|
17
18
|
get userId(): string;
|
|
19
|
+
get locale(): string;
|
|
18
20
|
getLocalizationInformations(): DetailedLocaleInfo | null;
|
|
19
21
|
private _createOrRetrieveUserId;
|
|
20
22
|
getSuggestions(productId: string): Promise<Suggestion>;
|
|
@@ -22,7 +24,7 @@ export declare class Dialog {
|
|
|
22
24
|
closeAssistant(): void;
|
|
23
25
|
sendProductMessage(params: ProductQuestionPayload): void;
|
|
24
26
|
sendGenericMessage(params: GenericQuestionPayload): void;
|
|
25
|
-
getProduct(productId: string, variantId
|
|
27
|
+
getProduct(productId: string, variantId?: string): Promise<SimplifiedProduct>;
|
|
26
28
|
addToCart({ productId, variantId, quantity, }: {
|
|
27
29
|
productId: string;
|
|
28
30
|
variantId: string;
|
|
@@ -34,5 +36,6 @@ export declare class Dialog {
|
|
|
34
36
|
quantity: number;
|
|
35
37
|
}): void;
|
|
36
38
|
registerSubmitCheckoutEvent(): void;
|
|
39
|
+
private _loadAssistant;
|
|
37
40
|
}
|
|
38
41
|
//# sourceMappingURL=Dialog.d.ts.map
|
package/dist/Dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../src/Dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EACL,kBAAkB,EAEnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAEL,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../src/Dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EACL,kBAAkB,EAEnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAEL,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,qBAAa,MAAM;IACjB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,UAAU,CAchB;IACF,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,cAAc,CAAgB;IACtC,OAAO,CAAC,SAAS,CAAW;gBAEhB,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB;IAc3E,IAAW,MAAM,IAAI,MAAM,CAE1B;IACD,IAAW,KAAK,IAAI,KAAK,CAExB;IACD,IAAW,MAAM,IAAI,MAAM,CAE1B;IACD,IAAW,MAAM,IAAI,MAAM,CAE1B;IAEM,2BAA2B,IAAI,kBAAkB,GAAG,IAAI;IAI/D,OAAO,CAAC,uBAAuB;IAkBlB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAK5D,aAAa,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI;IAKjD,cAAc,IAAI,IAAI;IAItB,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAIxD,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAOxD,UAAU,CACf,SAAS,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,iBAAiB,CAAC;IAItB,SAAS,CAAC,EACf,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIV,sBAAsB,CAAC,EAC5B,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,IAAI;IAQD,2BAA2B,IAAI,IAAI;IAI1C,OAAO,CAAC,cAAc;CA0BvB"}
|
package/dist/Dialog.js
CHANGED
|
@@ -7,6 +7,7 @@ import { EventsHandler } from './EventsHandler';
|
|
|
7
7
|
import { Tracking } from './Tracking';
|
|
8
8
|
import { TrackingEvents } from './types/trackings';
|
|
9
9
|
import { loadSuggestions } from './services/suggestions';
|
|
10
|
+
import { config } from './config';
|
|
10
11
|
export class Dialog {
|
|
11
12
|
_apiKey;
|
|
12
13
|
_locale;
|
|
@@ -26,6 +27,10 @@ export class Dialog {
|
|
|
26
27
|
window.dialog = {
|
|
27
28
|
instance: this,
|
|
28
29
|
};
|
|
30
|
+
this._loadAssistant();
|
|
31
|
+
}
|
|
32
|
+
get apiKey() {
|
|
33
|
+
return this._apiKey;
|
|
29
34
|
}
|
|
30
35
|
get theme() {
|
|
31
36
|
return this._theme;
|
|
@@ -33,6 +38,9 @@ export class Dialog {
|
|
|
33
38
|
get userId() {
|
|
34
39
|
return this._userId;
|
|
35
40
|
}
|
|
41
|
+
get locale() {
|
|
42
|
+
return this._locale;
|
|
43
|
+
}
|
|
36
44
|
getLocalizationInformations() {
|
|
37
45
|
return getDetailedLocaleInfo(this._locale);
|
|
38
46
|
}
|
|
@@ -52,9 +60,11 @@ export class Dialog {
|
|
|
52
60
|
async getSuggestions(productId) {
|
|
53
61
|
return loadSuggestions(this._apiKey, this._locale, productId);
|
|
54
62
|
}
|
|
63
|
+
// TODO: Not yet implemented on assistant
|
|
55
64
|
openAssistant(params) {
|
|
56
65
|
this._eventsHandler.emitExternalEvent(DialogEvents.OPEN_ASSISTANT, params);
|
|
57
66
|
}
|
|
67
|
+
// TODO: Not yet implemented on assistant
|
|
58
68
|
closeAssistant() {
|
|
59
69
|
this._eventsHandler.emitExternalEvent(DialogEvents.CLOSE_ASSISTANT);
|
|
60
70
|
}
|
|
@@ -80,4 +90,25 @@ export class Dialog {
|
|
|
80
90
|
registerSubmitCheckoutEvent() {
|
|
81
91
|
this._tracking.track(TrackingEvents.USER_SUBMITTED_CHECKOUT);
|
|
82
92
|
}
|
|
93
|
+
_loadAssistant() {
|
|
94
|
+
const localeInfo = getDetailedLocaleInfo(this._locale);
|
|
95
|
+
if (localeInfo === null) {
|
|
96
|
+
console.error('Missing locale information');
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const script = document.createElement('script');
|
|
100
|
+
script.type = 'text/javascript';
|
|
101
|
+
script.defer = true;
|
|
102
|
+
script.async = true;
|
|
103
|
+
script.src = config.assistantUrl;
|
|
104
|
+
document.head.insertBefore(script, document.head.firstChild);
|
|
105
|
+
const div = document.createElement('div');
|
|
106
|
+
div.id = 'dialog-shopify-ai';
|
|
107
|
+
div.dataset.shopIsoCode = this._locale;
|
|
108
|
+
div.dataset.apiKey = this._apiKey;
|
|
109
|
+
div.dataset.userId = this._userId;
|
|
110
|
+
div.dataset.countryCode = localeInfo.countryCode;
|
|
111
|
+
div.dataset.language = localeInfo.language;
|
|
112
|
+
document.body.appendChild(div);
|
|
113
|
+
}
|
|
83
114
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.development.d.ts","sourceRoot":"","sources":["../../src/config/config.development.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"config.development.d.ts","sourceRoot":"","sources":["../../src/config/config.development.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.production.d.ts","sourceRoot":"","sources":["../../src/config/config.production.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"config.production.d.ts","sourceRoot":"","sources":["../../src/config/config.production.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC"}
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;CAGlB,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC"}
|
package/dist/config/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/constants/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/constants/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,eAAO,MAAM,YAAY,EAAE,KAoB1B,CAAC"}
|
package/dist/constants/theme.js
CHANGED
|
@@ -6,6 +6,16 @@ export const defaultTheme = {
|
|
|
6
6
|
capitalizeCtas: false,
|
|
7
7
|
fontFamily: 'Inter, sans-serif',
|
|
8
8
|
highlightProductName: true,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
title: {
|
|
10
|
+
fontSize: '16px',
|
|
11
|
+
color: '#000000',
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
fontSize: '14px',
|
|
15
|
+
color: '#000000',
|
|
16
|
+
},
|
|
17
|
+
content: {
|
|
18
|
+
fontSize: '14px',
|
|
19
|
+
color: '#000000',
|
|
20
|
+
},
|
|
11
21
|
};
|
|
@@ -9,7 +9,7 @@ export interface DialogConstructor {
|
|
|
9
9
|
variantId: string;
|
|
10
10
|
quantity: number;
|
|
11
11
|
}) => Promise<void>;
|
|
12
|
-
getProduct: (productId: string, variantId
|
|
12
|
+
getProduct: (productId: string, variantId?: string) => Promise<SimplifiedProduct>;
|
|
13
13
|
};
|
|
14
14
|
theme?: Partial<Theme>;
|
|
15
15
|
userId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructor.d.ts","sourceRoot":"","sources":["../../src/types/constructor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QACT,SAAS,EAAE,CAAC,EACV,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;YACD,SAAS,EAAE,MAAM,CAAC;YAClB,SAAS,EAAE,MAAM,CAAC;YAClB,QAAQ,EAAE,MAAM,CAAC;SAClB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QACpB,UAAU,EAAE,CACV,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"constructor.d.ts","sourceRoot":"","sources":["../../src/types/constructor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QACT,SAAS,EAAE,CAAC,EACV,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;YACD,SAAS,EAAE,MAAM,CAAC;YAClB,SAAS,EAAE,MAAM,CAAC;YAClB,QAAQ,EAAE,MAAM,CAAC;SAClB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QACpB,UAAU,EAAE,CACV,SAAS,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,KACf,OAAO,CAAC,iBAAiB,CAAC,CAAC;KACjC,CAAC;IACF,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/dist/types/theme.d.ts
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
export interface Theme {
|
|
2
|
-
backgroundColor
|
|
3
|
-
primaryColor
|
|
4
|
-
ctaTextColor
|
|
5
|
-
ctaBorderType
|
|
6
|
-
capitalizeCtas
|
|
7
|
-
fontFamily
|
|
8
|
-
highlightProductName
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
backgroundColor?: string;
|
|
3
|
+
primaryColor?: string;
|
|
4
|
+
ctaTextColor?: string;
|
|
5
|
+
ctaBorderType?: 'straight' | 'rounded';
|
|
6
|
+
capitalizeCtas?: boolean;
|
|
7
|
+
fontFamily?: string;
|
|
8
|
+
highlightProductName?: boolean;
|
|
9
|
+
title?: {
|
|
10
|
+
fontSize?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
};
|
|
13
|
+
description?: {
|
|
14
|
+
fontSize?: string;
|
|
15
|
+
color?: string;
|
|
16
|
+
};
|
|
17
|
+
content?: {
|
|
18
|
+
fontSize?: string;
|
|
19
|
+
color?: string;
|
|
20
|
+
};
|
|
11
21
|
}
|
|
12
22
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,eAAe,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,KAAK,CAAC,EAAE;QACJ,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAA;IACD,WAAW,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAA;IACD,OAAO,CAAC,EAAE;QACN,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAA;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/utils/localization.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/utils/localization.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,qBAAqB,GAChC,QAAQ,MAAM,KACb,kBAAkB,GAAG,IAsBvB,CAAC"}
|