@tetacom/ng-components 1.0.6 → 1.0.10
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/component/filter/filter-host/filter-host.component.d.ts +2 -3
- package/component/input/text-field/text-field.component.d.ts +3 -1
- package/component/table/cell-host/cell-host.component.d.ts +2 -3
- package/component/table/head-cell-host/head-cell-host.component.d.ts +2 -3
- package/component/table/table/table.component.d.ts +2 -2
- package/esm2020/component/chart/core/chart.mjs +6 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +5 -5
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +5 -7
- package/esm2020/component/input/text-field/text-field.component.mjs +15 -6
- package/esm2020/component/table/base/cell-component-base.mjs +1 -1
- package/esm2020/component/table/cell-host/cell-host.component.mjs +5 -7
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +4 -4
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +5 -7
- package/esm2020/component/table/table/table.component.mjs +12 -20
- package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
- package/fesm2015/tetacom-ng-components.mjs +52 -53
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +51 -53
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
- package/style/scroll.scss +9 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FilterState } from '../contarct/filter-state';
|
|
3
3
|
import { FilterItem } from '../contarct/filter-item';
|
|
4
4
|
import { FilterBase } from '../base/filter-base';
|
|
@@ -6,7 +6,6 @@ import { IIdName } from '../../../common/contract/i-id-name';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FilterHostComponent implements OnInit, OnDestroy {
|
|
8
8
|
private viewContainerRef;
|
|
9
|
-
private componentFactoryResolver;
|
|
10
9
|
set column(val: FilterItem);
|
|
11
10
|
set state(val: FilterState);
|
|
12
11
|
set filterOptions(val: IIdName<any>[]);
|
|
@@ -17,7 +16,7 @@ export declare class FilterHostComponent implements OnInit, OnDestroy {
|
|
|
17
16
|
private _filterOptions;
|
|
18
17
|
private _componentRef;
|
|
19
18
|
private _init;
|
|
20
|
-
constructor(viewContainerRef: ViewContainerRef
|
|
19
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
21
20
|
ngOnInit(): void;
|
|
22
21
|
ngOnDestroy(): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHostComponent, never>;
|
|
@@ -9,17 +9,19 @@ export declare class TextFieldComponent implements ControlValueAccessor {
|
|
|
9
9
|
onlyNumber: boolean;
|
|
10
10
|
invalid: boolean;
|
|
11
11
|
input: ElementRef;
|
|
12
|
+
private readonly tabindex;
|
|
12
13
|
private readonly textField;
|
|
13
14
|
value: string;
|
|
14
15
|
constructor(_cdr: ChangeDetectorRef);
|
|
15
16
|
onFocus(): void;
|
|
16
17
|
keyPress(event: KeyboardEvent): void;
|
|
18
|
+
emitBlur(): void;
|
|
17
19
|
registerOnChange(fn: any): void;
|
|
18
20
|
registerOnTouched(fn: any): void;
|
|
19
21
|
setDisabledState(isDisabled: boolean): void;
|
|
20
22
|
writeValue(input: string): void;
|
|
21
23
|
onChange(input: string): void;
|
|
22
|
-
onTouched(
|
|
24
|
+
onTouched(): void;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
|
|
24
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "teta-text-field", never, { "placeholder": "placeholder"; "leftIconName": "leftIconName"; "disabled": "disabled"; "onlyNumber": "onlyNumber"; "invalid": "invalid"; }, {}, never, never>;
|
|
25
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableColumn } from '../contract/table-column';
|
|
3
3
|
import { TableRow } from '../contract/table-row';
|
|
4
4
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
@@ -6,14 +6,13 @@ import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CellHostComponent<T> implements OnInit, OnDestroy, OnChanges {
|
|
8
8
|
private viewContainerRef;
|
|
9
|
-
private componentFactoryResolver;
|
|
10
9
|
column: TableColumn;
|
|
11
10
|
row: TableRow<T>;
|
|
12
11
|
filterOptions: IIdName<any>[];
|
|
13
12
|
dict: IDictionary<IIdName<any>[]>;
|
|
14
13
|
private _init;
|
|
15
14
|
private _componentRef;
|
|
16
|
-
constructor(viewContainerRef: ViewContainerRef
|
|
15
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
17
16
|
ngOnInit(): void;
|
|
18
17
|
ngOnDestroy(): void;
|
|
19
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableColumn } from '../contract/table-column';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class HeadCellHostComponent implements OnInit {
|
|
5
5
|
private viewContainerRef;
|
|
6
|
-
private componentFactoryResolver;
|
|
7
6
|
private _column;
|
|
8
7
|
private componentRef;
|
|
9
8
|
private init;
|
|
10
9
|
set column(column: TableColumn);
|
|
11
10
|
get column(): TableColumn;
|
|
12
|
-
constructor(viewContainerRef: ViewContainerRef
|
|
11
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
13
12
|
ngOnInit(): void;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellHostComponent, never>;
|
|
15
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellHostComponent, "teta-head-cell-host", never, { "column": "column"; }, {}, never, never>;
|
|
@@ -85,8 +85,8 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
|
|
|
85
85
|
ngOnDestroy(): void;
|
|
86
86
|
ngOnChanges(changes: SimpleChanges): void;
|
|
87
87
|
private startEditRowOrCell;
|
|
88
|
-
private
|
|
89
|
-
private
|
|
88
|
+
private getEventCell;
|
|
89
|
+
private eventIsOnRow;
|
|
90
90
|
private getCoordinates;
|
|
91
91
|
private onScroll;
|
|
92
92
|
private getSelectedText;
|