devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
25 lines (24 loc) • 883 B
JavaScript
/**
* DevExpress HTML/JS Reporting (designer\internal\fieldlist\_watermarksViewModel.js)
* Version: 25.1.3
* Build date: Jun 26, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
import { getUniqueNameForNamedObjectsArray } from '@devexpress/analytics-core/analytics-internal';
import { Disposable } from '@devexpress/analytics-core/analytics-utils';
import { WatermarkModel } from '../../controls/properties/watermark';
export class WatermarksViewModel extends Disposable {
constructor(watermarks) {
super();
this._watermarks = watermarks;
}
createWatermark() {
return new WatermarkModel({
'@Id': getUniqueNameForNamedObjectsArray(this._watermarks(), 'watermark')
});
}
getActions(context) {
return [];
}
}