@tetacom/ng-components 1.6.7 → 1.6.9
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/date-picker/date-picker/date-picker.component.d.ts +2 -1
- package/component/filter/enum/filter-type.enum.d.ts +2 -1
- package/component/select/select/select.component.d.ts +1 -1
- package/component/table/default/color-cell/color-cell.component.d.ts +20 -0
- package/component/table/default/date-cell/date-cell.component.d.ts +1 -0
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -0
- package/component/table/default/list-cell/list-cell.component.d.ts +1 -0
- package/component/table/public-api.d.ts +1 -0
- package/component/table/util/color-util.d.ts +3 -0
- package/component/table/util/public-api.d.ts +1 -0
- package/fesm2022/tetacom-ng-components.mjs +105 -19
- package/fesm2022/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ export declare class DatePickerComponent extends BasePicker implements OnInit, C
|
|
|
29
29
|
appendToBody: boolean;
|
|
30
30
|
backdrop: boolean;
|
|
31
31
|
allowNull: boolean;
|
|
32
|
+
open: boolean;
|
|
32
33
|
firstDayOfWeek: number;
|
|
33
34
|
disabledDates: Date[];
|
|
34
35
|
disabledPeriods: DatePeriod[];
|
|
@@ -54,5 +55,5 @@ export declare class DatePickerComponent extends BasePicker implements OnInit, C
|
|
|
54
55
|
setDisabledState?(isDisabled: boolean): void;
|
|
55
56
|
ngOnChanges(changes: SimpleChanges): void;
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledPeriods": { "alias": "disabledPeriods"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "minYearDate": { "alias": "minYearDate"; "required": false; }; "maxYearDate": { "alias": "maxYearDate"; "required": false; }; }, { "selectDate": "selectDate"; }, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "open": { "alias": "open"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledPeriods": { "alias": "disabledPeriods"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "minYearDate": { "alias": "minYearDate"; "required": false; }; "maxYearDate": { "alias": "maxYearDate"; "required": false; }; }, { "selectDate": "selectDate"; }, never, never, true, never>;
|
|
58
59
|
}
|
|
@@ -65,5 +65,5 @@ export declare class SelectComponent implements ControlValueAccessor {
|
|
|
65
65
|
setDisabledState?(isDisabled: boolean): void;
|
|
66
66
|
private getSelectedValue;
|
|
67
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "teta-select", never, { "multiple": { "alias": "multiple"; "required": false; }; "options": { "alias": "options"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseIgnore": { "alias": "autoCloseIgnore"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "virtual": { "alias": "virtual"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "valueRef": { "alias": "valueRef"; "required": false; }; "textRef": { "alias": "textRef"; "required": false; }; "searchRef": { "alias": "searchRef"; "required": false; }; }, {}, ["optionDirective", "valueDirective"], never, true, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "teta-select", never, { "multiple": { "alias": "multiple"; "required": false; }; "options": { "alias": "options"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "align": { "alias": "align"; "required": false; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseIgnore": { "alias": "autoCloseIgnore"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "virtual": { "alias": "virtual"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "viewType": { "alias": "viewType"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "valueRef": { "alias": "valueRef"; "required": false; }; "textRef": { "alias": "textRef"; "required": false; }; "searchRef": { "alias": "searchRef"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, ["optionDirective", "valueDirective"], never, true, never>;
|
|
69
69
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import { TableService } from '../../service/table.service';
|
|
4
|
+
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ColorCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
7
|
+
svc: TableService<T>;
|
|
8
|
+
cdr: ChangeDetectorRef;
|
|
9
|
+
input: ElementRef;
|
|
10
|
+
private readonly tabindex;
|
|
11
|
+
focus(event: any): void;
|
|
12
|
+
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
13
|
+
setValue(): void;
|
|
14
|
+
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
15
|
+
stopEdit(): void;
|
|
16
|
+
getHexColor(color: string): string;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorCellComponent<any>, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorCellComponent<any>, "teta-color-cell", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -8,6 +8,7 @@ export declare class DateCellComponent<T> extends CellComponentBase<T> implement
|
|
|
8
8
|
protected svc: TableService<T>;
|
|
9
9
|
protected cdr: ChangeDetectorRef;
|
|
10
10
|
input: DatePickerComponent;
|
|
11
|
+
open: import("@angular/core").WritableSignal<boolean>;
|
|
11
12
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
@@ -8,6 +8,7 @@ export declare class DateTimeCellComponent<T> extends CellComponentBase<T> imple
|
|
|
8
8
|
protected svc: TableService<T>;
|
|
9
9
|
protected cdr: ChangeDetectorRef;
|
|
10
10
|
input: DatePickerComponent;
|
|
11
|
+
open: import("@angular/core").WritableSignal<boolean>;
|
|
11
12
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
@@ -9,6 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class ListCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
10
10
|
protected svc: TableService<T>;
|
|
11
11
|
protected cdr: ChangeDetectorRef;
|
|
12
|
+
open: import("@angular/core").WritableSignal<boolean>;
|
|
12
13
|
get displayFilterOptions(): IIdName<any>[];
|
|
13
14
|
input: SelectComponent;
|
|
14
15
|
verticalAlign: typeof VerticalAlign;
|
|
@@ -13,6 +13,7 @@ export * from './cell-host/cell-host.component';
|
|
|
13
13
|
*/
|
|
14
14
|
export * from './default/date-cell/date-cell.component';
|
|
15
15
|
export * from './default/boolean-cell/boolean-cell.component';
|
|
16
|
+
export * from './default/color-cell/color-cell.component';
|
|
16
17
|
export * from './default/date-time-cell/date-time-cell.component';
|
|
17
18
|
export * from './default/list-cell/list-cell.component';
|
|
18
19
|
export * from './default/numeric-cell/numeric-cell.component';
|