ontimize-web-ngx 15.0.0-beta.1 → 15.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/esm2020/lib/components/app-sidenav/o-app-sidenav.component.mjs +2 -2
  2. package/esm2020/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.mjs +13 -15
  3. package/esm2020/lib/components/card-menu-item/o-card-menu-item.component.mjs +6 -8
  4. package/esm2020/lib/components/dual-list-selector/o-dual-list-selector.component.mjs +3 -3
  5. package/esm2020/lib/components/form/navigation/o-form.navigation.class.mjs +2 -2
  6. package/esm2020/lib/components/form-container/o-form-container.component.mjs +6 -8
  7. package/esm2020/lib/components/grid/o-grid.component.mjs +5 -5
  8. package/esm2020/lib/components/index.mjs +2 -3
  9. package/esm2020/lib/components/input/combo/o-combo.component.mjs +2 -2
  10. package/esm2020/lib/components/input/phone-input/o-phone-input.component.mjs +3 -3
  11. package/esm2020/lib/components/input/search-input/o-search-input.component.mjs +2 -2
  12. package/esm2020/lib/components/list/list-item/o-list-item.component.mjs +2 -2
  13. package/esm2020/lib/components/list/o-list.component.mjs +5 -14
  14. package/esm2020/lib/components/list/renderers/card/o-list-item-card.component.mjs +3 -3
  15. package/esm2020/lib/components/list/renderers/card-image/o-list-item-card-image.component.mjs +3 -3
  16. package/esm2020/lib/components/o-service-base-component.class.mjs +1 -1
  17. package/esm2020/lib/components/o-service-component.class.mjs +2 -1
  18. package/esm2020/lib/components/table/column/calculated/o-table-column-calculated.component.mjs +6 -7
  19. package/esm2020/lib/components/table/column/o-table-column.component.mjs +123 -129
  20. package/esm2020/lib/components/table/extensions/default-o-table.datasource.mjs +46 -9
  21. package/esm2020/lib/components/table/extensions/dialog/apply-configuration/o-table-apply-configuration-dialog.component.mjs +3 -3
  22. package/esm2020/lib/components/table/extensions/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component.mjs +3 -3
  23. package/esm2020/lib/components/table/extensions/dialog/store-configuration/o-table-store-configuration-dialog.component.mjs +3 -3
  24. package/esm2020/lib/components/table/extensions/dialog/visible-columns/o-table-visible-columns-dialog.component.mjs +3 -3
  25. package/esm2020/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.mjs +6 -7
  26. package/esm2020/lib/components/table/extensions/header/table-quickfilter/o-table-quickfilter.component.mjs +4 -4
  27. package/esm2020/lib/components/table/o-table.component.mjs +17 -18
  28. package/esm2020/lib/components/user-info/index.mjs +5 -0
  29. package/esm2020/lib/components/user-info/o-user-info.module.mjs +3 -3
  30. package/esm2020/lib/interfaces/o-table-column.interface.mjs +1 -1
  31. package/esm2020/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.mjs +20 -22
  32. package/esm2020/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.mjs +7 -3
  33. package/esm2020/lib/layouts/form-layout/o-form-layout-manager.component.mjs +10 -4
  34. package/esm2020/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.mjs +8 -9
  35. package/esm2020/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.mjs +8 -10
  36. package/esm2020/lib/services/o-error-dialog-manager.service.mjs +8 -4
  37. package/esm2020/lib/services/translate/o-translate.service.mjs +3 -2
  38. package/esm2020/lib/shared/components/filter/load-filter/o-load-filter-dialog.component.mjs +3 -3
  39. package/esm2020/lib/util/util.mjs +5 -1
  40. package/fesm2015/ontimize-web-ngx.mjs +297 -272
  41. package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
  42. package/fesm2020/ontimize-web-ngx.mjs +297 -272
  43. package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
  44. package/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.d.ts +1 -3
  45. package/lib/components/card-menu-item/o-card-menu-item.component.d.ts +2 -3
  46. package/lib/components/form-container/o-form-container.component.d.ts +1 -3
  47. package/lib/components/index.d.ts +1 -2
  48. package/lib/components/list/o-list.component.d.ts +1 -3
  49. package/lib/components/table/column/calculated/o-table-column-calculated.component.d.ts +2 -3
  50. package/lib/components/table/column/o-table-column.component.d.ts +3 -4
  51. package/lib/components/table/extensions/default-o-table.datasource.d.ts +1 -0
  52. package/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.d.ts +2 -3
  53. package/lib/components/table/o-table.component.d.ts +5 -6
  54. package/lib/components/user-info/index.d.ts +4 -0
  55. package/lib/components/user-info/o-user-info.module.d.ts +1 -1
  56. package/lib/interfaces/o-table-column.interface.d.ts +2 -2
  57. package/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.d.ts +4 -4
  58. package/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.d.ts +3 -1
  59. package/lib/layouts/form-layout/o-form-layout-manager.component.d.ts +2 -1
  60. package/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.d.ts +2 -3
  61. package/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.d.ts +2 -3
  62. package/lib/services/o-error-dialog-manager.service.d.ts +2 -2
  63. package/lib/services/translate/o-translate.service.d.ts +1 -0
  64. package/lib/util/util.d.ts +1 -0
  65. package/ontimize.scss +2 -72
  66. package/package.json +1 -1
  67. package/theme.scss +84 -99
  68. package/theming/addons/report-on-demand.scss +5 -1
  69. package/theming/ontimize-style-v8.scss +23 -1
  70. package/theming/ontimize-style.scss +2 -1
  71. package/theming/styles/density.scss +37 -23
  72. package/theming/styles/ontimize-v8/o-form-field-style.scss +23 -15
  73. package/theming/styles/ontimize-v8/o-table-style.scss +1 -1
  74. package/theming/styles/ontimize-v8/variables.scss +4 -1
  75. package/theming/themes/ontimize-blue.scss +6 -3
@@ -1,11 +1,10 @@
1
- import { AfterViewInit, ComponentFactoryResolver, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
2
2
  import { MatButtonToggleChange, MatButtonToggleGroup } from '@angular/material/button-toggle';
3
3
  import { OButtonToggleComponent } from '../o-button-toggle.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const DEFAULT_INPUTS_O_BUTTON_TOGGLE_GROUP: string[];
6
6
  export declare const DEFAULT_OUTPUTS_O_BUTTON_TOGGLE_GROUP: string[];
7
7
  export declare class OButtonToggleGroupComponent implements AfterViewInit, OnInit {
8
- protected resolver: ComponentFactoryResolver;
9
8
  DEFAULT_INPUTS_O_BUTTON_TOGGLE_GROUP: string[];
10
9
  DEFAULT_OUTPUTS_O_BUTTON_TOGGLE_GROUP: string[];
11
10
  protected oattr: string;
@@ -20,7 +19,6 @@ export declare class OButtonToggleGroupComponent implements AfterViewInit, OnIni
20
19
  protected _innerButtonToggleGroup: MatButtonToggleGroup;
21
20
  protected _viewContainerRef: ViewContainerRef;
22
21
  protected _children: QueryList<OButtonToggleComponent>;
23
- constructor(resolver: ComponentFactoryResolver);
24
22
  ngOnInit(): void;
25
23
  ngAfterViewInit(): void;
26
24
  protected buildChildren(): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { Subscription } from 'rxjs';
4
4
  import { OTranslateService } from '../../services/translate/o-translate.service';
@@ -9,7 +9,6 @@ export declare class OCardMenuItemComponent implements AfterViewInit, OnDestroy
9
9
  protected injector: Injector;
10
10
  protected router: Router;
11
11
  protected actRoute: ActivatedRoute;
12
- protected resolver: ComponentFactoryResolver;
13
12
  protected cd: ChangeDetectorRef;
14
13
  protected elRef: ElementRef;
15
14
  title: string;
@@ -31,7 +30,7 @@ export declare class OCardMenuItemComponent implements AfterViewInit, OnDestroy
31
30
  protected translateServiceSubscription: Subscription;
32
31
  secondaryContent: QueryList<any>;
33
32
  protected _showSecondaryContainer: boolean;
34
- constructor(injector: Injector, router: Router, actRoute: ActivatedRoute, resolver: ComponentFactoryResolver, cd: ChangeDetectorRef, elRef: ElementRef);
33
+ constructor(injector: Injector, router: Router, actRoute: ActivatedRoute, cd: ChangeDetectorRef, elRef: ElementRef);
35
34
  ngAfterViewInit(): void;
36
35
  ngOnDestroy(): void;
37
36
  useImage(): boolean;
@@ -1,17 +1,15 @@
1
- import { AfterViewInit, ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ViewContainerRef } from '@angular/core';
2
2
  import { OFormBase } from '../form/o-form-base.class';
3
3
  import { OFormLayoutManagerBase } from '../../layouts/form-layout/o-form-layout-manager-base.class';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const DEFAULT_INPUTS_O_FORM_CONTAINER: string[];
6
6
  export declare class OFormContainerComponent implements AfterViewInit {
7
- private resolver;
8
7
  breadContainer: ViewContainerRef;
9
8
  breadcrumb: boolean;
10
9
  breadcrumbLabelColumns: string;
11
10
  breadcrumbSeparator: string;
12
11
  protected form: OFormBase;
13
12
  protected formMananger: OFormLayoutManagerBase;
14
- constructor(resolver: ComponentFactoryResolver);
15
13
  ngAfterViewInit(): void;
16
14
  setForm(form: OFormBase): void;
17
15
  createBreadcrumb(container: ViewContainerRef): void;
@@ -36,8 +36,7 @@ export * from './o-service-base-component.class';
36
36
  export * from './o-service-component.class';
37
37
  export * from './o-value-change-event.class';
38
38
  export * from './table/index';
39
- export * from './user-info/o-user-info.component';
40
- export * from './user-info/o-user-info.module';
39
+ export * from './user-info/index';
41
40
  export * from './dual-list-selector/index';
42
41
  export * from './o-data-toolbar/index';
43
42
  export * from './expandable-container/o-expandable-container.component';
@@ -20,7 +20,6 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
20
20
  listItemDirectives: QueryList<OListItemDirective>;
21
21
  refreshButton: boolean;
22
22
  selectable: boolean;
23
- odense: boolean;
24
23
  deleteButton: boolean;
25
24
  insertButtonFloatable: boolean;
26
25
  showButtonsText: boolean;
@@ -52,7 +51,6 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
52
51
  getComponentKey(): string;
53
52
  initialize(): void;
54
53
  reinitialize(options: OListInitializationOptions): void;
55
- getDense(): boolean;
56
54
  onListItemClicked(onNext: (item: OListItemDirective) => void): object;
57
55
  onItemDetailClick(item: OListItemDirective | ListItem): void;
58
56
  onItemDetailDoubleClick(item: OListItemDirective | ListItem): void;
@@ -75,5 +73,5 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
75
73
  updateSelectedItems(): void;
76
74
  getSqlTypes(): any;
77
75
  static ɵfac: i0.ɵɵFactoryDeclaration<OListComponent, [null, null, { optional: true; }]>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<OListComponent, "o-list", never, { "quickFilterColumns": "quick-filter-columns"; "refreshButton": "refresh-button"; "route": "route"; "selectable": "selectable"; "odense": "dense"; "deleteButton": "delete-button"; "sortColumns": "sort-columns"; "insertButtonPosition": "insert-button-position"; "insertButtonFloatable": "insert-button-floatable"; "showButtonsText": "show-buttons-text"; "keysSqlTypes": "keys-sql-types"; }, { "onInsertButtonClick": "onInsertButtonClick"; "onItemDeleted": "onItemDeleted"; }, ["listItemDirectives"], ["[o-list-toolbar][position=start]", "[o-list-toolbar][position=end]", "[o-list-toolbar]", "*"], false, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<OListComponent, "o-list", never, { "quickFilterColumns": "quick-filter-columns"; "refreshButton": "refresh-button"; "route": "route"; "selectable": "selectable"; "deleteButton": "delete-button"; "sortColumns": "sort-columns"; "insertButtonPosition": "insert-button-position"; "insertButtonFloatable": "insert-button-floatable"; "showButtonsText": "show-buttons-text"; "keysSqlTypes": "keys-sql-types"; }, { "onInsertButtonClick": "onInsertButtonClick"; "onItemDeleted": "onItemDeleted"; }, ["listItemDirectives"], ["[o-list-toolbar][position=start]", "[o-list-toolbar][position=end]", "[o-list-toolbar]", "*"], false, never>;
79
77
  }
@@ -1,4 +1,4 @@
1
- import { ComponentFactoryResolver, Injector } from '@angular/core';
1
+ import { Injector } from '@angular/core';
2
2
  import { OTableColumnCalculated } from '../../../../interfaces/o-table-column-calculated.interface';
3
3
  import { OperatorFunction } from '../../../../types/operation-function.type';
4
4
  import { OTableComponent } from '../../o-table.component';
@@ -7,11 +7,10 @@ import * as i0 from "@angular/core";
7
7
  export declare const DEFAULT_INPUTS_O_TABLE_COLUMN_CALCULATED: string[];
8
8
  export declare class OTableColumnCalculatedComponent extends OTableColumnComponent implements OTableColumnCalculated {
9
9
  table: OTableComponent;
10
- protected resolver: ComponentFactoryResolver;
11
10
  protected injector: Injector;
12
11
  operation: string;
13
12
  functionOperation: OperatorFunction;
14
- constructor(table: OTableComponent, resolver: ComponentFactoryResolver, injector: Injector);
13
+ constructor(table: OTableComponent, injector: Injector);
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<OTableColumnCalculatedComponent, never>;
16
15
  static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnCalculatedComponent, "o-table-column-calculated", never, { "operation": "operation"; "functionOperation": "operation-function"; }, {}, never, never, false, never>;
17
16
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ComponentFactoryResolver, EventEmitter, Injector, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, EventEmitter, Injector, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
3
3
  import { OTableColumn } from '../../../interfaces/o-table-column.interface';
4
4
  import { OPercentageValueBaseType } from '../../../pipes/o-percentage.pipe';
@@ -12,7 +12,6 @@ export declare const DEFAULT_INPUTS_O_TABLE_COLUMN: string[];
12
12
  export declare const DEFAULT_OUTPUTS_O_TABLE_COLUMN: string[];
13
13
  export declare class OTableColumnComponent implements OTableColumn, OnDestroy, OnInit, AfterViewInit {
14
14
  table: OTableComponent;
15
- protected resolver: ComponentFactoryResolver;
16
15
  protected injector: Injector;
17
16
  renderer: any;
18
17
  editor: any;
@@ -104,7 +103,7 @@ export declare class OTableColumnComponent implements OTableColumn, OnDestroy, O
104
103
  asyncLoad: boolean;
105
104
  container: ViewContainerRef;
106
105
  private subscriptions;
107
- constructor(table: OTableComponent, resolver: ComponentFactoryResolver, injector: Injector);
106
+ constructor(table: OTableComponent, injector: Injector);
108
107
  static addEditor(type: string, editorClassReference: any): void;
109
108
  ngOnInit(): void;
110
109
  ngAfterViewInit(): void;
@@ -112,7 +111,7 @@ export declare class OTableColumnComponent implements OTableColumn, OnDestroy, O
112
111
  parseTitleAlign(): string;
113
112
  get originalWidth(): string;
114
113
  protected createRenderer(): void;
115
- buildCellEditor(type: string, resolver: ComponentFactoryResolver, container: ViewContainerRef, propsOrigin: any, registerInColumn?: boolean): any;
114
+ buildCellEditor(type: string, container: ViewContainerRef, propsOrigin: any, registerInColumn?: boolean): any;
116
115
  protected createEditor(): void;
117
116
  registerRenderer(renderer: any): void;
118
117
  registerEditor(editor: any): void;
@@ -63,6 +63,7 @@ export declare class DefaultOTableDataSource extends DataSource<any> implements
63
63
  get sqlTypes(): any;
64
64
  protected getData(): any[];
65
65
  getRenderedData(data: any[]): any[];
66
+ getDataToSort(data: any[]): any[];
66
67
  protected getAllData(usingRendererers?: boolean, onlyVisibleColumns?: boolean): {}[];
67
68
  private getRenderersData;
68
69
  getColumnData(ocolumn: string): {}[];
@@ -1,4 +1,4 @@
1
- import { ComponentFactoryResolver, EventEmitter, Injector, OnInit } from '@angular/core';
1
+ import { EventEmitter, Injector, OnInit } from '@angular/core';
2
2
  import { UntypedFormControl, ValidatorFn } from '@angular/forms';
3
3
  import { SnackBarService } from '../../../../../services/snackbar.service';
4
4
  import { OTranslateService } from '../../../../../services/translate/o-translate.service';
@@ -10,7 +10,6 @@ export declare const DEFAULT_OUTPUTS_O_TABLE_INSERTABLE_ROW: string[];
10
10
  export declare class OTableInsertableRowComponent implements OnInit {
11
11
  protected injector: Injector;
12
12
  protected table: OTableComponent;
13
- protected resolver: ComponentFactoryResolver;
14
13
  static AVAILABLE_ROW_POSITIONS: string[];
15
14
  static DEFAULT_ROW_POSITION: string;
16
15
  protected columns: string;
@@ -28,7 +27,7 @@ export declare class OTableInsertableRowComponent implements OnInit {
28
27
  protected controls: any;
29
28
  translateService: OTranslateService;
30
29
  snackBarService: SnackBarService;
31
- constructor(injector: Injector, table: OTableComponent, resolver: ComponentFactoryResolver);
30
+ constructor(injector: Injector, table: OTableComponent);
32
31
  ngOnInit(): void;
33
32
  isFirstRow(): boolean;
34
33
  isColumnInsertable(column: OColumn): boolean;
@@ -1,13 +1,13 @@
1
1
  import { SelectionModel } from '@angular/cdk/collections';
2
- import { DomPortalOutlet } from '@angular/cdk/portal';
3
2
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
4
- import { AfterContentInit, AfterViewInit, ApplicationRef, ComponentFactoryResolver, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, QueryList, SimpleChange, TemplateRef, ViewContainerRef } from '@angular/core';
3
+ import { AfterContentInit, AfterViewInit, ApplicationRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, QueryList, SimpleChange, TemplateRef, ViewContainerRef } from '@angular/core';
5
4
  import { MatCheckboxChange } from '@angular/material/checkbox';
6
5
  import { MatDialog } from '@angular/material/dialog';
7
6
  import { MatMenu } from '@angular/material/menu';
8
7
  import { PageEvent } from '@angular/material/paginator';
9
8
  import { MatTab, MatTabGroup } from '@angular/material/tabs';
10
9
  import { Observable, Subscription } from 'rxjs';
10
+ import { DomPortalOutlet } from '@angular/cdk/portal';
11
11
  import type { OTableButton } from '../../interfaces/o-table-button.interface';
12
12
  import type { OTableButtons } from '../../interfaces/o-table-buttons.interface';
13
13
  import type { OTableColumnsGrouping } from '../../interfaces/o-table-columns-grouping-interface';
@@ -60,7 +60,6 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
60
60
  protected dialog: MatDialog;
61
61
  private _viewContainerRef;
62
62
  private appRef;
63
- private _componentFactoryResolver;
64
63
  readonly scrollStrategy: OTableVirtualScrollStrategy;
65
64
  static DEFAULT_BASE_SIZE_SPINNER: number;
66
65
  static FIRST_LAST_CELL_PADDING: number;
@@ -216,7 +215,7 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
216
215
  oTableColumnsGroupingComponent: OTableColumnsGrouping;
217
216
  contextMenuContentChild: OTableContextMenuComponent;
218
217
  protected triggerSelectionEvents: boolean;
219
- constructor(injector: Injector, elRef: ElementRef, dialog: MatDialog, _viewContainerRef: ViewContainerRef, appRef: ApplicationRef, _componentFactoryResolver: ComponentFactoryResolver, form: OFormComponent, scrollStrategy: OTableVirtualScrollStrategy);
218
+ constructor(injector: Injector, elRef: ElementRef, dialog: MatDialog, _viewContainerRef: ViewContainerRef, appRef: ApplicationRef, form: OFormComponent, scrollStrategy: OTableVirtualScrollStrategy);
220
219
  private getGlobalConfig;
221
220
  get state(): OTableComponentStateClass;
222
221
  ngOnInit(): void;
@@ -426,7 +425,7 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
426
425
  reinitializeSortColumns(sortColumns?: SQLOrder[]): void;
427
426
  protected refreshSortHeaders(): void;
428
427
  getQuickFilterValue(): string;
429
- protected queryCellRenderers(): Observable<any>;
428
+ queryCellRenderers(): Observable<any>;
430
429
  tableQuickFilterChanged(value: string): void;
431
430
  filterData(value?: string, loadMore?: boolean): void;
432
431
  setOTableColumnsGrouping(value: OTableColumnsGrouping): void;
@@ -441,7 +440,7 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
441
440
  resetColumnsWidth(): void;
442
441
  updateColumnsDOMWidth(): void;
443
442
  isDisableCheckbox(item: any): boolean;
444
- static ɵfac: i0.ɵɵFactoryDeclaration<OTableComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
443
+ static ɵfac: i0.ɵɵFactoryDeclaration<OTableComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
445
444
  static ɵcmp: i0.ɵɵComponentDeclaration<OTableComponent, "o-table", never, { "visibleColumns": "visible-columns"; "defaultVisibleColumns": "default-visible-columns"; "sortColumns": "sort-columns"; "quickFilterCallback": "quick-filter-function"; "deleteButton": "delete-button"; "refreshButton": "refresh-button"; "columnsVisibilityButton": "columns-visibility-button"; "exportButton": "export-button"; "showConfigurationOption": "show-configuration-option"; "showButtonsText": "show-buttons-text"; "selectAllCheckbox": "select-all-checkbox"; "paginationControls": "pagination-controls"; "fixedHeader": "fixed-header"; "showTitle": "show-title"; "editionMode": "edition-mode"; "selectionMode": "selection-mode"; "horizontalScroll": "horizontal-scroll"; "showPaginatorFirstLastButtons": "show-paginator-first-last-buttons"; "autoAlignTitles": "auto-align-titles"; "multipleSort": "multiple-sort"; "selectAllCheckboxVisible": "select-all-checkbox-visible"; "orderable": "orderable"; "resizable": "resizable"; "keepSelectedItems": "keep-selected-items"; "exportMode": "export-mode"; "exportServiceType": "export-service-type"; "autoAdjust": "auto-adjust"; "showFilterOption": "show-filter-option"; "visibleExportDialogButtons": "visible-export-dialog-buttons"; "rowClass": "row-class"; "filterColumnActiveByDefault": "filter-column-active-by-default"; "groupedColumns": "grouped-columns"; "groupable": "groupable"; "expandGroupsSameLevel": "expand-groups-same-level"; "collapseGroupedColumns": "collapse-grouped-columns"; "virtualScroll": "virtual-scroll"; "contextMenu": "context-menu"; "showExpandableIconFunction": "show-expandable-icon-function"; "showReportOnDemandOption": "show-report-on-demand-option"; "showChartsOnDemandOption": "show-charts-on-demand-option"; "showResetWidthOption": "show-reset-width-option"; "disableSelectionFunction": "disable-selection-function"; }, { "onRowSelected": "onRowSelected"; "onRowDeselected": "onRowDeselected"; "onRowDeleted": "onRowDeleted"; }, ["tableRowExpandable", "quickfilterContentChild", "tableColumnSelectAllContentChild", "contextMenuContentChild", "tableOptions", "tableButtons"], ["o-table-button", "[o-table-toolbar][position=start]", "[o-table-toolbar][position=end]", "[o-table-toolbar]", "o-table-quickfilter", "o-table-option", "o-table-export-button"], false, never>;
446
445
  }
447
446
  export {};
@@ -0,0 +1,4 @@
1
+ export * from './o-user-info.component';
2
+ export * from './user-info-configuration/o-user-info-configuration.directive';
3
+ export * from './user-info-configuration-item/o-user-info-configuration-item.directive';
4
+ export * from './o-user-info.module';
@@ -7,6 +7,6 @@ import * as i5 from "../../shared/shared.module";
7
7
  import * as i6 from "@angular/router";
8
8
  export declare class OUserInfoModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<OUserInfoModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<OUserInfoModule, [typeof i1.OUserInfoComponent, typeof i2.OUserInfoConfigurationDirective, typeof i3.OUserInfoConfigurationItemDirective], [typeof i4.CommonModule, typeof i5.OSharedModule, typeof i6.RouterModule], [typeof i1.OUserInfoComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OUserInfoModule, [typeof i1.OUserInfoComponent, typeof i2.OUserInfoConfigurationDirective, typeof i3.OUserInfoConfigurationItemDirective], [typeof i4.CommonModule, typeof i5.OSharedModule, typeof i6.RouterModule], [typeof i1.OUserInfoComponent, typeof i2.OUserInfoConfigurationDirective, typeof i3.OUserInfoConfigurationItemDirective]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<OUserInfoModule>;
12
12
  }
@@ -1,4 +1,4 @@
1
- import { ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
1
+ import { ViewContainerRef } from '@angular/core';
2
2
  import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
3
3
  import { OTableComponent } from '../components/table/o-table.component';
4
4
  import { Expression } from '../types/expression.type';
@@ -32,7 +32,7 @@ export interface OTableColumn {
32
32
  tooltipFunction: (rowData: any) => any;
33
33
  filterExpressionFunction: (columnAttr: string, quickFilter?: string) => Expression;
34
34
  getSQLType: () => number;
35
- buildCellEditor: (type: string, resolver: ComponentFactoryResolver, container: ViewContainerRef, propsOrigin: any, registerInColumn?: boolean) => any;
35
+ buildCellEditor: (type: string, container: ViewContainerRef, propsOrigin: any, registerInColumn?: boolean) => any;
36
36
  registerEditor: (editor: any) => void;
37
37
  registerRenderer: (editor: any) => void;
38
38
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ComponentFactory, ComponentFactoryResolver, Injector } from '@angular/core';
1
+ import { AfterViewInit, Injector } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ILayoutManagerComponent } from '../../../interfaces/layout-manager-component.interface';
4
4
  import { OFormLayoutManagerMode } from '../../../interfaces/o-form-layout-manager-mode.interface';
@@ -9,7 +9,6 @@ import * as i0 from "@angular/core";
9
9
  export declare class OFormLayoutDialogComponent implements OFormLayoutManagerMode, AfterViewInit {
10
10
  dialogRef: MatDialogRef<OFormLayoutDialogComponent>;
11
11
  protected injector: Injector;
12
- protected componentFactoryResolver: ComponentFactoryResolver;
13
12
  formLayoutManager: OFormLayoutManagerBase;
14
13
  queryParams: any;
15
14
  params: object;
@@ -17,10 +16,11 @@ export declare class OFormLayoutDialogComponent implements OFormLayoutManagerMod
17
16
  label: string;
18
17
  title: string;
19
18
  data: any;
20
- protected componentFactory: ComponentFactory<any>;
19
+ dialogTitleSeparator: string;
20
+ protected component: any;
21
21
  protected dialogService: DialogService;
22
22
  contentDirective: OFormLayoutManagerContentDirective;
23
- constructor(dialogRef: MatDialogRef<OFormLayoutDialogComponent>, injector: Injector, componentFactoryResolver: ComponentFactoryResolver, data: any);
23
+ constructor(dialogRef: MatDialogRef<OFormLayoutDialogComponent>, injector: Injector, data: any);
24
24
  ngAfterViewInit(): void;
25
25
  updateNavigation(data: any): void;
26
26
  updateActiveData(data: any): void;
@@ -21,6 +21,7 @@ export declare class OFormLayoutDialogOptionsDirective {
21
21
  title: string;
22
22
  labelColumns: string;
23
23
  separator: string;
24
+ dialogTitleSeparator: any;
24
25
  getOptions(): {
25
26
  width: string;
26
27
  minWidth: string | number;
@@ -36,7 +37,8 @@ export declare class OFormLayoutDialogOptionsDirective {
36
37
  title: string;
37
38
  labelColumns: string;
38
39
  separator: string;
40
+ dialogTitleSeparator: any;
39
41
  };
40
42
  static ɵfac: i0.ɵɵFactoryDeclaration<OFormLayoutDialogOptionsDirective, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<OFormLayoutDialogOptionsDirective, "o-form-layout-dialog-options, o-form-layout-manager[mode=\"dialog\"]", never, { "width": "width"; "minWidth": "min-width"; "maxWidth": "max-width"; "height": "height"; "minHeight": "min-height"; "maxHeight": "max-height"; "class": "class"; "position": "position"; "backdropClass": "backdrop-class"; "closeOnNavigation": "close-on-navigation"; "disableClose": "disable-close"; "title": "title"; "labelColumns": "label-columns"; "separator": "separator"; }, {}, never, never, false, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OFormLayoutDialogOptionsDirective, "o-form-layout-dialog-options, o-form-layout-manager[mode=\"dialog\"]", never, { "width": "width"; "minWidth": "min-width"; "maxWidth": "max-width"; "height": "height"; "minHeight": "min-height"; "maxHeight": "max-height"; "class": "class"; "position": "position"; "backdropClass": "backdrop-class"; "closeOnNavigation": "close-on-navigation"; "disableClose": "disable-close"; "title": "title"; "labelColumns": "label-columns"; "separator": "separator"; "dialogTitleSeparator": "dialog-title-separator"; }, {}, never, never, false, never>;
42
44
  }
@@ -46,6 +46,7 @@ export declare class OFormLayoutManagerComponent implements AfterViewInit, OnIni
46
46
  dialogMinHeight: string;
47
47
  dialogMaxHeight: string;
48
48
  dialogClass: string;
49
+ dialogTitleSeparator: string;
49
50
  oTabGroup: OFormLayoutManagerMode;
50
51
  dialogRef: MatDialogRef<OFormLayoutDialogComponent>;
51
52
  oSplitPane: OFormLayoutManagerMode;
@@ -121,5 +122,5 @@ export declare class OFormLayoutManagerComponent implements AfterViewInit, OnIni
121
122
  hasToConfirmExit(data: FormLayoutDetailComponentData, options?: FormLayoutCloseDetailOptions): boolean;
122
123
  getIdOfActiveItem(): string;
123
124
  static ɵfac: i0.ɵɵFactoryDeclaration<OFormLayoutManagerComponent, [null, null, null, null, null, { optional: true; skipSelf: true; }]>;
124
- static ɵcmp: i0.ɵɵComponentDeclaration<OFormLayoutManagerComponent, "o-form-layout-manager", never, { "oattr": "attr"; "mode": "mode"; "storeState": "store-state"; "title": "title"; "labelColumns": "label-columns"; "separator": "separator"; "titleDataOrigin": "title-data-origin"; "dialogWidth": "dialog-width"; "dialogMinWidth": "dialog-min-width"; "dialogMaxWidth": "dialog-max-width"; "dialogHeight": "dialog-height"; "dialogMinHeight": "dialog-min-height"; "dialogMaxHeight dialog-max-height": "dialogMaxHeight dialog-max-height"; "dialogClass": "dialog-class"; }, { "onMainTabSelected": "onMainTabSelected"; "onSelectedTabChange": "onSelectedTabChange"; "onCloseTab": "onCloseTab"; }, never, ["*", "*", "*", "*"], false, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<OFormLayoutManagerComponent, "o-form-layout-manager", never, { "oattr": "attr"; "mode": "mode"; "storeState": "store-state"; "title": "title"; "labelColumns": "label-columns"; "separator": "separator"; "titleDataOrigin": "title-data-origin"; "dialogWidth": "dialog-width"; "dialogMinWidth": "dialog-min-width"; "dialogMaxWidth": "dialog-max-width"; "dialogHeight": "dialog-height"; "dialogMinHeight": "dialog-min-height"; "dialogMaxHeight dialog-max-height": "dialogMaxHeight dialog-max-height"; "dialogClass": "dialog-class"; "dialogTitleSeparator": "dialog-title-separator"; }, { "onMainTabSelected": "onMainTabSelected"; "onSelectedTabChange": "onSelectedTabChange"; "onCloseTab": "onCloseTab"; }, never, ["*", "*", "*", "*"], false, never>;
125
126
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ComponentFactoryResolver, ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { ResizeEvent } from 'angular-resizable-element';
4
4
  import { BehaviorSubject, Observable } from 'rxjs';
@@ -15,7 +15,6 @@ export declare const DEFAULT_OUTPUTS_O_FORM_LAYOUT_SPLIT_PANE: any[];
15
15
  export declare class OFormLayoutSplitPaneComponent implements OnInit, AfterViewInit, OFormLayoutManagerMode {
16
16
  protected injector: Injector;
17
17
  protected elementRef: ElementRef;
18
- protected componentFactoryResolver: ComponentFactoryResolver;
19
18
  renderer: Renderer2;
20
19
  formLayoutManager: OFormLayoutManagerBase;
21
20
  data: FormLayoutDetailComponentData;
@@ -27,7 +26,7 @@ export declare class OFormLayoutSplitPaneComponent implements OnInit, AfterViewI
27
26
  protected _options: any;
28
27
  set options(value: any);
29
28
  protected dialogService: DialogService;
30
- constructor(injector: Injector, elementRef: ElementRef, componentFactoryResolver: ComponentFactoryResolver, renderer: Renderer2, formLayoutManager: OFormLayoutManagerBase);
29
+ constructor(injector: Injector, elementRef: ElementRef, renderer: Renderer2, formLayoutManager: OFormLayoutManagerBase);
31
30
  get state(): OFormLayoutManagerComponentStateClass;
32
31
  ngOnInit(): void;
33
32
  ngAfterViewInit(): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ComponentFactoryResolver, ElementRef, EventEmitter, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, Injector, OnDestroy, QueryList, ViewContainerRef } from '@angular/core';
2
2
  import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
3
3
  import { Router } from '@angular/router';
4
4
  import { BehaviorSubject, Subject, Subscription } from 'rxjs';
@@ -14,7 +14,6 @@ export declare const DEFAULT_INPUTS_O_FORM_LAYOUT_TABGROUP: string[];
14
14
  export declare const DEFAULT_OUTPUTS_O_FORM_LAYOUT_TABGROUP: string[];
15
15
  export declare class OFormLayoutTabGroupComponent implements OFormLayoutManagerMode, AfterViewInit, OnDestroy {
16
16
  protected injector: Injector;
17
- protected componentFactoryResolver: ComponentFactoryResolver;
18
17
  protected location: ViewContainerRef;
19
18
  protected elementRef: ElementRef;
20
19
  formLayoutManager: OFormLayoutManagerBase;
@@ -34,7 +33,7 @@ export declare class OFormLayoutTabGroupComponent implements OFormLayoutManagerM
34
33
  protected previousSelectedIndex: number;
35
34
  updateTabComponentsState: Subject<any>;
36
35
  tabsModificationsCache: any[];
37
- constructor(injector: Injector, componentFactoryResolver: ComponentFactoryResolver, location: ViewContainerRef, elementRef: ElementRef, formLayoutManager: OFormLayoutManagerBase);
36
+ constructor(injector: Injector, location: ViewContainerRef, elementRef: ElementRef, formLayoutManager: OFormLayoutManagerBase);
38
37
  get state(): OFormLayoutManagerComponentStateClass;
39
38
  ngAfterViewInit(): void;
40
39
  ngOnDestroy(): void;
@@ -3,10 +3,10 @@ import type { ODialogConfig } from '../shared';
3
3
  import { ODialogInternalComponent } from '../shared/components/dialog/o-dialog-internal.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class OErrorDialogManager {
6
- protected errorDialogSubscription: Promise<boolean>;
7
6
  protected ng2Dialog: MatDialog;
7
+ protected errorDialogSubscription: Promise<boolean>;
8
8
  dialogRef: MatDialogRef<ODialogInternalComponent>;
9
- constructor();
9
+ constructor(ng2Dialog: MatDialog);
10
10
  protected restart(): void;
11
11
  openErrorDialog(err?: any): Promise<boolean>;
12
12
  protected openDialog(observer: any): void;
@@ -19,6 +19,7 @@ export declare class OTranslateService {
19
19
  protected notFoundLang: Array<string>;
20
20
  protected appConfig: AppConfig;
21
21
  protected existingLangFiles: Array<string>;
22
+ protected defaultLocale: string;
22
23
  constructor(injector: Injector);
23
24
  storeLanguage(language: string): void;
24
25
  getStoredLanguage(): string;
@@ -33,6 +33,7 @@ export declare class Util {
33
33
  static extractPixelsValue(value: any, defaultValue?: number): number;
34
34
  static parseOInputsOptions(elRef: any, oInputsOptions: any): void;
35
35
  static escapeSpecialCharacter(S: string): string;
36
+ static isArrayEqual(array1: Array<any>, array2: Array<any>): boolean;
36
37
  static differenceArrays(array1: Array<any>, array2: Array<any>): Array<any>;
37
38
  static convertToODateValueType(val: any): ODateValueType;
38
39
  static uniqueBy(a: Array<any>, key: any): any[];
package/ontimize.scss CHANGED
@@ -874,67 +874,6 @@ $mat-stroked-button-line-height: $mat-button-line-height - 2;
874
874
  }
875
875
  }
876
876
 
877
- .mat-mdc-list-base {
878
-
879
- &[dense] {
880
- .mat-mdc-list-item {
881
- min-height: 30px;
882
- height: auto;
883
- display: flex;
884
- padding: 0 8px;
885
-
886
- .mdc-list-item__content,
887
- .mat-mdc-list-item-meta {
888
- width: 100%;
889
- align-self: center;
890
-
891
- .mat-mdc-list-item-icon {
892
- margin-top: 0;
893
- padding: 4px;
894
- }
895
-
896
- .mdc-list-item__first-text,
897
- .mdc-list-item__secondary-text {
898
- &::before {
899
- display: flex;
900
- }
901
- }
902
-
903
- .mdc-list-item__secondary-text {
904
- padding: 0 8px;
905
-
906
- &::before {
907
- height: auto;
908
- }
909
- }
910
-
911
- }
912
- }
913
-
914
- }
915
-
916
- &.mat-mdc-selection-list[dense] {
917
- overflow: auto;
918
- outline: none;
919
- padding-top: 0;
920
- min-height: 40px;
921
-
922
- .mat-mdc-list-item {
923
- margin: 6px 0;
924
- border-radius: 4px;
925
- cursor: default;
926
-
927
-
928
- .mdc-list-item__start {
929
- margin-top: 0;
930
- }
931
- }
932
-
933
- p {
934
- white-space: normal;
935
- }
936
- }
937
- }
938
877
  }
939
878
 
940
879
  .mat-mdc-dialog-actions {
@@ -1013,7 +952,7 @@ button.mat-mdc-button-base {
1013
952
  height: $mat-button-line-height;
1014
953
  }
1015
954
 
1016
- >.mat-icon{
955
+ >.mat-icon {
1017
956
  line-height: 1;
1018
957
  }
1019
958
  }
@@ -1036,15 +975,6 @@ button.mat-mdc-button-base {
1036
975
  }
1037
976
  }
1038
977
 
1039
- .o-table-apply-configuration-dialog-list.mat-mdc-selection-list.mat-mdc-list-base[dense],
1040
- .o-table-load-filter-dialog-list.mat-mdc-list-base[dense] {
1041
-
1042
- .o-table-apply-configuration-dialog-list-title,
1043
- .o-table-load-filter-dialog-list-title {
1044
- font-weight: bold;
1045
-
1046
- }
1047
- }
1048
978
 
1049
979
 
1050
980
 
@@ -1059,4 +989,4 @@ button.mat-mdc-button-base {
1059
989
 
1060
990
  .overlay-ref-display-none .cdk-overlay-pane.o-context-menu {
1061
991
  display: none;
1062
- }
992
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ontimize-web-ngx",
3
3
  "homepage": "https://github.com/OntimizeWeb/ontimize-web-ngx#readme",
4
- "version": "15.0.0-beta.1",
4
+ "version": "15.0.0-beta.3",
5
5
  "description": "Ontimize Web framework using Angular 15",
6
6
  "bugs": "https://github.com/OntimizeWeb/ontimize-web-ngx/issues",
7
7
  "author": "Imatia S.L.",