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,7 +1,6 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Signal, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyResizeEvent } from 'ngx-tethys/resizable';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "ngx-tethys/util";
|
|
5
4
|
export type ThySidebarTheme = 'white' | 'light' | 'dark';
|
|
6
5
|
export type ThySidebarDirection = 'left' | 'right';
|
|
7
6
|
/**
|
|
@@ -11,53 +10,35 @@ export type ThySidebarDirection = 'left' | 'right';
|
|
|
11
10
|
*/
|
|
12
11
|
export declare class ThySidebarDirective implements OnInit {
|
|
13
12
|
private thyLayoutDirective;
|
|
14
|
-
sidebarIsolated: boolean;
|
|
15
|
-
isDivided: boolean;
|
|
16
|
-
thyLayoutSidebarWidth: number;
|
|
17
13
|
/**
|
|
18
14
|
* sidebar 位置,默认在左侧
|
|
19
15
|
*/
|
|
20
|
-
thyDirection: ThySidebarDirection
|
|
16
|
+
readonly thyDirection: import("@angular/core").InputSignal<ThySidebarDirection>;
|
|
21
17
|
/**
|
|
22
18
|
* 主题
|
|
23
19
|
* @type white | light | dark
|
|
24
20
|
* @default white
|
|
25
21
|
*/
|
|
26
|
-
thyTheme: ThySidebarTheme
|
|
22
|
+
readonly thyTheme: import("@angular/core").InputSignal<ThySidebarTheme>;
|
|
27
23
|
/**
|
|
28
24
|
* 宽度,默认是 240px,传入 `lg` 大小时宽度是300px
|
|
29
25
|
* @default 240px
|
|
30
26
|
*/
|
|
31
|
-
|
|
27
|
+
readonly thyWidth: import("@angular/core").InputSignalWithTransform<string | number, string | number>;
|
|
28
|
+
readonly sidebarWidth: import("@angular/core").WritableSignal<number>;
|
|
32
29
|
/**
|
|
33
30
|
* 是否和右侧 /左侧隔离,当为 true 时距右侧 /左侧会有 margin,同时边框会去掉
|
|
34
31
|
* @default false
|
|
35
32
|
*/
|
|
36
|
-
|
|
33
|
+
readonly thyIsolated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
37
34
|
/**
|
|
38
35
|
* sidebar 是否有分割线。当`thyDirection`值为`left`时,控制右侧是否有分割线;当`thyDirection`值为`right`时,控制左侧是否有分割线。
|
|
39
36
|
* @default true
|
|
40
37
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* 右侧是否有边框,已废弃,请使用 thyDivided
|
|
44
|
-
* @deprecated please use thyDivided
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
|
-
set thyHasBorderRight(value: boolean);
|
|
48
|
-
/**
|
|
49
|
-
* 左侧是否有边框,已废弃,请使用 thyDivided
|
|
50
|
-
* @deprecated please use thyDivided
|
|
51
|
-
* @default true
|
|
52
|
-
*/
|
|
53
|
-
set thyHasBorderLeft(value: boolean);
|
|
38
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
39
|
ngOnInit(): void;
|
|
55
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarDirective, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarDirective, "[thySidebar]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyIsolated": { "alias": "thyIsolated"; "required": false;
|
|
57
|
-
static ngAcceptInputType_thyIsolated: i1.ThyBooleanInput;
|
|
58
|
-
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
59
|
-
static ngAcceptInputType_thyHasBorderRight: i1.ThyBooleanInput;
|
|
60
|
-
static ngAcceptInputType_thyHasBorderLeft: i1.ThyBooleanInput;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarDirective, "[thySidebar]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyWidth": { "alias": "thyWidth"; "required": false; "isSignal": true; }; "thyIsolated": { "alias": "thyIsolated"; "required": false; "isSignal": true; }; "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
42
|
}
|
|
62
43
|
/**
|
|
63
44
|
* 侧边栏布局组件
|
|
@@ -66,88 +47,77 @@ export declare class ThySidebarDirective implements OnInit {
|
|
|
66
47
|
*/
|
|
67
48
|
export declare class ThySidebar implements OnInit, OnDestroy {
|
|
68
49
|
private locale;
|
|
69
|
-
elementRef: ElementRef<any>;
|
|
50
|
+
readonly elementRef: ElementRef<any>;
|
|
70
51
|
private hotkeyDispatcher;
|
|
71
|
-
sidebarDirective: ThySidebarDirective;
|
|
72
|
-
|
|
52
|
+
readonly sidebarDirective: ThySidebarDirective;
|
|
53
|
+
protected readonly isMouseEnter: import("@angular/core").WritableSignal<boolean>;
|
|
54
|
+
protected readonly sidebarWidth: Signal<number>;
|
|
73
55
|
mouseenter($event: MouseEvent): void;
|
|
74
56
|
mouseleave($event: MouseEvent): void;
|
|
75
57
|
/**
|
|
76
58
|
* 宽度是否可以拖拽
|
|
77
59
|
* @default false
|
|
78
60
|
*/
|
|
79
|
-
thyDraggable: boolean
|
|
61
|
+
readonly thyDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
80
62
|
/**
|
|
81
63
|
* 拖拽的最大宽度
|
|
82
64
|
*/
|
|
83
|
-
thyDragMaxWidth: number
|
|
65
|
+
readonly thyDragMaxWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
84
66
|
/**
|
|
85
67
|
* 拖拽的最小宽度
|
|
86
68
|
*/
|
|
87
|
-
thyDragMinWidth: number
|
|
69
|
+
readonly thyDragMinWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
88
70
|
/**
|
|
89
71
|
* 展示收起的触发器自定义模板,默认显示展开收起的圆形图标,设置为 null 表示不展示触发元素,手动控制展开收起状态
|
|
90
72
|
* @type null | undefined | TemplateRef<any>
|
|
91
73
|
* @default undefined
|
|
92
74
|
*/
|
|
93
|
-
thyTrigger:
|
|
75
|
+
readonly thyTrigger: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
94
76
|
/**
|
|
95
77
|
* 收起状态改变后的事件
|
|
96
78
|
*/
|
|
97
|
-
thyCollapsedChange:
|
|
79
|
+
readonly thyCollapsedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
98
80
|
/**
|
|
99
81
|
* 拖拽宽度的修改事件
|
|
100
82
|
*/
|
|
101
|
-
thyDragWidthChange:
|
|
83
|
+
readonly thyDragWidthChange: import("@angular/core").OutputEmitterRef<number>;
|
|
102
84
|
/**
|
|
103
85
|
* 开启收起/展开功能
|
|
104
86
|
* @default false
|
|
105
87
|
*/
|
|
106
|
-
|
|
107
|
-
get thyCollapsible(): boolean;
|
|
88
|
+
readonly thyCollapsible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
108
89
|
/**
|
|
109
90
|
* 是否是收起
|
|
110
91
|
* @default false
|
|
111
92
|
*/
|
|
112
|
-
|
|
113
|
-
|
|
93
|
+
readonly thyCollapsed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
94
|
+
readonly collapsed: import("@angular/core").WritableSignal<boolean>;
|
|
95
|
+
readonly collapseVisible: Signal<boolean>;
|
|
114
96
|
/**
|
|
115
97
|
* 收起后的宽度
|
|
116
98
|
*/
|
|
117
|
-
thyCollapsedWidth: number
|
|
99
|
+
readonly thyCollapsedWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
118
100
|
/**
|
|
119
101
|
* 默认宽度,双击后可恢复到此宽度,默认是 240px,传入 lg 大小时宽度是300px
|
|
120
102
|
*/
|
|
121
|
-
thyDefaultWidth: string | number
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
collapseVisible: boolean;
|
|
129
|
-
collapseHidden: boolean;
|
|
130
|
-
isRemoveTransition: boolean;
|
|
131
|
-
isResizable: boolean;
|
|
132
|
-
get dragMinWidth(): number;
|
|
103
|
+
readonly thyDefaultWidth: import("@angular/core").InputSignalWithTransform<string | number, string | number>;
|
|
104
|
+
readonly collapseTip: Signal<string>;
|
|
105
|
+
private originWidth;
|
|
106
|
+
readonly collapseHidden: import("@angular/core").WritableSignal<boolean>;
|
|
107
|
+
readonly isRemoveTransition: import("@angular/core").WritableSignal<boolean>;
|
|
108
|
+
readonly isResizable: import("@angular/core").WritableSignal<boolean>;
|
|
109
|
+
protected dragMinWidth: Signal<number>;
|
|
133
110
|
private hotkeySubscription;
|
|
111
|
+
constructor();
|
|
134
112
|
ngOnInit(): void;
|
|
135
113
|
private subscribeHotkeyEvent;
|
|
136
|
-
private updateCollapseTip;
|
|
137
114
|
resizeHandler({ width }: ThyResizeEvent): void;
|
|
138
115
|
resizeStart(): void;
|
|
139
116
|
resizeEnd(): void;
|
|
140
|
-
resizeHandleHover(event: MouseEvent, type: 'enter' | 'leave'): void;
|
|
141
117
|
toggleCollapse(event?: MouseEvent): void;
|
|
142
118
|
toggleResizable(event: MouseEvent, type: 'enter' | 'leave'): void;
|
|
143
119
|
restoreToDefaultWidth(): void;
|
|
144
120
|
ngOnDestroy(): void;
|
|
145
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebar, never>;
|
|
146
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebar, "thy-sidebar", never, { "thyDraggable": { "alias": "thyDraggable"; "required": false; }; "thyDragMaxWidth": { "alias": "thyDragMaxWidth"; "required": false; }; "thyDragMinWidth": { "alias": "thyDragMinWidth"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; "thyCollapsedWidth": { "alias": "thyCollapsedWidth"; "required": false; }; "thyDefaultWidth": { "alias": "thyDefaultWidth"; "required": false; }; }, { "thyCollapsedChange": "thyCollapsedChange"; "thyDragWidthChange": "thyDragWidthChange"; }, never, ["*"], true, [{ directive: typeof ThySidebarDirective; inputs: { "thyTheme": "thyTheme"; "thyDirection": "thyDirection"; "thyWidth": "thyWidth"; "thyIsolated": "thyIsolated"; "thyDivided": "thyDivided";
|
|
147
|
-
static ngAcceptInputType_thyDraggable: i1.ThyBooleanInput;
|
|
148
|
-
static ngAcceptInputType_thyDragMaxWidth: unknown;
|
|
149
|
-
static ngAcceptInputType_thyDragMinWidth: unknown;
|
|
150
|
-
static ngAcceptInputType_thyCollapsible: i1.ThyBooleanInput;
|
|
151
|
-
static ngAcceptInputType_thyCollapsed: i1.ThyBooleanInput;
|
|
152
|
-
static ngAcceptInputType_thyCollapsedWidth: unknown;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebar, "thy-sidebar", never, { "thyDraggable": { "alias": "thyDraggable"; "required": false; "isSignal": true; }; "thyDragMaxWidth": { "alias": "thyDragMaxWidth"; "required": false; "isSignal": true; }; "thyDragMinWidth": { "alias": "thyDragMinWidth"; "required": false; "isSignal": true; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; "isSignal": true; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; "isSignal": true; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; "isSignal": true; }; "thyCollapsedWidth": { "alias": "thyCollapsedWidth"; "required": false; "isSignal": true; }; "thyDefaultWidth": { "alias": "thyDefaultWidth"; "required": false; "isSignal": true; }; }, { "thyCollapsedChange": "thyCollapsedChange"; "thyDragWidthChange": "thyDragWidthChange"; }, never, ["*"], true, [{ directive: typeof ThySidebarDirective; inputs: { "thyTheme": "thyTheme"; "thyDirection": "thyDirection"; "thyWidth": "thyWidth"; "thyIsolated": "thyIsolated"; "thyDivided": "thyDivided"; }; outputs: {}; }]>;
|
|
153
123
|
}
|
|
@@ -8,20 +8,18 @@ export declare class ThyListItemMeta {
|
|
|
8
8
|
/**
|
|
9
9
|
* 列表项的左侧图片
|
|
10
10
|
*/
|
|
11
|
-
thyAvatar: string
|
|
11
|
+
readonly thyAvatar: import("@angular/core").InputSignal<string>;
|
|
12
12
|
/**
|
|
13
13
|
* 列表项的标题
|
|
14
14
|
*/
|
|
15
|
-
thyTitle: string
|
|
15
|
+
readonly thyTitle: import("@angular/core").InputSignal<string>;
|
|
16
16
|
/**
|
|
17
17
|
* 列表项的描述文本
|
|
18
18
|
*/
|
|
19
|
-
thyDescription: string
|
|
20
|
-
avatarTemplateRef: TemplateRef<any
|
|
21
|
-
titleTemplateRef: TemplateRef<any
|
|
22
|
-
descriptionTemplateRef: TemplateRef<any
|
|
23
|
-
className: string;
|
|
24
|
-
constructor();
|
|
19
|
+
readonly thyDescription: import("@angular/core").InputSignal<string>;
|
|
20
|
+
readonly avatarTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
21
|
+
readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
22
|
+
readonly descriptionTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyListItemMeta, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyListItemMeta, "thy-list-item-meta,[thy-list-item-meta]", never, { "thyAvatar": { "alias": "thyAvatar"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyDescription": { "alias": "thyDescription"; "required": false; }; }, {}, ["avatarTemplateRef", "titleTemplateRef", "descriptionTemplateRef"], never, true, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyListItemMeta, "thy-list-item-meta,[thy-list-item-meta]", never, { "thyAvatar": { "alias": "thyAvatar"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyDescription": { "alias": "thyDescription"; "required": false; "isSignal": true; }; }, {}, ["avatarTemplateRef", "titleTemplateRef", "descriptionTemplateRef"], never, true, never>;
|
|
27
25
|
}
|
|
@@ -4,8 +4,6 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* @order 15
|
|
5
5
|
*/
|
|
6
6
|
export declare class ThyListItem {
|
|
7
|
-
_isListItem: boolean;
|
|
8
|
-
constructor();
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyListItem, never>;
|
|
10
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyListItem, "thy-list-item,[thy-list-item]", never, {}, {}, never, ["*"], true, never>;
|
|
11
9
|
}
|
package/list/list.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "ngx-tethys/util";
|
|
3
2
|
/**
|
|
4
3
|
* 列表组件
|
|
5
4
|
* @name thy-list
|
|
@@ -8,13 +7,8 @@ import * as i1 from "ngx-tethys/util";
|
|
|
8
7
|
export declare class ThyList {
|
|
9
8
|
/**
|
|
10
9
|
* 控制分割线的显示与隐藏
|
|
11
|
-
* @default false
|
|
12
10
|
*/
|
|
13
|
-
|
|
14
|
-
_isDivided: boolean;
|
|
15
|
-
_isList: boolean;
|
|
16
|
-
constructor();
|
|
11
|
+
readonly thyDivided: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyList, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyList, "thy-list", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
|
-
static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyList, "thy-list", never, { "thyDivided": { "alias": "thyDivided"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
14
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { IThyListOptionParentComponent, ThyListOption } from 'ngx-tethys/shared';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { AfterContentInit, ElementRef,
|
|
3
|
+
import { AfterContentInit, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import { ThyListLayout } from 'ngx-tethys/shared';
|
|
6
6
|
import { ThySelectionListChange } from './selection.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "ngx-tethys/util";
|
|
9
8
|
export type ThyListSize = 'sm' | 'md' | 'lg';
|
|
10
9
|
/**
|
|
11
10
|
* @name thy-selection-list,[thy-selection-list]
|
|
@@ -16,93 +15,84 @@ export declare class ThySelectionList implements OnInit, OnDestroy, AfterContent
|
|
|
16
15
|
private elementRef;
|
|
17
16
|
private ngZone;
|
|
18
17
|
private changeDetectorRef;
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private _modelValues;
|
|
18
|
+
private keyManager;
|
|
19
|
+
private bindKeyEventUnsubscribe;
|
|
20
|
+
private modelValues;
|
|
23
21
|
private hostRenderer;
|
|
24
22
|
/** The currently selected options. */
|
|
25
23
|
selectionModel: SelectionModel<any>;
|
|
26
24
|
disabled: boolean;
|
|
27
|
-
layout: ThyListLayout;
|
|
28
|
-
_isList: boolean;
|
|
29
|
-
_isSelectionList: boolean;
|
|
30
|
-
multiple: boolean;
|
|
31
|
-
isLayoutGrid: boolean;
|
|
32
25
|
/**
|
|
33
26
|
* @internal
|
|
34
27
|
*/
|
|
35
28
|
options: QueryList<ThyListOption>;
|
|
36
29
|
/**
|
|
37
30
|
* 改变 grid item 的选择模式,使其支持多选
|
|
38
|
-
* @default true
|
|
39
31
|
*/
|
|
40
|
-
|
|
32
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
33
|
/**
|
|
42
34
|
* 绑定键盘事件的容器
|
|
43
35
|
* @type HTMLElement | ElementRef | string
|
|
44
36
|
* @default thy-selection-list 组件绑定的元素
|
|
45
37
|
*/
|
|
46
|
-
thyBindKeyEventContainer:
|
|
38
|
+
readonly thyBindKeyEventContainer: import("@angular/core").InputSignal<string | HTMLElement | ElementRef<any>>;
|
|
47
39
|
/**
|
|
48
40
|
* 出现滚动条的容器
|
|
49
41
|
* @type HTMLElement | ElementRef | string
|
|
50
42
|
* @default thy-selection-list 组件绑定的元素
|
|
51
43
|
*/
|
|
52
|
-
thyScrollContainer:
|
|
44
|
+
readonly thyScrollContainer: import("@angular/core").InputSignal<string | HTMLElement | ElementRef<any>>;
|
|
53
45
|
/**
|
|
54
46
|
* 键盘事件触发 Before 调用,如果返回 false 则停止继续执行
|
|
55
47
|
*/
|
|
56
|
-
thyBeforeKeydown: (event?: KeyboardEvent) => boolean
|
|
48
|
+
readonly thyBeforeKeydown: import("@angular/core").InputSignal<(event?: KeyboardEvent) => boolean>;
|
|
57
49
|
/**
|
|
58
50
|
* Option Value 唯一的 Key,用于存储哪些选择被选中的唯一值,只有 Option 的 thyValue 是对象的时才可以传入该选项
|
|
59
51
|
*/
|
|
60
|
-
thyUniqueKey: string
|
|
52
|
+
readonly thyUniqueKey: import("@angular/core").InputSignal<string>;
|
|
61
53
|
/**
|
|
62
54
|
* 比较2个选项的 Value 是否相同
|
|
63
55
|
*/
|
|
64
|
-
thyCompareWith: (o1: any, o2: any) => boolean
|
|
56
|
+
readonly thyCompareWith: import("@angular/core").InputSignal<(o1: any, o2: any) => boolean>;
|
|
65
57
|
/**
|
|
66
58
|
* grid item 的展示样式
|
|
67
59
|
* @type list | grid
|
|
68
|
-
* @default list
|
|
69
60
|
*/
|
|
70
|
-
|
|
61
|
+
readonly layout: import("@angular/core").InputSignal<ThyListLayout>;
|
|
62
|
+
readonly isLayoutGrid: import("@angular/core").Signal<boolean>;
|
|
71
63
|
/**
|
|
72
64
|
* 是否自动激活第一项
|
|
73
65
|
*/
|
|
74
|
-
|
|
66
|
+
readonly thyAutoActiveFirstItem: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
75
67
|
/**
|
|
76
68
|
* 改变 grid item 的大小,支持默认以及 sm 两种大小
|
|
77
69
|
* @type sm | md | lg
|
|
78
70
|
*/
|
|
79
|
-
|
|
80
|
-
private spaceEnabled;
|
|
71
|
+
readonly thySize: import("@angular/core").InputSignal<ThyListSize>;
|
|
81
72
|
/**
|
|
82
73
|
* 是否按下空格切换聚焦选项
|
|
83
74
|
*/
|
|
84
|
-
|
|
75
|
+
readonly thySpaceKeyEnabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
85
76
|
/**
|
|
86
77
|
* 每当选项的选定状态发生更改时,都会触发更改事件
|
|
87
|
-
* @type EventEmitter<ThySelectionListChange>
|
|
88
78
|
*/
|
|
89
|
-
readonly thySelectionChange:
|
|
90
|
-
private
|
|
91
|
-
private
|
|
92
|
-
|
|
93
|
-
private
|
|
94
|
-
private
|
|
95
|
-
private
|
|
96
|
-
private
|
|
97
|
-
private
|
|
98
|
-
private
|
|
99
|
-
private
|
|
100
|
-
private
|
|
101
|
-
private
|
|
102
|
-
private
|
|
103
|
-
private
|
|
104
|
-
private
|
|
105
|
-
private
|
|
79
|
+
readonly thySelectionChange: import("@angular/core").OutputEmitterRef<ThySelectionListChange<any>>;
|
|
80
|
+
private onTouched;
|
|
81
|
+
private onChange;
|
|
82
|
+
constructor();
|
|
83
|
+
private emitChangeEvent;
|
|
84
|
+
private emitModelValueChange;
|
|
85
|
+
private toggleFocusedOption;
|
|
86
|
+
private initializeFocusKeyManager;
|
|
87
|
+
private instanceSelectionModel;
|
|
88
|
+
private getElementBySelector;
|
|
89
|
+
private compareValue;
|
|
90
|
+
private getOptionSelectionValue;
|
|
91
|
+
private setSelectionByValues;
|
|
92
|
+
private setAllOptionsSelected;
|
|
93
|
+
private getOptionByValue;
|
|
94
|
+
private getActiveOption;
|
|
95
|
+
private setListSize;
|
|
106
96
|
ngOnInit(): void;
|
|
107
97
|
writeValue(value: any[] | any): void;
|
|
108
98
|
registerOnChange(fn: any): void;
|
|
@@ -122,8 +112,5 @@ export declare class ThySelectionList implements OnInit, OnDestroy, AfterContent
|
|
|
122
112
|
ngAfterContentInit(): void;
|
|
123
113
|
ngOnDestroy(): void;
|
|
124
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectionList, never>;
|
|
125
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectionList, "thy-selection-list,[thy-selection-list]", never, { "
|
|
126
|
-
static ngAcceptInputType_thyMultiple: i1.ThyBooleanInput;
|
|
127
|
-
static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
|
|
128
|
-
static ngAcceptInputType_thySpaceKeyEnabled: i1.ThyBooleanInput;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectionList, "thy-selection-list,[thy-selection-list]", never, { "multiple": { "alias": "thyMultiple"; "required": false; "isSignal": true; }; "thyBindKeyEventContainer": { "alias": "thyBindKeyEventContainer"; "required": false; "isSignal": true; }; "thyScrollContainer": { "alias": "thyScrollContainer"; "required": false; "isSignal": true; }; "thyBeforeKeydown": { "alias": "thyBeforeKeydown"; "required": false; "isSignal": true; }; "thyUniqueKey": { "alias": "thyUniqueKey"; "required": false; "isSignal": true; }; "thyCompareWith": { "alias": "thyCompareWith"; "required": false; "isSignal": true; }; "layout": { "alias": "thyLayout"; "required": false; "isSignal": true; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thySpaceKeyEnabled": { "alias": "thySpaceKeyEnabled"; "required": false; "isSignal": true; }; }, { "thySelectionChange": "thySelectionChange"; }, ["options"], ["*"], true, never>;
|
|
129
116
|
}
|
|
@@ -18,11 +18,10 @@ export declare const HIDE_STYLE: {
|
|
|
18
18
|
export declare class ThyAbstractMessageComponent<TConfig extends ThyMessageBaseConfig> implements OnInit, OnDestroy {
|
|
19
19
|
private _ngZone;
|
|
20
20
|
animationState: string;
|
|
21
|
-
config: TConfig;
|
|
22
21
|
iconName: string;
|
|
23
22
|
private closeTimer;
|
|
24
23
|
private queue;
|
|
25
|
-
|
|
24
|
+
readonly config: import("@angular/core").InputSignal<TConfig>;
|
|
26
25
|
constructor(queue: ThyAbstractMessageQueue);
|
|
27
26
|
ngOnInit(): void;
|
|
28
27
|
mouseenter(): void;
|
|
@@ -32,5 +31,5 @@ export declare class ThyAbstractMessageComponent<TConfig extends ThyMessageBaseC
|
|
|
32
31
|
private clearCloseTimer;
|
|
33
32
|
ngOnDestroy(): void;
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAbstractMessageComponent<any>, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAbstractMessageComponent<any>, never, never, { "
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAbstractMessageComponent<any>, never, never, { "config": { "alias": "thyConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
35
|
}
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyMessageContainer extends ThyAbstractMessageContainerComponent {
|
|
8
8
|
messageQueue: ThyMessageQueue;
|
|
9
|
-
className: string;
|
|
10
9
|
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMessageContainer, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessageContainer, "thy-message-container", never, {}, {}, never, never, true, never>;
|
|
@@ -6,10 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyMessage extends ThyAbstractMessageComponent<ThyMessageConfig> {
|
|
8
8
|
animationState: string;
|
|
9
|
-
config: ThyMessageConfig;
|
|
10
9
|
private hostRenderer;
|
|
11
|
-
set thyConfig(value: ThyMessageConfig);
|
|
12
10
|
constructor();
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMessage, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessage, "thy-message", never, {
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessage, "thy-message", never, {}, {}, never, never, true, never>;
|
|
15
13
|
}
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyNotifyContainer extends ThyAbstractMessageContainerComponent {
|
|
8
8
|
notifyQueue: ThyNotifyQueue;
|
|
9
|
-
className: string;
|
|
10
9
|
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNotifyContainer, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotifyContainer, "thy-notify-container", never, {}, {}, never, never, true, never>;
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ThyNotifyConfig, ThyNotifyPlacement } from './notify.config';
|
|
1
|
+
import { ThyNotifyConfig } from './notify.config';
|
|
3
2
|
import { ThyAbstractMessageComponent } from 'ngx-tethys/message';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @private
|
|
7
6
|
*/
|
|
8
|
-
export declare class ThyNotify extends ThyAbstractMessageComponent<ThyNotifyConfig>
|
|
7
|
+
export declare class ThyNotify extends ThyAbstractMessageComponent<ThyNotifyConfig> {
|
|
9
8
|
animationState: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
contentIsString: boolean;
|
|
15
|
-
placement: ThyNotifyPlacement;
|
|
16
|
-
set thyConfig(value: ThyNotifyConfig);
|
|
9
|
+
extendContentClass: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
isShowDetail: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
readonly contentIsString: import("@angular/core").Signal<boolean>;
|
|
12
|
+
private placement;
|
|
17
13
|
constructor();
|
|
18
|
-
ngOnInit(): void;
|
|
19
14
|
extendContent(): void;
|
|
20
15
|
showDetailToggle(): void;
|
|
21
16
|
triggerDetail(): void;
|
|
22
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNotify, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotify, "thy-notify", never, {
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotify, "thy-notify", never, {}, {}, never, never, true, never>;
|
|
24
19
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyProgressGapPositionType, ThyProgressShapeType, ThyProgressStackedValue, ThyProgressType } from './interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @private
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyProgressCircle
|
|
7
|
+
export declare class ThyProgressCircle {
|
|
8
8
|
private hostRenderer;
|
|
9
9
|
readonly thyType: import("@angular/core").InputSignal<ThyProgressType>;
|
|
10
10
|
readonly thySize: import("@angular/core").InputSignal<string | number>;
|
|
@@ -15,7 +15,7 @@ export declare class ThyProgressCircle implements OnInit, OnChanges {
|
|
|
15
15
|
readonly thyGapDegree: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
16
16
|
readonly thyGapPosition: import("@angular/core").InputSignal<ThyProgressGapPositionType>;
|
|
17
17
|
readonly thyStrokeWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
18
|
-
|
|
18
|
+
readonly strokeWidth: import("@angular/core").Signal<number>;
|
|
19
19
|
readonly progressSize: import("@angular/core").Signal<string>;
|
|
20
20
|
readonly width: import("@angular/core").Signal<number>;
|
|
21
21
|
readonly circle: import("@angular/core").Signal<{
|
|
@@ -38,8 +38,6 @@ export declare class ThyProgressCircle implements OnInit, OnChanges {
|
|
|
38
38
|
}[];
|
|
39
39
|
}>;
|
|
40
40
|
constructor();
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
43
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyProgressCircle, never>;
|
|
44
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyProgressCircle, "thy-progress-circle", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyMax": { "alias": "thyMax"; "required": false; "isSignal": true; }; "thyTips": { "alias": "thyTips"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyGapDegree": { "alias": "thyGapDegree"; "required": false; "isSignal": true; }; "thyGapPosition": { "alias": "thyGapPosition"; "required": false; "isSignal": true; }; "thyStrokeWidth": { "alias": "thyStrokeWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
45
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ThyProgressGapPositionType, ThyProgressShapeType, ThyProgressStackedValue, ThyProgressType } from './interfaces';
|
|
3
3
|
import { ThyParentProgress, ThyProgressStrip } from './progress-strip.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* 进度条组件
|
|
7
7
|
* @name thy-progress
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThyProgress implements ThyParentProgress
|
|
9
|
+
export declare class ThyProgress implements ThyParentProgress {
|
|
10
10
|
private hostRenderer;
|
|
11
11
|
readonly barsTotalValue: import("@angular/core").Signal<number>;
|
|
12
12
|
readonly max: import("@angular/core").Signal<number>;
|
|
@@ -54,8 +54,6 @@ export declare class ThyProgress implements ThyParentProgress, OnInit, OnChanges
|
|
|
54
54
|
*/
|
|
55
55
|
readonly thyStrokeWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
56
56
|
constructor();
|
|
57
|
-
ngOnInit(): void;
|
|
58
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
59
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyProgress, never>;
|
|
60
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyProgress, "thy-progress", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyMax": { "alias": "thyMax"; "required": false; "isSignal": true; }; "thyTips": { "alias": "thyTips"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyGapDegree": { "alias": "thyGapDegree"; "required": false; "isSignal": true; }; "thyGapPosition": { "alias": "thyGapPosition"; "required": false; "isSignal": true; }; "thyStrokeWidth": { "alias": "thyStrokeWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
61
59
|
}
|
|
@@ -8,12 +8,10 @@ export declare class ThyProperties {
|
|
|
8
8
|
/**
|
|
9
9
|
* 展示布局
|
|
10
10
|
* @type "horizontal" | "vertical"
|
|
11
|
-
* @default horizontal
|
|
12
11
|
*/
|
|
13
12
|
readonly layout: import("@angular/core").InputSignal<ThyPropertiesLayout>;
|
|
14
13
|
/**
|
|
15
14
|
* 设置一行的可以 property-item 的数量
|
|
16
|
-
* @type number
|
|
17
15
|
*/
|
|
18
16
|
readonly thyColumn: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
19
17
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ElementRef, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type ThyPropertyItemOperationTrigger = 'hover' | 'always';
|
|
5
4
|
/**
|
|
@@ -11,21 +10,17 @@ export declare class ThyPropertyItem implements OnDestroy {
|
|
|
11
10
|
private ngZone;
|
|
12
11
|
private overlayOutsideClickDispatcher;
|
|
13
12
|
private parent;
|
|
13
|
+
private destroyRef;
|
|
14
14
|
/**
|
|
15
15
|
* 属性名称
|
|
16
|
-
* @type sting
|
|
17
|
-
* @default thyLabelText
|
|
18
16
|
*/
|
|
19
17
|
readonly thyLabelText: import("@angular/core").InputSignal<string>;
|
|
20
18
|
/**
|
|
21
19
|
* 设置属性是否是可编辑的
|
|
22
|
-
* @type sting
|
|
23
|
-
* @default false
|
|
24
20
|
*/
|
|
25
21
|
readonly thyEditable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
22
|
/**
|
|
27
23
|
* 设置跨列的数量
|
|
28
|
-
* @type number
|
|
29
24
|
*/
|
|
30
25
|
readonly thySpan: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
31
26
|
/**
|
|
@@ -63,13 +58,11 @@ export declare class ThyPropertyItem implements OnDestroy {
|
|
|
63
58
|
*/
|
|
64
59
|
readonly itemContent: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
65
60
|
editing: import("@angular/core").WritableSignal<boolean>;
|
|
66
|
-
changes$: Subject<SimpleChanges>;
|
|
67
|
-
private destroy$;
|
|
68
61
|
private eventDestroy$;
|
|
69
62
|
private originOverlays;
|
|
70
63
|
private clickEventSubscription;
|
|
71
64
|
protected readonly gridColumn: import("@angular/core").Signal<string>;
|
|
72
|
-
isVertical: import("@angular/core").
|
|
65
|
+
readonly isVertical: import("@angular/core").Signal<boolean>;
|
|
73
66
|
constructor();
|
|
74
67
|
setEditing(editing: boolean): void;
|
|
75
68
|
/**
|