@wilow_app/design-system 0.0.2 → 0.0.3
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/index.d.ts +21 -18
- package/dist/index.es.js +1427 -1267
- package/dist/index.umd.js +38 -38
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,47 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
|
|
3
|
-
export declare interface
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare interface Address {
|
|
4
|
+
formatted_address: string;
|
|
5
|
+
street_area: string | null;
|
|
6
|
+
lat: string | number;
|
|
7
|
+
long: string | number;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
export declare interface Customer {
|
|
9
|
-
id: number;
|
|
10
|
-
name: string;
|
|
11
|
-
address?: {
|
|
12
|
-
street_area: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export declare interface Driver {
|
|
17
11
|
id: number;
|
|
18
12
|
name: string;
|
|
19
13
|
mobile: string;
|
|
14
|
+
address: Address;
|
|
20
15
|
}
|
|
21
16
|
|
|
22
17
|
export declare const LogisticsDashboard: default_2.FC<LogisticsDashboardProps>;
|
|
23
18
|
|
|
24
19
|
export declare interface LogisticsDashboardProps {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
onSave?: (pathId: number, stopIds: number[]) => void;
|
|
20
|
+
path: PathData;
|
|
21
|
+
onReorder?: (pathId: number, stopIds: number[]) => void;
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
export declare interface PathData {
|
|
31
25
|
id: number;
|
|
32
26
|
date: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
type: string | {
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
period: string | {
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
status: string | {
|
|
34
|
+
name: string;
|
|
35
|
+
};
|
|
36
|
+
driver: {
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
37
39
|
path_orders: PathOrder[];
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
export declare interface PathOrder {
|
|
41
43
|
id: number;
|
|
44
|
+
stop_id: number;
|
|
42
45
|
order_id: number;
|
|
43
46
|
sequence_rank: number;
|
|
44
47
|
eta_start: string;
|