@myparcel/delivery-options
Advanced tools
Comparing version 6.0.0-alpha.11 to 6.0.0-alpha.12
import { AllowedComponentProps } from 'vue'; | ||
import { AnyTranslatable } from '@myparcel-do/shared'; | ||
import { Carrier } from '@myparcel/sdk'; | ||
import { CarrierConfiguration } from '@myparcel-do/shared'; | ||
import { CarrierIdentifier } from '@myparcel-do/shared'; | ||
@@ -68,2 +70,4 @@ import { CarrierName } from '@myparcel/constants'; | ||
import { ToRecord } from '@myparcel-do/shared'; | ||
import { Translatable } from '@myparcel-do/shared'; | ||
import { Untranslatable } from '@myparcel-do/shared'; | ||
import { UseMemoizeReturn } from '@vueuse/core'; | ||
@@ -300,2 +304,4 @@ import { UsePlatform } from '@myparcel-do/shared'; | ||
export declare const createDeliveryTypeTranslatable: (deliveryType: DeliveryTypeName) => Translatable; | ||
export declare const createGetDeliveryOptionsParameters: (carrier: ResolvedCarrier) => EndpointParameters<GetDeliveryOptions>; | ||
@@ -308,4 +314,10 @@ | ||
export declare const createPackageTypeTranslatable: (packageType: PackageTypeName) => Translatable; | ||
export declare const createRelativeDateFormatter: CreateDateFormatter; | ||
export declare const createTranslatable: (string: string) => Translatable; | ||
export declare const createUntranslatable: (string: string) => Untranslatable; | ||
export declare const createUtcDate: (date?: DateLike) => Date; | ||
@@ -403,3 +415,3 @@ | ||
id: string; | ||
options: SelectOption<T>[]; | ||
options: SelectOption<T, string>[]; | ||
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { | ||
@@ -412,3 +424,3 @@ attrs: any; | ||
id: string; | ||
options: SelectOption<T>[]; | ||
options: SelectOption<T, string>[]; | ||
} & VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
@@ -425,3 +437,3 @@ expose(exposed: ShallowUnwrapRef<{}>): void; | ||
id: string; | ||
options: SelectOption<T>[]; | ||
options: SelectOption<T, string>[]; | ||
} & VNodeProps & AllowedComponentProps & ComponentCustomProps; | ||
@@ -488,2 +500,4 @@ expose(exposed: ShallowUnwrapRef<{}>): void; | ||
export declare const isTranslatable: (translatable: AnyTranslatable) => boolean; | ||
export declare const LeafletMap: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_TypePropsToRuntimeProps_6<LeafletMapProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_6<LeafletMapProps>>>, {}, {}>, { | ||
@@ -623,2 +637,3 @@ default?(_: {}): any; | ||
identifier: CarrierIdentifier; | ||
config: ComputedRef<CarrierConfiguration | undefined>; | ||
pickupCountries: ComputedRef<Set<string>>; | ||
@@ -631,2 +646,4 @@ deliveryCountries: ComputedRef<Set<string>>; | ||
hasDelivery: ComputedRef<boolean>; | ||
hasFakeDelivery: ComputedRef<boolean>; | ||
hasAnyDelivery: ComputedRef<boolean>; | ||
hasPickup: ComputedRef<boolean>; | ||
@@ -642,3 +659,3 @@ get<Key extends ConfigKey | CarrierSettingsKey>(key: Key, defaultValue?: NonNullable<Key extends ConfigKey ? DeliveryOptionsConfig[Key] : CarrierSettings[Key]>): Key extends ConfigKey ? DeliveryOptionsConfig[Key] : CarrierSettings[Key]; | ||
shipmentOptions: DeepReadonly<DeliveryOption['possibilities'][number]['shipment_options']>; | ||
time: string; | ||
time: AnyTranslatable; | ||
} | ||
@@ -653,2 +670,4 @@ | ||
export declare const resolveTranslatable: (translatable: AnyTranslatable) => string; | ||
export declare interface SelectedDeliveryMoment extends Replace<Omit<ResolvedDeliveryOptions, 'carrier'>, 'deliveryType', SupportedDeliveryTypeName> { | ||
@@ -751,3 +770,3 @@ carrier: CarrierIdentifier; | ||
setStrings(strings: Record<string, string>): void; | ||
translate(key: string): string; | ||
translate(translatable: AnyTranslatable): string; | ||
} | ||
@@ -754,0 +773,0 @@ |
{ | ||
"name": "@myparcel/delivery-options", | ||
"version": "6.0.0-alpha.11", | ||
"version": "6.0.0-alpha.12", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1498081
32894