@tetacom/ng-components 1.0.150 → 1.1.0
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/color-icons.svg +521 -49
- package/assets/file-icons.svg +1 -0
- package/assets/icons.svg +138 -205
- package/component/accordion/accordion-item/accordion-item.component.d.ts +1 -4
- package/component/button/button/button.component.d.ts +1 -4
- package/component/checkbox/checkbox/checkbox.component.d.ts +1 -2
- package/component/date-picker/date-picker/date-picker.component.d.ts +68 -38
- package/component/date-picker/date-picker.module.d.ts +16 -19
- package/component/date-picker/day-select/day-select.component.d.ts +51 -0
- package/component/date-picker/model/date-picker-mode.enum.d.ts +5 -0
- package/component/date-picker/month-picker/month-picker.component.d.ts +50 -16
- package/component/date-picker/month-select/month-select.component.d.ts +40 -0
- package/component/date-picker/public-api.d.ts +4 -5
- package/component/date-picker/service/picker-touch.service.d.ts +12 -0
- package/component/date-picker/time-part-control/time-part-control.component.d.ts +26 -0
- package/component/date-picker/util/date-picker-util.d.ts +15 -0
- package/component/date-picker/year-select/year-select.component.d.ts +45 -0
- package/component/dropdown/dropdown-base.d.ts +1 -3
- package/component/filter/filter.module.d.ts +2 -1
- package/component/icon/icon-file/icon-file.component.d.ts +3 -9
- package/component/icon/icon.module.d.ts +5 -4
- package/component/icon/public-api.d.ts +0 -1
- package/component/input/input/input.component.d.ts +1 -3
- package/component/message/model/message.d.ts +0 -3
- package/component/public-api.d.ts +0 -2
- package/component/select/select/select.component.d.ts +1 -4
- package/component/select/select.module.d.ts +2 -1
- package/component/switch/switch/switch.component.d.ts +1 -4
- package/component/table/table-body/table-body.component.d.ts +1 -0
- package/component/table/table.module.d.ts +2 -1
- package/component/tree/tree.module.d.ts +2 -1
- package/directive/hint/hint.directive.d.ts +1 -3
- package/directive/only-number/only-number.directive.d.ts +2 -1
- package/directive/public-api.d.ts +1 -0
- package/directive/scrollable/public-api.d.ts +3 -0
- package/directive/scrollable/scrollable/scrollable.component.d.ts +32 -0
- package/directive/scrollable/scrollable.directive.d.ts +6 -0
- package/directive/scrollable/scrollable.module.d.ts +10 -0
- package/esm2020/component/accordion/accordion/accordion.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -13
- package/esm2020/component/button/button/button.component.mjs +3 -18
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -6
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +235 -141
- package/esm2020/component/date-picker/date-picker.module.mjs +45 -41
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +184 -0
- package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +7 -0
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +237 -33
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +148 -0
- package/esm2020/component/date-picker/public-api.mjs +5 -6
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +34 -0
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +73 -0
- package/esm2020/component/date-picker/util/date-picker-util.mjs +142 -0
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +189 -0
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +2 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +2 -6
- package/esm2020/component/dropdown/dropdown.directive.mjs +1 -1
- package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +1 -1
- package/esm2020/component/expand-card/expand-item/expand-item.component.mjs +1 -1
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +1 -1
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +1 -1
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +1 -1
- package/esm2020/component/filter/filter.module.mjs +7 -3
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +4 -3
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +1 -1
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +1 -1
- package/esm2020/component/icon/icon-file/icon-file.component.mjs +6 -20
- package/esm2020/component/icon/icon.module.mjs +6 -1
- package/esm2020/component/icon/public-api.mjs +1 -2
- package/esm2020/component/input/input/input.component.mjs +3 -6
- package/esm2020/component/input/input.module.mjs +1 -1
- package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2020/component/message/message/message.component.mjs +3 -4
- package/esm2020/component/message/message-host/message-host.component.mjs +1 -1
- package/esm2020/component/message/model/message.mjs +1 -2
- package/esm2020/component/modal/dialog/dialog.component.mjs +1 -1
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +2 -2
- package/esm2020/component/public-api.mjs +1 -4
- package/esm2020/component/select/select/select.component.mjs +6 -9
- package/esm2020/component/select/select.module.mjs +7 -3
- package/esm2020/component/switch/switch/switch.component.mjs +7 -19
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +1 -1
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +1 -1
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +1 -1
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +1 -1
- package/esm2020/component/table/table-body/table-body.component.mjs +11 -6
- package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +1 -1
- package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +4 -3
- package/esm2020/component/table/table.module.mjs +7 -3
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +1 -1
- package/esm2020/component/tree/tree/tree.component.mjs +6 -4
- package/esm2020/component/tree/tree.module.mjs +5 -4
- package/esm2020/directive/hint/hint.directive.mjs +3 -6
- package/esm2020/directive/only-number/only-number.directive.mjs +12 -2
- package/esm2020/directive/public-api.mjs +2 -1
- package/esm2020/directive/scrollable/public-api.mjs +4 -0
- package/esm2020/directive/scrollable/scrollable/scrollable.component.mjs +96 -0
- package/esm2020/directive/scrollable/scrollable.directive.mjs +19 -0
- package/esm2020/directive/scrollable/scrollable.module.mjs +33 -0
- package/esm2020/locale/en.mjs +1 -3
- package/esm2020/locale/ru.mjs +1 -3
- package/esm2020/locale/teta-localisation.mjs +1 -1
- package/esm2020/observable/animation-frame.mjs +30 -0
- package/esm2020/observable/public-api.mjs +2 -1
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +18 -0
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +21 -0
- package/fesm2015/tetacom-ng-components.mjs +5483 -5181
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +3333 -3025
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/locale/teta-localisation.d.ts +0 -2
- package/observable/animation-frame.d.ts +4 -0
- package/observable/public-api.d.ts +1 -0
- package/package.json +2 -3
- package/pipe/prepend-zero/prepend-zero.module.d.ts +8 -0
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +7 -0
- package/style/accordion.scss +6 -28
- package/style/assembly-library.scss +1 -4
- package/style/assembly-presets.scss +1 -0
- package/style/button.scss +13 -16
- package/style/checkbox.scss +13 -26
- package/style/chips.scss +10 -10
- package/style/color.scss +36 -1
- package/style/datepicker.scss +24 -139
- package/style/drag.scss +1 -1
- package/style/dropdown.scss +4 -6
- package/style/hint.scss +5 -5
- package/style/icon.scss +1 -2
- package/style/input.scss +23 -32
- package/style/layout.scss +2 -6
- package/style/library.scss +17 -0
- package/style/list.scss +8 -11
- package/style/loader.scss +2 -2
- package/style/message.scss +7 -15
- package/style/modal.scss +2 -3
- package/style/navigation.scss +1 -4
- package/style/presets/color-presets.scss +160 -8
- package/style/presets/font-presets.scss +25 -26
- package/style/presets/shadow-presets.scss +16 -0
- package/style/progress.scss +3 -3
- package/style/radio.scss +7 -21
- package/style/resize-panel.scss +2 -2
- package/style/scroll.scss +21 -17
- package/style/select.scss +21 -26
- package/style/shadow.scss +20 -0
- package/style/sidebar.scss +1 -1
- package/style/switch.scss +10 -15
- package/style/table.scss +15 -17
- package/style/tabs.scss +11 -11
- package/style/toggle.scss +18 -20
- package/style/tokens/basedark.tokens.css +77 -0
- package/style/tokens/baselight.tokens.css +61 -0
- package/style/tokens/global.tokens.css +235 -0
- package/style/tokens/utility.tokens.css +1119 -0
- package/style/toolbar.scss +1 -1
- package/style/tooltip.scss +6 -8
- package/style/tree.scss +4 -4
- package/style/util/button-util.scss +58 -0
- package/common/model/view-type.model.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +0 -17
- package/component/avatar/avatar.module.d.ts +0 -9
- package/component/avatar/model/avatar-color.enum.d.ts +0 -20
- package/component/avatar/public-api.d.ts +0 -2
- package/component/date-picker/base-calendar.d.ts +0 -49
- package/component/date-picker/base-picker.d.ts +0 -60
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -20
- package/component/date-picker/date-range/date-range.component.d.ts +0 -46
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -39
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
- package/component/date-picker/day-picker/day-picker.component.d.ts +0 -30
- package/component/date-picker/model/from-to.model.d.ts +0 -4
- package/component/date-picker/model/min-max-date.model.d.ts +0 -4
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
- package/component/date-picker/year-picker/year-picker.component.d.ts +0 -24
- package/component/divider/divider/divider.component.d.ts +0 -10
- package/component/divider/divider.module.d.ts +0 -8
- package/component/divider/public-api.d.ts +0 -2
- package/component/icon/icon-file/icon-file.module.d.ts +0 -9
- package/esm2020/common/model/view-type.model.mjs +0 -2
- package/esm2020/component/avatar/avatar/avatar.component.mjs +0 -57
- package/esm2020/component/avatar/avatar.module.mjs +0 -28
- package/esm2020/component/avatar/model/avatar-color.enum.mjs +0 -22
- package/esm2020/component/avatar/public-api.mjs +0 -3
- package/esm2020/component/date-picker/base-calendar.mjs +0 -99
- package/esm2020/component/date-picker/base-picker.mjs +0 -102
- package/esm2020/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +0 -49
- package/esm2020/component/date-picker/date-range/date-range.component.mjs +0 -211
- package/esm2020/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +0 -108
- package/esm2020/component/date-picker/day-picker/day-item/day-item.component.mjs +0 -15
- package/esm2020/component/date-picker/day-picker/day-picker.component.mjs +0 -113
- package/esm2020/component/date-picker/model/from-to.model.mjs +0 -2
- package/esm2020/component/date-picker/model/min-max-date.model.mjs +0 -2
- package/esm2020/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +0 -26
- package/esm2020/component/date-picker/year-picker/year-picker.component.mjs +0 -48
- package/esm2020/component/divider/divider/divider.component.mjs +0 -18
- package/esm2020/component/divider/divider.module.mjs +0 -20
- package/esm2020/component/divider/public-api.mjs +0 -3
- package/esm2020/component/icon/icon-file/icon-file.module.mjs +0 -28
- package/style/badge.scss +0 -28
- package/style/bottombar.scss +0 -5
- package/style/divider.scss +0 -15
- package/style/presets/view-types.scss +0 -15
- package/style/tag.scss +0 -37
- package/style/util/scroll-util.scss +0 -4
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { AccordionContentDirective } from '../accordion-content.directive';
|
|
3
3
|
import { AccordionComponent } from '../accordion/accordion.component';
|
|
4
|
-
import { viewType } from "../../../common/model/view-type.model";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class AccordionItemComponent implements OnInit {
|
|
7
6
|
private cdr$;
|
|
8
7
|
content: AccordionContentDirective;
|
|
9
8
|
open: boolean;
|
|
10
9
|
disabled: boolean;
|
|
11
|
-
viewType: viewType;
|
|
12
10
|
private readonly accordionItemClass;
|
|
13
|
-
get class(): string;
|
|
14
11
|
private readonly accordion$;
|
|
15
12
|
constructor(accordion: AccordionComponent, cdr$: ChangeDetectorRef);
|
|
16
13
|
toggle(): void;
|
|
17
14
|
ngOnInit(): void;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, [{ optional: true; }, null]>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "teta-accordion-item", never, { "open": "open"; "disabled": "disabled";
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "teta-accordion-item", never, { "open": "open"; "disabled": "disabled"; }, {}, ["content"], ["teta-accordion-head"], false>;
|
|
20
17
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { viewType } from "../../../common/model/view-type.model";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare type ButtonViewType = 'primary' | 'outline' | 'ghost';
|
|
5
4
|
export declare class ButtonComponent implements OnInit {
|
|
@@ -7,11 +6,9 @@ export declare class ButtonComponent implements OnInit {
|
|
|
7
6
|
class: any;
|
|
8
7
|
view: ButtonViewType;
|
|
9
8
|
square: boolean;
|
|
10
|
-
viewType: viewType;
|
|
11
|
-
size: 'm' | 'l';
|
|
12
9
|
private get getClass();
|
|
13
10
|
constructor();
|
|
14
11
|
ngOnInit(): void;
|
|
15
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[teta-button], teta-button", never, { "palette": "palette"; "class": "class"; "view": "view"; "square": "square";
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[teta-button], teta-button", never, { "palette": "palette"; "class": "class"; "view": "view"; "square": "square"; }, {}, never, ["*"], false>;
|
|
17
14
|
}
|
|
@@ -21,7 +21,6 @@ export declare class CheckboxComponent implements ControlValueAccessor, OnInit {
|
|
|
21
21
|
* true/false или list
|
|
22
22
|
*/
|
|
23
23
|
binary: boolean;
|
|
24
|
-
labelPosition: 'left' | 'right';
|
|
25
24
|
allowNull: boolean;
|
|
26
25
|
checked: boolean;
|
|
27
26
|
/**
|
|
@@ -43,5 +42,5 @@ export declare class CheckboxComponent implements ControlValueAccessor, OnInit {
|
|
|
43
42
|
registerOnTouched(fn: () => void): void;
|
|
44
43
|
setDisabledState?(isDisabled: boolean): void;
|
|
45
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "teta-checkbox", never, { "class": "class"; "palette": "palette"; "noLabel": "noLabel"; "disabled": "disabled"; "value": "value"; "binary": "binary"; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "teta-checkbox", never, { "class": "class"; "palette": "palette"; "noLabel": "noLabel"; "disabled": "disabled"; "value": "value"; "binary": "binary"; "allowNull": "allowNull"; }, {}, never, ["*"], false>;
|
|
47
46
|
}
|
|
@@ -1,50 +1,80 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { DatePeriod } from "../model/date-period";
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { DatePeriod } from '../model/date-period';
|
|
4
|
+
import { DatePickerMode } from '../model/date-picker-mode.enum';
|
|
5
|
+
import { Align } from '../../../common/enum/align.enum';
|
|
6
|
+
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
7
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
8
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare const DATE_PICKER_CONTROL_VALUE_ACCESSOR: any;
|
|
12
|
-
export declare class DatePickerComponent
|
|
13
|
-
|
|
14
|
-
_cdr
|
|
15
|
-
|
|
16
|
-
date: Date | string | number;
|
|
17
|
-
locale: string;
|
|
18
|
-
showTime: boolean;
|
|
19
|
-
minDate: Date | string | number;
|
|
20
|
-
maxDate: Date | string | number;
|
|
21
|
-
invalid: boolean;
|
|
11
|
+
export declare class DatePickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
12
|
+
localeService: TetaConfigService;
|
|
13
|
+
private _cdr;
|
|
14
|
+
private _elementRef;
|
|
22
15
|
disabled: boolean;
|
|
23
|
-
|
|
24
|
-
verticalAlign: VerticalAlign;
|
|
25
|
-
viewType: viewType;
|
|
26
|
-
appendToBody: boolean;
|
|
27
|
-
backdrop: boolean;
|
|
28
|
-
allowNull: boolean;
|
|
16
|
+
invalid: boolean;
|
|
29
17
|
firstDayOfWeek: number;
|
|
30
18
|
disabledDates: Date[];
|
|
31
19
|
disabledPeriods: DatePeriod[];
|
|
32
20
|
disabledDays: number[];
|
|
21
|
+
minDate: Date;
|
|
22
|
+
maxDate: Date;
|
|
33
23
|
minYearDate: Date;
|
|
34
24
|
maxYearDate: Date;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
align: Align;
|
|
26
|
+
verticalAlign: VerticalAlign;
|
|
27
|
+
appendToBody: boolean;
|
|
28
|
+
allowNull: boolean;
|
|
29
|
+
backdrop: boolean;
|
|
30
|
+
showTime: boolean;
|
|
31
|
+
set format(val: string);
|
|
32
|
+
get format(): string;
|
|
33
|
+
open: boolean;
|
|
34
|
+
private readonly classDatepicker;
|
|
35
|
+
private readonly tabindex;
|
|
36
|
+
locale: TetaLocalisation;
|
|
37
|
+
today: Date;
|
|
38
|
+
datePickerModeEnum: typeof DatePickerMode;
|
|
39
|
+
displayMode: DatePickerMode;
|
|
40
|
+
_format: string;
|
|
41
|
+
_value: Date | null;
|
|
42
|
+
_currentValue: Date;
|
|
43
|
+
private _alive;
|
|
44
|
+
get value(): Date | null;
|
|
45
|
+
set value(v: Date | null);
|
|
46
|
+
get currentValue(): Date;
|
|
47
|
+
set currentValue(date: Date);
|
|
48
|
+
get internalValue(): Date;
|
|
49
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
|
|
50
|
+
keyUp(event: KeyboardEvent): void;
|
|
51
|
+
writeValue(value: any): void;
|
|
52
|
+
onChange: (_: any) => void;
|
|
53
|
+
onTouched: () => void;
|
|
54
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
55
|
+
registerOnTouched(fn: () => void): void;
|
|
56
|
+
setDisabledState(isDisabled: boolean): void;
|
|
40
57
|
ngOnInit(): void;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
setDate(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
58
|
+
ngOnDestroy(): void;
|
|
59
|
+
applyValue(date: Date): void;
|
|
60
|
+
setDate: (day: Date) => void;
|
|
61
|
+
setYear: (year: number) => void;
|
|
62
|
+
setMonth: (month: number) => void;
|
|
63
|
+
setHour: (hours: number) => void;
|
|
64
|
+
setMinute: (minute: number) => void;
|
|
65
|
+
setSecond: (seconds: number) => void;
|
|
66
|
+
setToday: () => void;
|
|
67
|
+
clearPicker: (event: MouseEvent) => void;
|
|
68
|
+
isDateInDisabledPeriod: (dat: Date) => boolean;
|
|
69
|
+
isScrollIgnored: () => boolean;
|
|
70
|
+
scrollMonth: (e: any) => boolean;
|
|
71
|
+
scrollYear: (e: any) => boolean;
|
|
72
|
+
openPicker: (show: boolean) => void;
|
|
73
|
+
closePicker: () => void;
|
|
74
|
+
preventEvent: (event: any) => boolean;
|
|
75
|
+
focus(): void;
|
|
76
|
+
setMode(mode: DatePickerMode): void;
|
|
77
|
+
private emptyDate;
|
|
48
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "teta-date-picker", 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, false>;
|
|
50
80
|
}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./date-picker/date-
|
|
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 "./
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "@angular/
|
|
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 "
|
|
17
|
-
import * as i16 from "../input/input.module";
|
|
18
|
-
import * as i17 from "../../directive/scroll-into-view/scroll-into-view.module";
|
|
19
|
-
import * as i18 from "../../directive/click-outside/click-outside.module";
|
|
2
|
+
import * as i1 from "./date-picker/date-picker.component";
|
|
3
|
+
import * as i2 from "./month-picker/month-picker.component";
|
|
4
|
+
import * as i3 from "./day-select/day-select.component";
|
|
5
|
+
import * as i4 from "./year-select/year-select.component";
|
|
6
|
+
import * as i5 from "./month-select/month-select.component";
|
|
7
|
+
import * as i6 from "./time-part-control/time-part-control.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "../dropdown/dropdown.module";
|
|
10
|
+
import * as i9 from "../../directive/click-outside/click-outside.module";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "../icon/icon.module";
|
|
13
|
+
import * as i12 from "../../pipe/prepend-zero/prepend-zero.module";
|
|
14
|
+
import * as i13 from "../button/button.module";
|
|
15
|
+
import * as i14 from "../../directive/only-number/only-number.module";
|
|
16
|
+
import * as i15 from "../../directive/scrollable/scrollable.module";
|
|
20
17
|
export declare class DatePickerModule {
|
|
21
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent, typeof i2.MonthPickerComponent, typeof i3.DaySelectComponent, typeof i4.YearSelectComponent, typeof i5.MonthSelectComponent, typeof i6.TimePartControlComponent], [typeof i7.CommonModule, typeof i8.DropdownModule, typeof i9.ClickOutsideModule, typeof i10.FormsModule, typeof i11.IconModule, typeof i12.PrependZeroModule, typeof i13.ButtonModule, typeof i14.OnlyNumberModule, typeof i15.ScrollableModule], [typeof i1.DatePickerComponent, typeof i2.MonthPickerComponent]>;
|
|
23
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
24
21
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DayModel } from '../model/day-model';
|
|
3
|
+
import { DatePeriod } from '../model/date-period';
|
|
4
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
6
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare const DAY_SELECT_CONTROL_VALUE_ACCESSOR: any;
|
|
9
|
+
export declare class DaySelectComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
10
|
+
localeService: TetaConfigService;
|
|
11
|
+
private _cdr;
|
|
12
|
+
private _elementRef;
|
|
13
|
+
firstDayOfWeek: number;
|
|
14
|
+
disabledDates: Date[];
|
|
15
|
+
disabledPeriods: DatePeriod[];
|
|
16
|
+
disabledDays: number[];
|
|
17
|
+
set minDate(d: Date);
|
|
18
|
+
set maxDate(d: Date);
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
dateSelected: EventEmitter<Date>;
|
|
21
|
+
monthSelected: EventEmitter<number>;
|
|
22
|
+
yearSelected: EventEmitter<number>;
|
|
23
|
+
locale: TetaLocalisation;
|
|
24
|
+
value: Date;
|
|
25
|
+
_currentValue: Date;
|
|
26
|
+
private _minDate;
|
|
27
|
+
private _maxDate;
|
|
28
|
+
set currentValue(val: Date);
|
|
29
|
+
get currentValue(): Date;
|
|
30
|
+
days: Array<DayModel>;
|
|
31
|
+
weekDays: number[];
|
|
32
|
+
private _alive;
|
|
33
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
writeValue(model: Date): void;
|
|
37
|
+
onChange(_: any): void;
|
|
38
|
+
onTouched(): void;
|
|
39
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
40
|
+
registerOnTouched(fn: () => void): void;
|
|
41
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
42
|
+
applyValue(day: DayModel, event: MouseEvent): void;
|
|
43
|
+
setDate(day: DayModel, event: MouseEvent): void;
|
|
44
|
+
scrollMonth(event: WheelEvent | number): void;
|
|
45
|
+
private createWeekDays;
|
|
46
|
+
private createDays;
|
|
47
|
+
private checkDays;
|
|
48
|
+
private preventEvent;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaySelectComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaySelectComponent, "teta-day-select", never, { "firstDayOfWeek": "firstDayOfWeek"; "disabledDates": "disabledDates"; "disabledPeriods": "disabledPeriods"; "disabledDays": "disabledDays"; "minDate": "minDate"; "maxDate": "maxDate"; "disabled": "disabled"; }, { "dateSelected": "dateSelected"; "monthSelected": "monthSelected"; "yearSelected": "yearSelected"; }, never, never, false>;
|
|
51
|
+
}
|
|
@@ -1,20 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { DatePickerMode } from '../model/date-picker-mode.enum';
|
|
4
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
5
|
+
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
export declare const MONTH_PICKER_CONTROL_VALUE_ACCESSOR: any;
|
|
8
|
+
export declare class MonthPickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
9
|
+
localeService: TetaConfigService;
|
|
10
|
+
private _cdr;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
minDate: Date;
|
|
13
|
+
maxDate: Date;
|
|
14
|
+
showToday: boolean;
|
|
15
|
+
appendToBody: boolean;
|
|
16
|
+
showPicker: boolean;
|
|
17
|
+
private readonly classDatepicker;
|
|
18
|
+
private readonly tabindex;
|
|
19
|
+
datePickerModeEnum: typeof DatePickerMode;
|
|
20
|
+
locale: TetaLocalisation;
|
|
21
|
+
today: Date;
|
|
22
|
+
displayMode: DatePickerMode;
|
|
23
|
+
_value: Date | null;
|
|
24
|
+
_currentMonth: number | null;
|
|
25
|
+
_currentYear: number | null;
|
|
26
|
+
get value(): any;
|
|
27
|
+
set value(v: any);
|
|
28
|
+
get currentMonth(): number | null;
|
|
29
|
+
set currentMonth(v: number | null);
|
|
30
|
+
get currentYear(): number | null;
|
|
31
|
+
set currentYear(v: number | null);
|
|
32
|
+
private _alive;
|
|
33
|
+
constructor(localeService: TetaConfigService, _cdr: ChangeDetectorRef);
|
|
34
|
+
writeValue(value: any): void;
|
|
35
|
+
initPicker(date: Date): void;
|
|
36
|
+
setDefaults(): void;
|
|
37
|
+
clearPicker(): void;
|
|
38
|
+
onChange: (_: any) => void;
|
|
39
|
+
onTouched: () => void;
|
|
40
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
41
|
+
registerOnTouched(fn: () => void): void;
|
|
17
42
|
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
isMinInvalid: (dat: Date) => boolean;
|
|
45
|
+
isMaxInvalid: (dat: Date) => boolean;
|
|
46
|
+
scrollMonth: (e: any) => void;
|
|
47
|
+
scrollYear: (e: any) => void;
|
|
48
|
+
setMonth: (month: number) => void;
|
|
49
|
+
setYear: (year: number) => void;
|
|
50
|
+
setToday: () => void;
|
|
51
|
+
setMode(mode: DatePickerMode): void;
|
|
18
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonthPickerComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthPickerComponent, "teta-month-picker", never, { "
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthPickerComponent, "teta-month-picker", never, { "disabled": "disabled"; "minDate": "minDate"; "maxDate": "maxDate"; "showToday": "showToday"; "appendToBody": "appendToBody"; }, {}, never, never, false>;
|
|
20
54
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PickerTouchService } from '../service/picker-touch.service';
|
|
3
|
+
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MonthSelectComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
|
+
private _elementRef;
|
|
7
|
+
private _cdr;
|
|
8
|
+
private _pickerTouchService;
|
|
9
|
+
locale: TetaLocalisation;
|
|
10
|
+
minDate: Date;
|
|
11
|
+
maxDate: Date;
|
|
12
|
+
size: number;
|
|
13
|
+
monthSelected: EventEmitter<number>;
|
|
14
|
+
monthApplied: EventEmitter<number>;
|
|
15
|
+
_currentMonth: number;
|
|
16
|
+
set currentMonth(val: number);
|
|
17
|
+
get currentMonth(): number;
|
|
18
|
+
_currentYear: number;
|
|
19
|
+
set currentYear(val: number);
|
|
20
|
+
get currentYear(): number;
|
|
21
|
+
today: Date;
|
|
22
|
+
months: number[];
|
|
23
|
+
shift: number;
|
|
24
|
+
private _alive;
|
|
25
|
+
private get _displayDate();
|
|
26
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _pickerTouchService: PickerTouchService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
scrollMonthSelector: (e: WheelEvent) => void;
|
|
31
|
+
shiftMonthSelector: (step?: number) => void;
|
|
32
|
+
setMonth: (e: any, month: number) => void;
|
|
33
|
+
applyMonth: (e: any, month: number) => void;
|
|
34
|
+
isMonthDisabled: (month: number) => boolean;
|
|
35
|
+
isMinInvalid: (dat: Date) => boolean;
|
|
36
|
+
isMaxInvalid: (dat: Date) => boolean;
|
|
37
|
+
private makeMonths;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonthSelectComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthSelectComponent, "teta-month-select", never, { "locale": "locale"; "minDate": "minDate"; "maxDate": "maxDate"; "size": "size"; "currentMonth": "currentMonth"; "currentYear": "currentYear"; }, { "monthSelected": "monthSelected"; "monthApplied": "monthApplied"; }, never, never, false>;
|
|
40
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from './
|
|
4
|
-
export * from
|
|
5
|
-
export * from './date-range/range-calendar/range-calendar.component';
|
|
1
|
+
export * from './date-picker.module';
|
|
2
|
+
export * from './date-picker/date-picker.component';
|
|
3
|
+
export * from './month-picker/month-picker.component';
|
|
4
|
+
export * from './day-select/day-select.component';
|
|
6
5
|
export * from './model/date-period';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PickerTouchService {
|
|
4
|
+
step: Observable<number>;
|
|
5
|
+
private touchMove;
|
|
6
|
+
private touchMove$;
|
|
7
|
+
private step$;
|
|
8
|
+
constructor();
|
|
9
|
+
onTouchMove(event: TouchEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PickerTouchService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PickerTouchService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const TIME_PART_CONTROL_VALUE_ACCESSOR: any;
|
|
5
|
+
export declare class TimePartControlComponent implements OnInit, ControlValueAccessor {
|
|
6
|
+
private _cdr;
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
private _value;
|
|
11
|
+
set value(value: number);
|
|
12
|
+
get value(): number;
|
|
13
|
+
constructor(_cdr: ChangeDetectorRef);
|
|
14
|
+
up(): void;
|
|
15
|
+
down(): void;
|
|
16
|
+
scroll: (e: any) => void;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
writeValue(model: number): void;
|
|
19
|
+
onChange(_: any): void;
|
|
20
|
+
onTouched(): void;
|
|
21
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
22
|
+
registerOnTouched(fn: () => void): void;
|
|
23
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimePartControlComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePartControlComponent, "teta-time-part-control", never, { "min": "min"; "max": "max"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DatePeriod } from '../model/date-period';
|
|
2
|
+
import { DayModel } from '../model/day-model';
|
|
3
|
+
export declare class DatePickerUtil {
|
|
4
|
+
static getFirstDay(month: number, year: number, firstDayOfWeek: number): Date;
|
|
5
|
+
static getPickerDays(date: Date, firstDayOfWeek: number, minDate: Date, maxDate: Date, disabledDates: Date[], disabledDays: number[], disabledPeriods: DatePeriod[]): DayModel[];
|
|
6
|
+
static isDateInvalid(dat: Date, minDate: Date, maxDate: Date, disabledDates: Date[], disabledDays: number[], disabledPeriods: DatePeriod[]): boolean;
|
|
7
|
+
static isDayDisabled(dat: Date, disabledDays: number[]): boolean;
|
|
8
|
+
static isMinInvalid(dat: Date, minDate: Date): boolean;
|
|
9
|
+
static isMaxInvalid(dat: Date, maxDate: Date): boolean;
|
|
10
|
+
static isDateInDisabledPeriod(dat: Date, disabledPeriods: DatePeriod[]): boolean;
|
|
11
|
+
static isDateDisabled(dat: Date, disabledDates: Date[]): boolean;
|
|
12
|
+
static isToday(dat: Date): boolean;
|
|
13
|
+
static scrollMonth(delta: number, date: Date): Date;
|
|
14
|
+
static scrollYear(delta: number, date: Date): Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PickerTouchService } from '../service/picker-touch.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class YearSelectComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
5
|
+
private _cdr;
|
|
6
|
+
private _pickerTouchService;
|
|
7
|
+
private _elementRef;
|
|
8
|
+
currentYear: number;
|
|
9
|
+
today: Date;
|
|
10
|
+
size: number;
|
|
11
|
+
minDate: Date;
|
|
12
|
+
maxDate: Date;
|
|
13
|
+
allowableRange: number[];
|
|
14
|
+
yearSelected: EventEmitter<number>;
|
|
15
|
+
yearApplied: EventEmitter<number>;
|
|
16
|
+
minYearDate: Date;
|
|
17
|
+
maxYearDate: Date;
|
|
18
|
+
years: number[];
|
|
19
|
+
minYearList: number[];
|
|
20
|
+
maxYearList: number[];
|
|
21
|
+
decreaseInterval: number;
|
|
22
|
+
increaseInterval: number;
|
|
23
|
+
private _alive;
|
|
24
|
+
constructor(_cdr: ChangeDetectorRef, _pickerTouchService: PickerTouchService, _elementRef: ElementRef);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
scrollYearSelector: (e: WheelEvent) => void;
|
|
29
|
+
setYear: (e: any, year: number) => void;
|
|
30
|
+
applyYear: (e: any, year: number) => void;
|
|
31
|
+
initYearSelector: (year: number) => void;
|
|
32
|
+
initMinYearList: () => void;
|
|
33
|
+
initMaxYearList: () => void;
|
|
34
|
+
checkRanges: () => void;
|
|
35
|
+
shiftYearSelector: (step?: number) => void;
|
|
36
|
+
decreaseYearSelector: (step?: number) => void;
|
|
37
|
+
increaseYearSelector: (step?: number) => void;
|
|
38
|
+
isMinYear: (dat: Date) => boolean;
|
|
39
|
+
isMaxYear: (dat: Date) => boolean;
|
|
40
|
+
isYearDisabled: (year: number) => boolean;
|
|
41
|
+
isMinInvalid: (dat: Date) => boolean;
|
|
42
|
+
isMaxInvalid: (dat: Date) => boolean;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YearSelectComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YearSelectComponent, "teta-year-select", never, { "currentYear": "currentYear"; "today": "today"; "size": "size"; "minDate": "minDate"; "maxDate": "maxDate"; "allowableRange": "allowableRange"; }, { "yearSelected": "yearSelected"; "yearApplied": "yearApplied"; }, never, never, false>;
|
|
45
|
+
}
|
|
@@ -3,7 +3,6 @@ import { Align } from '../../common/enum/align.enum';
|
|
|
3
3
|
import { VerticalAlign } from '../../common/enum/vertical-align.enum';
|
|
4
4
|
import { DropdownContentDirective } from './dropdown-content.directive';
|
|
5
5
|
import { AutoCloseIgnoreCase } from '../../common/contract/auto-close-ignore-case';
|
|
6
|
-
import { viewType } from '../../common/model/view-type.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class DropdownBase {
|
|
9
8
|
protected _cdr: ChangeDetectorRef;
|
|
@@ -17,7 +16,6 @@ export declare class DropdownBase {
|
|
|
17
16
|
disabled: boolean;
|
|
18
17
|
backdrop: boolean;
|
|
19
18
|
className: string | string[];
|
|
20
|
-
viewType: viewType;
|
|
21
19
|
set open(val: boolean);
|
|
22
20
|
get open(): boolean;
|
|
23
21
|
get container(): any;
|
|
@@ -41,5 +39,5 @@ export declare class DropdownBase {
|
|
|
41
39
|
private openDropdown;
|
|
42
40
|
private setPosition;
|
|
43
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownBase, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownBase, never, never, { "align": "align"; "verticalAlign": "verticalAlign"; "appendToBody": "appendToBody"; "disabled": "disabled"; "backdrop": "backdrop"; "className": "className"; "
|
|
42
|
+
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"], never, false>;
|
|
45
43
|
}
|
|
@@ -13,8 +13,9 @@ import * as i11 from "../radio/radio.module";
|
|
|
13
13
|
import * as i12 from "../input/input.module";
|
|
14
14
|
import * as i13 from "../checkbox/checkbox.module";
|
|
15
15
|
import * as i14 from "../../directive/only-number/only-number.module";
|
|
16
|
+
import * as i15 from "../../directive/scrollable/scrollable.module";
|
|
16
17
|
export declare class FilterModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>;
|
|
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]>;
|
|
19
|
+
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 i15.ScrollableModule], [typeof i1.NumericFilterComponent, typeof i2.StringFilterComponent, typeof i3.ListFilterComponent, typeof i4.DateFilterComponent, typeof i5.FilterHostComponent, typeof i6.BooleanFilterComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>;
|
|
20
21
|
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IconFileComponent
|
|
4
|
-
|
|
5
|
-
class: any;
|
|
6
|
-
private get getClass();
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
getName(): string;
|
|
2
|
+
export declare class IconFileComponent {
|
|
3
|
+
extension: 'csv' | 'doc' | 'docx' | 'pdf' | 'txt' | 'las' | 'xls' | 'jpeg' | 'jpg' | 'png';
|
|
10
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconFileComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconFileComponent, "teta-icon-file", never, { "
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconFileComponent, "teta-icon-file", never, { "extension": "extension"; }, {}, never, never, false>;
|
|
12
6
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./icon/icon.component";
|
|
3
|
-
import * as i2 from "./icon-
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/common
|
|
3
|
+
import * as i2 from "./icon-file/icon-file.component";
|
|
4
|
+
import * as i3 from "./icon-sprite.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/common/http";
|
|
6
7
|
export declare class IconModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconComponent, typeof i2.IconSpriteDirective], [typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconComponent, typeof i2.IconFileComponent, typeof i3.IconSpriteDirective], [typeof i4.CommonModule, typeof i5.HttpClientModule], [typeof i1.IconComponent, typeof i2.IconFileComponent, typeof i3.IconSpriteDirective]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
|
|
10
11
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Align } from "../../../common/enum/align.enum";
|
|
3
|
-
import { viewType } from "../../../common/model/view-type.model";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class InputComponent implements OnInit {
|
|
6
5
|
label: string;
|
|
7
6
|
hint: string;
|
|
8
|
-
viewType: viewType;
|
|
9
7
|
horizontal: boolean;
|
|
10
8
|
required: boolean;
|
|
11
9
|
get column(): boolean;
|
|
@@ -13,5 +11,5 @@ export declare class InputComponent implements OnInit {
|
|
|
13
11
|
constructor();
|
|
14
12
|
ngOnInit(): void;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "teta-input", never, { "label": "label"; "hint": "hint"; "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "teta-input", never, { "label": "label"; "hint": "hint"; "horizontal": "horizontal"; "required": "required"; }, {}, never, ["*", "message"], false>;
|
|
17
15
|
}
|