Skip to content

Latest commit

 

History

History
2598 lines (2175 loc) · 233 KB

CHANGELOG.md

File metadata and controls

2598 lines (2175 loc) · 233 KB

15.1.0

Note

In this version, the features and bugfixes of version 8.14.14 were integrated

8.14.14 (2024-05-02)

Bug fixes

  • o-combo: Fixed error that prevented the selected values ​​from being properly cleaned (a2ab9d7) Closes #1584

15.0.4 (2024-04-29)

Note

In this version, the features and bugfixes of version 8.14.10, 8.14.11, 8.14.12 and 8.14.13 were integrated

Features

  • o-card-menu-layout:
    • Added permissions to the component (9ae15d7) Closes #1523
    • Added new input exclude-menus-id to control menus that should not appear on cards.

Bug fixes

  • o-table: Fixed bug with exportation in non-pageable tables (9d02537) Closes #1264
  • o-hour-input: Fixed bug in dark mode (a0231a9) Closes #1577

8.14.13 (2024-04-19)

Bug fixes

  • o-grid, o-list: Fixed data not being updated with static-data (da0abd6) Closes #1556

8.14.12 (2024-04-16)

Bug fixes

  • o-table: Fixed data not being updated with static-data (3dc2645) Closes #1556

8.14.11 (2024-04-16)

Bug fixes

  • o-daterange-input: Fixed bug with day names rotating (a994a26) Closes #1538
  • o-form: Initialized header-actions to all (d08a6e6) Closes #1548

Features

8.14.10 (2024-04-02)

Features

  • o-app-layout: New propertie svgIcon in MenuItem and MenuGroup (0a18c78) Closes #1542
  • o-table: Fixed bug that caused the width of the columns to not adjust properly on a tablet (1c8f76a) Closes #1534

15.0.3 (2024-03-18)

Features

  • o-tree: Added a new output onNodeClik for node click (8b6137b) Closes #1530

15.0.2(2024-03-01)

Features

  • o-table: added new input non-hidable-columns to prevent a visible column from being hidden(50119a6) Closes #1515

Bug fixes

  • o-table: Fixed an error being displayed in the console due to a circular structure in JSON (24b6059) Closes #1518

15.0.1 (2024-02-27)

Features

  • Exported o-skeleton, o-table-skeleton,o-list-skeleton and o-grid-skeleton components for reuse(794d7cf) Closes #1499

Bug fixes

  • o-table: Fixed problem into tables working with static-data that the skeleton was always shown and never dissapears (b5825f2) Closes #1503

15.0.0 (2024-02-21)

Note

In this version, the features and bugfixes of version 8.14.8 and 8.14.9 were integrated

Features

  • o-table, o-grid, o-list: Added skeleton (2695595) Closes #1089

Bug fixes

  • o-daterange-input: Fixed that the background of daterange picker is the same as that of the cards(18b3955) Closes #1492

8.14.9 (2024-02-15)

Features

  • o-table, o-grid, o-list: added new input disable-page-size-calculation to control the number of records consulted on the last page of the table(1af87f5) Closes #1480

Bug fixes

  • Fixed the tooltip being displayed when navigating to the table details (da77fae) Closes #1473
  • Fixed error in the standard navigation of a table when it is pageable (c8e6495) Closes #1476
  • Modified insert button text translation (f5059b5) Closes #1482

8.14.8 (2024-02-01)

Bug fixes

  • Translated literals Filter by and Copy all from the table's context menu into Spanish (9af5c08) Closes #1452
  • o-table: Fixed filtering by columns is not working with boolean fields (1635094) Closes #1466
  • o-grid: Fixed the pagination has white background (7547255) Closes #1461
  • Fixed an error in navigation details about items in a paginated table.(9773e10) Closes #1460
  • o-form-layout-split: The inputs main-width,main-max-width, main-min-width,detail-width,detail-max-width,detailMaxWidth does not work (06e2fed) Closes #1375

15.0.0-rc.0 (2024-01-26)

Note

In this version, the bugfixes of version 8.14.7 were integrated

Features

  • New component o-tree based in Angular Material (5aba7bf) Closes #1423

Bug fixes

  • The theme ontimize-black-yellow is not working because of the implementation of two undefined variables $black-87-opacity and $white-87-opacity imported from Angular Material (8763e9a) Closes #1442
  • Fixed permissions not loading when app starts (ca8c58c) Closes #1440 .
  • o-image: Fixed the error tooltip showing in incorrect position (6a482ab) Closes #1409
  • Translated literals ´Filter by´ and ´Copy all´ from the table's context menu into Spanish (9c5d1e1) Closes #1452

8.14.7 (2024-01-24)

Bug fixes

  • o-form: Fixed confirmation message being displayed after inserting a record in the o-form (ecc3faf) Closes #595

15.0.0-beta.5(2024-01-15)

Note

In this version, the features and bugfixes of version 8.14.5 and 8.14.6 were integrated

Features

  • Hide hint error when O_MAT_ERROR_OPTIONS injection token value is {type: 'lite'}(03820e6) Closes #1402
  • o-form: added new emitters onBeforeInsert, onBeforeUpdate, onBeforeDelete that allow modifying the insertion, deletion and update parameters (a6b9a1d) Closes #1434
  • o-file-input: Removed the common inputs with OFormDataComponent (31c719e) Closes #1353

Bug fixes

  • Fixes scroll with oLocker directive (788003d) Closes #1406
  • o-currency-input: Fixed bug that caused to appear two icons (c1c0a39) Closes #1408
  • o-table: Fixed bug that caused the table menu details to be displayed in the wrong position (6432ca0) Closes #1348
  • o-table-quickfilter: Fixed bug that caused the height input to be incorrect (66eae3b) Closes #1383
  • OFormServiceComponent: Fixed bug that prevented the emitOnValueChange from being reset correctly (6296480) Closes #1342

8.14.6 (2024-01-02)

Features

  • Added new literals in the bundle (9160190)

Bug fixes

  • o-table: Fixed the submenu is still actived when the submenu lost focus in table options menu. (c5527f1) (2bc4ee2) Closes #1427
  • Fixed typos in bundle (42a8e97) 42a8e97

8.14.5 (2023-12-14)

Bug fixes

  • o-service-component.class.ts: Fixed bug in the getPaginationDataFromArray method that returned a subset of data when there was no pagination control (b76d0ea)(d519e76) Closes #1413
  • o-table-cell-renderer-service-: Fixed the table crashed when the result of the o-table-cell-renderer-service has no values (4bf6bf8) Closes #1415

15.0.0-beta.4(2023-11-15)

Note

In this version the bugfixes of version 8.14.4 were integrated.

Features

  • Create class CurrencyUtil to lookup the currency symbol for a given currency code.(a4d6d86)

Bug fixes

  • Fixed the user info save in localstorage when user is undefined(fa14aeb) Closes #1391
  • o-mat-menu: Set the font size smallest (8797691) Closes #1393

8.14.4 (2023-11-13)

Bug fixes

  • o-table: Fixes menu open when ENTER in editable column.(daacfa4) Closes #1386

15.0.0-beta.3(2023-11-08)

Bug fixes

  • Firefox:

    • Fixed collapsed app menu has a incorrect padding left (cd89bc3) Closes #1362
    • Fixed inputs height in Firefox is higher than Chrone (4da537e) Closes #1371
  • o-table:

    • Fixed scrolling with sticky headers and the header scrolls with the content (e3dc83c) Closes #1355
    • Fixed the header checkbox is not aligned with the cell checkboxes (03da28d) Closes #1370
    • Improved mat-list in the table dialog styles (91c5924) Closes #1354
    • Improved drag&drop styles (86766e9) Closes #1301
  • o-grid, o-list: Fixed the quickfilter is not aligned with buttons (fd469d9) Closes #1358

  • o-list: Set padding between card items (d2563be) Closes #1357

  • o-phone: Fixed incorrect phone input height (b4368b5) Closes #1368

  • o-form-layout-manager: The shape of the close button on the tab is not circular (aa3d7c5) Closes #1369

  • checkbox: Checkbox ripple is not aligned to the center (aa3d7c5) Closes #1369

  • report-on-demand: Improved report-on-demand styles (72133c3) Closes #1379

Breaking changes

15.0.0-beta.2(2023-10-24)

Note

In this version, the bugfixes of version 8.14.2 and 8.14.3 were integrated.

Features

  • New mixin ontimize-theme-all-component-color to generates the color styles in ontimize-styles-v8.scss.(9c89f8c) Closes #1331
  • o-form-layout-manager,o-form-layout-dialog-options: New input dialog-title-separator.(ecdcf28) Closes #1338

Bug fixes

  • Fixed that the fonts of the titles of the modal and the containers (o-row, o-column) had the font size prior to the migration to Angular 15 (e6d2532) Closes #1296
  • o-table, o-list, o-grid: Fixed the placeholder being shown in quickfilter (9622593) Closes #1298
  • o-user-info: Exported o-user-info-configuration and o-user-info-configuration-item directive (dc6820f) Closes #1307
  • o-table:
    • Fix appearance outline in table quickfilter (1906d9d) Closes #1315
    • Improved styles in filter by column modal (42a7b1a) Closes #1334
  • Removed deprecated ComponentFactory and ComponentFactoryResolver (5f1eaf2) Closes #1317
  • o-form-layout-manager: Fixed a new detail not opening from the detail in mode=tab.(3618287) Closes #1316
  • Fixed untitled inputs having a higher height than the others.(33d184c) Closes #1328
  • Styles in the input errors tooltip were corrected (ed15a94) Closes #1330
  • o-app-layout: Fixed the icons are cutted when the menu is collapsed (72bd2cd) Closes #1335
  • ontimize-blue theme: The primary and accent color of the dark palette is modified to improve accesibility and contrast (6000a23) Closes #1336
  • o-form: Fixed that OErrorDialogManager service did not launch the modal with the error that occurred in the o-form (f17bf43) Closes #1310

8.14.3 (2023-10-19)

Bug fixes

  • o-table: Fixed that the message that there are no results was not displayed when searching.(6935d5c) Closes #1319

8.14.2 (2023-10-18)

Bug fixes

  • o-translate: Fixed a bug that caused applications to always translate into English if they did not find the language and not the language configured in defaultLocale (348ae21) Closes #1304
  • o-table: Fixed translation type columns not sorting by translation value.(302dfaa) Closes #1305

15.0.0-beta.1(2023-10-06)

Note

In this version, the bugfixes of version 8.14.1 were integrated.

The code related to Ontimize themes has been refactored with the aim of improving their configuration and performance, which implies the following changes

Feature

  • New ontimize theme.
  • New mixin ontimize-theme-all-component-color to only generates the color styles now.
  • AppearanceService set/remove CSS class name o-dark in body tag when isDarkMode$ changes.

Breaking changes

  • Renamed ontimize-web-ngx/theming/themes/ontimize.scss to ontimize-web-ngx/theming/themes/ontimize-blue.scss with old style.
  • Renamed ontimize-web-ngx/theming/themes/implatform-fashion-default-theme.scss to ontimize-web-ngx/theming/themes/fashion.scss
  • Mixins fashion-mat-light-theme and fashion-mat-dark-theme:
    • has been renamed to o-mat-light-theme and o-mat-dark-theme.
    • has been moved to ontimize-web-ngx/theming/ontimize-styles.scss.
  • Mixin o-material-theme has been included in `ontimize-styles.scss``
  • Mixins o-mat-light-theme and o-mat-dark-theme has been moved to ontimize-web-ngx/theming/ontimize-styles-v8.scss.
  • Removed old themes based on material
    ontimize-web-ngx/theming/themes/mat-indigo-pink.scss
    ontimize-web-ngx/theming/themes/mat-deeppurple-amber.scss
    ontimize-web-ngx/theming/themes/mat-pink-bluegrey.scss
    ontimize-web-ngx/theming/themes/mat-purple-green.scss;
  • Removed deprecated flat style and lite.

Below is an example of how the ontimize themes were applied before and now.

  • Before
/*Import the file who have the theme functions and the ontimize-theme-styles mixin.*/
@import 'node_modules/ontimize-web-ngx-theming/ontimize-theme.scss';

/* Choose ontimize theme */
@import 'node_modules/ontimize-web-ngx-theming/src/themes/ontimize.scss';

// Include ontimize theme
@include ontimize-theme-styles($theme);

// After define theme, it is necessary to transfer color and typography to Ontimize Web framework
@import 'node_modules/ontimize-web-ngx/theme.scss';
@include o-material-theme($theme, $default-typography);

// Propagate theme to screen styles definition.
@import '../../app/login/login.theme.scss';
@include login-theme($theme);

Now

/* Choose ontimize theme */
@use 'ontimize-web-ngx/theming/themes/ontimize.scss'as theme;
/*Import the file who have the theme functions and the ontimize-theme-styles mixin.*/
@use 'ontimize-web-ngx/theming/ontimize-style.scss';
@use '../../app/login/login.theme.scss'as login;

// Include ontimize styles
@include ontimize-style.ontimize-theme-styles(theme.$theme);

//Include dark styles option
.o-dark {
  @include ontimize-style.ontimize-theme-all-component-color(theme.$dark-theme);
}

// Propagate theme to screen styles definition.
@include login.login-theme(theme.$theme);

8.14.1 (2023-10-03)

Bug fixes

  • o-table: Fixed a bug that prevented exporting tables with action type columns (4392770) Closes #1283

15.0.0-beta.0 (2023-09-29)

Features

Note

For the migration process, the guide available at the following URL has been followed: https://update.angular.io/?l=3&v=8.2-15.0.

  • Migration to Angular 15.
  • Migration to Angular Material 15.
  • appearance.service: created a new service that allows you to manage dark mode.
  • o-form-layout-manager, o-form-layout-tabgroup-options: new stretch-tabs input.
  • input files: new subscriptSizing input.
  • o-slider: new show-tick-marks input.

Important

Due to the high number of changes derived from migration, it is recommended to consult the guide at the following link: https://material.angular.io/guide/mdc-migration#1-update-to-angular-material-v15.

BREAKING CHANGES

  • app.module: The ONTIMIZE_MODULES import should be replaced by BrowserModule, BrowserAnimationsModule, OntimizeWebModule.forRoot(CONFIG).

    • Before
      @NgModule({
        imports: [
          ONTIMIZE_MODULES
        ]
      })
    • After
      @NgModule({
        imports: [
          BrowserModule,
          BrowserAnimationsModule,
          OntimizeWebModule.forRoot(CONFIG)
        ]
      })
  • ontimize-web-ngx-theming: The theming library is now integrated into ontimize-web-ngx so the library import must be removed.

    • Before
      @import 'node_modules/ontimize-web-ngx-theming/ontimize-theme.scss';
      @import 'node_modules/ontimize-web-ngx-theming/ontimize-theme-lite.scss';
    • After
      @use 'ontimize-web-ngx/theming/ontimize-theme.scss';
      @use 'ontimize-web-ngx/theming/ontimize-theme-lite.scss';
  • NODE-SASS usage is deprecated and will be removed so the following steps must be followed:

    • You must replace node-sass with sass, which is the Dart version of sass.
      npm uninstall node-sass
      npm install sass
    • The migration to Dart sass is done automatically by the Angular migration process but if you need to migrate a file you can use the following tool to do automatic migrations: https://sass-lang.com/documentation/cli/migrator/.
  • InputConverter has been replaced by BooleanConverter and NumberConverter.

  • app-routing.module: the opt object that is included in forRoot is now of type ExtraOptions.

    • Before

      const opt = {
        enableTracing: false
      };
    • After

      const opt: ExtraOptions = {
        enableTracing: false
      };
  • o-slider: inputs invert, tick-internal and layout have been removed.

8.14.0 (2023-07-28)

Features

  • o-table: Modified the visibility of the method getColumnFilter (3dc21ec)
  • o-form-data-component: New async-validators and validators-errors inputs (c716336) Closes #1266
  • o-validator: New async-validator-function input (c716336) Closes #1266
  • o-table-column: New async-validators and validators-errors inputs (a806286) Closes #1270

Bug fixes

  • o-form-layout-manager: Navigation problems when inserting new data fixed (c0377eb) Closes #1119
  • o-form-layout-manager: Closing opened tabs that are removed in the main tab (d2f395e) Closes #1261 #1121

8.13.0 (2023-07-07)

Features

Bug fixes

  • o-form: Fixed fill-form css class not expanding in some containers (53998fb) Closes #1246
  • o-integer-input: Removing old firefox versions workaround that is no longer needed (cda3108) Closes #1237
  • o-table:
    • Fixed that when resizing the columns that had a width defined in the table and saving the state in the configuration to apply it later, the width of the saved columns did not correspond to the state of the configuration (81597f2) #1240
    • Fixed that when grouping by rows and filtering by columns when switching screens and returning to the table, the data was not loaded (2a8232d) Closes #1245
    • Fixed bug that caused the localstorage to not be initialized correctly (f44e2a5) Closes #1251

Breaking changes

  • Due to the improvement of the issue #1241 headers align in o-table change the align title by default.

    • To align table header texts to the center, you can use the new O_TABLE_GLOBAL_CONFIG InjectionToken as follows
    @NgModule({
      declarations: [
      ...
      ],
      ...
      providers: [
        ...
        { provide: O_TABLE_GLOBAL_CONFIG, useValue: { autoAlignTitles: false } },
        ...
      ],
      ...
    })
    • New CSS class o-table-header
    • The following CSS class changed o-table-column-filter-icon, mat-sort-header-arrow, mat-sort-header-button, column-filter-icon, resizable, mat-header-cell, o-table-column-resizer

8.12.2 (2023-06-13)

Bug fixes

  • o-table: Fixed the loading with sort on grouped table not disappearing (b8888c5) Closes #1230

8.12.1 (2023-05-25)

Bug fixes

  • o-phone-input: Fixing error on countries input parsing (fb5f353) Closes #1224

8.12.0 (2023-05-05)

Features

Bug fixes

  • o-table: Fixed error searching in quickfilter when pageable='no'(545db1f) Closes #1208
  • o-form-layout-manager: Fixed bug when navigating in mode='split' and mode='tab' (dfd8f8d)

8.11.3 (2023-04-11)

Bug fixes

  • o-form-toolbar: Fixed custom buttons having the same style as generic form action buttons. (108e1fc) Closes #1196

8.11.2 (2023-03-23)

Bug fixes

  • o-form-data-component: Fixed ontimize inputs remain disabled if initialized with enable=false even after enable is set to true (618444a) Closes #1188

8.11.1 (2023-03-15)

Bug fixes

  • o-form-navigation: Fixed form navigation between details (95d7512) Closes #1180

8.11.0 (2023-03-02)

Features:

  • New scrollbar style (e0348e1) Closes #1155
  • o-text-input: new o-mat-prefix and o-mat-suffix directive to add prefix and suffix (3972dc1) (7f9d973) Closes #1141

Bug fixes

  • Stroked buttons
    • Fixed color of texts and background on dark mode (5786312)
    • Fixed warn and accent button colors on light mode (8f862b4)Closes #81
  • o-table: Fixed align text right when dragging in window show/hide columns(5ceb428) Closes #1163
  • o-app-layout: Fixed menu section growing on available space (1d0d03a) Closes #1169
  • Removed unnecesary scroll from o-card-menu-layout (44ce1ed) Closes #1165

8.10.0 (2023-01-26)

Features:

  • o-image: Added drag&drop functionality (2518809) Closes #1112
  • New directive oFileDragAndDrop (cecd41a)
  • Exported ODataToolbarModule module
  • New CSS class o-list-button, o-grid-button (487371a) (48de2db)
  • New CSS class text, no-text depending on whether o-list,o-table or o-grid enabled show-buttons-text input or not (533c45b)

Bug fixes

  • o-grid, o-list, o-table: Button styles were unified. (61f54b4) Closes#1142
  • o-table:
    • Removed the maximum height limitation in the o-table tooltip (bea3a62) Closes#1134
    • Fixed the bug that when hovering over the icons, the unselected item was reselected in the o-table (5220a4e) Closes #1120

8.9.1 (2023-01-19)

Bug fixes

  • o-form-layout-manager: Fixed navigation between transactions failing in production mode, when layout is in tab mode (44e4b38) Closes#1143
  • o-file-input: Fixed that when you clear a file, you can not reimport any other (6606f0e) Closes#1140

8.9.0 (2022-12-29)

Features:

  • o-table: new show-charts-on-demand-option input that allows to show the charts on demand option in the menu table (daf9d2d) Closes#705
  • o-filter-builder:
    • New component o-filter-builder-menu that allows Load/Save/Clear filter builder configuration Closes#1005 (0abf043)
    • new OFilterBuilderStatus type (5a9618d)
    • o-filter-builder: now attr is required for setting filter builder status in the localstorage. (63bd1fc)
  • MenuGroup: new route attribute (5760dec) Closes#1083
  • o-row-collapsible, o-column-collapsible: new outputS onClosed, onOpened, onAfterCollapse, onAfterExpand(90d640f) Closes#1122
  • Charts compatibility with dark mode (f018915)

Bug fixes

  • o-form-navigation: Fixed form navigation not loading data when there was previously an active form layout manager(5730970) Closes#1071
  • o-button: Fixed that border was displayed on buttons that had svg-icon configured (605356d) Closes#1071

BREAKING CHANGES

  • Now the definition abstract class AbstractOServiceComponent is AbstractOServiceComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>>
  • Now class
    • OServiceComponent extends AbstractOServiceComponent<DefaultServiceComponentStateService>
    • OGridComponentStateClass, OListComponentStateClass, OTableComponentStateClass extends DefaultServiceComponentStateClass
  • Renamed the components OTableLoadFilterDialogComponent, OStoreFilterDialogComponent to OLoadFilterDialogComponent, OTableStoreFilterDialogComponent and moved to OShareModule

8.8.4 (2022-12-21)

Bug fixes

  • o-form-layout-tabgroup: Fixed not opening the detail tab if you had previously opened a new tab again (0e75eb8) Closes #1115

8.8.3 (2022-12-19)

8.8.2 (2022-12-02)

Bug fixes

8.8.1 (2022-11-23)

Bug fixes

  • o-button-toggle: Fixed o-button-toggle labels inside o-button-toggle-group not being translated (13c131e) Closes #1073
  • o-filter-builder: Fixed oFilterBuilderClear directive not clearing the value of the o-combo multiple (b97410c)Closes #1081
  • o-list,o-grid: Fixed o-list or o-grid quick filter styles not displaying correctly setting quick-filter-appearance (2727b84) Closes #1038
  • o-table: Fixed in table when changing visible-columns and the columns would disappear (596060d)(d3d4464)(abf353c) Closes #1084

8.8.0 (2022-10-25)

Features:

  • o-table:
    • Improved row grouping by date adding the option to group by month, year, year and month or by the full date (ba5f1723) Closes #719
    • Save/load/clear filter and Save/load configuration operations have in consider the filter builder component(b47963b) (209b297) Closes #994
    • Modified the order of the table menu options (54dad824)
    • Added a new menu option to reset the columns width (f5d1f74a) Closes #799
  • o-grid,o-list: Moved quick-filter-appearance to AbstractOServiceComponent (0bc6c49)
  • o-form: new message-service-type input that allows to override the default o-form CRUD operations success/error messages (a490775e) Closes #954. User can define this provider in the same way as in the service-type input.
  • o-table, o-grid, o-list: Added directive o-table-toolbar, o-list-toolbar, o-grid-toolbar to add custom content in position start or end of the toolbars (1778a61) Closes #1044
  • New injection token O_EXPORT_DATA_SERVICE to allow customize the data and styles of the table exports (ed16cd5) Closes #993
  • New parameterexportConfiguration in app.config.ts, export configuration object required only with only for Ontimize Boot version 3.9.0 or above (442512c)

Bug fixes

  • o-real-input: New attribute strict (e466768f) (e264a54) Closes #1022
  • o-table:
    • Fixed bug that incorrectly set the default configuration (1808d599) Closes #1006
    • Fixed bug that prevents saving filters and settings the first time (207f0856) Closes #1003
    • Fixed bug in AbstractOServiceBaseComponent when searching for a column of type service render (47a60682) Closes#1010
    • o-table-columns-filter: active by default. However, you can configure it unavailable in table header with filter-column-active-by-default= 'no'. (6ceaefe5) Closes #1007
    • Fix bug that filtering a value in the quick filter launchs the query to the backend when pageable=no (367f3d7) Closes #1011
    • Fixed compatibility of Ontimize Boot 3.x.x exports (7d741f8)
  • o-email-input: Fixed bug that incorrectly validated email inputs (46c6e78) Closes #999
  • mat-error: Bug #1013 fixed. OntimizeWeb form component mat-error definition no longer interferes the Angular Material default definition. NOTES:
    • OMatErrorModule no longer exists. This shouldn't affect users because its importation wasn't needed.
    • There is a new oMatError directive that user must use instead ngIf for having the O_MAT_ERROR_OPTIONS features available in the Angular Material mat-error component. See documentation for more info.
  • service-type: Fixes bug when multiple components use the same service-type (380fda3) Closes #1015
  • o-hour-input: Fixing wrong value-type="timestamp" value saving (f3d6f39c) (5b9abf17) Closes #960
  • o-grid, o-table, o-list: Fixes for the arrow button inside the quick filter being too far away from the magnifying glass button (cdaf3db) Closes #1056

BREAKING CHANGES

  • Due to the fix of the issue #1015, to set the service-type attribute on the component, the provider defined in the module cannot set useFactory, instead use useValue because Ontimize Web is responsible for creating each instance for this service.
@NgModule({

  ...

  providers: [{
    provide: 'starWars',
    useValue: StarWarsService
  }]
})

export class MyModule { }
  • O_EXPORT_SERVICE used to extend OntimizeExportService but now extends OntimizeExportService or OntimizeExportService3X depending on back server.
Ontimize server Service
Ontimize EE, Ontimize Boot 2.X.X or lower version OntimizeExportService
Ontimize Boot 3.9.0 or higher OntimizeExportService3X
  • Now the configureService method has only one config parameter and the exportData has only one parameter format in the IExportService interface since exportData is available through the provider defined with injection token O_EXPORT_DATA_SERVICE, check this link for more information (2eaa9c7) (591d3c6) ` // before configureService(config: any, modeAll?: boolean): void; exportData(data: any, format: string, entity?: string): Observable;

// after configureService(config: any): void; exportData(format: string): Observable; `

  • Due to the improvement of the issue #1044 the o-table, o-list, o-grid toolbars have been factored and this causes the following changes.

    • The css selectors related to the mat-toolbar will stop working in o-table, o-list, o-grid components.
    • New CSS class o-table-toolbar, o-list-toolbar, o-grid-toolbar
    • Unified the styles of the titles of the o-table, o-list, o-grid with new CSS class to title and therefore removed CSS class table-title and o-list-title
  • Application configuration file app.config,ts The default value of serviceType has been changed to OntimizeEE and the default value of permissionsServiceType has been changed to OntimizeEEPermissions(25cc5c8) Closes #967

8.7.3 (2022-10-06)

Features

BREAKING CHANGES

  • o-table: Set auto-adjust=true by default (47e252e) Closes #1045

To resolve this breaking change, you can use the new O_TABLE_GLOBAL_CONFIG InjectionToken as follows

@NgModule({
  declarations: [
  ...
  ],
  ...
  providers: [
    ...
    { provide: O_TABLE_GLOBAL_CONFIG, useValue: { autoAdjust: false } },
    ...
  ],
  ...
})

8.7.2 (2022-09-15)

Bug fixes

  • o-table: Fixed bug that incorrectly detected o-table-button components (8aa098f4) Closes #1026

8.7.1 (2022-08-29)

Bug fixes

  • o-table: Fixed the error that when you change the page all the data was shown (dad503c) Closes #1019

8.7.0 (2022-07-01)

Features:

  • New component o-phone-input Closes#840

Bug fixes

  • o-integer-input, o-real-input, o-currency-input, o-percent-input: Fixed bug where setting a new value causes the onchange event to fire twice (9e2eb672) Closes #980
  • o-currency-input: Fixed the input shows NaN (e84c4ef) Closes #957
  • o-card-menu-layout: Fixed the card menu items are displayed incorrectly when wrap row (aa878a7) Closes #982

8.7.0-rc.0 (2022-06-21)

Bug fixes

  • o-form: Fixed the navigation buttons disappear when reloading the page (439a131) Closes#730
  • o-table: Fixed the arrow icon not showing in the calendar popup in o-table-cell-editor-date and o-table-cell-editor-time (869a914) Closes#949
  • o-table: Fixing onClick and onDoubleClick bugs in AbstractOServiceBaseComponent (378b8d7) Closes#958
  • AbstractOServiceBaseComponent: Fixing enabled input bug (061bef9c) Closes #959

8.6.1 (2022-06-10)

Features

  • OFormDataComponent: New attribute select-all-on-click (4ea3a1c) (e264a54) Closes #969
  • O_INPUTS_OPTIONS: New attribute selectAllOnClick in O_INPUTS_OPTIONS InjectionToken (42d0ed2)

Bug fixes

  • o-form, o-form-toolbar, o-form-layout-tabgroup: solving multiple confirmation dialog bug (825c09e0) Closes #966

8.6.0 (2022-04-06)

Features:

  • o-password-input: added a new atribute show-password-button to add the option to show the plain text instead of dots (d4b1cb81ee3cf197dc771bd5229be31e95d7f0fa) Closes #798
  • o-list: added paginator that provides navigation, typically used with to o-table and o-grid component (4cdb80c) Closes #861
  • o-table: new CSS class o-table-editing-cell, o-table-editing-row and o-table-cell-editor (ab2ca6e) (e179c63) Closes #936 Closes #940

Bug fixes

  • o-combo: Fixed that the height is larger than other input component (b8bbe88) Closes #924
  • Solve security hotspots reported by Sonar (e313003) Closes #923
  • o-real-input, o-percent-input: Fixing decimal digits validation problem (8f10f064) Closes #925
  • o-list-picker: Fixed that the search input in dialog does not show correctly (413a0bf) Closes #933
  • o-form: Fixed that the method closeDetail showing the confirm message when the attribute confirm-exit="no"(482fb60)(1d236a0)(e6c18ba) Closes #595
  • o-filter-build:
    • Fixed that launches as many queries as there are combos and query-on-change = "yes"(3050498) Closes #788
    • new attribute query-on-change-event-type (b779d94)

BREAKING CHANGES

  • o-form: now the method goEditMode has not argument (fe77e48)
  • o-filter-build: now when query-on-change = "yes" the filter query is fired when the form components fire the event OnValueChanged instead of onChange since with the onChange event unwanted queries were launched (b779d94)

8.5.10 (2022-03-21)

Feature

  • app-menu-config: new pathMatch attribute in MenuItemRoute (c51fb374) Closes #919

Bug fixes

  • o-button:
    • o-button type BASIC,FLAT, FAB and MINI-FAB have incorrect width (b6675a5) Closes #915
    • Fixed bug that icon-position does not work (3b31292) Closes #917

8.5.9 (2022-03-16)

Feature

  • o-grid, o-list: new attribute show-buttons-text (c1d2336)
  • o-form: Added the CSS class fill-form (8d0461d)

Bug fixes

  • o-app-header: fixed bug that the menu icon disappeared in mobile mode (55648e3) Closes #899
    • Fixed reported bugs by Sonar (24211d7) ** alt attribute of images ** css duplicated entries ** table aria-describedby attribute
    • o-table: fixing filter-case-sensitive input parsing and state storage bug (3f320e49) Closes #903
  • o-grid: Fixed that displays 'show more' button when the data length is 0 (e35422b)
  • UX modifications
    • o-mat-menu: Reseted min-height propertie in class o-mat-menu (4cfe8c5)
    • o-app-layout: Fixed arrow icon position in the menu (61d5568)
    • o-form-toolbar-button: Setting margin to 8px in the content (045cb86)
    • o-button: Fixed line-height in stroked button(005e9ae)
  • o-form-layout-manager o-table o-list o-grid AbstractOServiceBaseComponent: Fixing state service injection (05b16f2c) Closes #908
  • o-form-layout-manager: protecting tabgroup initialization code (b8cd35ca) Closes #884
  • OServiceBaseComponent, o-form-layout-manager: no longer saving component state in component onDestroy method (b8cd35ca) Closes #884

8.5.8 (2022-02-23)

Features

  • o-search-input: changed style to match o-table-quickfilter style (96fd895) Closes #890
  • o-list, o-grid: new attribute quick-filter-appearance (96fd895) Closes #890

Bug fixes

8.5.7 (2022-02-11)

Features

  • o-app-layout, o-app-header: new attribute static-title (f693bdb) Closes #880
  • o-app-layout-header: added a position attribute for o-app-layout-header custom elements (ecd9848) Closes #879
  • o-app-sidenav: modified the position of the o-app-layout-sidenav-projection-end to appear in the footer (42ce709) Closes #878

Bug fixes

  • o-form: navigation problem inside a o-form-layout-manager in tab mode when after-insert-mode="detail" (f1d84030) Closes #800
  • o-list: Fixed error that prevents the correct operation of the detail of a list (c49b186) Closes #877
  • o-table: Fixed error of not keeping selected rows (92e530a) Closes #881

8.5.6 (2021-12-20)

Features

  • o-button: Added a new output for click (onClick) (dbb97ec) Closes #864

Bug fixes

8.5.5 (2021-11-26)

Bug fixes

  • o-list: Fixed issue preventing query-rows from working properly (74af8920) Closes #847
  • o-error-dialog-manager.service: added new service that handles error messages dialogs to solve the problem of opening multiple error dialogs(45c9dcbe74505f371a2d47cb0d786ee97c79b20a) Closes #845
  • o-table: fix error of selectable rows not beeing marked on filter data(770002e) Closes #846

8.5.4 (2021-11-05)

Bug fixes

  • o-combo: added new atribute null-selection-label to add a text to none selection in a combo (99c2cf70) Closes #812
  • o-table: Avoid blinking no results message (fd13799) Closes #820
  • o-table: added new input show-expandable-icon-function to make changes on expandable-row (3225048) Closes #811
  • o-list: Fixing selection model bugs (1f0eabd) Closes #817

8.5.3 (2021-10-26)

Features:

  • o-app-layout, o-app-header: new attribute show-title (d865f4d4) Closes #813

Bug fixes

8.5.2 (2021-10-15)

Features

  • o-table:

Bug fixes

  • o-table:
    • OBaseTableCellEditor: fixing insertable row editor bug (029632b0) Closes #790
    • Fix the bug that the column sorting does not work in the table with row grouping (d150386) Closes #789
    • Fix the bug when using aggregate column and select-all-checkbox-visible='yes' on o-table (9eca7dd) Closes #729
    • o-table-column: adding missing translate input (ad081513) Closes #768
    • o-table-cell-renderer-service: setting translation pipe (ad081513) Closes #768
  • oCurrency, oReal, oInteger, oPercent pipes: number.service parsing bug fixed (dc0b5094) Closes #776
  • o-app-layout: display app header title after reloading the page (0d92a54) Closes #784
  • o-bar-menu: make locale items change application language (54e30a45) Closes #726

8.5.1 (2021-09-30)

Features

  • Util: adding new wrapIntoObservable method (1c7523c2)
  • OFormLayoutManager: new hasToConfirmExit method (7c4dc447)
  • o-table:
    • alignment on aggregate column heading with same default column type alignment (5bfa41d)(4adeb84) Closes #740
    • new context-menu input (04ffbe69)

Bug fixes

  • o-table:

    • Fix bug in row grouping when collapsing row groups makes columns aggregate have a wrong value (b4920cd) Closes #741
    • Fix bug when open a detail with o-form-layout-manager (f5612a4) Closes #751,#752
    • Fix the bug that the table is displayed blank when navigating the mat tab group and virtual scrolling is enabled(6327825) Closes #751
    • Fix the bug that the virtual scrolling works abnormally sometimes (3b7d0ca) Closes #760 ontimize-web-ngx/issues/751)
    • Fix the bug when title attribute is defined in o-table-column and it does not show the translated value in o-table-context-menu (c259570) Closes #766
    • Fixing expand-groups-same-level input bug (edd9e787) Closes #746
    • Fixing the bug in the column filtering modal when using a custom renderer ([4f878d8](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/ 4f878d8)) Closes #777
  • o-form-layout-manager: Fix layout manager on tab mode after refreshing page (298fce) Closes #753

BREAKING CHANGES

  • Changes made to solve #745 and #754 (d1829ef) (7c4dc447). This changes will be transparent to user.
    • o-form-layout-manager, OFormLayoutManagerMode: setModifiedState method arguments updated
    • OFormNavigationClass:
      • setModifiedState method is now protected
      • suscribeToCacheChanges method has no arguments now
    • OFormCacheClass: onCacheEmptyStateChanges emmiter no longer exists
    • OFormLayoutManagerMode: canAddDetailComponent method now can also return an Observable
    • OFormLayoutManager: canAddDetailComponent now returns an Observable
  • o-table:
    • Bundle prefix for o-table-columns-grouping-column default title prefix has changed from 'AGGREGATE_FUNCTION' to 'AGGREGATE_TITLE' (a94d7b6a)

8.5.0 (2021-09-09)

We are restyling OntimizeWeb

We are implementing different modifications in OntimizeWeb in order to improve the design of the framework. Closes #623

  • o-table:
    • Added the badge in the quickfilter that indicates the number of filtering columns (fb80778)
    • Attribute filter-column-active-by-default has changed its default value. Now is activated by default (8e97d53)
  • o-app-header : New attribute header-height (fd06479)
  • All OntimizeWeb menus now have the CSS class o-mat-menu that modifies the menu items height (e0aa722)

Features

  • o-form-layout-tabgroup-options: New attribute max-tabs (9d78d40) Closes #694
  • OFormServiceComponent (o-combo, o-list-picker, o-radio) (e92a78e5) Closes #706
    • New refresh method
    • A context menu has been added for showing a reload option
  • o-table (2f5b2bb9) Closes #620
    • Showing all the available values after the first configuration of a column filter
    • OColumnValueFilter: adding availableValues to stored filter properties
  • o-app-layout-sidenav: Add multilevel navigation. Building more than 3 levels is not recommended (4daab8d) (6cbbaa9) Closes #709
  • o-form: New attribute ignore-default-navigation. (d59d6ebb) Closes#732

Bug fixes

  • o-table:
    • Fix bug when select-all-checkbox-visible is active. (b88be9b) Closes #714
    • OTableQuickfilter: Remove no searchable columns from query. (03fd5d6) Closes #721
  • o-form-layout:
    • Show change mark in the tab whose detail is modified. (1eea210) Closes #715
    • Hide spinner when form layout manager has multiple tabs opened and the page is reloaded. (6823e10) Closes #733
    • Protect navigation when the application navigation history is empty. (35ae9b8) Closes #727
    • Show new label in form layout tab after reload the application. (07619df) Closes #736

BREAKING CHANGES

  • OntimizeWeb theme now defines its ows configuration that modifies angular maetrial's typography, if you are using OntimizeWeb material theme you should provide the typograhy defined by OntimizeWeb in the following way:
    @import 'node_modules/ontimize-web-ngx/theme.scss';
    @include o-material-theme($theme, $default-typography);
  • o-app-layout:
    • Default value of attribute show-header has been changed to true (2557184)
    • o-app-layout-sidenav: (2fc889e)
      • h3 tag has been remove in o-app-sidenav-menu-group component
      • Added the CSS classes o-app-sidenav-menu-group-level-1, o-app-sidenav-menu-group-level-2, o-app-sidenav-menu-group-level-3, o-app-sidenav-menu-group-level-4 and o-app-sidenav-menu-group-level-5
    • o-app-sidenav-menu-group: CSS class active has been removed (4b28033)
  • o-table:
    • o-table-visible-columns-dialog: CSS class description has been replaced by mat-subheader (a6fe1e3)
    • o-dual-list-selector: CSS class o-dual-list-selector-description has been replaced by mat-subheader (ae0c953)
  • o-listpicker: CSS class title-container has been replaced by mat-dialog-title (a6fe1e3)
  • o-button: Types BASIC, RAISED, STROKED and FLAT now have CSS properties height set to 32px and min-width set to 112px (2668232)
  • All dialog buttons now have min-width CSS property set to 104px (aeeacd4)

8.4.1 (2021-08-03)

Features

  • o-form: new attribute ignore-on-exit, ignores form fields changes when closing a form. (695) Closes #663
  • o-time-input: new value-type and value-format inputs (b7b4d24) Closes #693

Bug fixes

  • o-table-quickfilter: fixing ExpressionChangedAfterItHasBeenCheckedError errors (bc78f3a) Closes #670
  • o-form-service-component.class, o-combo, o-listpicker: fixing setFieldValues method error (3e9fe3b) Closes #675

8.4.0 (2021-07-23)

Features

  • AbstractOServiceBaseComponent: component now looks for parent keys values in route params if form is not present (658) Closes #634

  • o-table:

    • Adding new warn message when user wants to hide a column with an active filter or sorting. (#628) (c413ece)

    • Adding new optional parameter (indicating the columns attr to clean filters) to the clearColumnFilters method. (#628) (c413ece)

    • Adding new optional parameter (indicating the new sort columns) to the reinitializeSortColumns method and changing its access level to public.(#628) (c413ece)

    • o-table-cell-editor-email: new component for email cell editors(6fdf754)

    • Adding virtual scroll (#598) (e14c424 (238da22) (b5668c3) (4cabf1a) (59e7684)

      NOTE

      • The virtual scrolling and the table tooltip are incompatible due to a recognized bug in Angular library (#686), if you want the tooltip functionality on the table, you must deactivate virtual scrolling as follows virtual-scroll = no because it is actived by default
      • It has been set min-height='400px' in o-table by default, you can modify the height table in .o-table class
    • Added validators functionality to cell editors and insertable row (4d66853) Closes #517

    • Row grouping new features #597:

      • o-table-columns-grouping: new o-table inner component used to configure the row grouping columns
      • o-table-columns-grouping-column: new o-table-columns-grouping inner comopnent used to configure the grouping features of a specific column
  • OTableDataSource: adding new optional parameter (indicating the columns attr to clean filters) to the clearColumnFilters method (#628) (c413ece).

Bugfix

  • o-table:
    • Cannot read property 'onChange' of undefined in oTableExpandedFooter directive (9b853f8) Closes #668

BREAKING CHANGES

  • o-table: fixed-header value no has been replaced by yes (aa53bd8)

8.3.1 (2021-06-24)

Features

  • o-search-input: new options optional argument in setValue method (01a12ba
  • o-grid: new pageSizeChanged and sortColumnChanged methods (#643) (01a12ba)
  • AbstractOServiceComponent: (#640) (01a12ba)
    • New filterData and setData common methods defintions (used in o-list and o-grid, overrided in o-table)
    • New getQuickFilterDataFromArray, getSortedDataFromArray, getPaginationDataFromArray and parseResponseArray methods
    • onDataLoaded and onPaginatedDataLoaded common outputs variables definition (removed from o-list, o-grid and o-table)
  • o-table: New attribute for o-table default-visible-columns to set the initial visible columns (9891e29) Closes #647

Bug Fixes

  • o-grid: adding registerQuickFilter method extension (#640) (17a3263)
  • o-list: fixing sort-columns initialization error (#639) (01a12ba)
  • OGridComponentStateService, OListComponentStateService: storing missing properties (#640) (01a12ba)
  • o-table:
    • Quickfilter glass icon position and placeholder color (f5245fd) Closes #641
    • Update No results message with quick filter value (c3bb839) Closes #638

8.3.0 (2021-06-16)

Features

  • o-form-layout-manager: new split-pane mode.
  • OFormLayoutManagerMode: new interface that every new o-form-layout-manager mode must implement.
  • OFormLayoutSplitPaneOptionsDirective: new directive for using the split-pane mode inputs.
  • OBaseTableCellRenderer:
  • new getFilterExpression method (#630) (0866de1)
  • o-table-cell-renderer-service:
  • adding value-column-type attribute and queryAllData method (#630) (0866de1)
  • o-table-quickfilter: new placeholder input (#635) (f79fab4)
  • OServiceComponent: new quick-filter-placeholder input (#635) (f79fab4)

BREAKING CHANGES

  • The authentication has been refactored:

    • Service LoginService has been removed and replaced by AuthService. This is an abstract service that provides basic functionality regarding authentication. Its default implementation is OntimizeAuthService class that performs authentication with Ontimize based backends. Developers can provide their own implementation using the Injection Token O_AUTH_SERVICE and the class of their service that extends AuthService class.
    • Interface ILoginService has been removed, use abstract class AuthService instead.
    • Method sessionExpired from old LoginService has been renamed to clearSessionData in AuthService.
    • Method redirectLogin has been removed in class OntimizeBaseService and all its subclasses (OntimizeService, OntimizeEEService, OntimizeExportService and OntimizeFileService), use method logout from AuthService instead.
    • Method redirectLogin has been removed in class ServiceUtils, now it is a method of Ontimize authentication implementation in OntimizeAuthService.
  • o-service-component.class:

    • Method initializeState no longer exists. This change will only affect to extended components which have overrided or extended this method.
  • o-form-layout-manager:

    • Methods getFormCacheData, setModifiedState and closeDetail no longer has the id argument.
    • Method updateNavigation changed the id argument for the keyValues (object that contains the form keys values) argument.
    • This changes will only affect to applications which have extended the OFormLayoutManagerComponent and have overrided or extended the affected methods.
    • The following inputs have been deprecated: title, title-data-origin, label-columns, separator, dialog-width, dialog-min-width, dialog-max-width, dialog-height, dialog-min-height, dialog-max-height and dialog-class. User should use the option inputs.
  • OFormLayoutDialogOptionsComponent, OFormLayoutTabGroupOptionsComponent:

    • This components no longer exists. Both components have been refactored into two directives: OFormLayoutDialogOptionsDirective and OFormLayoutTabGroupOptionsDirective.
    • This change is transparent to the user, now the o-form-layout-manager mode inputs can be setted in two ways: using the mode option tag (the same way o-form-layout-dialog-options or o-form-layout-tabgroup-options were used before) or including the mode inputs in the o-form-layout-manager tag.
    <o-form-layout-manager mode="tab" attr="o-form-layout-customer-home"
     title="CUSTOMERS" label-columns="SURNAME;NAME" separator="," icon="info" color="warn">
    
    ...
    
    </o-form-layout-manager>

    Is equivalent to:

    <o-form-layout-manager mode="tab" attr="o-form-layout-customer-home">
    
     <o-form-layout-tabgroup-options color="accent" title="CUSTOMERS"
       label-columns="SURNAME;NAME" separator="," icon="info" color="warn">
     </o-form-layout-tabgroup-options>
    
     ...
    
    </o-form-layout-manager>
  • The service components hierarchy has been changed, now using abstract classes.

    • New OServiceBaseComponent hierarchy:
      • New AbstractOServiceBaseComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>>.
      • New DefaultOServiceBaseComponent default implementation of AbstractOServiceBaseComponent using the DefaultComponentStateService.
      • OServiceBaseComponent keeps existing to have backwards compatibility, its equals to the DefaultOServiceBaseComponent.
    • New OServiceComponent hierarchy:
      • New AbstractOServiceComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>> extending AbstractOServiceBaseComponent<T>.
      • OServiceComponent keeps existing to have backwards compatibility, its a default implementation of AbstractOServiceComponent using the DefaultComponentStateService.
    • If you have a component extending OServiceBaseComponent or OServiceComponent it should keep working as usual.
    • If you have a component extending a o-table, o-list or o-grid you have to add its own component state service to the providers array:
      • o-table:
          providers: [
            ...
            { provide: AbstractComponentStateService, useClass: OTableComponentStateService, deps: [Injector] }
            ...
          ]
      • o-list:
          providers: [
            ...
            { provide: AbstractComponentStateService, useClass: OListComponentStateService, deps: [Injector] }
            ...
          ]
      • o-grid:
          providers: [
            ...
            { provide: AbstractComponentStateService, useClass: OGridComponentStateService, deps: [Injector] }
            ...
          ]

Bug Fixes

  • o-table: fixing header sort bug (794210d) Closes #629

8.2.5 (2021-05-26)

Features

  • o-image: New attribute max-file-size. (d8a84c0) Closes #589
  • o-table: adding new optional clearSelectedItems (defaults to true) argument to reloadPaginatedDataFromStart and reloadData methods (1aa26ec)

Bug Fixes

  • o-list-picker, OFormDataComponent: checking if the component has the appropriate permissions to execute the setEnabled method (40089da) Closes #607
  • o-list-picker:
  • o-combo: fixing renderers errors (9d4b5de) Closes #612
  • o-table: solving filters storage bugs (1aa26ec) Closes #606

BREAKING CHANGES

  • oLocker: Default oLockerMode is set to 'load' (40089da)
  • o-list-picker:
    • getListPickerValue method now receives the entire record object (dba5a11)
    • getRenderedValue method no longer exists (this shouldn't affect the user) (dba5a11)
  • o-table:
    • The following changes should not affect the user unless it was specifically using the following properties (1aa26ec)
    • showFilterByColumnIcon and originalFilterColumnActiveByDefault properties no longer exists.
    • new isColumnFiltersActive property.
    • deleting arguments from onFilterByColumnChange EventEmitter (retrieve same value using dataSource.getColumnValueFilters())

8.2.4 (2021-04-30)

Bug Fixes

  • oCurrency, oReal, oInteger, oPercent: pipes don't update the format of values when language is changed (a9343d0) Closes #566

  • OTranslateHttpLoader: Remote bundle request: do not parse error object as translations (4670659) Closes #563

  • o-table:

    • OBaseTableCellEditor: fixing cell edition bug (6eb72b2) Closes #571
    • oTableColumnAggregate: Aggregate column is not updated on changing cell value (de7e77c)
    • o-table-cell-editor-time: Fixed not set new value in table-cell-editor-time (16ccf90)
    • o-table-cell-editor-boolean: fixing cell edition bug (755daf4) Closes #573
    • Fixed prevent touch vertical and horizontal scrolling in table: (e1b14d1) Closes #576
    • o-table-row-expandable: Fixed error when exporting table data (98bdd0e)

8.2.3 (2021-04-09)

Features

Bug Fixes

  • o-slide-toggle: does not display or submit the correct value in the detail form (5986e3d) (f534274)
  • o-real-input: ignore minimum decimal digits validation when value has lower precision (1ee1fafc)

8.2.2 (2021-03-25)

Features

  • validators: new pattern validator (7eded1c)
  • o-dialog: Added classes in the buttons in dialog (b107153)
  • OFormServiceComponent (o-combo, o-list-picker, o-radio): new attribute sort, include translate attribute in o-list-picker (7a7032bb) Closes (#322)
  • o-table-row-expandable: new multiple input (fb4fb10) Closes (#545)
  • o-combo: new types of render (currency,integer,boolean,percentage,date,custom render) (eabdd2d) Closes (#529)
  • o-list-picker: new types of render (currency,integer,percentage,date,custom render) (eabdd2d) Closes (#529)

Bug Fixes

  • o-list: use sort-columns attribute value on the first query (3a0cf8a) Closes (#536)
  • o-slide-toggle: fixed getValue function (d386f4d) Closes (#535)
  • o-table-row-expandable: no expand button in row break example (8e89988) Closes (#541)

8.2.0 (2021-02-26)

Features

  • table:
    • Added row grouping (078931b)
    • new class OTableGroupedRow(ed9607)
    • o-table-context-menu:
      • added new sub-menu Group by.(ed9607)
      • new interface OnExecuteTableContextEvent
    • o-table-visible-columns-dialog: Improved the usability and the appearance similar to other modals (73b699d)
    • o-table-columns-filter-column: Added new input start-view to set initial view in datepicker (33a44c6) Closes #508
    • Added columnName and cell properties in OnClickTableEvent interface (7a4e783)(96e33b8)
  • new component o-dual-list-selector(7eedc0d)
  • new component o-user-info-configuration (c6cac4b)
  • o-app-layout: new header-color input(52187ef)
  • o-grid:
    • added new button (10c5bef)
    • new insert-button-position and insert-button-floatable inputs (10c5bef)
  • o-date-range: new attribute mode (52fb863) Closes #481
  • o-percent-input: new attribute value-base (44becb6) Closes (#513)

Bug Fixes

  • o-input-file: fixed accept-file-type value parser (14c5bca8)
  • OFormDataComponent: Show input value when internal value is zero (a7b2392)
  • OFormDataComponent: Show clear button on inputs when internal value is zero (512a8c3)
  • o-column: Fix appearence outline when no title is displayed. (664c518)
  • o-row: Fix appearence outline when no title is displayed. (664c518)
  • o-list-picker: Fixed duplication of last value when search is side scrolling (5529b03)
  • language bundle: Check if data exist on language bundle (f2f8155) Closes #444
  • o-combo: fixing bug when data is null and multiple-trigger-label=true (bbcbca1) Closes #484
  • o-hour-input: Fix component styles (cbb6a03) Closes (#485)
  • o-table, OBaseTableCellEditor: Ignoring keyboard events from outside a cell being edited. Also stopping active cell edition when table content has changed (d888fad) Closes (#523)

BREAKING CHANGES

  • table:
    • method handleCellClick has been removed, you have to use handleClick instead (0cc55af)
    • method handleCellDoubleClick has been removed, you have to use handleDoubleClick instead (0cc55af)
    • Changed the parametres of the handleDoubleClick and handleCellClick methods (e64dcc3) (0cc55af)

8.1.1 (2020-11-25)

Bug Fixes

  • table: fixing bug in filtering by column (88ac4bf)

8.1.0 (2020-11-23)

Features

  • icons: Added sort_by_alpha, sort_by_alpha_asc and sort_by_alpha_desc icons in Ontimize Web (edd8927)

  • table:

    • o-table-filter-by-column:
      • added clear button in the inputs of the customized filters (6fe1e33)
      • added clear button in filter column dialog (a67cdb4)
    • reinitialize method: added new option 'filterColumns' (361b8c1)
    • new component o-table-columns-filter-column (f395b82)
    • new attribute filter-column-active-by-default(fccc41a)
    • new internal class column-filter-icon-active (e94e465)
    • new component o-table-row-expandable (4452ca2)
    • new component o-expandable-container (3036381)
    • new directive o-table-custom-toolbar for adding custom content to the table toolbar (0fb3793)
    • added sort flags in column sorting and filtering (7b54634) (1ad49e0)
    • new attributte auto-adjust (d5adedb)
  • o-form:

    • new public methods back, closeDetail, reload, goInsertMode, insert, goEditMode, update, undo, delete and setData (e5c899d, f256e4a).
    • The following methods has been deprecated and will be removed in the future: _backAction, _closeDetailAction, _reloadAction, _goInsertMode, _insertAction, _goEditMode, _editAction, _undoLastChangeAction, _deleteAction and _setData (e5c899d, f256e4a).
  • button:

BREAKING CHANGES

  • table:
    • onClick event return onClickTableEvent type (1da21eb)

8.0.0 (2020-08-20)

Bug Fixes

  • o-checkbox : fixing bug in sql-type value was always overwritted by VARCHAR (b9f6cbb)
  • o-form-navigation:
    • fixing form header navigation (29f5bd9)
    • fixing navigation through form details (8da33c5)
  • o-form: setting layoutAling= 'start stretch' instead of 'start start'(008c78c)
  • o-table: fixing bug in horizontal scroll (eef29b4)

8.0.0-rc.1 (2020-07-30)

Features

  • o-date-input: new attribute date-class (039da18)

Bug Fixes

  • base-service.class: fixing bug in delete method headers (d4065cdd) (#361)
  • o-combo: scroll not worked when searchable="yes" (b70b2a1) Closes #365
  • OServiceBaseComponent: fixing bug including parent-keys value in filter when exporting data (d34280f) Closes #373
  • defaultLocale: added new parameter in app.config to set a defaultLocale when language.json file is not found (5783afc) Closes #383
  • o-image: added new parameter(not-found-image) in o-image component to manage not found images. (cdaaf7b)

BREAKING CHANGES

  • o-app-layout: the menu icon appears in sidenav when mode="desktop" and show-header="yes". (#364) Closes #316

8.0.0.rc-0 (2020-05-29)

Features

  • angular8: adapt code to Angular 8.

BREAKING CHANGES

  • All components inputs/outputs arrays are no longer exported as static variables, they are only exported as independent arrays.
  • Some interfaces has been replaced by types and their names has changed:
    • interface IFormValueOptions has been replaced by type FormValueOptions.
    • interface IExpression has been replaced by type Expression.
    • interface IBasicExpression has been replaced by type BasicExpression.
    • interface IFilterExpression has been replaced by type FilterExpression.
    • interface ISQLOrder has been replaced by type SQLOrder.
  • o-table:
    • NAME_COLUMN_SELECT, SUFFIX_COLUMN_INSERTABLE, LIMIT_SCROLLVIRTUAL and DEFAULT_COLUMN_MIN_WIDTH static variables no longer exists. Now they are located in Codes utility class.
    • editors and renderers:
      • 'initialize' method added always called in base class ngOnInit method
    • usePlainRender, useCellRenderer, useCellEditor and useDetailButton no longer exists (used for template purposes) (e56c736b) (47c0714e)
  • o-form:
    • RELOAD_ACTION, GO_EDIT_ACTION, EDIT_ACTION, INSERT_ACTION, GO_INSERT_ACTION, DELETE_ACTION and UNDO_LAST_CHANGE_ACTION static variables not longer exists, now they are defined in the Codes static class.

4.1.3

Features

  • o-table:
    • new attribute show-filter-option (#318)
    • new attribute visible-export-dialog-buttons (#320). Closes #316
    • new attribute export-service-type (0f2db1c)
    • new attribute row-class (b0de94d). Closes #367
  • App configuration: new attribute exportServiceType allows configuring the service used for exportation in the whole application (c785371)
  • OFormServiceComponent: new query-fallback-function input (089338f3)
  • o-form: new query-fallback-function input (089338f3)
  • Now the application language is stored in the browser and loaded on application startup (e9b9535)
  • We have developed a new mechanism for overriding/extending servicies. From now on, you can use one of the following Injection Tokens for indicating the service class you want to use in your application for the different services: O_DATA_SERVICE, O_TRANSLATE_SERVICE, O_FILE_SERVICE, O_EXPORT_SERVICE, O_PERMISSION_SERVICE (ade651e)
    • Attributes serviceType, exportServiceType, permissionsServiceType from application configuration will be deprecated and removed in future versions.

Bug Fixes

  • o-time-input: Fix bad behaviour when there is more than one component in the same form (fc1dd47)
  • o-language-selector: emit onChange event (231c1d4)

4.1.2 (2020-02-26)

Features

Bug Fixes

  • o-table: fixing bug in table visible columns edition dialog (03ba4a1) Closes #298

4.1.1 (2020-02-11)

Bug Fixes

  • o-table:
    • use independent editor for column edition a insertable row (10af3c6) Closes #299
    • reinitialize table resets table dialogs configuration (3763caf) Closes #298
    • use correct type for value-base attribute value on o-table-cell-renderer-percentage and include it in o-table-column attributes (054c324)

4.1.0 (2019-12-19)

Features

  • o-table:
    • new value local for export-mode input
    • new o-table-export-button component (3258fe6)
    • allowing to define custom o-table-quickfilter (e964043a)
  • OBaseTableCellRenderer: new filter-source and filter-function inputs (inherited by all cell renderers) (f5296660)
  • o-table-column: new filter-expression-function input (f5296660)

Bug Fixes

  • o-table-cell-renderer-action, o-table-cell-renderer-image: not show title in the column (b4bc292) Closes #288
  • o-combo: throw error when request result is a empty object (4884fe2) Closes #296

BREAKING CHANGES

  • o-table: exportation and download paths has changed, now they are similar to the CRUD methods paths.

Example:
Export path: https://www.mydomain.com/service/rest/customers/customer/pdf
Download path: https://www.mydomain.com/service/rest/customers/pdf

  • o-table: export-mode value all has been replaced by local
  • o-table: export-mode="all" has changed, now it sends the current filters to the backend in order to generate the report with all data

4.0.7 (2019-10-04)

Features

  • New components o-form-layout-dialog-options and o-form-layout-tabgroup-options (2ad8ae1)

  • o-button: new svg-icon input (404ae8f)

  • OServiceComponent: (660a57b9) (0b24c82b)

    • new filter-case-sensitive input (removed from o-list and o-table)
    • new quick-filter input (removed from o-grid, o-table and o-list)
    • new showCaseSensitiveCheckbox, getComponentFilter and registerQuickFilter methods
  • o-list:

    • new insert-button-position input (f5ae203) Closes #282
    • new insert-button-floatable input (f96b5d4)
  • o-table:

    • new keep-selected-items input (29de43b9)
    • new export-mode input and getAllRenderedValues method(5a90d2d)
  • o-list-picker: show or hidde clear button (bb3b6eb)

  • ODialogComponent: allow to show html text (783427c)

Bug Fixes

  • o-table-cell-renderer-service:not render cell value when export data table (a594521)
  • o-grid: not filter by checked columns (29f5036) Closes #283
  • o-table:
    • adding new columns to my tables they are being hidden by default. (42e5ccf) Closes #284
    • Dialog for show/hide columns associated to a oTable has not visible scroll bar (bfbe85e) Closes #287
    • (2f0a4f6) (593b7cb) Closes #285
  • o-checkbox: checking not work with no boolean values (f871ac7d) Closes #286
  • containers: fixed container when it is initialized with the attribute expanded=false (347330b) Closes #288

4.0.6 (2019-06-19)

Features

  • FilterExpressionUtils: added operator IN and method buildExpressionIn (fcc0003)
  • New component o-daterange-input (7c48c09)
  • Modules: Exporting 'ONTIMIZE_MODULES_WITHOUT_ANIMATIONS' array of common modules that should be imported in app module if you don`t need animations.
  • Added translations in portuges (da648cb)
  • o-hour-input, o-table-cell-editor-time:Fix translation in text button (d842fbd) (17f5ca3)

4.0.5 (2019-06-05)

Features

4.0.4 (2019-05-22)

Features

  • OFormControl: adding class OFormControl (7a9cef6)
  • o-table-columns-filter: new mode attribute (1b5d8ee)
  • o-table: now the table distinguish text and numeric columns when filtering its data through the quick filter component. It also allow filering using service cell renderer values (7fba4b9)
  • OSnackBarConfig: new cssClass attribute (eaa601b)
  • o-form-layout-tabgroup: new onSelectedTabChange and onCloseTab outputs (29f73a0)

Bug Fixes

  • o-list-picker: fixed no columns selected error (978d7cd)
  • o-service-base-component: fixing storage bugs #251 sort by numeric column (2a59669)
  • o-table-insertable-row: fixed that the insert row in the table is not shown #261(f346f1f) (3dce76f) (3dce76f4b837af)
  • o-time-input: internal date build from date and hour inputs fixed (bb88e9a) Closes #267
  • o-list-picker: new dialog-disable-close input (b4bc292)

BREAKING CHANGES

  • o-hour-input: method getValueAsTimeStamp has been removed, the method getValue returns the input value in the format indicated by the attribute value-type

4.0.3 (2019-04-24)

Features

  • o-combo: new searchable input (2ae599d)
  • o-table: new cell renderer o-table-cell-renderer-translate (2763c47).
  • o-form: new after-insert-mode input (4378201).
    • Note: stay-in-record-after-insert attribute will be deprecated in 8.x.x

Bug Fixes

  • o-context-menu: remove overlay when context menu is removed (a2bf383)

4.0.2 (2019-04-04)

Features

  • o-form:
    • new header-position input (63f0f36)
    • new outputs onInsert, onUpdate and onDelete (85992e6)
  • OContainerCollapsibleComponent:
    • new collapsed-height and expanded-height input (6dbbd95)
  • o-list-picker: new onDialogAccept and onDialogCancel outputs (fd0247d)
  • OFormServiceComponent: new onDataLoaded output (3d0cf70)
  • o-table: new enabled attribute (5d48cef).
  • MenuGroup, MenuItem: new class attribute (6a4c500)
  • o-form-navigation: allowing to navigate through paginated components (OServiceComponent) details (286ba71)
  • o-image: new accept-file-type input (cd61beb)
  • o-form-data: new hide-required-marker and label-visible inputs (d39db97)
  • o-time-input: new hour-placeholder and date-placeholder inputs (48d3b9c)
  • o-form-layout-manager: updating main content when updating, deleting or inserting new data (20adc1d) (050da7c)
  • o-table-cell-renderer-service: listening to editor changes for updating the renderer (cf56430) (d596c5d)
  • OFormServiceComponent: new onDataLoaded output (3d0cf70)
  • o-form-data: new hide-required-marker and label-visible inputs (d39db97) (a7d0e8d) (5fb5509)
  • o-time-input: new hour-placeholder and date-placeholder inputs (48d3b9c)

Bug Fixes

  • o-table: fixed error on table store configuration dialog (ad6c84b), closes #256
  • o-grid: sort by numeric column (2b38fb5), closes #253
  • o-time-input: impossible to select a different date of 01/01/1970 (48d3b9c), closes #255

4.0.1 (2019-03-06)

Features

  • o-form:
  • o-form-layout-manager: new attributes dialog-class, dialog-width, dialog-min-width, dialog-max-width, dialog-height, dialog-min-height, dialog-max-height (d891359) (216d9ff)
  • AppConfig: Adding properties for allowing remote configuration storage.
  • o-list: new sort-columnsand filter-case-sensitive inputs (b8bf534)
  • o-search-input: new appearance, columns, filter-case-sensitive, show-case-sensitive-checkbox and show-menu inputs (eab96f6)
  • o-button: new button variants, STROKED,BASIC, ICON,FAB and MINI-FAB (df76383)(cf12fcb)
  • New directive oHidden used for hiding components (fe54972)

BREAKING CHANGES

  • o-button:
    • Type FLOATING has been renamed to FAB.

4.0.0 (2019-02-19)

Features

  • o-form-data-component: new tooltip-hide-delay input (18733ef)
  • New classes layout-padding-vertical,layout-padding-horizontal,layout-padding-left,layout-padding-right,layout-padding-top, layout-padding-bottom, layout-margin-vertical,layout-margin-horizontal,layout-margin-left,layout-margin-right,layout-margin-top, layout-margin-bottom (6901980)
  • o-grid:
    • New fixed-header attribute (4fa91d9)
    • New gutter-size attribute (4e45aaf)
  • o-grid-item: New colspan and rowspan attributes (f1b33a1)
  • o-table-context-menu: includes new filtering options (059cd83)
  • o-row, o-column, o-row-collapsible and o-colum-collapsible: new layout-gap attribute (15ba08e)

BREAKING CHANGES

  • o-table-cell-renderer-currency, o-table-cell-renderer-real, o-table-cell-renderer-percentage: Attribute decimal-digits has been removed. Use the new attributes min-decimal-digits and max-decimal-digits(a58b414)(c1a29bd)
  • o-button: internal CSS class o-button-text has been removed.
  • o-image:
    • Internal CSS class container-image has been renamed to o-image-content.
    • Internal CSS class input-image has been renamed to o-image-form-field,
    • Internal CSS class image-container has been renamed to o-image-display-container.
    • Internal CSS class auto-fit-image has been renamed to o-image-auto-fit,
    • Internal CSS class input-image-container has been removed.
  • Components styles: there are some minor changes in components styles.

4.0.0-rc.1 (2019-01-16)

Features

  • New components o-button-toggle and o-button-toggle-group (311a2ac) (415f8b0)
  • New components o-slider (a885043)
  • o-hour-input: allowing to introduce hour value manually in the component input (51fb9dc)
  • o-context-menu: (db32ecf)(a6d6b44)
    • New component o-context-menu-group that supports the ability to open a sub-menu.
    • New component o-context-menu-separator that represents a separator in the menu
  • o-table-context-menu: includes the next options: view detail, edit, insert, copy options and select all. (ee465d4) (99d5040)(e05cc93) (1b94c3c)
  • o-app-layout-header: new component for adding custom content to o-app-layout header (dc0d408)
  • o-app-layout-sidenav: new component for adding custom content to o-app-layout sidenav (4e12eb9)
  • o-table-cell-renderer-boolean: new render-type, render-true-value and render-false-value inputs (a8cca0d)
  • o-table-cell-editor-boolean: new auto-commit input (627aed3)
  • o-table:
  • o-table-column:
    • new orderable input (3523d54)
    • new resizable input (3523d54)
    • new max-width input
  • AppConfig: adding properties for allowing remote permissions query.
  • OServiceBaseComponent: new query-fallback-function input (fec7eab)
  • o-date-input: new value-type input
  • o-row and o-column: new appearance input (8616872)
  • o-row-collapsible and o-colum-collapsible: new appearance attribute (41ace5d) (fc92303)
  • o-row and o-column: new appearance input (8616872)
  • o-row, o-column, o-row-collapsible and o-colum-collapsible: new layout-gap attribute (e302c25)
  • o-row, o-column:
    • Row and column components now extend from OContainerComponent class that provides shared functionality (4713e3e)
    • Added new attribute icon (69fc936)
  • New container components o-row-collapsible and o-colum-collapsible (b1eb483) (0850ef3)
  • o-app-layout: new beforeOpenSidenav, afterOpenSidenav, beforeCloseSidenav and afterCloseSidenav outputs (1a2a028), closes #243
  • O_MAT_ERROR_OPTIONS: new provider for allowing to show the input components errors as a tooltip (db74c34)
  • O_INPUTS_OPTIONS: new provider for allowing to configure input components (01692e0)
  • o-form-layout-manager: new title-data-origin input (c88ab98)

Note on HammerJS

The sliding behavior in o-slider component requires that HammerJS is loaded on the page. You can see the support of Material in next (link)

Bug Fixes

  • o-grid: loading spinner displays properly (7d08582), closes #231
  • o-form-navigation: fixing index error (f487e54), closes #238
  • OServiceBaseComponent: fixed bug on service components with pagination and located inside a detail form (9c69c4b) (bb0b04a) o-grid: It shows message of no results (4f1878c) closes #245

BREAKING CHANGES

  • AppConfig: removing authGuard property.
  • o-table-cell-renderer-boolean: true-value-type and false-value-type inputs no longer exists (a8cca0d)
  • o-date-input: this component now only allows to receive and return timestamp values (e0be14a)
  • o-table: CSS class action-cell-renderer has been renamed to o-action-cell-renderer.
  • o-row, o-column:
    • Attribute title-label has been renamed to title.
    • Attribute layout-fill has been removed.
    • Method hasTitle has been replaced by method hasHeader.
    • CSS classes o-container-title-item and container-title has been replaced by o-container-title.
    • CSS class o-container-content-item has been removed.
    • CSS class container-content has been renamed to o-container-gap.
  • o-form: Attribute layout-fill has been removed.

3.2.1 (2018-12-28)

Features

  • o-form: new getFormComponentPermissions and getActionsPermissions methods
  • o-table: new attribute select-all-checkbox-visible (a553447)
  • o-date-input: new value-type input (8876586)

BREAKING CHANGES

  • PermissionsService: (2d186c9)
    • adding new parameter to getTablePermissions method
    • adding getFormPermissions method
    • removing getFormDataComponentPermissions, getActionsContextMenuTablePermissions and getContainerActionsPermissions methods
    • Routes (1cc62a9)
      • allowing to define permissions for routes
      • new PermissionsGuardService CanActivateChild guard

Bug Fixes

  • o-grid: pagination local in grid (916e632), closes #229
  • o-table:
    • expand the table in the container (8d50a68)
    • the spinner produces scroll (ef36e52)
    • tooltip not show when text is long and cell is at the edge of the screen (9e5f328)
  • o-grid and o-table: emit changes event in translations of the page (f627826)
  • ontimize-export.service: fixing download bug (dbeaf42) #237
  • o-context-menu Fixed position if none of the provided positions fit (8c72f40)

3.2.0 (2018-11-27)

Features

  • New component o-slide-toggle (6c6453b)
  • New components o-button-toggle and o-button-toggle-group (311a2ac)
  • o-checkbox: new attributes color and label-position (7e9e69e)
  • o-table-option, o-table-button:
    • New attr and enabled inputs.
    • New elRef parameter in constructor.
  • OBaseTableCellEditor: new enabled input.
  • OServiceBaseComponent: new query-on-event input (e2dfb06)
  • OFormServiceComponent (o-combo, o-list-picker, o-radio): new input set-value-on-value-change and output onSetValueOnValueChange (c972d2d)
  • o-context-menu: (db32ecf)(a6d6b44)
    • New component o-context-menu-group that supports the ability to open a sub-menu.
    • New component o-context-menu-separator that represents a separator in the menu
  • o-table-context-menu: includes the next options: view detail, edit, insert, copy options and select all. (ee465d4) (99d5040)(e05cc93) (1b94c3c)
  • o-app-layout-header: new component for adding custom content to o-app-layout header (dc0d408)
  • o-app-layout-sidenav: new component for adding custom content to o-app-layout sidenav (4e12eb9)
  • New component o-slider (a885043)
  • o-table-cell-renderer-boolean: new render-type, render-true-value and render-false-value inputs (a8cca0d)
  • o-table-cell-editor-boolean: new auto-commit input (627aed3)
  • o-table-column: New attribute content-align (6c23f4b)
  • AppConfig: adding properties for allowing remote permissions query.

Note on HammerJS

The sliding behavior in o-slider component requires that HammerJS is loaded on the page. You can see the support of Material in next (link)

Bug Fixes

  • o-grid: loading spinner displays properly (7d08582), closes #231

BREAKING CHANGES

  • AppConfig: removing authGuard property.
  • o-table-cell-renderer-boolean: true-value-type and false-value-type inputs no longer exists (a8cca0d)
  • o-date-input: this component now only allows to receive and return timestamp values (e0be14a)
  • o-table: CSS class action-cell-renderer has been renamed to o-action-cell-renderer.

4.0.0-rc.0 (2018-11-16)

BREAKING CHANGES

PEER-DEPENDENCY UPDATES

  • Updated: @angular@6.1.10
  • Updated: @angular/material@6.4.7
  • Updated: @angular/cdk@6.4.7
  • Updated: @angular/flex-layout@6.0.0-beta.18
  • Updated: @ngx-translate/core@10.0.2
  • Updated: @ngx-translate/http-loader@3.0.1
  • Updated: ngx-material-timepicker@2.8.3
  • Updated: typescript@2.9.2
  • Updated: rxjs@6.3.1
  • Updated: zone.js@0.8.26
  • Updated: core-js@2.5.7
  • NOTE: you must update your (node version to 8 or later)

Features

  • o-hour-input: adding min and max inputs.

  • o-time-input: adding hour-min and hour-max inputs.

  • OFormDataComponent:

    • Adding placeholder input. Now you can configure label and placeholder separately. View (Form field appearance variants) for details.

    • Adding appearance input. View (Form field appearance variants) for details. You can use angular material global provider to configure appearance in all module form fields:

    import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material';
    
    @NgModule({
      providers: [{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'legacy | standard | fill | outline' } }],
      ...
    })
    • Adding float-label input. View (Form field floating label) for details. You can use angular material global provider to configure floating labels in all module form fields:
    import { MAT_LABEL_GLOBAL_OPTIONS } from '@angular/material';
    
    @NgModule({
      providers: [{ provide: MAT_LABEL_GLOBAL_OPTIONS, useValue: { float: 'always | never | auto' } }],
      ...
    })
  • o-slide-toggle: New component o-slide-toggle (6c6453b)

  • o-checkbox: new attributes color and label-position (7e9e69e)

  • o-table-option, o-table-button:

    • New attr and enabled inputs.
    • New elRef parameter in constructor.
  • OBaseTableCellEditor: new enabled input.

  • OServiceBaseComponent: new query-on-event input (e2dfb06)

  • OFormServiceComponent (o-combo, o-list-picker, o-radio): new input set-value-on-value-change and output onSetValueOnValueChange (c972d2d)

3.1.2 (2018-11-07)

Features

  • OValueChangeEvent: adding isUserChange and isProgrammaticChange methods.
  • o-table-cell-renderer-percentage: new value-base input (d9585f6) (#222)

Bug Fixes

  • o-grid: open correct detail when clicking on grid items on pages different than the first page (b9468a3) closes #220

BREAKING CHANGES

  • o-form: getDataValue method is now public again.
  • AuthGuardServiceFactory: removing factory.
  • AuthGuardService: getPermissions and isRestricted methods no longer exists.
  • IFormDataComponent: adding new properties to interface (d12a606)
    • setValue, clearValue and getValue methods.
    • onChange, onValueChange properties.
  • o-side-menu: the side menu component is completely removed (b13dc69)
  • o-service-base-component: the method filterContainsAllParentKeys has been moved to ServiceUtils class (9c2bdd5)
  • o-table-column: removing date-model-type and date-model-format unused inputs.
  • OTableDataSource: adding updateRenderedRowData method.
  • o-table-column, o-table-cell-editor-date: new date-value-type input (43ae503)
  • OBaseTableCellEditor: show-toast-on-edit input changed to show-notification-on-edit and its default value is now true (ba28709)

3.1.1 (2018-10-05)

Features

  • New component o-radio (1ed0286) (e80513e)
  • o-bar-menu: o-bar-menu can build automatically base on the application menu configuration (67f543f) (1fc1f63)
  • o-table: new multiple-sort input (6688618) (01257ea)
  • o-grid: The grid component now supports remote pagination (b855724)
  • o-form: new getFieldValue, getFieldValues, setFieldValue,setFieldValues, clearFieldValue,clearFieldValues, getFieldReference and getFieldReferences methods (3453182) (d03d482) (e69473b) (5228ccc
  • OFormDataComponent: new onValueChange event being fired if the value changed (whether it was changed by the user or by code) (0b24228)(07bc3d6)(3ac842e)(e69473b)(f7dd987) (#142)
  • o-list: events onClick and onDoubleClick are triggered event when detail-mode attribute is set to none (989f92b)

Bug Fixes

  • Fixing missing 'bundles', 'esm5' and 'esm2015' bundling files error.
  • o-bar-menu fixed error the menu on mobile screen collapses (1fc1f63).
  • service.utils: fixed error building parent keys filter with aliases (059ddc3) closes (#212)
  • buttons: Adding type="button" to all html buttons (e3c4779) (#210)
  • o-table-insertable-row: fixing bug with multiple insertable rows in same page (862d8fc) (#211)

BREAKING CHANGES

  • MenuItem:
    • attribute 'show-in-app-sidenav' has been removed (0c96585).
  • o-grid: Attribute page-size-options has changed, now it receives an string with the page size options separated by ';' (70dcd43).
  • o-form: getDataValue method is now protected, so if you were using it you should change it to use the getFieldValue method.
  • o-service-component.class: getRouteOfSelectedRow has only one parameter now, if you are using it you should remove the second parameter.

3.1.0 (2018-09-13)

Features

  • ontimize-ee.service, ontimize.service: new response parsers methods (separately by each CRUD method) (c8c9e6f)
  • o-table-dao: new updateQuery method (ad4f7ea)
  • o-service-base-component.class:
    • new 'OServiceBaseComponent' extractKeysFromRecord and getSqlTypes methods (0aa24c9)
    • new 'OServiceBaseComponent' getParentKeysValues method (e94aa61)
  • o-form-service-component.class, o-combo, o-listpicker: new query-with-null-parent-keys attribute (7e93930)
  • o-table cell editors:
    • updating cell data in server (360bfd0)
    • new updateRecordOnEdit and showToastOnEdit inputs and onPostUpdateRecord output added to all cell editors ('OBaseTableCellEditor' class) (360bfd0)
  • o-table:
    • new updateRecord method (a528120)
    • new auto-align-titles input (1714a25)
    • supports infinite scroll when pagination-controls="no" and pageable="no" (9fc3afa)
  • o-table-column:
  • o-list:
    • new outputs added: onItemDeleted, onDataLoaded, onPaginatedDataLoaded (2f71849)
    • added suppor for using the o-filter-builder component (1736a2a)
    • Now, both o-list-item component and o-list-item directive make the list items go to item detail when click on them by default. Use the detail-mode attribute to configure this (1cb22d3 ee2eecb 60848fe)
  • o-list-item-card: new input show-image (ed89b6b)
  • o-app-layout:
  • o-app-header: new input show-language-selector (c06bc24)
  • New o-validator component that allows to add a custom validator to a OFormDataComponent. (4e2f841)
    • New inner o-error inner component for defining the error text of the possible validator errors (4e2f841)
  • OFormDataComponent:
    • new validators input (closes #100) (4e2f841)
    • support for using o-validators and o-error inner components (closes #100) (a2e6bbe)
    • new exported static DEFAULT_OUTPUTS_O_FORM_DATA_COMPONENT array containing default ouputs. Also declaring default onChange EventEmitter (3a999c8)
  • o-checkbox: new attributes boolean-type, true-value and false-value (0d6d0dd) closes #187
  • New o-hour-input component (8212f85)
  • New o-time-input component (49fe9c2)
  • o-table-insertable-row: new include-parent-keys input (29e2a94)
  • o-image: new full-screen-button input (78bff44)
  • o-list-picker: new text-input-enabled input (f903f27) Closes #181
  • o-date-input: new text-input-enabled input (edb65ef)
  • o-form-layout-manager:
    • new store-state input for allowing localStorage state storing (only in tab mode) (1c0afc1) (de562f6)
    • allowing inner components navigation

Bug Fixes

  • o-table, o-list, o-tree: fixed error when querying data with parent keys and no defined values for some of those parent keys (0548c8e).
  • o-table:
    • fixed error attribute controls does not show/hide the table tool bar (2632658).
    • fixed remove method (3870b4f).
    • fixed bugs related with detail-button-in-row and edit-button-in-row inputs (1cbd261).
  • o-list: multiple errors fixed:
    • Navigate to insert form when clicking the insert button (2f71849).
    • Delete selected list items (2f71849).
  • o-combo: state bugs fixed (#202) (db1de6f)
  • o-form-data-components: components state bugs fixed (#203) (f986d12)

BREAKING CHANGES

  • ServiceUtils: method getParentItemFromForm has been removed. Use getParentKeysFromForm instead.
  • OServiceBaseComponent: method checkQueryReadyParentKeys has been renamed to filterContainsAllParentKeys.
  • o-list:
    • The method onReload has been removed as it was deprecated in v1.2.0.
    • The method registerSearchInput has been renamed to registerQuickFilter.
    • The public attribute searchInputComponent has been renamed to quickFilterComponent.
  • o-table:
    • The attribute show-table-buttons-text has been renamed to show-buttons-text.
    • The output onTableDataLoaded has been renamed to onDataLoaded.
    • The output onPaginatedTableDataLoaded has been renamed to onPaginatedDataLoaded.
    • The attribute break-word (breakWord) has been removed. Use multiline instead.
    • editors and renderers:
      • The method initialize which was deprecated in 3.0.0-rc.1 has been removed.
  • o-form: Output onFormDataLoaded has been renamed to onDataLoaded.
  • o-user-info: removed input use-flag-icons. This component doesn't contain the language selector anymore.
  • Changes in CSS classes naming:
    • o-app-layout: Internal CSS classes changes:
      • All internal CSS classes starting with application-sidenav has changed to o-app-sidenav.
      • All internal CSS classes starting with application-header has changed to o-app-header.
      • All internal CSS classes starting with user-info has changed to o-user-info.
    • o-list-picker-dialog: Internal CSS classes changes:
      • Internal CSS class dialog-list-container has been removed, use mat-dialog-content instead.
      • Internal CSS class list-picker-search has changed to o-list-picker-search.
      • Internal CSS class has-filter has changed to o-list-picker-has-filter.
    • o-table: Internal CSS class hidden-action-text has been removed.
    • o-form-toolbar: Internal CSS class toolbar-form-header has changed to o-form-toolbar-header.
  • OFormDataNavigation: This internal class has been removed. You dont have to make any change unless you were overriding its use in the o-form-navigation component.

3.0.1 (2018-07-27)

Features

  • o-list-item: list item directive now can be attached to mat-list-item and mat-card components (e256100).
  • DialogService: changing 'dialogRef' property visibility to public (#193) (f797b56)

Bug Fixes

  • o-form-layout-manager: fixed error when there is a o-form inside the form layout manager (5aca0cc)
  • o-table: registerColumn method allows to receive a string argument again (#197) (d0ac4b8)
  • OHTMLInputComponent: fixed component class name (4f4948c) fixes #196
  • o-form: fixing destroyDeactivateGuard method bug (#198) (261091a)

3.0.0 (2018-07-24)

Features

  • o-table: new 'show-paginator-first-last-buttons' input (1c23563)
  • o-table-paginator: new 'show-first-last-buttons' input (1c23563)
  • o-card-menu-layout: now it is allowed include custom o-card-menu-item component on this component (2209ecd)
  • o-card-menu-item: new action attribute (0aa9a33)
  • o-image; new auto-fit and height attributes (a7bd081)
  • o-table-cell-renderer-action: new 'text', 'icon-position' and 'action' inputs (afc1cd6)
  • OntimizeMatIconRegistry: new 'addOntimizeSvgIcon' method (79953f5)
  • New oTabGroup directive: applies styles to angular material mat-tab-group component (0a04ce3)

Bug Fixes

BREAKING CHANGES

  • o-side-menu: the side menu component has been deprecated and will be removed in next versions.
  • o-table: 'registerColumn' method only accepts 'OTableColumnComponent | OTableColumnCalculatedComponent' argument, for registering a column using only its attr user must use the 'registerDefaultColumn' method. This will be rolled back in the next version and allow to receive any argument in the 'registerColumn' method.

OHTMLInputComponent: the html input component class name has changed to HTMLInputComponent. This will be rolled back in the next version.

3.0.0-rc.1 (2018-07-02)

Features

  • OFormServiceComponent: ('o-combo' and 'o-list-picker' extends this class) adding 'getSelectedRecord' method for getting the selected value associated data. This is a object including all the properties definied in the 'columns' input (e513805) (#162)
  • OServiceComponent: ('o-list' and 'o-table' extends this class) double click mode (used in 'detail-mode' and '*edition-mode' input) allows 'dblclick' and 'doubleclick' values.
  • Codes: Creating 'codes' util class for general variables and types definitions (9e20235) (d2f2060)
  • o-service-base-component.class: new 'OServiceBaseComponent' parent class for components using Ontimize services ('o-list' and 'o-table')(70271b7)
    • new 'store-state' input (35a523c) (#166)
    • new query-with-null-parent-keys attribute (8ad7f8e)
  • o-table-column:
  • o-table-columns-filter: added 'preload-values' attribute (a52b5cd)
  • o-table:
  • MenuItem:
    • new 'show-in-card-menu' input (default=true) indicating whether or not to show its correspondent 'o-card-menu-item' (374c408)
    • new 'show-in-app-sidenav' input (default=true) indicating whether or not to show its correspondent 'o-app-sidenav-menu-item' (dbb7f9a)
  • OFormDataComponent:
    • new 'width' input in form inner components (88d28cb) (d7b8307)
    • new optional 'options' parameter in 'setValue' method. This parameter must implement the new 'IFormValueOptions' interface (same as angular FormControl 'setValue' method 'options' parameter, watch here) (e1a0e18)
    • new 'read-only' input in form inner components (015c037)
  • o-combo: new 'multiple' and 'multiple-trigger-label' inputs that allow multiple selection ([9c6eed3f] (https://github.com/OntimizeWeb/ontimize-web-ngx/tree/9c6eed3fd509cf7e7a4262936ceb9d617fe8a1a3))
  • New component o-filter-builder that allows building complex expressions using form components for filtering the o-table data. (3874f70)
  • New directive oFilterBuilderQuery used with the o-filter-builder component for triggering the filter action. (3874f70)
  • New directive oFilterBuilderClear used with the o-filter-builderp component for clearing the form components involved in the filtering. (3874f70)
  • ontimize-ee.service, ontimize.service: new 'parseSuccessfulResponse' and 'parseUnsuccessfulResponse' methods (6ab33d8)
  • Inputs:
    • Added clearValue method to all input form components. (ae92af5)
    • Added show-clear attribute to all input form component. (9d274b0)
  • o-table-option: new 'active' input (186c1cf)
  • o-table-button: adding 'svg-icon' input (bed3613)
  • icons: new 'ontimize-icon-set.svg' file that stores svg icons noew used in 'OntimizeWeb' components.

Bug Fixes

  • o-table:
  • o-table-cell-renderer-service: fix undefined service provider (a00a112). Closes #172
  • o-app-sidenav:
  • OServiceBaseComponent: adding 'ngOnChanges' method (f93a1d0) (#174)
  • OFormServiceComponent: 'setData' method bug fixed (1aa9e17) (#173)
  • ontimize-ee.service: delete method bug fixed (bea5277) (#183)
  • o-email-input: validation bug fixed (1a5be2a) (#184)
  • o-image: new default 'BASE64' 'sqlType' (26a1e5c) (#186)

BREAKING CHANGES

  • o-table:
    • removing the option for showing all table records in the paginator (f448bfa)
    • removing (unused) 'editable-columns' input
    • editors and renderers (f942c20):
      • 'initialize' method is now deprecated (user can still invoke it but it will do nothing)
      • every new editor or renderer that uses 'ngOnInit' method must init its implementation invoking 'super.ngOnInit()'
      • cell editors typo fixed: method 'startEdtion' is now 'startEdition'
  • o-file-input: method clearData is no longer available. Use clearValue instead. (7000acc)
  • o-real-input, o-currency-input, o-percentage-input: attribute decimal-digits has been removed. (f321543)
  • oReal: real pipe (ORealPipe) arguments (IRealPipeArgument) has changed. Attribute decimalDigits is no longer available, use attributes minDecimalDigits and maxDecimalDigits instead. (f321543)
  • .angular-cli.json: in all your applications using OntimizeWeb you MUST add the following line in the '.angular-cli.json' file, otherwise all the components icons will not be loaded.
...
"assets": [
...
  { "glob": "**/*", "input": "../node_modules/ontimize-web-ngx/assets/", "output": "./assets/" },
...
]
...
  • IMPORTANT: if you are using 'ontimize-web-ngx-tools' library for generating your app production version you MUST update it to 'ontimize-web-ngx-tools@1.0.6' (or superior).
  • removing the classes o-form-toolbar-floating and o-form-toolbar-floating-scrolled. New styles were applied o-form-toolbar, it is necessary to review the classes related to it (5f8c96b)

Note: There is a new 'o-tree' component, all its information will be available at ontimize-web-ngx-tree

3.0.0-rc.0 (2018-04-30)

DEPENDENCY UPDATES

  • Removed: dragula@^3.7.2
  • Removed: ng2-dragula@1.3.1
  • Added : ng2-dnd@5.0.2

PEER-DEPENDENCY UPDATES

  • Updated: @angular@5.2.10
  • Updated: @angular/cli@1.7.3
  • Updated: @angular/material@5.2.4"
  • Updated: @angular/cdk@5.2.4"
  • Updated: @angular/flex-layout@5.0.0-beta.13
  • Updated: @ngx-translate/core@9.1.1
  • Updated: @ngx-translate/http-loader@2.0.1
  • Updated: core-js@2.5.3
  • Updated: rxjs@5.5.6
  • Updated: zone.js@0.8.20
  • Updated: reflect-metadata@0.1.12
  • New: @angular/material-moment-adapter@5.2.4
  • New: typescript@2.4.2
  • New: webpack@3.11.0

BREAKING CHANGES

  • Angular and Angular Material: updating versions (be5d6d7)
  • Services: all services now are using 'HTTPClient' instead of 'HTTP' (184b5df)
  • o-table-visible-columns-dialog: drag and drop library changed from 'dragula' to 'ng2-dnd' (0e054f4)

Features

  • o-combo: mat-select is now used inside mat-form-field. This makes all of the existing form-field features available with mat-select, including hints, errors, prefixes, and suffixes. This also ensures that mat-select and matInput have a consistent presentation (9c2acbb)
  • o-list-picker: improving performance (64820b8)
  • MomentDateAdapter: Using angular material 'MomentDateAdapter' (changes should be transparent to user) (f424199)
  • OntimizeWebModule: adding 'schemas: [CUSTOM_ELEMENTS_SCHEMA]' to exported 'OntimizeWebModule' (12d452d)
  • app.config: adding 'assets' property for configuring application assets locations (only available for i18n files) (894f592)
export const CONFIG: Config = {
  ...
  assets: {
    i18n: {
      path: string; //path of i18n files folder
      extension: string; //extension of locale files
    }
  };
  ...

Bug Fixes

2.1.3 (2018-04-18)

Features

  • o-list-picker:
    • There is a new 'query-rows' (number) input. This input indicates how many elements are initially rendered in the list picker dialog. When the dialog scroll hits bottom a new set of elements are rendered (8b1e4ef)
      • NOTE: This feature only works with the data retrieved by the list picker. It does not filter the data remotely.
    • Allowing to pre-filter content using the component input text before opening the dialog.

Bug Fixes

  • o-table: Fixing bug when using parent-keys (ae64e93)
  • o-list-picker: Improving performance (8b1e4ef)

2.1.2 (2018-04-03)

PEER-DEPENDENCY UPDATES

  • Updated: core-js@2.5.3
  • Updated: rxjs@5.5.6
  • Updated: zone.js@0.8.20

Bug Fixes

  • o-combo: Fixing styling bugs (98c8b99)
  • o-form-navigation: Fixing navigation bugs (835afcf)
  • o-table-cell-editor-boolean: Fixing value parsing bug (#154) (8fd96ea)

2.1.1 (2018-03-20)

BREAKING CHANGES

  • o-table: 'pageable' input default value is now 'false' (inherited from 'OServiceComponent') (f0836da)

Features

2.1.0 (2018-03-15)

BREAKING CHANGES

  • o-table: 'filter-case-sensitive' input default value is now 'false'.
  • o-table: removing input 'insert-table' (4907594)
  • o-table: 'pageable' input default value is now 'true'.
  • moment: updating momentjs dependency to version 2.19.3 (50c80bb)
  • IAuthService: updating interface adding 'redirectLogin' optional function definition (9641f12)

Features

  • o-form

    • New 'getUrlParams' method. Shortcut for 'getFormNavigation().getUrlParams()' (32f5613)
    • New 'getUrlParam' method. Shortcut for 'getFormNavigation().getUrlParams()[arg]' (32f5613)
    • New 'layout-align' input (bcd2a42)
    • Exporting inner form components and classes (#148) (32cd7f9)
      • OFormCacheClass
      • OFormNavigationComponent
      • OFormDataNavigation
      • OFormNavigationClass
    • New 'getFormCache' method (32f5613)
  • o-table

    • Changing 'dialog' property visibility to protected (68dfda1)
    • New 'clearSelection' method (0a37f5d)
    • Adding 'show-title' input (cae0868)
    • Adding cell editors (04f43ae) (acc4238) (efad08a)
    • Updating selection mode using click + ctrl | shift (acc4238)
    • Adding 'selection-mode' input (none|simple|multiple)
    • Adding remote pagination (3e10752) (18f576d)
    • Adding 'quick-filter-function' input for allowing user to override default quick filter value passed to the service (e1ad25a)
      • Adding 'QuickFilterFunction' type ('type QuickFilterFunction = (filter: string) => IFilterExpression | Object;')
    • o-table-insertable-row: adding new inner table component for using insertable rows (4907594) (2a8ceee)
      • Using configured cell editors for the edition of each column (6abe426) (5b6d9d0)
    • o-table-renderer-service adding predefined cell renderer 'o-table-renderer-service' (f1685b5)
    • o-table-cell-renderer-action: new 'o-table' column renderer (3e3a924)
  • Util

    • 'parseArray' methods allows to discard repeated elements (a924ad2)
    • Adding 'equals' and 'isDefined' methods (1c5aa00)
  • OFormServiceComponent

    • Adding 'query-method' input (7bd62e4)
    • Adding 'query-on-event' input (7bd62e4)
  • styles: adding 'theme.scss' file so user wont need to import 'node_modules/ontimize-web-ngx/ontimize/components/theming/all-theme.scss' and will only have to import 'node_modules/ontimize-web-ngx/theme.scss' (408f863) (4b02d0f)

  • o-material-theme: 'o-material-theme' now initializes angular material theme and typography configuration. It also receives user custom typography as second parameter (06baef2) (40c6777)

  • ontimize-ee: adding remote pagination 'advancedQuery' method (3e10752)

  • FilterExpressionUtils: adding utility class for building filtering queries parameters (8aacf96)

  • AppConfig: adding properties for allowing remote bundle location:

  • oTranslate

    • Allowing to retrieve remote bundle configuration. Using the 'bundle' property in the application 'Config' object (86ecd4f)
    • Allowing to pass parameters to 'oTranslate' pipe, following the new 'ITranslatePipeArgument' interface (b7744da) (43edbe4) (8e5d890)
      • Having the following entry in the bundle file:
        ...
        "EXAMPLE": "Example bundle text: {0}, {1}",
        ...
      
      • User can add in the html file:
        {{ 'EXAMPLE' | oTranslate : { values: ['foo', 'bar'] }}}
      
      • And get the following result:
        'Example bundle text: foo, bar'
      
  • OFormDataComponent: adding 'elementRef' getter (159e57d)

  • o-language-selector: adding 'use-flag-icons' input (default false). Also added in 'o-app-layout', 'o-app-header' and 'o-user-info' (for propagation) (9c143e9)

  • OntimizeServiceResponseParser: adding default parser for the Ontimize server responses (1c2e420)

Bug Fixes

  • o-table-dao: fixing methods bugs (5093bc0)
  • input components: adding 'required' attribute to HTML input elements. Now required input components have an asterisk in their placeholder (dd6d910)
  • o-table: fixing inputs bugs (cae0868)
  • o-table: fixing error when columns parameter has duplicated column names (be151a8)
  • o-form: changing disabled status bug (fd8dbb4)
  • o-component.class: fixing empty 'label' input bug (6e212aa)
  • o-combo: fixing bugs when value changes (b3a0073)

2.1.0-rc.3 (2018-01-18)

Features

  • o-card-menu-layout: new 'o-card-menu-layout' component (1dbc1f8)
  • o-card-menu-item: new 'o-card-menu-item' component (1dbc1f8)
  • o-table : adding 'onRowSelected', 'onRowDeselected', 'onRowDeleted', 'onTableDataLoaded' and 'onPaginatedTableDataLoaded' outputs (6982984)
  • o-context-menu: new 'o-context-menu' component and 'oContextMenu' directive for attaching a context menu to DOM elements (c838095) (559c0ae)
  • o-table-context-menu: new 'o-table-context-menu' component for attaching a context menu to 'o-table' rows (5658b83)
  • o-table-column-calculated: adding posibility to add calculated columns (5e4aacd) (d8479d6)
  • Components: new 'automatic-registering' input for specifying that a component will not be not registered on its parent form (1205e57)
  • o-form-data.component.class: new 'DEFAULT_INPUTS_O_FORM_DATA_COMPONENT' static variable (1205e57)
  • IFormDataComponent: 'IFormDataComponent' now extends 'IFormControlComponent' (1205e57)
  • NavigationService: 'NavigationService' is now initialized on application initialization (b63e372)
  • o-form: adding 'show-header-navigation' input (default false) for including navigations buttons in the toolbar (#39)

BREAKING CHANGES

  • OServiceComponent: changing 'dataService' visibility from protected to public ('o-list' and 'o-table' components extends this class) (5270cde)

2.1.0-rc.2 (2017-12-21)

Features

  • o-table-button: adding 'icon-position' input (66f0acb)

  • o-table: adding public methods 'getValue', 'getRendererValue', 'getSqlTypes' (236b9b6)

  • o-table: excel exportation support (8b8a4b0)

  • o-table: HTML and PDF exportation support (5bbfc7f)

  • o-table: adding styles to cell by type value o-column-string,o-column-currency, o-column-integer, o-column-real,o-column-boolean,.o-column-date (aaf11b2)

  • o-table-column: adding posibility to customize cell renderes (9569f00) (5badd8d) (443bf1c)

  • o-table-option: new 'o-table-option' component for adding options to 'o-table' menu (f48a591)

  • o-table, o-table-columns-filter: new 'o-table-columns-filter' component (a0a3eed) (21ad0b7) (0d69818) (d6c9969)

  • o-table-paginator: new 'o-table-paginator' component (23b4e4d) (2213a0d) (a19fa4b) (6c608cf) (68ae7c6)

  • o-table-column-aggregate: new o-table-column-aggregate component allows to display columns of totals. (eb7c9d7) (6f466d7) (80b7f04) (821e696)

  • o-form-layout-manager: new 'o-form-layout-manager' component (26a0e04) (0be6b2c) (e4871ee) (7f31cbd) (ecd362a)

  • o-table-renderer-percentage adding predefined cell renderers 'o-table-renderer-percentage' (0e48fdf)

  • SnackBarService added service for showing an angular material SnackBar component (cbc4159)

  • OSnackBarComponent added component in order to customize the snackbar component (f3eaa13)

  • o-language-selector: new component for changing application locale listing all available languages. It uses 'flag-icons' library (d7b0c25)

  • o-app-layout: adding the following inputs:

    • 'sidenav-opened', 'show-header', 'show-user-info', 'opened-sidenav-image' and 'closed-sidenav-image' (03d79fe) (ecc3404) (296e920)

    This changes are propagated to inner components ('o-app-sidenav', 'o-app-sidenav-image', 'o-app-sidenav-menu-group' and 'o-app-sidenav-menu-item')

  • o-table: adding input fixed-header (a0601a6) (a0601a6

  • o-breadcrumb: new breadcrumb component. It requires NavigationsService initialization on app start (#36) (b5b60bd)

  • o-form-container : new form container o-form-container (3a394e3) (df81e2d) (ab6fa09) (7c3883e)

Bug Fixes

  • o-translate-service: fixing 'getBrowserLang' bug (#138) (4a5d2e7)
  • o-form, o-table, o-datatable, o-list,o-list-picker,o-combo: fixing to show server messages in the client when the requested action fails in the components bug (#59) (bceae37) (6ed6bda)
  • o-table: fixing call 'query-method' using a different query than the default bug (#140) (e085e59)
  • o-table: fixing call 'queryData' using parent-keys bug (#143) (7fe79c6)
  • oKeyboardListener: fixing host listener bug (a6ecc38)
  • o-date-input: fixing locale bug (#145) (657efcb)
  • o-app-layout: fixing sidenav image bug (#127)

2.1.0-rc.1 (2017-11-15)

NOTE: if you want to add a issue (here) please try to follow our new issue template

DEPENDENCIES

  • ontimize-web-ngx now depends on ng2-dragula as a dependency.

Features

  • o-list-picker: adding 'onFocus' and 'onBlur' outputs (afdd027)
  • o-date-input: adding 'onChange', 'onFocus' and 'onBlur' outputs (ba802aa)
  • oKeyboardListener: creating directive 'oKeyboardListener' having 'keyboardKeys' input and 'onKeysPressed' event output (b410584)
  • o-form: addding the feature of undo form inner components changes stored in the form cache. The 'undo-button' (default=true) input controls the existence of a undo button in form toolbar. It also works with 'ctrl+z' (d026ae7)
  • o-table:
    • adding 'row-height' input (small|medium|large) (59cd9a2)
    • adding predefined renderers 'o-table-renderer-integer' (628aacf), 'o-table-renderer-real' (12477e), 'o-table-renderer-currency' (cfc1889), 'o-table-renderer-date' (b978c45),'o-table-renderer-boolean' (17da1e5) (258b2b0d),'o-table-renderer-image' (17da1e5)
    • adding 'onClick' and 'onDoubleClick' outputs and detail mode navigation (d68ae72)
    • adding predefined buttons in the toolbar (add & refresh) and optional buttons (using o-table-button selector) (a0010e2)
    • adding the capability of selecting visible columns and their order (d3dd172)
    • adding the capability of multiple selection (1c2979b)
  • o-table-column:
  • o-form: undo feature allows to undo blocks of changes (instead of undoing changes characters one by one) (2438a46)

BREAKING CHANGES

  • o-moment-pipe: moment pipe class name has changed from 'oMomentPipe' to 'OMomentPipe', this will not affect to pipe use (still using 'oMoment' selector) (6ba54de)
  • o-currency-pipe: new currency pipe class name 'oCurrencyPipe', this selector is 'oCurrency' and the arguments must extend ICurrencyPipeArguments) (0a87fe0)

Bug Fixes

  • o-combo, o-list-picker: Fixing value ensuring bug (comparing 0 value as undefined) (c6a23f3)

2.1.0-rc.0 (2017-11-02)

Features

BREAKING CHANGES

  • o-table and o-list: following inputs default values have changed (0a356c9):
    • 'detail-mode': changed from 'none' to 'click'.
    • 'detail-button-in-row': changed from 'true' to 'false'.
  • OFormDataComponent: this class now implements 'OnInit' and 'onDestroy' to forcing user to implement this methods at form components creation (4c6c23b).

Bug Fixes

2.0.0 (2017-09-26)

BREAKING CHANGES

  • OntimizeWebModule: 'ontimize-web-ng2' is now called 'ontimize-web-ngx'.

IMPORTANT: you must update your imports for changing 'ontimize-web-ng2' for 'ontimize-web-ngx'. This includes module and components import and 'ontimize.scss' reference.

  • Theming: deleting material design pre-built exported themes. In your 'app.scss' you wont be able to import anymore the following files:
    • node_modules/ontimize-web-ng2/ontimize/components/theming/indigo-pink.scss
    • node_modules/ontimize-web-ng2/ontimize/components/theming/deeppurple-amber.scss
    • node_modules/ontimize-web-ng2/ontimize/components/theming/pink-bluegrey.scss
    • node_modules/ontimize-web-ng2/ontimize/components/theming/purple-green.scss

Note: From now on, all information about theming will be available at ontimize-web-ngx-theming

2.0.0-rc.8 (2017-09-25)

PEER-DEPENDENCY UPDATES

  • Updated: @ngx-translate/core@8.0.0
  • Updated: @angular@4.3.6
  • Updated: @angular/cli@1.3.2
  • Updated: @angular/material@2.0.0-beta.10
  • Updated: @angular/cdk@2.0.0-beta.10
  • Updated: @angular/flex-layout@2.0.0-beta.9

BREAKING CHANGES

  • o-date-input: date input not longer using jquery-ui datepicker. Now using angular-material datepicker

**IMPORTANT: dont forget to remove a possible jquery-ui datepicker script import in angular-cli.json(node_modules/jquery-ui/ui/widgets/datepicker.js)

  • o-table: ontimize web table component ('o-table') and all its inner components ('o-table-column', cell renderers and cell editors) are not longer available in 'OntimizeWebModule', you must install 'ontimize-web-ngx-datatable' to import 'ODataTableModule' and have the full 'o-table' component with the following breaking changes:
    • ODataTableModule: you must add the import of 'ODataTableModule' in that modules using the table component (import { ODataTableModule } from 'ontimize-web-ngx-datatable;').
    • html templates: Change all 'o-table' html tags for 'o-datatable'. This also includes all the inner components ('o-table-column' is now 'o-datatable-column' and so on).
    • typescript: Every import of table components references must also change using the new naming. For example import { OTableComponent } from 'ontimize-web-ng2'; must be changed to import { ODataTableComponent } from 'ontimize-web-ngx-datatable';. This also applies to all table components or interfaces (all 'OTable...' references must be changed to 'ODataTable...'.).
    • styles: You must import the styles of the 'o-datatable' component:
      • Module styles: node_modules/ontimize-web-ngx-datatable/styles.scss
      • Theming styles in your 'app.scss' file (it must be included after 'o-material-theme'): @import 'node_modules/ontimize-web-ngx-datatable/o-datatable-theme.scss'; @include o-datatable-theme($theme);
    • angular-cli.json:
      • If you dont install 'ontimize-web-ngx-datatable' you must delete the following scripts from 'scripts' property:
        • ../node_modules/jquery/dist/jquery.js
        • ../node_modules/colresizable/colResizable-1.6.min.js
        • ../node_modules/pdfmake/build/pdfmake.js
        • ../node_modules/pdfmake/build/vfs_fonts.js
      • If you install 'ontimize-web-ngx-datatable' you must add the following stylesheet to 'styles' property:
        • ../node_modules/ontimize-web-ngx-datatable/styles.scss

Note: From now on, all information about 'o-datatable' will be available at ontimize-web-ngx-datatable

  • @angular/material: updating styles and templates for (@angular/material@2.0.0-beta.10) breaking changes.

    • Some of the important changes for 'ontimize-web-ng2':
      • md-input-container renamed to md-form-field
      • MdSidenav has been split into MdSidenav and MdDrawer. The MdSidenav
      • CSS classes have changed from mat-sidenav- to mat-drawer-
      • All dash-case @Directive selectors are deprecated in favor of the camelCase equivalent.
  • @angular/flex-layout: updating styles and templates for (@angular/flex-layout@2.0.0-beta.9) breaking changes.

  • deleted directives: 'DisabledComponentDirective (o-disabled)' and 'FormComponentDirective' are no longer available (or needed).

Features

  • ontimize-web-ng2: 'OntimizeWebModule' is now AoT compatible.
  • o-form: adding 'layout-direction' input (#114) (afb25e7)
  • o-list-picker, o-combo: adding 'value-column-type' attribute (#115) (56b7db3)

**IMPORTANT: 'value-column-type' attribute is set to 'int' by default, so the 'value-column' will be always parsed to int.

  • o-table-cell-renderer-string: adding 'translate' input (#118) (f9da979)
  • o-table-cell-editor: adding 'onFocus', 'onBlur' and 'onSubmit' outputs to all cell editor components (#120) (a1ee4e2)
  • o-date-input: with new angular-material datepicker is possible to do a time selection setting component 'format' attribute that shows time (see momentjs docs) and editing the input (#68)
  • o-table : adding 'onRowSelected', 'onRowDeselected', 'onRowDeleted', 'onDoubleClick', 'onTableDataLoaded' and 'onPaginatedTableDataLoaded' outputs (#123) (b5aabb2)

Bug Fixes

  • Exports: exporting content from 'util/async', 'util/base64' and 'util/events'.
  • inputs: edition mode bug fixed (#112) (f19eba7)
  • o-table: column header ordering icon state bug fixed. (#116) (589f3a9)
  • o-table and cell renderers: fixing ordering bugs (#116) (589f3a9)
  • NumberService: formatting bugs fixed. (#116) (#117) (589f3a9)
  • o-table-cell-editor-combo, o-table-cell-renderer-service: fixing service calls bugs (#119) (eafff5c)
  • o-combo: fixing value setting bugs (#121) (a8a0eb2)
  • Template components:
    • Fixing bugs in render image base64 and checkbox style in IE (2c13c29)
    • Updating icons in components with attribute mdSuffix (6567e3
    • Fixing bugs of flex-layout in IE (6567e3
  • OntimizeEE service: logout bug fixed (#124) (c341fc7)

2.0.0-rc.7 (2017-08-11)

PEER-DEPENDENCY UPDATES

  • Updated: @ngx-translate/core@7.1.0
  • Updated: @ngx-translate/http-loader@1.0.2
  • Updated: @angular@4.3.3
  • Updated: @angular/cli@1.2.7
  • Updated: @angular/material@2.0.0-beta.8
  • Added: @angular/cdk@2.0.0-beta.8

BREAKING CHANGES

  • o-form: 'Mode' enum is no longer available. Using static 'OFormComponent.Mode()' method instead (#103) (bcfc61d)

Features

  • o-form: Adding 'onFormModeChange' output (#105) (721d570)
  • OTranslate: Updating translate service according to 'ngx-translate' version and adding testing methods on language change (#109) (e37b0d8)
  • o-form: Adding 'setQueryMode', 'setInsertMode', 'setUpdateMode', 'setInitialMode' state checking methods.

Bug Fixes

  • o-list: Fixing bugs in list and inner renderers.
  • o-form: Fixing bugs when inner component 'attr' is undefined (#107) (ce6bc93)
  • o-list: Filtering 'static-data' bugs fixed (#90) (6e58311)
  • Form components: Updating form data cache when changing inner components data with 'setValue' method (#80) (c92b1b8)

2.0.0-rc.6 (2017-07-17)

PEER-DEPENDENCY UPDATES

  • Updated: @angular/cli@^1.2.1

Bug Fixes

  • OComponent: fixing bugs in 'OComponent' decorator.
  • providers: fixing language initialization bugs.

2.0.0-rc.5 (2017-07-10)

DEPENDENCY UPDATES

  • Added: colresizable@1.6.0
  • Added: datatables.net@^1.10.12
  • Added: datatables.net-buttons@^1.2.1
  • Added: datatables.net-colreorder@^1.3.2
  • Added: datatables.net-select@^1.2.0
  • Added: jquery@^3.0.0
  • Added: jquery-ui@^1.12.0
  • Added: pdfmake@^0.1.18
  • Added: moment@2.18.1

PEER-DEPENDENCY UPDATES

  • Added: @angular/flex-layout@2.0.0-beta.8
  • Updated: @angular/material@2.0.0-beta.7
  • Updated: @angular@4.2.4
  • Updated: rxjs@^5.4.2
  • Updated: zone.js@^0.8.12,
  • Updated: reflect-metadata@0.1.10,
  • Updated: typescript@2.3.4
  • Removed: colresizable@1.6.0
  • Removed: datatables.net@^1.10.12
  • Removed: datatables.net-buttons@^1.2.1
  • Removed: datatables.net-colreorder@^1.3.2
  • Removed: datatables.net-select@^1.2.0
  • Removed: jquery@^3.0.0
  • Removed: jquery-ui@^1.12.0
  • Removed: pdfmake@^0.1.18
  • Removed: moment@2.18.1

BREAKING CHANGES

  • FlexLayoutModule: (#34) (337143c) adding angular 'FlexLayoutModule'. This change makes necessary to change the following alignment attributes (only its name):
  layout        ->  fxLayout
  layout-align  ->  fxLayoutAlign
  layout-fill   ->  fxFill
  flex          ->  fxFlex

**Note: 'layout-align' input in 'o-row' and 'o-column' remains unchanged (it makes flex layout module update internally).

Features

  • OValidators: exporting 'OValidators' class.
  • OServiceComponent: adding 'getDataArray' method ('o-list' and 'o-table').
  • o-form: adding 'getRequiredComponents' method (#76) (568abf6)

Bug Fixes

  • o-table: bug in table reinitialization (#101) (4b94bf3)
  • OFormDataComponent: bug when setting data (#77) (11fb596)
  • o-form: bug when setting data (#82) (b2bad20)

2.0.0-rc.4 (2017-06-23)

Bug Fixes

  • o-table: pagination bugs fixed.
  • o-app-header: fixing flags icons bugs.

2.0.0-rc.3 (2017-06-22)

Features

  • o-list-picker: adding 'dialog-width' and 'dialog-height' inputs.
  • o-list-picker: adding internal 'o-list-picker-theme'
  • OTranslateService: adding 'setAppLang' method for app language initialization (before this point it was made with 'use' method).
  • o-table-cell-renderer-boolean: adding 'data-type' input (#97) (1fceee9)

Bug Fixes

  • o-list-picker: fixing styling bugs.
  • o-list: listening to 'static-data' changes.
  • o-table: fixing general bugs ('reloadData', 'remove' and footer text and buttons).
  • OTranslateService: bugs in 'use' method fixed.

2.0.0-rc.2 (2017-06-20)

Features

  • LoginService: adding 'logoutAndRedirect' and 'logoutWithConfirmationAndRedirect' methods.
  • Providers: adding 'AppMenuService' for standard menu definition, 'OUserInfoService' for basic user info storage and 'OModulesInfoService' for modules communication.
  • Components: adding 'o-user-info', 'o-app-header', 'o-app-sidenav', 'o-app-sidenav-menu-group', 'o-app-sidenav-menu-item' and 'o-app-sidenav-image' components.
  • Layouts: adding standard app layout ('o-app-layout') component definition.
  • Config: adding new configurable properties to app general 'Config' object: 'applicationLocales' (available in 'app-header') and 'appMenuConfiguration'.
  • o-table-column: adding 'class' input.
  • o-list-item-avatar: adding 'avatar-type' and 'empty-avatar' inputs.

PEER-DEPENDENCY UPDATES

  • Updated: @angular/material@2.0.0-beta.6
  • Updated: @ngx-translate/core@7.0.0
  • Updated: @ngx-translate/http-loader@0.1.0
  • Updated: moment@2.18.1

BREAKING CHANGES

  • OComponent: Changing 'OComponent' components base class for 'OBaseComponent'.

Bug Fixes

  • OTranslateService: translate service bugs at first app load (#91) (82edcd9) (b79d1fd)
  • o-list: listening to 'static-data' changes (#89) (b267c51)

2.0.0-rc.1 (2017-06-06)

BREAKING CHANGES

  • OntimizeWebModule: Removing 'forRoot' method.
  • Providers: Removing declaration of providers done in 'OntimizeWebModule.forRoot' method. Now exporting 'ONTIMIZE_PROVIDERS' array containig all default module providers. Also exporting 'APP_CONFIG' provider. Example of framework providers use:
  • Modules: Exporting 'ONTIMIZE_MODULES' array of common modules that should be imported in app module.
[...]
import {
  APP_CONFIG,
  ONTIMIZE_PROVIDERS,
  OntimizeWebModule
} from 'ontimize-web-ng2';

import { CONFIG } from './app.config';

[...]

@NgModule({
  imports: [
    [...]
    ONTIMIZE_MODULES,
    OntimizeWebModule,
    [...]
  ],
  [...]
  providers: [
   { provide: APP_CONFIG , useValue: CONFIG },
   ...ONTIMIZE_PROVIDERS
   [...]
  ],
  [...]
})
[...]

2.0.0-rc.0 (2017-05-30)

Features

  • Module: Defining framework as a ngModule ('OntimizeWebModule') that includes all components, directives and providers.
  • Styles: Adding pre-built themes 'deeppurple-amber', 'indigo-pink', 'pink-bluegrey' and 'purple-green' loaded in '$theme' var. Example of theme import: '@import 'node_modules/ontimize-web-ng2/ontimize/components/theming/indigo-pink.scss';'
  • entryComponents: Including 'ODialogComponent' in 'OntimizeWebModule'. User will no longer need to include 'ODialogComponent' on its module 'entryComponents'.
  • OServiceComponent: exporting 'OServiceComponent' class from which 'o-table' and 'o-list' extends (#83)
  • o-table: adding 'onClick' output (#84) (c9966a0)

PEER-DEPENDENCY UPDATES

  • Updated: @angular/material@2.0.0-beta.5
  • Updated: @angular@4.1.2
  • Updated: @angular/router@4.1.2
  • Updated: zone.js@0.8.10
  • Added: @angular/animations@4.1.2
  • Added: @angular/compiler-cli@4.1.2
  • Added: @angular/cli@1.0.6
  • Added: @angular/platform-server@4.1.2
  • Added: @ngx-translate/core@6.0.1
  • Added: @ngx-translate/http-loader@0.0.3
  • Added: typescript@2.2.0
  • Removed: ng2-translate@5.0.0
  • Removed: systemjs@0.19.38

BREAKING CHANGES

  • Styles: Updating styles for (@angular/material@2.0.0-beta.5)
  • Directives: Removing 'ONTIMIZE_DIRECTIVES' export. User will no longer need to import this declarations on its module. This directives are now included in 'OSharedModule' that is also included in 'OntimizeWebModule'.
  • Modules: Removing 'ONTIMIZE_MODULES' export. This modules are now included in 'OntimizeWebModule'. User will no longer need to import this modules on its module.
  • Providers: Removing 'ontimizeProviders' export. User will no longer need to call this function on its module. Declaration of providers is now done with 'OntimizeWebModule.forRoot({ config: CONFIG })' module import.

Bug Fixes

  • o-integer-input: setting value bug (#88) (167af16)
  • o-table, o-list: empty collection when error occurs (#93) (4815e6b)

1.2.3 (2017-03-31)

Bug Fixes

  • o-form, o-table, o-list: fixing 'reinitialize' serious bug.
  • o-form: Empty form fields value bug fixed. Updating 'getAttributesValuesToUpdate' method.

1.2.2 (2017-03-31)

Features

  • o-form, o-table, o-list: adding 'reinitialize' method (#71) (d8af657)
  • interfaces: adding 'OFormInitializationOptions', 'OTableInitializationOptions' and 'OListInitializationOptions' interfaces that must implement the arguments in 'reinitialize' method (#71) (d8af657)

BREAKING CHANGES

  • o-form: Changing 'getAttributesToQuery', 'getAttributesValuesToUpdate', 'getAttributesValuesToInsert' and 'getAttributesSQLTypes' methods visibility to public.
  • o-form: Changing 'onFormInitStream' and 'onUrlParamChangedStream' emmiters visibility to public.
  • o-form: Changing 'urlParams' property visibility to public.

Bug Fixes

  • o-table: Rendering empty table when result data is empty (#70) (34ff7a7)
  • o-list: Rendering empty list when result data is empty (#72) (74047bd)
  • o-form: Empty form fields value bug fixed (#73) (741f609)

1.2.1 (2017-03-27)

Features

  • o-form: Adding attribute 'layout-fill'.
  • o-form: Adding attribute 'stay-in-record-after-edit' (#65) (600437f)
  • o-table: updating 'static-data' when 'insert-table' is true(#64) (c98709c)
  • o-form: Adding 'isInQueryMode', 'isInInsertMode', 'isInUpdateMode', 'isInInitialMode' state checking methods.
  • o-form: Adding support for inner 'o-dynamic-form' component.

Bug Fixes

  • o-table: Using parent-keys (inside md-tab) (#62) (5eb088d)
  • o-form: Updating styles for adapting to container height.
  • o-table editors: Fixing variable bugs.
  • o-table: Fixing input 'static-data' update (#63) (c98709c)

1.2.0 (2017-03-16)

Features

  • o-list: adding remote pagination (#40) (8fbbb73)
  • o-list: adding 'detail-mode' attribute for choosing which action ('click', 'dblclick' or 'none') will navigate to detail form.
  • o-list: adding 'recursive-detail', 'detail-form-route', 'detail-button-in-row', 'detail-button-in-row-icon' attributes for managing detail mode access.
  • o-list: adding 'recursive-edit', 'edit-form-route', 'edit-button-in-row', 'edit-button-in-row-icon' attributes for managing edition mode access.
  • o-list-item: updating item rendering for allowing to add detail or/and edit button.
  • o-list-item.directive: adding dblclick event handler.
  • o-list: adding default item for empty list.
  • input components: new parameter 'tooltip' for specifying tip display on input components.
  • o-list: adding 'selectable' attribute (#41) (719042c)
  • o-list-item: updating item rendering for allowing to add a checkbox for selectable state.
  • local-storage.service: adding service for storing components state in navigator local storage.
  • Interfaces: adding 'ILocalStorageComponent' for components using 'local-storage.service'.
  • o-list: adding 'delete-method' attribute and delete button when list is selectable.
  • o-list: adding 'insert-button' and 'dense' attributes.
  • o-list: adding 'row-height' attribute.
  • o-list: adding list item predefined renderers 'o-list-item-avatar', 'o-list-item-text', 'o-list-item-card', 'o-list-item-card-image' (#25) (9b559a3)
  • o-table: adding 'pagination-controls' attribute (#44) (b69f69a)
  • o-table-column: adding 'width' attribute (#48) (7ee86dd)
  • o-table-cell-renderer-action: adding 'onClick' output (#54) (7fc0ded)
  • o-table-cell-renderer-image: adding 'onClick' output.
  • o-table-cell-renderer-action: adding default width if 'render-type' is 'icon' (#53) (2bedc7e)
  • service components: adding 'service-type' attribute to configurable service components for setting a custom service.
  • o-table-cell-renderer-action: adding 'action-title' attribute (#58) (c9fc19a)
  • input components: adding 'onFocus' and 'onBlur' outputs (#56) (978fdaf).
  • o-table: adding 'selectRowsByData' and 'setSelectAllCheckboxValue' methods.
  • configuration : adding 'startSessionPath' property.
  • o-form : adding 'query-method', 'delete-method', 'update-method' and 'insert-method' attributes.
  • o-table-column : adding 'getRowData' method.
  • o-table : adding 'getRowDataFromColumn' method.

PEER-DEPENDENCY UPDATES

  • Updated: @angular/material@2.0.0-beta.1
  • Updated: @angular@2.4.2
  • Updated: @angular/router@3.4.2
  • Updated: rxjs@5.0.1
  • Updated: zone.js@0.7.4
  • Updated: moment@2.17.1
  • Updated: ng2-translate@5.0.0

BREAKING CHANGES

  • Interfaces: The interface 'IFormComponent' was renamded to 'IComponent'.
  • Components: Several components have changed its constructor.
  • o-selectable-list: Deleted component (use 'selectable' attribute in o-list instead).
  • o-md-selectable-list-item: Deleted directive (use 'selectable' attribute in o-list instead).
  • o-selectable-list-item: Deleted component (use 'selectable' attribute in o-list instead).
  • o-list: 'onReload' method changed (marked as deprecated) for 'reloadData'.
  • o-table: 'onReload' method changed (marked as deprecated) for 'reloadData'.
  • o-table: 'data' attribute changed for 'static-data'.
  • o-table-button: 'click' output changed for 'onClick'.
  • o-table-option: 'click' output changed for 'onClick'.

Bug Fixes

  • o-html-input: Fixing component bugs (#32) (3d2d121)

  • o-table: Fixing options documents generation bugs.

  • o-table-column: Fixing bugs in width attribute (#53) (2bedc7e)

  • o-table: fixing selection bugs (#51) (d617194)

  • o-form: Fixing routing bugs.

1.1.1 (2017-01-11)

Features

  • o-table: adding remote pagination (#22) (6593db8)
  • o-table-option: adding icon position parameter (1c65a80)
  • ontimize.service: adding advancedQuery method.
  • o-list-picker: adding new parameter (static-data) (1d0f2cc)

Bug Fixes

  • minor bugs: Fixing minor bugs in components.

1.1.0 (2016-11-24)

Features

  • angular2: update to official version 2.1.2
  • angular/material: v2.0.0-alpha.10 (#1)
  • container components: New container components: 'o-row' and 'o-column'. (c055f59)
  • o-list: enhancements on 'o-list' component (8fe285a)
  • creating pipes: adding 'o-integer.pipe' and 'o-real.pipe' to 'o-integer-input', 'o-real-input', 'o-currency-input' and 'o-percent-input' (#23) (cc74967)

PEER-DEPENDENCY UPDATES

  • Removed: angular2-material@v2.0.0-alpha.8-2
  • Added: angular/material@v2.0.0-alpha.10

BREAKING CHANGES

  • tabs components: see new definition mode (2.0.0-alpha.10 mithril-hoverboard)
  • o-table: show-header-buttons-text attribute changed to show-table-buttons-text (fc96884)
  • o-table-button: text attribute changed to label (fc96884)
  • o-table-option: text attribute changed to label (fc96884)

Bug Fixes

  • i18n: Fixing core translations. (ecb38ca) (796f613)
  • o-form: Fixing minor bugs. (ecb38ca)
  • disable state: Fixing errors when setting 'disabled' state on input components. (bd04120)
  • o-image: Fixing errors (2c12065)

1.0.2 (2016-11-07)

Bug Fixes

  • i18n: Fixing configuration path for i18n files. (47aaeff)
  • Table: Fixing columns width calculation (f19e19e)
  • Table: Fixing columns visibility options (f19e19e)
  • Table: Fixing columns definition (f19e19e)
  • Table: Fixing form reference bug (f19e19e)

1.0.1 (2016-11-03)

Features

  • o-table-cell-renderer-action: Allowing to set edition type using 'editionMode' (inline or not)
  • Table: Set parent-key values on detail form (#9) (7967481)
  • Table: Material style (#4)
  • Table: Customizing options: rows height, options, buttons and header visibility.
  • Form: Change styling of form buttons panel (#18) (5ebe4ba)
  • Form: Adding custom buttons to form buttons panel (#19) (6cf8f37)
  • Menu: Implementing 'locale-item' on 'o-side-menu' (#21) (82166a5)

Bug Fixes

  • Table: Configuration parameter for navigate detail mode (#3) (cb9821d)
  • Menu: "o-bar-menu" is not hidden when navigating (#16) (9e38304)
  • Menu: "o-bar-menu" responsive menu icon (#17) (9e38304)
  • Currency-input: allowing negative values (04c53ab)

1.0.0-rc.1 (2016-10-21)

Features

  • Components: it is no longer necessary to set 'data' attribute parameter on form data components, the form will set values automatically.
  • Example:
    • Before: <o-text-input attr="NAME" flex [data]="oForm.getDataValue('NAME')"></o-text-input>
    • After: <o-text-input attr="NAME" flex ></o-text-input>
  • Components: new parameter 'automatic-binding' for specifying custom data value on form data components.
  • Example: <o-text-input attr="NAME" flex automatic-binding="yes" [data]="myCustomFn()" ></o-text-input>

Bug Fixes

  • Form: refresh does not work from all tabs (#10) (811e642)
  • HTMLInput: component is editable in a detial form (#11) (65bdcb8)
  • Combo: selected value is lost when move between tabs (#13) (b6b7151)
  • Styling: validation errors styling fixings (#14) (fe1e144)
  • BarMenu: tooltip translation (#15) (1f5dea6)

1.0.0-rc.0 (2016-09-30)

Features

  • angular2: update to official version 2.0.0
  • angular2 router: update to 3.0.0-rc.2.
  • angular2 forms: update to 2.0.0.
  • angular2-material: update to v2.0.0-alpha.8-2.
  • services: services of data components now must implement IDataService interface. (see Breaking changes)
  • services: services configuration parameters (SERVICE_CONF) now is easier to configure.

PEER-DEPENDENCY UPDATES

  • Updated: zone.js@0.6.23
  • Updated: rxjs@5.0.0-beta.12
  • Updated: systemjs@0.19.38
  • Updated: ng2-translate@2.5.0
  • Removed: es6-module-loader@0.17.11
  • Removed: es6-promise@3.2.1
  • Removed: es6-shim@0.35.1
  • Added: core-js@2.4.1

BREAKING CHANGES

  • configuration application configuration parameters (app.config) perform camelCase standard.
  • services IDataService interface change the 'entity' argument position in CRUD methods (query, insert, delete, update). Now it is not always necessary to pass 'entity' argument, simply configure it once in service.
  • Example:
    • Before: query('ECustomers', filter, columns)
    • After: query(filter, columns, 'ECustomers')

0.0.4 (2016-08-24)

Features

  • angular2: update to release candidate 5.
  • angular2 router: update to 3.0.0-rc.1.
  • angular2 forms: update to 0.3.0.
  • angular2-material: update to v2.0.0-alpha.7-3.

0.0.3 (2016-08-02)

Features

  • angular2: update to release candidate 4.
  • angular2 router: update to 3.0.0-beta.2.
  • angular2-material: update to v2.0.0-alpha.6.

0.0.2 (2016-04-08)

Features

  • angular2: update to beta 13 (adapt code to version changes).

0.0.1 (2016-04-06)

Features

  • build: first commit