barsa-novin-ray-core
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.6.
1,656 lines (1,625 loc) • 296 kB
TypeScript
import * as i0 from '@angular/core';
import { OnInit, AfterViewInit, AfterContentInit, OnDestroy, OnChanges, ElementRef, SimpleChanges, PipeTransform, Renderer2, ViewContainerRef, Injector, ComponentRef, NgModuleFactory, Type, ChangeDetectorRef, ProviderToken, InjectOptions, Signal, InjectionToken, WritableSignal, EventEmitter, TemplateRef, ComponentFactoryResolver, ComponentFactory, ModuleWithProviders } from '@angular/core';
import { Subject, Observable, BehaviorSubject, Subscription } from 'rxjs';
import { SafeHtml, SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';
import * as i1 from '@angular/router';
import { NavigationEnd, NavigationStart, Route, Router, ActivatedRoute, ParamMap, RouterEvent, ActivatedRouteSnapshot, Resolve, RouteReuseStrategy, DetachedRouteHandle, CanActivate, UrlTree } from '@angular/router';
import { IconFont, ContentDensity } from '@fundamental-ngx/core';
import { DurationInputArg1, DurationInputArg2, Duration, Moment } from 'moment';
import * as i148 from '@angular/forms';
import { ValidatorFn, FormGroup } from '@angular/forms';
import { DBSchema } from 'idb';
import * as i1$1 from '@angular/common';
import { TitleCasePipe } from '@angular/common';
import { Direction } from '@angular/cdk/bidi';
interface IDebug {
LEVEL_1: boolean;
LEVEL_2: boolean;
LEVEL_3: boolean;
LEVEL_4: boolean;
LEVEL_5: boolean;
}
declare class LogService {
static DEBUG: IDebug;
info(...msg: Array<any>): void;
debug(...msg: Array<any>): void;
error(...err: Array<any>): void;
warn(...warn: Array<any>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LogService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LogService>;
}
declare abstract class BaseComponent implements OnInit, AfterViewInit, AfterContentInit, OnDestroy, OnChanges {
rendered: any;
protected _el: ElementRef<any>;
protected _log: LogService;
protected readonly _onDestroy$: Subject<void>;
get el(): ElementRef;
get onDestroy$(): Observable<void>;
ngAfterContentInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "bnrc-base", never, { "rendered": { "alias": "rendered"; "required": false; }; }, {}, never, never, false, never>;
}
declare class EmptyPageWithRouterAndRouterOutletComponent extends BaseComponent {
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyPageWithRouterAndRouterOutletComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyPageWithRouterAndRouterOutletComponent, "bnrc-empty-page-with-router-and-router-outlet", never, {}, {}, never, never, false, never>;
}
interface DateInfo {
year: number;
month: number;
day: number;
hour: number;
minutes: number;
strYear: string;
strMonth: string;
strDay: string;
monthName: string;
dayName: string;
dayInWeek: number;
moment: any;
date: Date;
}
declare abstract class DateService {
protected logService: LogService;
protected abstract locale: string;
protected get now(): Date;
monthNames(): string[];
includeDay(date: Date, startDate: Date, endDate: Date): boolean;
duration(inp: DurationInputArg1, _?: DurationInputArg2): Duration;
day(date: Date): number;
getDayStr(mode: 'Today' | 'DaysBefore' | 'DaysAfter'): string;
getMonthStr(mode: 'ThisMonth' | 'NextMonth' | 'PrevMonth'): string;
getYearStr(mode: 'ThisYear' | 'PrevYear' | 'NextYear'): number;
getWeekStr(mode: 'ThisWeek' | 'NextWeek' | 'PrevWeek'): string;
getWeekRange(mode: 'ThisWeek' | 'NextWeek' | 'PrevWeek'): {
from: Moment;
to: Moment;
};
format(value: Date, format: string): string;
getShortDateString(date: Date): string;
protected checkSame(moment1: any, moment2: any, mode: any, prefix: '' | 'i' | 'j'): boolean;
abstract subtractMonth(moment: any, value: number): Date;
abstract addMonth(moment: any, value: number): Date;
abstract from(date1: Date, date2: Date): string;
abstract to(date: Date, endDate: Date): string;
abstract getTimes(date: string | Date): string;
abstract getDateTimeString(date: Date): string;
abstract weeksCount(momentObj: any): number;
abstract isSame(date1: Date, date2: Date, mode: 'year' | 'month' | 'day'): boolean;
abstract strDate(date: Date): string;
abstract date(date: Date): number;
abstract endOfMonth(moment: any): Date;
abstract startOfMonth(moment: any): Date;
abstract getDateInfo(date: any): DateInfo;
abstract daysInMonth(year: any, month: any): number;
abstract getMoment(date?: Date): any;
abstract stringToMoment(str: string, format: string): any;
abstract getStrMonthName(date: Date): string;
abstract getDateString(date: any, showDate: any, showTime: any): string;
abstract parse(payload: {
year: number;
month: number;
day: number;
hour: string;
minutes: string;
}): any;
abstract weekdaysMin(): string[];
abstract weekDays(): string[];
abstract toText(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;
}
declare class DateHijriService extends DateService {
protected locale: string;
getTimes(date: string | Date): string;
weeksCount(momentObj: any): number;
subtractMonth(momentOfDate: any, value: number): Date;
addMonth(momentOfDate: any, value: number): Date;
toText(): string;
to(date1: Date, date2: Date): string;
from(date1: Date, date2: Date): string;
isSame(date1: Date, date2: Date, mode: 'year' | 'month' | 'day'): boolean;
strDate(date: Date): string;
weekdaysMin(): string[];
weekDays(): string[];
date(date: Date): any;
endOfMonth(date: Date): any;
startOfMonth(date: Date): any;
getDateInfo(date: any): DateInfo;
daysInMonth(year: number, month: number): number;
getMoment(date?: Date): any;
stringToMoment(str: string, format: string): any;
getStrMonthName(date: Date): string;
parse(payload: {
year: number;
month: number;
day: number;
hour: string;
minutes: string;
}): any;
monthNames(): string[];
format(value: Date, format: string): string;
getShortDateString(date: Date): string;
getDateTimeString(date: Date): string;
getDateString(date: Date, showDate: boolean, showTime: boolean): string;
static ɵfac: i0.ɵɵFactoryDeclaration<DateHijriService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DateHijriService>;
}
declare class DateMiladiService extends DateService {
protected locale: string;
constructor();
getTimes(date: string | Date): string;
weeksCount(momentObj: any): number;
subtractMonth(momentOfDate: any, value: number): Date;
addMonth(momentOfDate: any, value: number): Date;
to(date1: Date, date2: Date): string;
from(date1: Date, date2: Date): string;
isSame(date1: Date, date2: Date, mode: 'year' | 'month' | 'day'): boolean;
strDate(date: Date): string;
toText(): string;
date(date: Date): number;
endOfMonth(date: Date): Date;
startOfMonth(date: Date): Date;
getDateInfo(date: any): DateInfo;
daysInMonth(year: number, month: number): number;
getMoment(date?: Date): any;
stringToMoment(str: string, format: string): any;
getStrMonthName(date: Date): string;
parse(payload: {
year: number;
month: number;
day: number;
hour: string;
minutes: string;
}): any;
getDateString(date: Date, showDate: boolean, showTime: boolean): string;
getDateTimeString(date: Date): string;
weekdaysMin(): string[];
weekDays(): string[];
static ɵfac: i0.ɵɵFactoryDeclaration<DateMiladiService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DateMiladiService>;
}
declare class DateShamsiService extends DateService {
protected locale: string;
constructor();
getTimes(date: string | Date): string;
weeksCount(momentObj: any): number;
subtractMonth(momentOfDate: any, value: number): Date;
addMonth(momentOfDate: any, value: number): Date;
to(date1: Date, date2: Date): string;
from(date1: Date, date2: Date): string;
isSame(date1: Date, date2: Date, mode: 'year' | 'month' | 'day'): boolean;
strDate(date: Date): string;
weekdaysMin(): Array<string>;
weekDays(): Array<string>;
toText(): string;
date(date: Date): any;
endOfMonth(date: Date): Date;
startOfMonth(date: Date): Date;
monthNames(): string[];
getDateInfo(date: any): DateInfo;
daysInMonth(year: number, month: number): number;
getMoment(date?: Date): any;
stringToMoment(str: string, format: string): any;
getStrMonthName(date: Date): string;
getDateTimeString(date: Date): string;
format(value: Date, format: string): string;
convertFormatToJalali(format: string): string;
getShortDateString(date: Date): string;
getDateString(date: Date, showDate: boolean, showTime: boolean): string;
parse(payload: {
year: number;
month: number;
day: number;
hour: string;
minutes: string;
}): any;
static ɵfac: i0.ɵɵFactoryDeclaration<DateShamsiService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DateShamsiService>;
}
interface ShortCutData extends MetaobjectDataModel {
[key: string]: any;
DynamicCommand: MetaobjectDataModel;
}
type ShortCuts = {
[key: string]: ShortCutData;
};
type UlvParamType = {
Flags: {
Data: string;
Extra: string;
Search: string;
View: string;
};
ReportName: string;
ReportId?: string;
UsageEnum: string;
};
declare class GeneralControlInfoModel {
[key: string]: any;
ControlFieldCaption: string;
ControlFieldCaptionTranslated: string;
ControlFieldDefId: string;
ControlName: string;
RelatedFieldList: [];
Hide: boolean;
xtype: string;
LabelPosition: string;
IsMandatory: boolean;
IsVisible: boolean;
ShowLabel: boolean;
IsReadOnly: boolean;
IsEnabled: boolean;
IsBold: boolean;
IsAutomatic: boolean;
JsonExtraProp: any | null;
Component: string;
Info: ControlInfoTypes;
FieldIcon: string;
IsLtr: boolean;
DisplayType: string;
}
interface FileAttachmentInfo {
[key: string]: any;
Id: string;
IsNew: boolean;
IsDeleted: boolean;
Type: string;
FileName?: string;
}
declare class StringControlInfoModel extends GeneralControlInfoModel {
MaxLength: number;
MinLength: number;
RegularExpression: string;
IsPassword: boolean;
IsMultiLine: boolean;
NullText: string;
AllowedStringChars: string;
OnlyAcceptCurrentCulture: boolean;
}
declare class RichStringControlInfoModel extends StringControlInfoModel {
IsHtmlViewer: boolean;
}
declare class NumberControlInfoModel extends GeneralControlInfoModel {
MinValue: number;
MaxValue: number;
DecimalPrecision: number;
ShowThousandSeperator: boolean;
NumberType: string;
CurrencySymbol: string;
}
declare class FilePictureInfoModel extends GeneralControlInfoModel {
Ext: string;
FileId: string;
IsDeleted: boolean;
}
declare class FileControlInfoModel extends GeneralControlInfoModel {
CanDelete: boolean;
CanSave: boolean;
CanView: boolean;
IsMultiSelect: boolean;
MaxFileCount: number;
MaxFileSizeKb: number;
OfficeOnline: boolean;
ValidExtensions: string;
ViewType: string;
}
declare class CommandControlInfoModel extends GeneralControlInfoModel {
MenuName: string;
DisableWhenReadonly: boolean;
DisplayType: string;
DynamicCommand: string;
}
declare class IconControlInfoModel extends GeneralControlInfoModel {
}
declare class PictureFileControlInfoModel extends GeneralControlInfoModel {
SizeMode: number;
MaxFileSizeKb: number;
ValidExtensions: string;
}
declare class GaugeControlInfoModel extends GeneralControlInfoModel {
IsAutomatic: boolean;
MaxValue: number;
MaxValue2: number;
MinValue: number;
MinValue2: number;
Value: number;
}
type RelationListTypes = RelationListControlInfoModel | HistoryControlInfoModel | RabetehAkseTakiListiControlInfoModel | SingleRelationControlInfoModel;
declare class RelationListControlInfoModel extends GeneralControlInfoModel {
RelationViewType: string;
UlvSetting: ReportModel;
}
declare class HistoryControlInfoModel extends RelationListControlInfoModel {
HasExternalParameter: boolean;
ParamName1: string;
}
declare class RabetehAkseTakiListiControlInfoModel extends RelationListControlInfoModel {
AutoSave: any;
}
declare class RelatedReportControlInfoModel extends GeneralControlInfoModel {
HasExternalParameter: boolean;
ParamName1: string;
UlvSetting: ReportModel;
}
declare class CodeEditorControlInfoModel extends GeneralControlInfoModel {
ExtraText: string;
Suggestions: string;
}
declare class EnumControlInfoModel extends GeneralControlInfoModel {
IsMultiSelect: boolean;
ShowAsRadioButton: boolean;
IconDisplayType: string;
DataSource: {
Rows: RowDataOption[];
};
EmptyRowData: RowDataOption;
}
declare class RowDataOption {
id: string;
IsEmpty: boolean;
txt: string;
txt_safe?: string;
url: string;
}
declare class DateTimeControlInfoModel extends GeneralControlInfoModel {
CalendarType: string;
DateFormat: string;
ShowDate1: boolean;
ShowTime1: boolean;
TimeFormat: string;
}
declare class BoolControlInfoModel extends GeneralControlInfoModel {
FalseCaption: string;
TrueCaption: string;
TrueIcon: string;
ViewType: string;
FalseIcon: string;
}
declare class CalculateControlInfoModel extends GeneralControlInfoModel {
InnerCtrlr: ControlInfoTypes;
ExecutaionTime: string;
EditType: string;
DontShowRecalculateButton: boolean;
}
declare class SubformControlInfoModel extends GeneralControlInfoModel {
TypeDefId: any;
TypeDefIcon: string;
IsComposedRelation: string;
DropDownReportId: string;
TypeViewId: string;
FormPanelSetting: FormSetting;
}
interface DownloadFileInfo {
fileId: string;
fileUrl: string;
viewInBrowser: boolean;
convertTo: string;
isOfficeOnline: boolean;
forOcx: boolean;
}
interface DownloadFileInfoResult {
filename: string;
content: string;
contentType: string;
succeed: boolean;
}
declare class LinearListControlInfoModel extends GeneralControlInfoModel {
DefaultField: string;
ExtraJsonPropField: string;
FillBeforeDropDown: boolean;
IsGeneralInfo: boolean;
IsMultiSelect: boolean;
Relation: ListRelationModel;
RelationViewType: string;
RowIcon: string;
TargetTypeDefId: string;
}
declare class ListRelationModel {
[key: string]: any;
ChildFdId: string;
ChildFdName: string;
IsAutoSave: boolean;
ParentMoId: string;
RelationType: string;
}
declare class SingleRelationControlInfoModel extends GeneralControlInfoModel {
ColumnRequestEnum: string;
DropDownReportId: string;
FillBeforeDropDown: boolean;
HideCombo: boolean;
RelationViewType: string;
PassParentForm: boolean;
ShowNewButton: boolean;
ShowOkCancel: boolean;
ViewRelatedFormType: string;
TargetTypeDefId: string;
DataSource: {
Rows: RowDataOption[];
};
PreviewFieldCaption: string;
PreviewFieldId: string;
PreviewFieldName: string;
}
type ControlInfoTypes = SubformControlInfoModel | CalculateControlInfoModel | BoolControlInfoModel | EnumControlInfoModel | IconControlInfoModel | FileControlInfoModel | DateTimeControlInfoModel | NumberControlInfoModel | StringControlInfoModel | PictureFileControlInfoModel | GaugeControlInfoModel | CommandControlInfoModel | CodeEditorControlInfoModel;
interface FormViewSetting {
[key: string]: any;
Layout94: any;
ControlInfo: GeneralControlInfoModel[];
}
interface FormSetting {
[key: string]: any;
Data: {
[key: string]: any;
Mo: MetaobjectDataModel;
};
View: FormViewSetting;
}
declare class MetaobjectDataModel {
[key: string]: any;
$FieldDict?: {
[key: string]: string;
};
$ReportId?: string;
$Type?: string;
$StyleIndex?: number[];
$Caption: string;
$Icon?: string;
$State?: string;
$TypeDefId?: string;
$TypeDefName?: string;
$Children?: MetaobjectDataModel[];
Inheritance?: MetaobjectDataModel;
InheritanceInfo?: {
ChildFieldName: string;
ParentFieldName: string;
};
Id: string;
}
declare class CalendarMetaobjectDataModel extends MetaobjectDataModel {
$Color: string;
$MomentStartDate: string;
$MomentEndDate: string;
$StartTimes: string;
$EndTimes: string;
$Title: string;
$Notes: string;
$StartDateInfo?: DateInfo;
$EndDateInfo?: DateInfo;
}
declare abstract class MoForReportModelBase<T extends MetaobjectDataModel> {
$Type?: string;
TypeDefId: string;
ReportId: string;
Icon?: string;
MoDataList: Array<T>;
DeletedList: Array<{
Id: string;
TypeDefId: string;
}>;
AddedList: Array<{
Id: string;
TypeDefId: string;
}>;
Paging: PagingSetting;
Relation?: {
RelationType: string;
ParentMoId: string;
ParentFdId: string;
ChildFdId: string;
ParentFdName: string;
ChildFdName: string;
PassParentMoField: string;
IsAutoSave: boolean;
IsAutoSave_ReloadParentForms: boolean;
IsAutoSave_ReloadRootParentList: boolean;
};
}
declare class MoForReportModel extends MoForReportModelBase<MetaobjectDataModel> {
constructor();
}
declare class ReportBaseInfo {
Id: string;
Caption: string;
FolderId: string;
IconUrl: string;
Name: string;
ReportId: string;
}
declare class FormToolbarButton {
IAmMenu: boolean;
handler: (e: any, n: any) => void;
icon: string;
isBuiltin: boolean;
itemId: string;
menu: {
items: any[];
};
newIcon: string;
overflowGroup: number;
overflowPriority: 'low' | 'medium' | 'high';
scale: 'small' | 'medium' | 'large';
text: string;
toolbarInstance: any;
tooltip: string;
name: string;
}
declare class ReportExtraInfo extends ReportBaseInfo {
TypeDefId: string;
TypeDefCaption: string;
ReportType: string;
HideToolbar: boolean;
}
declare class MetaobjectRelationModel extends ListRelationModel {
ParentFdId: string;
PassParentMoField: string;
}
declare enum FieldInfoTypeEnum {
IntInfo = 0,
StringInfo = 2,
DateInfo = 3,
BoolInfo = 5,
EnumInfo = 6,
UserInfo = 7,
CategoryInfo = 8,
MetaObjectInfo = 9,
CommandInfo = 10,// 0x0000000A
PicturesInfo = 11,// 0x0000000B
RelationInfo = 12,// 0x0000000C
HistoryInfo = 13,// 0x0000000D
RelationInfoReverse_AksListi = 14,// 0x0000000E
CreatorUserInfo = 15,// 0x0000000F
CreationDateInfo = 16,// 0x00000010
LastUpdateDateInfo = 17,// 0x00000011
ReminderInfo = 18,// 0x00000012
RichStringInfo = 19,// 0x00000013
ConvertCommandInfo = 20,// 0x00000014
RelationInfoSingleReverse_AksTakiListi = 21,// 0x00000015
DialCommandInfo = 22,// 0x00000016
FindContactCommandInfo = 23,// 0x00000017
SequenceCommandInfo = 24,// 0x00000018
CurrencyInfo = 25,// 0x00000019
SinglePictureInfo = 26,// 0x0000001A
WordReportCommandInfo = 27,// 0x0000001B
HierarchicalInfo = 28,// 0x0000001C
TimeSpanInfo = 29,// 0x0000001D
ReportInfo = 30,// 0x0000001E
FileInfo = 31,// 0x0000001F
WordFileInfo = 32,// 0x00000020
PictureFileInfo = 33,// 0x00000021
GaugeInfo = 34,// 0x00000022
CodeInfo = 35,// 0x00000023
WorkCenterInfo = 36,// 0x00000024
IsDeletedInfo = 37,// 0x00000025
RowNumberInfo = 38,// 0x00000026
BinaryInfo = 39,// 0x00000027
ReverseMetaObjectInfo_AksTakiTaki = 40,// 0x00000028
ColorInfo = 41,// 0x00000029
IconInfo = 42,// 0x0000002A
RefreshFieldCommandInfo = 43,// 0x0000002B
ReferenceFieldInfo = 44,// 0x0000002C
SearchCommandInfo = 45,// 0x0000002D
OrderInfo = 46
}
interface ClassNamesModel {
CommandBarClass: string;
DataClass: string;
SelectionClass: string;
ViewerClass: string;
}
interface ExtraModel {
CustomCommands?: CustomCommand[];
DefaultCommandsAccess?: DefaultCommandsAccess;
ParentUlvConfig?: any;
Relation?: MetaobjectRelationModel;
Report?: ReportExtraInfo;
ExtraJsonPropReport?: any;
}
declare class BaseReportModel {
ClassNames: ClassNamesModel;
Extra: ExtraModel;
View: ViewTypes;
SearchPanel: any;
DefaultItemComponent: string;
}
declare const DefaultCommandsAccessValue: DefaultCommandsAccess;
interface DefaultCommandsAccess {
Add: boolean;
AddToList: boolean;
Delete: boolean;
Edit: boolean;
Export: boolean;
Print: boolean;
Refresh: boolean;
RemoveFromList: boolean;
View: boolean;
}
declare class CustomCommand {
Data: any;
DisableWhenReadonly: boolean;
HideDisable: boolean;
IconUrl: string;
IsLarge: boolean;
Mytype: string;
Order: number;
ShowOnContext: boolean;
ShowOnToolbar: boolean;
Text: string;
UseAlways: boolean;
UseForMulti: boolean;
UseForSingle: boolean;
}
declare class ReportModel extends BaseReportModel {
Data: MoForReportModel;
constructor();
}
declare class ReportListModel extends BaseReportModel {
View: GridView;
}
declare class ReportFormModel extends BaseReportModel {
View: FormView;
}
interface TreeView {
ConditionalFormats: [];
ParentIdDbName: string;
ShowSelectionChecks: boolean;
TreeAutoOpenLevels: number;
}
interface GridView {
AllowGridColumnSort: boolean;
AutoInlineEdit: boolean;
ColumnRequestEnum: string;
Columns: Array<ReportViewColumn>;
ConditionalFormats: [];
DisableRowReload: boolean;
GridSetting: GridSetting;
Grid_DisableColumnHeaders: boolean;
Grid_FreeColumnSizing: boolean;
Grid_GridLines: string;
Grid_HideHeader: boolean;
Grid_ShowRowNumber: boolean;
HasConditionalFormat: boolean;
HasSummaryRow: boolean;
HideIcon: boolean;
IsCheckList: boolean;
}
interface CalendarView {
CalendarFields: CalendarFields;
}
interface FormView {
FormPanelSetting: any;
}
type ViewTypes = GridView | CalendarView | TreeView | FormView;
type ReportModelTypes = ReportListModel | ReportCalendarModel | ReportFormModel | ReportTreeModel;
declare class ReportCalendarModel extends BaseReportModel {
View: CalendarView;
}
declare class ReportTreeModel extends BaseReportModel {
View: TreeView;
}
interface CalendarFields {
EndDate: string;
Notes: string;
StartDate: string;
Title: string;
Color: string;
}
declare class ReportViewColumn {
Alias: string;
Caption: string;
FieldDefId: string;
FieldTypeId: number | string;
FieldType: string;
HasSummary: boolean;
Hidden: boolean;
IsLtr: boolean;
IsPreview: boolean;
MetaFieldTypeId: string;
Name: string;
Width: number;
Tag?: string;
Icon: string;
OnlyImage?: boolean;
Extra?: any;
$ContentWidth?: string;
$Width?: string;
$ColumnWidthNum?: number;
$ColumnWidth?: string;
$FitContainerWidth?: string;
$MergedFieldsToColumn?: string[];
$CSSClassName?: string;
$CustomComponent?: EjrayOlgo;
$TextWidth?: number;
$IsImageOricon?: boolean;
}
declare const DefaultGridSetting: {
ColSettingList: never[];
AutoSizeColumns: boolean;
SortSettingList: never[];
Hidden: boolean;
};
declare class GridSetting {
ColSettingList: Array<ColSetting>;
SortSettingList: Array<SortSetting>;
AutoSizeColumns: boolean;
}
declare class ColSetting {
Name: string;
Width: number;
IsHidden: boolean;
}
declare class SortSetting {
Name: string;
SortDirection: string;
IsGrouped: boolean;
}
declare class ReportField {
column: ReportViewColumn;
item: any;
key: string;
value: string;
caption: string;
constructor(column: ReportViewColumn, item: any);
}
interface LoginResult {
data: {
sth: string;
};
}
interface ComponentSettingsDataModel extends MetaobjectDataModel {
PlaceHolders?: PlaceHolderDataModel[];
}
interface ComponentDataModel extends MetaobjectDataModel {
Selector: string;
Settings: ComponentSettingsDataModel;
}
interface PlaceHolderDataModel extends MetaobjectDataModel {
Name: string;
Title: string;
IsPage: boolean;
OrderNumber: string;
}
interface ModuleDataModel extends MetaobjectDataModel {
Title: string;
PlaceHolder: PlaceHolderDataModel;
Component: ComponentDataModel;
}
interface PageListReportModel extends MoForReportModel {
MoDataList: Array<PageDataModel>;
}
interface ModuleListReportModel extends MoForReportModel {
MoDataList: Array<ModuleDataModel>;
}
interface PageDataModel extends MetaobjectDataModel {
Component: ComponentDataModel;
ModuleList: ModuleListReportModel;
ChildPageList: PageListReportModel;
ChildPageList2: PageListReportModel;
Title: string;
IconName: string;
IconFontName: any;
RoutePath: string;
Route: string;
IsDefaultRoute: string;
IsLoginRoute: string;
ComponentName: string;
ComponentSelector: string;
}
interface PortalDataModel extends PageDataModel {
IsActive: boolean;
IsPwa: boolean;
PortalSettings: MetaobjectDataModel;
}
interface GroupVisibility {
enable: boolean;
visible: boolean;
readonly: boolean;
}
interface IHeaderLayout {
[key: string]: any;
Title: string;
Subtitle: string;
Avatar: any;
FacetList: {
MoDataList: MetaobjectDataModel[];
};
}
interface MenuItem {
icon: string;
text: string;
itemId: string;
Data: any;
Command: any;
handler: () => void;
IsBuiltin?: boolean;
menu?: {
items: MenuItem[];
};
}
interface PagingSetting {
EndIndex: number;
HasPaging: boolean;
Page: number;
PageSize: number;
RowCount: number;
StartIndex: number;
TotalPages: number;
TotalRows: number;
}
interface ColumnInfoType {
Name: string;
Hidden: boolean;
Caption: string;
IsMandatory?: boolean;
Width: number;
}
interface SearchPanelSettings extends MetaobjectDataModel {
Title: string;
ReportId: string;
IsDefault: boolean;
IsPublic: boolean;
ApplyAutomatically: boolean;
SearchMo?: string;
FieldsSetting?: string;
}
declare type DeviceSize = 'desktop' | 'mobile' | 'tablet';
declare const DateRanges: string[];
interface UiReportViewBase {
UiComponent: {
Component: boolean;
Module: string;
ModuleFileName: string;
Name: string;
Selector: string;
Settings: UiReportViewBaseSetting;
};
}
interface UiReportViewBaseSetting {
[key: string]: any;
Type: string;
Icon: string;
IsDefault: boolean;
Hidden: boolean;
EnableSearch: boolean;
DisableResponsive?: boolean;
DisableOverflowContextMenu?: boolean;
HorizontalGroupBy: boolean;
BackgroundImage: FileAttachmentInfo;
BackgroundColor: string;
}
interface LayoutSetting {
[key: string]: any;
Title?: string;
xtype: string;
TextVisible?: boolean;
items: LayoutSetting[];
IsRoot?: boolean;
SelectedTabPageName?: string;
}
declare type AbbrevationDeviceSize = 's' | 'm' | 'l' | 'xl';
declare type CardMediaSize = '32x32' | '64x64' | '128x128' | '256x256';
interface TreeNodeObj {
isExpand: boolean;
visibility: boolean;
expand: () => void;
collapse: () => void;
Data: MetaobjectDataModel;
children: TreeNodeObj[];
icon: string;
key: string;
leaf: boolean;
text: string;
level: number;
loading?: boolean;
hasOneDepthLevel?: boolean;
parentNode: TreeNodeObj | null;
firstChild: TreeNodeObj | null;
lastChild: TreeNodeObj | null;
previousSibling: TreeNodeObj | null;
nextSibling: TreeNodeObj | null;
attributes: {
Data: MetaobjectDataModel | null;
};
hasChildNodes: () => boolean;
noDrop: boolean;
$Children?: TreeNodeObj[];
}
interface ColumnResizedArgs {
name: string;
width: number;
thDom: HTMLTableCellElement;
}
type columnsResizedEventArgs = {
columns: Array<ReportViewColumn>;
resized: Array<ColumnResizedArgs>;
};
type RelationItemType = {
Id: string;
SourceTypeDefId: string;
ObjectInRelationName: string;
GroupCaption: string;
};
interface EjrayOlgo extends MetaobjectDataModel {
Module: string;
ModuleFileName: string;
Name: string;
Selector: string;
Parameters?: MetaobjectDataModel;
Settings?: MetaobjectDataModel;
}
interface IUploadingState {
key: string;
uploading: boolean;
state: 'Uploading' | 'Error' | 'Complete' | 'Start';
progress: any;
}
type GroupByItem = {
[key: string]: any;
id: string;
key: string;
value: any[];
};
type NotifyOptions = {
Sound: boolean;
Image: string | null;
Title: string | null;
Icon: boolean;
Delay: number;
Closable: boolean;
DelayIndicator: boolean;
CloseOnClick: boolean;
IsRtl: boolean;
Position: string | object;
SoundPath: string;
Size: string;
ContinueDelayOnInactiveTab: boolean;
Width: number;
MessageHeight: number;
NotificationItem?: NotificationItem;
};
type ShareButtonsChoiceDef = {
formPanelCtrlr: any;
mo: MetaobjectDataModel;
choiceList: ChoiceDef[];
add: boolean;
};
type ChoiceDef = {
ActivityDefId: string;
ActivityRunId: string;
ChoiceDefId: string;
ChoiceName?: string;
Title: string;
Icon?: string;
HasBar?: boolean;
};
type WorkflowExecuteChoiceStatus = {
loading: boolean;
result: any;
error: any;
choice?: ChoiceDef;
};
type NotificationPayload = {
msg: string;
title: string;
type: string;
image: string;
mo: any;
uiOptions: NotifyOptions;
otherOptions: Record<string, any>;
};
type NotificationAction = {
Title: string;
Id: string;
Icon: string;
Status: string | any;
};
type NotificationItem = MetaobjectDataModel & {
Title: string;
Unread: boolean;
Content: string;
$SafeContent?: SafeHtml;
Priority: number;
Subject: string;
Tag: string;
Icon: string;
Image: string;
CreationDate: Date;
CreationDate$Caption: string;
UiActions?: NotificationAction[];
$ChoiceDefStatus?: WorkflowExecuteChoiceStatus;
};
type ExNotificationPayload = {
lang: string;
isRtl: boolean;
notificationItem: NotificationItem;
};
type CartableTemplateKey = {
TypeDefId: string;
SettingsId: string;
};
declare enum SortDirection {
NONE = "none",
ASC = "asc",
DESC = "desc"
}
interface CollectionSort {
field: string | null;
direction: SortDirection;
isNumber?: boolean;
}
interface SearchInput {
text: string;
category: string | null;
}
interface CollectionGroup {
field: string;
direction: SortDirection;
showAsColumn: boolean;
}
interface CollectionPage {
pageSize: number;
currentPage: number;
}
interface CollectionState {
sortBy: CollectionSort[];
groupBy: CollectionGroup[];
page: CollectionPage;
searchInput: SearchInput;
}
interface TableState extends CollectionState {
columns: string[];
columnKeys: string[];
freezeToColumn: string | null;
}
declare enum SelectionMode {
SINGLE = "single",
MULTIPLE = "multiple",
NONE = "none"
}
interface TypeUlvMainCtrlr extends CommonObservable {
Adapter: any;
Setting: any;
System: any;
UlvParams: any;
Features: any;
UiOverride: any;
SearchPanelCtrlr: any;
SelectionAdapter: any;
DataCtrlr: TypeUlvDataCtrlr;
CommandBarCtrlr: any;
ViewerAdapter: any;
ParentMo: any;
FieldCtrlr: any;
isMandatory: boolean;
IsPreviewSourceField: boolean;
ShowOkCancelButtons: boolean;
_isEnable: boolean;
_isReadOnly: boolean;
_isVisible: boolean;
FootterButtons: boolean;
RefreshRowsByMosNoSelectionChange(edidedMos: MetaobjectDataModel[], addedMos: MetaobjectDataModel[], deletedMos: MetaobjectDataModel[]): void;
RefreshRowsByMos(edidedMos: MetaobjectDataModel[], addedMos: MetaobjectDataModel[], deletedMos: MetaobjectDataModel[]): void;
[key: string]: any;
}
interface TypeUlvDataCtrlr {
GetEditFormParams(mo: any, isReadOnly: any, isNew: any, inheritanceChildTypeDef: any, doReturn: any): Record<string, any>;
}
interface FormComponentParams {
formSetting?: FormSetting;
moId: string;
typeDefId: string | undefined;
reportId?: string;
viewId?: string | undefined;
ViewName?: string | undefined;
inDialog?: boolean;
isSimple?: boolean;
loadActivityView?: boolean;
}
interface BruleActionMessage {
MessageType: number;
EscapeCharacters: boolean;
MessageExpression: string;
MessageExpressionHtml: SafeHtml;
}
type ColumnSummaryType = {
moArr: MetaobjectDataModel[];
column: ReportViewColumn;
groupName: string;
groupLevel: number;
summaryFn: (val: any) => void;
};
interface ContainerReportSetting {
RelatedReport: MetaobjectDataModel;
RowClick: string;
DataOnly: boolean;
IsReportPage?: boolean;
}
type CssBackground = {
color: string;
url: string;
repeat: boolean;
};
interface UiResponsiveSettings {
IsActive: boolean;
XxlColumns: number;
XlColumns: number;
LColumns: number;
MdColumns: number;
SmColumns: number;
}
type CultureTypes = 'fa-IR' | 'ar-AE' | 'en-US';
interface ISystemData {
Id: string;
Name: string;
Caption: string;
IconName: string;
RootFolderId: string;
IsLoaded: boolean;
IsUiCreated: boolean;
IsActive: boolean;
CustomCodeList: any;
OnlyCode: boolean;
NoUi: boolean;
HasVerifyPassword: boolean;
ExtraData: any;
Navigator: Navigator;
Modules: Modules;
ShowRibbon: boolean;
JsonExtraProp: Record<string, any>;
CommandGroups: CommandGroup[];
WorkflowList: WorkflowItem[];
UseTreeNavigator: boolean;
}
type WorkflowItem = {
Id: string;
Caption: string;
Name: string;
};
interface CommandGroup {
Caption: string;
Name: string;
Key: string;
Order: number;
Menu?: Command[];
Commands: Command[];
}
interface Command {
Caption: string;
Name: string;
Key: string;
Size: string;
CommandId: string;
DynamicCommand?: MetaobjectDataModel;
IconSize: number;
Alignment: string;
Icon: string;
Menu?: Command[];
Commands?: Command[];
IsGlobal: boolean;
Order?: number;
}
interface Navigator {
Root: NavigatorRoot;
Width: number;
}
interface NavigatorRoot {
IsRoot: boolean;
IsTab: boolean;
Id: string;
FolderId: string;
ReportId: string;
Name: string;
Caption: string;
ReportCountExtension: boolean;
NotLoaded: boolean;
IconUrl: string;
Items: NavigatorRootItem[];
}
interface NavigatorRootItem {
IsRoot: boolean;
IsTab: boolean;
Id: string;
FolderId: string;
ReportId: string;
Name: string;
Caption: string;
ReportCountExtension: boolean;
NotLoaded: boolean;
IconUrl: string;
Items: NavigatorFolder[];
}
interface NavigatorFolder {
IsRoot: boolean;
IsTab: boolean;
Id: string;
FolderId: string;
ReportId: string;
Name: string;
Caption: string;
ReportCountExtension: boolean;
NotLoaded: boolean;
IconUrl: string;
Items: NavigatorFolderItem[];
FolderJsonExtraProp?: Record<string, any>;
}
interface NavigatorFolderItem {
IsRoot: boolean;
IsTab: boolean;
Id: string;
FolderId: string;
ReportId: string;
Name: string;
Caption: string;
ReportCountExtension: boolean;
NotLoaded: boolean;
ShowReportInNavigator?: boolean;
InsideView_Height?: number;
InsideView_RelatedFieldName?: string;
InsideView_RelatedFieldId?: string;
InsideView_ReportName?: string;
IconUrl?: string;
DynamicCommand?: MetaobjectDataModel;
}
interface Modules {
GetListMethod: string;
AddToFavoriteMethod: string;
RemoveFromFavoriteMethod: string;
}
interface ISystem {
Caption: string;
Id: string;
Name: string;
SystemData: ISystemData;
}
type CommonObservable = {
on: (args: any) => void;
events: Record<string, any>;
fireEvent: (...args: any[]) => void;
};
type NavGroupItem = {
icon: string;
id: string;
isDynCommand: boolean;
leaf: boolean;
text: string;
data: NavGroupItemData;
routeId: string;
};
type NavGroupItemData = {
Caption: string;
FolderId: string;
IconUrl: string;
Id: string;
IsRoot: boolean;
IsTab: boolean;
Name: string;
NotLoaded: boolean;
DynamicCommand: MetaobjectDataModel;
ReportCountExtension: boolean;
ReportId: string;
fontIcon: string;
fontName: any;
ShowReportInNavigator: boolean;
InsideView_Height: number;
InsideView_RelatedFieldId: string;
InsideView_RelatedFieldName: string;
InsideView_ReportName: string;
};
type CustomNavGroupUi = CommonObservable & {
cls: string;
Data: NavGroupItemData;
icon: string;
fontIcon: string;
fontName: any;
id: string;
itemId: string;
isDynCommand: boolean;
leaf: boolean;
text: string;
root: {
children: NavGroupItem[];
};
ulvUi: any;
_onBeforeClick: (data: any) => void;
};
type CustomNavPageUi = CommonObservable & {
Data: NavGroupItemData;
JsonExtraProp: Record<string, any>;
cls: string;
controlItems: Array<CustomNavGroupUi>;
events: Record<string, any>;
itemId: string;
title: string;
selected: boolean;
icon: string;
};
type CustomSystemNavUi = CommonObservable & {
itemId: string;
title: string;
FastSearchNavItemList: Array<any>;
JsonExtraProp: Record<string, any>;
SystemData: ISystemData;
childControl: {
controlItems: Array<CustomNavPageUi>;
};
};
type CustomSystemContainerUi = CommonObservable & {
SystemData: ISystemData;
};
type CustomSystemUi = CommonObservable & {
SystemNavUi: CustomSystemNavUi;
SystemData: ISystemData;
SystemContainerUi: CustomSystemContainerUi;
Ribbon: CustomRibbon;
};
type CustomApplicationUi = CommonObservable & {
_selectedSystemId: string;
_systemsUi: Array<CustomSystemUi>;
_appMenuBody: CustomApplicationMenuBodyUi;
};
type CustomApplicationMenuBodyUi = CommonObservable & {
SystemDataDict: Record<string, ISystemData>;
items: Array<AppMenu>;
};
type CustomRibbon = CommonObservable;
type AppMenu = {
id: string;
title: string;
subtitle?: string;
callback?: (event: MouseEvent) => void;
icon?: string;
iconImage?: string;
font?: string;
selected?: boolean;
disabledDragAndDrop?: boolean;
stickToPosition?: boolean;
SystemData: ISystemData;
};
type ShellbarSetting = MetaobjectDataModel & {
CssStyles: string;
subtitle: string;
calcSubtitle: string;
logo: FilePictureInfoModel;
ProductSwitchItems: MoForReportModel;
ProductMenuItems: MoForReportModel;
UserMenuItems: MoForReportModel;
ActionItems: MoForReportModel;
SidebarReport: MetaobjectDataModel;
ProfileImageReport: MetaobjectDataModel;
};
type InfoBarType = {
id: string;
text: string;
type: any;
buttons: Array<string>;
handler?: (x: any) => void;
icon: string;
};
type ToolbarButtonReportViewType = {
id: string;
text: string;
icon: string;
hideText?: boolean;
handler: () => void;
isEnable: boolean;
};
declare enum UlvHeightSizeType {
Default = 0,
FillPage = 1,
DesignSize = 2,
CustomSize = 3
}
type PictureGroupItem = {
Id: string;
Name: string;
};
type Media = {
Id: string;
title: string;
thumbnailUrl: string;
mediaType: string;
mediaUrl: string;
captionFile?: string;
audioDescFile?: string;
alt: string;
label: string;
groupId: string;
selected?: boolean;
overlayRequired?: boolean;
};
interface FieldSetting {
[key: string]: any;
ControlFieldCaption: string;
ControlFieldCaptionTranslated: string;
ControlFieldDefId: string;
ControlName: string;
RelatedFieldList: [];
Hide: boolean;
DontShowRecalculateButton?: boolean;
xtype: string;
LabelPosition: string;
IsMandatory: boolean;
IsVisible: boolean;
ShowLabel: boolean;
IsReadOnly: boolean;
IsEnabled: boolean;
IsBold: boolean;
IsAutomatic: boolean;
JsonExtraProp: any | null;
FieldIcon: string;
IsLtr: boolean;
}
declare class MoReportValuePipe implements PipeTransform {
transform(name: string, mo: MetaobjectDataModel, Columns?: {
[key: string]: any;
Name: string;
Caption: string;
}[], caption?: boolean): any;
static ɵfac: i0.ɵɵFactoryDeclaration<MoReportValuePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MoReportValuePipe, "rval", false>;
}
declare class NumeralPipe implements PipeTransform {
transform(value: string | number, decimalPrecision: number, showThousandSeperator: boolean): string | number;
_getReturnaValue(newVal: string, decimal: number): string;
floor(num: any, precision: any): number;
getValue(value: any): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NumeralPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NumeralPipe, "numeral", false>;
}
declare class GroupByPipe implements PipeTransform {
resolveValue(current: any, property: string, $Caption?: boolean, dot$Caption?: boolean): any;
transform(collection: any[], property: string): GroupByItem[];
static ɵfac: i0.ɵɵFactoryDeclaration<GroupByPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<GroupByPipe, "groupBy", false>;
}
declare class ContextMenuPipe implements PipeTransform {
private bbbPipe;
/** Inserted by Angular inject() migration for backwards compatibility */
constructor();
transform(commands: MenuItem[] | null, checkList?: boolean): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ContextMenuPipe, "contextMenu", false>;
}
declare class HeaderFacetValuePipe implements PipeTransform {
constructor();
transform(value: any, type?: string): any;
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderFacetValuePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<HeaderFacetValuePipe, "facetValue", false>;
}
declare class SeperatorFixPipe implements PipeTransform {
transform(buttons: any[], removeSeperator?: boolean): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<SeperatorFixPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<SeperatorFixPipe, "seperatorFix", false>;
}
declare class ConvertToStylePipe implements PipeTransform {
constructor();
transform(text: string | undefined): any;
static ɵfac: i0.ɵɵFactoryDeclaration<ConvertToStylePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ConvertToStylePipe, "convertToStyle", false>;
}
declare class TlbButtonsPipe implements PipeTransform {
constructor();
transform(buttons: any[] | null, property: string | string[], value?: any | any[], hideMoveButtons?: boolean): any[];
filterBtn(btn: any, property: any, value: any, hideMoveButtons: any): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<TlbButtonsPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<TlbButtonsPipe, "tlbButtons", false>;
}
declare class RemoveNewlinePipe implements PipeTransform {
constructor();
transform(text: string | undefined): string | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveNewlinePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<RemoveNewlinePipe, "removeNewline", false>;
}
declare class MoValuePipe implements PipeTransform {
constructor();
transform(name: string, mo: MetaobjectDataModel, caption?: boolean): string;
static ɵfac: i0.ɵɵFactoryDeclaration<MoValuePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MoValuePipe, "val", false>;
}
declare class FilterPipe implements PipeTransform {
transform(collection: any[], filterArgs: {
[key: string]: any;
}): any[];
matchFilter(value: any, fitlerArgs: any): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
}
declare class FilterTabPipe implements PipeTransform {
transform(collection: any[]): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTabPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FilterTabPipe, "filterTab", false>;
}
declare class MoReportValueConcatPipe implements PipeTransform {
constructor();
transform(names: string[], symbol: string, mo: MetaobjectDataModel, Columns?: any[]): string;
static ɵfac: i0.ɵɵFactoryDeclaration<MoReportValueConcatPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MoReportValueConcatPipe, "rvalConcat", false>;
}
declare class FilterStringPipe implements PipeTransform {
transform(collection: any[] | undefined | null, filterArgs: {
[key: string]: any;
mode: 'contains' | 'equals' | 'startWith' | 'endWith';
}): any[];
matchFilter(value: any, filterArgs: any): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<FilterStringPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FilterStringPipe, "filterStr", false>;
}
type SortOrder = 'asc' | 'desc';
declare class SortPipe implements PipeTransform {
transform(value: any[], sortOrder?: SortOrder | string, sortKey?: string): any;
static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort", false>;
static ɵprov: i0.ɵɵInjectableDeclaration<SortPipe>;
}
declare class BbbTranslatePipe implements PipeTransform {
transform(key: string | null, addText?: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<BbbTranslatePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<BbbTranslatePipe, "bbbTranslate", false>;
}
declare class BarsaIconDictPipe implements PipeTransform {
constructor();
transform(type: string, size?: string): IconFont;
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaIconDictPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<BarsaIconDictPipe, "barsaIconDict", false>;
}
declare class FileInfoCountPipe implements PipeTransform {
constructor();
transform(value: {
Files: any[];
}): number;
static ɵfac: i0.ɵɵFactoryDeclaration<FileInfoCountPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FileInfoCountPipe, "fileinfoCount", false>;
}
declare class ControlUiPipe implements PipeTransform {
transform(caption: string, layout94: LayoutSetting, columnName?: string): LayoutSetting | null;
findLayoutItem(caption: any, layoutItem: any, columnName?: string): LayoutSetting | null;
static ɵfac: i0.ɵɵFactoryDeclaration<ControlUiPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ControlUiPipe, "controlUi", false>;
}
declare class VisibleValuePipe implements PipeTransform {
constructor();
transform(object: any, field: any): string;
static ɵfac: i0.ɵɵFactoryDeclaration<VisibleValuePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<VisibleValuePipe, "barsaVisibleValue", false>;
}
declare class FilterToolbarControlPipe implements PipeTransform {
transform(config: LayoutSetting): LayoutSetting[];
static ɵfac: i0.ɵɵFactoryDeclaration<FilterToolbarControlPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FilterToolbarControlPipe, "filterToolbarControl", false>;
}
declare enum TableHeaderWidthMode {
FitToRowContent = 1,
FitToContainer = 2,
FreeColumnSize = 3,
ColumnWidth = 4
}
declare function setTableThWidth(tableHeaderMode: TableHeaderWidthMode, columns: ReportViewColumn[], thList: HTMLTableCellElement[], renderer2: Renderer2): void;
declare function calculateColumnContent(columns: ReportViewColumn[], moDataList: MetaobjectDataModel[]): void;
declare function calculateColumnWidth(container: HTMLElement, columns: ReportViewColumn[], moDataList: MetaobjectDataModel[], disableContextMenuOverflow: boolean, contextMenuItems: MenuItem[]): {
columns: ReportViewColumn[];
contextMenuWidth: number;
};
declare function setColumnWidthByMaxMoContentWidth(moDataList: MetaobjectDataModel[], column: ReportViewColumn): void;
declare function calculateMoDataListContentWidthByColumnName(moDataList: MetaobjectDataModel[], column: ReportViewColumn): number;
declare function calculateFreeColumnSize(columns: ReportViewColumn[]): ReportViewColumn[];
declare function calculateColumnWidthFitToContainer(container: HTMLElement, canView: boolean, disableContextMenuOverflow: boolean, contextMenuItems: MenuItem[], columns: ReportViewColumn[]): {
columns: ReportViewColumn[];
contextMenuWidth: number;
};
declare function calcContextMenuWidth(contextMenuItems: MenuItem[], disableContextMenuOverflow: boolean): number;
declare function RotateImage(imgEl: HTMLElement, media: {
RotationAngle: number;
}, renderer2: Renderer2): void;
declare function isInLocalMode(): boolean;
declare function getLabelWidth(item: any): number | undefined;
declare function getColumnValueOfMoDataList(name: string, mo: MetaobjectDataModel, Columns?: {
[key: string]: any;
Name: string;
Caption: string;
}[], caption?: boolean): any;
declare function throwIfAlreadyLoaded(parentModule: any, moduleName: string): void;
declare funct