[]
ReportDesigner.ResourceProvider
Represents external resources provider.
↳ ResourceProvider
▸ fork(reportName
): ResourceLocator
Creates new ResourceLocator instance based on current one base path.
Name | Type | Description |
---|---|---|
reportName |
string |
Relative path for new report. |
ResourceLocator.fork
▸ getImagesList(): Promise
<ImageResourceInfo
[]>
Gets available images list.
Promise
<ImageResourceInfo
[]>
List or available images.
▸ getReportsList(): Promise
<ReportResourceInfo
[]>
Gets available reports list.
Promise
<ReportResourceInfo
[]>
List or available reports.
▸ getResource<T
>(uri
): Promise
<null
| T
>
Returns resource content.
Name |
---|
T |
Name | Type |
---|---|
uri |
string |
Promise
<null
| T
>
ResourceLocator.getResource
▸ getResourceUri(resourceID
): string
Returns absolute resource URI based on relative ID and base path.
Name | Type |
---|---|
resourceID |
string |
string
ResourceLocator.getResourceUri
▸ getThemesList(): Promise
<ThemeResourceInfo
[]>
Gets available themes list.
Promise
<ThemeResourceInfo
[]>
List or available themes.