- Source:
 
Classes
Methods
(async, static) apiIndexGenerator(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Compiles API index resources from all 
    api.json resources available in the given test resources directory
as created by the sdkTransformer processor.
The resulting index resources (e.g. api-index.json,  api-index-deprecated.json,
api-index-experimental.json and api-index-since.json) are mainly to be used in the SDK.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with created resources 
api-index.json,
api-index-deprecated.json, api-index-experimental.json and
api-index-since.json (names depend on the supplied paths)
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) debugFileCreator(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Creates *-dbg.js files for all supplied resources.
    Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with debug resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) flexChangesBundler(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Bundles all supplied changes.
    Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with flex changes bundle resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(async, static) jsdocGenerator(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    JSDoc generator
    Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with newly created resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) libraryLessGenerator(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Creates a "library.less" file for the SAP Theme Designer based on a "library.source.less" file.
    - Bundles all *.less file of the theme by replacing the import with the corresponding file content
 - Imports to "base.less" are adopted so that they point to the "BaseLib" that is available within the Theme Designer infrastructure
 - Imports to "global.less" are kept as they should not be bundled
 - Imports to "library.source.less" are adopted to "library.less"
 
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with library.less resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) manifestBundler(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Creates a manifest bundle from the provided resources.
    Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with manifest bundle resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) moduleBundler(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Legacy preload bundler.
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with module bundle resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(async, static) nonAsciiEscaper(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Escapes non ASCII characters with unicode escape sequences.
    Example
const encoding = nonAsciiEscaper.getEncodingFromAlias("ISO-8859-1");
nonAsciiEscaper({resources, options: {encoding}});
    Parameters:
| Name | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with the processed resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) nonAsciiEscaper․getEncodingFromAlias(encoding) → {string}
    Provides a mapping from user-friendly encoding name (alias) such as "UTF-8" and "ISO-8859-1" to node
specific encoding name such as "utf8" or "latin1". Simplifies usage of nonAsciiEscaper encoding option
such that it can be used standalone without the respective task (e.g. in Splitter, Bundler and related projects).
    Parameters:
| Name | Type | Description | 
|---|---|---|
encoding | 
            
            string | encoding labels: "UTF-8" and "ISO-8859-1" | 
Returns:
    node.js character encoding string, e.g. utf8 and latin1
- Type
 - string
 
(static) resourceCopier(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Copy files to a different path.
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with the cloned resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(async, static) sdkTransformer(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Transform api.json as created by jsdocGenerator
for usage in a UI5 SDK
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with created resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) stringReplacer(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Replaces placeholders with corresponding values.
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with modified resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) themeBuilder(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Builds a library theme.
    Parameters:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with theme resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) uglifier(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Minifies the supplied resources.
    Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with uglified resources
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>
 
(static) versionInfoGenerator(parameters) → {Promise.<Array.<module:@ui5/fs.Resource>>}
    Creates sap-ui-version.json.
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | 
            
            object | Parameters
                Properties
  | 
        
Returns:
    Promise resolving with an array containing the versionInfo resource
- Type
 - Promise.<Array.<module:@ui5/fs.Resource>>