diff --git a/_data/components/otableData/00table.yml b/_data/components/otableData/00table.yml index 566fae20e..735469ae1 100644 --- a/_data/components/otableData/00table.yml +++ b/_data/components/otableData/00table.yml @@ -260,6 +260,15 @@ outputs: [{ },{ name: "onRowDeleted", description: "Event triggered when there some row deletion" +},{ + name: "onSearch", + description: "Event triggered when quick filter changes" +},{ + name: "onSortChange", + description: "Emitted when sorting changes" +},{ + name: "onFilterByColumnChange ", + description: "Emitted when column filters change" }] methods: [{ @@ -553,6 +562,11 @@ methods: [{ type: "method", returns: "Expression", description: "Returns the complex expression from the column filters." +},{ + name: "updateStateStorage", + type: "method", + description: "Updates the state storage with the current table configuration when enabled." + }] extraComponents: "otableData" \ No newline at end of file diff --git a/_data/components/otableData/renderers/12tableColumnRendererChip.yml b/_data/components/otableData/renderers/12tableColumnRendererChip.yml new file mode 100644 index 000000000..8cdd9dd52 --- /dev/null +++ b/_data/components/otableData/renderers/12tableColumnRendererChip.yml @@ -0,0 +1,51 @@ +class: "OTableCellRendererChipComponent" + +extends: "OBaseTableCellRenderer" + +directive: "o-table-cell-renderer-chip" +title: "Cell renderer: chip" + +attributes: [{ + name: "icon" +},{ + name: "translate", + type: "boolean", + default: "true", + description: "Whether to translate the text" +},{ + name: "icon-position", + type: "left | right", + default: "left", + description: "Icon position with respect to the text (if exists)" +},{ + name: "text", + type: "string", + default: "", + description: "Cell text" +}, +{ + name: "svg-icon" +}] +inherit_properties: [{ + component: "OBaseTableCellRenderer", + path: "components/data/table/obasetablecellrenderer/api", + properties: [{ + name: "column", + type: "property", + description: "Name of the column" + },{ + name: "table", + type: "property" + },{ + name: "tableColumn", + type: "property" + },{ + name: "templateref" + }] +}] + +inheritedAttributes: [{ + component: "OBaseTableCellRenderer", + path: "components/data/table/obasetablecellrenderer/api", + attributes: ['filter-source', "filterFunction"] +}] \ No newline at end of file diff --git a/_data/components/otableData/renderers/13tableColumnRendererList.yml b/_data/components/otableData/renderers/13tableColumnRendererList.yml new file mode 100644 index 000000000..d55a27b39 --- /dev/null +++ b/_data/components/otableData/renderers/13tableColumnRendererList.yml @@ -0,0 +1,31 @@ +class: "OTableCellRendererListComponent" + +extends: "OBaseTableCellRenderer" + +directive: "'o-table-cell-renderer-list" +title: "Cell renderer: list" + +attributes: [] +inherit_properties: [{ + component: "OBaseTableCellRenderer", + path: "components/data/table/obasetablecellrenderer/api", + properties: [{ + name: "column", + type: "property", + description: "Name of the column" + },{ + name: "table", + type: "property" + },{ + name: "tableColumn", + type: "property" + },{ + name: "templateref" + }] +}] + +inheritedAttributes: [{ + component: "OBaseTableCellRenderer", + path: "components/data/table/obasetablecellrenderer/api", + attributes: ['filter-source', "filterFunction"] +}] \ No newline at end of file diff --git a/_data/components/otableData/types/OTableGlobalConfig.yml b/_data/components/otableData/types/OTableGlobalConfig.yml index 18d295e49..40375a2de 100644 --- a/_data/components/otableData/types/OTableGlobalConfig.yml +++ b/_data/components/otableData/types/OTableGlobalConfig.yml @@ -48,5 +48,39 @@ attributes: [{ 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 : "false", + required : "", + description : "Indicates whether row selection is triggered when clicking on a row." +}, +{ + name: "showChartOnDemandOption", + type: "boolean", + default : "true", + required : "", + description : "Indicates whether to show or not the 'Cart 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", + type: "{threshold: number, minVisibleRows: number}", + default : "{threshold:300 , minVisibleRows: 300}", + required : "", + description : "Configuration object for loading strategy." +} + +] diff --git a/assets/images/components/tabla/renderers_table.png b/assets/images/components/tabla/renderers_table.png index bd8c9c5e3..a6131c7c7 100644 Binary files a/assets/images/components/tabla/renderers_table.png and b/assets/images/components/tabla/renderers_table.png differ diff --git a/docs/aditional-information/52-versions.md b/docs/aditional-information/52-versions.md index e3ea2fcc7..0f1233c7d 100644 --- a/docs/aditional-information/52-versions.md +++ b/docs/aditional-information/52-versions.md @@ -28,14 +28,18 @@ In this section you can check the different releases of **OntimizeWeb** and its
+