import { HttpClient } from '@angular/common/http'; import { OnInit } from '@angular/core'; import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class AtwTextShortDescriptionConfig implements OnInit { private vhQueryAutoWeb; private vhEventMediator; functionService: FunctionService; private http; objectChoosing: any; class: any; device: any; config: any; staticdata: any; openMap: { [name: string]: boolean; }; isViewAll: boolean; currentViewAll: any; styles_field: { title: string; index: number; }[]; classUpdates: { text: { width: string; height: string; "overflow-y": string; transition: string; }; text__editor: { "font-size": string; "line-height": string; }; "read-more": { position: string; "text-align": string; "margin-top": string; display: string; "justify-content": string; }; "read-more__blur": { position: string; bottom: string; left: string; width: string; height: string; "pointer-events": string; visibility: string; opacity: string; transition: string; }; "+read-more__button": { position: string; color: string; cursor: string; "background-color": string; "font-size": string; "font-style": string; width: string; height: string; "border-left-width": string; "border-bottom-right-radius": string; "border-color": string; "border-top-width": string; gap: string; "border-right-width": string; "border-bottom-width": string; "box-shadow": string; "border-top-right-radius": string; "align-items": string; "justify-content": string; "border-top-left-radius": string; "border-bottom-left-radius": string; "border-style": string; "flex-direction": string; display: string; "margin-bottom": string; "margin-top": string; }; "+read-more__button-content": { "white-space": string; "letter-spacing": string; "font-family": string; "font-weight": string; overflow: string; "line-height": string; "word-break": string; "text-align": string; "background-color": string; "text-transform": string; "font-size": string; "text-decoration": string; }; "+read-more__icon-wrapper": { color: string; "z-index": string; "font-size": string; }; "+read-more__icon": { "justify-content": string; "align-items": string; width: string; "font-size": string; display: string; }; "-read-more__button": { position: string; color: string; cursor: string; "background-color": string; "font-size": string; "font-style": string; width: string; height: string; "border-left-width": string; "border-bottom-right-radius": string; "border-color": string; "border-top-width": string; gap: string; "border-right-width": string; "border-bottom-width": string; "box-shadow": string; "border-top-right-radius": string; "align-items": string; "justify-content": string; "border-top-left-radius": string; "border-bottom-left-radius": string; "border-style": string; "flex-direction": string; display: string; "margin-bottom": string; }; "-read-more__button-content": { "white-space": string; "letter-spacing": string; "font-family": string; "font-weight": string; overflow: string; "line-height": string; "word-break": string; "text-align": string; "background-color": string; "text-transform": string; "font-size": string; "text-decoration": string; }; "-read-more__icon-wrapper": { color: string; "z-index": string; "font-size": string; }; "-read-more__icon": { "justify-content": string; "align-items": string; width: string; "font-size": string; display: string; }; }; configUpdates: { "animation-selected": { id: string; }; "-webkit-scrollbar": { width: string; "background-color": string; "thumb-background-color": string; "border-radius": string; }; "view-type": { "overflow-y": string; isOpen: boolean; blur_background_color: string; "+button_box_shadow": { is_box_shadow: boolean; property_box_shadow: { type: string; "h-offset": number; "v-offset": number; blur: number; spread: number; color: string; }; }; "-button_box_shadow": { is_box_shadow: boolean; property_box_shadow: { type: string; "h-offset": number; "v-offset": number; blur: number; spread: number; color: string; }; }; "+flex-direction": { flex_row: string; flex_row_reverse: string; flex_row_column_reverse: string; icon_disable: boolean; flex_row_column: string; icon_name: string; }; "-flex-direction": { flex_row: string; flex_row_reverse: string; flex_row_column_reverse: string; icon_disable: boolean; flex_row_column: string; icon_name: string; }; }; }; staticdataUpdates: { desktop_animation_type: string; tablet_portrait_animation_type: string; tablet_landscape_animation_type: string; mobile_portrait_animation_type: string; mobile_landscape_animation_type: string; desktop_animation: { "animation-0": {}; }; tablet_portrait_animation: { "animation-0": {}; }; tablet_landscape_animation: { "animation-0": {}; }; mobile_portrait_animation: { "animation-0": {}; }; mobile_landscape_animation: { "animation-0": {}; }; "+content_vn": string; "-content_vn": string; }; customize: any[]; effect_hover: any[]; effect_hover_data: any; constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, functionService: FunctionService, http: HttpClient); ngOnInit(): void; ngOnChanges(changes: any): void; /** * Lấy ra fieldName class dùng để chứa con trỏ */ get getClassNameCursor(): "text" | "description-recruitment"; /** * Cập nhật giá trị Kiểu hiển thị cho phần tử text-short-description * * @description * Nếu là 'visible' thì set height của phần tử là 100% * Nếu là 'read-more' thì set height của phần tử là chiều cao của nội dung * Nếu là 'auto' thì set height của phần tử là chiều cao của nội dung * * @returns {void} */ updateTypeDisplay(): void; /** * Hàm update config vào database. */ updateConfig(): void; /** *Hàm update class vào database. */ updateClass(): void; /** * Cập nhật staticdata vào database. */ updateStaticData(): void; /** * hàm này nhận sk thay đổi width height từ component app-width-height-config truyền về * @param event width hieght của element sau khi thay đổi */ changeWidthHeight(event: any): void; /** * Hàm này dùng để cho phép mở menu config . * Khi mở ở vị trí menu[0] thì các menu khác (menu[n]) đóng lại. * @param: value */ openHandler(value: string): void; /** * Hàm này dùng để mở rộng phần cấu hình. * @param field_text : trả về phần tử được chọn của mảng style_field */ openViewAll(field_text: any): void; /** * Hàm này set customize mở mở phần mở rộng của config từ choose-animations-config truyền về * @param event customize sau khi thay đổi */ openAnimationDetail(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }