- Cataloghi: BestSeller, Novità

This commit is contained in:
Surya Paolo
2024-11-28 16:04:48 +01:00
parent e10ff192bf
commit 6932590f3e
30 changed files with 1086 additions and 456 deletions

View File

@@ -688,10 +688,14 @@ export interface ISize {
width?: string
height?: string
gap?: string
fit?: string
}
export interface IFont {
name?: string
size?: string
line_height?: number
posiz_text?: number
perc_text?: string
}
export interface IBorder {
@@ -706,6 +710,21 @@ export interface IImg {
fit?: string
}
export interface INovita {
show?: boolean
months?: number
}
export interface IBestseller {
show?: boolean
primiNInClassifica?: number
}
export interface IEtichette {
novita?: INovita
bestseller?: IBestseller
}
export interface IBarCode {
show?: boolean
format?: string
@@ -714,6 +733,12 @@ export interface IBarCode {
widthlines?: number
}
export interface IPagina {
dimensioni?: IDimensioni
testo_up?: IText
testo_down?: IText
}
export interface IDimensioni {
size?: ISize
margini?: IBorder
@@ -743,7 +768,7 @@ export interface IText {
}
export interface IElementiScheda {
pagina: IDimensioni
pagina: IPagina
riga: IDimensioni
scheda_prodotto: IDimensioni
immagine_prodotto: IDimensioni
@@ -753,15 +778,15 @@ export interface IMyScheda {
_id?: string,
idapp?: string,
isTemplate?: boolean,
linkIdTemplate?: string,
name?: string,
line_height?: number
numschede_perRiga?: number
numschede_perCol?: number
show_separatore: boolean
testo_right?: IText
testo_bottom?: IText
posiz_text?: number
barcode?: IBarCode,
etichette?: IEtichette,
dimensioni: IElementiScheda
productTypes?: number[]
@@ -777,7 +802,7 @@ export interface ISchedaSingola {
_id?: string
scheda?: IMyScheda,
order?: number,
numSchede?: number,
numPagineMax?: number,
// In Memoria
arrProdToShow?: IProduct[][][]
@@ -785,12 +810,13 @@ export interface ISchedaSingola {
export interface ICatalogo {
//++AddCATALOGO_FIELDS
productTypes: number[]
excludeproductTypes: number[]
formato: string[]
Categoria: string[]
Editore: string[]
pdf: boolean
productTypes?: number[]
excludeproductTypes?: number[]
formato?: string[]
Categoria?: string[]
Editore?: string[]
sort?: number
pdf?: boolean
pdf_filename?: string
printable?: boolean

View File

@@ -42,6 +42,21 @@ export interface IProductInfo {
productTypes?: number[]
versioneGM?: string
short_descr: string
totaleVenduti?: number,
venditeLastM?: number,
venditeLast6M?: number,
venditeLastY?: number,
venditeLast2Y?: number,
dataUltimoOrdine?: Date,
rank3M?: number,
rank6M?: number,
rank1Y?: number,
descrizione_breve_macro?: string,
descrizione_completa_macro?: string,
sottotitolo?: string,
link_macro?: string,
}
export interface IVariazione {
@@ -76,6 +91,7 @@ export interface IProdView {
export interface IProduct {
_id?: any
indiceRanking?: number
active?: boolean
isbn?: string
idProductInfo?: string,