@omnic/widget-locations 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/src/i18n.d.ts +4 -0
- package/dist/lib/src/types/points.d.ts +9 -16
- package/dist/lib/widget.es.js +158 -172
- package/dist/lib/widget.umd.js +11 -11
- package/package.json +1 -1
package/dist/lib/src/i18n.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export declare const resources: {
|
|
|
64
64
|
delivery_time: string;
|
|
65
65
|
apartment_number: string;
|
|
66
66
|
comment: string;
|
|
67
|
+
pay_by_cash: string;
|
|
68
|
+
pay_by_card: string;
|
|
67
69
|
};
|
|
68
70
|
courier_balloon: {
|
|
69
71
|
title: string;
|
|
@@ -134,6 +136,8 @@ export declare const resources: {
|
|
|
134
136
|
delivery_time: string;
|
|
135
137
|
apartment_number: string;
|
|
136
138
|
comment: string;
|
|
139
|
+
pay_by_cash: string;
|
|
140
|
+
pay_by_card: string;
|
|
137
141
|
};
|
|
138
142
|
courier_balloon: {
|
|
139
143
|
title: string;
|
|
@@ -10,22 +10,22 @@ export interface PointsList {
|
|
|
10
10
|
}
|
|
11
11
|
export interface LocationPoint {
|
|
12
12
|
uid: string;
|
|
13
|
-
type: number;
|
|
14
|
-
code: string;
|
|
15
13
|
name: string;
|
|
14
|
+
code: string;
|
|
15
|
+
type: number;
|
|
16
16
|
brand: string;
|
|
17
17
|
status: number;
|
|
18
18
|
images: string[];
|
|
19
|
-
|
|
20
|
-
is_pickup: boolean;
|
|
21
|
-
max_weight: number;
|
|
19
|
+
schedule: string[];
|
|
22
20
|
max_length: number;
|
|
21
|
+
max_weight: number;
|
|
22
|
+
is_pickup: boolean;
|
|
23
|
+
location: Location;
|
|
23
24
|
description: string;
|
|
24
|
-
schedule: Schedule[];
|
|
25
|
-
is_delivery: boolean;
|
|
26
|
-
pay_by_card: boolean;
|
|
27
|
-
pay_by_cash: boolean;
|
|
28
25
|
is_favorite: boolean;
|
|
26
|
+
pay_by_cash: boolean;
|
|
27
|
+
pay_by_card: boolean;
|
|
28
|
+
is_delivery: boolean;
|
|
29
29
|
near_station?: string;
|
|
30
30
|
location_name?: string;
|
|
31
31
|
is_check_order: boolean;
|
|
@@ -44,13 +44,6 @@ export interface CourierDeliveryPoint extends CourierPoint {
|
|
|
44
44
|
delivery_time: string;
|
|
45
45
|
apartment_number: string;
|
|
46
46
|
}
|
|
47
|
-
export interface Schedule {
|
|
48
|
-
end: string;
|
|
49
|
-
day: number;
|
|
50
|
-
start: string;
|
|
51
|
-
time?: string;
|
|
52
|
-
work_day?: boolean;
|
|
53
|
-
}
|
|
54
47
|
export interface Location {
|
|
55
48
|
city: City;
|
|
56
49
|
house: string;
|