realreport-designer 1.9.6 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/realreport-designer.cjs +188 -139
- package/dist/realreport-designer.d.ts +6 -13
- package/dist/realreport-designer.js +23824 -23394
- package/dist/realreport-designer.umd.js +193 -144
- package/dist/styles/realreport-designer.css +63 -10
- package/package.json +1 -1
|
@@ -4976,6 +4976,7 @@ declare class Report_2 extends EventAware implements IEditCommandStackOwner, IPr
|
|
|
4976
4976
|
getEditHistory(all?: boolean): EditCommand[];
|
|
4977
4977
|
getCommand(id: number): EditCommand;
|
|
4978
4978
|
itemByName(name: string): ReportItem;
|
|
4979
|
+
itemOf(hash: string): ReportItem;
|
|
4979
4980
|
defaultInit(item: ReportItem, group: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
4980
4981
|
addItem(parent: ReportGroupItem, item: ReportItem, index?: number): boolean;
|
|
4981
4982
|
moveCollectionItem(collection: ReportItemCollection<any>, from: number, to: number): void;
|
|
@@ -5161,9 +5162,9 @@ declare enum ReportDataLinkFormat {
|
|
|
5161
5162
|
|
|
5162
5163
|
export declare class ReportDesigner {
|
|
5163
5164
|
private readonly _core;
|
|
5164
|
-
constructor(containerId: string | HTMLDivElement, options?: ReportDesignerOptions, server?:
|
|
5165
|
+
constructor(containerId: string | HTMLDivElement, options?: ReportDesignerOptions, server?: IReportServer, licenseKey?: string);
|
|
5165
5166
|
get designMode(): boolean;
|
|
5166
|
-
set designMode(
|
|
5167
|
+
set designMode(mode: boolean);
|
|
5167
5168
|
set defaultFont(fontName: string);
|
|
5168
5169
|
loadReport(source: any, options?: ReportOptions): void;
|
|
5169
5170
|
setReportTemplates(templates: UserReportCategoryTemplate[]): Promise<void>;
|
|
@@ -6063,6 +6064,7 @@ declare enum ReportItemType {
|
|
|
6063
6064
|
HTML = "html",
|
|
6064
6065
|
HTMLVIEW = "htmlview",
|
|
6065
6066
|
SVG = "svg",
|
|
6067
|
+
SIGN = "sign",
|
|
6066
6068
|
REALCHART = "realchart",
|
|
6067
6069
|
HICHART = "hichart",
|
|
6068
6070
|
PAGE = "page"
|
|
@@ -6140,6 +6142,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6140
6142
|
private _pageIndex;
|
|
6141
6143
|
private _events;
|
|
6142
6144
|
private _nameMap;
|
|
6145
|
+
private _hashMap;
|
|
6143
6146
|
private _reportHeader;
|
|
6144
6147
|
private _reportFooter;
|
|
6145
6148
|
private _pageHeader;
|
|
@@ -6239,6 +6242,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6239
6242
|
get marginBottom(): ValueString;
|
|
6240
6243
|
set marginBottom(value: ValueString);
|
|
6241
6244
|
getItem(name: string): ReportItem;
|
|
6245
|
+
itemOf(hash: string): ReportItem;
|
|
6242
6246
|
removeItems(commands: EditCommandStack, items: ReportPageItem[]): number;
|
|
6243
6247
|
search(page: number, key: string, options: FindOptions, results: FindResult[]): void;
|
|
6244
6248
|
/**
|
|
@@ -6481,17 +6485,6 @@ declare class ReportRootItem extends ReportGroupItem {
|
|
|
6481
6485
|
protected _doSave(target: object): void;
|
|
6482
6486
|
}
|
|
6483
6487
|
|
|
6484
|
-
declare interface ReportServer {
|
|
6485
|
-
getReportList(): Promise<ReportListSource>;
|
|
6486
|
-
getReport(id: string): Promise<IReportSource>;
|
|
6487
|
-
saveReport?(report: Record<string, any>, id?: string): Promise<IReportResponse | null>;
|
|
6488
|
-
getDataGroups(parent?: string): Promise<string[]>;
|
|
6489
|
-
getDataList(group: string): Promise<IReportDataInfo[]>;
|
|
6490
|
-
getData?(id: string): Promise<IReportDataInfo>;
|
|
6491
|
-
getAssetGroups(parent?: string): Promise<string[]>;
|
|
6492
|
-
getAssetList(group: string): Promise<IReportAssetItem[]>;
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6495
6488
|
declare type ReportSource$1 = Record<string, unknown> | Record<string, unknown>[];
|
|
6496
6489
|
|
|
6497
6490
|
declare type ReportSource = {
|