mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Fix Product Search Page Scanning
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<div [@listAnimation]="active" class="headers" [ngClass]="{ 'ipad-headers': isIPad }">
|
||||
<div
|
||||
[@listAnimation]="active"
|
||||
class="headers"
|
||||
[ngClass]="{ 'ipad-headers': isIPad }"
|
||||
>
|
||||
<app-card *ngFor="let item of navigation" (click)="switch(item)">
|
||||
<span>{{ titles[item] }}</span>
|
||||
</app-card>
|
||||
@@ -16,6 +20,7 @@
|
||||
<app-search-customer-card></app-search-customer-card>
|
||||
</div>
|
||||
<div *ngSwitchCase="'scan'" [@fadeIn]="active">
|
||||
<p>Barcode Search</p>
|
||||
<app-customer-card-barcode-search></app-customer-card-barcode-search>
|
||||
</div>
|
||||
<div *ngSwitchCase="'create'" [@fadeIn]="active">
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<div [@staggerAnimation]="active" class="headers" *ngIf="isIPad">
|
||||
<app-card *ngFor="let item of navigation" (click)="switch(item)" class="header">
|
||||
<app-card
|
||||
*ngFor="let item of navigation"
|
||||
(click)="switch(item)"
|
||||
class="header"
|
||||
>
|
||||
<span class="header-title">{{ titles[item] }}</span>
|
||||
</app-card>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
:host {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.headers {
|
||||
display: block;
|
||||
min-height: 60px;
|
||||
|
||||
@@ -76,7 +76,9 @@ export { SupplierDTO } from './models/supplier-dto';
|
||||
export { SupplierType } from './models/supplier-type';
|
||||
export { EntityDTOOfSupplierDTOAndISupplier } from './models/entity-dtoof-supplier-dtoand-isupplier';
|
||||
export { ReadOnlyEntityDTOOfSupplierDTOAndISupplier } from './models/read-only-entity-dtoof-supplier-dtoand-isupplier';
|
||||
export { EntityDTOOfShopItemDTOAndIShopItem } from './models/entity-dtoof-shop-item-dtoand-ishop-item';
|
||||
export { ShippingDTO } from './models/shipping-dto';
|
||||
export { ShippingType } from './models/shipping-type';
|
||||
export { TypeOfDelivery } from './models/type-of-delivery';
|
||||
export { ReadOnlyEntityDTOOfShopItemDTOAndIShopItem } from './models/read-only-entity-dtoof-shop-item-dtoand-ishop-item';
|
||||
export { ProductDTO } from './models/product-dto';
|
||||
export { ShoppingCartItemStatus } from './models/shopping-cart-item-status';
|
||||
@@ -127,11 +129,8 @@ export { PayerStatus } from './models/payer-status';
|
||||
export { EntityDTOContainerOfCheckoutDeliveryDTO } from './models/entity-dtocontainer-of-checkout-delivery-dto';
|
||||
export { CheckoutDeliveryDTO } from './models/checkout-delivery-dto';
|
||||
export { TermsOfDeliveryDTO } from './models/terms-of-delivery-dto';
|
||||
export { TypeOfDelivery } from './models/type-of-delivery';
|
||||
export { ShippingType } from './models/shipping-type';
|
||||
export { EntityDTOContainerOfCheckoutItemDTO } from './models/entity-dtocontainer-of-checkout-item-dto';
|
||||
export { CheckoutItemDTO } from './models/checkout-item-dto';
|
||||
export { EntityDTOOfCheckoutItemDTOAndICheckoutItem } from './models/entity-dtoof-checkout-item-dtoand-icheckout-item';
|
||||
export { ReadOnlyEntityDTOOfCheckoutItemDTOAndICheckoutItem } from './models/read-only-entity-dtoof-checkout-item-dtoand-icheckout-item';
|
||||
export { DisplayItemDTO } from './models/display-item-dto';
|
||||
export { EntityDTOOfCheckoutDeliveryDTOAndICheckoutDelivery } from './models/entity-dtoof-checkout-delivery-dtoand-icheckout-delivery';
|
||||
@@ -142,22 +141,18 @@ export { PaymentDTO } from './models/payment-dto';
|
||||
export { SelectionDTOOfPaymentType } from './models/selection-dtoof-payment-type';
|
||||
export { EntityDTOContainerOfVoucherDTO } from './models/entity-dtocontainer-of-voucher-dto';
|
||||
export { VoucherDTO } from './models/voucher-dto';
|
||||
export { EntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './models/entity-dtoof-voucher-dtoand-iread-only-voucher';
|
||||
export { ReadOnlyEntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './models/read-only-entity-dtoof-voucher-dtoand-iread-only-voucher';
|
||||
export { EntityDTOContainerOfCouponDTO } from './models/entity-dtocontainer-of-coupon-dto';
|
||||
export { CouponDTO } from './models/coupon-dto';
|
||||
export { CouponType } from './models/coupon-type';
|
||||
export { EntityDTOOfCouponDTOAndIReadOnlyCoupon } from './models/entity-dtoof-coupon-dtoand-iread-only-coupon';
|
||||
export { ReadOnlyEntityDTOOfCouponDTOAndIReadOnlyCoupon } from './models/read-only-entity-dtoof-coupon-dtoand-iread-only-coupon';
|
||||
export { EntityDTOOfCheckoutDTOAndICheckout } from './models/entity-dtoof-checkout-dtoand-icheckout';
|
||||
export { ReadOnlyEntityDTOOfCheckoutDTOAndICheckout } from './models/read-only-entity-dtoof-checkout-dtoand-icheckout';
|
||||
export { ShippingAddressDTO } from './models/shipping-address-dto';
|
||||
export { EntityDTOOfDestinationDTOAndIDestination } from './models/entity-dtoof-destination-dtoand-idestination';
|
||||
export { ReadOnlyEntityDTOOfDestinationDTOAndIDestination } from './models/read-only-entity-dtoof-destination-dtoand-idestination';
|
||||
export { PromotionDTO } from './models/promotion-dto';
|
||||
export { EntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './models/entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
export { ReadOnlyEntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './models/read-only-entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
export { EntityDTOOfShoppingCartDTOAndIShoppingCart } from './models/entity-dtoof-shopping-cart-dtoand-ishopping-cart';
|
||||
export { ReadOnlyEntityDTOOfShoppingCartDTOAndIShoppingCart } from './models/read-only-entity-dtoof-shopping-cart-dtoand-ishopping-cart';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
export { IPublicUserInfo } from './models/ipublic-user-info';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfCheckoutDTOAndICheckout } from './entity-dtoof-checkout-dtoand-icheckout';
|
||||
import { ReadOnlyEntityDTOOfCheckoutDTOAndICheckout } from './read-only-entity-dtoof-checkout-dtoand-icheckout';
|
||||
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
|
||||
import { UserAccountDTO } from './user-account-dto';
|
||||
import { BuyerDTO } from './buyer-dto';
|
||||
@@ -10,7 +10,7 @@ import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-d
|
||||
import { NotificationChannel } from './notification-channel';
|
||||
import { SelectionDTOOfShippingTarget } from './selection-dtoof-shipping-target';
|
||||
import { PaymentDTO } from './payment-dto';
|
||||
export interface CheckoutDTO extends EntityDTOOfCheckoutDTOAndICheckout {
|
||||
export interface CheckoutDTO extends ReadOnlyEntityDTOOfCheckoutDTOAndICheckout {
|
||||
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
|
||||
label?: string;
|
||||
userAccount?: UserAccountDTO;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfCheckoutItemDTOAndICheckoutItem } from './entity-dtoof-checkout-item-dtoand-icheckout-item';
|
||||
import { ReadOnlyEntityDTOOfCheckoutItemDTOAndICheckoutItem } from './read-only-entity-dtoof-checkout-item-dtoand-icheckout-item';
|
||||
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
|
||||
import { EntityDTOContainerOfShoppingCartItemDTO } from './entity-dtocontainer-of-shopping-cart-item-dto';
|
||||
import { EntityDTOContainerOfCheckoutDeliveryDTO } from './entity-dtocontainer-of-checkout-delivery-dto';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
export interface CheckoutItemDTO extends EntityDTOOfCheckoutItemDTOAndICheckoutItem {
|
||||
export interface CheckoutItemDTO extends ReadOnlyEntityDTOOfCheckoutItemDTOAndICheckoutItem {
|
||||
checkout?: EntityDTOContainerOfCheckoutDTO;
|
||||
shoppingCartItem?: EntityDTOContainerOfShoppingCartItemDTO;
|
||||
delivery?: EntityDTOContainerOfCheckoutDeliveryDTO;
|
||||
|
||||
@@ -4,6 +4,7 @@ import { PriceDTO } from './price-dto';
|
||||
export interface DisplayItemDTO {
|
||||
shopItem?: ShopItemDTO;
|
||||
specialComment?: string;
|
||||
customProductName?: string;
|
||||
quantity?: number;
|
||||
price?: PriceDTO;
|
||||
components?: Array<DisplayItemDTO>;
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfCheckoutDTOAndICheckout } from './read-only-entity-dtoof-checkout-dtoand-icheckout';
|
||||
export interface EntityDTOOfCheckoutDTOAndICheckout extends ReadOnlyEntityDTOOfCheckoutDTOAndICheckout {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfCheckoutItemDTOAndICheckoutItem } from './read-only-entity-dtoof-checkout-item-dtoand-icheckout-item';
|
||||
export interface EntityDTOOfCheckoutItemDTOAndICheckoutItem extends ReadOnlyEntityDTOOfCheckoutItemDTOAndICheckoutItem {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfShopItemDTOAndIShopItem } from './read-only-entity-dtoof-shop-item-dtoand-ishop-item';
|
||||
export interface EntityDTOOfShopItemDTOAndIShopItem extends ReadOnlyEntityDTOOfShopItemDTOAndIShopItem {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfShoppingCartDTOAndIShoppingCart } from './read-only-entity-dtoof-shopping-cart-dtoand-ishopping-cart';
|
||||
export interface EntityDTOOfShoppingCartDTOAndIShoppingCart extends ReadOnlyEntityDTOOfShoppingCartDTOAndIShoppingCart {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './read-only-entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
export interface EntityDTOOfShoppingCartItemDTOAndIShoppingCartItem extends ReadOnlyEntityDTOOfShoppingCartItemDTOAndIShoppingCartItem {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './read-only-entity-dtoof-voucher-dtoand-iread-only-voucher';
|
||||
export interface EntityDTOOfVoucherDTOAndIReadOnlyVoucher extends ReadOnlyEntityDTOOfVoucherDTOAndIReadOnlyVoucher {
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type OrderItemType = 0 | 1 | 2 | 4 | 8 | 16 | 32;
|
||||
export type OrderItemType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64;
|
||||
11
apps/swagger/checkout/src/lib/models/shipping-dto.ts
Normal file
11
apps/swagger/checkout/src/lib/models/shipping-dto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* tslint:disable */
|
||||
import { ShippingType } from './shipping-type';
|
||||
import { TypeOfDelivery } from './type-of-delivery';
|
||||
export interface ShippingDTO {
|
||||
postage?: number;
|
||||
shippingType?: ShippingType;
|
||||
typeOfDelivery?: TypeOfDelivery;
|
||||
shipsSeparatly?: boolean;
|
||||
start?: string;
|
||||
stop?: string;
|
||||
}
|
||||
@@ -1,19 +1,21 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfShopItemDTOAndIShopItem } from './entity-dtoof-shop-item-dtoand-ishop-item';
|
||||
import { ReadOnlyEntityDTOOfShopItemDTOAndIShopItem } from './read-only-entity-dtoof-shop-item-dtoand-ishop-item';
|
||||
import { EntityDTOContainerOfItemDTO } from './entity-dtocontainer-of-item-dto';
|
||||
import { ImageDTO } from './image-dto';
|
||||
import { ItemType } from './item-type';
|
||||
import { UrlDTO } from './url-dto';
|
||||
import { AvailabilityDTO } from './availability-dto';
|
||||
export interface ShopItemDTO extends EntityDTOOfShopItemDTOAndIShopItem {
|
||||
import { ShippingDTO } from './shipping-dto';
|
||||
export interface ShopItemDTO extends ReadOnlyEntityDTOOfShopItemDTOAndIShopItem {
|
||||
description?: string;
|
||||
item?: EntityDTOContainerOfItemDTO;
|
||||
ean?: string;
|
||||
itemNumber?: string;
|
||||
name?: string;
|
||||
format?: string;
|
||||
description?: string;
|
||||
ean?: string;
|
||||
image?: ImageDTO;
|
||||
itemType: ItemType;
|
||||
deepUrl?: UrlDTO;
|
||||
availability?: AvailabilityDTO;
|
||||
shipping?: ShippingDTO;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfShoppingCartDTOAndIShoppingCart } from './entity-dtoof-shopping-cart-dtoand-ishopping-cart';
|
||||
import { ReadOnlyEntityDTOOfShoppingCartDTOAndIShoppingCart } from './read-only-entity-dtoof-shopping-cart-dtoand-ishopping-cart';
|
||||
import { EntityDTOContainerOfShoppingCartItemDTO } from './entity-dtocontainer-of-shopping-cart-item-dto';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
export interface ShoppingCartDTO extends EntityDTOOfShoppingCartDTOAndIShoppingCart {
|
||||
export interface ShoppingCartDTO extends ReadOnlyEntityDTOOfShoppingCartDTOAndIShoppingCart {
|
||||
label?: string;
|
||||
index?: number;
|
||||
items?: Array<EntityDTOContainerOfShoppingCartItemDTO>;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
import { ReadOnlyEntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './read-only-entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
import { EntityDTOContainerOfShopItemDTO } from './entity-dtocontainer-of-shop-item-dto';
|
||||
import { ProductDTO } from './product-dto';
|
||||
import { EntityDTOContainerOfShoppingCartItemDTO } from './entity-dtocontainer-of-shopping-cart-item-dto';
|
||||
@@ -11,12 +11,13 @@ import { OrderItemType } from './order-item-type';
|
||||
import { EntityDTOContainerOfShopDTO } from './entity-dtocontainer-of-shop-dto';
|
||||
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
|
||||
import { PromotionDTO } from './promotion-dto';
|
||||
export interface ShoppingCartItemDTO extends EntityDTOOfShoppingCartItemDTOAndIShoppingCartItem {
|
||||
export interface ShoppingCartItemDTO extends ReadOnlyEntityDTOOfShoppingCartItemDTOAndIShoppingCartItem {
|
||||
specialComment?: string;
|
||||
quantity?: number;
|
||||
sscText?: string;
|
||||
shopItem?: EntityDTOContainerOfShopItemDTO;
|
||||
product?: ProductDTO;
|
||||
customProductName?: string;
|
||||
components?: Array<EntityDTOContainerOfShoppingCartItemDTO>;
|
||||
accessories?: Array<EntityDTOContainerOfShoppingCartItemDTO>;
|
||||
availability?: AvailabilityDTO;
|
||||
@@ -25,6 +26,7 @@ export interface ShoppingCartItemDTO extends EntityDTOOfShoppingCartItemDTOAndIS
|
||||
ssc?: string;
|
||||
lastAvailabilityRequest?: string;
|
||||
shoppingCartItemStatus: ShoppingCartItemStatus;
|
||||
unitPrice?: PriceDTO;
|
||||
total?: PriceDTO;
|
||||
deepUrl?: UrlDTO;
|
||||
orderItemType: OrderItemType;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './entity-dtoof-voucher-dtoand-iread-only-voucher';
|
||||
import { ReadOnlyEntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './read-only-entity-dtoof-voucher-dtoand-iread-only-voucher';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
export interface VoucherDTO extends EntityDTOOfVoucherDTOAndIReadOnlyVoucher {
|
||||
export interface VoucherDTO extends ReadOnlyEntityDTOOfVoucherDTOAndIReadOnlyVoucher {
|
||||
name?: string;
|
||||
description?: string;
|
||||
value?: PriceValueDTO;
|
||||
|
||||
Reference in New Issue
Block a user