Note
In this version, the features and bugfixes of version 8.14.14 were integrated
- o-combo: Fixed error that prevented the selected values from being properly cleaned (a2ab9d7) Closes #1584
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
- o-card-menu-layout:
- o-table: Fixed bug with exportation in non-pageable tables (9d02537) Closes #1264
- o-hour-input: Fixed bug in dark mode (a0231a9) Closes #1577
- o-daterange-input: Fixed bug with day names rotating (a994a26) Closes #1538
- o-form: Initialized
header-actions
to all (d08a6e6) Closes #1548
- 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
- o-table: added new input
non-hidable-columns
to prevent a visible column from being hidden(50119a6) Closes #1515
- o-table: Fixed an error being displayed in the console due to a circular structure in JSON (24b6059) Closes #1518
- Exported
o-skeleton
,o-table-skeleton
,o-list-skeleton
ando-grid-skeleton
components for reuse(794d7cf) Closes #1499
- o-table: Fixed problem into tables working with static-data that the skeleton was always shown and never dissapears (b5825f2) Closes #1503
- o-daterange-input: Fixed that the background of daterange picker is the same as that of the cards(18b3955) Closes #1492
- 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
- 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
- Translated literals
Filter by
andCopy 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
Note
In this version, the bugfixes of version 8.14.7 were integrated
- 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
- o-form: Fixed confirmation message being displayed after inserting a record in the o-form (ecc3faf) Closes #595
- 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
- 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
- Added new literals in the bundle (9160190)
- 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
- 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
Note
In this version the bugfixes of version 8.14.4 were integrated.
- Create class CurrencyUtil to lookup the currency symbol for a given currency code.(a4d6d86)
- 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
-
Firefox:
-
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
- 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
- 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
ando-user-info-configuration-item
directive (dc6820f) Closes #1307 - o-table:
- 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
- o-table: Fixed that the message that there are no results was not displayed when searching.(6935d5c) Closes #1319
- 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
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
- 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.
- Renamed
ontimize-web-ngx/theming/themes/ontimize.scss
toontimize-web-ngx/theming/themes/ontimize-blue.scss
with old style. - Renamed
ontimize-web-ngx/theming/themes/implatform-fashion-default-theme.scss
toontimize-web-ngx/theming/themes/fashion.scss
- Mixins
fashion-mat-light-theme
andfashion-mat-dark-theme
:- has been renamed to
o-mat-light-theme
ando-mat-dark-theme
. - has been moved to
ontimize-web-ngx/theming/ontimize-styles.scss
.
- has been renamed to
- Mixin
o-material-theme
has been included in `ontimize-styles.scss`` - Mixins
o-mat-light-theme
ando-mat-dark-theme
has been moved toontimize-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);
- o-table: Fixed a bug that prevented exporting tables with action type columns (4392770) Closes #1283
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.
-
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) ] })
- Before
-
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';
- Before
-
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/.
- You must replace node-sass with sass, which is the Dart version of sass.
-
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
andlayout
have been removed.
- o-table: Modified the visibility of the method
getColumnFilter
(3dc21ec) - o-form-data-component: New
async-validators
andvalidators-errors
inputs (c716336) Closes #1266 - o-validator: New
async-validator-function
input (c716336) Closes #1266 - o-table-column: New
async-validators
andvalidators-errors
inputs (a806286) Closes #1270
- 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
- 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
-
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
- To align table header texts to the center, you can use the new
- Add JDBC UUID support (98583d2) Closes #1201
- o-table: new directive
o-table-column-select-all
(1375a64) Closes #1209
- 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)
- o-form-toolbar: Fixed custom buttons having the same style as generic form action buttons. (108e1fc) Closes #1196
- o-form-data-component: Fixed ontimize inputs remain disabled if initialized with
enable=false
even after enable is set to true (618444a) Closes #1188
- New scrollbar style (e0348e1) Closes #1155
o-text-input
: newo-mat-prefix
ando-mat-suffix
directive to add prefix and suffix (3972dc1) (7f9d973) Closes #1141
- Stroked buttons
- 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
- 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 whethero-list
,o-table
oro-grid
enabledshow-buttons-text
input or not (533c45b)
- 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
- 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:
- 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)
- 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
- Now the definition abstract class
AbstractOServiceComponent
isAbstractOServiceComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>>
- Now class
OServiceComponent
extendsAbstractOServiceComponent<DefaultServiceComponentStateService>
OGridComponentStateClass, OListComponentStateClass, OTableComponentStateClass
extendsDefaultServiceComponentStateClass
- Renamed the components
OTableLoadFilterDialogComponent, OStoreFilterDialogComponent
toOLoadFilterDialogComponent, OTableStoreFilterDialogComponent
and moved toOShareModule
- o-form-layout-tabgroup: Fixed not opening the detail tab if you had previously opened a new tab again (0e75eb8) Closes #1115
- o-button-toggle: Fixed
o-button-toggle
labels insideo-button-toggle-group
not being translated (13c131e) Closes #1073 - o-filter-builder: Fixed
oFilterBuilderClear
directive not clearing the value of theo-combo
multiple (b97410c)Closes #1081 - o-list,o-grid: Fixed
o-list
oro-grid
quick filter styles not displaying correctly settingquick-filter-appearance
(2727b84) Closes #1038 - o-table: Fixed in table when changing
visible-columns
and the columns would disappear (596060d)(d3d4464)(abf353c) Closes #1084
- 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
andSave/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 defaulto-form
CRUD operations success/error messages (a490775e) Closes #954. User can define this provider in the same way as in theservice-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 parameter
exportConfiguration
inapp.config.ts
, export configuration object required only with only for Ontimize Boot version 3.9.0 or above (442512c)
- 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 withfilter-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 insteadngIf
for having theO_MAT_ERROR_OPTIONS
features available in the Angular Materialmat-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
- Due to the fix of the issue #1015, to set the
service-type
attribute on the component, the provider defined in the module cannot setuseFactory
, instead useuseValue
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 extendOntimizeExportService
but now extendsOntimizeExportService
orOntimizeExportService3X
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 oneconfig
parameter and theexportData
has only one parameterformat
in theIExportService
interface since exportData is available through the provider defined with injection tokenO_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 totitle
and therefore removed CSS classtable-title
ando-list-title
- The css selectors related to the mat-toolbar will stop working in
-
Application configuration file
app.config,ts
The default value ofserviceType
has been changed toOntimizeEE
and the default value ofpermissionsServiceType
has been changed toOntimizeEEPermissions
(25cc5c8) Closes #967
- JWT token refresh has been implemented to be compatible with Ontimize Boot (280a422) Closes #1041
- o-table: New
O_TABLE_GLOBAL_CONFIG
InjectionToken (73e9be8)
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 } },
...
],
...
})
- o-table: Fixed the error that when you change the page all the data was shown (dad503c) Closes #1019
- New component
o-phone-input
Closes#840
- 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
- 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
ando-table-cell-editor-time
(869a914) Closes#949 - o-table: Fixing
onClick
andonDoubleClick
bugs inAbstractOServiceBaseComponent
(378b8d7) Closes#958 - AbstractOServiceBaseComponent: Fixing
enabled
input bug (061bef9c) Closes #959
- OFormDataComponent: New attribute
select-all-on-click
(4ea3a1c) (e264a54) Closes #969 - O_INPUTS_OPTIONS: New attribute
selectAllOnClick
in O_INPUTS_OPTIONS InjectionToken (42d0ed2)
- o-form, o-form-toolbar, o-form-layout-tabgroup: solving multiple confirmation dialog bug (825c09e0) Closes #966
- 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
ando-grid
component (4cdb80c) Closes #861 - o-table: new CSS class
o-table-editing-cell
,o-table-editing-row
ando-table-cell-editor
(ab2ca6e) (e179c63) Closes #936 Closes #940
- 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 attributeconfirm-exit="no"
(482fb60)(1d236a0)(e6c18ba) Closes #595 - o-filter-build:
- 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 eventOnValueChanged
instead ofonChange
since with the onChange event unwanted queries were launched (b779d94)
- o-button:
- o-grid, o-list: new attribute
show-buttons-text
(c1d2336) - o-form: Added the CSS class
fill-form
(8d0461d)
- o-app-header: fixed bug that the menu icon disappeared in mobile mode (55648e3) Closes #899
- o-grid: Fixed that displays 'show more' button when the data length is 0 (e35422b)
- UX modifications
- 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
- 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
- o-table: protecting code (00db7717) Closes #892
- o-date-input: fixing
min
andmax
inputs bug (a0b6d55c) Closes #891
- 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
- o-form: navigation problem inside a
o-form-layout-manager
in tab mode whenafter-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
- o-table: Fixed error of not maintained column order changes after the application is reloaded (30c1b332) Closes #860
- o-button: Fixed the problem that prevents button click event propagation when it was disabled (dbb97ec) Closes #863
- o-form-layout-manager: Fixed the problem that shows a dialog after insert new data (2ea7a448) Closes #859
- o-list: o-list selected items bug fixed (7c453f39) (41721730) (c5297fa7) (5403eff7) (ddc43a3d) (6c43b934) (5e3dc3eb) Closes #851
- 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
- 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
- o-time: fix bug when click the clear button the field shows today's date and time (c843876) Closes #806
- o-table: emit event
onDataLoaded
when load static data Closes ([9a7ac9a](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/ 9a7ac9a)) (163387c) #717 - o-grid, o-list: fixed bug that the o-grid does not filter when there is a previous value with static data (0a676bc) Closes #819
- o-table: fixing selection model bug when removing rows (2b33ff14) #697
- o-form-layout-manager: fixing navigation bugs (b87df174) #823
- o-table:
- 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
- Util: adding new
wrapIntoObservable
method (1c7523c2) - OFormLayoutManager: new
hasToConfirmExit
method (7c4dc447) - o-table:
-
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 ino-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
- 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 protectedsuscribeToCacheChanges
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-form-layout-manager, OFormLayoutManagerMode:
- o-table:
- Bundle prefix for
o-table-columns-grouping-column
default title prefix has changed from 'AGGREGATE_FUNCTION' to 'AGGREGATE_TITLE' (a94d7b6a)
- Bundle prefix for
We are implementing different modifications in OntimizeWeb in order to improve the design of the framework. Closes #623
- o-table:
- 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)
- 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
- New
- 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
- o-table:
- 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
- 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 totrue
(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
ando-app-sidenav-menu-group-level-5
- h3 tag has been remove in
- o-app-sidenav-menu-group: CSS class
active
has been removed (4b28033)
- Default value of attribute
- o-table:
- o-listpicker: CSS class
title-container
has been replaced bymat-dialog-title
(a6fe1e3) - o-button: Types
BASIC
,RAISED
,STROKED
andFLAT
now have CSS propertiesheight
set to32px
andmin-width
set to112px
(2668232) - All dialog buttons now have
min-width
CSS property set to104px
(aeeacd4)
- o-form: new attribute
ignore-on-exit
, ignores form fields changes when closing a form. (695) Closes #663 - o-time-input: new
value-type
andvalue-format
inputs (b7b4d24) Closes #693
- 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
-
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
- 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
-
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
- o-table-columns-grouping: new
-
-
OTableDataSource: adding new optional parameter (indicating the columns attr to clean filters) to the
clearColumnFilters
method (#628) (c413ece).
- o-table:
- o-table:
fixed-header
valueno
has been replaced byyes
(aa53bd8)
- o-search-input: new
options
optional argument insetValue
method (01a12ba - o-grid: new
pageSizeChanged
andsortColumnChanged
methods (#643) (01a12ba) - AbstractOServiceComponent: (#640) (01a12ba)
- New
filterData
andsetData
common methods defintions (used ino-list
ando-grid
, overrided ino-table
) - New
getQuickFilterDataFromArray
,getSortedDataFromArray
,getPaginationDataFromArray
andparseResponseArray
methods onDataLoaded
andonPaginatedDataLoaded
common outputs variables definition (removed fromo-list
,o-grid
ando-table
)
- New
- o-table: New attribute for o-table default-visible-columns to set the initial visible columns (9891e29) Closes #647
- 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:
- 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 andqueryAllData
method (#630) (0866de1) - o-table-quickfilter: new
placeholder
input (#635) (f79fab4) - OServiceComponent: new
quick-filter-placeholder
input (#635) (f79fab4)
-
The authentication has been refactored:
- Service
LoginService
has been removed and replaced byAuthService
. This is an abstract service that provides basic functionality regarding authentication. Its default implementation isOntimizeAuthService
class that performs authentication with Ontimize based backends. Developers can provide their own implementation using the Injection TokenO_AUTH_SERVICE
and the class of their service that extendsAuthService
class. - Interface
ILoginService
has been removed, use abstract classAuthService
instead. - Method
sessionExpired
from oldLoginService
has been renamed toclearSessionData
inAuthService
. - Method
redirectLogin
has been removed in classOntimizeBaseService
and all its subclasses (OntimizeService
,OntimizeEEService
,OntimizeExportService
andOntimizeFileService
), use methodlogout
fromAuthService
instead. - Method
redirectLogin
has been removed in classServiceUtils
, now it is a method of Ontimize authentication implementation inOntimizeAuthService
.
- Service
-
o-service-component.class:
- Method
initializeState
no longer exists. This change will only affect to extended components which have overrided or extended this method.
- Method
-
o-form-layout-manager:
- Methods
getFormCacheData
,setModifiedState
andcloseDetail
no longer has theid
argument. - Method
updateNavigation
changed theid
argument for thekeyValues
(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
anddialog-class
. User should use the option inputs.
- Methods
-
OFormLayoutDialogOptionsComponent, OFormLayoutTabGroupOptionsComponent:
- This components no longer exists. Both components have been refactored into two directives:
OFormLayoutDialogOptionsDirective
andOFormLayoutTabGroupOptionsDirective
. - 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 wayo-form-layout-dialog-options
oro-form-layout-tabgroup-options
were used before) or including the mode inputs in theo-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>
- This components no longer exists. Both components have been refactored into two directives:
-
The service components hierarchy has been changed, now using abstract classes.
- New
OServiceBaseComponent
hierarchy:- New
AbstractOServiceBaseComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>>
. - New
DefaultOServiceBaseComponent
default implementation ofAbstractOServiceBaseComponent
using theDefaultComponentStateService
. OServiceBaseComponent
keeps existing to have backwards compatibility, its equals to theDefaultOServiceBaseComponent
.
- New
- New
OServiceComponent
hierarchy:- New
AbstractOServiceComponent<T extends AbstractComponentStateService<AbstractComponentStateClass>>
extendingAbstractOServiceBaseComponent<T>
. OServiceComponent
keeps existing to have backwards compatibility, its a default implementation ofAbstractOServiceComponent
using theDefaultComponentStateService
.
- New
- If you have a component extending
OServiceBaseComponent
orOServiceComponent
it should keep working as usual. - If you have a component extending a
o-table
,o-list
oro-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] } ... ]
- New
- o-image: New attribute
max-file-size
. (d8a84c0) Closes #589 - o-table: adding new optional
clearSelectedItems
(defaults to true) argument toreloadPaginatedDataFromStart
andreloadData
methods (1aa26ec)
- 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
- oLocker: Default
oLockerMode
is set to 'load' (40089da) - o-list-picker:
- o-table:
- The following changes should not affect the user unless it was specifically using the following properties (1aa26ec)
showFilterByColumnIcon
andoriginalFilterColumnActiveByDefault
properties no longer exists.- new
isColumnFiltersActive
property. - deleting arguments from
onFilterByColumnChange
EventEmitter (retrieve same value using dataSource.getColumnValueFilters())
-
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)
- o-form: new output
onCancel
b1711d7e)
- 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)
- 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
, includetranslate
attribute ino-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)
- 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)
- 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:
- o-date-range: new attribute
mode
(52fb863) Closes #481 - o-percent-input: new attribute
value-base
(44becb6) Closes (#513)
- 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)
- table:
- table: fixing bug in filtering by column (88ac4bf)
-
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
:- 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
andsetData
(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).
- new public methods
-
button:
- table:
onClick
event returnonClickTableEvent
type (1da21eb)
- o-checkbox : fixing bug in sql-type value was always overwritted by VARCHAR (b9f6cbb)
- o-form-navigation:
- o-form: setting layoutAling= 'start stretch' instead of 'start start'(008c78c)
- o-table: fixing bug in horizontal scroll (eef29b4)
- o-date-input: new attribute
date-class
(039da18)
- 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)
- o-app-layout: the menu icon appears in sidenav when mode="desktop" and show-header="yes". (#364) Closes #316
- angular8: adapt code to Angular 8.
- 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
.
- interface IFormValueOptions has been replaced by type
- o-table:
NAME_COLUMN_SELECT
,SUFFIX_COLUMN_INSERTABLE
,LIMIT_SCROLLVIRTUAL
andDEFAULT_COLUMN_MIN_WIDTH
static variables no longer exists. Now they are located inCodes
utility class.- editors and renderers:
- 'initialize' method added always called in base class ngOnInit method
usePlainRender
,useCellRenderer
,useCellEditor
anduseDetailButton
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
andUNDO_LAST_CHANGE_ACTION
static variables not longer exists, now they are defined in theCodes
static class.
- o-table:
- 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.
- Attributes
- 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)
- o-table:
- o-table:
- OBaseTableCellRenderer: new
filter-source
andfilter-function
inputs (inherited by all cell renderers) (f5296660) - o-table-column: new
filter-expression-function
input (f5296660)
- 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
- 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
valueall
has been replaced bylocal
- 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
-
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 fromo-list
ando-table
) - new
quick-filter
input (removed fromo-grid
,o-table
ando-list
) - new
showCaseSensitiveCheckbox
,getComponentFilter
andregisterQuickFilter
methods
- new
-
o-list:
-
o-table:
-
o-list-picker: show or hidde clear button (bb3b6eb)
-
ODialogComponent: allow to show html text (783427c)
- 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:
- 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
- FilterExpressionUtils: added operator
IN
and methodbuildExpressionIn
(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)
- o-list-picker: new
dialog-class
input (321fd4b) - o-table: new cell render
o-table-cell-renderer-time
and cell editoro-table-cell-editor-time
([399cdbc](https://github.com/OntimizeWeb/ontimize-web-ngx/ - o-form: new
confirm-exit
input (01d0d29) - IFormValueOptions: adding new
emitModelToViewValueChange
property (4d11cd8)
- 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
andonCloseTab
outputs (29f73a0)
- 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)
- o-hour-input: method
getValueAsTimeStamp
has been removed, the methodgetValue
returns the input value in the format indicated by the attributevalue-type
- 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
- Note:
- o-context-menu: remove overlay when context menu is removed (a2bf383)
- o-form:
- OContainerCollapsibleComponent:
- new
collapsed-height
andexpanded-height
input (6dbbd95)
- new
- o-list-picker: new
onDialogAccept
andonDialogCancel
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
andlabel-visible
inputs (d39db97) - o-time-input: new
hour-placeholder
anddate-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
andlabel-visible
inputs (d39db97) (a7d0e8d) (5fb5509) - o-time-input: new
hour-placeholder
anddate-placeholder
inputs (48d3b9c)
- 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
- 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-columns
andfilter-case-sensitive
inputs (b8bf534) - o-search-input: new
appearance
,columns
,filter-case-sensitive
,show-case-sensitive-checkbox
andshow-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)
- o-button:
- Type
FLOATING
has been renamed toFAB
.
- Type
- 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:
- o-grid-item: New
colspan
androwspan
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)
- o-table-cell-renderer-currency, o-table-cell-renderer-real, o-table-cell-renderer-percentage: Attribute
decimal-digits
has been removed. Use the new attributesmin-decimal-digits
andmax-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 too-image-content
. - Internal CSS class
input-image
has been renamed too-image-form-field
, - Internal CSS class
image-container
has been renamed too-image-display-container
. - Internal CSS class
auto-fit-image
has been renamed too-image-auto-fit
, - Internal CSS class
input-image-container
has been removed.
- Internal CSS class
- Components styles: there are some minor changes in components styles.
- New components
o-button-toggle
ando-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
- New component
- o-table-context-menu: includes the next options:
view detail
,edit
,insert
,copy options
andselect 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
andrender-false-value
inputs (a8cca0d) - o-table-cell-editor-boolean: new
auto-commit
input (627aed3) - o-table:
- o-table-column:
- 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:
- New container components o-row-collapsible and o-colum-collapsible (b1eb483) (0850ef3)
- o-app-layout: new
beforeOpenSidenav
,afterOpenSidenav
,beforeCloseSidenav
andafterCloseSidenav
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)
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)
- 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
- AppConfig: removing
authGuard
property. - o-table-cell-renderer-boolean:
true-value-type
andfalse-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 too-action-cell-renderer
. - o-row, o-column:
- Attribute
title-label
has been renamed totitle
. - Attribute
layout-fill
has been removed. - Method
hasTitle
has been replaced by methodhasHeader
. - CSS classes
o-container-title-item
andcontainer-title
has been replaced byo-container-title
. - CSS class
o-container-content-item
has been removed. - CSS class
container-content
has been renamed too-container-gap
.
- Attribute
- o-form: Attribute
layout-fill
has been removed.
- o-form: new
getFormComponentPermissions
andgetActionsPermissions
methods - o-table: new attribute
select-all-checkbox-visible
(a553447) - o-date-input: new
value-type
input (8876586)
- PermissionsService: (2d186c9)
- adding new parameter to
getTablePermissions
method - adding
getFormPermissions
method - removing
getFormDataComponentPermissions
,getActionsContextMenuTablePermissions
andgetContainerActionsPermissions
methods - Routes (1cc62a9)
- allowing to define permissions for routes
- new
PermissionsGuardService
CanActivateChild guard
- adding new parameter to
- o-grid: pagination local in grid (916e632), closes #229
- o-table:
- 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)
- New component
o-slide-toggle
(6c6453b) - New components
o-button-toggle
ando-button-toggle-group
(311a2ac) - o-checkbox: new attributes
color
andlabel-position
(7e9e69e) - o-table-option, o-table-button:
- New
attr
andenabled
inputs. - New
elRef
parameter in constructor.
- New
- 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 outputonSetValueOnValueChange
(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
- New component
- o-table-context-menu: includes the next options:
view detail
,edit
,insert
,copy options
andselect 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
andrender-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.
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)
- AppConfig: removing
authGuard
property. - o-table-cell-renderer-boolean:
true-value-type
andfalse-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 too-action-cell-renderer
.
- Angular and Angular Material:
- Updating versions (be5d6d7)
- You can use the official Angular Update Guide
- 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)
-
o-hour-input: adding
min
andmax
inputs. -
o-time-input: adding
hour-min
andhour-max
inputs. -
OFormDataComponent:
-
Adding
placeholder
input. Now you can configurelabel
andplaceholder
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
andlabel-position
(7e9e69e) -
o-table-option, o-table-button:
- New
attr
andenabled
inputs. - New
elRef
parameter in constructor.
- New
-
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 outputonSetValueOnValueChange
(c972d2d)
- OValueChangeEvent: adding
isUserChange
andisProgrammaticChange
methods. - o-table-cell-renderer-percentage: new
value-base
input (d9585f6) (#222)
- o-grid: open correct detail when clicking on grid items on pages different than the first page (b9468a3) closes #220
- o-form:
getDataValue
method is now public again. - AuthGuardServiceFactory: removing factory.
- AuthGuardService:
getPermissions
andisRestricted
methods no longer exists. - IFormDataComponent: adding new properties to interface (d12a606)
setValue
,clearValue
andgetValue
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 toServiceUtils
class (9c2bdd5) - o-table-column: removing
date-model-type
anddate-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 toshow-notification-on-edit
and its default value is now true (ba28709)
- 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
andgetFieldReferences
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
andonDoubleClick
are triggered event whendetail-mode
attribute is set to none (989f92b)
- 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)
- 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 thegetFieldValue
method. - o-service-component.class:
getRouteOfSelectedRow
has only one parameter now, if you are using it you should remove the second parameter.
- 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:
- o-form-service-component.class, o-combo, o-listpicker: new
query-with-null-parent-keys
attribute (7e93930) - o-table cell editors:
- o-table:
- 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 ando-list-item
directive make the list items go to item detail when click on them by default. Use thedetail-mode
attribute to configure this (1cb22d3 ee2eecb 60848fe)
- new outputs added:
- o-list-item-card: new input
show-image
(ed89b6b) - o-app-layout:
- New input
mode
for selecting performance modedesktop
ormobile
(7617175) - New input
sidenav-mode
for selecting the material sidenav mode (c9a787d) - New input
show-language-selector
(c06bc24)
- New input
- 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:
- o-checkbox: new attributes
boolean-type
,true-value
andfalse-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:
- 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:
- o-list: multiple errors fixed:
- o-combo: state bugs fixed (#202) (db1de6f)
- o-form-data-components: components state bugs fixed (#203) (f986d12)
- ServiceUtils: method
getParentItemFromForm
has been removed. UsegetParentKeysFromForm
instead. - OServiceBaseComponent: method
checkQueryReadyParentKeys
has been renamed tofilterContainsAllParentKeys
. - o-list:
- The method
onReload
has been removed as it was deprecated in v1.2.0. - The method
registerSearchInput
has been renamed toregisterQuickFilter
. - The public attribute
searchInputComponent
has been renamed toquickFilterComponent
.
- The method
- o-table:
- The attribute
show-table-buttons-text
has been renamed toshow-buttons-text
. - The output
onTableDataLoaded
has been renamed toonDataLoaded
. - The output
onPaginatedTableDataLoaded
has been renamed toonPaginatedDataLoaded
. - The attribute
break-word
(breakWord) has been removed. Usemultiline
instead. - editors and renderers:
- The method
initialize
which was deprecated in 3.0.0-rc.1 has been removed.
- The method
- The attribute
- o-form: Output
onFormDataLoaded
has been renamed toonDataLoaded
. - 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 too-app-sidenav
. - All internal CSS classes starting with
application-header
has changed too-app-header
. - All internal CSS classes starting with
user-info
has changed too-user-info
.
- All internal CSS classes starting with
- o-list-picker-dialog: Internal CSS classes changes:
- Internal CSS class
dialog-list-container
has been removed, usemat-dialog-content
instead. - Internal CSS class
list-picker-search
has changed too-list-picker-search
. - Internal CSS class
has-filter
has changed too-list-picker-has-filter
.
- Internal CSS class
- o-table: Internal CSS class
hidden-action-text
has been removed. - o-form-toolbar: Internal CSS class
toolbar-form-header
has changed too-form-toolbar-header
.
- o-app-layout: Internal CSS classes changes:
- 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.
- o-list-item: list item directive now can be attached to
mat-list-item
andmat-card
components (e256100). - DialogService: changing 'dialogRef' property visibility to public (#193) (f797b56)
- 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)
- 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
andheight
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)
- 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.
- 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)
- o-table-column:
- new 'addEditor' static method that user 'must' use in new cell editors constructor definitions (f942c20)
- new 'tooltip' input (default="no") for showing the cell value as tooltip (e334539)
- new 'tooltip-value' and 'tooltip-function' inputs (ddfa6a5)
- new 'sql-type' attribute. Indicates the sql type for the data represented in that column (64efcbc)
- new 'min-width' input ([1d0c63d]](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/1d0c63d]))
- o-table-columns-filter: added 'preload-values' attribute (a52b5cd)
- o-table:
- allowing to live edit the quick filter columns (2be977e) (23a73d4) (08447e3)
- new 'horizonta-scroll' input ([1d0c63d]](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/1d0c63d]))
- MenuItem:
- 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:
- 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.
- o-table:
- 'reinitialize' method added (fbf4828), closes #149
- fixing column change order bug (4e23e3a) (#168)
- fixing bug in custom cell editors creation (f942c20) (#167)
- fixing translation bugs (ffef427) (b3de673) (#170)
- empty cell edition bug (e51783d) (#164)
- paginator bug fixed (deleting 'show all' records option) (f448bfa) #179
- storing selection column state () #189
- 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)
- 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. UseclearValue
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. AttributedecimalDigits
is no longer available, use attributesminDecimalDigits
andmaxDecimalDigits
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
- Removed: dragula@^3.7.2
- Removed: ng2-dragula@1.3.1
- Added : ng2-dnd@5.0.2
- 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
- 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)
- o-combo:
mat-select
is now used insidemat-form-field
. This makes all of the existing form-field features available withmat-select
, including hints, errors, prefixes, and suffixes. This also ensures thatmat-select
andmatInput
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
}
};
...
- o-combo: Fixing change event emission (a648c8b) Closes #152
- o-form: Fixing close dialog on ESC key event (f789a64)
- o-list-picker: fixing component bugs (132bc4c)
- o-form: fixing dynamicform registration bugs ([d84fcbd]](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/d84fcbd]))
- 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.
- 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)
- Updated: core-js@2.5.3
- Updated: rxjs@5.5.6
- Updated: zone.js@0.8.20
- o-combo: Fixing styling bugs (98c8b99)
- o-form-navigation: Fixing navigation bugs (835afcf)
- o-table-cell-editor-boolean: Fixing value parsing bug (#154) (8fd96ea)
- o-table: 'pageable' input default value is now 'false' (inherited from 'OServiceComponent') (f0836da)
- OServiceComponent: adding 'insert-form-route' and 'recursive-insert' inputs to manage the insertion routes ([3ed2cb6]](https://github.com/OntimizeWeb/ontimize-web-ngx/commit/3ed2cb6]))
- 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)
-
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)
- 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
-
OFormServiceComponent
-
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)
- 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)
- 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)
- OServiceComponent: changing 'dataService' visibility from protected to public ('o-list' and 'o-table' components extends this class) (5270cde)
-
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-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)
- 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)
NOTE: if you want to add a issue (here) please try to follow our new issue template
ontimize-web-ngx
now depends onng2-dragula
as a dependency.
- 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)
- 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)
- o-combo, o-list-picker: Fixing value ensuring bug (comparing 0 value as undefined) (c6a23f3)
-
o-table: new component o-table, provider new simple table using angular-material table This component allows to sort and filter data. (be6ffcb) (8e8d71b) (055a685) (522a5d1) (2a85f19) (3d3706a) (5f177d5) (66072b6) (89fde1d) (baeefc4)
-
o-file-input: new component. It allows to upload files to a Ontimize-JEE server (#42) (d77b588) (552e4d9) (ee27960) (f666992)
-
o-form: new 'editable-detail' input (default value = 'true'). When this input is true the default 'detail' form mode allows the inner components edition (488f997).
-
o-form: new 'keys-sql-types' input (76f0e88)
-
o-list: new 'delete-button' input (default value = 'true') (#133) (8185483)
- 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).
- 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
- 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
- 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 toimport { 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);
- Module styles:
- 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
- If you dont install 'ontimize-web-ngx-datatable' you must delete the following scripts from 'scripts' property:
- ODataTableModule: you must add the import of 'ODataTableModule' in that modules using the table component (
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 tomd-form-field
MdSidenav
has been split intoMdSidenav
andMdDrawer
. TheMdSidenav
- CSS classes have changed from
mat-sidenav-
tomat-drawer-
- All dash-case
@Directive
selectors are deprecated in favor of the camelCase equivalent.
- Some of the important changes for 'ontimize-web-ng2':
-
@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).
- 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)
- 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:
- OntimizeEE service: logout bug fixed (#124) (c341fc7)
- 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
- o-form: 'Mode' enum is no longer available. Using static 'OFormComponent.Mode()' method instead (#103) (bcfc61d)
- 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.
- 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)
- Updated: @angular/cli@^1.2.1
- OComponent: fixing bugs in 'OComponent' decorator.
- providers: fixing language initialization bugs.
- 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
- 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
- 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).
- OValidators: exporting 'OValidators' class.
- OServiceComponent: adding 'getDataArray' method ('o-list' and 'o-table').
- o-form: adding 'getRequiredComponents' method (#76) (568abf6)
- o-table: bug in table reinitialization (#101) (4b94bf3)
- OFormDataComponent: bug when setting data (#77) (11fb596)
- o-form: bug when setting data (#82) (b2bad20)
- o-table: pagination bugs fixed.
- o-app-header: fixing flags icons bugs.
- 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)
- 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.
- 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.
- 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
- OComponent: Changing 'OComponent' components base class for 'OBaseComponent'.
- OTranslateService: translate service bugs at first app load (#91) (82edcd9) (b79d1fd)
- o-list: listening to 'static-data' changes (#89) (b267c51)
- 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
[...]
],
[...]
})
[...]
- 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)
- 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
- 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.
- o-integer-input: setting value bug (#88) (167af16)
- o-table, o-list: empty collection when error occurs (#93) (4815e6b)
- o-form, o-table, o-list: fixing 'reinitialize' serious bug.
- o-form: Empty form fields value bug fixed. Updating 'getAttributesValuesToUpdate' method.
- 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)
- 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.
- 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)
- 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.
- 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)
- 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.
- 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
- 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'.
-
o-table: Fixing options documents generation bugs.
-
o-table-column: Fixing bugs in width attribute (#53) (2bedc7e)
-
o-form: Fixing routing bugs.
- 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)
- minor bugs: Fixing minor bugs in components.
- 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)
- Removed: angular2-material@v2.0.0-alpha.8-2
- Added: angular/material@v2.0.0-alpha.10
- 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)
- 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)
- 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)
- 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)
- 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)
- 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>
- Before:
- 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>
- 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)
- 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.
- 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
- 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')
- Before:
- 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.
- angular2: update to release candidate 4.
- angular2 router: update to 3.0.0-beta.2.
- angular2-material: update to v2.0.0-alpha.6.
- angular2: update to beta 13 (adapt code to version changes).
- build: first commit