/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.commons.FileUploaderParameter.
sap.ui.define(['jquery.sap.global', './library', 'sap/ui/unified/FileUploaderParameter'],
function(jQuery, library, UnifiedFileUploaderParameter) {
"use strict";
/**
* Constructor for a new FileUploaderParameter.
*
* @param {string} [sId] id for the new control, generated automatically if no id is given
* @param {object} [mSettings] initial settings for the new control
*
* @class
* Represents a parameter for the FileUploader which is rendered as a hidden inputfield.
* @extends sap.ui.unified.FileUploaderParameter
*
* @author SAP SE
* @version 1.60.23
*
* @constructor
* @public
* @deprecated Since version 1.21.0.
* Please use the element sap.ui.unified.FileUploaderParameter of the library sap.ui.unified instead.
* @alias sap.ui.commons.FileUploaderParameter
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
*/
var FileUploaderParameter = UnifiedFileUploaderParameter.extend("sap.ui.commons.FileUploaderParameter", /** @lends sap.ui.commons.FileUploaderParameter.prototype */ { metadata : {
deprecated : true,
library : "sap.ui.commons"
}});
try {
sap.ui.getCore().loadLibrary("sap.ui.unified");
} catch (e) {
jQuery.sap.log.error("The element 'sap.ui.commons.FileUploaderParameter' needs library 'sap.ui.unified'.");
throw (e);
}
return FileUploaderParameter;
}, /* bExport= */ true);