diff --git a/_data/components/form.yml b/_data/components/form.yml index f40a197b1..ea3d8e4f6 100644 --- a/_data/components/form.yml +++ b/_data/components/form.yml @@ -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" }] diff --git a/_data/components/listData/01.listItem.yml b/_data/components/listData/01.listItem.yml deleted file mode 100644 index 363360a4f..000000000 --- a/_data/components/listData/01.listItem.yml +++ /dev/null @@ -1,2 +0,0 @@ -directive: "o-list-item" -title: "List item" diff --git a/_data/components/listData/02.listItemDirective.yml b/_data/components/listData/02.listItemDirective.yml index a257048b7..0709b90a3 100644 --- a/_data/components/listData/02.listItemDirective.yml +++ b/_data/components/listData/02.listItemDirective.yml @@ -1,5 +1,5 @@ directive: "o-list-item" -title: "List item directive" +title: "List item" attributes: [{ name: "o-list-item", diff --git a/_data/components/otableData/00table.yml b/_data/components/otableData/00table.yml index debcc2dfa..0e8b59368 100644 --- a/_data/components/otableData/00table.yml +++ b/_data/components/otableData/00table.yml @@ -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" },{ @@ -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", @@ -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" \ No newline at end of file diff --git a/_data/components/otableData/types/OTableGlobalConfig.yml b/_data/components/otableData/types/OTableGlobalConfig.yml index 85e3f18e0..fde343763 100644 --- a/_data/components/otableData/types/OTableGlobalConfig.yml +++ b/_data/components/otableData/types/OTableGlobalConfig.yml @@ -1,16 +1,27 @@ type: "OTableGlobalConfig" description: "Represents the default options for the table that can be configured using the O_TABLE_GLOBAL_CONFIG injection token. -

-type OTableGlobalConfig = {
-  autoAdjust: boolean;
-  autoAlignTitles: boolean;
-  filterColumnActiveByDefault: boolean;
-  editionMode: OTableEditionMode;
-  detailMode: OTableDetailMode;
-  rowHeight: ORowHeight
-};
-
-" + +
+
+
+        
+          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;
+          };
+        
+      
+
+
" attributes: [{ name: "autoAlignTitles", @@ -18,67 +29,66 @@ attributes: [{ 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." -}] + } +]