From 98c32dff233e2c3972591b84a2ac72b16ba13232 Mon Sep 17 00:00:00 2001 From: Patricia Martinez <32088627+patricia-martinez-imatia@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:28:07 +0100 Subject: [PATCH 1/5] Updated documentation about aggregate-function input (#704) * Updated documentation about aggregate-function input * Fixed typo --- _data/components/otableData/05tableColumnAggregate.yml | 4 ++-- .../components/otableData/15tableColumnsGroupingColumn.yml | 2 +- docs/components/data/35-o-table.component.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_data/components/otableData/05tableColumnAggregate.yml b/_data/components/otableData/05tableColumnAggregate.yml index ea9411402..b5b6456b9 100644 --- a/_data/components/otableData/05tableColumnAggregate.yml +++ b/_data/components/otableData/05tableColumnAggregate.yml @@ -22,8 +22,8 @@ attributes: [{ required : "", description : "Default functions aggregate" },{ - name: "function-aggregate", - type: "(value:any[]) => number ", + name: "aggregate-function", + type: "(value: any[], columnAttr?: string, table?: OTableComponent) => number | Promise", default : "", required : "", description : "Custom function aggregate" diff --git a/_data/components/otableData/15tableColumnsGroupingColumn.yml b/_data/components/otableData/15tableColumnsGroupingColumn.yml index 1a7d68a3a..cc1778f23 100644 --- a/_data/components/otableData/15tableColumnsGroupingColumn.yml +++ b/_data/components/otableData/15tableColumnsGroupingColumn.yml @@ -27,7 +27,7 @@ attributes: [{ description : "Default functions aggregate" },{ name: "aggregate-function", - type: " (value: any[]) => number", + type: "(value: any[], columnAttr?: string, table?: OTableComponent) => number | Promise", default: "", required: "", description: "Function that calculates a value on the values of the column 'attr'" diff --git a/docs/components/data/35-o-table.component.md b/docs/components/data/35-o-table.component.md index 668e05182..8ecef4dfc 100644 --- a/docs/components/data/35-o-table.component.md +++ b/docs/components/data/35-o-table.component.md @@ -914,7 +914,7 @@ The `o-table` component supports *fixed header* and *footer* setting `fixed-head ### Aggregates -Oftentimes, when displaying numbers in the table, users would like to be able to see the results from aggregate calculations at the bottom of the table columns. The `o-table` component has support for the mostly used aggregate functions (count,sum,avg,min,max). +Often when displaying numbers in a table, users want to show summary results of aggregate calculations at the bottom of the table columns. The `o‑table` component supports commonly used aggregation functions (**count**, **sum**, **avg**, **min**, **max**) using `aggregate` input and also allows specifying a **custom aggregation function** using the `aggregate-function` input, which may return either a **synchronous number** or a **Promise** (for asynchronous operations).

Example

@@ -928,7 +928,7 @@ Oftentimes, when displaying numbers in the table, users would like to be able to - + ``` @@ -1458,7 +1458,7 @@ By default, the table is *groupable* and for grouping/ungrouping by one o more c If there is at least one grouping, the table automatically applies the *sum function* on those of type `currency`, `integer` and `real` and whose value will be displayed in the grouped row. If you want to exclude this function from being performed, you must add this column in the `excluded-aggregate-columns` attribute in `o-table-columns-grouping` component. - You can configure the *aggregate functions* (count,sum,avg,min,max) in the `o-table-columns-grouping` component. Additionally, you can specify aggregate function to be applied with `function-aggregate` attribute. + You can configure the *aggregate functions* (count,sum,avg,min,max) in the `o-table-columns-grouping` component. Additionally, you can specify aggregate function to be applied with `aggregate-function` attribute. By default, when you change the aggregate function in a column, it will change in all grouped rows of the same level, if you want to avoid this behavior you must add `change-aggregate-same-level="no"`. From 4381789799f70443a5ff9374e13ccfc5f9cb4600 Mon Sep 17 00:00:00 2001 From: nprol <134269709+nprol@users.noreply.github.com> Date: Thu, 13 Nov 2025 08:53:01 +0100 Subject: [PATCH 2/5] Removed duplicated "the" (#705) Co-authored-by: Noelia Prol Carballo --- _data/components/filterexpressionmethods.yml | 2 +- docs/addons/39-ontimize-web-ngx-jee-seed.md | 2 +- docs/components/input/00-overview.service-component.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_data/components/filterexpressionmethods.yml b/_data/components/filterexpressionmethods.yml index 88b8c1dc1..26b21651e 100644 --- a/_data/components/filterexpressionmethods.yml +++ b/_data/components/filterexpressionmethods.yml @@ -368,7 +368,7 @@ utilityMethods: [ }, { name: "instanceofBasicExpression", - description: "Evaluates if the the expression provided is an instance of `IBasicExpression`.", + description: "Evaluates if the expression provided is an instance of `IBasicExpression`.", params: [ { name: "exp", diff --git a/docs/addons/39-ontimize-web-ngx-jee-seed.md b/docs/addons/39-ontimize-web-ngx-jee-seed.md index c40e4e35e..cd69dd114 100644 --- a/docs/addons/39-ontimize-web-ngx-jee-seed.md +++ b/docs/addons/39-ontimize-web-ngx-jee-seed.md @@ -11,7 +11,7 @@ nav_order: 5 ## Introduction -The The **Ontimize Web Java EE app seed** is a seed proyect created to start developing your [OntimizeWeb](https://github.com/OntimizeWeb/ontimize-web-ngx/tree/main.15.x){:target="_blank"} applications faster and easily. +The **Ontimize Web Java EE app seed** is a seed proyect created to start developing your [OntimizeWeb](https://github.com/OntimizeWeb/ontimize-web-ngx/tree/main.15.x){:target="_blank"} applications faster and easily. ## Github Ontimize Web JEE application seed is stored in [github](https://github.com/OntimizeWeb/ontimize-web-ngx-jee-seed/tree/15.x.x){:target="_blank"} where you can also see/add todos, bugs or feature requests in the [issues](https://github.com/OntimizeWeb/ontimize-web-ngx-jee-seed/issues){:target="_blank"} section. diff --git a/docs/components/input/00-overview.service-component.md b/docs/components/input/00-overview.service-component.md index 56342974d..36125341e 100644 --- a/docs/components/input/00-overview.service-component.md +++ b/docs/components/input/00-overview.service-component.md @@ -39,7 +39,7 @@ Form service components extends this behaviour and go one step forward, they all ``` -In this example there is a form for linking users and roles, the roles the user may be linked with depend on the type of the user. The user type is part of the user information queried in the first combo. Notice that the the parent keys attribute for the roles combo has an alias and a column defined for the alias. This will make the roles component to look for the value of its parent key in the component with attr `user` and it will take the `user_type` column value as its parent key value. +In this example there is a form for linking users and roles, the roles the user may be linked with depend on the type of the user. The user type is part of the user information queried in the first combo. Notice that the parent keys attribute for the roles combo has an alias and a column defined for the alias. This will make the roles component to look for the value of its parent key in the component with attr `user` and it will take the `user_type` column value as its parent key value. The construction of dependant list-pickers is the same as done in the combo component. The first one is the selector of users, this will be the one that affects the second one. From 299ec2c246dc3de7244ecc4633fc474c7d83a359 Mon Sep 17 00:00:00 2001 From: nprol <134269709+nprol@users.noreply.github.com> Date: Thu, 13 Nov 2025 09:18:34 +0100 Subject: [PATCH 3/5] fixed typo (#706) Co-authored-by: Noelia Prol Carballo --- _data/components/otableData/00table.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/components/otableData/00table.yml b/_data/components/otableData/00table.yml index bd7fa1c0f..84638897f 100644 --- a/_data/components/otableData/00table.yml +++ b/_data/components/otableData/00table.yml @@ -139,7 +139,7 @@ attributes: [{ },{ name: "orderable" },{ - name: "oenabled", + name: "enabled", type: "no | false | yes | true", default: "yes", required: "", From 00e6664fcfa06e58fa875788221606cd8078eeed Mon Sep 17 00:00:00 2001 From: nprol <134269709+nprol@users.noreply.github.com> Date: Wed, 26 Nov 2025 09:46:53 +0100 Subject: [PATCH 4/5] Modified static-data example (#710) * modified static-data example * Added note about using static-data * Modified all static-data examples and added more information about it * Deleted non-existent references --------- Co-authored-by: Noelia Prol Carballo --- docs/components/data/34-o-list.component.md | 23 ++++++++++++++----- docs/components/data/35-o-grid.component.md | 21 +++++++++++++---- docs/components/data/35-o-table.component.md | 21 +++++++++-------- docs/components/input/02-o-combo.component.md | 3 +++ .../input/09-o-list-picker.component.md | 3 +++ docs/components/input/16-o-radio.component.md | 7 ++++-- .../00-o-service-base.component.md | 4 ++++ 7 files changed, 60 insertions(+), 22 deletions(-) diff --git a/docs/components/data/34-o-list.component.md b/docs/components/data/34-o-list.component.md index bc68a43d9..8169919dc 100644 --- a/docs/components/data/34-o-list.component.md +++ b/docs/components/data/34-o-list.component.md @@ -13,14 +13,25 @@ nav_order: 4 The `o-list` component is used to display a series of items. There is different types of predefined list items you can add to the list component. -For adding a list component to your application you must insert the `o-list` in your page and include a `o-list-item` component wrapping the desired list item type you want to display. Check the different list items types below. +## Data binding + +The o-list component supports data binding and you can command the component to display data either from *local* or *remote* data storage + +The data array can be provided in two ways: +* Provide an array of objects to the `static-data` attribute. +* Configure the component to query the data from a service. Using `service` and `entity` attributes. +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). + ## List item +For adding a list component to your application you must insert the `o-list` in your page and include a `o-list-item` component wrapping the desired list item type you want to display. Check the different list items types below. ### List item: text The `o-list-item-text` component is used to display list items with a maximum of two lines of text and a title. ```html - +
diff --git a/docs/components/data/35-o-grid.component.md b/docs/components/data/35-o-grid.component.md index 3422642cb..68fe81488 100644 --- a/docs/components/data/35-o-grid.component.md +++ b/docs/components/data/35-o-grid.component.md @@ -24,6 +24,17 @@ The `o-grid` component allows you to specify a title by configuring the `title` ## Show controls The `o-grid` component shows controls by default, you can show/hide them by configuring the `show-controls` attribute. +## Data binding + +The o-grid component supports data binding and you can command the component to display data either from *local* or *remote* data storage + +The data array can be provided in two ways: +* Provide an array of objects to the `static-data` attribute. +* Configure the component to query the data from a service. Using `service` and `entity` attributes. +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). + ## Columns per row You can specify the number of columns shown on each row by configuring the `cols` attribute. By default, the number of columns will be automatically determined based on mediaQuery of Flex Layout. See more [here](https://github.com/angular/flex-layout/wiki/Responsive-API#mediaqueries-and-aliases). @@ -47,7 +58,7 @@ You can also configure the page size options by configuring the `show-page-size` ![Grid page size]({{ "/assets/images/components/grid/grid-page-size.png" | absolute_url }}){: .comp-example-img } ```html - @@ -86,7 +97,7 @@ You also can specify the default sorting column by configuring the `sort-column` ![Grid component]({{ "/assets/images/components/grid/grid-sortable_2.png" | absolute_url }}){: .comp-example-img } ```html - @@ -118,7 +129,7 @@ The gutter size can be set to any px, em, or rem value with the `gutter-size` pr It is possible to set the `rowspan` and `colspan` of each o-grid-item individually, using the rowspan and colspan properties. By default its values are 1. The `colspan` must not exceed the number of cols in the `o-grid`. There is no such restriction on the rowspan however, more rows will simply be added for it the tile to fill. ```html -
@@ -211,7 +222,7 @@ this.grid.filterData = function (value?: string, loadMore?: boolean) { The `o-grid` component supports *fixed header* and *footer* setting `fixed-header="yes"` when its content is greater than its own height. For that, you must set the height of the grid, using, for example `[ngStyle]="{height: 400px;}"`. By default, it's disabled. ```html - @@ -238,7 +249,7 @@ The `o-grid` component supports *fixed header* and *footer* setting `fixed-heade When building an `o-grid` component you can define your own grid item. For including a custom grid item, **OntimizeWeb** offers the `o-grid-item` directive that can be attached to an angular material grid tile (`mat-grid-tile`) . ```html - diff --git a/docs/components/data/35-o-table.component.md b/docs/components/data/35-o-table.component.md index 8ecef4dfc..5be87404f 100644 --- a/docs/components/data/35-o-table.component.md +++ b/docs/components/data/35-o-table.component.md @@ -155,7 +155,7 @@ For local data binding you simply need to supply an array of TypeScript objects/ ```html - + @@ -171,19 +171,22 @@ For local data binding you simply need to supply an array of TypeScript objects/ ``` ```javascript -getTableData(){ - const account = [ + const account = [ { PRODUCTID: 1, 'PRODUCTNAME': 'Alice Mutton', UNITPRICE: 39, UNITSINORDER: 0, UNITSINSTOCK: 1 }, { PRODUCTID: 2, 'PRODUCTNAME': 'Gorgonzola Telino', UNITPRICE: 12.5, UNITSINORDER: 70, UNITSINSTOCK: 2 }, { PRODUCTID: 3, 'PRODUCTNAME': 'Louisiana Hot Spiced Okra', UNITPRICE: 17, UNITSINORDER: 100, UNITSINSTOCK: 4 }, { PRODUCTID: 4, 'PRODUCTNAME': 'Sir Rodney Scones', UNITPRICE: 10, UNITSINORDER: 40, UNITSINSTOCK: 3 }, { PRODUCTID: 5, 'PRODUCTNAME': 'Alice Mutton', UNITPRICE: 39, UNITSINORDER: 0, UNITSINSTOCK: 0 } - ]; - return account; -} + ]; ``` -If you need the data query to be performed after the `parent-keys` is updated, `query-on-init = false` and `query-on-bind = true` must be changed +If you need the data query to be performed after the `parent-keys` is updated, `query-on-init = false` and `query-on-bind = true` must be changed. + +{: .note } + +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). +--- ### Binding to remote data @@ -384,7 +387,7 @@ You can see different predefined table cell renderers in the example below. ![Predefined table cell renderers]({{ "/assets/images/components/tabla/renderers_table.png" | absolute_url }}){: .comp-example-img} ```html - + @@ -901,7 +904,7 @@ The `o-table` component supports *fixed header* and *footer* setting `fixed-head

Example

```html - diff --git a/docs/components/input/02-o-combo.component.md b/docs/components/input/02-o-combo.component.md index 37fb6b271..380db2f6f 100644 --- a/docs/components/input/02-o-combo.component.md +++ b/docs/components/input/02-o-combo.component.md @@ -20,6 +20,9 @@ This component is different than most of other inputs, an array of data must be The data array can be provided in two ways: * Provide an array of objects to the `static-data` attribute (see the [example](#basic-example) below). * Configure the component to query the data from a service. Using `service` and `entity` attributes. +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). ## Basic example ![Combo component]({{ "/assets/images/components/inputs/o-combo.png" | absolute_url }}){: .comp-example-img} diff --git a/docs/components/input/09-o-list-picker.component.md b/docs/components/input/09-o-list-picker.component.md index 25eff2121..ead2bc24c 100644 --- a/docs/components/input/09-o-list-picker.component.md +++ b/docs/components/input/09-o-list-picker.component.md @@ -21,6 +21,9 @@ This component is different than most of other inputs, an array of data must be The data array can be provided in two ways: * Provide an array of objects to the `static-data` attribute (see the [example](#basic-example) below). * Configure the component to query the data from a service. Using `service` and `entity` attributes. +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). Once some data has been provided to the component, the user can see the option list by clicking in the search button of the component. Choosing an option, the list will close up and the selected value will be set to the input. diff --git a/docs/components/input/16-o-radio.component.md b/docs/components/input/16-o-radio.component.md index cb9a6151a..7050bb652 100644 --- a/docs/components/input/16-o-radio.component.md +++ b/docs/components/input/16-o-radio.component.md @@ -20,16 +20,19 @@ This component is different than most of other inputs, an array of data must be The data array can be provided in two ways: * Provide an array of objects to the `static-data` attribute (see the [example](#basic-example) below). * Configure the component to query the data from a service. Using `service` and `entity` attributes. +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). ## Basic example ![Radio component]({{ "/assets/images/components/inputs/o-radio.png" | absolute_url }}){: .comp-example-img} ```html - - ``` diff --git a/docs/components/o_service_components/00-o-service-base.component.md b/docs/components/o_service_components/00-o-service-base.component.md index 5d70116b2..37c0a5632 100644 --- a/docs/components/o_service_components/00-o-service-base.component.md +++ b/docs/components/o_service_components/00-o-service-base.component.md @@ -42,6 +42,10 @@ For local data binding you simply need to supply an array of TypeScript objects/ If you need the data query to be performed after the `parent-keys` is updated, `query-on-init = false` and `query-on-bind = true` must be changed +{: .note } +>Passing function calls directly to `static-data` (e.g. `[static-data]="getData()"`) is a **bad practice** that causes continuous re-evaluation and leads to malfunctioning behavior in components such as **o-list, o-table, o-grid and o-tree**. +Always pass a static reference instead (e.g. `[static-data]="data"`). + ## Define columns You have to define the `columns` of the database entity (if binding to remote data) or the properties of the static data items (when binding to local data). From 2713d299f1513d88e99c22292339333bfdcb66b3 Mon Sep 17 00:00:00 2001 From: nprol <134269709+nprol@users.noreply.github.com> Date: Thu, 27 Nov 2025 10:27:28 +0100 Subject: [PATCH 5/5] Uptaded versions table (#708) * uptaded versions table * added 15.7.1 version * added keycloak 15.1.2 version * updated filemanager version * update charts version * updated filemanager version --------- Co-authored-by: Noelia Prol Carballo --- docs/aditional-information/52-versions.md | 38 ++++++++++++++++------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/docs/aditional-information/52-versions.md b/docs/aditional-information/52-versions.md index 7d68962fb..e3ea2fcc7 100644 --- a/docs/aditional-information/52-versions.md +++ b/docs/aditional-information/52-versions.md @@ -28,21 +28,36 @@ In this section you can check the different releases of **OntimizeWeb** and its - + + 15.7.1 + 15.1.1 + 15.0.1
15.0.0 + 15.2.1
15.2.0 + 15.1.2
15.1.1
15.1.0
15.0.0 + 15.1.0 + 15.1.2
15.1.1
15.1.0
15.0.0 + + + 15.7.0 + 15.1.0 + + + 15.6.2 + + + 15.6.1 + + 15.6.0 - 15.1.0 - 15.0.1
15.0.0 - 15.2.0 - 15.1.2
15.1.1
15.1.0
15.0.0 - 15.1.0 - 15.1.1
15.1.0
15.0.0 + + + 15.5.9 + 15.0.0 + 15.1.6
15.1.5
15.1.4
15.1.3
15.1.2
15.1.1
15.1.0
15.0.1
15.0.0 + 15.0.4
15.0.3
15.0.2
15.0.1
15.0.0 15.5.8 - 15.0.0 - 15.1.6
15.1.5
15.1.4
15.1.3
15.1.2
15.1.1
15.1.0
15.0.1
15.0.0 - 15.0.4
15.0.3
15.0.2
15.0.1
15.0.0 - 15.5.7 @@ -158,7 +173,6 @@ In this section you can check the different releases of **OntimizeWeb** and its - - The prefix _ontimize-web-ngx_ was omitted from the names of the addons. {: .note }