Add shipping delivery days (#914)
* Add shipping delivery days * Update changelog with shipping delivery days * Update data-test and messages * Add shipping delivery days to shipping rate create page * Update shipping test snapshots * Make max delivery time of shipping optional
This commit is contained in:
parent
a9b3c6c53c
commit
9d55dc920b
18 changed files with 814 additions and 34 deletions
|
@ -11,6 +11,7 @@ All notable, unreleased changes to this project will be documented in this file.
|
||||||
- Add zip code exclusion - #877 by @dominik-zeglen
|
- Add zip code exclusion - #877 by @dominik-zeglen
|
||||||
- Update quantity column in Inventory part of Product Variant view - #904 by @dominik-zeglen
|
- Update quantity column in Inventory part of Product Variant view - #904 by @dominik-zeglen
|
||||||
- Add file attributes - #884 by @orzechdev
|
- Add file attributes - #884 by @orzechdev
|
||||||
|
- Add shipping delivery days - #914 by @orzechdev
|
||||||
|
|
||||||
# 2.11.1
|
# 2.11.1
|
||||||
|
|
||||||
|
|
|
@ -5388,7 +5388,16 @@
|
||||||
"src_dot_shipping_dot_components_dot_ShippingMethodProducts_dot_4190792473": {
|
"src_dot_shipping_dot_components_dot_ShippingMethodProducts_dot_4190792473": {
|
||||||
"string": "Actions"
|
"string": "Actions"
|
||||||
},
|
},
|
||||||
"src_dot_shipping_dot_components_dot_ShippingRateInfo_dot_579967655": {
|
"src_dot_shipping_dot_components_dot_ShippingRateInfo_dot_maxDays": {
|
||||||
|
"context": "label",
|
||||||
|
"string": "Max Delivery Time"
|
||||||
|
},
|
||||||
|
"src_dot_shipping_dot_components_dot_ShippingRateInfo_dot_minDays": {
|
||||||
|
"context": "label",
|
||||||
|
"string": "Min Delivery Time"
|
||||||
|
},
|
||||||
|
"src_dot_shipping_dot_components_dot_ShippingRateInfo_dot_name": {
|
||||||
|
"context": "label",
|
||||||
"string": "Shipping rate name"
|
"string": "Shipping rate name"
|
||||||
},
|
},
|
||||||
"src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_3640694505": {
|
"src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_3640694505": {
|
||||||
|
@ -5469,20 +5478,18 @@
|
||||||
"context": "shipping section header",
|
"context": "shipping section header",
|
||||||
"string": "Shipping"
|
"string": "Shipping"
|
||||||
},
|
},
|
||||||
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_1470703814": {
|
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_descriptionCharacterLimit": {
|
||||||
|
"context": "character limit",
|
||||||
|
"string": "{numberOfCharacters} of {maxCharacters} characters"
|
||||||
|
},
|
||||||
|
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_descriptionPlaceholder": {
|
||||||
"context": "field placeholder",
|
"context": "field placeholder",
|
||||||
"string": "Description of a shipping zone."
|
"string": "Description of a shipping zone."
|
||||||
},
|
},
|
||||||
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_1560416099": {
|
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_name": {
|
||||||
|
"context": "label",
|
||||||
"string": "Shipping zone name"
|
"string": "Shipping zone name"
|
||||||
},
|
},
|
||||||
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_3374163063": {
|
|
||||||
"string": "Description"
|
|
||||||
},
|
|
||||||
"src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_3877274856": {
|
|
||||||
"context": "character limit",
|
|
||||||
"string": "{numberOfCharacters} of {maxCharacters} characters"
|
|
||||||
},
|
|
||||||
"src_dot_shipping_dot_components_dot_ShippingZoneRatesCreatePage_dot_1161979494": {
|
"src_dot_shipping_dot_components_dot_ShippingZoneRatesCreatePage_dot_1161979494": {
|
||||||
"context": "page title",
|
"context": "page title",
|
||||||
"string": "Price Rate Create"
|
"string": "Price Rate Create"
|
||||||
|
|
|
@ -42,6 +42,8 @@ export const shippingMethodFragment = gql`
|
||||||
unit
|
unit
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
|
minimumDeliveryDays
|
||||||
|
maximumDeliveryDays
|
||||||
name
|
name
|
||||||
type
|
type
|
||||||
channelListings {
|
channelListings {
|
||||||
|
|
|
@ -81,6 +81,8 @@ export interface ShippingMethodFragment {
|
||||||
privateMetadata: (ShippingMethodFragment_privateMetadata | null)[];
|
privateMetadata: (ShippingMethodFragment_privateMetadata | null)[];
|
||||||
minimumOrderWeight: ShippingMethodFragment_minimumOrderWeight | null;
|
minimumOrderWeight: ShippingMethodFragment_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: ShippingMethodFragment_maximumOrderWeight | null;
|
maximumOrderWeight: ShippingMethodFragment_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: ShippingMethodFragment_channelListings[] | null;
|
channelListings: ShippingMethodFragment_channelListings[] | null;
|
||||||
|
|
|
@ -112,6 +112,8 @@ export interface ShippingMethodWithExcludedProductsFragment {
|
||||||
privateMetadata: (ShippingMethodWithExcludedProductsFragment_privateMetadata | null)[];
|
privateMetadata: (ShippingMethodWithExcludedProductsFragment_privateMetadata | null)[];
|
||||||
minimumOrderWeight: ShippingMethodWithExcludedProductsFragment_minimumOrderWeight | null;
|
minimumOrderWeight: ShippingMethodWithExcludedProductsFragment_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: ShippingMethodWithExcludedProductsFragment_maximumOrderWeight | null;
|
maximumOrderWeight: ShippingMethodWithExcludedProductsFragment_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: ShippingMethodWithExcludedProductsFragment_channelListings[] | null;
|
channelListings: ShippingMethodWithExcludedProductsFragment_channelListings[] | null;
|
||||||
|
|
|
@ -99,6 +99,8 @@ export interface ShippingZoneDetailsFragment_shippingMethods {
|
||||||
privateMetadata: (ShippingZoneDetailsFragment_shippingMethods_privateMetadata | null)[];
|
privateMetadata: (ShippingZoneDetailsFragment_shippingMethods_privateMetadata | null)[];
|
||||||
minimumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight | null;
|
minimumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight | null;
|
maximumOrderWeight: ShippingZoneDetailsFragment_shippingMethods_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: ShippingZoneDetailsFragment_shippingMethods_channelListings[] | null;
|
channelListings: ShippingZoneDetailsFragment_shippingMethods_channelListings[] | null;
|
||||||
|
|
|
@ -1,30 +1,63 @@
|
||||||
import Card from "@material-ui/core/Card";
|
import Card from "@material-ui/core/Card";
|
||||||
import CardContent from "@material-ui/core/CardContent";
|
import CardContent from "@material-ui/core/CardContent";
|
||||||
|
import { makeStyles } from "@material-ui/core/styles";
|
||||||
import TextField from "@material-ui/core/TextField";
|
import TextField from "@material-ui/core/TextField";
|
||||||
|
import CardSpacer from "@saleor/components/CardSpacer";
|
||||||
import CardTitle from "@saleor/components/CardTitle";
|
import CardTitle from "@saleor/components/CardTitle";
|
||||||
import { ShippingErrorFragment } from "@saleor/fragments/types/ShippingErrorFragment";
|
import { ShippingErrorFragment } from "@saleor/fragments/types/ShippingErrorFragment";
|
||||||
import { commonMessages } from "@saleor/intl";
|
import { commonMessages } from "@saleor/intl";
|
||||||
import { getFormErrors } from "@saleor/utils/errors";
|
import { getFormErrors } from "@saleor/utils/errors";
|
||||||
import getShippingErrorMessage from "@saleor/utils/errors/shipping";
|
import getShippingErrorMessage from "@saleor/utils/errors/shipping";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { useIntl } from "react-intl";
|
import { defineMessages, useIntl } from "react-intl";
|
||||||
|
|
||||||
|
const messages = defineMessages({
|
||||||
|
maxDays: {
|
||||||
|
defaultMessage: "Max Delivery Time",
|
||||||
|
description: "label"
|
||||||
|
},
|
||||||
|
minDays: {
|
||||||
|
defaultMessage: "Min Delivery Time",
|
||||||
|
description: "label"
|
||||||
|
},
|
||||||
|
name: {
|
||||||
|
defaultMessage: "Shipping rate name",
|
||||||
|
description: "label"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
const useStyles = makeStyles(
|
||||||
|
theme => ({
|
||||||
|
deliveryTimeFields: {
|
||||||
|
display: "grid",
|
||||||
|
gridColumnGap: theme.spacing(2),
|
||||||
|
gridRowGap: theme.spacing(1),
|
||||||
|
gridTemplateColumns: "1fr 1fr 1fr",
|
||||||
|
[theme.breakpoints.down("md")]: {
|
||||||
|
gridTemplateColumns: "1fr 1fr"
|
||||||
|
},
|
||||||
|
[theme.breakpoints.down("xs")]: {
|
||||||
|
gridTemplateColumns: "1fr"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
{ name: "ShippingRateInfo" }
|
||||||
|
);
|
||||||
|
|
||||||
export interface ShippingRateInfoProps {
|
export interface ShippingRateInfoProps {
|
||||||
data: Record<"name", string>;
|
data: Record<"name" | "maxDays" | "minDays", string>;
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
errors: ShippingErrorFragment[];
|
errors: ShippingErrorFragment[];
|
||||||
onChange: (event: React.ChangeEvent<any>) => void;
|
onChange: (event: React.ChangeEvent<any>) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ShippingRateInfo: React.FC<ShippingRateInfoProps> = ({
|
const ShippingRateInfo: React.FC<ShippingRateInfoProps> = props => {
|
||||||
data,
|
const { data, disabled, errors, onChange } = props;
|
||||||
disabled,
|
|
||||||
errors,
|
|
||||||
onChange
|
|
||||||
}) => {
|
|
||||||
const intl = useIntl();
|
|
||||||
|
|
||||||
const formErrors = getFormErrors(["name"], errors);
|
const intl = useIntl();
|
||||||
|
const classes = useStyles(props);
|
||||||
|
|
||||||
|
const formErrors = getFormErrors(["name", "minDays", "maxDays"], errors);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card>
|
||||||
|
@ -37,13 +70,46 @@ const ShippingRateInfo: React.FC<ShippingRateInfoProps> = ({
|
||||||
error={!!formErrors.name}
|
error={!!formErrors.name}
|
||||||
fullWidth
|
fullWidth
|
||||||
helperText={getShippingErrorMessage(formErrors.name, intl)}
|
helperText={getShippingErrorMessage(formErrors.name, intl)}
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage(messages.name)}
|
||||||
defaultMessage: "Shipping rate name"
|
|
||||||
})}
|
|
||||||
name="name"
|
name="name"
|
||||||
value={data.name}
|
value={data.name}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
/>
|
/>
|
||||||
|
<CardSpacer />
|
||||||
|
<div className={classes.deliveryTimeFields}>
|
||||||
|
<TextField
|
||||||
|
disabled={disabled}
|
||||||
|
error={!!formErrors.minDays}
|
||||||
|
fullWidth
|
||||||
|
helperText={getShippingErrorMessage(formErrors.minDays, intl)}
|
||||||
|
label={intl.formatMessage(messages.minDays)}
|
||||||
|
type="number"
|
||||||
|
inputProps={{
|
||||||
|
min: 0,
|
||||||
|
type: "number"
|
||||||
|
}}
|
||||||
|
InputProps={{ inputProps: { min: 0 } }}
|
||||||
|
name="minDays"
|
||||||
|
value={data.minDays}
|
||||||
|
onChange={onChange}
|
||||||
|
/>
|
||||||
|
<TextField
|
||||||
|
disabled={disabled}
|
||||||
|
error={!!formErrors.maxDays}
|
||||||
|
fullWidth
|
||||||
|
helperText={getShippingErrorMessage(formErrors.maxDays, intl)}
|
||||||
|
label={intl.formatMessage(messages.maxDays)}
|
||||||
|
type="number"
|
||||||
|
inputProps={{
|
||||||
|
min: 0,
|
||||||
|
type: "number"
|
||||||
|
}}
|
||||||
|
InputProps={{ inputProps: { min: 0 } }}
|
||||||
|
name="maxDays"
|
||||||
|
value={data.maxDays}
|
||||||
|
onChange={onChange}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
|
|
@ -9,7 +9,22 @@ import { commonMessages } from "@saleor/intl";
|
||||||
import { getFormErrors } from "@saleor/utils/errors";
|
import { getFormErrors } from "@saleor/utils/errors";
|
||||||
import getShippingErrorMessage from "@saleor/utils/errors/shipping";
|
import getShippingErrorMessage from "@saleor/utils/errors/shipping";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { FormattedMessage, useIntl } from "react-intl";
|
import { defineMessages, FormattedMessage, useIntl } from "react-intl";
|
||||||
|
|
||||||
|
const messages = defineMessages({
|
||||||
|
descriptionCharacterLimit: {
|
||||||
|
defaultMessage: "{numberOfCharacters} of {maxCharacters} characters",
|
||||||
|
description: "character limit"
|
||||||
|
},
|
||||||
|
descriptionPlaceholder: {
|
||||||
|
defaultMessage: "Description of a shipping zone.",
|
||||||
|
description: "field placeholder"
|
||||||
|
},
|
||||||
|
name: {
|
||||||
|
defaultMessage: "Shipping zone name",
|
||||||
|
description: "label"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
export interface ShippingZoneInfoProps {
|
export interface ShippingZoneInfoProps {
|
||||||
data: Record<"name" | "description", string>;
|
data: Record<"name" | "description", string>;
|
||||||
|
@ -57,9 +72,10 @@ const ShippingZoneInfo: React.FC<ShippingZoneInfoProps> = ({
|
||||||
error={!!formErrors.name}
|
error={!!formErrors.name}
|
||||||
fullWidth
|
fullWidth
|
||||||
helperText={getShippingErrorMessage(formErrors.name, intl)}
|
helperText={getShippingErrorMessage(formErrors.name, intl)}
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage(messages.name)}
|
||||||
defaultMessage: "Shipping zone name"
|
inputProps={{
|
||||||
})}
|
"data-test": "name"
|
||||||
|
}}
|
||||||
name="name"
|
name="name"
|
||||||
value={data.name}
|
value={data.name}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
@ -71,13 +87,12 @@ const ShippingZoneInfo: React.FC<ShippingZoneInfoProps> = ({
|
||||||
label={
|
label={
|
||||||
<div className={classes.labelContainer}>
|
<div className={classes.labelContainer}>
|
||||||
<div className={classes.label}>
|
<div className={classes.label}>
|
||||||
<FormattedMessage defaultMessage="Description" />
|
<FormattedMessage {...commonMessages.description} />
|
||||||
</div>
|
</div>
|
||||||
{data.description?.length > 0 && (
|
{data.description?.length > 0 && (
|
||||||
<span>
|
<span>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="{numberOfCharacters} of {maxCharacters} characters"
|
{...messages.descriptionCharacterLimit}
|
||||||
description="character limit"
|
|
||||||
values={{
|
values={{
|
||||||
maxCharacters: MAX_DESCRIPTION_LENGTH,
|
maxCharacters: MAX_DESCRIPTION_LENGTH,
|
||||||
numberOfCharacters: data.description.length
|
numberOfCharacters: data.description.length
|
||||||
|
@ -97,10 +112,7 @@ const ShippingZoneInfo: React.FC<ShippingZoneInfoProps> = ({
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
fullWidth
|
fullWidth
|
||||||
multiline
|
multiline
|
||||||
placeholder={intl.formatMessage({
|
placeholder={intl.formatMessage(messages.descriptionPlaceholder)}
|
||||||
defaultMessage: "Description of a shipping zone.",
|
|
||||||
description: "field placeholder"
|
|
||||||
})}
|
|
||||||
rows={10}
|
rows={10}
|
||||||
/>
|
/>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|
|
@ -32,6 +32,8 @@ export interface FormData {
|
||||||
noLimits: boolean;
|
noLimits: boolean;
|
||||||
minValue: string;
|
minValue: string;
|
||||||
maxValue: string;
|
maxValue: string;
|
||||||
|
minDays: string;
|
||||||
|
maxDays: string;
|
||||||
type: ShippingMethodTypeEnum;
|
type: ShippingMethodTypeEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +79,9 @@ export const ShippingZoneRatesCreatePage: React.FC<ShippingZoneRatesCreatePagePr
|
||||||
const initialForm: FormData = {
|
const initialForm: FormData = {
|
||||||
channelListings: shippingChannels,
|
channelListings: shippingChannels,
|
||||||
includeZipCodes: ZipCodeInclusion.Include,
|
includeZipCodes: ZipCodeInclusion.Include,
|
||||||
|
maxDays: "",
|
||||||
maxValue: "",
|
maxValue: "",
|
||||||
|
minDays: "",
|
||||||
minValue: "",
|
minValue: "",
|
||||||
name: "",
|
name: "",
|
||||||
noLimits: false,
|
noLimits: false,
|
||||||
|
|
|
@ -38,6 +38,8 @@ export interface FormData extends MetadataFormData {
|
||||||
noLimits: boolean;
|
noLimits: boolean;
|
||||||
minValue: string;
|
minValue: string;
|
||||||
maxValue: string;
|
maxValue: string;
|
||||||
|
minDays: string;
|
||||||
|
maxDays: string;
|
||||||
type: ShippingMethodTypeEnum;
|
type: ShippingMethodTypeEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,8 +91,10 @@ export const ShippingZoneRatesPage: React.FC<ShippingZoneRatesPageProps> = ({
|
||||||
const initialForm: FormData = {
|
const initialForm: FormData = {
|
||||||
channelListings: shippingChannels,
|
channelListings: shippingChannels,
|
||||||
includeZipCodes: ZipCodeInclusion.Exclude,
|
includeZipCodes: ZipCodeInclusion.Exclude,
|
||||||
|
maxDays: rate?.maximumDeliveryDays?.toString() || "",
|
||||||
maxValue: rate?.maximumOrderWeight?.value.toString() || "",
|
maxValue: rate?.maximumOrderWeight?.value.toString() || "",
|
||||||
metadata: rate?.metadata.map(mapMetadataItemToInput),
|
metadata: rate?.metadata.map(mapMetadataItemToInput),
|
||||||
|
minDays: rate?.minimumDeliveryDays?.toString() || "",
|
||||||
minValue: rate?.minimumOrderWeight?.value.toString() || "",
|
minValue: rate?.minimumOrderWeight?.value.toString() || "",
|
||||||
name: rate?.name || "",
|
name: rate?.name || "",
|
||||||
noLimits: false,
|
noLimits: false,
|
||||||
|
|
|
@ -1618,12 +1618,14 @@ export const shippingZone: ShippingZone_shippingZone = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
id: "U2hpcHBpbmdNZXRob2Q6NA==",
|
id: "U2hpcHBpbmdNZXRob2Q6NA==",
|
||||||
|
maximumDeliveryDays: 10,
|
||||||
maximumOrderWeight: {
|
maximumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: WeightUnitsEnum.KG,
|
unit: WeightUnitsEnum.KG,
|
||||||
value: 80
|
value: 80
|
||||||
},
|
},
|
||||||
metadata: [],
|
metadata: [],
|
||||||
|
minimumDeliveryDays: 0,
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: WeightUnitsEnum.KG,
|
unit: WeightUnitsEnum.KG,
|
||||||
|
@ -1681,8 +1683,10 @@ export const shippingZone: ShippingZone_shippingZone = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
id: "U2hpcHBpbmdNZXRob2Q6Mw==",
|
id: "U2hpcHBpbmdNZXRob2Q6Mw==",
|
||||||
|
maximumDeliveryDays: 10,
|
||||||
maximumOrderWeight: null,
|
maximumOrderWeight: null,
|
||||||
metadata: [],
|
metadata: [],
|
||||||
|
minimumDeliveryDays: 0,
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: WeightUnitsEnum.KG,
|
unit: WeightUnitsEnum.KG,
|
||||||
|
@ -1740,8 +1744,10 @@ export const shippingZone: ShippingZone_shippingZone = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
id: "U2hpcHBpbmdNZXRob2Q6Mg==",
|
id: "U2hpcHBpbmdNZXRob2Q6Mg==",
|
||||||
|
maximumDeliveryDays: 10,
|
||||||
maximumOrderWeight: null,
|
maximumOrderWeight: null,
|
||||||
metadata: [],
|
metadata: [],
|
||||||
|
minimumDeliveryDays: 0,
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: WeightUnitsEnum.KG,
|
unit: WeightUnitsEnum.KG,
|
||||||
|
@ -1786,8 +1792,10 @@ export const shippingZone: ShippingZone_shippingZone = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
id: "U2hpcHBpbmdNZXRob2Q6MQ==",
|
id: "U2hpcHBpbmdNZXRob2Q6MQ==",
|
||||||
|
maximumDeliveryDays: 10,
|
||||||
maximumOrderWeight: null,
|
maximumOrderWeight: null,
|
||||||
metadata: [],
|
metadata: [],
|
||||||
|
minimumDeliveryDays: 0,
|
||||||
minimumOrderWeight: {
|
minimumOrderWeight: {
|
||||||
__typename: "Weight",
|
__typename: "Weight",
|
||||||
unit: WeightUnitsEnum.KG,
|
unit: WeightUnitsEnum.KG,
|
||||||
|
|
|
@ -47,8 +47,12 @@ export function getCreateShippingPriceRateVariables(
|
||||||
data: ShippingZoneRatesPageFormData,
|
data: ShippingZoneRatesPageFormData,
|
||||||
id: string
|
id: string
|
||||||
): CreateShippingRateVariables {
|
): CreateShippingRateVariables {
|
||||||
|
const parsedMinDays = parseInt(data.minDays, 10);
|
||||||
|
const parsedMaxDays = parseInt(data.maxDays, 10);
|
||||||
return {
|
return {
|
||||||
input: {
|
input: {
|
||||||
|
maximumDeliveryDays: parsedMaxDays,
|
||||||
|
minimumDeliveryDays: parsedMinDays,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
shippingZone: id,
|
shippingZone: id,
|
||||||
type: ShippingMethodTypeEnum.PRICE
|
type: ShippingMethodTypeEnum.PRICE
|
||||||
|
@ -62,10 +66,14 @@ export function getCreateShippingWeightRateVariables(
|
||||||
): CreateShippingRateVariables {
|
): CreateShippingRateVariables {
|
||||||
const parsedMinValue = parseFloat(data.minValue);
|
const parsedMinValue = parseFloat(data.minValue);
|
||||||
const parsedMaxValue = parseFloat(data.maxValue);
|
const parsedMaxValue = parseFloat(data.maxValue);
|
||||||
|
const parsedMinDays = parseInt(data.minDays, 10);
|
||||||
|
const parsedMaxDays = parseInt(data.maxDays, 10);
|
||||||
const isWeightSet = !data.noLimits;
|
const isWeightSet = !data.noLimits;
|
||||||
return {
|
return {
|
||||||
input: {
|
input: {
|
||||||
|
maximumDeliveryDays: parsedMaxDays,
|
||||||
maximumOrderWeight: isWeightSet ? parsedMaxValue : null,
|
maximumOrderWeight: isWeightSet ? parsedMaxValue : null,
|
||||||
|
minimumDeliveryDays: parsedMinDays,
|
||||||
minimumOrderWeight: isWeightSet ? parsedMinValue : null,
|
minimumOrderWeight: isWeightSet ? parsedMinValue : null,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
shippingZone: id,
|
shippingZone: id,
|
||||||
|
@ -79,9 +87,13 @@ export function getUpdateShippingPriceRateVariables(
|
||||||
id: string,
|
id: string,
|
||||||
rateId: string
|
rateId: string
|
||||||
): UpdateShippingRateVariables {
|
): UpdateShippingRateVariables {
|
||||||
|
const parsedMinDays = parseInt(data.minDays, 10);
|
||||||
|
const parsedMaxDays = parseInt(data.maxDays, 10);
|
||||||
return {
|
return {
|
||||||
id: rateId,
|
id: rateId,
|
||||||
input: {
|
input: {
|
||||||
|
maximumDeliveryDays: parsedMaxDays,
|
||||||
|
minimumDeliveryDays: parsedMinDays,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
shippingZone: id,
|
shippingZone: id,
|
||||||
type: ShippingMethodTypeEnum.PRICE
|
type: ShippingMethodTypeEnum.PRICE
|
||||||
|
@ -96,11 +108,15 @@ export function getUpdateShippingWeightRateVariables(
|
||||||
): UpdateShippingRateVariables {
|
): UpdateShippingRateVariables {
|
||||||
const parsedMinValue = parseFloat(data.minValue);
|
const parsedMinValue = parseFloat(data.minValue);
|
||||||
const parsedMaxValue = parseFloat(data.maxValue);
|
const parsedMaxValue = parseFloat(data.maxValue);
|
||||||
|
const parsedMinDays = parseInt(data.minDays, 10);
|
||||||
|
const parsedMaxDays = parseInt(data.maxDays, 10);
|
||||||
const isWeightSet = !data.noLimits;
|
const isWeightSet = !data.noLimits;
|
||||||
return {
|
return {
|
||||||
id: rateId,
|
id: rateId,
|
||||||
input: {
|
input: {
|
||||||
|
maximumDeliveryDays: parsedMaxDays,
|
||||||
maximumOrderWeight: isWeightSet ? parsedMaxValue : null,
|
maximumOrderWeight: isWeightSet ? parsedMaxValue : null,
|
||||||
|
minimumDeliveryDays: parsedMinDays,
|
||||||
minimumOrderWeight: isWeightSet ? parsedMinValue : null,
|
minimumOrderWeight: isWeightSet ? parsedMinValue : null,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
shippingZone: id,
|
shippingZone: id,
|
||||||
|
|
|
@ -105,6 +105,8 @@ export interface CreateShippingRate_shippingPriceCreate_shippingZone_shippingMet
|
||||||
privateMetadata: (CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_privateMetadata | null)[];
|
privateMetadata: (CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_privateMetadata | null)[];
|
||||||
minimumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight | null;
|
minimumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight | null;
|
maximumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_channelListings[] | null;
|
channelListings: CreateShippingRate_shippingPriceCreate_shippingZone_shippingMethods_channelListings[] | null;
|
||||||
|
@ -202,6 +204,8 @@ export interface CreateShippingRate_shippingPriceCreate_shippingMethod {
|
||||||
privateMetadata: (CreateShippingRate_shippingPriceCreate_shippingMethod_privateMetadata | null)[];
|
privateMetadata: (CreateShippingRate_shippingPriceCreate_shippingMethod_privateMetadata | null)[];
|
||||||
minimumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingMethod_minimumOrderWeight | null;
|
minimumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingMethod_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingMethod_maximumOrderWeight | null;
|
maximumOrderWeight: CreateShippingRate_shippingPriceCreate_shippingMethod_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: CreateShippingRate_shippingPriceCreate_shippingMethod_channelListings[] | null;
|
channelListings: CreateShippingRate_shippingPriceCreate_shippingMethod_channelListings[] | null;
|
||||||
|
|
|
@ -105,6 +105,8 @@ export interface DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMet
|
||||||
privateMetadata: (DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_privateMetadata | null)[];
|
privateMetadata: (DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_privateMetadata | null)[];
|
||||||
minimumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight | null;
|
minimumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight | null;
|
maximumOrderWeight: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_channelListings[] | null;
|
channelListings: DeleteShippingRate_shippingPriceDelete_shippingZone_shippingMethods_channelListings[] | null;
|
||||||
|
|
|
@ -81,6 +81,8 @@ export interface ShippingMethodChannelListingUpdate_shippingMethodChannelListing
|
||||||
privateMetadata: (ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_privateMetadata | null)[];
|
privateMetadata: (ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_privateMetadata | null)[];
|
||||||
minimumOrderWeight: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_minimumOrderWeight | null;
|
minimumOrderWeight: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_maximumOrderWeight | null;
|
maximumOrderWeight: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_channelListings[] | null;
|
channelListings: ShippingMethodChannelListingUpdate_shippingMethodChannelListingUpdate_shippingMethod_channelListings[] | null;
|
||||||
|
|
|
@ -130,6 +130,8 @@ export interface ShippingZone_shippingZone_shippingMethods {
|
||||||
privateMetadata: (ShippingZone_shippingZone_shippingMethods_privateMetadata | null)[];
|
privateMetadata: (ShippingZone_shippingZone_shippingMethods_privateMetadata | null)[];
|
||||||
minimumOrderWeight: ShippingZone_shippingZone_shippingMethods_minimumOrderWeight | null;
|
minimumOrderWeight: ShippingZone_shippingZone_shippingMethods_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: ShippingZone_shippingZone_shippingMethods_maximumOrderWeight | null;
|
maximumOrderWeight: ShippingZone_shippingZone_shippingMethods_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: ShippingZone_shippingZone_shippingMethods_channelListings[] | null;
|
channelListings: ShippingZone_shippingZone_shippingMethods_channelListings[] | null;
|
||||||
|
|
|
@ -87,6 +87,8 @@ export interface UpdateShippingRate_shippingPriceUpdate_shippingMethod {
|
||||||
privateMetadata: (UpdateShippingRate_shippingPriceUpdate_shippingMethod_privateMetadata | null)[];
|
privateMetadata: (UpdateShippingRate_shippingPriceUpdate_shippingMethod_privateMetadata | null)[];
|
||||||
minimumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight | null;
|
minimumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_minimumOrderWeight | null;
|
||||||
maximumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight | null;
|
maximumOrderWeight: UpdateShippingRate_shippingPriceUpdate_shippingMethod_maximumOrderWeight | null;
|
||||||
|
minimumDeliveryDays: number | null;
|
||||||
|
maximumDeliveryDays: number | null;
|
||||||
name: string;
|
name: string;
|
||||||
type: ShippingMethodTypeEnum | null;
|
type: ShippingMethodTypeEnum | null;
|
||||||
channelListings: UpdateShippingRate_shippingPriceUpdate_shippingMethod_channelListings[] | null;
|
channelListings: UpdateShippingRate_shippingPriceUpdate_shippingMethod_channelListings[] | null;
|
||||||
|
|
|
@ -15427,6 +15427,85 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`]
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -16270,6 +16349,85 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create weight 1`
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -17110,6 +17268,87 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page loading 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -202866,6 +203105,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone default 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="false"
|
aria-invalid="false"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
data-test="name"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
value=""
|
value=""
|
||||||
|
@ -203096,6 +203336,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone form errors 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="true"
|
aria-invalid="true"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
data-test="name"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
value=""
|
value=""
|
||||||
|
@ -203331,6 +203572,7 @@ exports[`Storyshots Views / Shipping / Create shipping zone loading 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="false"
|
aria-invalid="false"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
data-test="name"
|
||||||
disabled=""
|
disabled=""
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
|
@ -203584,6 +203826,85 @@ exports[`Storyshots Views / Shipping / Shipping rate create price rate 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value="0"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value="10"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -204850,6 +205171,85 @@ exports[`Storyshots Views / Shipping / Shipping rate create weight rate 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value="0"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value="10"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -206034,6 +206434,87 @@ exports[`Storyshots Views / Shipping / Shipping rate loading 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id"
|
||||||
|
data-shrink="false"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
disabled=""
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0.01px"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -207022,6 +207503,85 @@ exports[`Storyshots Views / Shipping / Shipping rate update price rate 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value="0"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value="10"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -208483,6 +209043,85 @@ exports[`Storyshots Views / Shipping / Shipping rate update weight rate 1`] = `
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="CardSpacer-spacer-id"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="ShippingRateInfo-deliveryTimeFields-id"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Min Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="minDays"
|
||||||
|
type="number"
|
||||||
|
value="0"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
>
|
||||||
|
<label
|
||||||
|
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id"
|
||||||
|
data-shrink="true"
|
||||||
|
>
|
||||||
|
Max Delivery Time
|
||||||
|
</label>
|
||||||
|
<div
|
||||||
|
class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
aria-invalid="false"
|
||||||
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
min="0"
|
||||||
|
name="maxDays"
|
||||||
|
type="number"
|
||||||
|
value="10"
|
||||||
|
/>
|
||||||
|
<fieldset
|
||||||
|
aria-hidden="true"
|
||||||
|
class="PrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"
|
||||||
|
style="padding-left:8px"
|
||||||
|
>
|
||||||
|
<legend
|
||||||
|
class="PrivateNotchedOutline-legend-id"
|
||||||
|
style="width:0"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</legend>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -209725,6 +210364,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details default 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="false"
|
aria-invalid="false"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
data-test="name"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
value="Europe"
|
value="Europe"
|
||||||
|
@ -210689,6 +211329,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details form errors 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="true"
|
aria-invalid="true"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||||
|
data-test="name"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
value="Europe"
|
value="Europe"
|
||||||
|
@ -211663,6 +212304,7 @@ exports[`Storyshots Views / Shipping / Shipping zone details loading 1`] = `
|
||||||
<input
|
<input
|
||||||
aria-invalid="false"
|
aria-invalid="false"
|
||||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||||
|
data-test="name"
|
||||||
disabled=""
|
disabled=""
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
|
|
Loading…
Reference in a new issue