@asdp/ferryui 0.1.22-dev.9484 → 0.1.22-dev.9501
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.mts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +32 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1725,6 +1725,11 @@ declare const MY_TICKET_STATUS: {
|
|
|
1725
1725
|
readonly REFUND: 11;
|
|
1726
1726
|
};
|
|
1727
1727
|
type MY_TICKET_STATUS_TYPE = typeof MY_TICKET_STATUS[keyof typeof MY_TICKET_STATUS];
|
|
1728
|
+
declare const MANIFEST_ENTITY: {
|
|
1729
|
+
readonly COMPANY: "company";
|
|
1730
|
+
readonly INDIVIDUAL: "individual";
|
|
1731
|
+
};
|
|
1732
|
+
type MANIFEST_ENTITY_TYPE = typeof MANIFEST_ENTITY[keyof typeof MANIFEST_ENTITY];
|
|
1728
1733
|
|
|
1729
1734
|
interface TypeOfServiceChild {
|
|
1730
1735
|
id: number;
|
|
@@ -2924,16 +2929,16 @@ interface CargoItem {
|
|
|
2924
2929
|
}
|
|
2925
2930
|
interface VehicleOwner {
|
|
2926
2931
|
id: number;
|
|
2927
|
-
senderType?:
|
|
2932
|
+
senderType?: MANIFEST_ENTITY_TYPE;
|
|
2928
2933
|
senderName?: string;
|
|
2929
2934
|
estimatedWeight?: number | string;
|
|
2930
2935
|
originCity?: string;
|
|
2931
2936
|
destinationCity?: string;
|
|
2932
|
-
cargoOwnerType?:
|
|
2937
|
+
cargoOwnerType?: MANIFEST_ENTITY_TYPE;
|
|
2933
2938
|
cargoOwnerName?: string;
|
|
2934
|
-
logisticsCompanyType?:
|
|
2939
|
+
logisticsCompanyType?: MANIFEST_ENTITY_TYPE;
|
|
2935
2940
|
logisticsCompanyName?: string;
|
|
2936
|
-
cargoReceiverType?:
|
|
2941
|
+
cargoReceiverType?: MANIFEST_ENTITY_TYPE;
|
|
2937
2942
|
cargoReceiverName?: string;
|
|
2938
2943
|
cargoWeight?: number | string;
|
|
2939
2944
|
cargoItems?: CargoItem[];
|
|
@@ -3853,4 +3858,4 @@ interface ModalListMenuServiceProps {
|
|
|
3853
3858
|
|
|
3854
3859
|
declare const ModalListMenuService: React$1.FC<ModalListMenuServiceProps>;
|
|
3855
3860
|
|
|
3856
|
-
export { API_CONFIG, API_ENDPOINTS, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
|
3861
|
+
export { API_CONFIG, API_ENDPOINTS, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, MANIFEST_ENTITY, type MANIFEST_ENTITY_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
package/dist/index.d.ts
CHANGED
|
@@ -1725,6 +1725,11 @@ declare const MY_TICKET_STATUS: {
|
|
|
1725
1725
|
readonly REFUND: 11;
|
|
1726
1726
|
};
|
|
1727
1727
|
type MY_TICKET_STATUS_TYPE = typeof MY_TICKET_STATUS[keyof typeof MY_TICKET_STATUS];
|
|
1728
|
+
declare const MANIFEST_ENTITY: {
|
|
1729
|
+
readonly COMPANY: "company";
|
|
1730
|
+
readonly INDIVIDUAL: "individual";
|
|
1731
|
+
};
|
|
1732
|
+
type MANIFEST_ENTITY_TYPE = typeof MANIFEST_ENTITY[keyof typeof MANIFEST_ENTITY];
|
|
1728
1733
|
|
|
1729
1734
|
interface TypeOfServiceChild {
|
|
1730
1735
|
id: number;
|
|
@@ -2924,16 +2929,16 @@ interface CargoItem {
|
|
|
2924
2929
|
}
|
|
2925
2930
|
interface VehicleOwner {
|
|
2926
2931
|
id: number;
|
|
2927
|
-
senderType?:
|
|
2932
|
+
senderType?: MANIFEST_ENTITY_TYPE;
|
|
2928
2933
|
senderName?: string;
|
|
2929
2934
|
estimatedWeight?: number | string;
|
|
2930
2935
|
originCity?: string;
|
|
2931
2936
|
destinationCity?: string;
|
|
2932
|
-
cargoOwnerType?:
|
|
2937
|
+
cargoOwnerType?: MANIFEST_ENTITY_TYPE;
|
|
2933
2938
|
cargoOwnerName?: string;
|
|
2934
|
-
logisticsCompanyType?:
|
|
2939
|
+
logisticsCompanyType?: MANIFEST_ENTITY_TYPE;
|
|
2935
2940
|
logisticsCompanyName?: string;
|
|
2936
|
-
cargoReceiverType?:
|
|
2941
|
+
cargoReceiverType?: MANIFEST_ENTITY_TYPE;
|
|
2937
2942
|
cargoReceiverName?: string;
|
|
2938
2943
|
cargoWeight?: number | string;
|
|
2939
2944
|
cargoItems?: CargoItem[];
|
|
@@ -3853,4 +3858,4 @@ interface ModalListMenuServiceProps {
|
|
|
3853
3858
|
|
|
3854
3859
|
declare const ModalListMenuService: React$1.FC<ModalListMenuServiceProps>;
|
|
3855
3860
|
|
|
3856
|
-
export { API_CONFIG, API_ENDPOINTS, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
|
3861
|
+
export { API_CONFIG, API_ENDPOINTS, API_ERROR_MESSAGES, BackgroundTicketCard, BackgroundTicketCardVertical, type BadgeConfig, type BillingDetail, COUNTRIES, CardAddon, type CardAddonProps, CardBanner, type CardBannerProps, CardBookingTicket, type CardBookingTicketProps, CardFAQ, type CardFAQProps, CardMealCatalog, type CardMealCatalogProps, CardOrdererInfo, type CardOrdererInfoProps, CardPassengerList, type CardPassengerListProps, CardPaymentGuide, type CardPaymentGuideProps, CardPaymentInfo, type CardPaymentInfoProps, CardPaymentMethodList, type CardPaymentMethodListProps, CardPriceDetails, type CardPriceDetailsProps, CardProfileMenu, type CardProfileMenuLabels, type CardProfileMenuProps, CardPromo, type CardPromoProps, CardReview, CardReviewPassenger, type CardReviewPassengerProps, type CardReviewProps, CardServiceMenu, type CardServiceMenuProps, CardStatusOrder, type CardStatusOrderProps, CardTicket, type CardTicketProps, CardTicketSearch, DEFAULT_LABELS$4 as CardTicketSearchDefaultLabels, type CardTicketSearchFormData, type CardTicketSearchLabels, type CardTicketSearchProps, type ServiceMenuItem as CardTicketSearchServiceMenuItem, CardTicketSearchSummary, DEFAULT_LABELS$3 as CardTicketSearchSummaryDefaultLabels, type CardTicketSearchSummaryProps, CardVehicleDetail, type CardVehicleDetailProps, CardVehicleOwnerForm, type CardVehicleOwnerFormProps, type CargoItem, CarouselWithCustomNav, type CarouselWithCustomNavProps, type CountryOption, DEFAULT_DURATION_RANGE, DEFAULT_PRICE_RANGE, DEFAULT_SCROLL_AMOUNT, DEFAULT_SERVICE_TYPES, DEFAULT_SORT_OPTIONS, DEFAULT_TIME_SLOTS, DEFAULT_VEHICLE_ICONS, DateFilter, DEFAULT_LABELS as DateFilterDefaultLabels, type DateFilterLabels, type DateFilterProps, type DateItem, type DepartureItem, EmptyContent, type EmptyContentButton, DEFAULT_LABELS$2 as EmptyContentDefaultLabels, type EmptyContentLabels, type EmptyContentProps, FileUpload, type FileUploadProps, type FilterCount, GENDER, type GENDER_TYPE, HTTP_STATUS, type HarborItem, IDENTITY_TYPE, type IDENTITY_TYPE_TYPE, InputDynamic, type InputDynamicProps, type InputType, LOAD_TYPE, type LOAD_TYPE_TYPE, MANIFEST_ENTITY, type MANIFEST_ENTITY_TYPE, MODAL_PRESETS, MY_TICKET_STATUS, type MY_TICKET_STATUS_TYPE, MY_TICKET_TAB, type MY_TICKET_TAB_TYPE, type MealCategory, type MealItem, ModalFilterTicket, DEFAULT_LABELS$1 as ModalFilterTicketDefaultLabels, type ModalFilterTicketLabels, type ModalFilterTicketProps, ModalIllustration, type ModalIllustrationButton, type ModalIllustrationProps, ModalListMenuService, type ModalListMenuServiceProps, ModalListPassenger, type PassengerItem as ModalListPassengerItem, type ModalListPassengerProps, ModalPassengerForm, type ModalPassengerFormProps, type ModalPresetKey, ModalPreviewImage, type ModalPreviewImageProps, ModalPriceDetail, type ModalPriceDetailProps, ModalSearchHarbor, type ModalSearchHarborProps, ModalSearchTicket, type ModalSearchTicketProps, ModalSelectDate, type ModalSelectDateProps, ModalService, type CardServiceMenuItem as ModalServiceItem, type ModalServiceProps, ModalTotalPassengers, type ModalTotalPassengersProps, ModalTypeOfService, type ModalTypeOfServiceProps, PASSENGER_TYPE, type PASSENGER_TYPE_TYPE, type Passenger, type PassengerClass, type PassengerFormData, type PassengerListItem, type PassengerService, type PassengerType, type PaymentGuideStep, type PaymentMethodCategory, type PaymentStep, type PriceDetailItem, type ProfileMenuSection, type ProfileMenuTab, type Provider, type RadioOption, type ReservationStep, type ReviewPassengerItem, type RouteItem, type SearchSummaryField, type SearchTicketFormData, type SelectOption, type SelectedPassengerItem, type ServiceId, type ServiceItem, SortMenu, type SortMenuProps, type SortOption, type StepStatus, Stepper, type StepperProps, type StepperStep, type TabType, type TypeOfService, type VehicleOwner, calculateAge, getBadgeConfig, getModalPreset, getSortLabel, hexToRgba };
|
package/dist/index.js
CHANGED
|
@@ -463,6 +463,10 @@ var MY_TICKET_STATUS = {
|
|
|
463
463
|
EXPIRED_BOARDING: 10,
|
|
464
464
|
REFUND: 11
|
|
465
465
|
};
|
|
466
|
+
var MANIFEST_ENTITY = {
|
|
467
|
+
COMPANY: "company",
|
|
468
|
+
INDIVIDUAL: "individual"
|
|
469
|
+
};
|
|
466
470
|
var useStyles2 = reactComponents.makeStyles({
|
|
467
471
|
carousel: {},
|
|
468
472
|
carouselContainer: {
|
|
@@ -12258,7 +12262,7 @@ var CardVehicleOwnerForm = ({
|
|
|
12258
12262
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12259
12263
|
reactComponents.Radio,
|
|
12260
12264
|
{
|
|
12261
|
-
value:
|
|
12265
|
+
value: MANIFEST_ENTITY.COMPANY,
|
|
12262
12266
|
label: mergedLabels.senderTypeCompany
|
|
12263
12267
|
}
|
|
12264
12268
|
),
|
|
@@ -12280,10 +12284,10 @@ var CardVehicleOwnerForm = ({
|
|
|
12280
12284
|
control,
|
|
12281
12285
|
disabled,
|
|
12282
12286
|
name: `owners.${index}.senderName`,
|
|
12283
|
-
placeholder: owner.senderType ===
|
|
12287
|
+
placeholder: owner.senderType === MANIFEST_ENTITY.COMPANY ? mergedLabels.selectCompanyPlaceholder : mergedLabels.inputSenderNamePlaceholder,
|
|
12284
12288
|
size: "large",
|
|
12285
|
-
type: owner.senderType ===
|
|
12286
|
-
options: owner.senderType ===
|
|
12289
|
+
type: owner.senderType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12290
|
+
options: owner.senderType === MANIFEST_ENTITY.COMPANY ? companySenderOptions : []
|
|
12287
12291
|
}
|
|
12288
12292
|
)
|
|
12289
12293
|
] }),
|
|
@@ -12360,7 +12364,7 @@ var CardVehicleOwnerForm = ({
|
|
|
12360
12364
|
{
|
|
12361
12365
|
disabled,
|
|
12362
12366
|
layout: "horizontal",
|
|
12363
|
-
value: owner.cargoOwnerType ||
|
|
12367
|
+
value: owner.cargoOwnerType || MANIFEST_ENTITY.COMPANY,
|
|
12364
12368
|
onChange: (_, data) => onUpdateOwner(owner.id, {
|
|
12365
12369
|
cargoOwnerType: data.value
|
|
12366
12370
|
}),
|
|
@@ -12368,14 +12372,14 @@ var CardVehicleOwnerForm = ({
|
|
|
12368
12372
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12369
12373
|
reactComponents.Radio,
|
|
12370
12374
|
{
|
|
12371
|
-
value:
|
|
12375
|
+
value: MANIFEST_ENTITY.COMPANY,
|
|
12372
12376
|
label: mergedLabels.senderTypeCompany
|
|
12373
12377
|
}
|
|
12374
12378
|
),
|
|
12375
12379
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12376
12380
|
reactComponents.Radio,
|
|
12377
12381
|
{
|
|
12378
|
-
value:
|
|
12382
|
+
value: MANIFEST_ENTITY.INDIVIDUAL,
|
|
12379
12383
|
label: mergedLabels.senderTypeIndividual
|
|
12380
12384
|
}
|
|
12381
12385
|
)
|
|
@@ -12390,10 +12394,10 @@ var CardVehicleOwnerForm = ({
|
|
|
12390
12394
|
disabled,
|
|
12391
12395
|
control,
|
|
12392
12396
|
name: `looseCargoOwners.${index}.cargoOwnerName`,
|
|
12393
|
-
placeholder: owner.cargoOwnerType ===
|
|
12397
|
+
placeholder: owner.cargoOwnerType === MANIFEST_ENTITY.COMPANY ? mergedLabels.cargoOwnerCompanyPlaceholder : mergedLabels.cargoOwnerIndividualPlaceholder,
|
|
12394
12398
|
size: "large",
|
|
12395
|
-
type: owner.cargoOwnerType ===
|
|
12396
|
-
options: owner.cargoOwnerType ===
|
|
12399
|
+
type: owner.cargoOwnerType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12400
|
+
options: owner.cargoOwnerType === MANIFEST_ENTITY.COMPANY ? companyOwnerOptions : []
|
|
12397
12401
|
}
|
|
12398
12402
|
),
|
|
12399
12403
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12434,14 +12438,14 @@ var CardVehicleOwnerForm = ({
|
|
|
12434
12438
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12435
12439
|
reactComponents.Radio,
|
|
12436
12440
|
{
|
|
12437
|
-
value:
|
|
12441
|
+
value: MANIFEST_ENTITY.COMPANY,
|
|
12438
12442
|
label: mergedLabels.senderTypeCompany
|
|
12439
12443
|
}
|
|
12440
12444
|
),
|
|
12441
12445
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12442
12446
|
reactComponents.Radio,
|
|
12443
12447
|
{
|
|
12444
|
-
value:
|
|
12448
|
+
value: MANIFEST_ENTITY.INDIVIDUAL,
|
|
12445
12449
|
label: mergedLabels.senderTypeIndividual
|
|
12446
12450
|
}
|
|
12447
12451
|
)
|
|
@@ -12456,10 +12460,10 @@ var CardVehicleOwnerForm = ({
|
|
|
12456
12460
|
control,
|
|
12457
12461
|
disabled,
|
|
12458
12462
|
name: `looseCargoOwners.${index}.logisticsCompanyName`,
|
|
12459
|
-
placeholder: owner.logisticsCompanyType ===
|
|
12463
|
+
placeholder: owner.logisticsCompanyType === MANIFEST_ENTITY.COMPANY ? mergedLabels.logisticsCompanyPlaceholder : mergedLabels.logisticsIndividualPlaceholder,
|
|
12460
12464
|
size: "large",
|
|
12461
|
-
type: owner.logisticsCompanyType ===
|
|
12462
|
-
options: owner.logisticsCompanyType ===
|
|
12465
|
+
type: owner.logisticsCompanyType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12466
|
+
options: owner.logisticsCompanyType === MANIFEST_ENTITY.COMPANY ? companyLogisticsOptions : []
|
|
12463
12467
|
}
|
|
12464
12468
|
),
|
|
12465
12469
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12482,7 +12486,7 @@ var CardVehicleOwnerForm = ({
|
|
|
12482
12486
|
{
|
|
12483
12487
|
disabled,
|
|
12484
12488
|
layout: "horizontal",
|
|
12485
|
-
value: owner.cargoReceiverType ||
|
|
12489
|
+
value: owner.cargoReceiverType || MANIFEST_ENTITY.COMPANY,
|
|
12486
12490
|
onChange: (_, data) => onUpdateOwner(owner.id, {
|
|
12487
12491
|
cargoReceiverType: data.value
|
|
12488
12492
|
}),
|
|
@@ -12490,14 +12494,14 @@ var CardVehicleOwnerForm = ({
|
|
|
12490
12494
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12491
12495
|
reactComponents.Radio,
|
|
12492
12496
|
{
|
|
12493
|
-
value:
|
|
12497
|
+
value: MANIFEST_ENTITY.COMPANY,
|
|
12494
12498
|
label: mergedLabels.senderTypeCompany
|
|
12495
12499
|
}
|
|
12496
12500
|
),
|
|
12497
12501
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12498
12502
|
reactComponents.Radio,
|
|
12499
12503
|
{
|
|
12500
|
-
value:
|
|
12504
|
+
value: MANIFEST_ENTITY.INDIVIDUAL,
|
|
12501
12505
|
label: mergedLabels.senderTypeIndividual
|
|
12502
12506
|
}
|
|
12503
12507
|
)
|
|
@@ -12510,10 +12514,10 @@ var CardVehicleOwnerForm = ({
|
|
|
12510
12514
|
control,
|
|
12511
12515
|
disabled,
|
|
12512
12516
|
name: `looseCargoOwners.${index}.cargoReceiverName`,
|
|
12513
|
-
placeholder: owner.cargoReceiverType ===
|
|
12517
|
+
placeholder: owner.cargoReceiverType === MANIFEST_ENTITY.COMPANY ? mergedLabels.cargoReceiverCompanyPlaceholder : mergedLabels.cargoReceiverIndividualPlaceholder,
|
|
12514
12518
|
size: "large",
|
|
12515
|
-
type: owner.cargoReceiverType ===
|
|
12516
|
-
options: owner.cargoReceiverType ===
|
|
12519
|
+
type: owner.cargoReceiverType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12520
|
+
options: owner.cargoReceiverType === MANIFEST_ENTITY.COMPANY ? companyReceiverOptions : []
|
|
12517
12521
|
}
|
|
12518
12522
|
),
|
|
12519
12523
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -13029,22 +13033,22 @@ var useStyles28 = reactComponents.makeStyles({
|
|
|
13029
13033
|
},
|
|
13030
13034
|
circularLeft: {
|
|
13031
13035
|
position: "absolute",
|
|
13032
|
-
width: "
|
|
13033
|
-
height: "
|
|
13036
|
+
width: "80px",
|
|
13037
|
+
height: "80px",
|
|
13034
13038
|
borderRadius: "50%",
|
|
13035
13039
|
backgroundColor: reactComponents.tokens.colorNeutralBackground1Hover,
|
|
13036
|
-
left: "-
|
|
13040
|
+
left: "-37px",
|
|
13037
13041
|
bottom: "-30px",
|
|
13038
13042
|
zIndex: 2,
|
|
13039
13043
|
boxShadow: "inset -3px 0px 1px rgba(0, 0, 0, 0.1)"
|
|
13040
13044
|
},
|
|
13041
13045
|
circularRight: {
|
|
13042
13046
|
position: "absolute",
|
|
13043
|
-
width: "
|
|
13044
|
-
height: "
|
|
13047
|
+
width: "80px",
|
|
13048
|
+
height: "80px",
|
|
13045
13049
|
borderRadius: "50%",
|
|
13046
13050
|
backgroundColor: reactComponents.tokens.colorNeutralBackground1Hover,
|
|
13047
|
-
right: "-
|
|
13051
|
+
right: "-37px",
|
|
13048
13052
|
bottom: "-30px",
|
|
13049
13053
|
zIndex: 2,
|
|
13050
13054
|
boxShadow: "inset 3px 0px 1px rgba(0, 0, 0, 0.1)"
|
|
@@ -16203,6 +16207,7 @@ exports.HTTP_STATUS = HTTP_STATUS;
|
|
|
16203
16207
|
exports.IDENTITY_TYPE = IDENTITY_TYPE;
|
|
16204
16208
|
exports.InputDynamic = InputDynamic_default;
|
|
16205
16209
|
exports.LOAD_TYPE = LOAD_TYPE;
|
|
16210
|
+
exports.MANIFEST_ENTITY = MANIFEST_ENTITY;
|
|
16206
16211
|
exports.MODAL_PRESETS = MODAL_PRESETS;
|
|
16207
16212
|
exports.MY_TICKET_STATUS = MY_TICKET_STATUS;
|
|
16208
16213
|
exports.MY_TICKET_TAB = MY_TICKET_TAB;
|