Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions _data/components/form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ attributes: [
type: "(data: any) => OFormValidation",
since: "15.4.2",
description: "Executes the before-save validation callback for insert and update operations."
},{
name: "header-position",
type: "top | bottom",
default: "top",
required: "",
description: "Indicates the position of the form toolbar"
},{
name: "configure-service-args"
}]
Expand Down
2 changes: 0 additions & 2 deletions _data/components/listData/01.listItem.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _data/components/listData/02.listItemDirective.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
directive: "o-list-item"
title: "List item directive"
title: "List item"

attributes: [{
name: "o-list-item",
Expand Down
20 changes: 18 additions & 2 deletions _data/components/otableData/00table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ attributes: [{
},{
name: "groupable",
type: "no | false | yes | true",
default: "no",
default: "yes",
required: "",
description: "Indicates whether or not to group by column"
},{
Expand Down Expand Up @@ -225,6 +225,13 @@ attributes: [{
required: "",
default: "yes"
},{
name: "show-charts-on-demand-option",
type: "yes|no|true|false",
description: "Indicates whether or not to show the charts on demand menu option in the header menu",
required: "",
default: "yes"
},
{
name: "show-reset-width-option",
type: "yes|no|true|false",
description: "Indicates whether or not to show the reset width menu option in the header menu",
Expand Down Expand Up @@ -573,6 +580,15 @@ methods: [{
type: "method",
description: "Updates the state storage with the current table configuration when enabled."

}]
},{
name: "addDefaultRowButtons",
type: "method",
description: "Adds the default per-row action button columns (edit/detail) to the table when enabled by configuration."
},{
name: "addButtonInRow",
type: "method",
description: "Creates and registers a fixed non-searchable/non-orderable/non-resizable/non-groupable action column and ensures it is included in visibleColumns"
}
]

extraComponents: "otableData"
64 changes: 37 additions & 27 deletions _data/components/otableData/types/OTableGlobalConfig.yml
Original file line number Diff line number Diff line change
@@ -1,84 +1,94 @@
type: "OTableGlobalConfig"
description: "Represents the default options for the table that can be configured using the <a href='#O_TABLE_GLOBAL_CONFIG'>O_TABLE_GLOBAL_CONFIG</a> injection token.
<div class='language-html highlighter-rouge'><div class='highlight'><pre class='highlight'><code>
type OTableGlobalConfig = {
autoAdjust: boolean;
autoAlignTitles: boolean;
filterColumnActiveByDefault: boolean;
editionMode: OTableEditionMode;
detailMode: OTableDetailMode;
rowHeight: ORowHeight
};
</code></pre></div></div>
"

<div class='language-html highlighter-rouge'>
<div class='highlight'>
<pre class='highlight'>
<code>
type OTableGlobalConfig = {
autoAdjust: boolean;
autoAlignTitles: boolean;
filterColumnActiveByDefault: boolean;
editionMode: OTableEditionMode;
detailMode: OTableDetailMode;
rowHeight: ORowHeight,
showChartsOnDemandOption: boolean;
showReportOnDemandOption: boolean;
loading: { threshold: number, minVisible: number };
selectionOnRowClick?: boolean;
horizontalScroll: boolean;
};
</code>
</pre>
</div>
</div>"

attributes: [{
name: "autoAlignTitles",
type: "false | true",
default: "yes",
description: "Indicates whether or not to auto align the table header cells",
required : "",
},{
},{
name: "autoAdjust",
type: "false | true",
default : "yes",
required : "",
description : "Indicates whether or not to auto adjust column width to its content."
},{
},{
name: "filterColumnActiveByDefault",
type: "false | true",
default : "yes",
required : "",
description : "Indicates whether or not to active filter by column."
},{
},{
name: "editionMode",
type: "'none' | 'click' | 'dblclick' | 'doubleclick'",
default : "'none'",
required : "",
description : "Indicates the edition mode."
},{
},{
name: "detailMode",
type: "'none' | 'click' | 'dblclick' | 'doubleclick'",
default : "'click'",
required : "",
description : "Indicates the detail mode."
},{
},{
name: "rowHeight",
type: "'small' | 'medium' | 'large'",
default : "'click'",
required : "",
description : "Indicates the row height"
},{
},{
name: "horizontalScroll" ,
type: "boolean",
default : "false",
required : "",
description : "Indicates whether horizontal scroll is enabled."
},{
},{
name: "selectionOnRowClick",
type: "boolean",
default : "",
required : "",
description : "Indicates whether row selection is triggered when clicking on a row."
},
{
name: "showChartOnDemandOption",
},{
name: "showChartsOnDemandOption",
type: "boolean",
default : "true",
required : "",
description : "Indicates whether to show or not the 'Cart on demand' option in the table menu."
},
{
description : "Indicates whether to show or not the 'Chart on demand' option in the table menu."
},{
name: "showReportOnDemandOption",
type: "boolean",
default : "true",
required : "",
description : "Indicates whether to show or not the 'Report on demand' option in the table menu."
},
{ name: "loading",
},{
name: "loading",
type: "{threshold: number, minVisibleRows: number}",
default : "{threshold:300 , minVisibleRows: 300}",
required : "",
description : "Configuration object for loading strategy."
}]
}
]