ngx-tethys 19.0.13 → 19.1.0-next.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/CHANGELOG.md +29 -2
- package/action/action.component.d.ts +12 -20
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +7 -10
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor-link.component.d.ts +8 -8
- package/anchor/anchor.component.d.ts +15 -21
- package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
- package/autocomplete/autocomplete.component.d.ts +10 -17
- package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
- package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
- package/avatar/avatar.component.d.ts +25 -39
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-icon.component.d.ts +3 -2
- package/button/button.component.d.ts +3 -2
- package/calendar/calendar-header.component.d.ts +9 -8
- package/calendar/calendar.component.d.ts +16 -16
- package/card/card.component.d.ts +5 -11
- package/card/content.component.d.ts +3 -8
- package/card/header.component.d.ts +7 -8
- package/carousel/carousel.component.d.ts +22 -27
- package/cascader/cascader-li.component.d.ts +13 -21
- package/cascader/cascader-search-option.component.d.ts +8 -16
- package/cascader/cascader.component.d.ts +58 -80
- package/checkbox/checkbox.component.d.ts +2 -5
- package/collapse/collapse-item.component.d.ts +12 -19
- package/collapse/collapse.component.d.ts +6 -12
- package/collapse/collapse.token.d.ts +3 -3
- package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
- package/color-picker/color-picker-panel.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +19 -35
- package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
- package/color-picker/parts/hue/hue.component.d.ts +6 -6
- package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
- package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
- package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
- package/comment/comment.component.d.ts +4 -5
- package/copy/copy.directive.d.ts +8 -9
- package/date-picker/abstract-picker.component.d.ts +8 -7
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
- package/date-picker/picker.component.d.ts +2 -1
- package/date-range/date-range.component.d.ts +2 -2
- package/dialog/body/dialog-body.component.d.ts +2 -6
- package/dialog/confirm/confirm.component.d.ts +2 -2
- package/dialog/footer/dialog-footer.component.d.ts +6 -9
- package/dialog/header/dialog-header.component.d.ts +9 -11
- package/divider/divider.component.d.ts +12 -16
- package/dot/dot.component.d.ts +5 -13
- package/drag-drop/drag-handle.directive.d.ts +2 -1
- package/drag-drop/drag.directive.d.ts +2 -1
- package/drag-drop/drop-container.directive.d.ts +2 -1
- package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
- package/dropdown/dropdown-menu.component.d.ts +2 -1
- package/dropdown/dropdown.directive.d.ts +2 -1
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-action.mjs +54 -91
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +29 -26
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +91 -118
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +117 -162
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +85 -87
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +72 -77
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +82 -99
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +313 -468
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +66 -71
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +16 -10
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +25 -28
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +81 -82
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +49 -58
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +45 -68
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +161 -200
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +160 -152
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +25 -25
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +101 -114
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +268 -271
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +1 -1
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +52 -74
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +196 -244
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +102 -105
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +34 -38
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +46 -28
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +75 -108
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +26 -46
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +114 -151
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +74 -107
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +80 -140
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -1
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +69 -87
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +42 -64
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +104 -129
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +91 -130
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +36 -40
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-group-error/form-group-error.component.d.ts +2 -3
- package/form/form-group-label.directive.d.ts +2 -1
- package/form/form-group.component.d.ts +17 -24
- package/form/form-submit.directive.d.ts +2 -2
- package/form/form.directive.d.ts +6 -8
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
- package/form/validator/confirm-validator.directive.d.ts +2 -2
- package/form/validator/unique-validator.directive.d.ts +2 -2
- package/fullscreen/fullscreen.component.d.ts +7 -7
- package/grid/flex.d.ts +14 -19
- package/grid/thy-col.directive.d.ts +6 -9
- package/grid/thy-grid-item.component.d.ts +3 -4
- package/grid/thy-grid.component.d.ts +11 -12
- package/grid/thy-row.directive.d.ts +12 -12
- package/icon/icon.component.d.ts +3 -2
- package/image/image.directive.d.ts +3 -2
- package/input/input-count.component.d.ts +4 -5
- package/input/input-group.component.d.ts +20 -20
- package/input/input-search.component.d.ts +15 -20
- package/input/input.component.d.ts +20 -21
- package/input/input.directive.d.ts +4 -6
- package/input-number/input-number.component.d.ts +21 -29
- package/layout/header.component.d.ts +4 -9
- package/layout/sidebar-header.component.d.ts +2 -1
- package/layout/sidebar.component.d.ts +8 -7
- package/list/list.component.d.ts +2 -1
- package/list/selection/selection-list.d.ts +4 -3
- package/loading/loading.component.d.ts +4 -10
- package/mention/mention.directive.d.ts +6 -7
- package/mention/suggestions/suggestions.component.d.ts +8 -9
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +32 -21
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +15 -23
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -13
- package/property/property-item.component.d.ts +21 -26
- package/property/styles/properties.scss +124 -52
- package/property-operation/property-operation.component.d.ts +6 -5
- package/radio/button/radio-button.component.d.ts +2 -2
- package/radio/group/radio-group.component.d.ts +8 -7
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +2 -1
- package/rate/rate.component.d.ts +4 -3
- package/resizable/resizable.directive.d.ts +4 -9
- package/resizable/resize-handle.component.d.ts +2 -1
- package/resizable/resize-handles.component.d.ts +2 -1
- package/result/result.component.d.ts +9 -10
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +2 -1
- package/segment/segment.component.d.ts +2 -1
- package/select/custom-select/custom-select.component.d.ts +11 -10
- package/select/native-select/native-select.component.d.ts +2 -1
- package/shared/base-form-check.component.d.ts +3 -2
- package/shared/directives/thy-autofocus.directive.d.ts +3 -2
- package/shared/directives/thy-scroll.directive.d.ts +2 -1
- package/shared/directives/thy-show.d.ts +2 -1
- package/shared/option/group/option-group.component.d.ts +2 -1
- package/shared/option/list-option/list-option.component.d.ts +2 -7
- package/shared/option/option.component.d.ts +2 -1
- package/shared/select/select-control/select-control.component.d.ts +7 -6
- package/skeleton/skeleton-circle.component.d.ts +16 -19
- package/skeleton/skeleton-rectangle.component.d.ts +20 -23
- package/skeleton/skeleton.component.d.ts +5 -6
- package/skeleton/stylized/bullet-list.component.d.ts +11 -13
- package/skeleton/stylized/list.component.d.ts +10 -12
- package/skeleton/stylized/paragraph.component.d.ts +12 -14
- package/slide/slide-body/slide-body-section.component.d.ts +2 -1
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +8 -8
- package/statistic/statistic.component.d.ts +35 -40
- package/stepper/step-header.component.d.ts +6 -10
- package/stepper/step.component.d.ts +6 -6
- package/stepper/stepper.component.d.ts +15 -20
- package/switch/switch.component.d.ts +24 -35
- package/table/table-column.component.d.ts +6 -5
- package/table/table-skeleton.component.d.ts +3 -10
- package/table/table.component.d.ts +11 -10
- package/tabs/tab-content.component.d.ts +4 -4
- package/tabs/tab.component.d.ts +4 -5
- package/tabs/tabs.component.d.ts +13 -15
- package/tag/tag.component.d.ts +10 -16
- package/time-picker/time-picker-panel.component.d.ts +3 -2
- package/time-picker/time-picker.component.d.ts +6 -5
- package/timeline/timeline-item.component.d.ts +9 -13
- package/timeline/timeline.component.d.ts +13 -17
- package/tooltip/tooltip.directive.d.ts +3 -2
- package/tree/tree-node.component.d.ts +6 -15
- package/tree/tree.component.d.ts +8 -7
- package/tree-select/tree-select.component.d.ts +8 -7
- package/typography/bg-color.directive.d.ts +3 -3
- package/typography/text/text.component.d.ts +2 -2
- package/typography/text-color.directive.d.ts +3 -3
- package/upload/file-drop.directive.d.ts +9 -11
- package/upload/file-select-base.d.ts +6 -10
- package/upload/file-select.component.d.ts +10 -20
- package/util/helpers/helpers.d.ts +2 -1
- package/vote/vote.component.d.ts +4 -3
- package/watermark/watermark.directive.d.ts +7 -9
|
@@ -10,34 +10,33 @@ export declare class ThyCardHeader implements OnInit {
|
|
|
10
10
|
/**
|
|
11
11
|
* 头部,标题
|
|
12
12
|
*/
|
|
13
|
-
thyTitle: string
|
|
13
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
14
14
|
/**
|
|
15
15
|
* 头部,附加信息
|
|
16
16
|
*/
|
|
17
|
-
thyDescription: string
|
|
17
|
+
readonly thyDescription: import("@angular/core").InputSignal<string>;
|
|
18
18
|
/**
|
|
19
19
|
* 已废弃,头部大小
|
|
20
20
|
* @deprecated
|
|
21
|
-
* @default md
|
|
22
21
|
*/
|
|
23
|
-
thySize:
|
|
22
|
+
readonly thySize: import("@angular/core").InputSignal<"" | "sm" | "lg" | "md">;
|
|
24
23
|
/**
|
|
25
24
|
* 自定义头部标题
|
|
26
25
|
* @type TemplateRef
|
|
27
26
|
*/
|
|
28
|
-
titleTemplateRef: TemplateRef<any
|
|
27
|
+
readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
29
28
|
/**
|
|
30
29
|
* 自定义头部描述
|
|
31
30
|
* @type TemplateRef
|
|
32
31
|
*/
|
|
33
|
-
descriptionTemplateRef: TemplateRef<any
|
|
32
|
+
readonly descriptionTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
34
33
|
/**
|
|
35
34
|
* 自定义头部操作区域
|
|
36
35
|
* @type TemplateRef
|
|
37
36
|
*/
|
|
38
|
-
operationTemplateRef: TemplateRef<any
|
|
37
|
+
readonly operationTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
39
38
|
constructor();
|
|
40
39
|
ngOnInit(): void;
|
|
41
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCardHeader, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCardHeader, "thy-card-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyDescription": { "alias": "thyDescription"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, {}, ["titleTemplateRef", "descriptionTemplateRef", "operationTemplateRef"], never, true, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCardHeader, "thy-card-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyDescription": { "alias": "thyDescription"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, ["titleTemplateRef", "descriptionTemplateRef", "operationTemplateRef"], never, true, never>;
|
|
43
42
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ElementRef,
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, QueryList } from '@angular/core';
|
|
2
2
|
import { ThyCarouselItemDirective } from './carousel-item.directive';
|
|
3
|
+
import { ThyCarouselFadeEngine, ThyCarouselNoopEngine, ThyCarouselSlideEngine } from './engine';
|
|
3
4
|
import { ThyCarouselEffect, ThyCarouselPause, ThyCarouselSwitchData, ThyCarouselTrigger } from './typings';
|
|
4
5
|
import { IThyCarouselComponent } from './carousel.token';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -7,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
7
8
|
* 走马灯组件
|
|
8
9
|
* @name thy-carousel
|
|
9
10
|
*/
|
|
10
|
-
export declare class ThyCarousel implements IThyCarouselComponent, OnInit, AfterViewInit, AfterContentInit,
|
|
11
|
+
export declare class ThyCarousel implements IThyCarouselComponent, OnInit, AfterViewInit, AfterContentInit, OnDestroy {
|
|
11
12
|
protected renderer: Renderer2;
|
|
12
13
|
private cdr;
|
|
13
14
|
private ngZone;
|
|
@@ -20,68 +21,68 @@ export declare class ThyCarousel implements IThyCarouselComponent, OnInit, After
|
|
|
20
21
|
/**
|
|
21
22
|
* @private
|
|
22
23
|
*/
|
|
23
|
-
carouselWrapper: ElementRef<HTMLElement
|
|
24
|
+
readonly carouselWrapper: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
* 是否自动切换
|
|
26
27
|
*/
|
|
27
|
-
thyAutoPlay: boolean
|
|
28
|
+
readonly thyAutoPlay: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
29
|
/**
|
|
29
30
|
* 自动切换时间间隔(毫秒)
|
|
30
31
|
*/
|
|
31
|
-
thyAutoPlayInterval: number
|
|
32
|
+
readonly thyAutoPlayInterval: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
32
33
|
/**
|
|
33
34
|
* 切换动画样式
|
|
34
35
|
* @type slide | fade | noop
|
|
35
36
|
*/
|
|
36
|
-
thyEffect: ThyCarouselEffect
|
|
37
|
+
readonly thyEffect: import("@angular/core").InputSignal<ThyCarouselEffect>;
|
|
37
38
|
/**
|
|
38
39
|
* 是否显示切换指示器
|
|
39
40
|
*/
|
|
40
|
-
thyIndicators: boolean
|
|
41
|
+
readonly thyIndicators: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
42
|
/**
|
|
42
43
|
* 指示器 Item 的渲染模板
|
|
43
44
|
*/
|
|
44
|
-
thyIndicatorRender
|
|
45
|
+
readonly thyIndicatorRender: import("@angular/core").InputSignal<TemplateRef<{
|
|
45
46
|
$implicit: boolean;
|
|
46
|
-
}
|
|
47
|
+
}>>;
|
|
47
48
|
/**
|
|
48
49
|
* 是否显示左右切换
|
|
49
50
|
*/
|
|
50
|
-
thyControls: boolean
|
|
51
|
+
readonly thyControls: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
51
52
|
/**
|
|
52
53
|
* 上一个控制器渲染模板
|
|
53
54
|
*/
|
|
54
|
-
thyControlPrev
|
|
55
|
+
readonly thyControlPrev: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
55
56
|
/**
|
|
56
57
|
* 下一个控制器渲染模板
|
|
57
58
|
*/
|
|
58
|
-
thyControlNext
|
|
59
|
+
readonly thyControlNext: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
59
60
|
/**
|
|
60
61
|
* 是否支持手势滑动
|
|
61
62
|
*/
|
|
62
|
-
thyTouchable: boolean
|
|
63
|
+
readonly thyTouchable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
63
64
|
/**
|
|
64
65
|
* 指示点切换的触发条件
|
|
65
66
|
* @type click | hover
|
|
66
67
|
*/
|
|
67
|
-
thyTrigger: ThyCarouselTrigger
|
|
68
|
+
readonly thyTrigger: import("@angular/core").InputSignal<ThyCarouselTrigger>;
|
|
68
69
|
/**
|
|
69
70
|
* 鼠标移动到指示器时是否暂停播放
|
|
70
71
|
* @type false | hover
|
|
71
72
|
*/
|
|
72
|
-
thyPause: ThyCarouselPause
|
|
73
|
+
readonly thyPause: import("@angular/core").InputSignal<ThyCarouselPause>;
|
|
73
74
|
/**
|
|
74
75
|
* 触发切换帧之前,返回 `{from: number, to: number}`
|
|
75
76
|
*/
|
|
76
|
-
readonly thyBeforeChange:
|
|
77
|
+
readonly thyBeforeChange: import("@angular/core").OutputEmitterRef<ThyCarouselSwitchData>;
|
|
77
78
|
/**
|
|
78
79
|
* 切换帧之后的回调,返回当前帧索引
|
|
79
80
|
*/
|
|
80
|
-
readonly thyAfterChange:
|
|
81
|
+
readonly thyAfterChange: import("@angular/core").OutputEmitterRef<number>;
|
|
81
82
|
private isDragging;
|
|
82
83
|
private isTransitioning;
|
|
83
84
|
private pointerVector;
|
|
84
|
-
|
|
85
|
+
readonly engine: import("@angular/core").Signal<ThyCarouselNoopEngine | ThyCarouselSlideEngine | ThyCarouselFadeEngine>;
|
|
85
86
|
private _trigger$;
|
|
86
87
|
private _destroy$;
|
|
87
88
|
wrapperDomRect: DOMRect;
|
|
@@ -90,8 +91,8 @@ export declare class ThyCarousel implements IThyCarouselComponent, OnInit, After
|
|
|
90
91
|
transitionTimer: any;
|
|
91
92
|
playTime: number;
|
|
92
93
|
isPause: boolean;
|
|
94
|
+
constructor();
|
|
93
95
|
private moveTo;
|
|
94
|
-
private switchEngine;
|
|
95
96
|
private markContentActive;
|
|
96
97
|
private setInitialValue;
|
|
97
98
|
private scheduleNextTransition;
|
|
@@ -103,15 +104,9 @@ export declare class ThyCarousel implements IThyCarouselComponent, OnInit, After
|
|
|
103
104
|
next(): void;
|
|
104
105
|
pre(): void;
|
|
105
106
|
ngOnInit(): void;
|
|
106
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
107
107
|
ngAfterViewInit(): void;
|
|
108
108
|
ngAfterContentInit(): void;
|
|
109
109
|
ngOnDestroy(): void;
|
|
110
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCarousel, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCarousel, "thy-carousel", never, { "thyAutoPlay": { "alias": "thyAutoPlay"; "required": false; }; "thyAutoPlayInterval": { "alias": "thyAutoPlayInterval"; "required": false; }; "thyEffect": { "alias": "thyEffect"; "required": false; }; "thyIndicators": { "alias": "thyIndicators"; "required": false; }; "thyIndicatorRender": { "alias": "thyIndicatorRender"; "required": false; }; "thyControls": { "alias": "thyControls"; "required": false; }; "thyControlPrev": { "alias": "thyControlPrev"; "required": false; }; "thyControlNext": { "alias": "thyControlNext"; "required": false; }; "thyTouchable": { "alias": "thyTouchable"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyPause": { "alias": "thyPause"; "required": false; }; }, { "thyBeforeChange": "thyBeforeChange"; "thyAfterChange": "thyAfterChange"; }, ["carouselItems"], ["*"], true, never>;
|
|
112
|
-
static ngAcceptInputType_thyAutoPlay: boolean | string | number;
|
|
113
|
-
static ngAcceptInputType_thyAutoPlayInterval: unknown;
|
|
114
|
-
static ngAcceptInputType_thyIndicators: boolean | string | number;
|
|
115
|
-
static ngAcceptInputType_thyControls: boolean | string | number;
|
|
116
|
-
static ngAcceptInputType_thyTouchable: boolean | string | number;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCarousel, "thy-carousel", never, { "thyAutoPlay": { "alias": "thyAutoPlay"; "required": false; "isSignal": true; }; "thyAutoPlayInterval": { "alias": "thyAutoPlayInterval"; "required": false; "isSignal": true; }; "thyEffect": { "alias": "thyEffect"; "required": false; "isSignal": true; }; "thyIndicators": { "alias": "thyIndicators"; "required": false; "isSignal": true; }; "thyIndicatorRender": { "alias": "thyIndicatorRender"; "required": false; "isSignal": true; }; "thyControls": { "alias": "thyControls"; "required": false; "isSignal": true; }; "thyControlPrev": { "alias": "thyControlPrev"; "required": false; "isSignal": true; }; "thyControlNext": { "alias": "thyControlNext"; "required": false; "isSignal": true; }; "thyTouchable": { "alias": "thyTouchable"; "required": false; "isSignal": true; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; "isSignal": true; }; "thyPause": { "alias": "thyPause"; "required": false; "isSignal": true; }; }, { "thyBeforeChange": "thyBeforeChange"; "thyAfterChange": "thyAfterChange"; }, ["carouselItems"], ["*"], true, never>;
|
|
117
112
|
}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { OnInit, Signal, TemplateRef } from '@angular/core';
|
|
3
2
|
import { ThyCascaderOption } from './types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @internal
|
|
7
6
|
*/
|
|
8
7
|
export declare class ThyCascaderOptionComponent implements OnInit {
|
|
9
|
-
option: ThyCascaderOption
|
|
10
|
-
multiple: boolean
|
|
11
|
-
isOnlySelectLeaf: boolean
|
|
12
|
-
optionRender: TemplateRef<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
labelProperty: string;
|
|
21
|
-
toggleSelectChange: EventEmitter<boolean>;
|
|
8
|
+
readonly option: import("@angular/core").InputSignal<ThyCascaderOption>;
|
|
9
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
readonly isOnlySelectLeaf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly optionRender: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
12
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
readonly halfSelected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
readonly disabled: Signal<boolean>;
|
|
16
|
+
readonly expand: Signal<boolean>;
|
|
17
|
+
readonly labelProperty: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly toggleSelectChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
22
19
|
constructor();
|
|
23
20
|
ngOnInit(): void;
|
|
24
21
|
toggleOption(value: boolean): void;
|
|
25
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCascaderOptionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderOptionComponent, "[thy-cascader-option]", never, { "option": { "alias": "option"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "isOnlySelectLeaf": { "alias": "isOnlySelectLeaf"; "required": false; }; "optionRender": { "alias": "optionRender"; "required": false; }; "active": { "alias": "active"; "required": false; }; "halfSelected": { "alias": "halfSelected"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "labelProperty": { "alias": "labelProperty"; "required": false; }; }, { "toggleSelectChange": "toggleSelectChange"; }, never, never, true, never>;
|
|
27
|
-
static ngAcceptInputType_multiple: boolean | string | number;
|
|
28
|
-
static ngAcceptInputType_isOnlySelectLeaf: boolean | string | number;
|
|
29
|
-
static ngAcceptInputType_active: boolean | string | number;
|
|
30
|
-
static ngAcceptInputType_halfSelected: boolean | string | number;
|
|
31
|
-
static ngAcceptInputType_selected: boolean | string | number;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderOptionComponent, "[thy-cascader-option]", never, { "option": { "alias": "option"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "isOnlySelectLeaf": { "alias": "isOnlySelectLeaf"; "required": false; "isSignal": true; }; "optionRender": { "alias": "optionRender"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "halfSelected": { "alias": "halfSelected"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "labelProperty": { "alias": "labelProperty"; "required": false; "isSignal": true; }; }, { "toggleSelectChange": "toggleSelectChange"; }, never, never, true, never>;
|
|
32
24
|
}
|
|
@@ -1,29 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyCascaderSearchOption } from './types';
|
|
3
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @internal
|
|
7
6
|
*/
|
|
8
7
|
export declare class ThyCascaderSearchOptionComponent implements OnInit {
|
|
9
|
-
option: ThyCascaderSearchOption
|
|
10
|
-
multiple: boolean
|
|
11
|
-
isOnlySelectLeaf: boolean
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
optionRender: TemplateRef<SafeAny>;
|
|
8
|
+
readonly option: import("@angular/core").InputSignal<ThyCascaderSearchOption>;
|
|
9
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
readonly isOnlySelectLeaf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly optionRender: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
15
13
|
toggleClick($event: Event): void;
|
|
16
|
-
toggleSelectChange:
|
|
14
|
+
readonly toggleSelectChange: import("@angular/core").OutputEmitterRef<ThyCascaderSearchOption>;
|
|
17
15
|
constructor();
|
|
18
16
|
ngOnInit(): void;
|
|
19
17
|
clickCheckbox(event: Event): void;
|
|
20
18
|
toggleOption(value: boolean): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCascaderSearchOptionComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderSearchOptionComponent, "[thy-cascader-search-option]", never, { "option": { "alias": "option"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "isOnlySelectLeaf": { "alias": "isOnlySelectLeaf"; "required": false; }; "active": { "alias": "active"; "required": false; }; "optionRender": { "alias": "optionRender"; "required": false; }; }, { "toggleSelectChange": "toggleSelectChange"; }, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_multiple: // 已选中的在搜索情况下不能取消选择
|
|
24
|
-
boolean | string | number;
|
|
25
|
-
static ngAcceptInputType_isOnlySelectLeaf: // 已选中的在搜索情况下不能取消选择
|
|
26
|
-
boolean | string | number;
|
|
27
|
-
static ngAcceptInputType_active: // 已选中的在搜索情况下不能取消选择
|
|
28
|
-
boolean | string | number;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascaderSearchOptionComponent, "[thy-cascader-search-option]", never, { "option": { "alias": "option"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "isOnlySelectLeaf": { "alias": "isOnlySelectLeaf"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "optionRender": { "alias": "optionRender"; "required": false; "isSignal": true; }; }, { "toggleSelectChange": "toggleSelectChange"; }, never, never, true, never>;
|
|
29
21
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { CdkConnectedOverlay, ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterContentInit, ElementRef,
|
|
2
|
+
import { AfterContentInit, ElementRef, OnDestroy, OnInit, TemplateRef, Signal } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
5
5
|
import { SelectControlSize, SelectOptionBase } from 'ngx-tethys/shared';
|
|
6
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
7
6
|
import { ThyCascaderService } from './cascader.service';
|
|
8
7
|
import { ThyCascaderExpandTrigger, ThyCascaderOption, ThyCascaderSearchOption, ThyCascaderTriggerType } from './types';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "ngx-tethys/util";
|
|
10
10
|
/**
|
|
11
11
|
* 级联选择菜单
|
|
12
12
|
* @name thy-cascader
|
|
13
13
|
*/
|
|
14
|
-
export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit,
|
|
14
|
+
export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit, OnDestroy, AfterContentInit {
|
|
15
15
|
private platformId;
|
|
16
16
|
private cdr;
|
|
17
17
|
elementRef: ElementRef<any>;
|
|
@@ -23,97 +23,95 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
23
23
|
/**
|
|
24
24
|
* 选项的实际值的属性名
|
|
25
25
|
*/
|
|
26
|
-
thyValueProperty: string
|
|
26
|
+
readonly thyValueProperty: import("@angular/core").InputSignal<string>;
|
|
27
27
|
/**
|
|
28
28
|
* 选项的显示值的属性名
|
|
29
29
|
*/
|
|
30
|
-
thyLabelProperty: string
|
|
30
|
+
readonly thyLabelProperty: import("@angular/core").InputSignal<string>;
|
|
31
31
|
/**
|
|
32
32
|
* 描述输入字段预期值的简短的提示信息
|
|
33
33
|
*/
|
|
34
|
-
thyPlaceholder: string
|
|
34
|
+
readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
|
|
35
35
|
/**
|
|
36
36
|
* 控制大小(5种)
|
|
37
37
|
* @type 'xs' | 'sm' | 'md' | 'lg' | ''
|
|
38
38
|
*/
|
|
39
|
-
thySize: SelectControlSize
|
|
39
|
+
readonly thySize: import("@angular/core").InputSignal<SelectControlSize>;
|
|
40
40
|
/**
|
|
41
41
|
* 数据项
|
|
42
42
|
* @type ThyCascaderOption[]
|
|
43
|
-
* @default []
|
|
44
43
|
*/
|
|
45
|
-
|
|
44
|
+
readonly thyOptions: import("@angular/core").InputSignal<ThyCascaderOption[]>;
|
|
46
45
|
/**
|
|
47
46
|
* 自定义选项
|
|
48
47
|
* @type ThyCascaderOption[]
|
|
49
|
-
* @default []
|
|
50
48
|
*/
|
|
51
|
-
|
|
52
|
-
get thyCustomOptions(): ThyCascaderOption[] | null;
|
|
49
|
+
readonly thyCustomOptions: import("@angular/core").InputSignal<ThyCascaderOption[]>;
|
|
53
50
|
/**
|
|
54
51
|
* 点击父级菜单选项时,可通过该函数判断是否允许值的变化
|
|
55
52
|
*/
|
|
56
|
-
thyChangeOn: (option: ThyCascaderOption, level: number) => boolean
|
|
53
|
+
readonly thyChangeOn: import("@angular/core").InputSignal<(option: ThyCascaderOption, level: number) => boolean>;
|
|
57
54
|
/**
|
|
58
55
|
* 点击项时,表单是否动态展示数据项
|
|
59
56
|
* @type boolean
|
|
60
57
|
*/
|
|
61
|
-
thyChangeOnSelect: boolean
|
|
58
|
+
readonly thyChangeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
62
59
|
/**
|
|
63
60
|
* 显示输入框
|
|
64
61
|
* @type boolean
|
|
65
62
|
*/
|
|
66
|
-
thyShowInput: boolean
|
|
63
|
+
readonly thyShowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
67
64
|
/**
|
|
68
65
|
* 用户自定义选项模板
|
|
69
66
|
* @type TemplateRef
|
|
70
67
|
*/
|
|
71
|
-
thyOptionRender: TemplateRef<
|
|
68
|
+
readonly thyOptionRender: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
72
69
|
/**
|
|
73
70
|
* 用户自定义模板
|
|
74
71
|
* @type TemplateRef
|
|
75
72
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
readonly thyLabelRender: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
74
|
+
readonly isLabelRenderTemplate: Signal<boolean>;
|
|
75
|
+
/**
|
|
78
76
|
/**
|
|
79
77
|
* 用于动态加载选项
|
|
80
78
|
*/
|
|
81
|
-
|
|
82
|
-
get thyLoadData(): (node: ThyCascaderOption, index?: number) => PromiseLike<any>;
|
|
79
|
+
readonly thyLoadData: import("@angular/core").InputSignal<(node: ThyCascaderOption, index?: number) => PromiseLike<any>>;
|
|
83
80
|
/**
|
|
84
81
|
* 控制触发状态, 支持 `click` | `hover`
|
|
85
82
|
* @type ThyCascaderTriggerType | ThyCascaderTriggerType[]
|
|
86
83
|
*/
|
|
87
|
-
thyTriggerAction: ThyCascaderTriggerType | ThyCascaderTriggerType[]
|
|
84
|
+
readonly thyTriggerAction: import("@angular/core").InputSignal<ThyCascaderTriggerType | ThyCascaderTriggerType[]>;
|
|
88
85
|
/**
|
|
89
86
|
* 鼠标经过下方列表项时,是否自动展开列表,支持 `click` | `hover`
|
|
90
87
|
* @type ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[]
|
|
91
88
|
*/
|
|
92
|
-
thyExpandTriggerAction: ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[]
|
|
89
|
+
readonly thyExpandTriggerAction: import("@angular/core").InputSignal<ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[]>;
|
|
93
90
|
/**
|
|
94
91
|
* 自定义浮层样式
|
|
95
92
|
*/
|
|
96
|
-
thyMenuStyle: {
|
|
93
|
+
readonly thyMenuStyle: import("@angular/core").InputSignal<{
|
|
97
94
|
[key: string]: string;
|
|
98
|
-
}
|
|
95
|
+
}>;
|
|
99
96
|
/**
|
|
100
97
|
* 自定义搜索样式
|
|
101
98
|
*/
|
|
102
|
-
thySearchListStyle: {
|
|
99
|
+
readonly thySearchListStyle: import("@angular/core").InputSignal<{
|
|
103
100
|
[key: string]: string;
|
|
104
|
-
}
|
|
101
|
+
}>;
|
|
105
102
|
/**
|
|
106
103
|
* 自定义浮层类名
|
|
107
104
|
* @type string
|
|
108
105
|
*/
|
|
109
|
-
|
|
110
|
-
get thyMenuClassName(): string;
|
|
106
|
+
readonly thyMenuClassName: import("@angular/core").InputSignal<string>;
|
|
111
107
|
/**
|
|
112
108
|
* 自定义浮层列类名
|
|
113
109
|
* @type string
|
|
114
110
|
*/
|
|
115
|
-
|
|
116
|
-
|
|
111
|
+
readonly thyColumnClassName: import("@angular/core").InputSignal<string>;
|
|
112
|
+
readonly menuColumnCls: Signal<{
|
|
113
|
+
[x: string]: string | boolean;
|
|
114
|
+
}>;
|
|
117
115
|
/**
|
|
118
116
|
* 是否只读
|
|
119
117
|
* @default false
|
|
@@ -125,98 +123,90 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
125
123
|
* 空状态下的展示文字
|
|
126
124
|
* @default 暂无可选项
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
readonly thyEmptyStateText: import("@angular/core").InputSignal<string>;
|
|
129
127
|
/**
|
|
130
128
|
* 是否多选
|
|
131
129
|
* @type boolean
|
|
132
|
-
* @default false
|
|
133
130
|
*/
|
|
134
|
-
|
|
135
|
-
get thyMultiple(): boolean;
|
|
131
|
+
readonly thyMultiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
136
132
|
/**
|
|
137
133
|
* 设置多选时最大显示的标签数量,0 表示不限制
|
|
138
134
|
* @type number
|
|
139
135
|
*/
|
|
140
|
-
thyMaxTagCount: number
|
|
136
|
+
readonly thyMaxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
141
137
|
/**
|
|
142
138
|
* 是否仅允许选择叶子项
|
|
143
139
|
* @default true
|
|
144
140
|
*/
|
|
145
|
-
thyIsOnlySelectLeaf: boolean
|
|
141
|
+
readonly thyIsOnlySelectLeaf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
146
142
|
/**
|
|
147
143
|
* 初始化时,是否展开面板
|
|
148
|
-
* @default false
|
|
149
144
|
*/
|
|
150
|
-
thyAutoExpand: boolean
|
|
145
|
+
readonly thyAutoExpand: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
151
146
|
/**
|
|
152
147
|
* 是否支持搜索
|
|
153
|
-
* @default false
|
|
154
148
|
*/
|
|
155
|
-
thyShowSearch: boolean
|
|
149
|
+
readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
156
150
|
/**
|
|
157
151
|
* 多选选中项的展示方式,默认为空,渲染文字模板,传入tag,渲染展示模板,
|
|
158
|
-
* @default ''|tag
|
|
159
152
|
*/
|
|
160
|
-
thyPreset: string
|
|
153
|
+
readonly thyPreset: import("@angular/core").InputSignal<string>;
|
|
161
154
|
/**
|
|
162
155
|
* 是否有幕布
|
|
163
156
|
*/
|
|
164
|
-
thyHasBackdrop: boolean
|
|
157
|
+
readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
165
158
|
/**
|
|
166
159
|
* 值发生变化时触发,返回选择项的值
|
|
167
160
|
* @type EventEmitter<any[]>
|
|
168
161
|
*/
|
|
169
|
-
thyChange:
|
|
162
|
+
readonly thyChange: import("@angular/core").OutputEmitterRef<any[]>;
|
|
170
163
|
/**
|
|
171
164
|
* 值发生变化时触发,返回选择项列表
|
|
172
165
|
* @type EventEmitter<ThyCascaderOption[]>
|
|
173
166
|
*/
|
|
174
|
-
thySelectionChange:
|
|
167
|
+
readonly thySelectionChange: import("@angular/core").OutputEmitterRef<ThyCascaderOption[]>;
|
|
175
168
|
/**
|
|
176
169
|
* 选择选项时触发
|
|
177
170
|
*/
|
|
178
|
-
thySelect:
|
|
171
|
+
readonly thySelect: import("@angular/core").OutputEmitterRef<{
|
|
179
172
|
option: ThyCascaderOption;
|
|
180
173
|
index: number;
|
|
181
174
|
}>;
|
|
182
175
|
/**
|
|
183
176
|
* @private 暂无实现
|
|
184
177
|
*/
|
|
185
|
-
thyDeselect:
|
|
178
|
+
readonly thyDeselect: import("@angular/core").OutputEmitterRef<{
|
|
186
179
|
option: ThyCascaderOption;
|
|
187
180
|
index: number;
|
|
188
181
|
}>;
|
|
189
182
|
/**
|
|
190
183
|
* 清空选项时触发
|
|
191
184
|
*/
|
|
192
|
-
thyClear:
|
|
185
|
+
readonly thyClear: import("@angular/core").OutputEmitterRef<void>;
|
|
193
186
|
/**
|
|
194
187
|
* 下拉选项展开和折叠状态事件
|
|
195
188
|
*/
|
|
196
|
-
thyExpandStatusChange:
|
|
197
|
-
cascaderOptions:
|
|
198
|
-
cascaderOptionContainers:
|
|
199
|
-
cdkConnectedOverlay: CdkConnectedOverlay
|
|
200
|
-
trigger: ElementRef<any
|
|
201
|
-
input: ElementRef
|
|
202
|
-
menu: ElementRef
|
|
189
|
+
readonly thyExpandStatusChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
190
|
+
readonly cascaderOptions: Signal<readonly ElementRef<any>[]>;
|
|
191
|
+
readonly cascaderOptionContainers: Signal<readonly ElementRef<any>[]>;
|
|
192
|
+
readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
|
|
193
|
+
readonly trigger: Signal<ElementRef<any>>;
|
|
194
|
+
readonly input: Signal<ElementRef<any>>;
|
|
195
|
+
readonly menu: Signal<ElementRef<any>>;
|
|
203
196
|
dropDownPosition: string;
|
|
204
197
|
menuVisible: boolean;
|
|
205
|
-
isLabelRenderTemplate: boolean;
|
|
206
198
|
triggerRect: DOMRect;
|
|
207
|
-
|
|
199
|
+
menuCls: {
|
|
200
|
+
[name: string]: any;
|
|
201
|
+
};
|
|
202
|
+
labelCls: {
|
|
203
|
+
[name: string]: any;
|
|
204
|
+
};
|
|
208
205
|
private prefixCls;
|
|
209
|
-
private menuClassName;
|
|
210
|
-
private columnClassName;
|
|
211
|
-
private _menuColumnCls;
|
|
212
206
|
private readonly destroy$;
|
|
213
|
-
private _menuCls;
|
|
214
|
-
private _labelCls;
|
|
215
|
-
private labelRenderTpl;
|
|
216
207
|
private hostRenderer;
|
|
217
208
|
positions: ConnectionPositionPair[];
|
|
218
209
|
get selected(): SelectOptionBase | SelectOptionBase[];
|
|
219
|
-
private isMultiple;
|
|
220
210
|
menuMinWidth: number;
|
|
221
211
|
private searchText$;
|
|
222
212
|
get searchResultList(): ThyCascaderSearchOption[];
|
|
@@ -232,9 +222,10 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
232
222
|
get columns(): ThyCascaderOption[][];
|
|
233
223
|
private afterChangeFn;
|
|
234
224
|
private resizeSubscription;
|
|
225
|
+
constructor();
|
|
235
226
|
ngOnInit(): void;
|
|
236
227
|
ngAfterContentInit(): void;
|
|
237
|
-
|
|
228
|
+
private setCascaderOptions;
|
|
238
229
|
private initPosition;
|
|
239
230
|
writeValue(value: any): void;
|
|
240
231
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -245,11 +236,7 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
245
236
|
attached(): void;
|
|
246
237
|
private scrollActiveElementIntoView;
|
|
247
238
|
setMenuVisible(menuVisible: boolean): void;
|
|
248
|
-
get menuCls(): any;
|
|
249
239
|
private setMenuClass;
|
|
250
|
-
get menuColumnCls(): any;
|
|
251
|
-
private setMenuColumnClass;
|
|
252
|
-
get labelCls(): any;
|
|
253
240
|
private setLabelClass;
|
|
254
241
|
private setClassMap;
|
|
255
242
|
private isClickTriggerAction;
|
|
@@ -272,7 +259,6 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
272
259
|
}): void;
|
|
273
260
|
private shouldPerformSelection;
|
|
274
261
|
clearSelection($event: Event): void;
|
|
275
|
-
constructor();
|
|
276
262
|
trackByFn(index: number, item: ThyCascaderOption): any;
|
|
277
263
|
searchFilter(searchText: string): void;
|
|
278
264
|
private initSearch;
|
|
@@ -283,14 +269,6 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
|
|
|
283
269
|
private unsubscribeTriggerResize;
|
|
284
270
|
ngOnDestroy(): void;
|
|
285
271
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCascader, never>;
|
|
286
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascader, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyCustomOptions": { "alias": "thyCustomOptions"; "required": false; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; }; "thyOptionRender": { "alias": "thyOptionRender"; "required": false; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; }; "thySearchListStyle": { "alias": "thySearchListStyle"; "required": false; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
|
|
287
|
-
static
|
|
288
|
-
static ngAcceptInputType_thyShowInput: boolean | string | number;
|
|
289
|
-
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
290
|
-
static ngAcceptInputType_thyMultiple: boolean | string | number;
|
|
291
|
-
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
292
|
-
static ngAcceptInputType_thyIsOnlySelectLeaf: boolean | string | number;
|
|
293
|
-
static ngAcceptInputType_thyAutoExpand: boolean | string | number;
|
|
294
|
-
static ngAcceptInputType_thyShowSearch: boolean | string | number;
|
|
295
|
-
static ngAcceptInputType_thyHasBackdrop: boolean | string | number;
|
|
272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascader, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; "isSignal": true; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyOptions": { "alias": "thyOptions"; "required": false; "isSignal": true; }; "thyCustomOptions": { "alias": "thyCustomOptions"; "required": false; "isSignal": true; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; "isSignal": true; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; "isSignal": true; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; "isSignal": true; }; "thyOptionRender": { "alias": "thyOptionRender"; "required": false; "isSignal": true; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; "isSignal": true; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; "isSignal": true; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; "isSignal": true; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; "isSignal": true; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; "isSignal": true; }; "thySearchListStyle": { "alias": "thySearchListStyle"; "required": false; "isSignal": true; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; "isSignal": true; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; "isSignal": true; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; "isSignal": true; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
|
|
273
|
+
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
296
274
|
}
|
|
@@ -6,14 +6,11 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* @order 10
|
|
7
7
|
*/
|
|
8
8
|
export declare class ThyCheckbox extends ThyFormCheckBaseComponent {
|
|
9
|
-
isIndeterminate: boolean;
|
|
10
9
|
/**
|
|
11
10
|
* 设置 indeterminate 状态,只负责样式控制
|
|
12
11
|
* @description.en-us Set the indeterminate state, responsible only for style control
|
|
13
|
-
* @default false
|
|
14
12
|
*/
|
|
15
|
-
|
|
13
|
+
readonly thyIndeterminate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyCheckbox, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCheckbox, "thy-checkbox,[thy-checkbox],[thyCheckbox]", never, { "thyIndeterminate": { "alias": "thyIndeterminate"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
-
static ngAcceptInputType_thyIndeterminate: boolean | string | number;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyCheckbox, "thy-checkbox,[thy-checkbox],[thyCheckbox]", never, { "thyIndeterminate": { "alias": "thyIndeterminate"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
16
|
}
|