@sap-ux/fe-fpm-writer 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
export declare enum BuildingBlockType {
|
|
7
7
|
FilterBar = "filter-bar",
|
|
8
8
|
Chart = "chart",
|
|
9
|
-
Field = "field"
|
|
9
|
+
Field = "field",
|
|
10
|
+
Table = "table"
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* Represents a building block control.
|
|
@@ -34,7 +35,7 @@ export interface BuildingBlock {
|
|
|
34
35
|
* Usually, a contextPath and metaPath is expected.
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
|
-
* <macro:Chart id="
|
|
38
|
+
* <macro:Chart id="MyChart" contextPath="/RootEntity" metaPath="@com.sap.vocabularies.UI.v1.Chart" />
|
|
38
39
|
* @extends {BuildingBlock}
|
|
39
40
|
*/
|
|
40
41
|
export interface Chart extends BuildingBlock {
|
|
@@ -292,10 +293,6 @@ export interface Table extends BuildingBlock {
|
|
|
292
293
|
* Defines whether to display the search action.
|
|
293
294
|
*/
|
|
294
295
|
isSearchable?: boolean;
|
|
295
|
-
/**
|
|
296
|
-
* Groups menu actions by key.
|
|
297
|
-
*/
|
|
298
|
-
menu?: string;
|
|
299
296
|
/**
|
|
300
297
|
* Controls which options should be enabled for the table personalization dialog.
|
|
301
298
|
* If it is set to `true`, all possible options for this kind of table are enabled.
|
|
@@ -11,5 +11,6 @@ var BuildingBlockType;
|
|
|
11
11
|
BuildingBlockType["FilterBar"] = "filter-bar";
|
|
12
12
|
BuildingBlockType["Chart"] = "chart";
|
|
13
13
|
BuildingBlockType["Field"] = "field";
|
|
14
|
+
BuildingBlockType["Table"] = "table";
|
|
14
15
|
})(BuildingBlockType = exports.BuildingBlockType || (exports.BuildingBlockType = {}));
|
|
15
16
|
//# sourceMappingURL=types.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { CustomView } from './view/types';
|
|
|
12
12
|
export { generateCustomView } from './view';
|
|
13
13
|
export { enableFPM, FPMConfig } from './app';
|
|
14
14
|
export { validateBasePath, validateVersion } from './common/validate';
|
|
15
|
-
export { BuildingBlockType, FilterBar, Chart, Field, FieldFormatOptions } from './building-block/types';
|
|
15
|
+
export { BuildingBlockType, FilterBar, Chart, Field, FieldFormatOptions, Table } from './building-block/types';
|
|
16
16
|
export { generateBuildingBlock } from './building-block';
|
|
17
17
|
export { ControllerExtension, ControllerExtensionPageType } from './controller-extension/types';
|
|
18
18
|
export { generateControllerExtension } from './controller-extension';
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<<%- macrosNamespace %>:Table
|
|
2
|
+
id="<%- data.id %>"<% if (data.metaPath) { %>
|
|
3
|
+
metaPath="<%- data.metaPath %>"<% } %><% if (data.contextPath) { %>
|
|
4
|
+
contextPath="<%- data.contextPath %>"<% } %><% if (data.busy) { %>
|
|
5
|
+
busy="<%- data.busy %>"<% } %><% if (data.enableAutoColumnWidth) { %>
|
|
6
|
+
enableAutoColumnWidth="<%- data.enableAutoColumnWidth %>"<% } %><% if (data.enableExport) { %>
|
|
7
|
+
enableExport="<%- data.enableExport %>"<% } %><% if (data.enableFullScreen) { %>
|
|
8
|
+
enableFullScreen="<%- data.enableFullScreen %>"<% } %><% if (data.enablePaste) { %>
|
|
9
|
+
enablePaste="<%- data.enablePaste %>"<% } %><% if (data.filterBar) { %>
|
|
10
|
+
filterBar="<%- data.filterBar %>"<% } %><% if (data.header) { %>
|
|
11
|
+
header="<%- data.header %>"<% } %><% if (data.headerVisible) { %>
|
|
12
|
+
headerVisible="<%- data.headerVisible %>"<% } %><% if (data.isSearchable) { %>
|
|
13
|
+
isSearchable="<%- data.isSearchable %>"<% } %><% if (data.personalization) { %>
|
|
14
|
+
personalization="<%- data.personalization %>"<% } %><% if (data.readOnly) { %>
|
|
15
|
+
readOnly="<%- data.readOnly %>"<% } %><% if (data.selectionMode) { %>
|
|
16
|
+
selectionMode="<%- data.selectionMode %>"<% } %><% if (data.type) { %>
|
|
17
|
+
type="<%- data.type %>"<% } %><% if (data.variantManagement) { %>
|
|
18
|
+
variantManagement="<%- data.variantManagement %>"<% } %>
|
|
19
|
+
/>
|