@lodashventure/medusa-parcel-shipping 0.4.24 → 0.4.25
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.
|
@@ -1016,7 +1016,7 @@ const BasePricingPage = () => {
|
|
|
1016
1016
|
] }) });
|
|
1017
1017
|
};
|
|
1018
1018
|
const config$3 = adminSdk.defineRouteConfig({
|
|
1019
|
-
icon: icons.
|
|
1019
|
+
icon: icons.Directions,
|
|
1020
1020
|
label: "ฐานราคาตามระยะทาง"
|
|
1021
1021
|
});
|
|
1022
1022
|
const ParcelBoxModal = ({ box, onClose }) => {
|
|
@@ -2408,6 +2408,12 @@ const menuItemModule = {
|
|
|
2408
2408
|
path: "/areas",
|
|
2409
2409
|
nested: void 0
|
|
2410
2410
|
},
|
|
2411
|
+
{
|
|
2412
|
+
label: config$3.label,
|
|
2413
|
+
icon: config$3.icon,
|
|
2414
|
+
path: "/base-pricing",
|
|
2415
|
+
nested: void 0
|
|
2416
|
+
},
|
|
2411
2417
|
{
|
|
2412
2418
|
label: config$2.label,
|
|
2413
2419
|
icon: config$2.icon,
|
|
@@ -2425,12 +2431,6 @@ const menuItemModule = {
|
|
|
2425
2431
|
icon: config.icon,
|
|
2426
2432
|
path: "/rates",
|
|
2427
2433
|
nested: void 0
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
label: config$3.label,
|
|
2431
|
-
icon: config$3.icon,
|
|
2432
|
-
path: "/base-pricing",
|
|
2433
|
-
nested: void 0
|
|
2434
2434
|
}
|
|
2435
2435
|
]
|
|
2436
2436
|
};
|
|
@@ -3,7 +3,7 @@ import { defineWidgetConfig, defineRouteConfig } from "@medusajs/admin-sdk";
|
|
|
3
3
|
import { Container, Heading, Button, Text, Badge, Drawer, Label, Select, Input, Switch, toast, Table, Prompt, Textarea } from "@medusajs/ui";
|
|
4
4
|
import { useState, useEffect, useMemo } from "react";
|
|
5
5
|
import { Package, AlertCircle, Truck, Clock, Plus, Edit, Trash, ExternalLink } from "lucide-react";
|
|
6
|
-
import { MapPin,
|
|
6
|
+
import { MapPin, Directions, ArchiveBox, CurrencyDollarSolid, HandTruck } from "@medusajs/icons";
|
|
7
7
|
import "@medusajs/admin-shared";
|
|
8
8
|
const OrderShippingQuoteWidget = ({ data }) => {
|
|
9
9
|
const [quote, setQuote] = useState(null);
|
|
@@ -1015,7 +1015,7 @@ const BasePricingPage = () => {
|
|
|
1015
1015
|
] }) });
|
|
1016
1016
|
};
|
|
1017
1017
|
const config$3 = defineRouteConfig({
|
|
1018
|
-
icon:
|
|
1018
|
+
icon: Directions,
|
|
1019
1019
|
label: "ฐานราคาตามระยะทาง"
|
|
1020
1020
|
});
|
|
1021
1021
|
const ParcelBoxModal = ({ box, onClose }) => {
|
|
@@ -2407,6 +2407,12 @@ const menuItemModule = {
|
|
|
2407
2407
|
path: "/areas",
|
|
2408
2408
|
nested: void 0
|
|
2409
2409
|
},
|
|
2410
|
+
{
|
|
2411
|
+
label: config$3.label,
|
|
2412
|
+
icon: config$3.icon,
|
|
2413
|
+
path: "/base-pricing",
|
|
2414
|
+
nested: void 0
|
|
2415
|
+
},
|
|
2410
2416
|
{
|
|
2411
2417
|
label: config$2.label,
|
|
2412
2418
|
icon: config$2.icon,
|
|
@@ -2424,12 +2430,6 @@ const menuItemModule = {
|
|
|
2424
2430
|
icon: config.icon,
|
|
2425
2431
|
path: "/rates",
|
|
2426
2432
|
nested: void 0
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
label: config$3.label,
|
|
2430
|
-
icon: config$3.icon,
|
|
2431
|
-
path: "/base-pricing",
|
|
2432
|
-
nested: void 0
|
|
2433
2433
|
}
|
|
2434
2434
|
]
|
|
2435
2435
|
};
|