@tetacom/ng-components 1.0.33 → 1.0.36
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/common/contract/i-id.d.ts +3 -0
- package/common/contract/public-api.d.ts +1 -0
- package/component/chart-3d/chart3d/chart3d.component.d.ts +1 -0
- package/component/chart-3d/model/chart-3d-options.d.ts +1 -0
- package/component/date-picker/date-picker/date-picker.component.d.ts +9 -6
- package/component/date-picker/day-select/day-select.component.d.ts +5 -5
- package/component/date-picker/month-picker/month-picker.component.d.ts +5 -5
- package/component/date-picker/month-select/month-select.component.d.ts +2 -2
- package/component/dropdown/dropdown-base.d.ts +3 -2
- package/component/filter/base/filter-component-base.d.ts +3 -1
- package/component/filter/boolean-filter/boolean-filter.component.d.ts +5 -3
- package/component/filter/date-filter/date-filter.component.d.ts +11 -4
- package/component/filter/filter-host/filter-host.component.d.ts +6 -3
- package/component/filter/filter.module.d.ts +15 -16
- package/component/filter/list-filter/list-filter.component.d.ts +11 -4
- package/component/filter/numeric-filter/numeric-filter.component.d.ts +11 -4
- package/component/filter/public-api.d.ts +0 -1
- package/component/filter/string-filter/string-filter.component.d.ts +11 -4
- package/component/input/text-field/text-field.component.d.ts +2 -2
- package/component/select/select/select.component.d.ts +1 -1
- package/component/table/base/cell-component-base.d.ts +3 -1
- package/component/table/base/head-cell-component-base.d.ts +5 -3
- package/component/table/contract/i-cell-coordinates.d.ts +3 -5
- package/component/table/contract/i-cell-event.d.ts +1 -1
- package/component/table/contract/i-cell-instance.d.ts +12 -0
- package/component/table/contract/i-cell-value.d.ts +1 -2
- package/component/table/contract/public-api.d.ts +1 -1
- package/component/table/contract/table-column.d.ts +3 -3
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -1
- package/component/table/default/date-cell/date-cell.component.d.ts +1 -1
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -1
- package/component/table/default/default-head-cell/default-head-cell.component.d.ts +7 -3
- package/component/table/default/list-cell/list-cell.component.d.ts +1 -1
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -1
- package/component/table/default/string-cell/string-cell.component.d.ts +1 -1
- package/component/table/enum/edit-type.enum.d.ts +3 -2
- package/component/table/head-cell/head-cell.component.d.ts +3 -2
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +11 -5
- package/component/table/head-cell-host/head-cell-host.component.d.ts +7 -3
- package/component/table/service/table.service.d.ts +38 -15
- package/component/table/table/table.component.d.ts +21 -32
- package/component/table/table-body/table-body.component.d.ts +12 -9
- package/component/table/table-head/table-head.component.d.ts +4 -4
- package/component/table/table-head-group/table-head-group.component.d.ts +5 -3
- package/component/table/table.module.d.ts +2 -1
- package/component/table/util/state-util.d.ts +3 -0
- package/component/table/util/table-util.d.ts +0 -1
- package/esm2020/common/contract/i-id.mjs +2 -0
- package/esm2020/common/contract/public-api.mjs +2 -1
- package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +64 -57
- package/esm2020/component/chart-3d/model/chart-3d-options.mjs +1 -1
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +17 -8
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +10 -8
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +10 -8
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +5 -4
- package/esm2020/component/dropdown/dropdown-base.mjs +14 -6
- package/esm2020/component/filter/base/filter-base.mjs +4 -3
- package/esm2020/component/filter/base/filter-component-base.mjs +1 -1
- package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +4 -2
- package/esm2020/component/filter/contarct/filter-item.mjs +4 -3
- package/esm2020/component/filter/contarct/sort-param.mjs +3 -2
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +15 -9
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +12 -2
- package/esm2020/component/filter/filter.module.mjs +3 -8
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +20 -12
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +15 -9
- package/esm2020/component/filter/public-api.mjs +1 -2
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +14 -8
- package/esm2020/component/input/input/input.component.mjs +2 -2
- package/esm2020/component/input/text-field/text-field.component.mjs +8 -3
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +1 -1
- package/esm2020/component/select/select/select.component.mjs +12 -6
- package/esm2020/component/table/base/cell-component-base.mjs +20 -26
- package/esm2020/component/table/base/head-cell-component-base.mjs +1 -1
- package/esm2020/component/table/contract/i-cell-coordinates.mjs +1 -1
- package/esm2020/component/table/contract/i-cell-event.mjs +1 -1
- package/esm2020/component/table/contract/i-cell-instance.mjs +2 -0
- package/esm2020/component/table/contract/i-cell-value.mjs +1 -1
- package/esm2020/component/table/contract/public-api.mjs +2 -2
- package/esm2020/component/table/contract/table-column.mjs +1 -1
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +4 -4
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +4 -4
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +6 -6
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +14 -4
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +4 -4
- package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +13 -9
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +16 -10
- package/esm2020/component/table/enum/edit-type.enum.mjs +4 -3
- package/esm2020/component/table/head-cell/head-cell.component.mjs +19 -19
- package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +39 -30
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +14 -2
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +1 -1
- package/esm2020/component/table/service/table.service.mjs +213 -27
- package/esm2020/component/table/table/table.component.mjs +174 -156
- package/esm2020/component/table/table-body/table-body.component.mjs +26 -50
- package/esm2020/component/table/table-head/table-head.component.mjs +14 -35
- package/esm2020/component/table/table-head-group/table-head-group.component.mjs +29 -14
- package/esm2020/component/table/table.module.mjs +6 -2
- package/esm2020/component/table/util/state-util.mjs +20 -1
- package/esm2020/component/table/util/table-util.mjs +10 -14
- package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +2 -2
- package/esm2020/directive/context-menu/context-menu.directive.mjs +7 -5
- package/esm2020/directive/dynamic-content-base.directive.mjs +6 -7
- package/esm2020/locale/en.mjs +57 -0
- package/esm2020/locale/public-api.mjs +5 -0
- package/esm2020/locale/ru.mjs +57 -0
- package/esm2020/locale/teta-config.service.mjs +28 -0
- package/esm2020/locale/teta-localisation.mjs +2 -0
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/util/date-util.mjs +41 -1
- package/esm2020/util/string-util.mjs +5 -1
- package/fesm2015/tetacom-ng-components.mjs +1180 -774
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +1177 -758
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/locale/en.d.ts +2 -0
- package/locale/public-api.d.ts +4 -0
- package/locale/ru.d.ts +2 -0
- package/locale/teta-config.service.d.ts +11 -0
- package/locale/teta-localisation.d.ts +56 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/style/border.scss +1 -1
- package/style/button.scss +9 -5
- package/style/checkbox.scss +10 -2
- package/style/datepicker.scss +9 -7
- package/style/dropdown.scss +12 -2
- package/style/input.scss +6 -5
- package/style/list.scss +1 -1
- package/style/presets/color-presets.scss +62 -62
- package/style/presets/font-presets.scss +62 -45
- package/style/presets/shadow-presets.scss +3 -3
- package/style/select.scss +6 -6
- package/style/switch.scss +1 -1
- package/style/table.scss +43 -45
- package/style/tabs.scss +2 -2
- package/style/toolbar.scss +3 -6
- package/style/tree.scss +2 -2
- package/util/date-util.d.ts +1 -0
- package/util/string-util.d.ts +1 -0
- package/component/date-picker/model/picker-locale-model.d.ts +0 -16
- package/component/date-picker/service/picker-locale.service.d.ts +0 -11
- package/component/filter/filter-panel/filter-panel.component.d.ts +0 -8
- package/component/table/contract/table-context-menu-config.d.ts +0 -14
- package/esm2020/component/date-picker/model/picker-locale-model.mjs +0 -13
- package/esm2020/component/date-picker/service/picker-locale.service.mjs +0 -30
- package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +0 -13
- package/esm2020/component/table/contract/table-context-menu-config.mjs +0 -17
|
@@ -14,6 +14,7 @@ export declare class Chart3dComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
14
14
|
private _config;
|
|
15
15
|
private SIDE_SIZE;
|
|
16
16
|
private gridColor;
|
|
17
|
+
private axesColor;
|
|
17
18
|
private _alive;
|
|
18
19
|
constructor(_elementRef: ElementRef, _themeService: ThemeSwitchService);
|
|
19
20
|
set config(config: Chart3dOptions);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { PickerLocaleService } from '../service/picker-locale.service';
|
|
4
3
|
import { DatePeriod } from '../model/date-period';
|
|
5
|
-
import { PickerLocaleModel } from '../model/picker-locale-model';
|
|
6
4
|
import { DatePickerMode } from '../model/date-picker-mode.enum';
|
|
7
5
|
import { Align } from '../../../common/enum/align.enum';
|
|
8
6
|
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
7
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
8
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare const DATE_PICKER_CONTROL_VALUE_ACCESSOR: any;
|
|
11
11
|
export declare class DatePickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
12
|
-
localeService:
|
|
12
|
+
localeService: TetaConfigService;
|
|
13
13
|
private _cdr;
|
|
14
14
|
private _elementRef;
|
|
15
15
|
disabled: boolean;
|
|
@@ -25,13 +25,15 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
25
25
|
align: Align;
|
|
26
26
|
verticalAlign: VerticalAlign;
|
|
27
27
|
appendToBody: boolean;
|
|
28
|
+
allowNull: boolean;
|
|
29
|
+
backdrop: boolean;
|
|
28
30
|
showTime: boolean;
|
|
29
31
|
set format(val: string);
|
|
30
32
|
get format(): string;
|
|
31
33
|
open: boolean;
|
|
32
34
|
private readonly classDatepicker;
|
|
33
35
|
private readonly tabindex;
|
|
34
|
-
locale:
|
|
36
|
+
locale: TetaLocalisation;
|
|
35
37
|
today: Date;
|
|
36
38
|
datePickerModeEnum: typeof DatePickerMode;
|
|
37
39
|
displayMode: DatePickerMode;
|
|
@@ -44,13 +46,14 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
44
46
|
get currentValue(): Date;
|
|
45
47
|
set currentValue(date: Date);
|
|
46
48
|
get internalValue(): Date;
|
|
47
|
-
constructor(localeService:
|
|
49
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
|
|
48
50
|
keyUp(event: KeyboardEvent): void;
|
|
49
51
|
writeValue(value: any): void;
|
|
50
52
|
onChange: (_: any) => void;
|
|
51
53
|
onTouched: () => void;
|
|
52
54
|
registerOnChange(fn: (_: any) => void): void;
|
|
53
55
|
registerOnTouched(fn: () => void): void;
|
|
56
|
+
setDisabledState(isDisabled: boolean): void;
|
|
54
57
|
ngOnInit(): void;
|
|
55
58
|
ngOnDestroy(): void;
|
|
56
59
|
applyValue(date: Date): void;
|
|
@@ -73,5 +76,5 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
73
76
|
setMode(mode: DatePickerMode): void;
|
|
74
77
|
private emptyDate;
|
|
75
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", never, { "disabled": "disabled"; "invalid": "invalid"; "firstDayOfWeek": "firstDayOfWeek"; "disabledDates": "disabledDates"; "disabledPeriods": "disabledPeriods"; "disabledDays": "disabledDays"; "minDate": "minDate"; "maxDate": "maxDate"; "minYearDate": "minYearDate"; "maxYearDate": "maxYearDate"; "align": "align"; "verticalAlign": "verticalAlign"; "appendToBody": "appendToBody"; "showTime": "showTime"; "format": "format"; }, {}, never, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", never, { "disabled": "disabled"; "invalid": "invalid"; "firstDayOfWeek": "firstDayOfWeek"; "disabledDates": "disabledDates"; "disabledPeriods": "disabledPeriods"; "disabledDays": "disabledDays"; "minDate": "minDate"; "maxDate": "maxDate"; "minYearDate": "minYearDate"; "maxYearDate": "maxYearDate"; "align": "align"; "verticalAlign": "verticalAlign"; "appendToBody": "appendToBody"; "allowNull": "allowNull"; "backdrop": "backdrop"; "showTime": "showTime"; "format": "format"; }, {}, never, never>;
|
|
77
80
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DayModel } from '../model/day-model';
|
|
3
3
|
import { DatePeriod } from '../model/date-period';
|
|
4
|
-
import { PickerLocaleService } from '../service/picker-locale.service';
|
|
5
|
-
import { PickerLocaleModel } from '../model/picker-locale-model';
|
|
6
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
6
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const DAY_SELECT_CONTROL_VALUE_ACCESSOR: any;
|
|
9
9
|
export declare class DaySelectComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
10
|
-
localeService:
|
|
10
|
+
localeService: TetaConfigService;
|
|
11
11
|
private _cdr;
|
|
12
12
|
private _elementRef;
|
|
13
13
|
firstDayOfWeek: number;
|
|
@@ -20,7 +20,7 @@ export declare class DaySelectComponent implements OnInit, OnDestroy, ControlVal
|
|
|
20
20
|
dateSelected: EventEmitter<Date>;
|
|
21
21
|
monthSelected: EventEmitter<number>;
|
|
22
22
|
yearSelected: EventEmitter<number>;
|
|
23
|
-
locale:
|
|
23
|
+
locale: TetaLocalisation;
|
|
24
24
|
value: Date;
|
|
25
25
|
_currentValue: Date;
|
|
26
26
|
set currentValue(val: Date);
|
|
@@ -28,7 +28,7 @@ export declare class DaySelectComponent implements OnInit, OnDestroy, ControlVal
|
|
|
28
28
|
days: Array<DayModel>;
|
|
29
29
|
weekDays: number[];
|
|
30
30
|
private _alive;
|
|
31
|
-
constructor(localeService:
|
|
31
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
|
|
32
32
|
ngOnInit(): void;
|
|
33
33
|
ngOnDestroy(): void;
|
|
34
34
|
writeValue(model: Date): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { PickerLocaleModel } from '../model/picker-locale-model';
|
|
4
|
-
import { PickerLocaleService } from '../service/picker-locale.service';
|
|
5
3
|
import { DatePickerMode } from '../model/date-picker-mode.enum';
|
|
4
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
5
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const MONTH_PICKER_CONTROL_VALUE_ACCESSOR: any;
|
|
8
8
|
export declare class MonthPickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
9
|
-
localeService:
|
|
9
|
+
localeService: TetaConfigService;
|
|
10
10
|
private _cdr;
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
minDate: Date;
|
|
@@ -17,7 +17,7 @@ export declare class MonthPickerComponent implements ControlValueAccessor, OnIni
|
|
|
17
17
|
private readonly classDatepicker;
|
|
18
18
|
private readonly tabindex;
|
|
19
19
|
datePickerModeEnum: typeof DatePickerMode;
|
|
20
|
-
locale:
|
|
20
|
+
locale: TetaLocalisation;
|
|
21
21
|
today: Date;
|
|
22
22
|
displayMode: DatePickerMode;
|
|
23
23
|
_value: Date | null;
|
|
@@ -30,7 +30,7 @@ export declare class MonthPickerComponent implements ControlValueAccessor, OnIni
|
|
|
30
30
|
get currentYear(): number | null;
|
|
31
31
|
set currentYear(v: number | null);
|
|
32
32
|
private _alive;
|
|
33
|
-
constructor(localeService:
|
|
33
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef);
|
|
34
34
|
writeValue(value: any): void;
|
|
35
35
|
initPicker(date: Date): void;
|
|
36
36
|
setDefaults(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PickerLocaleModel } from '../model/picker-locale-model';
|
|
3
2
|
import { PickerTouchService } from '../service/picker-touch.service';
|
|
3
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MonthSelectComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
6
|
private _elementRef;
|
|
7
7
|
private _cdr;
|
|
8
8
|
private _pickerTouchService;
|
|
9
|
-
locale:
|
|
9
|
+
locale: TetaLocalisation;
|
|
10
10
|
minDate: Date;
|
|
11
11
|
maxDate: Date;
|
|
12
12
|
size: number;
|
|
@@ -14,7 +14,7 @@ export declare class DropdownBase {
|
|
|
14
14
|
verticalAlign: VerticalAlign;
|
|
15
15
|
appendToBody: boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
|
-
|
|
17
|
+
backdrop: boolean;
|
|
18
18
|
className: string | string[];
|
|
19
19
|
set open(val: boolean);
|
|
20
20
|
get open(): boolean;
|
|
@@ -25,6 +25,7 @@ export declare class DropdownBase {
|
|
|
25
25
|
protected _head: ElementRef;
|
|
26
26
|
protected _content: DropdownContentDirective;
|
|
27
27
|
protected _body: HTMLElement | null;
|
|
28
|
+
protected _backdrop: HTMLElement | null;
|
|
28
29
|
protected _open: boolean;
|
|
29
30
|
protected _alive: boolean;
|
|
30
31
|
constructor(_cdr: ChangeDetectorRef, _document: any, _elementRef: ElementRef<HTMLElement>, _zone: NgZone, _renderer: Renderer2);
|
|
@@ -35,5 +36,5 @@ export declare class DropdownBase {
|
|
|
35
36
|
private openDropdown;
|
|
36
37
|
private setPosition;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownBase, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownBase, never, never, { "align": "align"; "verticalAlign": "verticalAlign"; "appendToBody": "appendToBody"; "disabled": "disabled"; "
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownBase, never, never, { "align": "align"; "verticalAlign": "verticalAlign"; "appendToBody": "appendToBody"; "disabled": "disabled"; "backdrop": "backdrop"; "className": "className"; "open": "open"; "autoClose": "autoClose"; "autoCloseIgnore": "autoCloseIgnore"; }, { "openChange": "openChange"; }, ["_head", "_content"]>;
|
|
39
40
|
}
|
|
@@ -3,9 +3,11 @@ import { EventEmitter } from '@angular/core';
|
|
|
3
3
|
import { FilterItem } from '../contarct/filter-item';
|
|
4
4
|
import { IFilter } from '../contarct/i-filter';
|
|
5
5
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
6
|
-
|
|
6
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
7
|
+
export declare abstract class FilterComponentBase<T> {
|
|
7
8
|
abstract column: FilterItem;
|
|
8
9
|
abstract state: FilterState;
|
|
10
|
+
abstract data: TableRow<T>[];
|
|
9
11
|
abstract filterOptions: IIdName<any>[];
|
|
10
12
|
abstract filterChanged: EventEmitter<IFilter>;
|
|
11
13
|
}
|
|
@@ -5,10 +5,12 @@ import { IIdName } from '../../../common/contract/i-id-name';
|
|
|
5
5
|
import { FilterBase } from '../base/filter-base';
|
|
6
6
|
import { FilterState } from '../contarct/filter-state';
|
|
7
7
|
import { BooleanFilter } from '../contarct/boolean-filter';
|
|
8
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class BooleanFilterComponent extends FilterComponentBase implements OnInit {
|
|
10
|
+
export declare class BooleanFilterComponent<T> extends FilterComponentBase<T> implements OnInit {
|
|
10
11
|
private changeDetector;
|
|
11
12
|
column: FilterItem;
|
|
13
|
+
data: TableRow<T>[];
|
|
12
14
|
filterOptions: IIdName<any>[];
|
|
13
15
|
filterChanged: EventEmitter<FilterBase>;
|
|
14
16
|
filter: BooleanFilter;
|
|
@@ -19,6 +21,6 @@ export declare class BooleanFilterComponent extends FilterComponentBase implemen
|
|
|
19
21
|
ngOnInit(): void;
|
|
20
22
|
setFilter(): void;
|
|
21
23
|
private getFilter;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterComponent
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterComponent
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterComponent<any>, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterComponent<any>, "teta-boolean-filter", never, { "column": "column"; "data": "data"; "filterOptions": "filterOptions"; "state": "state"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
24
26
|
}
|
|
@@ -5,19 +5,26 @@ import { FilterBase } from '../base/filter-base';
|
|
|
5
5
|
import { FilterComponentBase } from '../base/filter-component-base';
|
|
6
6
|
import { FilterItem } from '../contarct/filter-item';
|
|
7
7
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
8
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
11
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
8
12
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DateFilterComponent extends FilterComponentBase implements OnInit {
|
|
13
|
+
export declare class DateFilterComponent<T> extends FilterComponentBase<T> implements OnInit {
|
|
10
14
|
private changeDetector;
|
|
15
|
+
private _config;
|
|
11
16
|
column: FilterItem;
|
|
17
|
+
data: TableRow<T>[];
|
|
12
18
|
filterOptions: IIdName<any>[];
|
|
13
19
|
filterChanged: EventEmitter<FilterBase>;
|
|
14
20
|
filter: DateFilter;
|
|
15
21
|
state$: FilterState;
|
|
16
22
|
set state(val: FilterState);
|
|
17
23
|
get state(): FilterState;
|
|
18
|
-
|
|
24
|
+
locale: Observable<TetaLocalisation>;
|
|
25
|
+
constructor(changeDetector: ChangeDetectorRef, _config: TetaConfigService);
|
|
19
26
|
ngOnInit(): void;
|
|
20
27
|
private getFilter;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent<any>, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent<any>, "teta-date-filter", never, { "column": "column"; "data": "data"; "filterOptions": "filterOptions"; "state": "state"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
23
30
|
}
|
|
@@ -3,22 +3,25 @@ import { FilterState } from '../contarct/filter-state';
|
|
|
3
3
|
import { FilterItem } from '../contarct/filter-item';
|
|
4
4
|
import { FilterBase } from '../base/filter-base';
|
|
5
5
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
6
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FilterHostComponent implements OnInit, OnDestroy {
|
|
8
|
+
export declare class FilterHostComponent<T> implements OnInit, OnDestroy {
|
|
8
9
|
private viewContainerRef;
|
|
9
10
|
set column(val: FilterItem);
|
|
10
11
|
set state(val: FilterState);
|
|
12
|
+
set data(data: TableRow<T>[]);
|
|
11
13
|
set filterOptions(val: IIdName<any>[]);
|
|
12
14
|
filterChanged: EventEmitter<FilterBase>;
|
|
13
15
|
private _alive;
|
|
14
16
|
private _column;
|
|
15
17
|
private _state;
|
|
18
|
+
private _data;
|
|
16
19
|
private _filterOptions;
|
|
17
20
|
private _componentRef;
|
|
18
21
|
private _init;
|
|
19
22
|
constructor(viewContainerRef: ViewContainerRef);
|
|
20
23
|
ngOnInit(): void;
|
|
21
24
|
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHostComponent
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHostComponent
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHostComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHostComponent<any>, "teta-filter-host", never, { "column": "column"; "state": "state"; "data": "data"; "filterOptions": "filterOptions"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
24
27
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./filter-
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./filter-
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "../
|
|
13
|
-
import * as i12 from "../
|
|
14
|
-
import * as i13 from "../
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "../../directive/only-number/only-number.module";
|
|
2
|
+
import * as i1 from "./numeric-filter/numeric-filter.component";
|
|
3
|
+
import * as i2 from "./string-filter/string-filter.component";
|
|
4
|
+
import * as i3 from "./list-filter/list-filter.component";
|
|
5
|
+
import * as i4 from "./date-filter/date-filter.component";
|
|
6
|
+
import * as i5 from "./filter-host/filter-host.component";
|
|
7
|
+
import * as i6 from "./boolean-filter/boolean-filter.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "../select/select.module";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "../date-picker/date-picker.module";
|
|
12
|
+
import * as i11 from "../radio/radio.module";
|
|
13
|
+
import * as i12 from "../input/input.module";
|
|
14
|
+
import * as i13 from "../checkbox/checkbox.module";
|
|
15
|
+
import * as i14 from "../../directive/only-number/only-number.module";
|
|
17
16
|
export declare class FilterModule {
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, [typeof i1.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, [typeof i1.NumericFilterComponent, typeof i2.StringFilterComponent, typeof i3.ListFilterComponent, typeof i4.DateFilterComponent, typeof i5.FilterHostComponent, typeof i6.BooleanFilterComponent], [typeof i7.CommonModule, typeof i8.SelectModule, typeof i9.FormsModule, typeof i10.DatePickerModule, typeof i11.RadioModule, typeof i12.InputModule, typeof i13.CheckboxModule, typeof i14.OnlyNumberModule], [typeof i1.NumericFilterComponent, typeof i2.StringFilterComponent, typeof i3.ListFilterComponent, typeof i4.DateFilterComponent, typeof i5.FilterHostComponent, typeof i6.BooleanFilterComponent]>;
|
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>;
|
|
21
20
|
}
|
|
@@ -5,26 +5,33 @@ import { FilterBase } from '../base/filter-base';
|
|
|
5
5
|
import { FilterState } from '../contarct/filter-state';
|
|
6
6
|
import { FilterItem } from '../contarct/filter-item';
|
|
7
7
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
8
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
11
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
8
12
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ListFilterComponent extends FilterComponentBase implements OnInit {
|
|
13
|
+
export declare class ListFilterComponent<T> extends FilterComponentBase<T> implements OnInit {
|
|
10
14
|
private changeDetector;
|
|
15
|
+
private _config;
|
|
11
16
|
column: FilterItem;
|
|
17
|
+
data: TableRow<T>[];
|
|
12
18
|
filterOptions: IIdName<any>[];
|
|
13
19
|
filterChanged: EventEmitter<FilterBase>;
|
|
14
20
|
filter: ListFilter;
|
|
15
21
|
state$: FilterState;
|
|
16
22
|
search: string;
|
|
23
|
+
locale: Observable<TetaLocalisation>;
|
|
17
24
|
get visibleOptions(): IIdName<any>[];
|
|
18
25
|
set state(val: FilterState);
|
|
19
26
|
get state(): FilterState;
|
|
20
27
|
excluded: boolean;
|
|
21
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
28
|
+
constructor(changeDetector: ChangeDetectorRef, _config: TetaConfigService);
|
|
22
29
|
ngOnInit(): void;
|
|
23
30
|
all(): boolean;
|
|
24
31
|
setAll(value: boolean): void;
|
|
25
32
|
setType(): void;
|
|
26
33
|
setFilter(value: any[]): void;
|
|
27
34
|
private getFilter;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListFilterComponent
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListFilterComponent
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListFilterComponent<any>, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListFilterComponent<any>, "teta-list-filter", never, { "column": "column"; "data": "data"; "filterOptions": "filterOptions"; "state": "state"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
30
37
|
}
|
|
@@ -5,19 +5,26 @@ import { FilterBase } from '../base/filter-base';
|
|
|
5
5
|
import { FilterState } from '../contarct/filter-state';
|
|
6
6
|
import { FilterItem } from '../contarct/filter-item';
|
|
7
7
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
8
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
9
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
11
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
8
12
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class NumericFilterComponent extends FilterComponentBase implements OnInit {
|
|
13
|
+
export declare class NumericFilterComponent<T> extends FilterComponentBase<T> implements OnInit {
|
|
10
14
|
private changeDetector;
|
|
15
|
+
private _config;
|
|
11
16
|
column: FilterItem;
|
|
17
|
+
data: TableRow<T>[];
|
|
12
18
|
filterOptions: IIdName<any>[];
|
|
13
19
|
filterChanged: EventEmitter<FilterBase>;
|
|
14
20
|
filter: NumericFilter;
|
|
15
21
|
private state$;
|
|
16
22
|
set state(val: FilterState);
|
|
17
23
|
get state(): FilterState;
|
|
18
|
-
|
|
24
|
+
locale: Observable<TetaLocalisation>;
|
|
25
|
+
constructor(changeDetector: ChangeDetectorRef, _config: TetaConfigService);
|
|
19
26
|
ngOnInit(): void;
|
|
20
27
|
private getFilter;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterComponent
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterComponent
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterComponent<any>, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterComponent<any>, "teta-numeric-filter", never, { "column": "column"; "data": "data"; "filterOptions": "filterOptions"; "state": "state"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
23
30
|
}
|
|
@@ -5,20 +5,27 @@ import { FilterBase } from '../base/filter-base';
|
|
|
5
5
|
import { FilterComponentBase } from '../base/filter-component-base';
|
|
6
6
|
import { FilterItem } from '../contarct/filter-item';
|
|
7
7
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
8
|
+
import { TableRow } from '../../table/contract/table-row';
|
|
9
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
11
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
8
12
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class StringFilterComponent extends FilterComponentBase implements OnInit {
|
|
13
|
+
export declare class StringFilterComponent<T> extends FilterComponentBase<T> implements OnInit {
|
|
10
14
|
private changeDetector;
|
|
15
|
+
private _config;
|
|
11
16
|
column: FilterItem;
|
|
17
|
+
data: TableRow<T>[];
|
|
12
18
|
filterOptions: IIdName<any>[];
|
|
13
19
|
filterChanged: EventEmitter<FilterBase>;
|
|
14
20
|
filter: StringFilter;
|
|
15
21
|
state$: FilterState;
|
|
16
22
|
set state(val: FilterState);
|
|
17
23
|
get state(): FilterState;
|
|
18
|
-
|
|
24
|
+
locale: Observable<TetaLocalisation>;
|
|
25
|
+
constructor(changeDetector: ChangeDetectorRef, _config: TetaConfigService);
|
|
19
26
|
ngOnInit(): void;
|
|
20
27
|
setFilter(): void;
|
|
21
28
|
private getFilter;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterComponent
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterComponent
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterComponent<any>, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterComponent<any>, "teta-string-filter", never, { "column": "column"; "data": "data"; "filterOptions": "filterOptions"; "state": "state"; }, { "filterChanged": "filterChanged"; }, never, never>;
|
|
24
31
|
}
|
|
@@ -9,7 +9,7 @@ export declare class TextFieldComponent implements ControlValueAccessor {
|
|
|
9
9
|
onlyNumber: boolean;
|
|
10
10
|
invalid: boolean;
|
|
11
11
|
input: ElementRef;
|
|
12
|
-
private
|
|
12
|
+
private get tabindex();
|
|
13
13
|
private readonly textField;
|
|
14
14
|
value: string;
|
|
15
15
|
constructor(_cdr: ChangeDetectorRef);
|
|
@@ -18,7 +18,7 @@ export declare class TextFieldComponent implements ControlValueAccessor {
|
|
|
18
18
|
emitBlur(): void;
|
|
19
19
|
registerOnChange(fn: any): void;
|
|
20
20
|
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState(isDisabled: boolean): void;
|
|
21
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
22
22
|
writeValue(input: string): void;
|
|
23
23
|
onChange(input: string): void;
|
|
24
24
|
onTouched(): void;
|
|
@@ -30,7 +30,7 @@ export declare class SelectComponent implements ControlValueAccessor, OnInit {
|
|
|
30
30
|
valueDirective: SelectValueDirective;
|
|
31
31
|
open: boolean;
|
|
32
32
|
private readonly selectClass;
|
|
33
|
-
private
|
|
33
|
+
private get tabindex();
|
|
34
34
|
get isDisabled(): boolean;
|
|
35
35
|
value: any | any[];
|
|
36
36
|
searchText: string;
|
|
@@ -11,6 +11,8 @@ export declare abstract class CellComponentBase<T> implements OnInit, OnDestroy
|
|
|
11
11
|
protected cdr: ChangeDetectorRef;
|
|
12
12
|
private readonly tableCellComponent;
|
|
13
13
|
get edit(): boolean;
|
|
14
|
+
get editable(): boolean;
|
|
15
|
+
get index(): number;
|
|
14
16
|
_edit: boolean;
|
|
15
17
|
column: TableColumn;
|
|
16
18
|
filterOptions: IIdName<any>[];
|
|
@@ -24,7 +26,7 @@ export declare abstract class CellComponentBase<T> implements OnInit, OnDestroy
|
|
|
24
26
|
private init;
|
|
25
27
|
private start;
|
|
26
28
|
private stop;
|
|
27
|
-
abstract startEdit(initiator: ICellCoordinates
|
|
29
|
+
abstract startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
28
30
|
abstract stopEdit(): void;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponentBase<any>, never>;
|
|
30
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<CellComponentBase<any>, "ng-component", never, {}, {}, never, never>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { TableColumn } from '../contract/table-column';
|
|
2
|
+
import { TableRow } from '../contract/table-row';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare abstract class HeadCellComponentBase {
|
|
4
|
+
export declare abstract class HeadCellComponentBase<T> {
|
|
4
5
|
abstract column: TableColumn;
|
|
5
|
-
|
|
6
|
-
static
|
|
6
|
+
abstract data: TableRow<T>[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellComponentBase<any>, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponentBase<any>, "ng-component", never, {}, {}, never, never>;
|
|
7
9
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TableRow } from './table-row';
|
|
2
|
+
import { TableColumn } from './table-column';
|
|
3
|
+
export interface ICellInstance<T> {
|
|
4
|
+
row: TableRow<T>;
|
|
5
|
+
column: TableColumn;
|
|
6
|
+
}
|
|
7
|
+
export interface ICellInstanceEvent<T> extends ICellInstance<T> {
|
|
8
|
+
event: Event;
|
|
9
|
+
}
|
|
10
|
+
export interface ICellInstanceValue<T> extends ICellInstance<T> {
|
|
11
|
+
value: any;
|
|
12
|
+
}
|
|
@@ -3,9 +3,9 @@ export * from './column-reorder-event';
|
|
|
3
3
|
export * from './column-resize-event';
|
|
4
4
|
export * from './i-cell-coordinates';
|
|
5
5
|
export * from './i-cell-event';
|
|
6
|
+
export * from './i-cell-instance';
|
|
6
7
|
export * from './i-cell-value';
|
|
7
8
|
export * from './sort-event';
|
|
8
9
|
export * from './table-column';
|
|
9
10
|
export * from './table-column-store';
|
|
10
|
-
export * from './table-context-menu-config';
|
|
11
11
|
export * from './table-row';
|
|
@@ -5,7 +5,7 @@ import { ListFilterType } from '../../filter/enum/list-filter-type.enum';
|
|
|
5
5
|
import { TableRow } from './table-row';
|
|
6
6
|
import { AggregationType } from '../enum/aggregation-type.enum';
|
|
7
7
|
import { TemplateRef } from '@angular/core';
|
|
8
|
-
import {
|
|
8
|
+
import { ICellInstance } from './i-cell-instance';
|
|
9
9
|
export declare class TableColumn extends FilterItem {
|
|
10
10
|
/**
|
|
11
11
|
* Ширина
|
|
@@ -50,7 +50,7 @@ export declare class TableColumn extends FilterItem {
|
|
|
50
50
|
/**
|
|
51
51
|
* Колонка доступна для редактирования
|
|
52
52
|
*/
|
|
53
|
-
editable: boolean | ((coordinates:
|
|
53
|
+
editable: boolean | ((coordinates: ICellInstance<any>) => boolean);
|
|
54
54
|
/**
|
|
55
55
|
* Компонент для рендера ячейки
|
|
56
56
|
*/
|
|
@@ -123,7 +123,7 @@ export declare class TableColumn extends FilterItem {
|
|
|
123
123
|
headCellClass?: string[];
|
|
124
124
|
cellClass?: string[];
|
|
125
125
|
data?: any;
|
|
126
|
-
editable?: boolean | ((coordinates:
|
|
126
|
+
editable?: boolean | ((coordinates: ICellInstance<any>) => boolean);
|
|
127
127
|
objectType?: boolean;
|
|
128
128
|
cellComponent?: any;
|
|
129
129
|
headCellComponent?: any;
|
|
@@ -14,7 +14,7 @@ export declare class BooleanCellComponent<T> extends CellComponentBase<T> implem
|
|
|
14
14
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
15
15
|
setValue(): void;
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
-
startEdit(initiator: ICellCoordinates
|
|
17
|
+
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
18
18
|
stopEdit(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent<any>, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent<any>, "teta-boolean-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
|
|
@@ -15,7 +15,7 @@ export declare class DateCellComponent<T> extends CellComponentBase<T> implement
|
|
|
15
15
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
setValue(value: Date): void;
|
|
18
|
-
startEdit(initiator: ICellCoordinates
|
|
18
|
+
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
19
19
|
stopEdit(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent<any>, never>;
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent<any>, "teta-date-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
|