devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
28 lines (27 loc) • 1.05 kB
JavaScript
/**
* DevExpress HTML/JS Reporting (chart\components\axis\_axis.js)
* Version: 20.2.13
* Build date: Apr 10, 2023
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var analytics_utils_1 = require("@devexpress/analytics-core/analytics-utils");
var ko = require("knockout");
function initCollectionItem(item, parent) {
return function () {
item.parent = parent;
item.innerActions = [
{
text: analytics_utils_1.getLocalization('Remove', 'ReportStringId.UD_Capt_SpacingRemove'),
imageClassName: 'dxrd-image-recycle-bin',
imageTemplateName: 'dxrd-svg-operations-recycle_bin',
disabled: ko.observable(false),
visible: true,
clickAction: function () { parent.remove(item); },
}
];
};
}
exports.initCollectionItem = initCollectionItem;