ontimize-web-ngx 15.2.0 → 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/listpicker/o-list-picker-dialog.component.mjs +2 -2
- package/esm2020/lib/components/input/listpicker/o-list-picker.component.mjs +18 -8
- package/esm2020/lib/components/input/o-form-service-component.class.mjs +3 -3
- package/esm2020/lib/components/input/percent-input/o-percent-input.component.mjs +3 -3
- package/esm2020/lib/components/input/radio/o-radio.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 +31 -22
- 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/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component.mjs +97 -40
- package/esm2020/lib/components/table/extensions/export-button/o-table-export-button.component.mjs +10 -11
- package/esm2020/lib/components/table/extensions/header/table-columns-filter/columns/o-table-columns-filter-column.component.mjs +5 -3
- package/esm2020/lib/components/table/extensions/header/table-columns-filter/o-table-columns-filter.component.mjs +30 -4
- 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 +11 -2
- package/esm2020/lib/components/table/extensions/skeleton/o-table-skeleton.component.mjs +12 -7
- package/esm2020/lib/components/table/o-table.component.mjs +12 -13
- 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 +30 -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 +2980 -2711
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +2967 -2699
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/input/listpicker/o-list-picker.component.d.ts +2 -2
- package/lib/components/input/o-form-service-component.class.d.ts +1 -1
- package/lib/components/input/text-input/o-text-input.component.d.ts +4 -2
- 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/filter-by-column/o-table-filter-by-column-data-dialog.component.d.ts +18 -4
- 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-columns-filter/columns/o-table-columns-filter-column.component.d.ts +5 -1
- package/lib/components/table/extensions/header/table-columns-filter/o-table-columns-filter.component.d.ts +4 -1
- 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/extensions/skeleton/o-table-skeleton.component.d.ts +6 -3
- package/lib/components/table/o-table.component.d.ts +12 -10
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/input-regulate.directive.d.ts +23 -0
- package/lib/i18n/i18n.d.ts +27 -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
- package/theming/styles/ontimize-v8/containers.scss +0 -5
|
@@ -2,7 +2,6 @@ import { AfterViewInit, ElementRef, EventEmitter, Injector, OnChanges, OnInit, S
|
|
|
2
2
|
import { UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
4
|
import { MatInput } from '@angular/material/input';
|
|
5
|
-
import { FormValueOptions } from '../../../types/form-value-options.type';
|
|
6
5
|
import { OFormComponent } from '../../form/o-form.component';
|
|
7
6
|
import { OFormControl } from '../o-form-control.class';
|
|
8
7
|
import { OFormServiceComponent } from '../o-form-service-component.class';
|
|
@@ -48,11 +47,12 @@ export declare class OListPickerComponent extends OFormServiceComponent implemen
|
|
|
48
47
|
innerOnBlur(evt: any): void;
|
|
49
48
|
onVisibleInputChange(event: any): void;
|
|
50
49
|
onKeydownEnter(val: any): void;
|
|
51
|
-
protected setFormValue(val: any, options?: FormValueOptions, setDirty?: boolean): void;
|
|
52
50
|
protected openDialog(): void;
|
|
53
51
|
protected getDialogDataArray(dataArray: any[]): any[];
|
|
52
|
+
protected getVisibleColumnText(item: any): string;
|
|
54
53
|
registerRenderer(renderer: any): void;
|
|
55
54
|
protected setStateCtrlValue(): void;
|
|
55
|
+
syncDataIndex(queryIfNotFound?: boolean): void;
|
|
56
56
|
selectValue(): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<OListPickerComponent, [{ optional: true; }, null, null]>;
|
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<OListPickerComponent, "o-list-picker", never, { "filter": "filter"; "dialogWidth": "dialog-width"; "dialogHeight": "dialog-height"; "queryRows": "query-rows"; "textInputEnabled": "text-input-enabled"; "dialogDisableClose": "dialog-disable-close"; "dialogClass": "dialog-class"; }, { "onDialogAccept": "onDialogAccept"; "onDialogCancel": "onDialogCancel"; }, never, never, false, never>;
|
|
@@ -72,5 +72,5 @@ export declare class OFormServiceComponent extends OFormDataComponent {
|
|
|
72
72
|
protected sortData(data: any[]): any[];
|
|
73
73
|
refresh(): void;
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<OFormServiceComponent, never>;
|
|
75
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OFormServiceComponent, never, never, { "staticData": "static-data"; "entity": "entity"; "service": "service"; "columns": "columns"; "valueColumn": "value-column"; "valueColumnType": "value-column-type"; "parentKeys": "parent-keys"; "visibleColumns": "visible-columns"; "descriptionColumns": "description-columns"; "separator": "separator"; "queryOnInit": "query-on-init"; "queryOnBind": "query-on-bind"; "queryOnEvent": "query-on-event"; "queryMethod": "query-method"; "serviceType": "service-type"; "queryWithNullParentKeys": "query-with-null-parent-keys"; "setValueOnValueChange": "set-value-on-value-change"; "queryFallbackFunction": "query-fallback-function"; "translate": "translate"; "sort": "sort"; }, { "
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OFormServiceComponent, never, never, { "staticData": "static-data"; "entity": "entity"; "service": "service"; "columns": "columns"; "valueColumn": "value-column"; "valueColumnType": "value-column-type"; "parentKeys": "parent-keys"; "visibleColumns": "visible-columns"; "descriptionColumns": "description-columns"; "separator": "separator"; "queryOnInit": "query-on-init"; "queryOnBind": "query-on-bind"; "queryOnEvent": "query-on-event"; "queryMethod": "query-method"; "serviceType": "service-type"; "queryWithNullParentKeys": "query-with-null-parent-keys"; "setValueOnValueChange": "set-value-on-value-change"; "queryFallbackFunction": "query-fallback-function"; "translate": "translate"; "sort": "sort"; }, { "onSetValueOnValueChange": "onSetValueOnValueChange"; "onDataLoaded": "onDataLoaded"; }, never, never, false, never>;
|
|
76
76
|
}
|
|
@@ -14,10 +14,12 @@ 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;
|
|
20
|
-
|
|
21
|
+
onFormControlChange(value: any): void;
|
|
22
|
+
protected transformStringCase(value: any): any;
|
|
21
23
|
resolveValidators(): ValidatorFn[];
|
|
22
24
|
set minLength(val: number);
|
|
23
25
|
get minLength(): number;
|
|
@@ -25,5 +27,5 @@ export declare class OTextInputComponent extends OFormDataComponent implements O
|
|
|
25
27
|
get maxLength(): number;
|
|
26
28
|
ngOnDestroy(): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTextInputComponent, [{ optional: true; }, null, null]>;
|
|
28
|
-
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>;
|
|
29
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
|
}
|
|
@@ -9,6 +9,9 @@ import { OColumnValueFilter } from '../../../../../types/table/o-column-value-fi
|
|
|
9
9
|
import { TableFilterByColumnData, TableFilterByColumnDialogResult } from '../../../../../types/table/o-table-filter-by-column-data.type';
|
|
10
10
|
import type { OColumn } from '../../../column/o-column.class';
|
|
11
11
|
import { OFilterColumn } from '../../header/table-columns-filter/columns/o-table-columns-filter-column.component';
|
|
12
|
+
import { MatRadioChange } from '@angular/material/radio';
|
|
13
|
+
import { ServiceResponse } from '../../../../../interfaces/service-response.interface';
|
|
14
|
+
import { OTableComponent } from '../../../o-table.component';
|
|
12
15
|
import * as i0 from "@angular/core";
|
|
13
16
|
export declare class OTableFilterByColumnDataDialogComponent implements AfterViewInit {
|
|
14
17
|
dialogRef: MatDialogRef<OTableFilterByColumnDataDialogComponent>;
|
|
@@ -20,21 +23,28 @@ export declare class OTableFilterByColumnDataDialogComponent implements AfterVie
|
|
|
20
23
|
mode: string;
|
|
21
24
|
startView: 'month' | 'year' | 'multi-year' | '';
|
|
22
25
|
onSortFilterValuesChange: EventEmitter<OFilterColumn>;
|
|
23
|
-
private isCustomFilterSubject;
|
|
26
|
+
private readonly isCustomFilterSubject;
|
|
24
27
|
isCustomFilter: Observable<boolean>;
|
|
25
|
-
private isDefaultFilterSubject;
|
|
28
|
+
private readonly isDefaultFilterSubject;
|
|
26
29
|
isDefaultFilter: Observable<boolean>;
|
|
27
30
|
fcText: UntypedFormControl;
|
|
28
31
|
fcFrom: UntypedFormControl;
|
|
29
32
|
fcTo: UntypedFormControl;
|
|
30
33
|
protected columnData: TableFilterByColumnData[];
|
|
31
34
|
protected tableData: any[];
|
|
32
|
-
private listDataSubject;
|
|
35
|
+
private readonly listDataSubject;
|
|
33
36
|
protected _listData: Observable<TableFilterByColumnData[]>;
|
|
34
37
|
filter: ElementRef;
|
|
35
38
|
filterValueList: MatSelectionList;
|
|
36
39
|
activeSortDirection: 'asc' | 'desc' | '';
|
|
40
|
+
sourceData: any;
|
|
41
|
+
queryByFilterColumnSubscription: any;
|
|
42
|
+
table: OTableComponent;
|
|
43
|
+
showFilterValuesOption: boolean;
|
|
44
|
+
queryMethodName: string;
|
|
37
45
|
constructor(dialogRef: MatDialogRef<OTableFilterByColumnDataDialogComponent>, data: any);
|
|
46
|
+
private initialize;
|
|
47
|
+
private parseDataAndInitializeDataList;
|
|
38
48
|
ngAfterViewInit(): void;
|
|
39
49
|
get listData(): Observable<TableFilterByColumnData[]>;
|
|
40
50
|
set listData(arg: Observable<TableFilterByColumnData[]>);
|
|
@@ -46,7 +56,8 @@ export declare class OTableFilterByColumnDataDialogComponent implements AfterVie
|
|
|
46
56
|
isIndeterminate(): boolean;
|
|
47
57
|
onSelect(event: MatSelectionListChange): void;
|
|
48
58
|
onSelectAllChange(event: MatCheckboxChange): void;
|
|
49
|
-
protected
|
|
59
|
+
protected parseListData(filter: OColumnValueFilter): void;
|
|
60
|
+
private addIntoColumnData;
|
|
50
61
|
getColumnValuesFilter(): OColumnValueFilter;
|
|
51
62
|
clearValues(): void;
|
|
52
63
|
onClickSortValues(): void;
|
|
@@ -61,6 +72,9 @@ export declare class OTableFilterByColumnDataDialogComponent implements AfterVie
|
|
|
61
72
|
protected getFilterColumn(): OFilterColumn;
|
|
62
73
|
getStartedViewDatepicker(): string;
|
|
63
74
|
protected getTypedValue(control: UntypedFormControl): any;
|
|
75
|
+
onChangeDataSource(event: MatRadioChange): void;
|
|
76
|
+
private getData;
|
|
77
|
+
queryByFilterColumn(attr: string): Observable<ServiceResponse> | Observable<any>;
|
|
64
78
|
protected getColumnDataUsingRenderer(): any[];
|
|
65
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableFilterByColumnDataDialogComponent, never>;
|
|
66
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<OTableFilterByColumnDataDialogComponent, "o-table-filter-by-column-data-dialog", never, {}, {}, never, never, false, never>;
|
|
@@ -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)[];
|
|
@@ -3,12 +3,16 @@ export type OFilterColumn = {
|
|
|
3
3
|
attr: string;
|
|
4
4
|
sort: 'asc' | 'desc' | '';
|
|
5
5
|
startView: 'month' | 'year' | 'multi-year' | '';
|
|
6
|
+
queryMethod?: string;
|
|
7
|
+
filterValuesInData?: 'current-page' | 'all-data';
|
|
6
8
|
};
|
|
7
9
|
export declare const DEFAULT_INPUTS_O_TABLE_COLUMN_FILTER_COLUMN: string[];
|
|
8
10
|
export declare class OTableColumnsFilterColumnComponent {
|
|
9
11
|
attr: string;
|
|
10
12
|
sort: 'asc' | 'desc' | '';
|
|
11
13
|
startView: 'month' | 'year' | 'multi-year' | '';
|
|
14
|
+
queryMethod: string;
|
|
15
|
+
filterValuesInData: 'current-page' | 'all-data';
|
|
12
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableColumnsFilterColumnComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnsFilterColumnComponent, "o-table-columns-filter-column", never, { "attr": "attr"; "sort": "sort"; "startView": "start-view"; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnsFilterColumnComponent, "o-table-columns-filter-column", never, { "attr": "attr"; "sort": "sort"; "startView": "start-view"; "queryMethod": "query-method"; "filterValuesInData": "filter-values-in-data"; }, {}, never, never, false, never>;
|
|
14
18
|
}
|
|
@@ -14,6 +14,7 @@ export declare class OTableColumnsFilterComponent implements OnInit {
|
|
|
14
14
|
protected _columns: string;
|
|
15
15
|
protected _mode: string;
|
|
16
16
|
preloadValues: boolean;
|
|
17
|
+
filterValuesInData: string;
|
|
17
18
|
get mode(): string;
|
|
18
19
|
set mode(val: string);
|
|
19
20
|
protected _columnsArray: Array<OFilterColumn>;
|
|
@@ -25,6 +26,8 @@ export declare class OTableColumnsFilterComponent implements OnInit {
|
|
|
25
26
|
isColumnFilterable(attr: string): boolean;
|
|
26
27
|
getSortValueOfFilterColumn(attr: string): string;
|
|
27
28
|
getStartViewValueOfFilterColumn(attr: string): string;
|
|
29
|
+
getQueryMethodOfFilterColumn(attr: string): string;
|
|
30
|
+
getFilterValuesInData(attr: string): string;
|
|
28
31
|
getColumnComparisonValue(column: OColumn, val: any): any;
|
|
29
32
|
set columns(arg: string);
|
|
30
33
|
set columnsArray(arg: OFilterColumn[]);
|
|
@@ -32,5 +35,5 @@ export declare class OTableColumnsFilterComponent implements OnInit {
|
|
|
32
35
|
parseColumns(columns: string): OFilterColumn[];
|
|
33
36
|
parseFilterColumns(columns: QueryList<OTableColumnsFilterColumnComponent>): OFilterColumn[];
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableColumnsFilterComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnsFilterComponent, "o-table-columns-filter", never, { "columns": "columns"; "preloadValues": "preload-values"; "mode": "mode"; }, {}, ["filterColumns"], never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OTableColumnsFilterComponent, "o-table-columns-filter", never, { "columns": "columns"; "preloadValues": "preload-values"; "mode": "mode"; "filterValuesInData": "filter-values-in-data"; }, {}, ["filterColumns"], never, false, never>;
|
|
36
39
|
}
|
|
@@ -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,11 +1,14 @@
|
|
|
1
|
-
import { ElementRef, Injector,
|
|
1
|
+
import { ElementRef, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { OSkeletonComponent } from '../../../o-skeleton.component';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OTableSkeletonComponent extends OSkeletonComponent implements
|
|
5
|
+
export declare class OTableSkeletonComponent extends OSkeletonComponent implements OnInit {
|
|
5
6
|
protected elRef: ElementRef;
|
|
6
7
|
protected injector: Injector;
|
|
8
|
+
rows$: Observable<number[]>;
|
|
7
9
|
constructor(elRef: ElementRef, injector: Injector);
|
|
8
|
-
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
getRows(): number[];
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableSkeletonComponent, never>;
|
|
10
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<OTableSkeletonComponent, "o-table-skeleton", never, {}, {}, never, never, false, never>;
|
|
11
14
|
}
|
|
@@ -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';
|
|
@@ -58,8 +59,8 @@ type DisableSelectionFunction = (item: any) => boolean;
|
|
|
58
59
|
export declare class OTableComponent extends AbstractOServiceComponent<OTableComponentStateService> implements OnInit, OnDestroy, AfterViewInit, AfterContentInit {
|
|
59
60
|
injector: Injector;
|
|
60
61
|
protected dialog: MatDialog;
|
|
61
|
-
private _viewContainerRef;
|
|
62
|
-
private appRef;
|
|
62
|
+
private readonly _viewContainerRef;
|
|
63
|
+
private readonly appRef;
|
|
63
64
|
readonly scrollStrategy: OTableVirtualScrollStrategy;
|
|
64
65
|
static DEFAULT_BASE_SIZE_SPINNER: number;
|
|
65
66
|
static FIRST_LAST_CELL_PADDING: number;
|
|
@@ -165,11 +166,11 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
|
|
|
165
166
|
protected selectionChangeSubscription: Subscription;
|
|
166
167
|
oTableFilterByColumnDataDialogComponent: OTableFilterByColumnDataDialogComponent;
|
|
167
168
|
oTableColumnsFilterComponent: OTableColumnsFilterComponent;
|
|
168
|
-
private showTotalsSubject;
|
|
169
|
+
private readonly showTotalsSubject;
|
|
169
170
|
showTotals: Observable<boolean>;
|
|
170
|
-
private loadingSortingSubject;
|
|
171
|
+
private readonly loadingSortingSubject;
|
|
171
172
|
protected loadingSorting: Observable<boolean>;
|
|
172
|
-
private loadingScrollSubject;
|
|
173
|
+
private readonly loadingScrollSubject;
|
|
173
174
|
loadingScroll: Observable<boolean>;
|
|
174
175
|
showLoading: Observable<boolean>;
|
|
175
176
|
oTableInsertableRowComponent: OTableInsertableRowComponent;
|
|
@@ -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;
|
|
@@ -349,8 +350,8 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
|
|
|
349
350
|
isColumnFilterActive(column: OColumn): boolean;
|
|
350
351
|
openColumnFilterDialog(column: OColumn, event: Event): void;
|
|
351
352
|
storeFilterColumns(sortColumnFilter: OFilterColumn): void;
|
|
352
|
-
getStartViewFilterColumn(column: OColumn):
|
|
353
|
-
getSortFilterColumn(column: OColumn):
|
|
353
|
+
getStartViewFilterColumn(column: OColumn): 'month' | 'year' | 'multi-year' | '';
|
|
354
|
+
getSortFilterColumn(column: OColumn): 'asc' | 'desc' | '';
|
|
354
355
|
get disableTableMenuButton(): boolean;
|
|
355
356
|
get showTableMenuButton(): boolean;
|
|
356
357
|
setOTableInsertableRow(tableInsertableRow: OTableInsertableRowComponent): void;
|
|
@@ -445,7 +446,8 @@ export declare class OTableComponent extends AbstractOServiceComponent<OTableCom
|
|
|
445
446
|
resetColumnsWidth(): void;
|
|
446
447
|
updateColumnsDOMWidth(): void;
|
|
447
448
|
isDisableCheckbox(item: any): boolean;
|
|
449
|
+
getService(): any;
|
|
448
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTableComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
449
|
-
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>;
|
|
450
452
|
}
|
|
451
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
|
@@ -125,6 +125,9 @@ export declare const MAP: {
|
|
|
125
125
|
'TABLE.FILTER_BY_COLUMN.TO': string;
|
|
126
126
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY': string;
|
|
127
127
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY_FILTER': string;
|
|
128
|
+
'TABLE.FILTER_BY_COLUMN.LABEL_DATA': string;
|
|
129
|
+
'TABLE.FILTER_BY_COLUMN.CURRENT_PAGE': string;
|
|
130
|
+
'TABLE.FILTER_BY_COLUMN.ALL_PAGE': string;
|
|
128
131
|
'TABLE.FILTER': string;
|
|
129
132
|
'TABLE.FILTER.CASE_SENSITIVE': string;
|
|
130
133
|
'TABLE.EMPTY': string;
|
|
@@ -293,6 +296,15 @@ export declare const MAP: {
|
|
|
293
296
|
'TREE.BUTTONS.SELECT': string;
|
|
294
297
|
'REPORT.COLUMN.TRUEVALUE': string;
|
|
295
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;
|
|
296
308
|
};
|
|
297
309
|
es: {
|
|
298
310
|
LANGUAGE: string;
|
|
@@ -419,6 +431,9 @@ export declare const MAP: {
|
|
|
419
431
|
'TABLE.FILTER_BY_COLUMN.TO': string;
|
|
420
432
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY': string;
|
|
421
433
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY_FILTER': string;
|
|
434
|
+
'TABLE.FILTER_BY_COLUMN.LABEL_DATA': string;
|
|
435
|
+
'TABLE.FILTER_BY_COLUMN.CURRENT_PAGE': string;
|
|
436
|
+
'TABLE.FILTER_BY_COLUMN.ALL_PAGE': string;
|
|
422
437
|
'TABLE.FILTER': string;
|
|
423
438
|
'TABLE.FILTER.CASE_SENSITIVE': string;
|
|
424
439
|
'TABLE.EMPTY': string;
|
|
@@ -579,6 +594,15 @@ export declare const MAP: {
|
|
|
579
594
|
'TREE.BUTTONS.SELECT': string;
|
|
580
595
|
'REPORT.COLUMN.TRUEVALUE': string;
|
|
581
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;
|
|
582
606
|
};
|
|
583
607
|
pt: {
|
|
584
608
|
LANGUAGE: string;
|
|
@@ -704,6 +728,9 @@ export declare const MAP: {
|
|
|
704
728
|
'TABLE.FILTER_BY_COLUMN.TO': string;
|
|
705
729
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY': string;
|
|
706
730
|
'TABLE.FILTER_BY_COLUMN.LIST_EMPTY_FILTER': string;
|
|
731
|
+
'TABLE.FILTER_BY_COLUMN.LABEL_DATA': string;
|
|
732
|
+
'TABLE.FILTER_BY_COLUMN.CURRENT_PAGE': string;
|
|
733
|
+
'TABLE.FILTER_BY_COLUMN.ALL_PAGE': string;
|
|
707
734
|
'TABLE.FILTER': string;
|
|
708
735
|
'TABLE.FILTER.CASE_SENSITIVE': string;
|
|
709
736
|
'TABLE.EMPTY': 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.",
|