react-native-seel-widget 0.1.5 → 0.1.7
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 +1 -1
- package/README.md +22 -23
- package/lib/module/assets/images/accredited.png +0 -0
- package/lib/module/assets/images/background_image.jpg +0 -0
- package/lib/module/assets/images/button_close.png +0 -0
- package/lib/module/assets/images/button_close_background.png +0 -0
- package/lib/module/assets/images/checkbox_normal.png +0 -0
- package/lib/module/assets/images/checkbox_selected.png +0 -0
- package/lib/module/assets/images/close_white.png +0 -0
- package/lib/module/assets/images/ic_launcher.png +0 -0
- package/lib/module/assets/images/icon_arrow_left.png +0 -0
- package/lib/module/assets/images/icon_bg_select.png +0 -0
- package/lib/module/assets/images/icon_check_selected_black.png +0 -0
- package/lib/module/assets/images/icon_select.png +0 -0
- package/lib/module/assets/images/info_black.png +0 -0
- package/lib/module/assets/images/seel_icon.png +0 -0
- package/lib/module/assets/images/seel_logo.png +0 -0
- package/lib/module/assets/images/seel_word.png +0 -0
- package/lib/module/assets/images/tick_small_minor.png +0 -0
- package/lib/module/constants/key_value.js +50 -0
- package/lib/module/constants/key_value.js.map +1 -0
- package/lib/module/constants/network_request_statue_enum.js +17 -0
- package/lib/module/constants/network_request_statue_enum.js.map +1 -0
- package/lib/module/core/SeelWidgetSDK.js +85 -0
- package/lib/module/core/SeelWidgetSDK.js.map +1 -0
- package/lib/module/dto/EventsRequest.js +71 -0
- package/lib/module/dto/EventsRequest.js.map +1 -0
- package/lib/module/dto/EventsResponse.js +15 -0
- package/lib/module/dto/EventsResponse.js.map +1 -0
- package/lib/module/dto/IEvents.js +31 -0
- package/lib/module/dto/IEvents.js.map +1 -0
- package/lib/module/dto/IQuotes.js +2 -0
- package/lib/module/dto/IQuotes.js.map +1 -0
- package/lib/module/dto/IQuotesRequest.js +4 -0
- package/lib/module/dto/IQuotesRequest.js.map +1 -0
- package/lib/module/dto/IQuotesResponse.js +2 -0
- package/lib/module/dto/IQuotesResponse.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/network/request.js +194 -0
- package/lib/module/network/request.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/ui/coverage-info-footer.js +170 -0
- package/lib/module/ui/coverage-info-footer.js.map +1 -0
- package/lib/module/ui/gradient-animation-text.js +116 -0
- package/lib/module/ui/gradient-animation-text.js.map +1 -0
- package/lib/module/ui/gradient-animation-view.js +110 -0
- package/lib/module/ui/gradient-animation-view.js.map +1 -0
- package/lib/module/ui/index.js +7 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/seel-wfp-info-view.js +312 -0
- package/lib/module/ui/seel-wfp-info-view.js.map +1 -0
- package/lib/module/ui/seel-wfp-title-view.js +286 -0
- package/lib/module/ui/seel-wfp-title-view.js.map +1 -0
- package/lib/module/ui/seel-wfp-widget.js +224 -0
- package/lib/module/ui/seel-wfp-widget.js.map +1 -0
- package/lib/module/utils/format_util.js +107 -0
- package/lib/module/utils/format_util.js.map +1 -0
- package/lib/module/utils/http_util.js +27 -0
- package/lib/module/utils/http_util.js.map +1 -0
- package/lib/module/utils/storage_util.js +36 -0
- package/lib/module/utils/storage_util.js.map +1 -0
- package/lib/module/utils/uuid.js +21 -0
- package/lib/module/utils/uuid.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/constants/key_value.d.ts +48 -0
- package/lib/typescript/src/constants/key_value.d.ts.map +1 -0
- package/lib/typescript/src/constants/network_request_statue_enum.d.ts +13 -0
- package/lib/typescript/src/constants/network_request_statue_enum.d.ts.map +1 -0
- package/lib/typescript/src/core/SeelWidgetSDK.d.ts +52 -0
- package/lib/typescript/src/core/SeelWidgetSDK.d.ts.map +1 -0
- package/lib/typescript/src/dto/EventsRequest.d.ts +60 -0
- package/lib/typescript/src/dto/EventsRequest.d.ts.map +1 -0
- package/lib/typescript/src/dto/EventsResponse.d.ts +11 -0
- package/lib/typescript/src/dto/EventsResponse.d.ts.map +1 -0
- package/lib/typescript/src/dto/IEvents.d.ts +48 -0
- package/lib/typescript/src/dto/IEvents.d.ts.map +1 -0
- package/lib/typescript/src/dto/IQuotes.d.ts +36 -0
- package/lib/typescript/src/dto/IQuotes.d.ts.map +1 -0
- package/lib/typescript/src/dto/IQuotesRequest.d.ts +213 -0
- package/lib/typescript/src/dto/IQuotesRequest.d.ts.map +1 -0
- package/lib/typescript/src/dto/IQuotesResponse.d.ts +96 -0
- package/lib/typescript/src/dto/IQuotesResponse.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/network/request.d.ts +53 -0
- package/lib/typescript/src/network/request.d.ts.map +1 -0
- package/lib/typescript/src/ui/coverage-info-footer.d.ts +9 -0
- package/lib/typescript/src/ui/coverage-info-footer.d.ts.map +1 -0
- package/lib/typescript/src/ui/gradient-animation-text.d.ts +40 -0
- package/lib/typescript/src/ui/gradient-animation-text.d.ts.map +1 -0
- package/lib/typescript/src/ui/gradient-animation-view.d.ts +32 -0
- package/lib/typescript/src/ui/gradient-animation-view.d.ts.map +1 -0
- package/lib/typescript/src/ui/index.d.ts +5 -0
- package/lib/typescript/src/ui/index.d.ts.map +1 -0
- package/lib/typescript/src/ui/seel-wfp-info-view.d.ts +13 -0
- package/lib/typescript/src/ui/seel-wfp-info-view.d.ts.map +1 -0
- package/lib/typescript/src/ui/seel-wfp-title-view.d.ts +68 -0
- package/lib/typescript/src/ui/seel-wfp-title-view.d.ts.map +1 -0
- package/lib/typescript/src/ui/seel-wfp-widget.d.ts +16 -0
- package/lib/typescript/src/ui/seel-wfp-widget.d.ts.map +1 -0
- package/lib/typescript/src/utils/format_util.d.ts +2 -0
- package/lib/typescript/src/utils/format_util.d.ts.map +1 -0
- package/lib/typescript/src/utils/http_util.d.ts +18 -0
- package/lib/typescript/src/utils/http_util.d.ts.map +1 -0
- package/lib/typescript/src/utils/storage_util.d.ts +6 -0
- package/lib/typescript/src/utils/storage_util.d.ts.map +1 -0
- package/lib/typescript/src/utils/uuid.d.ts +6 -0
- package/lib/typescript/src/utils/uuid.d.ts.map +1 -0
- package/package.json +5 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IEvents } from './IEvents';
|
|
2
|
+
import EventsRequest from './EventsRequest';
|
|
3
|
+
/**
|
|
4
|
+
* Events Response class
|
|
5
|
+
* Reuses EventsRequest since they have the same structure
|
|
6
|
+
* This avoids code duplication while maintaining semantic clarity
|
|
7
|
+
*/
|
|
8
|
+
export default class EventsResponse extends EventsRequest {
|
|
9
|
+
constructor(props: IEvents);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=EventsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventsResponse.d.ts","sourceRoot":"","sources":["../../../../src/dto/EventsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,aAAa;gBAC3C,KAAK,EAAE,OAAO;CAG3B"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare enum EventTypeEnum {
|
|
2
|
+
product_page_enter = "product_page_enter",
|
|
3
|
+
product_page_exit = "product_page_exit",
|
|
4
|
+
product_share = "product_share",
|
|
5
|
+
favorite_add = "favorite_add",
|
|
6
|
+
favorite_remove = "favorite_remove",
|
|
7
|
+
cart_add = "cart_add",
|
|
8
|
+
cart_remove = "cart_remove",
|
|
9
|
+
ra_checked = "ra_checked",
|
|
10
|
+
ra_unchecked = "ra_unchecked",
|
|
11
|
+
checkout_begin = "checkout_begin",
|
|
12
|
+
checkout_complete = "checkout_complete"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Event type union type
|
|
16
|
+
* Can be simplified to: export type EventType = EventTypeEnum;
|
|
17
|
+
*/
|
|
18
|
+
export type EventType = EventTypeEnum;
|
|
19
|
+
/**
|
|
20
|
+
* Shipping address information for events
|
|
21
|
+
*/
|
|
22
|
+
export interface IEventShippingAddress {
|
|
23
|
+
shipping_address_state: string;
|
|
24
|
+
shipping_address_city: string;
|
|
25
|
+
shipping_address_zipcode: string;
|
|
26
|
+
shipping_address_country: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Event information object
|
|
30
|
+
* Each event_type has its own unique schema. For specific details, please refer to the custom pixel guide.
|
|
31
|
+
*/
|
|
32
|
+
export interface IEventInfo {
|
|
33
|
+
user_email?: string;
|
|
34
|
+
shipping_address?: IEventShippingAddress;
|
|
35
|
+
user_phone_number?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IEvents {
|
|
38
|
+
client_ip: string;
|
|
39
|
+
customer_id: string;
|
|
40
|
+
device_id?: string;
|
|
41
|
+
event_id?: string;
|
|
42
|
+
event_info?: IEventInfo;
|
|
43
|
+
event_source: string;
|
|
44
|
+
event_ts: string;
|
|
45
|
+
event_type: EventType;
|
|
46
|
+
session_id: string;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=IEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IEvents.d.ts","sourceRoot":"","sources":["../../../../src/dto/IEvents.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;CACxC;AAED;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shipping origin address information
|
|
3
|
+
*/
|
|
4
|
+
export interface IShippingOrigin {
|
|
5
|
+
/**
|
|
6
|
+
* The first line of the shipping address
|
|
7
|
+
*/
|
|
8
|
+
address_1?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The second line of the shipping address
|
|
11
|
+
*/
|
|
12
|
+
address_2?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The city of the shipping address
|
|
15
|
+
*/
|
|
16
|
+
city: string;
|
|
17
|
+
/**
|
|
18
|
+
* ISO 3166-1 alpha-2 country code of the shipping address
|
|
19
|
+
*/
|
|
20
|
+
country: string;
|
|
21
|
+
/**
|
|
22
|
+
* The state or province code of the shipping address
|
|
23
|
+
*/
|
|
24
|
+
state: string;
|
|
25
|
+
/**
|
|
26
|
+
* The zipcode of the shipping address
|
|
27
|
+
*/
|
|
28
|
+
zipcode: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Shipping address information
|
|
32
|
+
* Currently has the same structure as IShippingOrigin
|
|
33
|
+
* Using type alias to avoid unnecessary interface extension
|
|
34
|
+
*/
|
|
35
|
+
export type IShippingAddress = IShippingOrigin;
|
|
36
|
+
//# sourceMappingURL=IQuotes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IQuotes.d.ts","sourceRoot":"","sources":["../../../../src/dto/IQuotes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import type { IShippingOrigin, IShippingAddress } from './IQuotes';
|
|
2
|
+
/**
|
|
3
|
+
* Customer information for quotes request
|
|
4
|
+
*/
|
|
5
|
+
export interface IQuotesRequestCustomer {
|
|
6
|
+
/**
|
|
7
|
+
* The unique identifier for the customer
|
|
8
|
+
*/
|
|
9
|
+
customer_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The email address of the customer
|
|
12
|
+
*/
|
|
13
|
+
email: string;
|
|
14
|
+
/**
|
|
15
|
+
* The first name of the customer
|
|
16
|
+
*/
|
|
17
|
+
first_name?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The last name of the customer
|
|
20
|
+
*/
|
|
21
|
+
last_name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The phone number of the customer
|
|
24
|
+
*/
|
|
25
|
+
phone?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Extra information for quotes request
|
|
29
|
+
*/
|
|
30
|
+
export interface IQuotesRequestExtraInfo {
|
|
31
|
+
shipping_fee?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Product Attributes
|
|
35
|
+
*/
|
|
36
|
+
export interface IProductAttributes {
|
|
37
|
+
/**
|
|
38
|
+
* The color of the product.
|
|
39
|
+
*/
|
|
40
|
+
color?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The size of the product.
|
|
43
|
+
*/
|
|
44
|
+
size?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Line item information for quotes request
|
|
48
|
+
*/
|
|
49
|
+
export interface IQuotesRequestLineItem {
|
|
50
|
+
/**
|
|
51
|
+
* The allocated discounts of the product.
|
|
52
|
+
*/
|
|
53
|
+
allocated_discounts: number;
|
|
54
|
+
/**
|
|
55
|
+
* The brand name of the product.
|
|
56
|
+
*/
|
|
57
|
+
brand_name?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The main category of the product.
|
|
60
|
+
*/
|
|
61
|
+
category_1: string;
|
|
62
|
+
/**
|
|
63
|
+
* The sub category of the product.
|
|
64
|
+
*/
|
|
65
|
+
category_2: string;
|
|
66
|
+
/**
|
|
67
|
+
* The sub category of the product.
|
|
68
|
+
*/
|
|
69
|
+
category_3?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The sub category of the product.
|
|
72
|
+
*/
|
|
73
|
+
category_4?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The physical condition of the item (e.g. new, used, refurbished)
|
|
76
|
+
*/
|
|
77
|
+
condition?: 'new' | 'used' | 'refurbished';
|
|
78
|
+
/**
|
|
79
|
+
* The currency of the price.
|
|
80
|
+
*/
|
|
81
|
+
currency: string;
|
|
82
|
+
/**
|
|
83
|
+
* The final price of the product.
|
|
84
|
+
*/
|
|
85
|
+
final_price: number | string;
|
|
86
|
+
/**
|
|
87
|
+
* The URLs of the product images.
|
|
88
|
+
*/
|
|
89
|
+
image_urls?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* Whether the item is final sale or not.
|
|
92
|
+
* Default: true
|
|
93
|
+
*/
|
|
94
|
+
is_final_sale: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the item.
|
|
97
|
+
*/
|
|
98
|
+
line_item_id: string;
|
|
99
|
+
/**
|
|
100
|
+
* The price of the product.
|
|
101
|
+
*/
|
|
102
|
+
price: number;
|
|
103
|
+
product_attributes?: IProductAttributes;
|
|
104
|
+
/**
|
|
105
|
+
* The description of the product.
|
|
106
|
+
*/
|
|
107
|
+
product_description?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of the product.
|
|
110
|
+
*/
|
|
111
|
+
product_id: string;
|
|
112
|
+
/**
|
|
113
|
+
* The title of the product.
|
|
114
|
+
*/
|
|
115
|
+
product_title: string;
|
|
116
|
+
/**
|
|
117
|
+
* The URL of the product.
|
|
118
|
+
*/
|
|
119
|
+
product_url?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The quantity of the product.
|
|
122
|
+
*/
|
|
123
|
+
quantity: number;
|
|
124
|
+
/**
|
|
125
|
+
* The retail price of the product.
|
|
126
|
+
*/
|
|
127
|
+
retail_price?: number;
|
|
128
|
+
/**
|
|
129
|
+
* Whether the item requires shipping or not.
|
|
130
|
+
*/
|
|
131
|
+
requires_shipping: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The sales tax of the product.
|
|
134
|
+
*/
|
|
135
|
+
sales_tax: number;
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the seller.
|
|
138
|
+
*/
|
|
139
|
+
seller_id?: string;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the seller.
|
|
142
|
+
*/
|
|
143
|
+
seller_name?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Shipping origin
|
|
146
|
+
*/
|
|
147
|
+
shipping_origin?: IShippingOrigin | null;
|
|
148
|
+
/**
|
|
149
|
+
* The sku of the product variant.
|
|
150
|
+
*/
|
|
151
|
+
sku?: string;
|
|
152
|
+
/**
|
|
153
|
+
* The ID of the product variant.
|
|
154
|
+
*/
|
|
155
|
+
variant_id?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The title of the product variant.
|
|
158
|
+
*/
|
|
159
|
+
variant_title?: string;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Quotes Request interface
|
|
163
|
+
* Fields are ordered logically: identifiers, configuration, data, metadata
|
|
164
|
+
*/
|
|
165
|
+
export interface IQuotesRequest {
|
|
166
|
+
/**
|
|
167
|
+
* The ID of a cart.
|
|
168
|
+
*/
|
|
169
|
+
cart_id?: string;
|
|
170
|
+
/**
|
|
171
|
+
* The IP address of the client.
|
|
172
|
+
*/
|
|
173
|
+
client_ip?: string;
|
|
174
|
+
/**
|
|
175
|
+
* The unique identifier for the merchant within Seel's system.
|
|
176
|
+
*/
|
|
177
|
+
merchant_id?: string;
|
|
178
|
+
/**
|
|
179
|
+
* The ID of the shopping session.
|
|
180
|
+
*/
|
|
181
|
+
session_id: string;
|
|
182
|
+
/**
|
|
183
|
+
* The type of the quote.
|
|
184
|
+
*/
|
|
185
|
+
type: string;
|
|
186
|
+
/**
|
|
187
|
+
* The type of device from which user activity originated.
|
|
188
|
+
*/
|
|
189
|
+
device_category: string;
|
|
190
|
+
/**
|
|
191
|
+
* The ID of the client device.
|
|
192
|
+
*/
|
|
193
|
+
device_id?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The method by which users accessed your website or application.
|
|
196
|
+
*/
|
|
197
|
+
device_platform: string;
|
|
198
|
+
/**
|
|
199
|
+
* The default opt-in setting for the quote
|
|
200
|
+
*/
|
|
201
|
+
is_default_on: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* The list of items included in the quote.
|
|
204
|
+
*/
|
|
205
|
+
line_items: IQuotesRequestLineItem[] | null;
|
|
206
|
+
customer: IQuotesRequestCustomer;
|
|
207
|
+
shipping_address: IShippingAddress;
|
|
208
|
+
/**
|
|
209
|
+
* Additional information for the quote
|
|
210
|
+
*/
|
|
211
|
+
extra_info?: IQuotesRequestExtraInfo | null;
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=IQuotesRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IQuotesRequest.d.ts","sourceRoot":"","sources":["../../../../src/dto/IQuotesRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,aAAa,CAAC;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,sBAAsB,EAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,EAAE,sBAAsB,CAAC;IACjC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;CAC7C"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { IShippingOrigin, IShippingAddress } from './IQuotes';
|
|
2
|
+
/**
|
|
3
|
+
* Quote status type
|
|
4
|
+
*/
|
|
5
|
+
export type QuoteStatus = 'accepted' | 'rejected';
|
|
6
|
+
/**
|
|
7
|
+
* Customer information for quotes response
|
|
8
|
+
*/
|
|
9
|
+
export interface IQuotesResponseCustomer {
|
|
10
|
+
customer_id: string;
|
|
11
|
+
email: string;
|
|
12
|
+
first_name: string;
|
|
13
|
+
last_name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface II18N {
|
|
16
|
+
lang: string;
|
|
17
|
+
texts: Map<string, string>[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Extra information for quotes response
|
|
21
|
+
*/
|
|
22
|
+
export interface IQuotesResponseExtraInfo {
|
|
23
|
+
coverage_details_text?: string[];
|
|
24
|
+
display_widget_text?: string[];
|
|
25
|
+
opt_out_warning_text?: string;
|
|
26
|
+
privacy_policy_url?: string;
|
|
27
|
+
shipping_fee?: number;
|
|
28
|
+
terms_url?: string;
|
|
29
|
+
widget_title?: string;
|
|
30
|
+
i18n?: II18N;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Line item extra info (for nested structure)
|
|
34
|
+
*/
|
|
35
|
+
export interface IQuotesResponseLineItemExtraInfo {
|
|
36
|
+
[key: string]: unknown;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Line item information for quotes response
|
|
40
|
+
*/
|
|
41
|
+
export interface IQuotesResponseLineItem {
|
|
42
|
+
allocated_discounts?: number;
|
|
43
|
+
brand_name?: string;
|
|
44
|
+
category_1?: string;
|
|
45
|
+
category_2?: string;
|
|
46
|
+
category_3?: string;
|
|
47
|
+
category_4?: string;
|
|
48
|
+
condition?: string;
|
|
49
|
+
currency?: string;
|
|
50
|
+
extra_info?: IQuotesResponseLineItemExtraInfo;
|
|
51
|
+
final_price?: string;
|
|
52
|
+
image_url?: string;
|
|
53
|
+
is_final_sale?: boolean;
|
|
54
|
+
line_item_id?: string;
|
|
55
|
+
price?: number;
|
|
56
|
+
product_attributes?: string;
|
|
57
|
+
product_description?: string;
|
|
58
|
+
product_id?: string;
|
|
59
|
+
product_title?: string;
|
|
60
|
+
product_url?: string;
|
|
61
|
+
quantity?: number;
|
|
62
|
+
requires_shipping?: boolean;
|
|
63
|
+
retail_price?: number;
|
|
64
|
+
sales_tax?: number;
|
|
65
|
+
seller_id?: string;
|
|
66
|
+
seller_name?: string;
|
|
67
|
+
shipping_fee?: number;
|
|
68
|
+
shipping_origin?: IShippingOrigin;
|
|
69
|
+
sku?: string;
|
|
70
|
+
variant_id?: string;
|
|
71
|
+
variant_title?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Quotes Response interface
|
|
75
|
+
* Fields are ordered logically: identifiers, metadata, configuration, data, status
|
|
76
|
+
*/
|
|
77
|
+
export default interface IQuotesResponse {
|
|
78
|
+
quote_id: string;
|
|
79
|
+
cart_id: string;
|
|
80
|
+
merchant_id: string;
|
|
81
|
+
device_id: string;
|
|
82
|
+
session_id: string;
|
|
83
|
+
created_ts: string;
|
|
84
|
+
status: string;
|
|
85
|
+
type: string;
|
|
86
|
+
device_category: string;
|
|
87
|
+
device_platform: string;
|
|
88
|
+
is_default_on: boolean;
|
|
89
|
+
currency: string;
|
|
90
|
+
price: number;
|
|
91
|
+
line_items?: IQuotesResponseLineItem[];
|
|
92
|
+
customer?: IQuotesResponseCustomer;
|
|
93
|
+
shipping_address?: IShippingAddress;
|
|
94
|
+
extra_info?: IQuotesResponseExtraInfo;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=IQuotesResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IQuotesResponse.d.ts","sourceRoot":"","sources":["../../../../src/dto/IQuotesResponse.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export interface RequestHeaders {
|
|
2
|
+
'X-Seel-API-Key': string;
|
|
3
|
+
'X-Seel-API-Version': string;
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
}
|
|
6
|
+
export interface RequestOptions {
|
|
7
|
+
headers?: RequestHeaders;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface GetRequestParams {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
declare class Request {
|
|
14
|
+
private defaultHeaders;
|
|
15
|
+
private defaultTimeout;
|
|
16
|
+
/**
|
|
17
|
+
* Set default request headers
|
|
18
|
+
*/
|
|
19
|
+
setDefaultHeaders(headers: RequestHeaders): void;
|
|
20
|
+
/**
|
|
21
|
+
* Set default timeout
|
|
22
|
+
*/
|
|
23
|
+
setDefaultTimeout(timeout: number): void;
|
|
24
|
+
/**
|
|
25
|
+
* Build query string
|
|
26
|
+
*/
|
|
27
|
+
private buildQueryString;
|
|
28
|
+
/**
|
|
29
|
+
* Handle request timeout
|
|
30
|
+
*/
|
|
31
|
+
private createTimeoutPromise;
|
|
32
|
+
/**
|
|
33
|
+
* GET request
|
|
34
|
+
* @param url Request URL
|
|
35
|
+
* @param params Request parameters
|
|
36
|
+
* @param options Request options (headers, timeout, etc.)
|
|
37
|
+
* @returns Promise<any>
|
|
38
|
+
*/
|
|
39
|
+
get<T = any>(url: string, params?: GetRequestParams, options?: RequestOptions): Promise<T>;
|
|
40
|
+
/**
|
|
41
|
+
* POST request
|
|
42
|
+
* @param url Request URL
|
|
43
|
+
* @param data Request body data
|
|
44
|
+
* @param options Request options (headers, timeout, etc.)
|
|
45
|
+
* @returns Promise<any>
|
|
46
|
+
*/
|
|
47
|
+
post<T = any>(url: string, data?: any, options?: RequestOptions): Promise<T>;
|
|
48
|
+
}
|
|
49
|
+
export declare const instance: Request;
|
|
50
|
+
export declare const get: <T = any>(url: string, params?: GetRequestParams, options?: RequestOptions) => Promise<T>;
|
|
51
|
+
export declare const post: <T = any>(url: string, data?: any, options?: RequestOptions) => Promise<T>;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/network/request.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAeD,cAAM,OAAO;IACX,OAAO,CAAC,cAAc,CAKpB;IAEF,OAAO,CAAC,cAAc,CAAgB;IAEtC;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAIhD;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIxC;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAQ5B;;;;;;OAMG;IACG,GAAG,CAAC,CAAC,GAAG,GAAG,EACf,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,gBAAgB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,CAAC,CAAC;IAgDb;;;;;;OAMG;IACG,IAAI,CAAC,CAAC,GAAG,GAAG,EAChB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,CAAC,CAAC;CAoDd;AAGD,eAAO,MAAM,QAAQ,SAAgB,CAAC;AAGtC,eAAO,MAAM,GAAG,GAAI,CAAC,GAAG,GAAG,EACzB,KAAK,MAAM,EACX,SAAS,gBAAgB,EACzB,UAAU,cAAc,KACvB,OAAO,CAAC,CAAC,CAEX,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,GAAG,GAAG,EAC1B,KAAK,MAAM,EACX,OAAO,GAAG,EACV,UAAU,cAAc,KACvB,OAAO,CAAC,CAAC,CAEX,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface CoverageInfoFooterProps {
|
|
2
|
+
termsUrl: string;
|
|
3
|
+
privacyPolicyUrl: string;
|
|
4
|
+
dictionary: any;
|
|
5
|
+
onChangeOptedInValue: (value: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function CoverageInfoFooter({ termsUrl, privacyPolicyUrl, dictionary, onChangeOptedInValue, }: CoverageInfoFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=coverage-info-footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage-info-footer.d.ts","sourceRoot":"","sources":["../../../../src/ui/coverage-info-footer.tsx"],"names":[],"mappings":"AAYA,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,GAAG,CAAC;IAChB,oBAAoB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAa,EACb,gBAAqB,EACrB,UAAe,EACf,oBAAyC,GAC1C,EAAE,uBAAuB,2CAoEzB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
export interface GradientAnimationTextProps {
|
|
3
|
+
/**
|
|
4
|
+
* Text content to display
|
|
5
|
+
*/
|
|
6
|
+
text?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Custom text style
|
|
9
|
+
*/
|
|
10
|
+
textStyle?: TextStyle;
|
|
11
|
+
/**
|
|
12
|
+
* Custom container style
|
|
13
|
+
*/
|
|
14
|
+
containerStyle?: ViewStyle;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to start animation automatically (default: true)
|
|
17
|
+
*/
|
|
18
|
+
autoStart?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Animation duration in milliseconds for one cycle (default: 1500)
|
|
21
|
+
*/
|
|
22
|
+
animationDuration?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Gradient colors for loading effect (default: ['rgba(255,255,255,0)', 'rgba(255,255,255,0.3)', 'rgba(255,255,255,0)'])
|
|
25
|
+
*/
|
|
26
|
+
gradientColors?: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface GradientAnimationTextRef {
|
|
29
|
+
/**
|
|
30
|
+
* Start the loading animation
|
|
31
|
+
*/
|
|
32
|
+
start: () => void;
|
|
33
|
+
/**
|
|
34
|
+
* Stop the loading animation
|
|
35
|
+
*/
|
|
36
|
+
stop: () => void;
|
|
37
|
+
}
|
|
38
|
+
declare const GradientAnimationText: import("react").ForwardRefExoticComponent<GradientAnimationTextProps & import("react").RefAttributes<GradientAnimationTextRef>>;
|
|
39
|
+
export default GradientAnimationText;
|
|
40
|
+
//# sourceMappingURL=gradient-animation-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradient-animation-text.d.ts","sourceRoot":"","sources":["../../../../src/ui/gradient-animation-text.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,QAAA,MAAM,qBAAqB,iIAsG1B,CAAC;AAkCF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
export interface GradientAnimationViewProps {
|
|
3
|
+
/**
|
|
4
|
+
* Custom container style
|
|
5
|
+
*/
|
|
6
|
+
containerStyle?: ViewStyle;
|
|
7
|
+
/**
|
|
8
|
+
* Initial visibility state (default: false)
|
|
9
|
+
*/
|
|
10
|
+
initialVisible?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Animation duration in milliseconds (default: 300)
|
|
13
|
+
*/
|
|
14
|
+
animationDuration?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface GradientAnimationViewRef {
|
|
17
|
+
/**
|
|
18
|
+
* Show the content with gradient animation
|
|
19
|
+
*/
|
|
20
|
+
show: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* Hide the content with gradient animation
|
|
23
|
+
*/
|
|
24
|
+
hide: () => void;
|
|
25
|
+
/**
|
|
26
|
+
* Toggle visibility
|
|
27
|
+
*/
|
|
28
|
+
toggle: () => void;
|
|
29
|
+
}
|
|
30
|
+
declare const GradientAnimationView: import("react").ForwardRefExoticComponent<GradientAnimationViewProps & import("react").RefAttributes<GradientAnimationViewRef>>;
|
|
31
|
+
export default GradientAnimationView;
|
|
32
|
+
//# sourceMappingURL=gradient-animation-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradient-animation-view.d.ts","sourceRoot":"","sources":["../../../../src/ui/gradient-animation-view.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,QAAA,MAAM,qBAAqB,iIAiF1B,CAAC;AAkCF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Domain = '' | 'US' | 'EU';
|
|
2
|
+
interface SeelWFPInfoViewProps {
|
|
3
|
+
domain: Domain;
|
|
4
|
+
widgetTitle: string;
|
|
5
|
+
termsUrl: string;
|
|
6
|
+
privacyPolicyUrl: string;
|
|
7
|
+
dictionary: any;
|
|
8
|
+
onClickClose: () => void;
|
|
9
|
+
onChangeOptedInValue: (value: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
export default function SeelWFPInfoView({ domain, widgetTitle, termsUrl, privacyPolicyUrl, dictionary, onClickClose, onChangeOptedInValue, }: SeelWFPInfoViewProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=seel-wfp-info-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seel-wfp-info-view.d.ts","sourceRoot":"","sources":["../../../../src/ui/seel-wfp-info-view.tsx"],"names":[],"mappings":"AAeA,MAAM,MAAM,MAAM,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,GAAG,CAAC;IAChB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,oBAAoB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,MAAW,EACX,WAAgB,EAChB,QAAa,EACb,gBAAqB,EACrB,UAAe,EACf,YAAuB,EACvB,oBAAyC,GAC1C,EAAE,oBAAoB,2CAyLtB"}
|