DjBlockStat
Props
Name | Type | Description | Default |
---|---|---|---|
title | string | "" | |
v-model | unknown | "" | |
icon | string | "" | |
position | string | "vertical" |
DjButtonAddToBuyingList
Props
Name | Type | Description | Default |
---|---|---|---|
style-b | string | "button" | |
quantity | number | 1 | |
product-name | string | "produit" | |
offer-id | string | null | |
full-width | boolean | false | |
style-button | string | "secondary" |
Data
Name | Type | Description | Initial value |
---|---|---|---|
buyingListtId | unknown | null | |
dialogWishlist | boolean | false | |
newBL | boolean | false | |
buyinglistName | unknown | null |
Computed Properties
Name | Type | Description |
---|---|---|
wishlists | object |
Methods
toggleCreateBL()
Syntax
toggleCreateBL(): void
chooseWishlist()
Syntax
chooseWishlist(): void
handleAddToWishList()
Syntax
async handleAddToWishList(buyingListtId: unknown): Promise<void>
handleCreateWishlist()
Syntax
handleCreateWishlist(): void
onClickOutside()
Syntax
onClickOutside(): void
DjButtonAddToQuote
Props
Name | Type | Description | Default |
---|---|---|---|
style-b | string | "button" | |
quantity | number | 1 | |
product-name | string | "produit" | |
product-id | string | null | |
quotes-lines | array | [] | |
full-width | boolean | false | |
style-button | string | "primary" | |
text-displayed | boolean | true | |
icon-displayed | boolean | true | |
icon-color | boolean | false | |
is-disabled | boolean | false | |
text-button | string | "" | |
size | string | "standard" | |
supplier-id | string | "" |
Data
Name | Type | Description | Initial value |
---|---|---|---|
dialogQuote | boolean | false | |
quoteName | unknown | null |
Computed Properties
Name | Type | Description |
---|---|---|
quotes | unknown |
Methods
onClickOutside()
Syntax
onClickOutside(): void
handleCreateQuote()
Syntax
handleCreateQuote(): void
chooseQuote()
Syntax
chooseQuote(): void
handleAddToQuote()
Syntax
handleAddToQuote(quoteId: unknown): void
DjButtonAddToCart
Props
Name | Type | Description | Default |
---|---|---|---|
style-b | string | "button" | |
size | string | "standard" | |
products | array | [] | |
style-button | string | "primary" | |
quantity | number | 1 | |
product-name | string | "produit" | |
product-supplier | string | ||
product-picture | object | ||
offer-id | string | null | |
display-return | boolean | false | |
text-displayed | boolean | true | |
icon-displayed | boolean | true | |
icon-color | boolean | false | |
is-disabled | boolean | false | |
full-width | boolean | false | |
text-button | string | "" | |
quantity-in-stock | number | 10000000 | |
min-order-quantity | number | 0 |
Data
Name | Type | Description | Initial value |
---|---|---|---|
productToCart | boolean | false | |
products_ | object | props.products | |
isLoading | boolean | false |
Methods
handleAddToCart()
Syntax
async handleAddToCart(): Promise<void>
DjCard
Slots
Name | Description |
---|---|
title | |
default | |
actions |
Props
Name | Type | Description | Default |
---|---|---|---|
with-actions | boolean | false | |
class-css | string | "" | |
title | string | null | |
link | string | "/" | |
link-text | string | ||
padding | string | "0px" | |
nopadding | boolean | false | |
header-color | string | "var(--color-default-card-header,##ffffff)" | |
header-text-color | string | "##FFFFFF" | |
slot-header | boolean | false |
DjCardProduct
Slots
Name | Description |
---|---|
default |
Props
Name | Type | Description | Default |
---|---|---|---|
class-css | string | "" |
Addresses
Data
Name | Type | Description | Initial value |
---|---|---|---|
add | boolean | false | |
additionalAddress | string | "" | |
address | string | "" | |
billing | boolean | true | |
city | string | "" | |
country | string | "France" | |
fullName | string | "" | |
label | string | "" | |
phone | string | "" | |
shipping | boolean | true | |
state | string | "" | |
zipcode | string | "" | |
valid | boolean | true | |
error | boolean | false |
Computed Properties
Name | Type | Description |
---|---|---|
shippingAddress | object | Dependencies: $store |
billingAddress | object | Dependencies: $store |
Events
Name | Description |
---|---|
refresh | Arguments
|
update-new-address |
Methods
SaveAddress()
Syntax
async SaveAddress(): Promise<void>
DjProductInfo
Slots
Name | Description |
---|---|
default |
Props
Name | Type | Description | Default |
---|---|---|---|
product-title | string | "" | |
brand-name | string | "" | |
total-rating | number | 0 | |
reviews | array | [] | |
supplier | object | "" |
DjProductInfo
Props
Name | Type | Description | Default |
---|---|---|---|
product-title | string | "" | |
brand-name | string | "" | |
nb-review | number | 0 | |
rating | number | 0 | |
product-sku | string | "EZ08232HK" |
DjThumbnail
Props
Name | Type | Description | Default |
---|---|---|---|
type | string | "default" |
Computed Properties
Name | Type | Description |
---|---|---|
componentThumbnail | unknown | Dependencies: type |
DjUpload
Data
Name | Type | Description | Initial value |
---|---|---|---|
uploadedFiles | array | [] | |
uploadError | unknown | null | |
currentStatus | unknown | null | |
uploadFieldName | string | "csv" | |
products | array | [] |
Computed Properties
Name | Type | Description |
---|---|---|
isInitial | binary | Dependencies: currentStatus |
isSaving | binary | Dependencies: currentStatus |
isSuccess | binary | Dependencies: currentStatus |
isFailed | binary | Dependencies: currentStatus |
Methods
reset()
Syntax
reset(): void
save()
Syntax
save(formData: unknown): void
filesChange()
Syntax
filesChange(fieldName: unknown, fileList: unknown): void
FeaturedProducts
Slots
Name | Description |
---|---|
default |
Props
Name | Type | Description | Default |
---|---|---|---|
block | object | ||
items | array | [] | |
space-between-slides | number | ||
swiper-properties | object | null | |
width | string | "100%" |
Data
Name | Type | Description | Initial value |
---|---|---|---|
carouselSetting | unknown | this.swiperProperties ? this.swiperProperties : { ...carouselStandard, navigation: { nextEl: '.dj-product-slider .swiper-next', prevEl: '.dj-product-slider .swiper-prev', }, spaceBetween: this.spaceBetweenSlides, } | |
products | array | [] | |
TestLoading | boolean | true | |
nb | number | 0 | |
increment | number | 1 |
DjUploadDD
Slots
Name | Description |
---|---|
default |
Props
Name | Type | Description | Default |
---|---|---|---|
file-to-upload | array | [] |
Data
Name | Type | Description | Initial value |
---|---|---|---|
filelist | unknown | this.fileToUpload ? this.fileToUpload : [] |
Events
Name | Description |
---|---|
load-file | Arguments
|
Methods
onChange()
Syntax
onChange(): void
remove()
Syntax
remove(i: unknown): void
dragover()
Syntax
dragover(event: unknown): void
dragleave()
Syntax
dragleave(event: unknown): void
drop()
Syntax
drop(event: unknown): void
DjProductThumbnailActions
Props
Name | Type | Description | Default |
---|---|---|---|
item-price | number | 0 | |
item-discrount-price | number | ||
quantity-per-pack | number | 1 | |
offer-id | string | ||
product-variant-id | string | ||
product-name | string | ||
show-increment | boolean | true | |
offer | object |
Data
Name | Type | Description | Initial value |
---|---|---|---|
quantity | object | props.quantityPerPack |
Computed Properties
Name | Type | Description |
---|---|---|
currency | object |
Methods
quantityValue()
Syntax
quantityValue(params: unknown): void