ngx-tethys 19.1.0-next.0 → 19.1.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +126 -0
- package/README.md +0 -1
- package/action/action.component.d.ts +7 -8
- package/affix/affix.component.d.ts +3 -4
- package/arrow-switcher/arrow-switcher.component.d.ts +5 -1
- package/badge/badge.component.d.ts +1 -1
- package/button/button-group.component.d.ts +5 -12
- package/button/button-icon.component.d.ts +14 -28
- package/button/button.component.d.ts +17 -27
- package/color-picker/coordinates.directive.d.ts +1 -2
- package/date-picker/abstract-picker.component.d.ts +50 -52
- package/date-picker/abstract-picker.directive.d.ts +15 -40
- package/date-picker/base-picker.component.d.ts +12 -40
- package/date-picker/date-picker.config.d.ts +3 -0
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +24 -19
- package/date-picker/lib/calendar/calendar-header.component.d.ts +15 -15
- package/date-picker/lib/calendar/calendar-table.component.d.ts +15 -16
- package/date-picker/lib/date/date-table-cell.component.d.ts +6 -3
- package/date-picker/lib/date/date-table.component.d.ts +2 -3
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +2 -3
- package/date-picker/lib/decade/decade-header.component.d.ts +2 -5
- package/date-picker/lib/decade/decade-table.component.d.ts +3 -5
- package/date-picker/lib/month/month-table.component.d.ts +1 -2
- package/date-picker/lib/popups/date-popup.component.d.ts +33 -34
- package/date-picker/lib/popups/inner-popup.component.d.ts +22 -29
- package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -4
- package/date-picker/lib/year/year-header.component.d.ts +2 -4
- package/date-picker/lib/year/year-table.component.d.ts +2 -4
- package/date-picker/month-picker.component.d.ts +2 -2
- package/date-picker/picker.component.d.ts +31 -36
- package/date-picker/picker.pipes.d.ts +4 -5
- package/date-picker/picker.util.d.ts +5 -5
- package/date-picker/picker.validators.d.ts +4 -8
- package/date-picker/quarter-picker.component.d.ts +2 -3
- package/date-picker/styles/calendar.scss +1 -1
- package/date-picker/styles/range-picker.scss +1 -0
- package/date-picker/styles/week-picker.scss +1 -0
- package/date-picker/week-picker.component.d.ts +0 -1
- package/date-picker/year-picker.component.d.ts +2 -3
- package/dropdown/dropdown-active.directive.d.ts +4 -5
- package/dropdown/dropdown-menu-item.directive.d.ts +7 -15
- package/dropdown/dropdown-menu.component.d.ts +6 -13
- package/dropdown/dropdown-submenu.component.d.ts +2 -4
- package/dropdown/dropdown.directive.d.ts +15 -25
- package/empty/empty.component.d.ts +2 -1
- package/fesm2022/ngx-tethys-action.mjs +15 -16
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +14 -18
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +15 -3
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +4 -4
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +225 -322
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +1 -0
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +2 -2
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +2 -2
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +4 -6
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +2 -2
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +861 -1078
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +5 -5
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +159 -209
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +5 -2
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +68 -88
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +10 -15
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +26 -6
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +44 -59
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +44 -42
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +291 -334
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +183 -217
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +29 -36
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +33 -41
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +7 -11
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +8 -19
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +46 -58
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +115 -157
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +100 -143
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +84 -103
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +164 -228
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +423 -586
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +1 -2
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +37 -56
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +2 -8
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +52 -66
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -2
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +244 -271
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +109 -93
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +98 -119
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +216 -284
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +281 -401
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +2 -2
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +53 -99
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/flexible-text/flexible-text.component.d.ts +9 -15
- package/grid/flex.d.ts +1 -3
- package/grid/thy-row.directive.d.ts +1 -4
- package/i18n/i18n.d.ts +7 -2
- package/i18n/locales/de-de.d.ts +5 -1
- package/i18n/locales/en-us.d.ts +5 -1
- package/i18n/locales/ja-jp.d.ts +5 -1
- package/i18n/locales/zh-hans.d.ts +5 -1
- package/i18n/locales/zh-hant.d.ts +5 -1
- package/icon/icon.component.d.ts +10 -18
- package/image/image.directive.d.ts +10 -13
- package/image/image.token.d.ts +5 -5
- package/image/preview/image-preview.component.d.ts +2 -2
- package/input-number/input-number.component.d.ts +1 -1
- package/layout/header.component.d.ts +15 -19
- package/layout/layout.component.d.ts +3 -2
- package/layout/sidebar-header.component.d.ts +7 -8
- package/layout/sidebar.component.d.ts +32 -62
- package/list/list-item-meta.component.d.ts +7 -9
- package/list/list-item.component.d.ts +0 -2
- package/list/list.component.d.ts +2 -8
- package/list/selection/selection-list.d.ts +33 -46
- package/message/abstract/abstract-message.component.d.ts +2 -3
- package/message/message-container.component.d.ts +0 -1
- package/message/message.component.d.ts +1 -3
- package/notify/notify-container.component.d.ts +0 -1
- package/notify/notify.component.d.ts +7 -12
- package/package.json +1 -1
- package/progress/progress-circle.component.d.ts +3 -5
- package/progress/progress.component.d.ts +2 -4
- package/property/properties.component.d.ts +0 -2
- package/property/property-item.component.d.ts +3 -10
- package/radio/group/radio-group.component.d.ts +5 -9
- package/rate/rate-item.component.d.ts +8 -11
- package/rate/rate.component.d.ts +18 -29
- package/resizable/resizable.directive.d.ts +20 -32
- package/resizable/resize-handle.component.d.ts +6 -7
- package/resizable/resize-handles.component.d.ts +5 -9
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +9 -15
- package/segment/segment.component.d.ts +11 -15
- package/segment/segment.token.d.ts +4 -3
- package/select/custom-select/custom-select.component.d.ts +33 -56
- package/select/native-select/native-select.component.d.ts +7 -13
- package/shared/base-form-check.component.d.ts +6 -8
- package/shared/directives/string-or-template-outlet.directive.d.ts +5 -6
- package/shared/directives/thy-autofocus.directive.d.ts +4 -6
- package/shared/directives/thy-contextmenu.directive.d.ts +2 -2
- package/shared/directives/thy-ctrl-enter.directive.d.ts +2 -2
- package/shared/directives/thy-enter.directive.d.ts +2 -2
- package/shared/directives/thy-scroll.directive.d.ts +5 -8
- package/shared/directives/thy-show.d.ts +5 -6
- package/shared/directives/thy-stop-propagation.directive.d.ts +4 -4
- package/shared/directives/view-outlet.directive.d.ts +6 -7
- package/shared/ng-transclude.directive.d.ts +2 -3
- package/shared/option/group/option-group.component.d.ts +5 -9
- package/shared/option/list-option/list-option.component.d.ts +9 -13
- package/shared/option/option.component.d.ts +10 -17
- package/shared/option/option.token.d.ts +4 -3
- package/shared/option/options-container.component.d.ts +1 -1
- package/shared/select/select-control/select-control.component.d.ts +38 -53
- package/slide/slide-body/slide-body-section.component.d.ts +2 -6
- package/slide/slide-header/slide-header.component.d.ts +6 -9
- package/space/space.component.d.ts +5 -11
- package/stepper/stepper.component.d.ts +1 -1
- package/strength/strength.component.d.ts +8 -13
- package/table/table-column.component.d.ts +15 -5
- package/time-picker/inner/inner-time-picker.class.d.ts +15 -13
- package/time-picker/inner/inner-time-picker.component.d.ts +26 -26
- package/time-picker/time-picker-panel.component.d.ts +18 -20
- package/time-picker/time-picker.component.d.ts +22 -30
- package/tooltip/tooltip.directive.d.ts +20 -22
- package/transfer/transfer-list.component.d.ts +15 -15
- package/transfer/transfer.component.d.ts +20 -23
- package/tree/tree-abstract.d.ts +5 -5
- package/tree/tree-node.component.d.ts +24 -37
- package/tree/tree.class.d.ts +4 -4
- package/tree/tree.component.d.ts +47 -75
- package/tree/tree.service.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +54 -71
- package/vote/vote.component.d.ts +13 -33
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TemplateRef, ElementRef,
|
|
1
|
+
import { TemplateRef, ElementRef, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
2
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
3
3
|
import { SelectOptionBase } from './select-option-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "ngx-tethys/util";
|
|
6
5
|
export declare class ThyOptionSelectionChangeEvent {
|
|
7
6
|
option: ThyOption;
|
|
8
7
|
isUserInput: boolean;
|
|
@@ -19,24 +18,19 @@ export declare class ThyOption extends SelectOptionBase implements OnDestroy, Hi
|
|
|
19
18
|
element: ElementRef<HTMLElement>;
|
|
20
19
|
parent: import("./option.token").IThyOptionParentComponent;
|
|
21
20
|
private cdr;
|
|
22
|
-
private _selected;
|
|
23
|
-
private _hidden;
|
|
24
|
-
private _disabled;
|
|
25
21
|
thyValue: any;
|
|
26
22
|
thyRawValue: any;
|
|
27
23
|
thyLabelText: string;
|
|
28
|
-
thyShowOptionCustom: boolean
|
|
29
|
-
thySearchKey: string
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
get thyDisabled(): boolean;
|
|
24
|
+
readonly thyShowOptionCustom: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
readonly thySearchKey: import("@angular/core").InputSignal<string>;
|
|
26
|
+
readonly template: import("@angular/core").Signal<TemplateRef<any>>;
|
|
27
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly hidden: WritableSignal<boolean>;
|
|
34
29
|
get disabled(): boolean;
|
|
35
|
-
get hidden(): boolean;
|
|
36
30
|
get tabIndex(): string;
|
|
37
|
-
|
|
38
|
-
readonly selectionChange:
|
|
39
|
-
readonly visibleChange:
|
|
31
|
+
readonly selected: WritableSignal<boolean>;
|
|
32
|
+
readonly selectionChange: import("@angular/core").OutputEmitterRef<ThyOptionSelectionChangeEvent>;
|
|
33
|
+
readonly visibleChange: import("@angular/core").OutputEmitterRef<ThyOptionVisibleChangeEvent>;
|
|
40
34
|
constructor();
|
|
41
35
|
getHostElement(): HTMLElement;
|
|
42
36
|
onClick(event: Event): void;
|
|
@@ -53,6 +47,5 @@ export declare class ThyOption extends SelectOptionBase implements OnDestroy, Hi
|
|
|
53
47
|
private emitSelectionChangeEvent;
|
|
54
48
|
ngOnDestroy(): void;
|
|
55
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyOption, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyOption, "thy-option", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyRawValue": { "alias": "thyRawValue"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyShowOptionCustom": { "alias": "thyShowOptionCustom"; "required": false; }; "thySearchKey": { "alias": "thySearchKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
57
|
-
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyOption, "thy-option", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyRawValue": { "alias": "thyRawValue"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyShowOptionCustom": { "alias": "thyShowOptionCustom"; "required": false; "isSignal": true; }; "thySearchKey": { "alias": "thySearchKey"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
58
51
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ElementRef, InjectionToken } from '@angular/core';
|
|
1
|
+
import { ElementRef, InjectionToken, InputSignal } from '@angular/core';
|
|
2
2
|
import { ThyListLayout } from '../shared.type';
|
|
3
|
+
import { ThyBooleanInput } from 'ngx-tethys/util';
|
|
3
4
|
export interface IThyOptionParentComponent {
|
|
4
5
|
isMultiple: boolean;
|
|
5
6
|
}
|
|
@@ -12,8 +13,8 @@ export interface IThyOptionComponent {
|
|
|
12
13
|
element: ElementRef<HTMLElement>;
|
|
13
14
|
}
|
|
14
15
|
export interface IThyListOptionParentComponent {
|
|
15
|
-
multiple?:
|
|
16
|
-
layout?: ThyListLayout
|
|
16
|
+
multiple?: InputSignal<ThyBooleanInput>;
|
|
17
|
+
layout?: InputSignal<ThyListLayout>;
|
|
17
18
|
toggleOption(option: IThyOptionComponent, event?: Event): void;
|
|
18
19
|
setActiveOption(option: IThyOptionComponent, event?: Event): void;
|
|
19
20
|
scrollIntoView(option: IThyOptionComponent): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ThyOptionsContainer implements OnInit {
|
|
4
|
-
optionsTemplate: TemplateRef<any
|
|
4
|
+
readonly optionsTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
5
5
|
constructor();
|
|
6
6
|
ngOnInit(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyOptionsContainer, never>;
|
|
@@ -1,64 +1,55 @@
|
|
|
1
1
|
import { ThyTagSize } from 'ngx-tethys/tag';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnInit, TemplateRef, Signal } from '@angular/core';
|
|
3
|
+
import { ThySharedLocale } from 'ngx-tethys/i18n';
|
|
3
4
|
import { SelectOptionBase } from '../../option/select-option-base';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "ngx-tethys/util";
|
|
6
6
|
export type SelectControlSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
10
10
|
export declare class ThySelectControl implements OnInit {
|
|
11
11
|
private renderer;
|
|
12
|
-
inputValue: string
|
|
13
|
-
isComposing: boolean
|
|
14
|
-
panelOpened: boolean;
|
|
15
|
-
isMultiple: boolean;
|
|
16
|
-
showSearch: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
size: SelectControlSize;
|
|
19
|
-
selectedOptions: SelectOptionBase | SelectOptionBase[];
|
|
12
|
+
inputValue: import("@angular/core").ModelSignal<string>;
|
|
13
|
+
isComposing: import("@angular/core").WritableSignal<boolean>;
|
|
20
14
|
searchInputControlClass: {
|
|
21
15
|
[key: string]: boolean;
|
|
22
16
|
};
|
|
23
|
-
|
|
17
|
+
private isFirstPanelOpenedChange;
|
|
24
18
|
private hostRenderer;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
thyBorderless: boolean;
|
|
42
|
-
thyPreset: string;
|
|
43
|
-
thyOnSearch: EventEmitter<string>;
|
|
44
|
-
thyOnRemove: EventEmitter<{
|
|
19
|
+
readonly thyPanelOpened: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly thyIsMultiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly thySelectedOptions: import("@angular/core").InputSignal<SelectOptionBase | SelectOptionBase[]>;
|
|
23
|
+
protected readonly previousSelectedOptions: import("@angular/core").WritableSignal<unknown>;
|
|
24
|
+
readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
readonly customDisplayTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
26
|
+
readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
|
|
28
|
+
readonly thySize: import("@angular/core").InputSignal<SelectControlSize>;
|
|
29
|
+
readonly tagSize: Signal<ThyTagSize>;
|
|
30
|
+
readonly thyMaxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
31
|
+
readonly thyBorderless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly thyPreset: import("@angular/core").InputSignal<string>;
|
|
33
|
+
readonly thyOnSearch: import("@angular/core").OutputEmitterRef<string>;
|
|
34
|
+
readonly thyOnRemove: import("@angular/core").OutputEmitterRef<{
|
|
45
35
|
item: SelectOptionBase;
|
|
46
36
|
$eventOrigin: Event;
|
|
47
37
|
}>;
|
|
48
|
-
thyOnClear:
|
|
49
|
-
thyOnBlur:
|
|
50
|
-
inputElement: ElementRef
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
readonly thyOnClear: import("@angular/core").OutputEmitterRef<Event>;
|
|
39
|
+
readonly thyOnBlur: import("@angular/core").OutputEmitterRef<Event>;
|
|
40
|
+
readonly inputElement: Signal<ElementRef<any>>;
|
|
41
|
+
locale: Signal<ThySharedLocale>;
|
|
42
|
+
isSelectedValue: Signal<boolean>;
|
|
43
|
+
showClearIcon: Signal<boolean>;
|
|
44
|
+
maxSelectedTags: Signal<SelectOptionBase[]>;
|
|
45
|
+
collapsedSelectedTags: Signal<SelectOptionBase[]>;
|
|
46
|
+
selectedValueStyle: Signal<{
|
|
47
|
+
display: string;
|
|
48
|
+
}>;
|
|
49
|
+
placeholderStyle: Signal<{
|
|
50
|
+
display: string;
|
|
51
|
+
}>;
|
|
52
|
+
constructor();
|
|
62
53
|
ngOnInit(): void;
|
|
63
54
|
setSelectControlClass(): void;
|
|
64
55
|
setInputValue(value: string): void;
|
|
@@ -66,15 +57,9 @@ export declare class ThySelectControl implements OnInit {
|
|
|
66
57
|
updateWidth(): void;
|
|
67
58
|
removeHandle(item: SelectOptionBase, $event: Event): void;
|
|
68
59
|
clearHandle($event: Event): void;
|
|
60
|
+
compositionChange(isComposing: boolean): void;
|
|
69
61
|
trackValue(_index: number, option: SelectOptionBase): any;
|
|
70
62
|
onBlur(event: Event): void;
|
|
71
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectControl, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
|
|
73
|
-
static ngAcceptInputType_thyPanelOpened: i1.ThyBooleanInput;
|
|
74
|
-
static ngAcceptInputType_thyIsMultiple: i1.ThyBooleanInput;
|
|
75
|
-
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
76
|
-
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
77
|
-
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
78
|
-
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
79
|
-
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "inputValue": { "alias": "inputValue"; "required": false; "isSignal": true; }; "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; "isSignal": true; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; }, { "inputValue": "inputValueChange"; "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
|
|
80
65
|
}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
3
|
/**
|
|
5
4
|
* @name thy-slide-body-section
|
|
6
5
|
* @order 50
|
|
7
6
|
*/
|
|
8
7
|
export declare class ThySlideBodySection implements OnInit {
|
|
9
|
-
thySlideBodyItem: boolean;
|
|
10
|
-
hasDivider: boolean;
|
|
11
8
|
/**
|
|
12
9
|
* 是否有分割线
|
|
13
10
|
* @default false
|
|
14
11
|
*/
|
|
15
|
-
|
|
12
|
+
readonly thyDividerBorder: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
13
|
ngOnInit(): void;
|
|
17
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideBodySection, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
|
-
static ngAcceptInputType_thyDividerBorder: i1.ThyBooleanInput;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
16
|
}
|
|
@@ -7,30 +7,27 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ThySlideHeader implements OnInit {
|
|
9
9
|
private thySlideService;
|
|
10
|
-
isIconFont: boolean;
|
|
11
|
-
private _iconName;
|
|
12
|
-
slideLayoutHeader: boolean;
|
|
13
10
|
/**
|
|
14
11
|
* 标题
|
|
15
12
|
*/
|
|
16
|
-
thyTitle: string
|
|
13
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
17
14
|
/**
|
|
18
15
|
* 标题的图标
|
|
19
16
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
readonly thyIcon: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly isIconFont: import("@angular/core").Signal<boolean>;
|
|
22
19
|
/**
|
|
23
20
|
* 自定义头模板
|
|
24
21
|
* @type TemplateRef
|
|
25
22
|
*/
|
|
26
|
-
headerTemplate: TemplateRef<any
|
|
23
|
+
readonly headerTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
27
24
|
/**
|
|
28
25
|
* 头部操作区域模板
|
|
29
26
|
* @type TemplateRef
|
|
30
27
|
*/
|
|
31
|
-
headerOperateTemplate: TemplateRef<any
|
|
28
|
+
readonly headerOperateTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
32
29
|
ngOnInit(): void;
|
|
33
30
|
closeModal(event: Event): void;
|
|
34
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideHeader, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
|
|
36
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThySpacingSize } from 'ngx-tethys/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -6,9 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* @name thySpaceItem
|
|
7
7
|
* @order 20
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThySpaceItemDirective
|
|
10
|
-
constructor();
|
|
11
|
-
ngOnInit(): void;
|
|
9
|
+
export declare class ThySpaceItemDirective {
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySpaceItemDirective, never>;
|
|
13
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySpaceItemDirective, "[thySpaceItem]", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -17,16 +15,14 @@ export declare class ThySpaceItemDirective implements OnInit {
|
|
|
17
15
|
* @name thy-space
|
|
18
16
|
* @order 10
|
|
19
17
|
*/
|
|
20
|
-
export declare class ThySpace
|
|
21
|
-
private cdr;
|
|
22
|
-
private readonly destroyRef;
|
|
18
|
+
export declare class ThySpace {
|
|
23
19
|
private hostRenderer;
|
|
24
20
|
/**
|
|
25
21
|
* 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
|
|
26
22
|
* @type string | number
|
|
27
23
|
*/
|
|
28
24
|
readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
|
|
29
|
-
space: import("@angular/core").Signal<number>;
|
|
25
|
+
readonly space: import("@angular/core").Signal<number>;
|
|
30
26
|
/**
|
|
31
27
|
* 间距垂直方向,默认是水平方向
|
|
32
28
|
*/
|
|
@@ -35,10 +31,8 @@ export declare class ThySpace implements OnInit, AfterContentInit {
|
|
|
35
31
|
* 对齐方式,可选择 `start` | `end` | `baseline` | `center`
|
|
36
32
|
*/
|
|
37
33
|
readonly thyAlign: import("@angular/core").InputSignal<string>;
|
|
38
|
-
items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
34
|
+
readonly items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
39
35
|
constructor();
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngAfterContentInit(): void;
|
|
42
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySpace, never>;
|
|
43
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyVertical": { "alias": "thyVertical"; "required": false; "isSignal": true; }; "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
44
38
|
}
|
|
@@ -20,7 +20,7 @@ export declare class ThyStepper implements IThyStepperComponent {
|
|
|
20
20
|
readonly thyShowStepHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
21
|
readonly selectionChange: import("@angular/core").OutputEmitterRef<any>;
|
|
22
22
|
readonly steps: import("@angular/core").Signal<readonly ThyStep[]>;
|
|
23
|
-
|
|
23
|
+
readonly selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
24
24
|
protected readonly selected: import("@angular/core").Signal<ThyStep>;
|
|
25
25
|
constructor();
|
|
26
26
|
private updateSelectedIndex;
|
|
@@ -17,10 +17,9 @@ declare enum ThyStrengthEnum {
|
|
|
17
17
|
export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
18
18
|
translate: ThyTranslate;
|
|
19
19
|
styleClass: boolean;
|
|
20
|
-
strengthTitle: string;
|
|
21
20
|
strength: ThyStrengthEnum;
|
|
22
21
|
locale: Signal<ThyStrengthLocale>;
|
|
23
|
-
strengthMap: {
|
|
22
|
+
readonly strengthMap: Signal<{
|
|
24
23
|
4: {
|
|
25
24
|
level: string;
|
|
26
25
|
text: string;
|
|
@@ -37,31 +36,27 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
|
37
36
|
level: string;
|
|
38
37
|
text: string;
|
|
39
38
|
};
|
|
40
|
-
}
|
|
39
|
+
}>;
|
|
41
40
|
/**
|
|
42
41
|
* 组件标题,描述程度所指类型
|
|
43
42
|
*/
|
|
44
|
-
|
|
43
|
+
readonly titleKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
45
44
|
/**
|
|
46
45
|
* 程度最高值文本
|
|
47
|
-
* @default 最高
|
|
48
46
|
*/
|
|
49
|
-
|
|
47
|
+
readonly highestKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
50
48
|
/**
|
|
51
49
|
* 程度为高值时展示的文本
|
|
52
|
-
* @default 高
|
|
53
50
|
*/
|
|
54
|
-
|
|
51
|
+
readonly highKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
55
52
|
/**
|
|
56
53
|
* 程度为中值时展示的文本
|
|
57
|
-
* @default 中
|
|
58
54
|
*/
|
|
59
|
-
|
|
55
|
+
readonly averageKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
60
56
|
/**
|
|
61
57
|
* 程度为低值时展示的文本
|
|
62
|
-
* @default 低
|
|
63
58
|
*/
|
|
64
|
-
|
|
59
|
+
readonly lowKey: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
65
60
|
private _onChange;
|
|
66
61
|
private _onTouched;
|
|
67
62
|
ngOnInit(): void;
|
|
@@ -69,6 +64,6 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
|
|
|
69
64
|
registerOnChange(fn: (value: any) => any): void;
|
|
70
65
|
registerOnTouched(fn: () => any): void;
|
|
71
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStrength, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; }; "highestKey": { "alias": "highestKey"; "required": false; }; "highKey": { "alias": "highKey"; "required": false; }; "averageKey": { "alias": "averageKey"; "required": false; }; "lowKey": { "alias": "lowKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; "isSignal": true; }; "highestKey": { "alias": "highestKey"; "required": false; "isSignal": true; }; "highKey": { "alias": "highKey"; "required": false; "isSignal": true; }; "averageKey": { "alias": "averageKey"; "required": false; "isSignal": true; }; "lowKey": { "alias": "lowKey"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
73
68
|
}
|
|
74
69
|
export {};
|
|
@@ -113,9 +113,19 @@ export declare class ThyTableColumnComponent implements OnInit {
|
|
|
113
113
|
private _generateKey;
|
|
114
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableColumnComponent, never>;
|
|
115
115
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableColumnComponent, "thy-table-column", never, { "model": { "alias": "thyModelKey"; "required": false; }; "title": { "alias": "thyTitle"; "required": false; }; "type": { "alias": "thyType"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "className": { "alias": "thyClassName"; "required": false; }; "headerClassName": { "alias": "thyHeaderClassName"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "selections": { "alias": "thySelections"; "required": false; }; "defaultText": { "alias": "thyDefaultText"; "required": false; }; "expand": { "alias": "thyExpand"; "required": false; }; "thySortable": { "alias": "thySortable"; "required": false; }; "sortDirection": { "alias": "thySortDirection"; "required": false; }; "fixed": { "alias": "thyFixed"; "required": false; }; "operational": { "alias": "thyOperational"; "required": false; }; "secondary": { "alias": "thySecondary"; "required": false; }; }, { "sortChange": "thySortChange"; }, ["headerTemplateRef", "cellTemplateRef", "templateRef"], ["*"], true, never>;
|
|
116
|
-
static ngAcceptInputType_disabled: i1.ThyBooleanInput
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
static
|
|
120
|
-
|
|
116
|
+
static ngAcceptInputType_disabled: i1.ThyBooleanInput /**
|
|
117
|
+
* thyType 为 checkbox 或者 radio 类型时选中的数据 ,支持单个对象,单个 Id,同时支持多个 Id,多个对象
|
|
118
|
+
*/;
|
|
119
|
+
static ngAcceptInputType_expand: i1.ThyBooleanInput /**
|
|
120
|
+
* thyType 为 checkbox 或者 radio 类型时选中的数据 ,支持单个对象,单个 Id,同时支持多个 Id,多个对象
|
|
121
|
+
*/;
|
|
122
|
+
static ngAcceptInputType_thySortable: i1.ThyBooleanInput /**
|
|
123
|
+
* thyType 为 checkbox 或者 radio 类型时选中的数据 ,支持单个对象,单个 Id,同时支持多个 Id,多个对象
|
|
124
|
+
*/;
|
|
125
|
+
static ngAcceptInputType_operational: i1.ThyBooleanInput /**
|
|
126
|
+
* thyType 为 checkbox 或者 radio 类型时选中的数据 ,支持单个对象,单个 Id,同时支持多个 Id,多个对象
|
|
127
|
+
*/;
|
|
128
|
+
static ngAcceptInputType_secondary: i1.ThyBooleanInput /**
|
|
129
|
+
* thyType 为 checkbox 或者 radio 类型时选中的数据 ,支持单个对象,单个 Id,同时支持多个 Id,多个对象
|
|
130
|
+
*/;
|
|
121
131
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InputSignal } from '@angular/core';
|
|
1
2
|
export interface Time {
|
|
2
3
|
hour?: string | number;
|
|
3
4
|
minute?: string | number;
|
|
@@ -14,19 +15,20 @@ export interface TimePickerControls {
|
|
|
14
15
|
canToggleMeridian: boolean;
|
|
15
16
|
}
|
|
16
17
|
export interface TimePickerComponentState {
|
|
17
|
-
min: Date
|
|
18
|
-
max: Date
|
|
19
|
-
hourStep: number
|
|
20
|
-
minuteStep: number
|
|
21
|
-
secondsStep: number
|
|
22
|
-
readonlyInput: boolean
|
|
23
|
-
disabled: boolean
|
|
24
|
-
mousewheel: boolean
|
|
25
|
-
arrowKeys: boolean
|
|
26
|
-
showSpinners: boolean
|
|
27
|
-
showMeridian: boolean
|
|
28
|
-
showSeconds: boolean
|
|
29
|
-
|
|
18
|
+
min: InputSignal<Date>;
|
|
19
|
+
max: InputSignal<Date>;
|
|
20
|
+
hourStep: InputSignal<number>;
|
|
21
|
+
minuteStep: InputSignal<number>;
|
|
22
|
+
secondsStep: InputSignal<number>;
|
|
23
|
+
readonlyInput: InputSignal<boolean>;
|
|
24
|
+
disabled: InputSignal<boolean>;
|
|
25
|
+
mousewheel: InputSignal<boolean>;
|
|
26
|
+
arrowKeys: InputSignal<boolean>;
|
|
27
|
+
showSpinners: InputSignal<boolean>;
|
|
28
|
+
showMeridian: InputSignal<boolean>;
|
|
29
|
+
showSeconds: InputSignal<boolean>;
|
|
30
|
+
showMinutes?: InputSignal<boolean>;
|
|
31
|
+
meridians: InputSignal<string[]>;
|
|
30
32
|
}
|
|
31
33
|
export type TimeChangeSource = 'wheel' | 'key' | '';
|
|
32
34
|
export interface TimeChangeEvent {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, StaticProvider } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TimeChangeSource, TimePickerComponentState, TimePickerControls } from './inner-time-picker.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,52 +6,54 @@ export declare const TIMEPICKER_CONTROL_VALUE_ACCESSOR: StaticProvider;
|
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThyInnerTimePicker implements ControlValueAccessor, TimePickerComponentState, TimePickerControls,
|
|
9
|
+
export declare class ThyInnerTimePicker implements ControlValueAccessor, TimePickerComponentState, TimePickerControls, OnDestroy {
|
|
10
10
|
private _cd;
|
|
11
11
|
private _store;
|
|
12
|
+
private _config;
|
|
12
13
|
/** hours change step */
|
|
13
|
-
hourStep: number
|
|
14
|
-
/**
|
|
15
|
-
minuteStep: number
|
|
14
|
+
readonly hourStep: import("@angular/core").InputSignal<number>;
|
|
15
|
+
/** minutes change step */
|
|
16
|
+
readonly minuteStep: import("@angular/core").InputSignal<number>;
|
|
16
17
|
/** seconds change step */
|
|
17
|
-
secondsStep: number
|
|
18
|
+
readonly secondsStep: import("@angular/core").InputSignal<number>;
|
|
18
19
|
/** if true hours and minutes fields will be readonly */
|
|
19
|
-
readonlyInput: boolean
|
|
20
|
+
readonly readonlyInput: import("@angular/core").InputSignal<boolean>;
|
|
20
21
|
/** if true hours and minutes fields will be disabled */
|
|
21
|
-
disabled: boolean
|
|
22
|
+
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
22
23
|
/** if true scroll inside hours and minutes inputs will change time */
|
|
23
|
-
mousewheel: boolean
|
|
24
|
+
readonly mousewheel: import("@angular/core").InputSignal<boolean>;
|
|
24
25
|
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
|
|
25
|
-
arrowKeys: boolean
|
|
26
|
+
readonly arrowKeys: import("@angular/core").InputSignal<boolean>;
|
|
26
27
|
/** if true spinner arrows above and below the inputs will be shown */
|
|
27
|
-
showSpinners: boolean
|
|
28
|
+
readonly showSpinners: import("@angular/core").InputSignal<boolean>;
|
|
28
29
|
/** if true meridian button will be shown */
|
|
29
|
-
showMeridian: boolean
|
|
30
|
+
readonly showMeridian: import("@angular/core").InputSignal<boolean>;
|
|
30
31
|
/** show minutes in timePicker */
|
|
31
|
-
showMinutes: boolean
|
|
32
|
+
readonly showMinutes: import("@angular/core").InputSignal<boolean>;
|
|
32
33
|
/** show seconds in timePicker */
|
|
33
|
-
showSeconds: boolean
|
|
34
|
+
readonly showSeconds: import("@angular/core").InputSignal<boolean>;
|
|
34
35
|
/** meridian labels based on locale */
|
|
35
|
-
meridians: string[]
|
|
36
|
+
readonly meridians: import("@angular/core").InputSignal<string[]>;
|
|
36
37
|
/** minimum time user can select */
|
|
37
|
-
min: Date
|
|
38
|
+
readonly min: import("@angular/core").InputSignal<Date>;
|
|
38
39
|
/** maximum time user can select */
|
|
39
|
-
max: Date
|
|
40
|
+
readonly max: import("@angular/core").InputSignal<Date>;
|
|
40
41
|
/** placeholder for hours field in timePicker */
|
|
41
|
-
hoursPlaceholder: string
|
|
42
|
+
readonly hoursPlaceholder: import("@angular/core").InputSignal<string>;
|
|
42
43
|
/** placeholder for minutes field in timePicker */
|
|
43
|
-
minutesPlaceholder: string
|
|
44
|
+
readonly minutesPlaceholder: import("@angular/core").InputSignal<string>;
|
|
44
45
|
/** placeholder for seconds field in timePicker */
|
|
45
|
-
secondsPlaceholder: string
|
|
46
|
+
readonly secondsPlaceholder: import("@angular/core").InputSignal<string>;
|
|
46
47
|
/** timezone */
|
|
47
|
-
timeZone: string
|
|
48
|
+
readonly timeZone: import("@angular/core").InputSignal<string>;
|
|
48
49
|
/** emits true if value is a valid date */
|
|
49
|
-
isValid:
|
|
50
|
+
readonly isValid: import("@angular/core").OutputEmitterRef<boolean>;
|
|
51
|
+
readonly isEditable: import("@angular/core").Signal<boolean>;
|
|
52
|
+
readonly isPM: import("@angular/core").Signal<boolean>;
|
|
50
53
|
hours: string;
|
|
51
54
|
minutes: string;
|
|
52
55
|
seconds: string;
|
|
53
56
|
meridian: string;
|
|
54
|
-
get isEditable(): boolean;
|
|
55
57
|
invalidHours: boolean;
|
|
56
58
|
invalidMinutes: boolean;
|
|
57
59
|
invalidSeconds: boolean;
|
|
@@ -67,10 +69,8 @@ export declare class ThyInnerTimePicker implements ControlValueAccessor, TimePic
|
|
|
67
69
|
private timerPickerSubscription;
|
|
68
70
|
constructor();
|
|
69
71
|
resetValidation(): void;
|
|
70
|
-
isPM(): boolean;
|
|
71
72
|
prevDef($event: Event): void;
|
|
72
73
|
wheelSign($event: WheelEventInit): number;
|
|
73
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
74
74
|
changeHours(step: number, source?: TimeChangeSource): void;
|
|
75
75
|
changeMinutes(step: number, source?: TimeChangeSource): void;
|
|
76
76
|
changeSeconds(step: number, source?: TimeChangeSource): void;
|
|
@@ -87,5 +87,5 @@ export declare class ThyInnerTimePicker implements ControlValueAccessor, TimePic
|
|
|
87
87
|
ngOnDestroy(): void;
|
|
88
88
|
private _renderTime;
|
|
89
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInnerTimePicker, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInnerTimePicker, "thy-inner-time-picker", never, { "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondsStep": { "alias": "secondsStep"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mousewheel": { "alias": "mousewheel"; "required": false; }; "arrowKeys": { "alias": "arrowKeys"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; "showMeridian": { "alias": "showMeridian"; "required": false; }; "showMinutes": { "alias": "showMinutes"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "meridians": { "alias": "meridians"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "hoursPlaceholder": { "alias": "hoursPlaceholder"; "required": false; }; "minutesPlaceholder": { "alias": "minutesPlaceholder"; "required": false; }; "secondsPlaceholder": { "alias": "secondsPlaceholder"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; }, { "isValid": "isValid"; }, never, never, true, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInnerTimePicker, "thy-inner-time-picker", never, { "hourStep": { "alias": "hourStep"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "secondsStep": { "alias": "secondsStep"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "mousewheel": { "alias": "mousewheel"; "required": false; "isSignal": true; }; "arrowKeys": { "alias": "arrowKeys"; "required": false; "isSignal": true; }; "showSpinners": { "alias": "showSpinners"; "required": false; "isSignal": true; }; "showMeridian": { "alias": "showMeridian"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "meridians": { "alias": "meridians"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "hoursPlaceholder": { "alias": "hoursPlaceholder"; "required": false; "isSignal": true; }; "minutesPlaceholder": { "alias": "minutesPlaceholder"; "required": false; "isSignal": true; }; "secondsPlaceholder": { "alias": "secondsPlaceholder"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "isValid": "isValid"; }, never, never, true, never>;
|
|
91
91
|
}
|