import * as i0 from "@angular/core"; import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, ElementRef, EventEmitter, InjectionToken, Injector, ModuleWithProviders, NgZone, OnChanges, OnDestroy, OnInit, PipeTransform, QueryList, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core"; import { DomSanitizer, SafeStyle, SafeUrl } from "@angular/platform-browser"; import * as i3$1 from "@angular/common"; import { ActivatedRouteSnapshot, NavigationExtras, Router, RouterStateSnapshot, UrlTree } from "@angular/router"; import { Observable, Subscription } from "rxjs"; import * as i4 from "inet-core"; import { CoreService, HttpClientService, NotificationService, SecurityService } from "inet-core"; import { HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpParams, HttpRequest } from "@angular/common/http"; import * as i2 from "@ngx-translate/core"; import { TranslateLoader, TranslateModule, TranslateService } from "@ngx-translate/core"; import { BsLocaleService } from "ngx-bootstrap/datepicker"; import * as i6 from "ngx-bootstrap/modal"; import { BsModalService } from "ngx-bootstrap/modal"; import * as i3 from "@angular/forms"; import { AbstractControl, ControlValueAccessor, UntypedFormBuilder, UntypedFormGroup, Validator } from "@angular/forms"; import * as i5 from "ngx-bootstrap/tooltip"; import * as i7 from "ngx-bootstrap/popover"; import { PopoverConfig } from "ngx-bootstrap/popover"; export interface Application { dbmsType?: string; description?: string; group?: string; libs: any[]; marketplace: boolean; method?: string; modules: any[]; name?: string; photos: any[]; templateID?: string; trialDay?: number; trialMode: boolean; uis: any[]; updateVersion: number; uuid?: string; version?: string; zones: any[]; } export declare class SystemApplication { domain?: string; firmContext?: string; homepage?: string; icon?: string; module?: string; name?: string; organId?: string; pattern?: string; prefixUri?: string; webContext?: string; widget?: string; } export declare class UserRole { user: boolean; admin: boolean; community: boolean; } export declare class Message { application?: string; alert?: string; sender?: string; content?: string; badge: number; sound: string; } export declare class ChatMessage { application?: string; organization?: string; sender?: string; sent?: number; message?: Message; messageType?: string; alias: string[]; } export declare class NotifyMessage { uuid?: string; application?: string; context?: string; activityID?: string; message?: string; sender?: string; fullname?: string; usercode?: string; created?: number; read?: boolean; mredirectURL?: string; mshortcutURL?: string; redirectURL?: string; shortcutURL?: string; params?: any; } export declare class NotifyMessageContent { action?: string; alert?: string; badge?: string; content?: string; msgID?: string; sound: string; ttl?: string; } export declare class NotifyMessageItem { uuid?: string; alias?: string[]; application?: string; channelIds?: string[]; deviceTypes?: string[]; message?: NotifyMessageContent; messageType?: string; organization?: string; sender?: string; sent?: number; variants?: any[]; } export declare class Address { address?: string; districtCode?: string; districtName?: string; provinceCode?: string; provinceName?: string; countryCode?: string; countryName?: string; stateCode?: string; stateName?: string; state?: string; postcode?: string; } export declare class Contact { salutationType?: string; sex?: string; firstName?: string; lastName?: string; middleName?: string; fullName?: string; primaryEmail?: string; officePhone?: number; mobilePhone?: string; homePhone?: string; fax?: number; dateOfBirth?: number; fullDateOfBirth?: any; organId?: string; organName?: string; title?: string; department?: string; contactType?: string; leadSource?: string; address?: Address; addressStr?: string; description?: string; status?: string; uuid?: string; type?: string; avatar?: string; readonly userCode?: string; constructor(); } export declare class Organization { readonly uuid?: string; readonly organId?: string; createdDate?: number; name?: string; primaryEmail?: string; type?: string; address?: string; officeAddress: Address; description?: string; officeAddressStr?: string; taxCode?: string; foreignName?: string; abbreviationName?: string; website?: string; primaryPhone?: string; companySize?: string; industry?: string; legalRepName?: string; legalRepCanonId?: string; createdBy?: string; logo?: string; readonly ownerId?: string; readonly memberOfId?: string; readonly ownerShip?: string; readonly region?: string; readonly modifiedBy?: string; readonly modifiedDate?: number; banks?: Array; busAces?: Array; constructor(); } export declare class OrganizationInformation { readonly organId?: string; readonly secret?: string; readonly mercuryAPIKey?: string; readonly mercurySecret?: string; orgName?: string; email?: string; address1?: string; phone?: string; city?: string; fax?: string; country?: string; languageUsed?: string; readonly logo?: string; readonly uriPrefix?: string; readonly acctPrxDomain?: string; readonly byteDataUsed?: number; readonly expiredDate?: number; readonly activedDate?: number; readonly status?: string; readonly glorganprofileload?: Organization; } export declare class ResponseUploadFile { elements: ResponseFileItem[]; } export declare class ResponseFileItem { uuid?: string; name?: string; mimetype?: string; filesize: number; } export declare function AutoUnsubscribe(): ClassDecorator; export declare function Logger(hooks?: string[]): ClassDecorator; declare namespace safe_pipe_d_exports { export { SafePipe }; } export declare class SafePipe implements PipeTransform { private sanitizer; constructor(sanitizer: DomSanitizer); transform(url: string): SafeUrl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare namespace safe_html_pipe_d_exports { export { SafeHtmlPipe }; } export declare class SafeHtmlPipe implements PipeTransform { private sanitized; constructor(sanitized: DomSanitizer); transform(value: string): import("@angular/platform-browser").SafeHtml; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare namespace safe_pipe_module_d_exports { export { SafePipeModule }; } export declare class SafePipeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class AuthenticateGuard { private securityService; constructor(securityService: SecurityService); canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | Promise | boolean | UrlTree; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class LocationService { private http; private url; private $countryCache; private $provinceCache; private $districtCache; private countries; private provinceData; private districtData; constructor(http: HttpClientService); private getCountry; private _getProvinceByCountryCode; private _getDistrictByCode; listCountry(): Observable; getProvinceByCountryId(countryId: string): Observable; getDistrictByProvinceId(uuid: string): Observable; getProvinceByCountryCode(countryCode: string): Observable; getDistrictByCode(countryCode: string, provinceCode: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class DictionaryService { private http; private url; private $findObservableCache; private store; private inventory; constructor(http: HttpClientService); findByKeys(keyStr: string): Observable; getSex(params?: any): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class NotifyMessageService { private http; private url; constructor(http: HttpClientService); getMessages(params?: any): Observable; count(params?: any): Promise; clearAll(params?: any): Observable; loadNotify(app: string, activityId: string): Observable; clearByActivityId(activityId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class HttpsRequestInterceptor implements HttpInterceptor { private securityService; private coreService; private httpClientService; constructor(securityService: SecurityService, coreService: CoreService, httpClientService: HttpClientService); intercept(req: HttpRequest, next: HttpHandler): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class InterceptorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class CloudTransLoader implements TranslateLoader { private store; constructor(); assign(lang: string, data: any): any; defineLocale(lang: string, data: any): void; getTranslation(lang: string): Observable; getResourceByLang(lang: string): any; /** * Convert complex js object to dot notation js object */ private dotizeStringToJSON; /** * Convert Java .properties files data to JSON */ private propertiesToJSON; private asciiToNative; private native2Ascii; /** * Convert items from the server to Translation */ convertResourceToObject(items: any[]): any; /** * Convert Java .properties files data to Translation */ convertPropertiesToObject(str: string): any; setResources(lang: string, items: any[]): void; } export declare class CloudTranslateService { private http; private translate; static LANGUAGE_KEY: string; static GRID_KEY: string; private url; constructor(http: HttpClientService, translate: TranslateService); getAllMessage(): Observable; getMessageByApp(appName: string): Observable; getCurrentLang(): string; setCurrentLang(lang: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class CloudTranslateModule { translate: TranslateService; localeService: BsLocaleService; private cloudTranslate; static forRoot(config?: any): ModuleWithProviders; constructor(translate: TranslateService, localeService: BsLocaleService, cloudTranslate: CloudTranslateService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare const systemViLocale: { abbr: string; vi: string; en: string; months: string[]; monthsShort: string[]; weekdays: string[]; weekdaysShort: string[]; weekdaysMin: string[]; longDateFormat: { LT: string; LTS: string; L: string; LL: string; LLL: string; LLLL: string; }; calendar: { sameDay: string; nextDay: string; nextWeek: string; lastDay: string; lastWeek: string; sameElse: string; }; relativeTime: { future: string; past: string; s: string; ss: string; m: string; mm: string; h: string; hh: string; d: string; dd: string; M: string; MM: string; y: string; yy: string; }; dayOfMonthOrdinalParse: RegExp; ordinal: (_num: string) => string; week: { dow: number; doy: number; }; grid: { displayMsg: string; emptyMsg: string; beforePageText: string; afterPageText: string; firstText: string; prevText: string; nextText: string; lastText: string; refreshText: string; searchText: string; searchPlaceholder: string; downloadText: string; translations: { headerReload: string; headerColumnSelector: string; indexColumn: string; selectColumn: string; selectRow: string; selectAllRows: string; expandColumn: string; expandRow: string; paginationLimit: string; paginationRange: string; firstText: string; prevText: string; nextText: string; lastText: string; }; }; TOOLBAR: { ADD: string; EDIT: string; SAVE: string; UPDATE: string; DELETE: string; SEARCH: string; OK: string; CANCEL: string; RESET: string; BACK: string; CLOSE: string; DOWNLOAD: string; }; COMMON: { WELCOME: string; PLACEHOLDER_SEARCH: string; NOTIFICATION: { TITLE: string; EMPTY_MSG: string; LOAD_MORE: string; ITEMS: string; CLEAR_ALL: string; }; APPLICATION: { TITLE: string; EVENTS_TODAY: string; NEW_ACTIVITY: string; }; MENU: { LANGUAGE: string; HOME: string; USER_PROFILE: string; ORGANIZATION_INFORMATION: string; CONFIG: string; SIGNATURE: string; ABOUT: string; BACK: string; LOGOUT: string; WORKSPACE: string; }; SELECTION: { DEFAULT_VALUE: string; }; MODULE: { ADDRESS: { CITY: string; DISTRICT: string; COUNTRY: string; ADDRESS: string; STREET: string; ADDRESS_REQUIRED_MSG: string; COUNTRY_REQUIRED_MSG: string; }; ORGANIZATION: { TITLE: string; CODE: string; NAME: string; FOREIGN_NAME: string; ABBREVIATION_NAME: string; TAX_CODE: string; BILLING_ADDRESS: string; LEGAL_REPRESENTATIVE: string; WEBSITE: string; INDUSTRY: string; COMPANY_SIZE: string; DESCRIPTION: string; LINK: string; CODE_REQUIRED_MSG: string; NAME_REQUIRED_MSG: string; EMAIL: string; EMAIL_INVALID_MSG: string; PHONE: string; FAX: string; CITY: string; LANGUAGE: string; CHOSEN_IMAGE: string; STANDARD_IMAGE_SIZE: string; UPDATE_LOGO_ERROR_MSG: string; EMPLOYEES: string; SELF_EMPLOYED: string; REMOVE_LOGO: string; SAVE_LOGO: string; REMOVE_LOGO_SUCCESSFUL_MSG: string; REMOVE_LOGO_ERROR_MSG: string; UPDATE_SUCCESSFUL_MSG: string; UPDATE_ERROR_MSG: string; TAXCODE_REQUIRED_MSG: string; }; USER_PROFILE: { TITLE: string; USERNAME: string; LAST_NAME: string; MIDDLE_NAME: string; FIRST_NAME: string; BIRTHDAY: string; PHONE: string; MOBILE: string; FULL_NAME: string; EMAIL: string; GROUP_NAME: string; DESCRIPTION: string; GENDER: string; MALE: string; FEMALE: string; OTHER: string; FIRST_NAME_REQUIRED_MSG: string; LAST_NAME_REQUIRED_MSG: string; EMAIL_REQUIRED_MSG: string; EMAIL_INVALID_MSG: string; GENERAL_INFORMATION: string; CHOSEN_IMAGE: string; SECURITY_INFORMATION: string; CURRENT_PASSWORD: string; NEW_PASSWORD: string; CONFIRM_NEW_PASSWORD: string; CHANGE_PASSWORD: string; CURRENT_PASSWORD_REQUIRED_MSG: string; NEW_PASSWORD_REQUIRED_MSG: string; CONFIRM_NEW_PASSWORD_REQUIRED_MSG: string; PASSWORD_DO_NOT_MATCH: string; CHANGE_PASSWORD_INFO_MSG: string; CHANGE_PASSWORD_SUCCESSFUL_MSG: string; CHANGE_PASSWORD_ERROR_MSG: string; CURRENT_PASSWORD_INCORRECT: string; UPDATE_PROFILE_SUCCESSFUL_MSG: string; UPDATE_PROFILE_ERROR_MSG: string; AVATAR: string; SAVE_IMAGE: string; REMOVE_IMAGE: string; IMAGE_UPDATE_SUCCESSFUL_MSG: string; IMAGE_UPDATE_ERROR_MSG: string; IMAGE_REMOVE_SUCCESSFUL_MSG: string; IMAGE_REMOVE_ERROR_MSG: string; SIGNATURE_INFORMATION: string; ACCESS_ROLE: string; SIGNATURE_VERIFY: string; SIGNATURE_FILE: string; SIGNATURE_VERIFY_REQUIRED_MSG: string; UPDATE_SIGNATURE_SUCCESSFUL_MSG: string; UPDATE_SIGNATURE_ERROR_MSG: string; SIGNATURE_FILE_REQUIRED_MSG: string; UPDATE_SIGNATURE: string; NO_FILE: string; CHOOSE: string; }; VIEWER: { UNSUPPORTED: string; }; CROPPER: { TITLE: string; SELECT_NEW_IMAGE: string; }; SIGNATURE_MANAGE: { CREATE_SIGN: string; TITLE: string; NAME: string; NAME_REQUIRED_MSG: string; MOBILE: string; ISSUED: string; FILE: string; FILE_REQUIRED_MSG: string; PHOTO: string; RESULTS: string; DELETE_SUCCESSFUL_MSG: string; DELETE_ERROR_MSG: string; SAVE_SUCCESSFUL_MSG: string; SAVE_ERROR_MSG: string; NO_INFORMATION: string; KEY_SEARCH: string; }; EMAIL_TEMPLATE: { SEND_TEST: string; EMAIL: string; LIST: string; ADD_EMAIL: string; EDIT_EMAIL: string; EMAIL_CODE: string; EMAIL_NAME: string; EMAIL_SUBJECT: string; EMAIL_CONTENT: string; NOTE: string; SAMPLE_INFORMATION: string; SYSTEM_INFORMATION: string; TO: string; FROM: string; EMAIL_CODE_EXIST_MSG: string; EMAIL_CODE_REQUIRED: string; EMAIL_NAME_REQUIRED: string; ADD_SUCCESS: string; ADD_ERROR: string; UPDATE_SUCCESS: string; UPDATE_ERROR: string; DELETE_SUCCESS: string; DELETE_ERROR: string; DELETE_TITLE: string; DELETE_CONTENT: string; ACTIVE: string; }; REPORT_TEMPLATE: { TITLE: string; LIST: string; ADD: string; APPLICATION: string; MODULE: string; TYPE: string; VERSION: string; NAME: string; DESCRIPTION: string; FILE_UPLOAD: string; APPLICATION_REQUIRED: string; MODULE_REQUIRED: string; TYPE_REQUIRED: string; VERSION_REQUIRED: string; NAME_REQUIRED: string; DESCRIPTION_REQUIRED: string; ADD_SUCCESS: string; ADD_ERROR: string; UPDATE_SUCCESS: string; UPDATE_ERROR: string; DELETE_SUCCESS: string; DELETE_ERROR: string; DELETE_TITLE: string; DELETE_CONTENT: string; NO_FILE: string; CHOOSE: string; }; }; PLUGIN: { SERVICE_UNAVAILABLE: string; SERVICE_MESSAGE_ERROR: string; }; }; INDICATOR: { LOADING: string; PROCESSING: string; SAVING: string; UPDATING: string; }; ALL_SELECTED: string; CANCEL: string; CLEAR_ALL_FILTERS: string; CLEAR_ALL_SORTING: string; CLEAR_ALL_GROUPING: string; CLEAR_PINNING: string; COLLAPSE_ALL_GROUPS: string; COLUMNS: string; COLUMN_RESIZE_BY_CONTENT: string; COMMANDS: string; CONTAINS: string; COPY: string; EMPTY_DATA_WARNING_MESSAGE: string; ENDS_WITH: string; EQUALS: string; EQUAL_TO: string; EXPAND_ALL_GROUPS: string; EXPORT_TO_CSV: string; EXPORT_TO_EXCEL: string; EXPORT_TO_TAB_DELIMITED: string; EXPORT_TO_TEXT_FORMAT: string; FROM_TO_OF_TOTAL_ITEMS: string; FORCE_FIT_COLUMNS: string; FREEZE_COLUMNS: string; INVALID_FLOAT: string; GREATER_THAN: string; GREATER_THAN_OR_EQUAL_TO: string; GROUP_BY: string; HIDE_COLUMN: string; IN_COLLECTION_SEPERATED_BY_COMMA: string; ITEMS: string; ITEMS_PER_PAGE: string; ITEMS_SELECTED: string; LAST_UPDATE: string; LESS_THAN: string; LESS_THAN_OR_EQUAL_TO: string; NOT_CONTAINS: string; NOT_EQUAL_TO: string; NOT_IN_COLLECTION_SEPERATED_BY_COMMA: string; OF: string; OK: string; PAGE: string; PAGE_X_OF_Y: string; REFRESH_DATASET: string; REMOVE_FILTER: string; REMOVE_SORT: string; SAVE: string; SELECT_ALL: string; SORT_ASCENDING: string; SORT_DESCENDING: string; STARTS_WITH: string; SYNCHRONOUS_RESIZE: string; TOGGLE_FILTER_ROW: string; TOGGLE_PRE_HEADER_ROW: string; X_OF_Y_SELECTED: string; SETTING: { USER_PROFILE: { CURRENT_PASSWORD: string; NEW_PASSWORD: string; CONFIRM_NEW_PASSWORD: string; CHANGE_PASSWORD: string; CURRENT_PASSWORD_REQUIRED_MSG: string; NEW_PASSWORD_REQUIRED_MSG: string; CONFIRM_NEW_PASSWORD_REQUIRED_MSG: string; PASSWORD_DO_NOT_MATCH: string; CHANGE_PASSWORD_SUCCESSFUL_MSG: string; CHANGE_PASSWORD_ERROR_MSG: string; NEW_PASSWORD_INVALID: string; CURRENT_PASSWORD_INCORRECT: string; USERNAME: string; LAST_NAME: string; MIDDLE_NAME: string; FIRST_NAME: string; BIRTHDAY: string; PHONE: string; COMPANY_PHONE: string; ADDRESS: string; MOBILE: string; FULL_NAME: string; FULL_NAME_IS_REQUIRED: string; EMAIL: string; COMPANY_EMAIL: string; GENDER: string; MALE: string; FEMALE: string; OTHER: string; FIRST_NAME_REQUIRED_MSG: string; LAST_NAME_REQUIRED_MSG: string; EMAIL_REQUIRED_MSG: string; EMAIL_INVALID_MSG: string; GENERAL_INFORMATION: string; PERSONAL_INFORMATION: string; CHOSEN_IMAGE: string; UPDATE_PROFILE_SUCCESSFUL_MSG: string; UPDATE_PROFILE_ERROR_MSG: string; IMAGE_UPDATE_SUCCESSFUL_MSG: string; IMAGE_UPDATE_ERROR_MSG: string; CROPPER: { TITLE: string; SELECT_NEW_IMAGE: string; OK: string; CANCEL: string; }; UPDATE: string; FIRST_NAME_INVALID_MSG: string; LAST_NAME_INVALID_MSG: string; PHONE_REQUIRED_MSG: string; PHONE_INVALID_MSG: string; ADDRESS_REQUIRED_MSG: string; OFFICE_PHONE_REQUIRED_MSG: string; PASSWORD_NOT_STRONG_ENOUGH: string; PASSWORD_LENGTH_INVALID_MSG: string; PASSWORD_INVALID_MSG: string; PASSWORD_LENGTH_REQUIRED: string; PASSWORD_REQUIRED_LOWER: string; PASSWORD_REQUIRED_UPPER: string; PASSWORD_REQUIRED_SPECIAL: string; PASSWORD_REQUIRED_NUMERICAL: string; PASSWORD_WARNING: string; }; }; }; export declare const systemEnLocale: { abbr: string; vi: string; en: string; months: string[]; monthsShort: string[]; weekdays: string[]; weekdaysShort: string[]; weekdaysMin: string[]; longDateFormat: { LT: string; LTS: string; L: string; LL: string; LLL: string; LLLL: string; }; calendar: { sameDay: string; nextDay: string; nextWeek: string; lastDay: string; lastWeek: string; sameElse: string; }; relativeTime: { future: string; past: string; s: string; ss: string; m: string; mm: string; h: string; hh: string; d: string; dd: string; M: string; MM: string; y: string; yy: string; }; dayOfMonthOrdinalParse: RegExp; ordinal: (_num: string) => string; week: { dow: number; doy: number; }; grid: { displayMsg: string; emptyMsg: string; beforePageText: string; afterPageText: string; firstText: string; prevText: string; nextText: string; lastText: string; refreshText: string; searchText: string; searchPlaceholder: string; downloadText: string; translations: { headerReload: string; headerColumnSelector: string; indexColumn: string; selectColumn: string; selectRow: string; selectAllRows: string; expandColumn: string; expandRow: string; paginationLimit: string; paginationRange: string; firstText: string; prevText: string; nextText: string; lastText: string; }; }; TOOLBAR: { ADD: string; EDIT: string; SAVE: string; UPDATE: string; DELETE: string; SEARCH: string; OK: string; CANCEL: string; RESET: string; BACK: string; CLOSE: string; DOWNLOAD: string; }; COMMON: { WELCOME: string; PLACEHOLDER_SEARCH: string; NOTIFICATION: { TITLE: string; EMPTY_MSG: string; LOAD_MORE: string; ITEMS: string; CLEAR_ALL: string; }; APPLICATION: { TITLE: string; EVENTS_TODAY: string; NEW_ACTIVITY: string; }; MENU: { LANGUAGE: string; HOME: string; USER_PROFILE: string; ORGANIZATION_INFORMATION: string; SIGNATURE: string; CONFIG: string; ABOUT: string; LOGOUT: string; BACK: string; WORKSPACE: string; }; SELECTION: { DEFAULT_VALUE: string; }; MODULE: { ADDRESS: { CITY: string; COUNTRY: string; DISTRICT: string; ADDRESS: string; STREET: string; ADDRESS_REQUIRED_MSG: string; COUNTRY_REQUIRED_MSG: string; }; ORGANIZATION: { TITLE: string; CODE: string; NAME: string; FOREIGN_NAME: string; ABBREVIATION_NAME: string; TAX_CODE: string; BILLING_ADDRESS: string; LEGAL_REPRESENTATIVE: string; WEBSITE: string; INDUSTRY: string; COMPANY_SIZE: string; DESCRIPTION: string; LINK: string; CODE_REQUIRED_MSG: string; NAME_REQUIRED_MSG: string; EMAIL: string; EMAIL_INVALID_MSG: string; PHONE: string; FAX: string; CITY: string; LANGUAGE: string; CHOSEN_IMAGE: string; STANDARD_IMAGE_SIZE: string; UPDATE_LOGO_ERROR_MSG: string; EMPLOYEES: string; SELF_EMPLOYED: string; REMOVE_LOGO: string; SAVE_LOGO: string; REMOVE_LOGO_SUCCESSFUL_MSG: string; REMOVE_LOGO_ERROR_MSG: string; UPDATE_SUCCESSFUL_MSG: string; UPDATE_ERROR_MSG: string; TAXCODE_REQUIRED_MSG: string; }; USER_PROFILE: { TITLE: string; USERNAME: string; LAST_NAME: string; MIDDLE_NAME: string; FIRST_NAME: string; BIRTHDAY: string; PHONE: string; MOBILE: string; FULL_NAME: string; EMAIL: string; GROUP_NAME: string; DESCRIPTION: string; GENDER: string; MALE: string; FEMALE: string; OTHER: string; FIRST_NAME_REQUIRED_MSG: string; LAST_NAME_REQUIRED_MSG: string; EMAIL_REQUIRED_MSG: string; EMAIL_INVALID_MSG: string; GENERAL_INFORMATION: string; CHOSEN_IMAGE: string; SECURITY_INFORMATION: string; CURRENT_PASSWORD: string; NEW_PASSWORD: string; CONFIRM_NEW_PASSWORD: string; CHANGE_PASSWORD: string; CURRENT_PASSWORD_REQUIRED_MSG: string; NEW_PASSWORD_REQUIRED_MSG: string; CONFIRM_NEW_PASSWORD_REQUIRED_MSG: string; PASSWORD_DO_NOT_MATCH: string; CHANGE_PASSWORD_INFO_MSG: string; CHANGE_PASSWORD_SUCCESSFUL_MSG: string; CHANGE_PASSWORD_ERROR_MSG: string; CURRENT_PASSWORD_INCORRECT: string; UPDATE_PROFILE_SUCCESSFUL_MSG: string; UPDATE_PROFILE_ERROR_MSG: string; AVATAR: string; SAVE_IMAGE: string; REMOVE_IMAGE: string; IMAGE_UPDATE_SUCCESSFUL_MSG: string; IMAGE_UPDATE_ERROR_MSG: string; IMAGE_REMOVE_SUCCESSFUL_MSG: string; IMAGE_REMOVE_ERROR_MSG: string; SIGNATURE_INFORMATION: string; ACCESS_ROLE: string; SIGNATURE_VERIFY: string; SIGNATURE_FILE: string; SIGNATURE_VERIFY_REQUIRED_MSG: string; UPDATE_SIGNATURE_SUCCESSFUL_MSG: string; UPDATE_SIGNATURE_ERROR_MSG: string; SIGNATURE_FILE_REQUIRED_MSG: string; UPDATE_SIGNATURE: string; NO_FILE: string; CHOOSE: string; }; VIEWER: { UNSUPPORTED: string; }; CROPPER: { TITLE: string; SELECT_NEW_IMAGE: string; }; SIGNATURE_MANAGE: { CREATE_SIGN: string; TITLE: string; NAME: string; NAME_REQUIRED_MSG: string; MOBILE: string; ISSUED: string; FILE: string; RESULTS: string; FILE_REQUIRED_MSG: string; PHOTO: string; DELETE_SUCCESSFUL_MSG: string; DELETE_ERROR_MSG: string; SAVE_SUCCESSFUL_MSG: string; SAVE_ERROR_MSG: string; NO_INFORMATION: string; KEY_SEARCH: string; }; EMAIL_TEMPLATE: { SEND_TEST: string; EMAIL: string; LIST: string; ADD_EMAIL: string; EDIT_EMAIL: string; EMAIL_CODE: string; EMAIL_NAME: string; EMAIL_SUBJECT: string; EMAIL_CONTENT: string; NOTE: string; SAMPLE_INFORMATION: string; SYSTEM_INFORMATION: string; TO: string; FROM: string; EMAIL_CODE_EXIST_MSG: string; EMAIL_CODE_REQUIRED: string; EMAIL_NAME_REQUIRED: string; ADD_SUCCESS: string; ADD_ERROR: string; UPDATE_SUCCESS: string; UPDATE_ERROR: string; DELETE_SUCCESS: string; DELETE_ERROR: string; DELETE_TITLE: string; DELETE_CONTENT: string; ACTIVE: string; }; REPORT_TEMPLATE: { TITLE: string; LIST: string; ADD: string; APPLICATION: string; MODULE: string; TYPE: string; VERSION: string; NAME: string; DESCRIPTION: string; FILE_UPLOAD: string; APPLICATION_REQUIRED: string; MODULE_REQUIRED: string; TYPE_REQUIRED: string; VERSION_REQUIRED: string; NAME_REQUIRED: string; DESCRIPTION_REQUIRED: string; ADD_SUCCESS: string; ADD_ERROR: string; UPDATE_SUCCESS: string; UPDATE_ERROR: string; DELETE_SUCCESS: string; DELETE_ERROR: string; DELETE_TITLE: string; DELETE_CONTENT: string; NO_FILE: string; CHOOSE: string; }; }; PLUGIN: { SERVICE_UNAVAILABLE: string; SERVICE_MESSAGE_ERROR: string; }; }; INDICATOR: { LOADING: string; PROCESSING: string; SAVING: string; UPDATING: string; }; ALL_SELECTED: string; CANCEL: string; CLEAR_ALL_FILTERS: string; CLEAR_ALL_GROUPING: string; CLEAR_ALL_SORTING: string; CLEAR_PINNING: string; COLLAPSE_ALL_GROUPS: string; COLUMNS: string; COLUMN_RESIZE_BY_CONTENT: string; COMMANDS: string; CONTAINS: string; COPY: string; EMPTY_DATA_WARNING_MESSAGE: string; ENDS_WITH: string; EQUALS: string; EQUAL_TO: string; EXPAND_ALL_GROUPS: string; EXPORT_TO_CSV: string; EXPORT_TO_EXCEL: string; EXPORT_TO_TAB_DELIMITED: string; EXPORT_TO_TEXT_FORMAT: string; FROM_TO_OF_TOTAL_ITEMS: string; FORCE_FIT_COLUMNS: string; FREEZE_COLUMNS: string; INVALID_FLOAT: string; GREATER_THAN: string; GREATER_THAN_OR_EQUAL_TO: string; GROUP_BY: string; HIDE_COLUMN: string; IN_COLLECTION_SEPERATED_BY_COMMA: string; ITEMS: string; ITEMS_PER_PAGE: string; ITEMS_SELECTED: string; LAST_UPDATE: string; LESS_THAN: string; LESS_THAN_OR_EQUAL_TO: string; NOT_CONTAINS: string; NOT_EQUAL_TO: string; NOT_IN_COLLECTION_SEPERATED_BY_COMMA: string; OF: string; OK: string; PAGE: string; PAGE_X_OF_Y: string; REFRESH_DATASET: string; REMOVE_FILTER: string; REMOVE_SORT: string; SAVE: string; SELECT_ALL: string; SORT_ASCENDING: string; SORT_DESCENDING: string; STARTS_WITH: string; SYNCHRONOUS_RESIZE: string; TOGGLE_FILTER_ROW: string; TOGGLE_PRE_HEADER_ROW: string; X_OF_Y_SELECTED: string; SETTING: { USER_PROFILE: { CURRENT_PASSWORD: string; NEW_PASSWORD: string; CONFIRM_NEW_PASSWORD: string; CHANGE_PASSWORD: string; CURRENT_PASSWORD_REQUIRED_MSG: string; NEW_PASSWORD_REQUIRED_MSG: string; CONFIRM_NEW_PASSWORD_REQUIRED_MSG: string; PASSWORD_DO_NOT_MATCH: string; CHANGE_PASSWORD_SUCCESSFUL_MSG: string; CHANGE_PASSWORD_ERROR_MSG: string; NEW_PASSWORD_INVALID: string; CURRENT_PASSWORD_INCORRECT: string; USERNAME: string; LAST_NAME: string; MIDDLE_NAME: string; FIRST_NAME: string; BIRTHDAY: string; ADDRESS: string; PHONE: string; MOBILE: string; COMPANY_PHONE: string; FULL_NAME: string; FULL_NAME_IS_REQUIRED: string; EMAIL: string; COMPANY_EMAIL: string; GROUP_NAME: string; DESCRIPTION: string; GENDER: string; MALE: string; FEMALE: string; OTHER: string; FIRST_NAME_REQUIRED_MSG: string; LAST_NAME_REQUIRED_MSG: string; EMAIL_REQUIRED_MSG: string; EMAIL_INVALID_MSG: string; GENERAL_INFORMATION: string; PERSONAL_INFORMATION: string; CHOSEN_IMAGE: string; UPDATE_PROFILE_SUCCESSFUL_MSG: string; UPDATE_PROFILE_ERROR_MSG: string; IMAGE_UPDATE_SUCCESSFUL_MSG: string; IMAGE_UPDATE_ERROR_MSG: string; CROPPER: { TITLE: string; SELECT_NEW_IMAGE: string; OK: string; CANCEL: string; }; UPDATE: string; FIRST_NAME_INVALID_MSG: string; LAST_NAME_INVALID_MSG: string; PHONE_REQUIRED_MSG: string; PHONE_INVALID_MSG: string; ADDRESS_REQUIRED_MSG: string; OFFICE_PHONE_REQUIRED_MSG: string; PASSWORD_NOT_STRONG_ENOUGH: string; PASSWORD_LENGTH_INVALID_MSG: string; PASSWORD_INVALID_MSG: string; PASSWORD_LENGTH_REQUIRED: string; PASSWORD_REQUIRED_LOWER: string; PASSWORD_REQUIRED_UPPER: string; PASSWORD_REQUIRED_SPECIAL: string; PASSWORD_REQUIRED_NUMERICAL: string; PASSWORD_WARNING: string; }; }; }; export declare class WebsocketModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace collapse_directive_d_exports { export { CollapseDirective }; } export declare class CollapseDirective implements OnInit { private _el; expanded: boolean; toggleEl: HTMLElement | undefined; private _element; constructor(_el: ElementRef); ngOnInit(): void; show(): void; hide(): void; toggle(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class CollapseModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class DialogAction { title: string; iconCls: string; cls: string; fn?: Function; params?: any; constructor(title: string, cls: string, iconCls: string, fn?: Function | undefined, params?: any); } declare namespace modal_content_directive_d_exports { export { ModalContentDirective }; } export declare class ModalContentDirective { templateRef: TemplateRef; constructor(templateRef: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace modal_action_directive_d_exports { export { ModalActionDirective }; } export declare class ModalActionDirective { templateRef: TemplateRef; constructor(templateRef: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace modal_header_directive_d_exports { export { ModalHeaderDirective }; } export declare class ModalHeaderDirective { templateRef: TemplateRef; constructor(templateRef: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace confirm_dialog_component_d_exports { export { ConfirmDialogComponent }; } export declare class ConfirmDialogComponent implements AfterViewInit { private modalService; private translate; confirmModal: TemplateRef | undefined; modalHeaderItem: ModalHeaderDirective; modalContentItem: ModalContentDirective; modalActionItem: ModalActionDirective; id: string; iconCls: string; title: string; content: string; cls: string; actions: Array; config: any; data: any; private modalRef; private toolbarTranslations; private readonly translateSubscription; constructor(modalService: BsModalService, translate: TranslateService); ngAfterViewInit(): void; hide(): void; show(): void; pushAction(action: DialogAction): void; setActions(actions: Array): void; getActions(): Array; setData(v: any): void; getData(): any; getId(): string; callFn(fn?: Function, params?: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class DialogModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace list_view_component_d_exports { export { ListViewComponent }; } export declare class ListViewComponent implements OnChanges { listItems: Array; selectedItems: never[]; activeItem: number; items: never[]; onSelectionChanged: EventEmitter; listBody: { nativeElement: HTMLElement; }; toolbar: TemplateRef; template: TemplateRef; search: TemplateRef; footer: TemplateRef; idProperty: string; autoSelect: boolean; singleSelect: boolean; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private autoSelectItem; requestFocus(): void; handleKeyPress(event: KeyboardEvent): void; handleClick(event: any, index: number): void; updateItemState(): void; scrollItemIntoView(index: number): void; toggleItem(index: number): void; deselectItem(index: number): void; selectItem(index: number): void; selectAll(): void; clearSelection(): void; selectById(id: string): void; deselectById(id: string): void; getIdProperty(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace list_view_directive_d_exports { export { ListViewDirective }; } export declare class ListViewDirective implements OnInit, OnChanges, OnDestroy { private _element; private _vr; private _tr; selectedItems: never[]; activeItem: number; listOf: never[]; onSelectionChanged: EventEmitter; constructor(_element: ElementRef, _vr: ViewContainerRef, _tr: TemplateRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ListViewModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class FileFormatService { constructor(); getImagePath(): string; getFileFormatPath(): string; getUrlByExt(ext: string): string; getUrlByName(name: string): string; getExtByName(name: string): string; getEditFormats(): string[]; getViewFormats(): string[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace file_ext_pipe_d_exports { export { FileExtPipe }; } export declare class FileExtPipe implements PipeTransform { private formatService; constructor(formatService: FileFormatService); transform(name: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare namespace file_icon_pipe_d_exports { export { FileIconPipe }; } export declare class FileIconPipe implements PipeTransform { private formatService; constructor(formatService: FileFormatService); transform(name: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class ViewerService { private router; private formatService; private http; private static files; private routerPath; private downloadUrl; private emitLoadSource; loadEmitted: import("rxjs").Observable; constructor(router: Router, formatService: FileFormatService, http: HttpClientService); setRouterPath(v: string): void; getRouterPath(): string; setDownloadUrl(v: string): void; getDownloadUrl(): string; open(ext: string, docId: string, extras?: NavigationExtras): void; hasNameInPlugin(name: string): boolean; private getINetInstances; hasViewerInBrowser(): boolean; hasEdit(ext: string): boolean; hasView(ext: string): boolean; downloadById(docId: string): void; setFiles(v: any): void; getFiles(): any[]; /** * Returns true if this url is viewer module, false otherwise * @param url - the give URL */ isViewerModuleByUrl(url: string): boolean; /** * Fire event when document loaded * */ sendEvent($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace viewer_directive_d_exports { export { ViewerDirective }; } export declare class ViewerDirective { private viewerService; ext: string | undefined; docId: string | undefined; files?: Array; extras?: NavigationExtras; constructor(viewerService: ViewerService); onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace file_list_component_d_exports { export { FileListComponent, FileListItem }; } export declare class FileListComponent implements OnInit { fileEl: HTMLInputElement | undefined; files: FileListItem[]; removable: boolean; template: TemplateRef | undefined; onClick: EventEmitter; onRemove: EventEmitter; ngOnInit(): void; clickFile(file: FileListItem, event: any): void; removeFile(file: FileListItem): void; addFiles(files: FileList | File[]): void; private _initFileEl; private _readImageBase64; private _fileIsImage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export interface FileListItem extends File { id?: string; url?: string; image?: boolean; } export declare class FileModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class FileLikeObject { lastModifiedDate: any; size: any; type: string; name: string; rawFile: string; constructor(fileOrInput: any); _createFromFakePath(path: string): void; _createFromObject(object: { size: number; type: string; name: string; }): void; } declare class FileItem { file: FileLikeObject; _file: File; alias: string | undefined; url: string | undefined; method: string | undefined; headers: any; withCredentials: boolean; formData: any; isReady: boolean; isUploading: boolean; isUploaded: boolean; isSuccess: boolean; isCancel: boolean; isError: boolean; progress: number; index: number; _xhr: XMLHttpRequest | undefined; _form: any; protected uploader: FileUploader; protected some: File; protected options: FileUploaderOptions; constructor(uploader: FileUploader, some: File, options: FileUploaderOptions); upload(): void; cancel(): void; remove(): void; onBeforeUpload(): void; onBuildForm(form: any): any; onProgress(progress: number): any; onSuccess(response: string, status: number, headers: ParsedResponseHeaders): any; onError(response: string, status: number, headers: ParsedResponseHeaders): any; onCancel(response: string, status: number, headers: ParsedResponseHeaders): any; onComplete(response: string, status: number, headers: ParsedResponseHeaders): any; _onBeforeUpload(): void; _onBuildForm(form: any): void; _onProgress(progress: number): void; _onSuccess(response: string, status: number, headers: ParsedResponseHeaders): void; _onError(response: string, status: number, headers: ParsedResponseHeaders): void; _onCancel(response: string, status: number, headers: ParsedResponseHeaders): void; _onComplete(response: string, status: number, headers: ParsedResponseHeaders): void; _prepareToUploading(): void; } export interface Headers { name: string; value: string; } export type ParsedResponseHeaders = { [headerFieldName: string]: string; }; export type FilterFunction = { name: string; fn: (item?: FileLikeObject, options?: FileUploaderOptions) => boolean; }; export interface FileUploaderOptions { allowedMimeType?: string[]; allowedFileType?: string[]; autoUpload?: boolean; isHTML5?: boolean; filters?: FilterFunction[]; headers?: Headers[]; method?: string; authToken?: string; maxFileSize?: number; queueLimit?: number; removeAfterUpload?: boolean; url?: string; disableMultipart?: boolean; itemAlias?: string; authTokenHeader?: string; additionalParameter?: { [key: string]: any; }; parametersBeforeFiles?: boolean; formatDataFunction?: Function; formatDataFunctionIsAsync?: boolean; } export declare class FileUploader { authToken: string | undefined; isUploading: boolean; queue: FileItem[]; progress: number; _nextIndex: number; autoUpload: any; authTokenHeader: string; response: EventEmitter; options: FileUploaderOptions; protected _failFilterIndex: number; constructor(options: FileUploaderOptions); setOptions(options: FileUploaderOptions): void; addToQueue(files: File[], options?: FileUploaderOptions, filters?: FilterFunction[] | string): void; removeFromQueue(value: FileItem): void; clearQueue(): void; uploadItem(value: FileItem): void; cancelItem(value: FileItem): void; uploadAll(): void; cancelAll(): void; isFile(value: any): boolean; isFileLikeObject(value: any): boolean; getIndexOfItem(value: any): number; getNotUploadedItems(): any[]; getReadyItems(): any[]; destroy(): void; onAfterAddingAll(fileItems: any): any; onBuildItemForm(fileItem: FileItem, form: any): any; onAfterAddingFile(fileItem: FileItem): any; onWhenAddingFileFailed(item: FileLikeObject, filter: any, options: any): any; onBeforeUploadItem(fileItem: FileItem): any; onProgressItem(fileItem: FileItem, progress: any): any; onProgressAll(progress: any): any; onSuccessItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): any; onErrorItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): any; onCancelItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): any; onCompleteItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): any; onCompleteAll(): any; _mimeTypeFilter(item: FileLikeObject): boolean; _fileSizeFilter(item: FileLikeObject): boolean; _fileTypeFilter(item: FileLikeObject): boolean; _onErrorItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): void; _onCompleteItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): void; protected _headersGetter(parsedHeaders: ParsedResponseHeaders): any; protected _xhrTransport(item: FileItem): any; protected _getTotalProgress(value?: number): number; protected _getFilters(filters: FilterFunction[] | string | undefined): FilterFunction[] | undefined; protected _render(): any; protected _queueLimitFilter(): boolean; protected _isValidFile(file: FileLikeObject, filters: FilterFunction[], options: FileUploaderOptions): boolean; protected _isSuccessCode(status: number): boolean; protected _transformResponse(response: string, headers: ParsedResponseHeaders): string; protected _parseHeaders(headers: string): ParsedResponseHeaders; protected _onWhenAddingFileFailed(item: FileLikeObject, filter: any, options: any): void; protected _onAfterAddingFile(item: FileItem): void; protected _onAfterAddingAll(items: any): void; protected _onBeforeUploadItem(item: FileItem): void; protected _onBuildItemForm(item: FileItem, form: any): void; protected _onProgressItem(item: FileItem, progress: any): void; protected _onSuccessItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): void; protected _onCancelItem(item: FileItem, response: string, status: number, headers: ParsedResponseHeaders): void; } declare namespace file_drop_directive_d_exports { export { FileDropDirective }; } export declare class FileDropDirective { uploader: FileUploader | undefined; fileOver: EventEmitter; onFileDrop: EventEmitter; protected element: ElementRef; constructor(element: ElementRef); getOptions(): FileUploaderOptions | null; getFilters(): any; onDrop(event: any): void; onDragOver(event: any): void; onDragLeave(event: any): any; protected _getTransfer(event: any): any; protected _preventAndStop(event: any): any; protected _haveFiles(types: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace file_select_directive_d_exports { export { FileSelectDirective }; } export declare class FileSelectDirective { uploader: FileUploader | undefined; onFileSelected: EventEmitter; protected element: ElementRef; constructor(element: ElementRef); getOptions(): any; getFilters(): any; isEmptyAfterSelection(): boolean; onChange(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class FileType { static mime_doc: string[]; static mime_xsl: string[]; static mime_ppt: string[]; static mime_psd: string[]; static mime_compress: string[]; static getMimeClass(file: FileLikeObject): string; static fileTypeDetection(inputFilename: string): string; } export declare class FileUploadModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class OpenGraphService { private http; private regex; constructor(http: HttpClientService); loadPreviewLink(link: string, callback: Function): void; isLink(link: string): boolean; loadImageInfo(src: string, callback: Function): void; private convertOpenData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export interface OpenGraphData { title: string; description: string; image: string; url: string; imageInfo?: OpenGraphImageInfo; } export interface OpenGraphImageInfo { width: number; height: number; landscape?: boolean; available?: boolean; } declare namespace link_preview_component_d_exports { export { LinkPreviewComponent }; } export declare class LinkPreviewComponent implements OnInit { private openGraphService; link?: string | undefined; openGraphData?: OpenGraphData | null; removable: boolean; onLoad: EventEmitter; onDelete: EventEmitter; _hidden: boolean; constructor(openGraphService: OpenGraphService); ngOnInit(): void; isPreview(): boolean; setData(data: OpenGraphData): void; getData(): OpenGraphData | null | undefined; setLink(link: string): void; removePreView(): void; getDomain(url?: string): string; clearData(): void; private loadPreview; private loadImageInfo; private setHidden; private isHidden; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class OpenGraphModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class ImageUtils { static getOrientation(imageBase64: string): number; private static base64ToArrayBuffer; static resetOrientation(srcBase64: string, srcOrientation: number, callback: Function): void; private static transformCanvas; } declare namespace image_cropper_component_d_exports { export { CropperPosition, ImageCroppedEvent, ImageCropperComponent }; } export interface CropperPosition { x1: number; y1: number; x2: number; y2: number; } export interface ImageCroppedEvent { base64?: string | null; file?: Blob | null; width: number; height: number; cropperPosition: CropperPosition; } export declare class ImageCropperComponent implements OnChanges { private elementRef; private sanitizer; private cd; private zone; private originalImage; private moveStart?; private maxSize?; private originalSize?; safeImgDataUrl?: SafeUrl | string; marginLeft: SafeStyle | string; imageVisible: boolean; set imageFileChanged(file: File); set imageChangedEvent(event: any); set imageBase64(imageBase64: string); format: 'png' | 'jpeg' | 'bmp' | 'webp' | 'ico'; outputType: 'base64' | 'file' | 'both'; maintainAspectRatio: boolean; aspectRatio: number; resizeToWidth: number; roundCropper: boolean; onlyScaleDown: boolean; imageQuality: number; autoCrop: boolean; cropper: CropperPosition; imageCropped: EventEmitter; imageCroppedBase64: EventEmitter; imageCroppedFile: EventEmitter; imageLoaded: EventEmitter; loadImageFailed: EventEmitter; constructor(elementRef: ElementRef, sanitizer: DomSanitizer, cd: ChangeDetectorRef, zone: NgZone); ngOnChanges(changes: SimpleChanges): void; private initCropper; private loadImageFile; private isValidImageType; private checkExifRotationAndLoadImage; private loadBase64Image; imageLoadedInView(): void; onResize(event: Event): void; private resizeCropperPosition; private resetCropperPosition; startMove(event: any, moveType: string, position?: string | null): void; moveImg(event: any): void; private setMaxSize; private checkCropperPosition; moveStop(event: any): void; private move; private resize; private checkAspectRatio; private doAutoCrop; crop(): void; private cropToOutputType; private cropToBase64; private cropToFile; private getCanvasBlob; private getQuality; private getResizeRatio; private getClientX; private getClientY; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace cropper_avatar_dialog_component_d_exports { export { CropperAvatarDialogComponent }; } export declare class CropperAvatarDialogComponent implements OnInit { private modalService; cropperModal?: TemplateRef; private modalRef?; cropperReady: boolean; imageChangedEvent: any; imageCroppedEvent?: ImageCroppedEvent; onCropped: EventEmitter; onHide: EventEmitter; onSelectFile: EventEmitter; private isModalShown; constructor(modalService: BsModalService); ngOnInit(): void; imageCropped(event: ImageCroppedEvent): void; imageLoaded(): void; loadImageFailed(): void; setImageChangedEvent($event: any): void; hide(): void; show($event: any): void; select($event: any): void; submit(): void; getImageBlob(): Blob | null | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class ImageCropperModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace pagination_list_component_d_exports { export { PaginationListComponent }; } export declare class PaginationListComponent implements OnInit { total: number; page: number; items: any; limit: number; changePage: EventEmitter; load: EventEmitter; itemsPage: Array; startNumber: number; endNumber: number; totalPage: number; constructor(); ngOnInit(): void; loadPagination(): void; getItemsPage(): void; prevPage(): void; prevFirstPage(): void; nextPage(): void; nextLastPage(): void; reload(): void; inputPageText(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class PaginationListModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace timeago_pipe_d_exports { export { TimeAgoPipe }; } export declare class TimeAgoPipe implements PipeTransform { transform(date: any, locale?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class DateTimeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class PluginManagerService { private loaded; pluginManager: any; private plugins; private subject; constructor(); register(pluginId: string, component: any): void; destroyById(pluginId: string): void; getPlugins(): any; hasPluginId(pluginId: string): boolean; getPluginById(pluginId: string): CloudPluginComponent; sendMessageTo(message: any, contentWindow: any): void; listen(): void; getMessage(): Observable; clearMessage(): void; getContentWindowById(pluginId: string): Promise; private sendMessage; convertToHttpParams(obj: any): HttpParams | null; testCreatePluginTemplate(pluginId: string, targetId: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace cloud_plugin_component_d_exports { export { CloudPluginComponent }; } export declare class CloudPluginComponent implements OnInit, OnDestroy { private coreService; private pluginManagerService; pluginId?: string; url?: string; params: any; autoHeight: boolean; load: EventEmitter; constructor(coreService: CoreService, pluginManagerService: PluginManagerService); ngOnInit(): void; ngOnDestroy(): void; private getContentWindow; reload(): void; resize(): void; onLoad($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace plugin_toolbar_directive_d_exports { export { PluginToolbarDirective, ToolbarContainer }; } export declare class PluginToolbarDirective implements OnInit, OnDestroy { private el; private renderer; private coreService; private notifyService; private pluginManagerService; message: any; subscription?: Subscription; idProperty: string; constructor(el: ElementRef, renderer: Renderer2, coreService: CoreService, notifyService: NotificationService, pluginManagerService: PluginManagerService); ngOnInit(): void; private notificationDetectByData; getIdProperty(): string; clear(): void; initContainerById(pluginId: string): ToolbarContainer; generateToolbar(container: ToolbarContainer, buttons?: any[]): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ToolbarContainer { pluginId: string; element: any; prefix: string; exists: boolean; constructor(prefix: string, pluginId: string, element: any, exists: boolean); } export declare class PluginManagerModule { private pluginManagerService; constructor(pluginManagerService: PluginManagerService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace toast_directive_d_exports { export { ToastContainerDirective, ToastContainerModule }; } export declare class ToastContainerDirective { private el; constructor(el: ElementRef); getContainerElement(): HTMLElement; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ToastContainerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface ComponentType { new (...args: any[]): T; } /** * A `ComponentPortal` is a portal that instantiates some Component upon attachment. */ declare class ComponentPortal { private _attachedHost?; /** The type of the component that will be instantiated for attachment. */ component: ComponentType; /** * [Optional] Where the attached component should live in Angular's *logical* component tree. * This is different from where the component *renders*, which is determined by the PortalHost. * The origin necessary when the host is outside of the Angular application context. */ viewContainerRef: ViewContainerRef; /** Injector used for the instantiation of the component. */ injector: Injector; constructor(component: ComponentType, injector: Injector); /** Attach this portal to a host. */ attach(host: BasePortalHost, newestOnTop: boolean): ComponentRef; /** Detach this portal from its host */ detach(): void; /** Whether this portal is attached to a host. */ get isAttached(): boolean; /** * Sets the PortalHost reference without performing `attach()`. This is used directly by * the PortalHost when it is performing an `attach()` or `detach()`. */ setAttachedHost(host?: BasePortalHost): void; } /** * Partial implementation of PortalHost that only deals with attaching a * ComponentPortal */ declare abstract class BasePortalHost { /** The portal currently attached to the host. */ private _attachedPortal?; /** A function that will permanently dispose this host. */ private _disposeFn?; attach(portal: ComponentPortal, newestOnTop: boolean): ComponentRef; abstract attachComponentPortal(portal: ComponentPortal, newestOnTop: boolean): ComponentRef; detach(): void; setDisposeFn(fn: () => void): void; } /** * Reference to an overlay that has been created with the Overlay service. * Used to manipulate or dispose of said overlay. */ declare class OverlayRef { private _portalHost; constructor(_portalHost: BasePortalHost); attach(portal: ComponentPortal, newestOnTop?: boolean): ComponentRef; /** * Detaches an overlay from a portal. * @returns Resolves when the overlay has been detached. */ detach(): void; } /** * Reference to a toast opened via the Toastr service. */ declare class ToastRef { private _overlayRef; /** The instance of component opened into the toast. */ componentInstance: T; /** Count of duplicates of this toast */ private duplicatesCount; /** Subject for notifying the user that the toast has finished closing. */ private _afterClosed; /** triggered when toast is activated */ private _activate; /** notifies the toast that it should close before the timeout */ private _manualClose; /** notifies the toast that it should reset the timeouts */ private _resetTimeout; /** notifies the toast that it should count a duplicate toast */ private _countDuplicate; constructor(_overlayRef: OverlayRef); manualClose(): void; manualClosed(): Observable; timeoutReset(): Observable; countDuplicate(): Observable; /** * Close the toast. */ close(): void; /** Gets an observable that is notified when the toast is finished closing. */ afterClosed(): Observable; isInactive(): boolean; activate(): void; /** Gets an observable that is notified when the toast has started opening. */ afterActivate(): Observable; /** Reset the toast timouts and count duplicates */ onDuplicate(resetTimeout: boolean, countDuplicate: boolean): void; } /** Custom injector type specifically for instantiating components with a toast. */ declare class ToastInjector implements Injector { private _toastPackage; private _parentInjector; constructor(_toastPackage: ToastPackage, _parentInjector: Injector); get(token: any, notFoundValue?: T, flags?: any): T | ToastPackage; } type ProgressAnimationType = 'increasing' | 'decreasing'; /** * Configuration for an individual toast. */ interface IndividualConfig { /** * disable both timeOut and extendedTimeOut * default: false */ disableTimeOut: boolean | 'timeOut' | 'extendedTimeOut'; /** * toast time to live in milliseconds * default: 5000 */ timeOut: number; /** * toast show close button * default: false */ closeButton: boolean; /** * time to close after a user hovers over toast * default: 1000 */ extendedTimeOut: number; /** * show toast progress bar * default: false */ progressBar: boolean; /** * changes toast progress bar animation * default: decreasing */ progressAnimation: ProgressAnimationType; /** * render html in toast message (possibly unsafe) * default: false */ enableHtml: boolean; /** * css class on toast component * default: ngx-toastr */ toastClass: string; /** * css class on toast container * default: toast-top-right */ positionClass: string; /** * css class on toast title * default: toast-title */ titleClass: string; /** * css class on toast message * default: toast-message */ messageClass: string; /** * animation easing on toast * default: ease-in */ easing: string; /** * animation ease time on toast * default: 300 */ easeTime: string | number; /** * clicking on toast dismisses it * default: true */ tapToDismiss: boolean; /** * Angular toast component to be shown * default: Toast */ toastComponent?: ComponentType; /** * Helps show toast from a websocket or from event outside Angular * default: false */ onActivateTick: boolean; /** * New toast placement * default: true */ newestOnTop: boolean; } interface ToastrIconClasses { error: string; info: string; success: string; warning: string; [key: string]: string; } /** * Global Toast configuration * Includes all IndividualConfig */ interface GlobalConfig extends IndividualConfig { /** * max toasts opened. Toasts will be queued * Zero is unlimited * default: 0 */ maxOpened: number; /** * dismiss current toast when max is reached * default: false */ autoDismiss: boolean; iconClasses: Partial; /** * block duplicate messages * default: false */ preventDuplicates: boolean; /** * display the number of duplicate messages * default: false */ countDuplicates: boolean; /** * Reset toast timeout when there's a duplicate (preventDuplicates needs to be set to true) * default: false */ resetTimeoutOnDuplicate: boolean; /** * consider the title of a toast when checking if duplicate * default: false */ includeTitleDuplicates: boolean; } /** * Everything a toast needs to launch */ declare class ToastPackage { toastId: number; config: IndividualConfig; message: string | null | undefined; title: string | undefined; toastType: string; toastRef: ToastRef; private _onTap; private _onAction; constructor(toastId: number, config: IndividualConfig, message: string | null | undefined, title: string | undefined, toastType: string, toastRef: ToastRef); /** Fired on click */ triggerTap(): void; onTap(): Observable; /** available for use in custom toast */ triggerAction(action?: any): void; onAction(): Observable; } /** @deprecated use GlobalConfig */ interface GlobalToastrConfig extends GlobalConfig {} /** @deprecated use IndividualConfig */ interface IndividualToastrConfig extends IndividualConfig {} /** @deprecated use IndividualConfig */ interface ToastrConfig extends IndividualConfig {} declare const DefaultNoComponentGlobalConfig: GlobalConfig; interface ToastToken { default: GlobalConfig; config: Partial; } declare const TOAST_CONFIG: InjectionToken; /** Container inside which all toasts will render. */ declare class OverlayContainer implements OnDestroy { protected _document: any; protected _containerElement: HTMLElement; constructor(_document: any); ngOnDestroy(): void; /** * This method returns the overlay container element. It will lazily * create the element the first time it is called to facilitate using * the container in non-browser environments. * @returns the container element */ getContainerElement(): HTMLElement; /** * Create the overlay container element, which is simply a div * with the 'cdk-overlay-container' class on the document body. */ protected _createContainer(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be * used as a low-level building building block for other components. Dialogs, tooltips, menus, * selects, etc. can all be built using overlays. The service should primarily be used by authors * of re-usable components rather than developers building end-user applications. * * An overlay *is* a PortalHost, so any kind of Portal can be loaded into one. */ declare class Overlay { private _overlayContainer; private _appRef; private _document; private _paneElements; constructor(_overlayContainer: OverlayContainer, _appRef: ApplicationRef, _document: any); /** * Creates an overlay. * @returns A reference to the created overlay. */ create(positionClass?: string, overlayContainer?: ToastContainerDirective): OverlayRef; getPaneElement(positionClass?: string, overlayContainer?: ToastContainerDirective): HTMLElement; /** * Creates the DOM element for an overlay and appends it to the overlay container. * @returns Newly-created pane element */ private _createPaneElement; /** * Create a DomPortalHost into which the overlay content can be loaded. * @param pane The DOM element to turn into a portal host. * @returns A portal host for the given DOM element. */ private _createPortalHost; /** * Creates an OverlayRef for an overlay in the given DOM element. * @param pane DOM element for the overlay */ private _createOverlayRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface ActiveToast { /** Your Toast ID. Use this to close it individually */ toastId: number; /** the title of your toast. Stored to prevent duplicates */ title: string; /** the message of your toast. Stored to prevent duplicates */ message: string; /** a reference to the component see portal.ts */ portal: ComponentRef; /** a reference to your toast */ toastRef: ToastRef; /** triggered when toast is active */ onShown: Observable; /** triggered when toast is destroyed */ onHidden: Observable; /** triggered on toast click */ onTap: Observable; /** available for your use in custom toast */ onAction: Observable; } declare class ToastrService { private overlay; private _injector; private sanitizer; private ngZone; toastrConfig: GlobalConfig; currentlyActive: number; toasts: ActiveToast[]; overlayContainer?: ToastContainerDirective; previousToastMessage: string | undefined; private index; constructor(token: ToastToken, overlay: Overlay, _injector: Injector, sanitizer: DomSanitizer, ngZone: NgZone); /** show toast */ show(message?: string, title?: string, override?: Partial, type?: string): ActiveToast | null; /** show successful toast */ success(message?: string, title?: string, override?: Partial): ActiveToast | null; /** show error toast */ error(message?: string, title?: string, override?: Partial): ActiveToast | null; /** show info toast */ info(message?: string, title?: string, override?: Partial): ActiveToast | null; /** show warning toast */ warning(message?: string, title?: string, override?: Partial): ActiveToast | null; /** * Remove all or a single toast by id */ clear(toastId?: number): void; /** * Remove and destroy a single toast by id */ remove(toastId: number): boolean; /** * Determines if toast message is already shown */ findDuplicate(title: string | undefined, message: string | undefined, resetOnDuplicate: boolean, countDuplicates: boolean): ActiveToast | null; /** create a clone of global config and apply individual settings */ private applyConfig; /** * Find toast object by id */ private _findToast; /** * Determines the need to run inside angular's zone then builds the toast */ private _preBuildNotification; /** * Creates and attaches toast data to component * returns the active toast, or in case preventDuplicates is enabled the original/non-duplicate active toast. */ private _buildNotification; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace toast_component_d_exports { export { Toast }; } export declare class Toast implements OnDestroy { protected toastrService: ToastrService; toastPackage: ToastPackage; protected ngZone?: NgZone | undefined; message?: string | null; title?: string; options: IndividualConfig; duplicatesCount: number; originalTimeout: number; /** width of progress bar */ width: number; /** a combination of toast type and options.toastClass */ toastClasses: string; /** controls animation */ state: { value: string; params: { easeTime: string | number; easing: string; }; }; /** hides component when waiting to be displayed */ get displayStyle(): string | undefined; private timeout; private intervalId; private hideTime; private sub; private sub1; private sub2; private sub3; constructor(toastrService: ToastrService, toastPackage: ToastPackage, ngZone?: NgZone | undefined); ngOnDestroy(): void; /** * activates toast and sets timeout */ activateToast(): void; /** * updates progress bar width */ updateProgress(): void; resetTimeout(): void; /** * tells toastrService to remove this toast after animation time */ remove(): void; tapToast(): void; stickAround(): void; delayedHideToast(): void; outsideTimeout(func: () => any, timeout: number): void; outsideInterval(func: () => any, timeout: number): void; private runInsideAngular; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace toastr_module_d_exports { export { DefaultGlobalConfig, ToastrComponentlessModule, ToastrModule }; } export declare const DefaultGlobalConfig: GlobalConfig; export declare class ToastrModule { static forRoot(config?: Partial): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class ToastrComponentlessModule { static forRoot(config?: Partial): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class NotifyService { private http; private toastService; toastContainer?: ToastContainerDirective; private url; constructor(http: HttpClientService, toastService: ToastrService); count(): Observable; getMessage(params: any): Observable; showMessage(msg: string, type?: string, title?: string, config?: any): void; getNotifyService(): ToastrService; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class NotifyModule { constructor(service: NotifyService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace custom_pagination_component_d_exports { export { CustomPaginationComponent }; } export declare class CustomPaginationComponent implements OnInit, OnChanges { pageSize: number; pageNumber: number; totalItems: number; firstLoad: boolean; params: any; pageRange: boolean; numberRange: boolean; basicSearch: TemplateRef; advanceSearch: TemplateRef; actionSearch: TemplateRef; query: any; pageCount: number; startNumber: number; endNumber: number; onLoad: EventEmitter; pagingChanged: EventEmitter; constructor(); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; computeRef(): void; changeToFirstPage(event: any): void; changeToLastPage(event: any): void; changeToNextPage(event: any): void; changeToPreviousPage(event: any): void; changeToCurrentPage(event: any): void; get maxPage(): number; getQuery(): any; resetPage(): void; setTotalItems(v: number): void; setParams(params?: any): void; getParams(): any; reload(event?: any): void; load(): void; onPageChanged(event?: Event, pageNumber?: number): void; private processOnPaginationChanged; private processOnTotalChanged; private getItemsPage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class CustomPaginationModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class MessageService { /** variable to hold the user message */ private message; constructor(); /** returns the message sent by the editor */ getMessage(): Observable; /** * sends message to the editor * * @param message message to be sent */ sendMessage(message: string): void; /** * a short interval to clear message * * @param milliseconds time in seconds in which the message has to be cleared */ private clearMessageIn; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace ngx_editor_message_component_d_exports { export { NgxEditorMessageComponent }; } export declare class NgxEditorMessageComponent { private _messageService; /** property that holds the message to be displayed on the editor */ ngxMessage: undefined; /** * @param _messageService service to send message to the editor */ constructor(_messageService: MessageService); /** * clears editor message */ clearMessage(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CommandExecutorService { private _http; /** saves the selection from the editor when focussed out */ savedSelection: any; /** * * @param _http HTTP Client for making http requests */ constructor(_http: HttpClient); /** * executes command from the toolbar * * @param command command to be executed */ execute(command: string): void; /** * inserts image in the editor * * @param imageURI url of the image to be inserted */ insertImage(imageURI: string): void; /** * inserts image in the editor * * @param videParams url of the image to be inserted */ insertVideo(videParams: any): void; /** * checks the input url is a valid youtube URL or not * * @param url Youtue URL */ private isYoutubeLink; /** * check whether the string is a valid url or not * @param url url */ private isValidURL; /** * uploads image to the server * * @param file file that has to be uploaded * @param endPoint enpoint to which the image has to be uploaded */ uploadImage(file: File, endPoint: string): any; /** * inserts link in the editor * * @param params parameters that holds the information for the link */ createLink(params: any): void; /** * insert color either font or background * * @param color color to be inserted * @param where where the color has to be inserted either text/background */ insertColor(color: string, where: string): void; /** * set email param * * @param param to be set */ setEmailParam(v: string): void; /** * set font size for text * * @param fontSize font-size to be set */ setFontSize(fontSize: string): void; /** * set font name/family for text * * @param fontName font-family to be set */ setFontName(fontName: string): void; /** insert HTML */ private insertHtml; /** * check whether the value is a number or string * if number return true * else return false */ private isNumeric; /** delete the text at selected range and return the value */ private deleteAndGetElement; /** check any slection is made or not */ private checkSelection; /** * check tag is supported by browser or not * * @param tag HTML tag */ private checkTagSupportInBrowser; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace ngx_editor_toolbar_component_d_exports { export { NgxEditorToolbarComponent }; } export declare class NgxEditorToolbarComponent implements OnInit { private _popOverConfig; private _formBuilder; private _messageService; private _commandExecutorService; /** holds values of the insert link form */ urlForm: UntypedFormGroup; /** holds values of the insert image form */ imageForm: UntypedFormGroup; /** holds values of the insert video form */ videoForm: UntypedFormGroup; /** set to false when image is being uploaded */ uploadComplete: boolean; /** upload percentage */ updloadPercentage: number; /** set to true when the image is being uploaded */ isUploading: boolean; /** which tab to active for color insetion */ selectedColorTab: string; /** font family name */ fontName: string; /** font size */ fontSize: string; /** hex color code */ hexColor: string; /** show/hide image uploader */ isImageUploader: boolean; params?: string; /** * Editor configuration */ config: any; emailParams: any; urlPopover: any; imagePopover: any; videoPopover: any; fontSizePopover: any; colorPopover: any; emailParamPopover: any; /** * Emits an event when a toolbar button is clicked */ execute: EventEmitter; constructor(_popOverConfig: PopoverConfig, _formBuilder: UntypedFormBuilder, _messageService: MessageService, _commandExecutorService: CommandExecutorService); /** * enable or diable toolbar based on configuration * * @param value name of the toolbar buttons */ canEnableToolbarOptions(value: any): boolean; /** * triggers command from the toolbar to be executed and emits an event * * @param command name of the command to be executed */ triggerCommand(command: string): void; /** * create URL insert form */ buildUrlForm(): void; /** * inserts link in the editor */ insertLink(): void; /** * create insert image form */ buildImageForm(): void; /** * create insert image form */ buildVideoForm(): void; /** * Executed when file is selected * * @param e onChange event */ onFileChange(e: any): void; /** insert image in the editor */ insertImage(): void; /** insert image in the editor */ insertVideo(): void; /** inser text/background color */ insertColor(color: string, where: string): void; /** set email param */ setEmailParam(email: string): void; /** set font size */ setFontSize(fontSize: string): void; /** set font Name/family */ setFontName(fontName: string): void; ngOnInit(): void; mouseEnter(item: any): void; mouseLeave(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace ngx_grippie_component_d_exports { export { NgxGrippieComponent }; } export declare class NgxGrippieComponent { /** height of the editor */ height: number; /** previous value befor resizing the editor */ oldY: number; /** set to true on mousedown event */ grabber: boolean; resizeTextArea: EventEmitter; /** * Constructor * * @param _editorComponent Editor component */ constructor(); /** * * @param event Mouseevent * * Update the height of the editor when the grabber is dragged */ onMouseMove(event: MouseEvent): void; /** * * @param event Mouseevent * * set the grabber to false on mouse up action */ onMouseUp(event: MouseEvent): void; onResize(event: MouseEvent, resizer?: Function): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace ngx_editor_component_d_exports { export { NgxEditorComponent }; } export declare class NgxEditorComponent implements AfterViewInit, ControlValueAccessor { private _messageService; private _commandExecutor; private _renderer; /** Specifies weather the textarea to be editable or not */ editable?: boolean; /** The spellcheck property specifies whether the element is to have its spelling and grammar checked or not. */ spellcheck?: boolean; /** Placeholder for the textArea */ placeholder?: string; /** * The translate property specifies whether the content of an element should be translated or not. * * Check https://www.w3schools.com/tags/att_global_translate.asp for more information and browser support */ translate?: string; /** Sets height of the editor */ height?: string; /** Sets minimum height for the editor */ minHeight?: string; /** Sets Width of the editor */ width?: string; /** Sets minimum width of the editor */ minWidth?: string; /** * Toolbar accepts an array which specifies the options to be enabled for the toolbar * * Check ngxEditorConfig for toolbar configuration * * Passing an empty array will enable all toolbar */ toolbar?: Object; /** * The editor can be resized vertically. * * `basic` resizer enables the html5 reszier. Check here https://www.w3schools.com/cssref/css3_pr_resize.asp * * `stack` resizer enable a resizer that looks like as if in https://stackoverflow.com */ resizer: string; /** * The config property is a JSON object * * All avaibale inputs inputs can be provided in the configuration as JSON * inputs provided directly are considered as top priority */ config: { editable: boolean; spellcheck: boolean; height: string; minHeight: string; width: string; minWidth: string; translate: string; enableToolbar: boolean; showToolbar: boolean; placeholder: string; imageEndPoint: string; toolbar: string[][]; }; /** Weather to show or hide toolbar */ showToolbar?: boolean; /** Weather to enable or disable the toolbar */ enableToolbar?: boolean; /** Endpoint for which the image to be uploaded */ imageEndPoint?: string; emailParams: any; /** emits `blur` event when focused out from the textarea */ blur: EventEmitter; /** emits `focus` event when focused in to the textarea */ focus: EventEmitter; textArea: ElementRef; ngxWrapper: ElementRef; ngxEditor: ElementRef; Utils: any; private onChange?; private onTouched?; /** * @param _messageService service to send message to the editor message component * @param _commandExecutor executes command from the toolbar * @param _renderer access and manipulate the dom element */ constructor(_messageService: MessageService, _commandExecutor: CommandExecutorService, _renderer: Renderer2); /** * events */ onTextAreaFocus(): void; /** focus the text area when the editor is focussed */ onEditorFocus(): void; /** * Executed from the contenteditable section while the input property changes * @param innerHTML: html string from contenteditable */ onContentChange(innerHTML: string): void; onChangeTextarea($event: any): void; onTextAreaBlur(): void; /** * resizing text area * * @param offsetY vertical height of the eidtable portion of the editor */ resizeTextArea(offsetY: number): void; /** * editor actions, i.e., executes command from toolbar * * @param commandName name of the command to be executed */ executeCommand(commandName: string): void; /** * Write a new value to the element. * * @param value value to be executed when there is a change in contenteditable */ writeValue(value: any): void; /** * Set the function to be called * when the control receives a change event. * * @param fn a function */ registerOnChange(fn: any): void; /** * Set the function to be called * when the control receives a touch event. * * @param fn a function */ registerOnTouched(fn: any): void; /** * refresh view/HTML of the editor * * @param value html string from the editor */ refreshView(value: string): void; /** * toggles placeholder based on input string * * @param value A HTML string from the editor */ togglePlaceholder(value: any): void; /** * returns a json containing input params */ getCollectiveParams(): any; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class NgxEditorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace column_component_d_exports { export { DataTableColumn }; } export declare class DataTableColumn implements OnInit { header?: string; sortable: boolean; resizable: boolean; property: string; styleClass?: string; cellColors?: CellCallback; width: number | string; visible: boolean; cellTemplate: any; headerTemplate: any; getCellColor(row: DataTableRow, index: number): string | undefined; styleClassObject: {}; ngOnInit(): void; private _initCellClass; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export interface DataTableTranslations { headerReload: string; headerColumnSelector: string; indexColumn: string; selectColumn: string; selectRow: string; selectAllRows: string; expandColumn: string; expandRow: string; paginationLimit: string; paginationRange: string; firstText: string; prevText: string; nextText: string; lastText: string; } declare namespace row_component_d_exports { export { DataTableRow }; } export declare class DataTableRow implements OnDestroy { item: any; index: number; selectOnRowClick: boolean; expanded: boolean; private _selected; selectedChange: EventEmitter; expandedChange: EventEmitter; doubleClicked: EventEmitter; clicked: EventEmitter; translations: DataTableTranslations; expandableRows: boolean; expandColumnVisible: boolean; indexColumnVisible: boolean; selectColumnVisible: boolean; columns?: QueryList; columnCount: number; expandTemplate: TemplateRef; backgroundColor: string; get selected(): boolean; set selected(selected: boolean); get displayIndex(): number; getTooltip(): string; constructor(); ngOnDestroy(): void; expand(): void; collapse(): void; rowDoubleClicked($event: any): void; rowClicked($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export type CellCallback = (item: any, row: DataTableRow, column: DataTableColumn, index: number) => string; export interface DataTableParams { offset?: number; limit?: number; page?: number; sortBy?: string; sortAsc?: boolean; } export type RowCallback = (item: any, row: DataTableRow, index: number | undefined) => string; export type MoveHandler = (event: MouseEvent, dx: number, dy: number, x: number, y: number) => void; export type UpHandler = (event: MouseEvent, x: number, y: number, moved: boolean) => void; export declare function drag(event: MouseEvent, { move: move, up: up }: { move: MoveHandler; up?: UpHandler; }): void; declare namespace px_d_exports { export { PixelConverter }; } export declare class PixelConverter implements PipeTransform { transform(value: string | number): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare namespace hide_d_exports { export { Hide }; } export declare class Hide { private _elementRef; private _renderer; private _prevCondition?; private _displayStyle?; constructor(_elementRef: ElementRef, _renderer: Renderer2); set hide(newCondition: boolean); private initDisplayStyle; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare namespace min_d_exports { export { MinPipe }; } export declare class MinPipe implements PipeTransform { transform(value: number[]): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare namespace table_component_d_exports { export { DataTable }; } export declare class DataTable implements DataTableParams, OnInit, OnDestroy { private translate; private _items; get items(): any[]; set items(items: any[]); itemCount: number; columns?: QueryList; rows?: QueryList; expandTemplate: TemplateRef; headerTitle: string; header: boolean; pagination: boolean; pagination_range: boolean; pagination_limit: boolean; pagination_input: boolean; pagination_numbers: boolean; indexColumn: boolean; indexColumnHeader: string; rowColors?: RowCallback; rowTooltip?: RowCallback; selectColumn: boolean; multiSelect: boolean; substituteRows: boolean; expandableRows: boolean; translations: DataTableTranslations; selectOnRowClick: boolean; autoReload: boolean; showReloading: boolean; noDataMessage?: string; showColumnSelector: boolean; autoHidePaging: boolean; indexColumnVisible: boolean; selectColumnVisible: boolean; expandColumnVisible: boolean; private _sortBy?; private _sortAsc; private _offset; private _limit; private translateSubscription?; basicSearch: TemplateRef; advanceSearch: TemplateRef; get sortBy(): string | undefined; set sortBy(value: string | undefined); get sortAsc(): boolean; set sortAsc(value: boolean); get offset(): number; set offset(value: number); get limit(): number; set limit(value: number); get page(): number; set page(value: number); get lastPage(): number; sort(sortBy: string, asc: boolean): void; firstPage(): void; constructor(translate: TranslateService); ngOnInit(): void; ngOnDestroy(): void; private _initDefaultValues; private _initDefaultClickEvents; _reloading: boolean; get reloading(): boolean; reload: EventEmitter; reloadItems(): void; private _onReloadFinished; _displayParams: DataTableParams; get displayParams(): DataTableParams; _updateDisplayParams(): void; _scheduledReload: null; _triggerReload(): void; rowClick: EventEmitter; rowDoubleClick: EventEmitter; headerClick: EventEmitter; cellClick: EventEmitter; rowClicked(row: DataTableRow, event: any): void; rowDoubleClicked(row: DataTableRow, event: any): void; headerClicked(column: DataTableColumn, event: Event): void; private cellClicked; private _getRemoteParameters; private sortColumn; get columnCount(): number; getRowColor(item: any, index: number, row: DataTableRow): string; selectedRow: any; selectedRows: DataTableRow[]; private _selectAllCheckbox; get selectAllCheckbox(): boolean; set selectAllCheckbox(value: boolean); private _onSelectAllChanged; selectionChange: EventEmitter; onRowSelectChanged(selected: boolean, row: DataTableRow): void; expandClick: EventEmitter; onExpandChanged(expanded: boolean, row: DataTableRow): void; get substituteItems(): unknown[]; private _resizeInProgress; resizeColumnStart(event: MouseEvent, column: DataTableColumn, columnElement: HTMLElement): void; resizeLimit: number; private _isResizeInLimit; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace pagination_component_d_exports { export { DataTablePagination }; } export declare class DataTablePagination { show_range: boolean; show_limit: boolean; show_input: boolean; show_numbers: boolean; show_column_selector: boolean; autoHide: boolean; basicSearch: TemplateRef; advanceSearch: TemplateRef; translations: DataTableTranslations; offset: number; page: number; limit: number; lastPage: number; expandableRows: boolean; indexColumn: boolean; selectColumn: boolean; columns?: QueryList; itemCount: number; expandColumnVisible: boolean; indexColumnVisible: boolean; selectColumnVisible: boolean; reload: EventEmitter; changeOffset: EventEmitter; changePage: EventEmitter; columnSelectorOpen: boolean; _closeSelector(): void; constructor(); pageBack(): void; pageForward(): void; pageFirst(): void; pageLast(): void; get maxPage(): number; createPageRange(number: number, page: number): any[]; onChange(value: any): any; convertToNumber(value: any): number; convertToString(value: any): string; reloadItems(): void; onChangeOffset(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace header_component_d_exports { export { DataTableHeader }; } export declare class DataTableHeader { headerTitle?: string; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare const defaultTranslations: DataTableTranslations; export declare class DataTableResource { private items; constructor(items: T[]); query(params: DataTableParams, filter?: (item: T, index: number, items: T[]) => boolean): Promise; count(): Promise; setItems(v: T[]): void; } export declare class GridModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class DateUtils { private static datePipe; static DATETIME_FORMAT: string; static VN_DATETIME_FORMAT: string; static DATE_FORMAT: string; static TIME_FORMAT: string; static format(date?: Date | number | string, format?: string): string; } export declare class NumberUtilsService { isNumeric(value: string | number): boolean; isObjectEmpty(obj: any): boolean; addSeparator(value: number | string, separator?: string): string | number; removeSeparator(value: number | string, separator?: string): string | number; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace number_separator_directive_d_exports { export { NumberSeparatorDirective }; } export declare class NumberSeparatorDirective implements Validator, OnInit { private utilsService; private elementRef; name: string; separator: string; numberMin?: string; numberMax?: string; numberLength?: string; private readonly el; ngModel: EventEmitter; constructor(utilsService: NumberUtilsService, elementRef: ElementRef, name: string); ngOnInit(): void; validate(c: AbstractControl): { [key: string]: any; } | null; private isValidParam; private getNumber; private checkLength; onInput($event: any): void; private addSeparator; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class NumberFormatModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export declare class WebTokenModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export interface CertSubject { CN?: string; O?: string; OU?: string; L?: string; C?: string; } export interface CertData { subject?: string; issuer?: string; validFrom?: string; validTo?: string; serial?: string; cert?: string; subjectData?: CertSubject; issuerData?: CertSubject; unlocked?: boolean; [propName: string]: string | any; } export declare enum EXT_HASH_ALG { SHA1 = "SHA1", SHA256 = "SHA256" } export declare enum EXT_ACTION { EXIT = "EXIT", GET_INFO = "GET_INFO", GET_CERTS = "GET_CERTS", SIGN_HASH = "SIGN_HASH" } export declare const NATIVE_APP_URL = "https://cdn.inetcloud.vn/data/products/einvoice/token/token-signer-latest.msi"; export declare const EXT_CHROME_URL = "https://chrome.google.com/webstore/detail/oambjgnagjajdpefjbmnoahbbbggfnin"; export declare const EXT_FIREFOX_URL = ""; export interface MessageSignHash { hash?: string; hashs?: string[]; hashAlg?: EXT_HASH_ALG; serial?: string; } export interface ReplyData { error?: string; errorMsg?: string; data?: any; } export declare class WebTokenService { private _signer; initForDevMode(): void; ready(): Observable; selectCert(forceSelect?: boolean): Observable; getCertBySerial(serial: string): Observable; selectCertUnlock(serial?: string): Observable; private _unlockCert; unlockCert(cert: CertData): Observable; loadCerts(): Observable; signHash(data: MessageSignHash): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class WebTokenSigner { isChrome: boolean; isFirefox: boolean; isWindows: boolean; osSupported: boolean; browserSupported: boolean; appInstalled: boolean; get extInstalled(): boolean; appInfo: { version: null; nativeVersion: null; nativeLatestVersion: null; }; textOsUnSupport: string; textBrowserUnSupport: string; textExtNotInstalled: string; textAppNotInstalled: string; title: string; description: string; textOk: string; textCancel: string; certNotFound: string; textIssuer: string; textValid: string; zIndex: number; private _dialog; private _certEl; private _certs?; private _certCallback?; constructor(); checkReady(silent?: boolean): Promise; checkNativeUpdate(): boolean; loadCerts(): Promise; signHash(data: MessageSignHash): Promise; selectCert(forceSelect?: boolean): Promise; dateDisplay(dateStr?: string): string; private _postExt; private _loadAppInfo; private _createCertDialog; private _buildCertHtml; private _onClickCertEl; private _findCerEl; private _closeDialog; private _onEscapeKey; } export declare class CertUtils { static parseCertString(subject: string): any; } export interface SignedReplyData extends ReplyData { data?: SignedData; } export interface SignedData { signature?: string; signatures?: string[]; serial?: string; cert?: string; hashAlg?: EXT_HASH_ALG; } declare namespace navigation_tab_component_d_exports { export { NavigationData, NavigationTab }; } export declare class NavigationTab implements OnInit, OnDestroy { private router; tabs?: NavigationData[]; viewContainerRef?: ViewContainerRef; prefix: string; onChange: EventEmitter; onLoad: EventEmitter; tabActive?: NavigationData; componentRef?: ComponentRef; private _router?; constructor(router: Router); ngOnInit(): void; ngOnDestroy(): void; activeTab(tab: NavigationData): void; getTabByPath(path: string): any; getFullPath(tab: NavigationData): string; private _loadComponent; private _activeTab; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export interface NavigationData { name: string; component: any; path: string; active?: boolean; } export declare class NavigationTabModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace truncate_pipe_d_exports { export { TruncatePipe }; } export declare class TruncatePipe implements PipeTransform { transform(value: string, limit: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class PipeCommonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace naming_convention_directive_d_exports { export { NamingConventionDirective }; } export declare class NamingConventionDirective implements Validator { private elementRef; name: string; pattern: string; private readonly el; private value; ngModel: EventEmitter; constructor(elementRef: ElementRef, name: string); validate(c: AbstractControl): { [key: string]: any; } | null; isValid(v: string): boolean; onInput($event: any): void; onFocusOut($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class NamingConventionModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }