ontimize-web-ngx 15.2.1 → 15.2.2
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.
- package/assets/svg/ontimize-icon-set.svg +0 -1
- package/esm2020/lib/components/form/navigation/o-form.navigation.class.mjs +5 -4
- package/esm2020/lib/components/input/currency-input/o-currency-input.component.mjs +3 -3
- package/esm2020/lib/components/input/integer-input/o-integer-input.component.mjs +6 -6
- package/esm2020/lib/components/input/percent-input/o-percent-input.component.mjs +3 -3
- package/esm2020/lib/components/input/real-input/o-real-input.component.mjs +3 -3
- package/esm2020/lib/components/input/text-input/o-text-input.component.mjs +15 -13
- package/esm2020/lib/components/table/column/cell-editor/integer/o-table-cell-editor-integer.component.mjs +6 -6
- package/esm2020/lib/components/table/column/cell-editor/real/o-table-cell-editor-real.component.mjs +6 -6
- package/esm2020/lib/components/table/column/cell-renderer/cell-renderer.mjs +5 -3
- package/esm2020/lib/components/table/column/o-table-column.component.mjs +2 -2
- package/esm2020/lib/components/table/extensions/dialog/export/o-table-export-dialog.component.mjs +80 -19
- package/esm2020/lib/components/table/extensions/export-button/o-table-export-button.component.mjs +10 -11
- package/esm2020/lib/components/table/extensions/header/table-menu/o-table-export-configuration.class.mjs +1 -1
- package/esm2020/lib/components/table/extensions/header/table-menu/o-table-menu.component.mjs +10 -1
- package/esm2020/lib/components/table/o-table.component.mjs +7 -6
- package/esm2020/lib/config/o-directives.mjs +4 -2
- package/esm2020/lib/directives/index.mjs +2 -1
- package/esm2020/lib/directives/input-regulate.directive.mjs +70 -0
- package/esm2020/lib/i18n/i18n.mjs +21 -3
- package/esm2020/lib/interfaces/export-service.interface.mjs +1 -1
- package/esm2020/lib/services/ontimize/ontimize-export-3xx.service.mjs +7 -5
- package/esm2020/lib/services/ontimize-export-data-provider-3x.service.mjs +6 -3
- package/esm2020/lib/shared/shared.module.mjs +4 -3
- package/esm2020/lib/validators/o-validators.mjs +1 -1
- package/fesm2015/ontimize-web-ngx.mjs +2994 -2833
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +2972 -2811
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/input/text-input/o-text-input.component.d.ts +2 -1
- package/lib/components/table/column/o-table-column.component.d.ts +1 -1
- package/lib/components/table/extensions/dialog/export/o-table-export-dialog.component.d.ts +24 -1
- package/lib/components/table/extensions/dialog/o-table-dialog-components.d.ts +1 -1
- package/lib/components/table/extensions/export-button/o-table-export-button.component.d.ts +2 -2
- package/lib/components/table/extensions/footer/o-table-footer-components.d.ts +1 -1
- package/lib/components/table/extensions/header/o-table-header-components.d.ts +2 -2
- package/lib/components/table/extensions/header/table-menu/o-table-export-configuration.class.d.ts +1 -0
- package/lib/components/table/extensions/header/table-menu/o-table-menu.component.d.ts +1 -0
- package/lib/components/table/o-table.component.d.ts +4 -3
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/input-regulate.directive.d.ts +23 -0
- package/lib/i18n/i18n.d.ts +18 -0
- package/lib/interfaces/export-service.interface.d.ts +1 -1
- package/lib/services/ontimize/ontimize-export-3xx.service.d.ts +1 -1
- package/lib/shared/shared.module.d.ts +15 -14
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class OTextInputComponent extends OFormDataComponent implements O
|
|
|
14
14
|
protected _minLength: number;
|
|
15
15
|
protected _maxLength: number;
|
|
16
16
|
protected upperSubscription: Subscription;
|
|
17
|
+
regulatePattern: string;
|
|
17
18
|
constructor(form: OFormComponent, elRef: ElementRef, injector: Injector);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
ngAfterViewInit(): void;
|
|
@@ -26,5 +27,5 @@ export declare class OTextInputComponent extends OFormDataComponent implements O
|
|
|
26
27
|
get maxLength(): number;
|
|
27
28
|
ngOnDestroy(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTextInputComponent, [{ optional: true; }, null, null]>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTextInputComponent, "o-text-input", never, { "minLength": "min-length"; "maxLength": "max-length"; "stringCase": "string-case"; }, {}, ["_prefixChildren", "_suffixChildren"], ["[oMatPrefix]", "[oMatSuffix]"], false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OTextInputComponent, "o-text-input", never, { "minLength": "min-length"; "maxLength": "max-length"; "stringCase": "string-case"; "regulatePattern": "regulate-pattern"; }, {}, ["_prefixChildren", "_suffixChildren"], ["[oMatPrefix]", "[oMatSuffix]"], false, never>;
|
|
30
31
|
}
|
|
@@ -127,5 +127,5 @@ export declare class OTableColumnComponent implements OTableColumn, OnDestroy, O
|
|
|
127
127
|
set filterSource(val: string);
|
|
128
128
|
get filterSource(): string;
|
|
129
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableColumnComponent, never>;
|
|
130
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnComponent, "o-table-column", never, { "attr": "attr"; "title": "title"; "titleAlign": "title-align"; "contentAlign": "content-align"; "orderable": "orderable"; "searchable": "searchable"; "groupable": "groupable"; "type": "type"; "editable": "editable"; "width": "width"; "minWidth": "min-width"; "maxWidth": "max-width"; "asyncLoad": "async-load"; "sqlType": "sql-type"; "tooltip": "tooltip"; "tooltipValue": "tooltip-value"; "tooltipFunction": "tooltip-function"; "multiline": "multiline"; "resizable": "resizable"; "filterExpressionFunction": "filter-expression-function"; "class": "class"; "angularValidatorsFn": "validators"; "angularValidatorsFnErrors": "validators-errors"; "angularAsyncValidatorsFn": "async-validators"; "trueValue": "true-value"; "falseValue": "false-value"; "booleanType": "boolean-type"; "renderTrueValue": "render-true-value"; "renderFalseValue": "render-false-value"; "renderType": "render-type"; "currencySymbol": "currency-symbol"; "currencySymbolPosition": "currency-symbol-position"; "format": "format"; "imageType": "image-type"; "emptyImage": "empty-image"; "avatar": "avatar"; "icon": "icon"; "svgIcon": "svg-icon"; "action": "action"; "text": "text"; "iconPosition": "icon-position"; "entity": "entity"; "service": "service"; "columns": "columns"; "translate": "translate"; "valueColumn": "value-column"; "valueColumnType": "value-column-type"; "parentKeys": "parent-keys"; "queryMethod": "query-method"; "serviceType": "service-type"; "translateArgsFn": "translate-params"; "orequired": "required"; "showPlaceHolder": "show-placeholder"; "olabel": "label"; "updateRecordOnEdit": "update-record-on-edit"; "showNotificationOnEdit": "show-notification-on-edit"; "enabled": "enabled"; "min": "min"; "max": "max"; "step": "step"; "locale": "locale"; "oStartView": "start-view"; "oTouchUi": "touch-ui"; "startAt": "start-at"; "filterDate": "filter-date"; "dateValueType": "date-value-type"; "oDateFormat": "date-format"; "oDateLocale": "date-locale"; "oDateStartView": "date-start-view"; "oMinDate": "date-min"; "oMaxDate": "date-max"; "oDateTouchUi": "date-touch-ui"; "oDateStartAt": "date-start-at"; "oHourFormat": "hour-format"; "oHourMin": "hour-min"; "oHourMax": "hour-max"; "oHourPlaceholder": "hour-placeholder"; "oDatePlaceholder": "date-placeholder"; }, { "onClick": "onClick"; "onDataLoaded": "onDataLoaded"; "editionStarted": "editionStarted"; "editionCancelled": "editionCancelled"; "editionCommitted": "editionCommitted"; "onPostUpdateRecord": "onPostUpdateRecord"; }, never, never, false, never>;
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnComponent, "o-table-column", never, { "attr": "attr"; "title": "title"; "titleAlign": "title-align"; "contentAlign": "content-align"; "orderable": "orderable"; "searchable": "searchable"; "groupable": "groupable"; "type": "type"; "editable": "editable"; "width": "width"; "minWidth": "min-width"; "maxWidth": "max-width"; "asyncLoad": "async-load"; "sqlType": "sql-type"; "tooltip": "tooltip"; "tooltipValue": "tooltip-value"; "tooltipFunction": "tooltip-function"; "multiline": "multiline"; "resizable": "resizable"; "filterExpressionFunction": "filter-expression-function"; "class": "class"; "angularValidatorsFn": "validators"; "angularValidatorsFnErrors": "validators-errors"; "angularAsyncValidatorsFn": "async-validators"; "trueValue": "true-value"; "falseValue": "false-value"; "booleanType": "boolean-type"; "renderTrueValue": "render-true-value"; "renderFalseValue": "render-false-value"; "renderType": "render-type"; "grouping": "grouping"; "thousandSeparator": "thousand-separator"; "decimalSeparator": "decimal-separator"; "minDecimalDigits": "min-decimal-digits"; "maxDecimalDigits": "max-decimal-digits"; "currencySymbol": "currency-symbol"; "currencySymbolPosition": "currency-symbol-position"; "format": "format"; "imageType": "image-type"; "emptyImage": "empty-image"; "avatar": "avatar"; "icon": "icon"; "svgIcon": "svg-icon"; "action": "action"; "text": "text"; "iconPosition": "icon-position"; "entity": "entity"; "service": "service"; "columns": "columns"; "translate": "translate"; "valueColumn": "value-column"; "valueColumnType": "value-column-type"; "parentKeys": "parent-keys"; "queryMethod": "query-method"; "serviceType": "service-type"; "translateArgsFn": "translate-params"; "orequired": "required"; "showPlaceHolder": "show-placeholder"; "olabel": "label"; "updateRecordOnEdit": "update-record-on-edit"; "showNotificationOnEdit": "show-notification-on-edit"; "enabled": "enabled"; "min": "min"; "max": "max"; "step": "step"; "locale": "locale"; "oStartView": "start-view"; "oTouchUi": "touch-ui"; "startAt": "start-at"; "filterDate": "filter-date"; "dateValueType": "date-value-type"; "oDateFormat": "date-format"; "oDateLocale": "date-locale"; "oDateStartView": "date-start-view"; "oMinDate": "date-min"; "oMaxDate": "date-max"; "oDateTouchUi": "date-touch-ui"; "oDateStartAt": "date-start-at"; "oHourFormat": "hour-format"; "oHourMin": "hour-min"; "oHourMax": "hour-max"; "oHourPlaceholder": "hour-placeholder"; "oDatePlaceholder": "date-placeholder"; }, { "onClick": "onClick"; "onDataLoaded": "onDataLoaded"; "editionStarted": "editionStarted"; "editionCancelled": "editionCancelled"; "editionCommitted": "editionCommitted"; "onPostUpdateRecord": "onPostUpdateRecord"; }, never, never, false, never>;
|
|
131
131
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
3
4
|
import { IExportService } from '../../../../../interfaces/export-service.interface';
|
|
4
5
|
import { SnackBarService } from '../../../../../services/snackbar.service';
|
|
5
6
|
import { OTranslateService } from '../../../../../services/translate/o-translate.service';
|
|
6
7
|
import { OTableExportButtonService } from '../../export-button/o-table-export-button.service';
|
|
7
8
|
import { OTableExportConfiguration } from '../../header/table-menu/o-table-export-configuration.class';
|
|
9
|
+
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class OTableExportDialogComponent implements OnInit, OnDestroy {
|
|
10
12
|
dialogRef: MatDialogRef<OTableExportDialogComponent>;
|
|
@@ -17,14 +19,35 @@ export declare class OTableExportDialogComponent implements OnInit, OnDestroy {
|
|
|
17
19
|
protected visibleButtons: string[];
|
|
18
20
|
private subscription;
|
|
19
21
|
private appConfig;
|
|
22
|
+
columns: string[];
|
|
23
|
+
columnsData: string[];
|
|
24
|
+
orientations: {
|
|
25
|
+
text: string;
|
|
26
|
+
value: boolean;
|
|
27
|
+
}[];
|
|
28
|
+
exportTypes: {
|
|
29
|
+
exportType: string;
|
|
30
|
+
svgIcon: string;
|
|
31
|
+
olabel: string;
|
|
32
|
+
className: string;
|
|
33
|
+
}[];
|
|
34
|
+
vertical: boolean;
|
|
35
|
+
selectedExportFormat: string;
|
|
36
|
+
filename: string;
|
|
37
|
+
isExpanded: boolean;
|
|
20
38
|
constructor(dialogRef: MatDialogRef<OTableExportDialogComponent>, injector: Injector, config: OTableExportConfiguration);
|
|
21
39
|
ngOnInit(): void;
|
|
22
40
|
ngOnDestroy(): void;
|
|
23
41
|
initialize(): void;
|
|
24
42
|
configureService(): void;
|
|
25
|
-
|
|
43
|
+
updateColumnsSort(): void;
|
|
44
|
+
dropColumns(event: CdkDragDrop<string[]>): void;
|
|
45
|
+
columnsCompareFunction(co1: any, co2: any): boolean;
|
|
46
|
+
export(): void;
|
|
26
47
|
isButtonVisible(btn: string): boolean;
|
|
48
|
+
getDefaultSelection(): string;
|
|
27
49
|
protected handleError(err: any): void;
|
|
50
|
+
onChangeMatButtonToggleGroup(event: MatButtonToggleChange): void;
|
|
28
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableExportDialogComponent, never>;
|
|
29
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<OTableExportDialogComponent, "o-table-export-dialog", never, {}, {}, never, never, false, never>;
|
|
30
53
|
}
|
|
@@ -4,4 +4,4 @@ import { OTableFilterByColumnDataDialogComponent } from './filter-by-column/o-ta
|
|
|
4
4
|
import { OTableGroupByColumnsDialogComponent } from './group-by-columns/o-table-group-by-columns-dialog.component';
|
|
5
5
|
import { OTableStoreConfigurationDialogComponent } from './store-configuration/o-table-store-configuration-dialog.component';
|
|
6
6
|
import { OTableVisibleColumnsDialogComponent } from './visible-columns/o-table-visible-columns-dialog.component';
|
|
7
|
-
export declare const O_TABLE_DIALOGS: (typeof
|
|
7
|
+
export declare const O_TABLE_DIALOGS: (typeof OTableApplyConfigurationDialogComponent | typeof OTableExportDialogComponent | typeof OTableFilterByColumnDataDialogComponent | typeof OTableStoreConfigurationDialogComponent | typeof OTableVisibleColumnsDialogComponent | typeof OTableGroupByColumnsDialogComponent)[];
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare const DEFAULT_INPUTS_O_TABLE_EXPORT_BUTTON: string[];
|
|
5
5
|
export declare const DEFAULT_OUTPUTS_O_TABLE_EXPORT_BUTTON: string[];
|
|
6
6
|
export declare class OTableExportButtonComponent {
|
|
7
|
-
private injector;
|
|
7
|
+
private readonly injector;
|
|
8
8
|
icon: string;
|
|
9
9
|
svgIcon: string;
|
|
10
10
|
olabel: string;
|
|
@@ -14,5 +14,5 @@ export declare class OTableExportButtonComponent {
|
|
|
14
14
|
constructor(injector: Injector);
|
|
15
15
|
click(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableExportButtonComponent, never>;
|
|
17
|
-
static
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OTableExportButtonComponent, "o-table-export-button", never, { "icon": "icon"; "svgIcon": "svg-icon"; "olabel": "label"; "exportType": "export-type"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { OTableColumnAggregateComponent } from './aggregate/o-table-column-aggregate.component';
|
|
2
2
|
import { OTablePaginatorComponent } from './paginator/o-table-paginator.component';
|
|
3
|
-
export declare const O_TABLE_FOOTER_COMPONENTS: (typeof
|
|
3
|
+
export declare const O_TABLE_FOOTER_COMPONENTS: (typeof OTablePaginatorComponent | typeof OTableColumnAggregateComponent)[];
|
|
@@ -12,5 +12,5 @@ import { OTableOptionComponent } from './table-option/o-table-option.component';
|
|
|
12
12
|
import { OTableQuickfilterComponent } from './table-quickfilter/o-table-quickfilter.component';
|
|
13
13
|
import { OTableHeaderComponent } from './table-header/o-table-header.component';
|
|
14
14
|
import { OTableColumnSelectAllDirective } from './table-column-select-all/o-table-column-select-all.directive';
|
|
15
|
-
export declare const O_TABLE_HEADER_COMPONENTS: (typeof OTableColumnsFilterColumnComponent | typeof OTableColumnsGroupingColumnComponent | typeof OTableButtonComponent | typeof
|
|
16
|
-
export declare const O_TABLE_HEADER_COMPONENTS_EXPORTED: (typeof OTableColumnsFilterColumnComponent | typeof OTableColumnsGroupingColumnComponent | typeof OTableButtonComponent | typeof
|
|
15
|
+
export declare const O_TABLE_HEADER_COMPONENTS: (typeof OTableColumnsFilterColumnComponent | typeof OTableColumnsGroupingColumnComponent | typeof OTableButtonComponent | typeof OTableButtonsComponent | typeof OTableColumnResizerComponent | typeof OTableColumnsFilterComponent | typeof OTableInsertableRowComponent | typeof OTableOptionComponent | typeof OTableMenuComponent | typeof OTableQuickfilterComponent | typeof OTableHeaderColumnFilterIconComponent | typeof OTableHeaderComponent | typeof OTableColumnsGroupingComponent | typeof OTableColumnSelectAllDirective)[];
|
|
16
|
+
export declare const O_TABLE_HEADER_COMPONENTS_EXPORTED: (typeof OTableColumnsFilterColumnComponent | typeof OTableColumnsGroupingColumnComponent | typeof OTableButtonComponent | typeof OTableButtonsComponent | typeof OTableColumnResizerComponent | typeof OTableColumnsFilterComponent | typeof OTableInsertableRowComponent | typeof OTableOptionComponent | typeof OTableMenuComponent | typeof OTableQuickfilterComponent | typeof OTableHeaderComponent | typeof OTableColumnsGroupingComponent | typeof OTableColumnSelectAllDirective)[];
|
|
@@ -81,6 +81,7 @@ export declare class OTableMenuComponent implements OTableMenu, OnInit, AfterVie
|
|
|
81
81
|
get showAnyOptionSecondSection(): boolean;
|
|
82
82
|
onShowsSelects(): void;
|
|
83
83
|
onExportButtonClicked(): void;
|
|
84
|
+
protected parseColumnsVisible(): any;
|
|
84
85
|
onChangeColumnsVisibilityClicked(): void;
|
|
85
86
|
onGroupByClicked(): void;
|
|
86
87
|
onFilterByColumnClicked(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { DomPortalOutlet } from '@angular/cdk/portal';
|
|
3
3
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
4
|
-
import { AfterContentInit, AfterViewInit, ApplicationRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, QueryList, SimpleChange,
|
|
4
|
+
import { AfterContentInit, AfterViewInit, ApplicationRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, QueryList, SimpleChange, ViewContainerRef } from '@angular/core';
|
|
5
5
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
6
|
import { MatDialog } from '@angular/material/dialog';
|
|
7
7
|
import { MatMenu } from '@angular/material/menu';
|
|
@@ -29,6 +29,7 @@ import { AbstractOServiceComponent } from '../o-service-component.class';
|
|
|
29
29
|
import { OTableColumnCalculatedComponent } from './column/calculated/o-table-column-calculated.component';
|
|
30
30
|
import { OColumn } from './column/o-column.class';
|
|
31
31
|
import { OTableColumnComponent } from './column/o-table-column.component';
|
|
32
|
+
import { OTableExportButtonComponent } from './extensions';
|
|
32
33
|
import { OTableContextMenuComponent } from './extensions/contextmenu/o-table-context-menu.component';
|
|
33
34
|
import { OTableFilterByColumnDataDialogComponent } from './extensions/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component';
|
|
34
35
|
import { OTableColumnSelectAllDirective } from './extensions/header/table-column-select-all/o-table-column-select-all.directive';
|
|
@@ -205,7 +206,7 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
|
|
|
205
206
|
oTableButtons: OTableButtons;
|
|
206
207
|
tableButtons: QueryList<OTableButton>;
|
|
207
208
|
quickfilterContentChild: OTableQuickfilter;
|
|
208
|
-
exportOptsTemplate:
|
|
209
|
+
exportOptsTemplate: QueryList<OTableExportButtonComponent>;
|
|
209
210
|
tableColumnSelectAllContentChild: OTableColumnSelectAllDirective;
|
|
210
211
|
groupedColumnsArray: string[];
|
|
211
212
|
updateScrolledState(): void;
|
|
@@ -447,6 +448,6 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
|
|
|
447
448
|
isDisableCheckbox(item: any): boolean;
|
|
448
449
|
getService(): any;
|
|
449
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
450
|
-
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"; "nonHidableColumns": "non-hidable-columns"; }, { "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"
|
|
451
|
+
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"; "nonHidableColumns": "non-hidable-columns"; }, { "onRowSelected": "onRowSelected"; "onRowDeselected": "onRowDeselected"; "onRowDeleted": "onRowDeleted"; }, ["tableRowExpandable", "quickfilterContentChild", "tableColumnSelectAllContentChild", "contextMenuContentChild", "tableOptions", "tableButtons", "exportOptsTemplate"], ["o-table-button", "[o-table-toolbar][position=start]", "[o-table-toolbar][position=end]", "[o-table-toolbar]", "o-table-quickfilter", "o-table-option"], false, never>;
|
|
451
452
|
}
|
|
452
453
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputRegulateDirective implements ControlValueAccessor, OnInit {
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
private readonly renderer;
|
|
7
|
+
private onChange;
|
|
8
|
+
private onTouched;
|
|
9
|
+
private value;
|
|
10
|
+
oInputRegulatePattern: string;
|
|
11
|
+
regExpattern: RegExp;
|
|
12
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onInputChange(value: string): void;
|
|
15
|
+
onBlur(): void;
|
|
16
|
+
private updateTextInput;
|
|
17
|
+
registerOnChange(fn: any): void;
|
|
18
|
+
registerOnTouched(fn: any): void;
|
|
19
|
+
setDisabledState(isDisabled: boolean): void;
|
|
20
|
+
writeValue(value: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputRegulateDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputRegulateDirective, "[oInputRegulate]", never, { "oInputRegulatePattern": "oInputRegulatePattern"; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
package/lib/i18n/i18n.d.ts
CHANGED
|
@@ -296,6 +296,15 @@ export declare const MAP: {
|
|
|
296
296
|
'TREE.BUTTONS.SELECT': string;
|
|
297
297
|
'REPORT.COLUMN.TRUEVALUE': string;
|
|
298
298
|
'REPORT.COLUMN.FALSEVALUE': string;
|
|
299
|
+
'EXPORT.DIALOG.COLUMNS': string;
|
|
300
|
+
'EXPORT.DIALOG.EXPORT_FORMAT': string;
|
|
301
|
+
'EXPORT.DIALOG.ORIENTATION': string;
|
|
302
|
+
'EXPORT.DIALOG.VERTICAL': string;
|
|
303
|
+
'EXPORT.DIALOG.HORIZONTAL': string;
|
|
304
|
+
'EXPORT.DIALOG.FILE_NAME': string;
|
|
305
|
+
'EXPORT.DIALOG.EXPORT_BUTTON': string;
|
|
306
|
+
'EXPORT.DIALOG.ADVANCED_OPTIONS': string;
|
|
307
|
+
'EXPORT.DIALOG.FILE_NAME.PLACEHOLDER': string;
|
|
299
308
|
};
|
|
300
309
|
es: {
|
|
301
310
|
LANGUAGE: string;
|
|
@@ -585,6 +594,15 @@ export declare const MAP: {
|
|
|
585
594
|
'TREE.BUTTONS.SELECT': string;
|
|
586
595
|
'REPORT.COLUMN.TRUEVALUE': string;
|
|
587
596
|
'REPORT.COLUMN.FALSEVALUE': string;
|
|
597
|
+
'EXPORT.DIALOG.COLUMNS': string;
|
|
598
|
+
'EXPORT.DIALOG.EXPORT_FORMAT': string;
|
|
599
|
+
'EXPORT.DIALOG.ORIENTATION': string;
|
|
600
|
+
'EXPORT.DIALOG.VERTICAL': string;
|
|
601
|
+
'EXPORT.DIALOG.HORIZONTAL': string;
|
|
602
|
+
'EXPORT.DIALOG.FILE_NAME': string;
|
|
603
|
+
'EXPORT.DIALOG.EXPORT_BUTTON': string;
|
|
604
|
+
'EXPORT.DIALOG.ADVANCED_OPTIONS': string;
|
|
605
|
+
'EXPORT.DIALOG.FILE_NAME.PLACEHOLDER': string;
|
|
588
606
|
};
|
|
589
607
|
pt: {
|
|
590
608
|
LANGUAGE: string;
|
|
@@ -2,5 +2,5 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
export interface IExportService {
|
|
3
3
|
getDefaultServiceConfiguration(serviceName?: string): any;
|
|
4
4
|
configureService(config: any): void;
|
|
5
|
-
exportData(format: string): Observable<any>;
|
|
5
|
+
exportData(format: string, columns?: string[], landscape?: boolean, filename?: string): Observable<any>;
|
|
6
6
|
}
|
|
@@ -13,7 +13,7 @@ export declare class OntimizeExportService3X extends OntimizeBaseService impleme
|
|
|
13
13
|
constructor(injector: Injector);
|
|
14
14
|
configureService(config: any): void;
|
|
15
15
|
protected buildHeaders(): HttpHeaders;
|
|
16
|
-
exportData(format: string): Observable<any>;
|
|
16
|
+
exportData(format: string, columns?: string[], landscape?: boolean, filename?: string): Observable<any>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<OntimizeExportService3X, never>;
|
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<OntimizeExportService3X>;
|
|
19
19
|
}
|
|
@@ -17,21 +17,22 @@ import * as i15 from "../directives/o-mat-error.directive";
|
|
|
17
17
|
import * as i16 from "../directives/o-file-drag-and-drop.directive";
|
|
18
18
|
import * as i17 from "../directives/o-mat-prefix.directive";
|
|
19
19
|
import * as i18 from "../directives/o-mat-suffix.directive";
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "./components/
|
|
22
|
-
import * as i21 from "./components/dialog/o-dialog
|
|
23
|
-
import * as i22 from "./components/
|
|
24
|
-
import * as i23 from "./components/validation/o-
|
|
25
|
-
import * as i24 from "./components/
|
|
26
|
-
import * as i25 from "./components/
|
|
27
|
-
import * as i26 from "./components/filter/
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "
|
|
20
|
+
import * as i19 from "../directives/input-regulate.directive";
|
|
21
|
+
import * as i20 from "./components/error403/o-error-403.component";
|
|
22
|
+
import * as i21 from "./components/dialog/o-dialog.component";
|
|
23
|
+
import * as i22 from "./components/dialog/o-dialog-internal.component";
|
|
24
|
+
import * as i23 from "./components/validation/o-error.component";
|
|
25
|
+
import * as i24 from "./components/validation/o-validator.component";
|
|
26
|
+
import * as i25 from "./components/snackbar/o-snackbar.component";
|
|
27
|
+
import * as i26 from "./components/filter/load-filter/o-load-filter-dialog.component";
|
|
28
|
+
import * as i27 from "./components/filter/store-filter/o-store-filter-dialog.component";
|
|
29
|
+
import * as i28 from "@angular/common";
|
|
30
|
+
import * as i29 from "../pipes/o-translate.pipe";
|
|
31
|
+
import * as i30 from "@angular/flex-layout";
|
|
32
|
+
import * as i31 from "./material/custom.material.module";
|
|
33
|
+
import * as i32 from "@angular/forms";
|
|
33
34
|
export declare class OSharedModule {
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<OSharedModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OSharedModule, [typeof i1.ColumnsFilterPipe, typeof i2.OrderByPipe, typeof i3.OIntegerPipe, typeof i4.ORealPipe, typeof i5.OMomentPipe, typeof i6.OCurrencyPipe, typeof i7.OPercentPipe, typeof i8.OIconPipe, typeof i9.OSafePipe, typeof i10.OKeyboardListenerDirective, typeof i11.OListItemDirective, typeof i12.OTabGroupDirective, typeof i13.OLockerDirective, typeof i14.OHiddenDirective, typeof i15.OMatErrorDirective, typeof i16.OFileDragAndDropDirective, typeof i17.OMatPrefix, typeof i18.OMatSuffix, typeof i19.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OSharedModule, [typeof i1.ColumnsFilterPipe, typeof i2.OrderByPipe, typeof i3.OIntegerPipe, typeof i4.ORealPipe, typeof i5.OMomentPipe, typeof i6.OCurrencyPipe, typeof i7.OPercentPipe, typeof i8.OIconPipe, typeof i9.OSafePipe, typeof i10.OKeyboardListenerDirective, typeof i11.OListItemDirective, typeof i12.OTabGroupDirective, typeof i13.OLockerDirective, typeof i14.OHiddenDirective, typeof i15.OMatErrorDirective, typeof i16.OFileDragAndDropDirective, typeof i17.OMatPrefix, typeof i18.OMatSuffix, typeof i19.InputRegulateDirective, typeof i20.Error403Component, typeof i21.ODialogComponent, typeof i22.ODialogInternalComponent, typeof i23.OErrorComponent, typeof i24.OValidatorComponent, typeof i25.OSnackBarComponent, typeof i26.OLoadFilterDialogComponent, typeof i27.OStoreFilterDialogComponent], [typeof i28.CommonModule, typeof i29.OTranslateModule, typeof i30.FlexLayoutModule, typeof i31.OCustomMaterialModule, typeof i32.FormsModule, typeof i32.ReactiveFormsModule], [typeof i30.FlexLayoutModule, typeof i32.FormsModule, typeof i32.ReactiveFormsModule, typeof i29.OTranslateModule, typeof i1.ColumnsFilterPipe, typeof i2.OrderByPipe, typeof i3.OIntegerPipe, typeof i4.ORealPipe, typeof i5.OMomentPipe, typeof i6.OCurrencyPipe, typeof i7.OPercentPipe, typeof i8.OIconPipe, typeof i9.OSafePipe, typeof i10.OKeyboardListenerDirective, typeof i11.OListItemDirective, typeof i12.OTabGroupDirective, typeof i13.OLockerDirective, typeof i14.OHiddenDirective, typeof i15.OMatErrorDirective, typeof i16.OFileDragAndDropDirective, typeof i17.OMatPrefix, typeof i18.OMatSuffix, typeof i19.InputRegulateDirective, typeof i31.OCustomMaterialModule, typeof i20.Error403Component, typeof i23.OErrorComponent, typeof i24.OValidatorComponent, typeof i25.OSnackBarComponent, typeof i26.OLoadFilterDialogComponent, typeof i27.OStoreFilterDialogComponent]>;
|
|
36
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<OSharedModule>;
|
|
37
38
|
}
|
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.2.
|
|
4
|
+
"version": "15.2.2",
|
|
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.",
|